1 Reply Latest reply on Mar 21, 2013 10:02 AM by marcosnasp

    Problems Run Arquillian Test (ArquillianExportException - Pipe closed)

    marcosnasp

      I've problems on execution of tests on profile remote. I am using the arquillian 1.0.3.Final:

       

      Follow in the attached file, the full stack trace:

       

      java.lang.NoClassDefFoundError: Could not initialize class org.jboss.remoting3.remote.RemoteLogger.

       

      Mar 15, 2013 10:16:36 AM org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1 call

      WARNING: Exception encountered during export of archive

      org.jboss.shrinkwrap.api.exporter.ArchiveExportException: Failed to write asset to output: /WEB-INF/lib/seam-security-api-3.1.0.Final.jar

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$3.handle(StreamExporterDelegateBase.java:272)

      at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:219)

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.processNode(StreamExporterDelegateBase.java:233)

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:105)

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.doExport(AbstractExporterDelegate.java:95)

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.access$001(StreamExporterDelegateBase.java:50)

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:121)

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:116)

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:124)

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:118)

      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

      at java.util.concurrent.FutureTask.run(FutureTask.java:166)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

      at java.lang.Thread.run(Thread.java:722)

      Caused by: java.io.IOException: Pipe closed

      at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)

      at java.io.PipedInputStream.receive(PipedInputStream.java:227)

      at java.io.PipedOutputStream.write(PipedOutputStream.java:149)

      at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)

      at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)

      at java.util.zip.ZipOutputStream.write(ZipOutputStream.java:314)

      at org.jboss.shrinkwrap.impl.base.io.IOUtil.copy(IOUtil.java:139)

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:261)

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:233)

      at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:217)

      ... 15 more

       

      If necessary, I can provide more informations about the problem.

        • 1. Re: Problems Run Arquillian Test (ArquillianExportException - Pipe closed)
          marcosnasp

          After some verifications, I was detect that problem regards the authentication for test execution on remote server.

          My credentials in arquillian config file don't enable access to remote server. Unfortunatelly, I'm not successful in procedure

          of configuration, to solve this. Somebody can provide the necessary information to solve the problem?

           

          My configurations on arquillian.xml config, shows like this:

           

          <container qualifier="jbossas-remote-7" default="true">

                              <configuration>

                                        <property name="managementAddress">"just server ip remote without port"</property>

                                        <property name="username">testuser</property>

                                        <property name="password">testpassword</property>

                              </configuration>

          </container>

           

          Log on jenkins CI Server:

           

          org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy to container: JBAS012144: Could not connect to remote://192.168.15.60:9999. The connection timed out