cool-easter-32542
07/08/2023, 5:57 PM06:55:49.05 [INFO] pantsd 2.17.0rc1 running with PID: 11570
06:55:49.06 [INFO] handling request: `--pants-bin-name=./pants --pants-version=2.17.0rc1 --spec-files=changed-files.txt test-selection-method --output-file=selection-method.txt`
06:55:57.48 [INFO] request completed: `--pants-bin-name=./pants --pants-version=2.17.0rc1 --spec-files=changed-files.txt test-selection-method --output-file=selection-method.txt`
Signal 15 (SIGTERM) was raised. Exiting with failure.
File "/var/lib/buildkite-agent/.cache/pants/setup/bootstrap-Linux-x86_64/2.17.0rc1_py39/bin/pants", line 8, in <module>
sys.exit(main())
File "/var/lib/buildkite-agent/.cache/pants/setup/bootstrap-Linux-x86_64/2.17.0rc1_py39/lib/python3.9/site-packages/pants/bin/pants_loader.py", line 112, in main
PantsLoader.main()
File "/var/lib/buildkite-agent/.cache/pants/setup/bootstrap-Linux-x86_64/2.17.0rc1_py39/lib/python3.9/site-packages/pants/bin/pants_loader.py", line 106, in main
cls.run_alternate_entrypoint(entrypoint)
File "/var/lib/buildkite-agent/.cache/pants/setup/bootstrap-Linux-x86_64/2.17.0rc1_py39/lib/python3.9/site-packages/pants/bin/pants_loader.py", line 84, in run_alternate_entrypoint
entrypoint_fn()
File "/var/lib/buildkite-agent/.cache/pants/setup/bootstrap-Linux-x86_64/2.17.0rc1_py39/lib/python3.9/site-packages/pants/pantsd/pants_daemon.py", line 238, in launch_new_pantsd_instance
daemon.run_sync()
File "/var/lib/buildkite-agent/.cache/pants/setup/bootstrap-Linux-x86_64/2.17.0rc1_py39/lib/python3.9/site-packages/pants/pantsd/pants_daemon.py", line 211, in run_sync
time.sleep(self.JOIN_TIMEOUT_SECONDS)
File "/var/lib/buildkite-agent/.cache/pants/setup/bootstrap-Linux-x86_64/2.17.0rc1_py39/lib/python3.9/site-packages/pants/base/exception_sink.py", line 109, in handle_sigterm
raise self.SignalHandledNonLocalExit(signum, "SIGTERM")
File "/var/lib/buildkite-agent/.cache/pants/setup/bootstrap-Linux-x86_64/2.17.0rc1_py39/lib/python3.9/site-packages/pants/base/exception_sink.py", line 94, in __init__
self.traceback_lines = traceback.format_stack()
06:55:58.97 [WARN] Executor was not shut down explicitly.
06:55:58.97 [ERROR] panic at 'Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous context.', /github/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/blocking/shutdown.rs:51
06:55:58.97 [ERROR] Please set RUST_BACKTRACE=1, re-run, and then file a bug at <https://github.com/pantsbuild/pants/issues>.
06:55:58.97 [ERROR] panic at 'A Tokio 1.x context was found, but it is being shutdown.', /github/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/runtime/time/entry.rs:553
06:55:58.97 [ERROR] Please set RUST_BACKTRACE=1, re-run, and then file a bug at <https://github.com/pantsbuild/pants/issues>.
06:55:58.97 [ERROR] panic at 'panic in a function that cannot unwind', library/core/src/panicking.rs:123
06:55:58.97 [ERROR] Please set RUST_BACKTRACE=1, re-run, and then file a bug at <https://github.com/pantsbuild/pants/issues>.
thread caused non-unwinding panic. aborting.
06:56:05.86 [INFO] pantsd 2.17.0rc1 running with PID: 11870
06:56:05.92 [DEBUG] Accepted connection: PollEvented { io: Some(TcpStream { addr: 127.0.0.1:34489, peer: 127.0.0.1:45256, fd: 160 }) }
06:56:05.92 [INFO] handling request: `--pants-bin-name=./pants --pants-version=2.17.0rc1 -ldebug --spec-files=changed-files.txt --pantsd-max-memory-usage=30GiB --python-infer-init-files=never select-tests --output-file=pants_dependees.txt`
And this is blocking us from using the local cache. We always need to rebuild every rule from the start.
Pants version
2.17.0rc1
OS
MacOS and Linux
Additional info
Add any other information about the problem here, such as attachments or links to gists, if relevant.
pantsbuild/pantscool-easter-32542
07/11/2023, 3:37 AM