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

E2E failure on common TestRunExtraRepository test #4774

Closed
gansheer opened this issue Sep 28, 2023 · 1 comment · Fixed by #4764 or #4778
Closed

E2E failure on common TestRunExtraRepository test #4774

gansheer opened this issue Sep 28, 2023 · 1 comment · Fixed by #4764 or #4778
Labels
kind/bug Something isn't working

Comments

@gansheer
Copy link
Contributor

What happened?

The common e2e test TestRunExtraRepository has been failing for some time.

Some jakarta missing class can be seen in the logs.

Steps to reproduce

Look into a github action logs (common) .

Relevant log output

2023-09-28T15:53:29Z	DEBUG	camel-k	Finding available platforms
  2023-09-28T15:53:29Z	DEBUG	camel-k	Found active local integration platform test-4cde0787-4629-4829-9e96-005fb2980cf7
  Integration "java" created
      maven_repository_test.go:47: 
          Timed out after 60.001s.
          Expected
.....
3.0.3.jar:dependencies/lib/main/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.3.jar:dependencies/lib/main/org.jboss.logging.commons-logging-jboss-logging-1.0.0.Final.jar:dependencies/lib/main/org.jboss.logging.jboss-logging-annotations-2.2.1.Final.jar:dependencies/lib/main/org.jboss.slf4j.slf4j-jboss-logmanager-2.0.0.Final.jar:dependencies/lib/main/org
  .jboss.threads.jboss-threads-3.5.0.Final.jar:dependencies/lib/main/org.jooq.joor-0.9.14.jar:dependencies/lib/main/org.slf4j.slf4j-api-2.0.6.jar:dependencies/lib/main/org.snakeyaml.snakeyaml-engine-2.6.jar:dependencies/lib/main/org.yaml.snakeyaml-2.0.jar:dependencies/quarkus-app-dependencies.txt:dependencies/quarkus-run.jar:dependencies/quarkus/generated-bytecode.jar:dependencies/quarkus/quarkus-application.dat:dependencies/quarkus/transformed-bytecode.jar io.quarkus.bootstrap.runner.QuarkusEntryPoint
              Exception in thread "main" java.lang.reflect.InvocationTargetException
              	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
              	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
              	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:61)
              	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:32)
              Caused by: java.lang.NoClassDefFoundError: jakarta/annotation/Priority
              	at io.smallrye.config.SmallRyeConfigBuilder.getPriority(SmallRyeConfigBuilder.java:524)
              	at io.smallrye.config.SmallRyeConfigBuilder.addConverter(SmallRyeConfigBuilder.java:510)
....
              	... 6 more
              Caused by: java.lang.ClassNotFoundException: jakarta.annotation.Priority
              	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
              	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
              	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
              	at io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:115)
              	at io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:65)

Camel K version

main branch

@squakez
Copy link
Contributor

squakez commented Sep 29, 2023

Thanks for reporting. Yeah, I should have already fixed in 3ecf2bf#diff-b55de52f29eef25881a058accc01041920b7222e02350b77b978949d67c80273 - however that PR is still missing something before being merged. I'll link that PR to close this problem once merged.

@squakez squakez linked a pull request Sep 29, 2023 that will close this issue
4 tasks
squakez added a commit that referenced this issue Sep 29, 2023
squakez added a commit that referenced this issue Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants