Skip to content

Fix flaky CI checks on Ubuntu #6906

@mhucka

Description

@mhucka

The current pytest runs on Ubuntu often fail during PR checks. It seems that sometimes the optimization steps take too long and time out:

=========================== short test summary info ============================
FAILED cirq-core/cirq/experiments/z_phase_calibration_test.py::test_calibrate_z_phases[angles6-error6-characterization_flags6] - RuntimeError: Optimal parameters not found: The maximum number of function evaluations is exceeded.
= 1 failed, 19825 passed, 121 skipped, 89 xfailed, 7 xpassed, 843 warnings in 334.79s (0:05:34) =
Error: Process completed with exit code 1.

I'm seeing this kind of thing happen on more than 50% of my PRs.

Metadata

Metadata

Assignees

Labels

area/cikind/healthFor CI/testing/release process/refactoring/technical debt itemspriority/p1Fix is needed as soon as possible. Should be staffed. It is blocking some major flows for users

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions