Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3790

TS: Unable to pass tests in integration smoke test part of testsuite in IPv6 environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.1.0.Final
    • Test Suite
    • None

      I've tried to build AS7 and run default part of testsuite (including integration smoke tests) in IPv6 environment like:

      ./build.sh clean install  -Dnode0=::1 -Dipv6

      My lookpack network interface was configured as:

      [root@fedora15-vrt1 Documents]# ifconfig lo
      lo        Link encap:Local Loopback  
                inet addr:127.0.0.1  Mask:255.0.0.0
                inet6 addr: ::1/128 Scope:Host
                UP LOOPBACK RUNNING  MTU:16436  Metric:1
                RX packets:60156 errors:0 dropped:0 overruns:0 frame:0
                TX packets:60156 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:0 
                RX bytes:37911245 (36.1 MiB)  TX bytes:37911245 (36.1 MiB)
      
      [root@fedora15-vrt1 Documents]# 
      

      The result is failure because timeout:

      <snip>
      
      main:
      
      build-smoke:
      [INFO] Executed tasks
      [INFO] 
      [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jboss-as-ts-integ-smoke ---
      [INFO] Compiling 110 source files to /home/pjanouse/devel/tmp/ozizka/jboss-as/testsuite/integration/smoke/target/test-classes
      [WARNING] /home/pjanouse/devel/tmp/ozizka/jboss-as/testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/surefire/servermodule/AbstractServerInModuleTestCase.java:[54,62] [deprecation] getModulesDir() in org.jboss.as.server.ServerEnvironment has been deprecated
      [INFO] 
      [INFO] --- maven-surefire-plugin:2.10:test (smoke-full.surefire) @ jboss-as-ts-integ-smoke ---
      [INFO] Surefire report directory: /home/pjanouse/devel/tmp/ozizka/jboss-as/testsuite/integration/smoke/target/surefire-reports
      
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.jboss.as.test.smoke.embedded.demos.messaging.MessagingTestCase
      
      Results :
      
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] JBoss Application Server: Build Configuration ..... SUCCESS [1.952s]
      [INFO] JBoss Application Server: Parent Aggregator ....... SUCCESS [1.435s]
      [INFO] JBoss Application Server: Domain HTTP Interface ... SUCCESS [0.276s]
      [INFO] JBoss Application Server: Domain HTTP Error Context  SUCCESS [1.525s]
      [INFO] JBoss Application Server: Protocol Utilities ...... SUCCESS [11.337s]
      [INFO] JBoss Application Server: Controller Client ....... SUCCESS [5.599s]
      [INFO] JBoss Application Server: Controller Core ......... SUCCESS [21.175s]
      [INFO] JBoss Application Server: Domain Management ....... SUCCESS [3.940s]
      [INFO] JBoss Application Server: Domain HTTP Interface ... SUCCESS [2.620s]
      [INFO] JBoss Application Server: Deployment Repository ... SUCCESS [2.615s]
      [INFO] JBoss Application Server: Embedded ................ SUCCESS [4.239s]
      [INFO] JBoss Application Server: Platform MBean integration  SUCCESS [5.673s]
      [INFO] JBoss Application Server: Process Controller ...... SUCCESS [6.888s]
      [INFO] JBoss Application Server: Network ................. SUCCESS [3.532s]
      [INFO] JBoss Application Server: Threading Subsystem ..... SUCCESS [8.944s]
      [INFO] JBoss Application Server: Remoting Subsystem ...... SUCCESS [4.899s]
      [INFO] JBoss Application Server: Server .................. SUCCESS [11.049s]
      [INFO] JBoss Application Server: Subsystem Test Harness .. SUCCESS [5.775s]
      [INFO] JBoss Application Server: JMX Subsystem ........... SUCCESS [9.914s]
      [INFO] JBoss Application Server: Naming Subsystem ........ SUCCESS [8.926s]
      [INFO] JBoss Application Server: EE ...................... SUCCESS [13.024s]
      [INFO] JBoss Application Server: Transaction Subsystem ... SUCCESS [7.015s]
      [INFO] JBoss Application Server: Clustering Subsystem .... SUCCESS [0.184s]
      [INFO] JBoss Application Server: Common code for clustering subsystems  SUCCESS [5.332s]
      [INFO] JBoss Application Server: JGroups Subsystem ....... SUCCESS [8.036s]
      [INFO] JBoss Application Server: Infinispan Subsystem .... SUCCESS [23.168s]
      [INFO] JBoss Application Server: Security Subsystem ...... SUCCESS [11.052s]
      [INFO] JBoss Application Server: Connector Subsystem ..... SUCCESS [19.138s]
      [INFO] JBoss Application Server: Clustering Server API ... SUCCESS [13.274s]
      [INFO] JBoss Application Server: Clustered registry service  SUCCESS [2.203s]
      [INFO] JBoss Application Server: JacORB Subsystem ........ SUCCESS [16.268s]
      [INFO] JBoss Application Server: EJB Subsystem ........... SUCCESS [35.557s]
      [INFO] JBoss Application Server: Distributed Web Session SPI  SUCCESS [5.422s]
      [INFO] JBoss Application Server: Clustering Server API implementation  SUCCESS [5.224s]
      [INFO] JBoss Application Server: Distributed Web Session Infinispan provider  SUCCESS [7.409s]
      [INFO] JBoss Application Server: Web Subsystem ........... SUCCESS [19.789s]
      [INFO] JBoss Application Server: Web Services Subsystem .. SUCCESS [0.183s]
      [INFO] JBoss Application Server: Web Services Server Integration Subsystem  SUCCESS [9.624s]
      [INFO] JBoss Application Server: Application Client Bootstrap  SUCCESS [7.014s]
      [INFO] JBoss Application Server: Command line interface .. SUCCESS [12.399s]
      [INFO] JBoss Application Server: EJB Client BOM .......... SUCCESS [0.226s]
      [INFO] JBoss Application Server: JMS Client BOM .......... SUCCESS [0.213s]
      [INFO] JBoss Application Server: EJB and JMS client combined jar  SUCCESS [4.948s]
      [INFO] JBoss Application Server: Clustered Stateful Session Bean cache Infinispan provider  SUCCESS [3.795s]
      [INFO] JBoss Application Server: Clustered service provider registry services  SUCCESS [4.434s]
      [INFO] JBoss Application Server: Clustered singleton services  SUCCESS [5.016s]
      [INFO] JBoss Application Server: EJB Container Managed Persistence Subsystem  SUCCESS [24.135s]
      [INFO] JBoss Application Server: Config Admin ............ SUCCESS [5.690s]
      [INFO] JBoss Application Server: Deployment Scanner ...... SUCCESS [7.514s]
      [INFO] JBoss Application Server: EE Deployment ........... SUCCESS [4.195s]
      [INFO] JBoss Application Server: JAXR Client ............. SUCCESS [4.562s]
      [INFO] JBoss Application Server: JPA Subsystem ........... SUCCESS [0.231s]
      [INFO] JBoss Application Server: JPA SPI ................. SUCCESS [4.460s]
      [INFO] JBoss Application Server: JPA UTIL ................ SUCCESS [1.698s]
      [INFO] JBoss Application Server: JPA Subsystem ........... SUCCESS [7.273s]
      [INFO] JBoss Application Server: Weld Integration ........ SUCCESS [8.499s]
      [INFO] JBoss Application Server: JAX-RS Integration ...... SUCCESS [8.492s]
      [INFO] JBoss Application Server: JBoss Diagnostic Reporter  SUCCESS [0.158s]
      [INFO] JBoss Application Server: JDR ..................... SUCCESS [6.291s]
      [INFO] JBoss Application Server: JSR-77 Subsystem ........ SUCCESS [5.485s]
      [INFO] JBoss Application Server: Management Client Content  SUCCESS [3.706s]
      [INFO] JBoss Application Server: Host Controller ......... SUCCESS [18.260s]
      [INFO] JBoss Application Server: Logging Subsystem ....... SUCCESS [13.138s]
      [INFO] JBoss Application Server: Mail subsystem .......... SUCCESS [7.227s]
      [INFO] JBoss Application Server: Messaging Subsystem ..... SUCCESS [18.398s]
      [INFO] JBoss Application Server: ModCluster Subsystem .... SUCCESS [7.415s]
      [INFO] JBoss Application Server: OSGi .................... SUCCESS [0.148s]
      [INFO] JBoss Application Server: OSGi Subsystem .......... SUCCESS [9.388s]
      [INFO] JBoss Application Server: OSGi ConfigurationAdmin . SUCCESS [4.866s]
      [INFO] JBoss Application Server: POJO Subsystem .......... SUCCESS [7.217s]
      [INFO] JBoss Application Server: sosreport scripts ....... SUCCESS [2.259s]
      [INFO] JBoss Application Server: Service Archive Subsystem  SUCCESS [6.041s]
      [INFO] JBoss Application Server: XTS Subsystem ........... SUCCESS [7.902s]
      [INFO] JBoss Application Server: Hibernate 3.6.x JPA integration  SUCCESS [3.552s]
      [INFO] JBoss Application Server: Hibernate 4.0.x JPA integration  SUCCESS [4.524s]
      [INFO] JBoss Application Server: Infinispan Hibernate 2nd level cache provider  SUCCESS [1.783s]
      [INFO] JBoss Application Server: OpenJPA 2.x JPA integration  SUCCESS [3.333s]
      [INFO] JBoss Application Server: Build ................... SUCCESS [21.975s]
      [INFO] JBoss Application Server: Arquillian .............. SUCCESS [0.190s]
      [INFO] JBoss Application Server: Arquillian TestEnricher MSC  SUCCESS [1.574s]
      [INFO] JBoss Application Server: Arquillian Common ....... SUCCESS [3.888s]
      [INFO] JBoss Application Server: Arquillian Protocol JMX . SUCCESS [2.520s]
      [INFO] JBoss Application Server: Arquillian Managed Container  SUCCESS [18.181s]
      [INFO] JBoss Application Server: Arquillian Remote Container  SUCCESS [3.492s]
      [INFO] JBoss Application Server: Exported Java EE Specification APIs  SUCCESS [0.261s]
      [INFO] JBoss Application Server: Arquillian TestNG Integration  SUCCESS [15.898s]
      [INFO] JBoss Application Server: Demos: Aggregator ....... SUCCESS [2.748s]
      [INFO] JBoss Application Server: Demos: Spec ............. SUCCESS [4.056s]
      [INFO] JBoss Application Server: Demos: Legacy TO BE MOVED  SUCCESS [10.657s]
      [INFO] JBoss Application Server: Distribution ............ SUCCESS [1.035s]
      [INFO] JBoss Application Server: Remoting Subsystem Test . SUCCESS [2.981s]
      [INFO] JBoss Application Server: Validation Tests for Exported Java EE Specification APIs  SUCCESS [2.360s]
      [INFO] JBoss Application Server: Web Services Tests Integration Subsystem  SUCCESS [1.969s]
      [INFO] JBoss Application Server Test Suite: Shared ....... SUCCESS [7.605s]
      [INFO] JBoss Application Server Test Suite: Aggregator ... SUCCESS [6.152s]
      [INFO] JBoss Application Server Test Suite: Integration .. SUCCESS [2.203s]
      [INFO] JBoss Application Server Test Suite: Integration - Smoke  FAILURE [15:07.181s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 26:31.461s
      [INFO] Finished at: Thu Feb 16 11:51:51 CET 2012
      [INFO] Final Memory: 341M/494M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (smoke-full.surefire) on project jboss-as-ts-integ-smoke: Failure or timeout -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :jboss-as-ts-integ-smoke
      [pjanouse@fedora15-vrt1 jboss-as]$
      

      Unfortunately org.jboss.as.test.smoke.embedded.demos.messaging.MessagingTestCase.txt and org.jboss.as.test.smoke.embedded.demo~essaging.MessagingTestCase-output.txt files in jboss-as/testsuite/integration/smoke/target/surefire-reports are created, but leaved empty only. Nor work-around mentioned in ARQ-696 comment doesn't help.

      BTW I've checked standalone-full.xml and basic things are correctly assigned to ::1 (especially management and public interface)

            smcgowan@redhat.com Shelly McGowan (Inactive)
            pjanouse@redhat.com Pavel Janousek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: