You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IT Failure(google-cloud-compute): ITPaginationTest.testPaginationIterating zone not found #9134
Failures observed in GraalVM nightly build and presubmit. This error is happening often (in a number of presubmits and re-triggers), but not consistently:
Failures (1):
JUnit Vintage:ITPaginationTest:testPaginationIterating
MethodSource [className = 'com.google.cloud.compute.v1.integration.ITPaginationTest', methodName = 'testPaginationIterating', methodParameterTypes = '']
=> java.lang.AssertionError: Zone us-central1-a was not found for cloud-java-ci-test in zones list (size: 65).
org.junit.Assert.fail(Assert.java:89)
org.junit.Assert.assertTrue(Assert.java:42)
com.google.cloud.compute.v1.integration.ITPaginationTest.testPaginationIterating(ITPaginationTest.java:124)
java.base@17.0.5/java.lang.reflect.Method.invoke(Method.java:568)
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
[...]
This could be a similar issue with interfering compute resources from integration tests as observed/addressed in #8260.
The nightly builds are back to green, and I am no longer able to reproduce this error 🤔. Leaving this issue open to track and revisit if it resurfaces again.
Activity
emmileaf commentedon Feb 17, 2023
Update - seems like this is a previously observed flake coming back: googleapis/java-compute#683, googleapis/java-compute#682 (comment) look relevant.
emmileaf commentedon Feb 17, 2023
An initial investigation from locally reproducing this error w/ Terraform:
gcloud compute zones listreturns 119 zones, which also consistent with theresponse.iterateAll()size from testList().In testPaginationIterating(), iterating over zones sometimes gets stuck at around this point:
response.IterateAll()size: 46And sometimes able to get a full list including
us-central1-a(DEFAULT_ZONE):emmileaf commentedon Feb 21, 2023
The nightly builds are back to green, and I am no longer able to reproduce this error 🤔. Leaving this issue open to track and revisit if it resurfaces again.
lqiu96 commentedon Apr 25, 2023
Closing this issue now. It's been ~3 months since this last flaked. We can re-open if this test flakes again.
emmileaf commentedon Jun 9, 2023
Observed this flake again in nightly build - reopening to track.
test(compute): simplify and re-enable flaky ITPaginationTest test case (