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

Add support for io.etcd:jetcd-core:0.7.5 #164

Closed
linghengqian opened this issue Jan 6, 2023 · 4 comments
Closed

Add support for io.etcd:jetcd-core:0.7.5 #164

linghengqian opened this issue Jan 6, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@linghengqian
Copy link
Contributor

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

  • Add support for io.etcd:jetcd-core:0.7.5.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

  • Null.

Additional context
Add any other context or screenshots about the feature request here.

@linghengqian linghengqian added the enhancement New feature or request label Jan 6, 2023
@linghengqian
Copy link
Contributor Author

  • I work on this issue.

@linghengqian
Copy link
Contributor Author

 JUnit Jupiter:WatchTest:testCancelledWatchGetsClosed(Client):[2] io.etcd.jetcd.impl.ClientImpl@233f2c20
    MethodSource [className = 'com.lingh.impl.WatchTest', methodName = 'testCancelledWatchGetsClosed', methodParameterTypes = 'io.etcd.jetcd.Client']
    => java.lang.NoSuchMethodException: org.junit.jupiter.engine.extension.TimeoutInvocationFactory$SingleThreadExecutorResource.<init>()
       [email protected]/java.lang.Class.getConstructor0(DynamicHub.java:3585)
       [email protected]/java.lang.Class.getDeclaredConstructor(DynamicHub.java:2754)
       org.junit.platform.commons.util.ReflectionUtils.newInstance(ReflectionUtils.java:527)
       org.junit.platform.commons.support.ReflectionSupport.newInstance(ReflectionSupport.java:181)
       org.junit.jupiter.api.extension.ExtensionContext$Store.lambda$getOrComputeIfAbsent$0(ExtensionContext.java:528)
       org.junit.jupiter.engine.execution.ExtensionValuesStore.lambda$getOrComputeIfAbsent$4(ExtensionValuesStore.java:86)
       org.junit.jupiter.engine.execution.ExtensionValuesStore$MemoizingSupplier.computeValue(ExtensionValuesStore.java:223)
       org.junit.jupiter.engine.execution.ExtensionValuesStore$MemoizingSupplier.get(ExtensionValuesStore.java:211)
       org.junit.jupiter.engine.execution.ExtensionValuesStore$StoredValue.evaluate(ExtensionValuesStore.java:191)
       org.junit.jupiter.engine.execution.ExtensionValuesStore$StoredValue.access$100(ExtensionValuesStore.java:171)
       [...]
  JUnit Jupiter:WatchTokenExpireTest
    ClassSource [className = 'com.lingh.impl.WatchTokenExpireTest', filePosition = null]
    => java.lang.IllegalStateException: Cluster failed to start
       io.etcd.jetcd.launcher.EtcdClusterImpl.start(EtcdClusterImpl.java:97)
       io.etcd.jetcd.test.EtcdClusterExtension.before(EtcdClusterExtension.java:96)
       io.etcd.jetcd.test.EtcdClusterExtension.beforeAll(EtcdClusterExtension.java:74)
       org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$12(ClassBasedTestDescriptor.java:395)
       org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
       [...]
     Caused by: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed
       io.etcd.jetcd.launcher.EtcdContainer.start(EtcdContainer.java:199)
       io.etcd.jetcd.launcher.EtcdClusterImpl.lambda$start$2(EtcdClusterImpl.java:77)
       [email protected]/java.lang.Thread.run(Thread.java:833)
       org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775)
       org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:203)
     Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed
       org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
       org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
       io.etcd.jetcd.launcher.EtcdContainer.start(EtcdContainer.java:196)
       [...]
     Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
       org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
       org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
       [...]
     Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
       org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542)
       org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
       org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
       [...]
     Caused by: com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"invalid volume specification: '/run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu/50d7fe6694e258046ac7013d5655848f757350994873447d00fd542c7b936e6d:/ssl/cert/etcd0.pem:/etc/ssl/etcd/server.pem:ro,z'"}

       org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:247)
       org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.post(DefaultInvocationBuilder.java:124)
       org.testcontainers.shaded.com.github.dockerjava.core.exec.CreateContainerCmdExec.execute(CreateContainerCmdExec.java:37)
       org.testcontainers.shaded.com.github.dockerjava.core.exec.CreateContainerCmdExec.execute(CreateContainerCmdExec.java:13)
       org.testcontainers.shaded.com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21)
       [...]
  JUnit Jupiter
    => java.lang.NoSuchMethodException: org.junit.jupiter.engine.extension.TimeoutInvocationFactory$SingleThreadExecutorResource.<init>()
       [email protected]/java.lang.Class.getConstructor0(DynamicHub.java:3585)
       [email protected]/java.lang.Class.getDeclaredConstructor(DynamicHub.java:2754)
       org.junit.platform.commons.util.ReflectionUtils.newInstance(ReflectionUtils.java:527)
       org.junit.platform.commons.support.ReflectionSupport.newInstance(ReflectionSupport.java:181)
       org.junit.jupiter.api.extension.ExtensionContext$Store.lambda$getOrComputeIfAbsent$0(ExtensionContext.java:528)
       org.junit.jupiter.engine.execution.ExtensionValuesStore.lambda$getOrComputeIfAbsent$4(ExtensionValuesStore.java:86)
       org.junit.jupiter.engine.execution.ExtensionValuesStore$MemoizingSupplier.computeValue(ExtensionValuesStore.java:223)
       org.junit.jupiter.engine.execution.ExtensionValuesStore$MemoizingSupplier.get(ExtensionValuesStore.java:211)
       org.junit.jupiter.engine.execution.ExtensionValuesStore$StoredValue.evaluate(ExtensionValuesStore.java:191)
       org.junit.jupiter.engine.execution.ExtensionValuesStore$StoredValue.evaluateSafely(ExtensionValuesStore.java:183)
       [...]

Test run finished after 124663 ms
[        37 containers found      ]
[         0 containers skipped    ]
[        37 containers started    ]
[         0 containers aborted    ]
[        34 containers successful ]
[         3 containers failed     ]
[       106 tests found           ]
[         0 tests skipped         ]
[       104 tests started         ]
[         0 tests aborted         ]
[        18 tests successful      ]
[        86 tests failed          ]


> Task :nativeTest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':nativeTest'.
> Process 'command '/home/linghengqian/TwinklingLiftWorks/git/public/graalvm-trace-metadata-smoketest/jetcd-core/build/native/nativeTestCompile/jetcd-core-tests'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8m 59s
8 actionable tasks: 8 executed

@linghengqian
Copy link
Contributor Author

  • After I performed a series of exciting processing, jetcd-core's nativeTest is completed.

@linghengqian
Copy link
Contributor Author

@linghengqian linghengqian closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant