• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 8633
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix_uv_lockfile_sync
DEFAULT BRANCH: main
Ran 14 Jan 2016 10:32PM UTC
Jobs 7
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8633

push

travis-ci

kwlzn
Improve test.pytest failure when coverage is enabled.

- Avoid an unhandled `IOError` in `shutil.move()` during `./pants test.pytest` when coverage data files fail to be written due to failures, timeouts, etc.
- Additive test coverage.

Closes #2800

Testing Done:
- CI is green @ https://travis-ci.org/pantsbuild/pants/builds/102231818

- manual testing using the repro on #2800:

```
[illuminati pants (kwlzn/pytest_coverage)]$ ./pants clean-all test.pytest --test-pytest-coverage=1 --timeout-default=1 tests/python/pants_test/java:nailgun_integration
INFO] Detected git repository at /Users/kwilson/dev/pants on branch kwlzn/pytest_coverage

15:40:12 00:00 [main]
...
15:40:14 00:02     [test]
15:40:14 00:02     [pytest]
15:40:14 00:02       [run]

15:40:14 00:02         [chroot]============== test session starts ===============
                     platform darwin -- Python 2.7.10 -- py-1.4.30 -- pytest-2.6.4
                     plugins: timeout
                     collecting 0 itemsWARN] No .coverage file was found! Skipping coverage reporting.
                     collected 1 items

                     tests/python/pants_test/java/test_nailgun_integration.py
FAILURE: Timeout of 1 seconds reached

15:40:15 00:03   [complete]
               FAILURE
```

Bugs closed: 2800, 2801

Reviewed at https://rbcommons.com/s/twitter/r/3334/
Jobs
ID Job ID Ran Files Coverage
1 8633.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 14 Jan 2016 10:32PM UTC 0
Travis Job 8633.1
4 8633.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 14 Jan 2016 10:45PM UTC 0
Travis Job 8633.4
6 8633.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 14 Jan 2016 10:40PM UTC 0
Travis Job 8633.6
7 8633.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 14 Jan 2016 10:40PM UTC 0
Travis Job 8633.7
8 8633.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 14 Jan 2016 10:39PM UTC 0
Travis Job 8633.8
9 8633.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 14 Jan 2016 10:46PM UTC 0
Travis Job 8633.9
10 8633.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 14 Jan 2016 10:48PM UTC 0
Travis Job 8633.10
Source Files on build 8633
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8633
  • 860c3339 on github
  • Prev Build on master (#8632)
  • Next Build on master (#8647)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc