I have a pax exam test that fails consistently with "gave up waiting for
service org.ops4j.pax.exam.ProbeInvoker" see exception below.
The strange thing is that just before this exception the pax exam probe
bundle finds my test and registers the ProbeInvoker service.
Any idea what is going on there?
I am using pax exam 4.13.0 and the native container.
Christian
---
2020-06-06 12:26:29,372 DEBUG
org.ops4j.pax.exam.nat.internal.NativeTestContainer Installed bundle
PAXEXAM-PROBE-1964da24-e6fc-4516-b617-578e6e26e5b2 as Bundle ID 42
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Scanning bundle [PAXEXAM-PROBE-1964da24-e6fc-4516-b617-578e6e26e5b2]
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Found resources [ManifestEntry{ key=PaxExam-Executable,
value=PaxExam-8603a386-8755-430b-bd65-56d3da212f47, }, ManifestEntry{
key=PaxExam-8603a386-8755-430b-bd65-56d3da212f47,
value=com.adobe.granite.distribution.journal.pipeline.it.osgi.PipelineOSGiTest;test
}]
org.ops4j.pax.exam.extender.service[org.ops4j.pax.exam.raw.extender.intern.Probe]
: Test PaxExam-Executable to be in
PaxExam-8603a386-8755-430b-bd65-56d3da212f47,
org.ops4j.pax.exam.extender.service[org.ops4j.pax.exam.raw.extender.intern.Probe]
: Test PaxExam-8603a386-8755-430b-bd65-56d3da212f47 to be in
PaxExam-8603a386-8755-430b-bd65-56d3da212f47,
org.ops4j.pax.exam.extender.service[org.ops4j.pax.exam.raw.extender.intern.Probe]
: Registering Service: org.ops4j.pax.exam.ProbeInvoker with
Probe-Signature="PaxExam-8603a386-8755-430b-bd65-56d3da212f47" and
expression="com.adobe.granite.distribution.journal.pipeline.it.osgi.PipelineOSGiTest;test"
---
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for
service org.ops4j.pax.exam.ProbeInvoker
at
org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:161)
at
org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:104)
at
org.ops4j.pax.exam.nat.internal.NativeTestContainer.call(NativeTestContainer.java:110)
at
org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactor.invoke(AllConfinedStagedReactor.java:84)
at
org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:267)
at
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210)
--
--
Christian Schneider
http://www.liquid-reality.de
Computer Scientist
http://www.adobe.com
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ops4j/CAH6_LNmFDjcgQ48CgYoPg72mV4ifiruZ8nHsmnss9Si%2BfQjE%3Dg%40mail.gmail.com.