Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin coverage to 4.5.4 #5224

Merged
merged 3 commits into from Dec 17, 2019
Merged

Pin coverage to 4.5.4 #5224

merged 3 commits into from Dec 17, 2019

Conversation

AlexandreYang
Copy link
Member

@AlexandreYang AlexandreYang commented Dec 16, 2019

What does this PR do?

Pin coverage to 4.5.4 due to nedbat/coveragepy#883


INTERNALERROR>   File "/home/vsts/work/1/s/mesos_slave/.tox/py27-1.0/lib/python2.7/site-packages/pytest_cov/engine.py", line 197, in finish
INTERNALERROR>     self.cov.stop()
INTERNALERROR>   File "/home/vsts/work/1/s/mesos_slave/.tox/py27-1.0/lib/python2.7/site-packages/coverage/control.py", line 613, in save
INTERNALERROR>     data = self.get_data()
INTERNALERROR>   File "/home/vsts/work/1/s/mesos_slave/.tox/py27-1.0/lib/python2.7/site-packages/coverage/control.py", line 667, in get_data
INTERNALERROR>     if self._collector and self._collector.flush_data():
INTERNALERROR>   File "/home/vsts/work/1/s/mesos_slave/.tox/py27-1.0/lib/python2.7/site-packages/coverage/collector.py", line 427, in flush_data
INTERNALERROR>     self.covdata.add_arcs(self.mapped_file_dict(self.data))
INTERNALERROR>   File "/home/vsts/work/1/s/mesos_slave/.tox/py27-1.0/lib/python2.7/site-packages/coverage/sqldata.py", line 468, in add_arcs
INTERNALERROR>     self._choose_lines_or_arcs(arcs=True)
INTERNALERROR>   File "/home/vsts/work/1/s/mesos_slave/.tox/py27-1.0/lib/python2.7/site-packages/coverage/sqldata.py", line 496, in _choose_lines_or_arcs
INTERNALERROR>     ('has_arcs', str(int(arcs)))
INTERNALERROR>   File "/home/vsts/work/1/s/mesos_slave/.tox/py27-1.0/lib/python2.7/site-packages/coverage/sqldata.py", line 1027, in execute
INTERNALERROR>     raise CoverageException("Couldn't use data file {!r}: {}".format(self.filename, exc))
INTERNALERROR> CoverageException: Couldn't use data file '/home/vsts/work/1/s/mesos_slave/.coverage': UNIQUE constraint failed: meta.key

See also build https://dev.azure.com/datadoghq/integrations-core/_build/results?buildId=4975&view=logs&j=bf4c800e-7111-54ee-c44f-8c9036bd969b&t=94e038dc-db7b-5e5b-22dc-1873a5f6c03e&l=80

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@AlexandreYang AlexandreYang marked this pull request as ready for review December 16, 2019 22:20
@AlexandreYang AlexandreYang requested review from a team as code owners December 16, 2019 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants