Closed jcantrill closed 11 months ago
@lukas-vlcek closer by fixing up the pom but still getting:
Exception in thread "Thread-1" java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.test.ESTestCase
at java.lang.Thread.run(Thread.java:748)
Suppressed: java.lang.IllegalStateException: No context information for thread: Thread[id=13, name=Thread-1, state=RUNNABLE, group=TGRP-AccessControlIntegrationTest]. Is this thread running under a class com.carrotsearch.randomizedtesting.RandomizedRunner runner context? Add @RunWith(class com.carrotsearch.randomizedtesting.RandomizedRunner.class) to your test class. Make sure your code accesses random contexts within @BeforeClass and @AfterClass boundary (for example, static test class initializers are not permitted to access random contexts).
at com.carrotsearch.randomizedtesting.RandomizedContext.context(RandomizedContext.java:249)
at com.carrotsearch.randomizedtesting.RandomizedContext.current(RandomizedContext.java:134)
at com.carrotsearch.randomizedtesting.RandomizedRunner.augmentStackTrace(RandomizedRunner.java:1885)
at com.carrotsearch.randomizedtesting.RunnerThreadGroup.uncaughtException(RunnerThreadGroup.java:20)
at java.lang.Thread.dispatchUncaughtException(Thread.java:1959)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] AccessControlIntegrationTest>ESTestCase.<clinit>:228 » Runtime found jar hell ...
[ERROR] KibanaIndexModeSharedOpsIntegrationTest.io.fabric8.elasticsearch.KibanaIndexModeSharedOpsIntegrationTest » NoClassDefFound
[ERROR] KibanaIndexModeUniqueIntegrationTest.io.fabric8.elasticsearch.KibanaIndexModeUniqueIntegrationTest » NoClassDefFound
[ERROR] ProxyUsernameIntegrationTest.io.fabric8.elasticsearch.ProxyUsernameIntegrationTest » NoClassDefFound
[INFO]
[ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0
@lukas-vlcek Thoughts? I have updates for 6.x here https://github.com/jcantrill/openshift-elasticsearch-plugin/tree/6.x but the integration tests dont even start due to which is missing from the version of the dependency. I cant seem to figure out the problem. Maybe its my version of maven?