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

pantsbuild / pants / 24760753851 / 6
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2026 05:02AM UTC
Files 1188
Run time 32s
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

22 Apr 2026 04:48AM UTC coverage: 49.19%. Remained the same
24760753851.6

push

github

web-flow
Make one of the Pex tests more robust. (#23283)

`test_pex_working_directory[VenvPex]` manually deletes
the venv dir in the PEX_ROOT, in order to test the situation
where pex creation hits the process cache, while venv
seeding misses the pex cache.

However this test was using the real, persistent
named_caches dir, and when pex recreates the venv
it also tries to recreate a short symlink to it, and since
we didn't delete the original symlink (and we can't
because we don't know where it is), pex tries
longer and longer prefixes until it gives up. See:


https://github.com/pex-tool/pex/blob/v2.92.3/pex/pex_bootstrapper.py#L553

So if we run the test enough times we eventually hit the
"universe is broken"case in that comment.

The fix is simply to use a tmp_dir as the named_caches dir,
like several other tests in this file. Then pex will only use up
two of it 33 possible increasing prefixes, and we won't hit
the apocalypse.

29870 of 60724 relevant lines covered (49.19%)

0.49 hits per line

Source Files on job test_python_linux_x86_64_1/10 - 24760753851.6
  • Tree
  • List 1188
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24760753851
  • 3d098745 on github
  • Prev Job for on main (#24751892209.12)
  • Next Job for on main (#24804797209.12)
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