OsgiControllerTest fails on Hudson build server
-----------------------------------------------

                 Key: SLING-996
                 URL: https://issues.apache.org/jira/browse/SLING-996
             Project: Sling
          Issue Type: Bug
          Components: JCR Install
    Affects Versions: JCR Install 2.0.4
            Reporter: Bertrand Delacretaz
            Assignee: Bertrand Delacretaz
            Priority: Minor


The 
org.apache.sling.jcr.jcrinstall.it.OsgiControllerTest.testBundleStatePreserved 
test fails on http://hudson.zones.apache.org, although it works on my macosx 
box:

java.lang.Error: IOException in adaptTo
        at 
org.apache.sling.jcr.jcrinstall.it.SimpleFileInstallableData.adaptTo(SimpleFileInstallableData.java:42)
        at 
org.apache.sling.osgi.installer.impl.InstallableDataWrapper.<init>(InstallableDataWrapper.java:52)
        at 
org.apache.sling.osgi.installer.impl.OsgiResourceTask.<init>(OsgiResourceTask.java:51)
        at 
org.apache.sling.osgi.installer.impl.OsgiControllerImpl.scheduleInstallOrUpdate(OsgiControllerImpl.java:118)
        at 
org.apache.sling.jcr.jcrinstall.it.OsgiControllerTest.testBundleStatePreserved(OsgiControllerTest.java:240)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.injectContextAndInvoke(CallableTestMethodImpl.java:126)
        at 
org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.call(CallableTestMethodImpl.java:94)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: 
/home/hudson/hudson-slave/workspace/sling-contrib-1.5/contrib-1.5/extensions/jcrinstall/it/target/org.apache.sling.jcr.jcrinstall.it-2.0.3-incubator-SNAPSHOT-otherBundleA-1.0.jar
 (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at 
org.apache.sling.jcr.jcrinstall.it.SimpleFileInstallableData.adaptTo(SimpleFileInstallableData.java:40)
        ... 26 more


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to