Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-674

Make default test setup fail on error when running selenium tests under windows

    XMLWordPrintable

    Details

      Description

      The windows configuration has a failonerror=false param, so tests are run even if the address is already in use for instance, even if NXP-12564 was fixed for this purpose.

      See http://qa.nuxeo.org/jenkins/job/FT-nuxeo-master-webdriver-dm-tomcat-win/jdk=openjdk-7-jdk,label=RWIN/1018/ for instance.

      00:03:19.360 start-windows:
      00:03:19.468      [exec] Found NUXEO_CONF = C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target\tomcat\bin\nuxeo.conf
      00:03:19.468      [exec] Found in path : C:\Program Files\Java\jdk1.7.0_17\bin\java.exe
      00:03:19.468      [exec] Using JAVA = C:\Program Files\Java\jdk1.7.0_17\bin\java.exe
      00:03:20.696      [exec]         1 file(s) copied.
      00:03:20.696      [exec] 
      00:03:20.697      [exec] C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver>"C:\Program Files\Java\jdk1.7.0_17\bin\java.exe"  -Dlauncher.java.opts=" -Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8  -Dmail.mime.decodeparameters=true  -Djava.util.Arrays.useLegacyMergeSort=true" -Dnuxeo.home="C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target\tomcat" -Dnuxeo.conf="C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target\tomcat\bin\nuxeo.conf" -Dnuxeo.log.dir="C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target\tomcat\log" -Dlog.id="-Mon12022013_18094831" -jar "C:\Users\nuxeo\AppData\Local\Temp\nuxeo-launcher-26518.jar" --gui=false start --force        
      00:03:22.000      [exec] Detected Tomcat server.
      00:03:22.001      [exec] Nuxeo home:          C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target\tomcat
      00:03:22.001      [exec] Nuxeo configuration: C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target\tomcat\bin\nuxeo.conf
      00:03:22.105      [exec] Include template: C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target\tomcat\templates\common-base
      00:03:22.105      [exec] Include template: C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target\tomcat\templates\common
      00:03:22.105      [exec] Include template: C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target\tomcat\templates\default
      00:03:22.657      [exec] No current configuration, generating files...
      00:03:25.065      [exec] Configuration files generated.
      00:03:25.165      [exec] Could not run configuration: Address already in use: JVM_Bind: /0.0.0.0:8080
      00:03:25.165      [exec] 
      00:03:25.166      [exec] Some commands failed:
      00:03:25.546     [unzip] [INFO] Resolving org.nuxeo:nuxeo-ftest:zip:1.7.11-SNAPSHOT:compile ...
      00:03:25.548     [unzip] Expanding: C:\.m2\repository\org\nuxeo\nuxeo-ftest\1.7.11-SNAPSHOT\nuxeo-ftest-1.7.11-SNAPSHOT.zip into C:\Jenkins\workspace\FT-nuxeo-master-webdriver-dm-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-dm\ftest\webdriver\target
      00:03:25.579 
      00:03:25.579 stop-windows-iffailed:
      00:03:25.579 
      00:03:25.579 start:
      00:03:25.581 
      00:03:25.581 BUILD SUCCESSFUL

      The build must not be successful.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: