You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2009/06/08 13:26:07 UTC

[jira] Created: (SLING-996) OsgiControllerTest fails on Hudson build server

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.


[jira] Closed: (SLING-996) OsgiControllerTest fails on Hudson build server

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz closed SLING-996.
-------------------------------------

    Resolution: Fixed

Fixed in revision 782602 by using shorter names for the bundles used in automated tests...weird.

> 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.