prototype-quantum-kernel-training icon indicating copy to clipboard operation
prototype-quantum-kernel-training copied to clipboard

The notebook tests stall in CI when running ubuntu-latest/py310

Open caleb-johnson opened this issue 2 years ago • 3 comments

Describe the bug The notebook tests stall indefinitely in CI when running ubuntu-latest/py310.

To Reproduce Add py310 to the test_linux workflow in .github/workflows/tests.yml

Expected behavior The tests should run quickly, as they do in all other configurations tested.

Any suggestions? Investigate what is causing this. Maybe python 3.10 is not available on the ubuntu image yet?

caleb-johnson avatar Mar 15 '22 20:03 caleb-johnson

Weird! Looks like this is an example workflow that stalled: https://github.com/qiskit-community/prototype-quantum-kernel-training/runs/5559779758

The log there claims that Python 3.10.2 is indeed installed. Not sure what might be causing this, but I'll look at the configuration to see if I can find anything that looks like it might cause the stalling.

garrison avatar Mar 15 '22 20:03 garrison

Thanks, ya it's specifically the "Test with Tox" section that is stalling. It is indeed making it through the python installation.

caleb-johnson avatar Mar 15 '22 21:03 caleb-johnson

We finally get error output when the tests time out after six hours (see the above link I posted).

It looks like docs/how_tos/create_custom_kernel_loss_function.ipynb is the specific notebook that stalls, as it is the only one that does not show as PASSED.

garrison avatar Mar 16 '22 02:03 garrison