We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tests are passing while building framework-core on windows
One test is reported in failure and one is reported in error
mvn clean install
framework/framework-core
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.69 sec <<< FAILURE! - in FrameworkCoreTest FrameworkCoreTest Time elapsed: 2.608 sec <<< ERROR! org.ops4j.pax.exam.TestContainerException: Problem starting test container. at org.ops4j.pax.exam.nat.internal.NativeTestContainer.start(NativeTestContainer.java:212) at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86) at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136) at org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:457) at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97) at org.daisy.pipeline.junit.TestRunner.runChild(TestRunner.java:55) at org.daisy.pipeline.junit.TestRunner.runChild(TestRunner.java:22) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) Caused by: org.osgi.framework.BundleException: Unable to cache bundle: link:classpath:META-INF/links/org.ops4j.pax.exam.inject.link at org.apache.felix.framework.Felix.installBundle(Felix.java:3013) at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:167) at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:140) at org.ops4j.pax.exam.nat.internal.NativeTestContainer.installAndStartBundles(NativeTestContainer.java:340) at org.ops4j.pax.exam.nat.internal.NativeTestContainer.start(NativeTestContainer.java:209) ... 19 more Caused by: java.io.IOException: Error resolving artifact org.ops4j.pax.exam:pax-exam-inject:jar:4.12.0: Could not find artifact org.ops4j.pax.exam:pax-exam-inject:jar:4.12.0 at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:626) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:570) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:548) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:523) at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123) at org.apache.felix.framework.util.SecureAction.getURLConnectionInputStream(SecureAction.java:525) at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:166) at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:77) at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:878) at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:550) at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:153) at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:277) at org.apache.felix.framework.Felix.installBundle(Felix.java:3009) ... 23 more Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec <<< FAILURE! - in org.daisy.pipeline.job.impl.JobURIUtilsTest getLogFile(org.daisy.pipeline.job.impl.JobURIUtilsTest) Time elapsed: 0.002 sec <<< FAILURE! java.lang.AssertionError: expected:<file:/C:/Users/npavie/AppData/Local/Temp/jobs/a670d774-5a54-46a2-baf8-41247643399b/a670d774-5a54-46a2-baf8-41247643399b.log> but was:<file:/C:/Users/npavie/AppData/Local/Temp/a670d774-5a54-46a2-baf8-41247643399b/a670d774-5a54-46a2-baf8-41247643399b.log> at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.junit.Assert.assertEquals(Assert.java:147) at org.daisy.pipeline.job.impl.JobURIUtilsTest.getLogFile(JobURIUtilsTest.java:57) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
The text was updated successfully, but these errors were encountered:
Yes, I've seen this happening. I haven't investigated it enough. Usually the error disappears when I try to run the tests again.
Sorry, something went wrong.
indeed, re running make the JobURIUtilsTest work, but the TestContainerException remains.
(Its not critical so i made the build i needed without tests)
No branches or pull requests
Expected Behavior
Tests are passing while building framework-core on windows
Actual Behavior
One test is reported in failure and one is reported in error
Steps to Reproduce
mvn clean install
in folderframework/framework-core
Environment
Logs
The text was updated successfully, but these errors were encountered: