You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "lone-surabhi (via GitHub)" <gi...@apache.org> on 2026/01/13 09:47:16 UTC
[I] Some integration tests fail or get skipped depending on Java version and local environment [karaf]
lone-surabhi opened a new issue, #2225:
URL: https://github.com/apache/karaf/issues/2225
Hi team,
I was trying to build and run tests for Apache Karaf on my local machine and noticed that the build behavior is inconsistent depending on the Java version and environment setup.
Initially, I was able to run the full build successfully, but while re-running and automating the tests, a few test cases either failed or had to be skipped due to environment or version-related issues. I tried switching Java versions and re-running the build multiple times, but the same set of tests kept failing or getting skipped.
Environment details
• OS: macOS (Apple Silicon)
• Java versions tried:
• Java 11 (OpenJDK 11.0.29)
• Java 17 (OpenJDK 17.0.17)
• Maven version:
• Apache Maven 3.8.8
Following are the tests affected :
1. org.apache.karaf.audit.TestPerf
2. org.apache.karaf.docker.DockerClientTest
3. org.apache.karaf.docker.internal.DockerServiceImplTest
4. org.apache.karaf.features.FeaturesServiceTest
5. org.apache.karaf.features.internal.service.RepositoryCacheTest
6. org.apache.karaf.itests.examples.CamelExampleTest
7. org.apache.karaf.itests.features.EnterpriseFeaturesTest
8. org.apache.karaf.itests.features.Spring3FeaturesTest
9. org.apache.karaf.itests.features.Spring60FeaturesTest
10. org.apache.karaf.itests.features.Spring61FeaturesTest
11. org.apache.karaf.jaas.modules.ldap.GSSAPILdapLoginModuleTest
Could you please suggest which Java and Maven versions are recommended to run the full test suite locally without skipping these tests, or if there is a standard way to handle these environment dependent tests during local builds?
Thanks!!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Some integration tests fail or get skipped depending on Java version and local environment [karaf]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #2225:
URL: https://github.com/apache/karaf/issues/2225#issuecomment-3743623666
Are you executing a simple `mvn clean install` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Some integration tests fail or get skipped depending on Java version and local environment [karaf]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #2225:
URL: https://github.com/apache/karaf/issues/2225#issuecomment-3772039559
Can you share the error messages or test output ? I suspect it's environment related as these tests are successful on the CI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Some integration tests fail or get skipped depending on Java version and local environment [karaf]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #2225:
URL: https://github.com/apache/karaf/issues/2225#issuecomment-3743626441
Are you using the `main` branch ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Some integration tests fail or get skipped depending on Java version and local environment [karaf]
Posted by "lone-surabhi (via GitHub)" <gi...@apache.org>.
lone-surabhi commented on issue #2225:
URL: https://github.com/apache/karaf/issues/2225#issuecomment-3768665200
Hello, I am using the same command "mvn clean install", and these are the test cases that are failing.
1. org.apache.karaf.audit.TestPerf
2. org.apache.karaf.docker.DockerClientTest
3. org.apache.karaf.docker.internal.DockerServiceImplTest
4. org.apache.karaf.features.FeaturesServiceTest
5. org.apache.karaf.features.internal.service.RepositoryCacheTest
6. org.apache.karaf.itests.examples.CamelExampleTest
7. org.apache.karaf.itests.features.EnterpriseFeaturesTest
8. org.apache.karaf.itests.features.Spring3FeaturesTest
9. org.apache.karaf.itests.features.Spring60FeaturesTest
10. org.apache.karaf.itests.features.Spring61FeaturesTest
11. org.apache.karaf.jaas.modules.ldap.GSSAPILdapLoginModuleTest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Some integration tests fail or get skipped depending on Java version and local environment [karaf]
Posted by "lone-surabhi (via GitHub)" <gi...@apache.org>.
lone-surabhi commented on issue #2225:
URL: https://github.com/apache/karaf/issues/2225#issuecomment-3743632364
Yes, I am
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Some integration tests fail or get skipped depending on Java version and local environment [karaf]
Posted by "lone-surabhi (via GitHub)" <gi...@apache.org>.
lone-surabhi commented on issue #2225:
URL: https://github.com/apache/karaf/issues/2225#issuecomment-3743976818
I am following instructions given in the README.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Some integration tests fail or get skipped depending on Java version and local environment [karaf]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #2225:
URL: https://github.com/apache/karaf/issues/2225#issuecomment-3762767210
`mvn clean install` just runs fine for me (multiple time), it's also what the CI is using.
We know that we have a few flaky tests.
Can you please describe exactly what you are doing ? Thanks !
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org