qiskit-community / prototype-quantum-kernel-training

Toolkit for training quantum kernels in machine learning applications
https://arxiv.org/abs/2105.03406
Apache License 2.0
39 stars 12 forks source link

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

Open caleb-johnson opened 2 years ago

caleb-johnson commented 2 years ago

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?

garrison commented 2 years ago

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.

caleb-johnson commented 2 years ago

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

garrison commented 2 years ago

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.