https://pantsbuild.org/ logo
w

wide-midnight-78598

12/13/2022, 4:02 AM
Can someone help me out w/ this failure?
src/python/pants/init/load_backends_integration_test.py:tests failed in 450.00s.
https://github.com/pantsbuild/pants/actions/runs/3681659160/jobs/6228608674
I vaguely recall this happening to me months ago.
I think it was my typings maybe? Building locally to see what happens
Yeah, just verifying it still succeeds locally - but that's on python 3.9
Appears to have been a janky timeout - re-ran the failed job and it passed
h

hundreds-father-404

12/13/2022, 4:40 AM
yeah, we should bump the timeout because we've added more backends recently
each backend means two pants runs, which each often take 1.5-4 seconds in CI each
👍 1
w

wide-midnight-78598

12/13/2022, 4:44 AM
I've had a legit failure in that file before I think, so I assumed this one was too (though, adding a test + docs + typings would have been odd. Can those tests be deterministically split into/across shards?
h

hundreds-father-404

12/13/2022, 4:45 AM
Can those tests be deterministically split into/across shards?
Probably -- create a library file and then 2-3 test files that call into the library with
shard=1
👍 1
w

witty-crayon-22786

12/13/2022, 6:19 PM
we could probably add automatic sharding of large tests too (behind a per-test flag, maybe)
👍 2