Skip to content
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

Flaky test: GeodeObjectStoreIT #13

Open
pflueras opened this issue Apr 5, 2020 · 6 comments
Open

Flaky test: GeodeObjectStoreIT #13

pflueras opened this issue Apr 5, 2020 · 6 comments

Comments

@pflueras
Copy link
Member

pflueras commented Apr 5, 2020

[ERROR] Failures: 
[ERROR]   GeodeObjectStoreIT.testThatObjectStoreInsertsOneAndQueries:123 expected:<Person(persistenceId=300, version=1, age=30, name=Green Lantern)> but was:<null>
[INFO] 
[ERROR] Tests run: 16, Failures: 1, Errors: 0, Skipped: 0
pflueras added a commit that referenced this issue Apr 5, 2020
@jakzal
Copy link
Member

jakzal commented Apr 15, 2021

Had to disable few more of these: 2ed1597

Builds started failing with no change in code:

image

Failures on the CI:

Error:  io.vlingo.xoom.symbio.store.state.geode.GeodeStateStoreActorIT  Time elapsed: 251.737 s  <<< ERROR!
java.lang.RuntimeException: Unable to launch dunit VMs
Caused by: java.lang.RuntimeException: VMs did not start up within 120 seconds

Failures on my machine:

java.lang.RuntimeException: Failed to start locator
        at org.apache.geode.test.dunit.internal.DUnitLauncher.startLocator(DUnitLauncher.java:309)
        at org.apache.geode.test.dunit.internal.DUnitLauncher.launch(DUnitLauncher.java:217)
        at org.apache.geode.test.dunit.internal.DUnitLauncher.launchIfNeeded(DUnitLauncher.java:156)
        at org.apache.geode.test.dunit.rules.ClusterStartupRule.before(ClusterStartupRule.java:159)
        at org.apache.geode.test.dunit.rules.ClusterStartupRule.access$000(ClusterStartupRule.java:70)
        at org.apache.geode.test.dunit.rules.ClusterStartupRule$1.evaluate(ClusterStartupRule.java:144)
        at org.junit.rules.RunRules.evaluate(RunRules.java:20)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: org.apache.geode.GemFireConfigException: A serialization filter has been specified but this version of Java does not support serialization filters - ObjectInputFilter is
not available
        at org.apache.geode.internal.InternalDataSerializer.initialize(InternalDataSerializer.java:372)
        at org.apache.geode.distributed.internal.InternalDistributedSystem.initialize(InternalDistributedSystem.java:796)
        at org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:446)
        at org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:432)
        at org.apache.geode.distributed.internal.InternalDistributedSystem.connectInternal(InternalDistributedSystem.java:257)
        at org.apache.geode.distributed.DistributedSystem.connect(DistributedSystem.java:164)
        at org.apache.geode.distributed.internal.InternalLocator.startDistributedSystem(InternalLocator.java:646)
        at org.apache.geode.distributed.internal.InternalLocator.startLocator(InternalLocator.java:343)
        at org.apache.geode.distributed.Locator.startLocator(Locator.java:252)
        at org.apache.geode.distributed.Locator.startLocatorAndDS(Locator.java:139)
        at org.apache.geode.test.dunit.internal.DUnitLauncher$1.call(DUnitLauncher.java:298)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invokDelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)

@VaughnVernon
Copy link
Contributor

@pflueras @jakzal Strange. Did we upgrade to a newer version of Geode recently?

@jakzal
Copy link
Member

jakzal commented Apr 16, 2021

No, that’s the thing - nothing really changed. I tried upgrading but that didn’t help.

I pushed the tests/ignored branch with all the tests enabled. VMs fail to start within 120s: https://github.com/vlingo/xoom-symbio-geode/runs/2361023004?check_suite_focus=true

@DaveMuirhead
Copy link
Contributor

What's flaky? I removed all the @ignore annotations for all the tests in this project and ran the tests repeatedly. No failures.

[setup] END TEST GeodeObjectStoreIT.null
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.494 s - in io.vlingo.xoom.symbio.store.object.geode.GeodeObjectStoreIT
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.22.2:verify (default) @ xoom-symbio-geode ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ xoom-symbio-geode ---
[INFO] Installing /Users/davem/Git/vlingo/xoom-symbio-geode/target/xoom-symbio-geode-1.7.1-SNAPSHOT.jar to /Users/davem/.m2/repository/io/vlingo/xoom/xoom-symbio-geode/1.7.1-SNAPSHOT/xoom-symbio-geode-1.7.1-SNAPSHOT.jar
[INFO] Installing /Users/davem/Git/vlingo/xoom-symbio-geode/pom.xml to /Users/davem/.m2/repository/io/vlingo/xoom/xoom-symbio-geode/1.7.1-SNAPSHOT/xoom-symbio-geode-1.7.1-SNAPSHOT.pom
[INFO] Installing /Users/davem/Git/vlingo/xoom-symbio-geode/target/xoom-symbio-geode-1.7.1-SNAPSHOT-sources.jar to /Users/davem/.m2/repository/io/vlingo/xoom/xoom-symbio-geode/1.7.1-SNAPSHOT/xoom-symbio-geode-1.7.1-SNAPSHOT-sources.jar
[INFO] Installing /Users/davem/Git/vlingo/xoom-symbio-geode/target/xoom-symbio-geode-1.7.1-SNAPSHOT-javadoc.jar to /Users/davem/.m2/repository/io/vlingo/xoom/xoom-symbio-geode/1.7.1-SNAPSHOT/xoom-symbio-geode-1.7.1-SNAPSHOT-javadoc.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:12 min
[INFO] Finished at: 2021-04-17T19:11:35-04:00
[INFO] ------------------------------------------------------------------------
[509][davem: xoom-symbio-geode]$ 

@DaveMuirhead
Copy link
Contributor

What JDK level are tests running at? 1.8?

@VaughnVernon
Copy link
Contributor

@DaveMuirhead Yes, 1.8. You can see the full build details including OS, virtual environment, and Java version here.

https://github.com/vlingo/xoom-symbio-geode/runs/2367690896?check_suite_focus=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants