-
Notifications
You must be signed in to change notification settings - Fork 349
Random CI failures #903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could this be because GenericBackendV2 has non-zero noise by default, which makes the results stochastic? |
The failures that you've attached seems to repeat sometimes. The first test that you have attached about |
I looked at EstimatorV2 from the Runtime and it has an EstimatorOptions with a seed_estimator and also contains a SimulatorOptions that allows the noise_model to be set in local testing mode (e,g can be None) and a seed_simulator. It would seem that these should be used in testing for reproducibility. From the test I looked at it did not so maybe setting these as a try. Looping the test locally should allow the failure to be observed and then setting these - which maybe needs the outcome adjusting unless suitable seeds can be found - hopefully it should be reproducible and pass each time. |
CI had a seeming random failure in #902 where re-running the failed job passed. In looking at the nightly CI Actions I see a few failures, such as below. The 3rd item below is what failed in #902.
Investigating if the code can be improved whereby the possibility of failure is understood and updating either the unit test and/or the mainline code would be good to avoid these,
The text was updated successfully, but these errors were encountered: