tox-py36-ci-config against rdo ci-config repo failing because Pytest-cov leaves .coverage.hostname.number.number data files

Bug #1973395 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Description:-

tox-py36-ci-config in rdo ci-config repo failing becaus Pytest-cov leaves .coverage.hostname.number.number data files

https://logserver.rdoproject.org/42/42542/1/check/tox-py36-ci-config/5477962/job-output.txt

~~~
2022-05-14 05:25:50.845498 | rdo-centos-stream | =========== 438 passed, 89 xfailed, 4 warnings in 636.31s (0:10:36) ============
2022-05-14 05:25:50.845508 | rdo-centos-stream | /home/zuul/src/review.rdoproject.org/rdo-infra/ci-config/.tox/py36/lib64/python3.6/site-packages/coverage/data.py:129: CoverageWarning: Data file '/home/zuul/src/review.rdoproject.org/rdo-infra/ci-config/.coverage.node-0002547555.55253.639726' doesn't seem to be a coverage data file: Couldn't use data file '/home/zuul/src/review.rdoproject.org/rdo-infra/ci-config/.coverage.node-0002547555.55253.639726': no such table: coverage_schema
2022-05-14 05:25:50.845521 | rdo-centos-stream | data._warn(str(exc))
2022-05-14 05:25:51.407528 | rdo-centos-stream | py36 finish: run-test after 638.30 seconds
2022-05-14 05:25:51.515438 | rdo-centos-stream | On branch master
2022-05-14 05:25:51.515490 | rdo-centos-stream | Your branch is ahead of 'origin/master' by 2 commits.
2022-05-14 05:25:51.515499 | rdo-centos-stream | (use "git push" to publish your local commits)
2022-05-14 05:25:51.515506 | rdo-centos-stream |
2022-05-14 05:25:51.515512 | rdo-centos-stream | Untracked files:
2022-05-14 05:25:51.515519 | rdo-centos-stream | (use "git add <file>..." to include in what will be committed)
2022-05-14 05:25:51.515525 | rdo-centos-stream | .coverage.node-0002547555.55253.639726
2022-05-14 05:25:51.515532 | rdo-centos-stream |
2022-05-14 05:25:51.515538 | rdo-centos-stream | nothing added to commit but untracked files present (use "git add" to track)
2022-05-14 05:25:51.516428 | rdo-centos-stream | ERROR: Git reported dirty status. Git should never report dirty status at the end of testing, regardless if status is passed, failed or aborted.
~~~

Tags: ci
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Adding .coverage.hostname.number.number in .gitignore

[1] https://review.rdoproject.org/r/c/rdo-infra/ci-config/+/42841

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.