Bugzilla – Bug 1201567
python-pyquil tests get stuck
Last modified: 2022-07-18 09:01:59 UTC
osc co openSUSE:Factory/python-pyquil && cd $_
osc build -j1 --noservice standard
When it gets stuck, I send a SIGTERM to the pytest process to let it print where it got stuck.
gets stuck in the tests
[ 55s] pyquil/tests/test_paulis_with_placeholders.py::test_simplify_warning PASSED [ 78%]
[ 55s] pyquil/tests/test_qpu.py::test_qpu_run SKIPPED (QPU or compiler-serv...) [ 78%]
[ 56s] pyquil/tests/test_qpu.py::test_load SKIPPED (This test requires comp...) [ 78%]
[ 57s] pyquil/tests/test_qpu.py::test_build_patch_tables SKIPPED (This test...) [ 79%]
and with some added ignores it got a bit further to
[ 115s] pyquil/tests/test_api.py::test_get_qc_returns_remote_qvm_compiler SKIPPED (This test requires QVM connection: No QVM server running at http://127.0.0.1:5000) [ 36%]
[ 117s] pyquil/tests/test_api.py::test_quil_to_native_quil SKIPPED (This test requires compiler connection: Request to quilc at tcp://127.0.0.1:5555 timed out. This could mean that quilc is not running, is not reachable, or is responding slowly.) [ 36%]
I don't really know what to do about it, might just skip it.
Would be good to find out why it is stuck. Maybe with strace.