Build #2,376

Deploys Reference Application SNAPSHOT to maven

Build: #2376 was successful

Job: Run UI tests on Travis was successful

Stages & jobs

  1. Create Reference Application packages

  2. Upload parent pom to maven

  3. Deploy to Automated Functional Test Server

  4. Create Standalone and Run UI Tests

  5. Deploy to Manual Test Server

Build log

The build generated 145 lines of output. Download or view full build log

11-Sep-2014 19:36:15 Build Reference Application - Distribution - Run UI Tests #2376 (REFAPP-OMODDISTRO-INTTESTS-2376) started building on agent gw108.iu.xsede.org
11-Sep-2014 19:36:15 Build working directory is /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS
11-Sep-2014 19:36:15 Executing build Reference Application - Distribution - Run UI Tests #2376 (REFAPP-OMODDISTRO-INTTESTS-2376)
11-Sep-2014 19:36:15 Starting task 'Git' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
11-Sep-2014 19:36:15 Build always requires a clean checkout
11-Sep-2014 19:36:15 Cleaning build directory '/opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS'
11-Sep-2014 19:36:15 Updating source code to revision: 1e092c261f6cf97d214db7eb37dc2819e6e539be
11-Sep-2014 19:36:16 Creating local git repository in '/opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/.git'.
11-Sep-2014 19:36:16 Initialized empty Git repository in /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/.git/
11-Sep-2014 19:36:16 Fetching 'refs/heads/master' from 'git://github.com/openmrs/openmrs-distro-referenceapplication.git'. Will try to do a shallow fetch.
11-Sep-2014 19:36:16 From git://github.com/openmrs/openmrs-distro-referenceapplication
11-Sep-2014 19:36:16 * [new branch]      master     -> master
11-Sep-2014 19:36:16 Checking out revision 1e092c261f6cf97d214db7eb37dc2819e6e539be.
11-Sep-2014 19:36:16 Already on 'master'
11-Sep-2014 19:36:16 Updated source code to revision: 1e092c261f6cf97d214db7eb37dc2819e6e539be
11-Sep-2014 19:36:16 Finished task 'Git'
11-Sep-2014 19:36:16 Running pre-build action: VCS Version Collector
11-Sep-2014 19:36:16 Running pre-build action: Clover Grails PreBuild Action
11-Sep-2014 19:36:16 Starting task 'Clear out Tomcat Logs' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
11-Sep-2014 19:36:16
Beginning to execute external process for build 'Reference Application - Distribution - Run UI Tests #2376 (REFAPP-OMODDISTRO-INTTESTS-2376)'
... running command line:
/bin/bash tomcatLogCollector.sh cleanTomcatLog
... in: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/utility-scripts
... using extra environment variables:
bamboo_checkVersions=versions:update-properties -Pupdate-to-latest
bamboo_refapp_distro_dev_branch=master
bamboo_mavenBuildGoals=clean install
bamboo_jdbc_password=********
bamboo_MAJORRELEASE=2.0
bamboo_refapp_distro_scm=git@github.com:openmrs/openmrs-distro-referenceapplication.git
bamboo_DISPLAY=:99
11-Sep-2014 19:36:20 Finished task 'Clear out Tomcat Logs'
11-Sep-2014 19:36:20 Starting task 'Restart Tomcat' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
11-Sep-2014 19:36:20
Beginning to execute external process for build 'Reference Application - Distribution - Run UI Tests #2376 (REFAPP-OMODDISTRO-INTTESTS-2376)'
... running command line:
/bin/sh /tmp/REFAPP-OMODDISTRO-INTTESTS-2376-ScriptBuildTask-2305203216083814771.sh
... in: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS
... using extra environment variables:
bamboo_checkVersions=versions:update-properties -Pupdate-to-latest
bamboo_refapp_distro_dev_branch=master
bamboo_mavenBuildGoals=clean install
bamboo_jdbc_password=********
bamboo_MAJORRELEASE=2.0
bamboo_refapp_distro_scm=git@github.com:openmrs/openmrs-distro-referenceapplication.git
bamboo_DISPLAY=:99
11-Sep-2014 19:36:21 * Stopping Tomcat servlet engine tomcat7
11-Sep-2014 19:36:21    ...done.
11-Sep-2014 19:36:22 * Starting Tomcat servlet engine tomcat7
11-Sep-2014 19:36:27    ...done.
11-Sep-2014 19:36:27 Finished task 'Restart Tomcat'
11-Sep-2014 19:36:27 Starting task 'Wait for App to truly start' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
11-Sep-2014 19:36:27
Beginning to execute external process for build 'Reference Application - Distribution - Run UI Tests #2376 (REFAPP-OMODDISTRO-INTTESTS-2376)'
... running command line:
/bin/bash appStartupCheck.sh devtest01.openmrs.org
... in: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/utility-scripts
... using extra environment variables:
bamboo_checkVersions=versions:update-properties -Pupdate-to-latest
bamboo_refapp_distro_dev_branch=master
bamboo_mavenBuildGoals=clean install
bamboo_jdbc_password=********
bamboo_MAJORRELEASE=2.0
bamboo_refapp_distro_scm=git@github.com:openmrs/openmrs-distro-referenceapplication.git
bamboo_DISPLAY=:99
11-Sep-2014 19:36:27 Waiting for OpenMRS to start.  This could take a few minutes.
11-Sep-2014 19:39:30 Tomcat started in 116 seconds.
11-Sep-2014 19:39:30 OpenMRS Reference Application is ready for use.
11-Sep-2014 19:39:30 Finished task 'Wait for App to truly start'
11-Sep-2014 19:39:30
Substituting password variable: ${bamboo.jdbc_password}
11-Sep-2014 19:39:30 Starting task 'Run UI tests' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn2'
11-Sep-2014 19:39:30
Beginning to execute external process for build 'Reference Application - Distribution - Run UI Tests #2376 (REFAPP-OMODDISTRO-INTTESTS-2376)'
... running command line:
/usr/share/maven2/bin/mvn --batch-mode -Djava.io.tmpdir=/tmp/REFAPP-OMODDISTRO-INTTESTS clean integration-test -P ci-headless -Dwebdriver=firefox -Ddatabase.username=root -Ddatabase.password=******** -Djdbc.connectionurl=jdbc:mysql://devtest01.openmrs.org:3306/openmrs -Dwebdriver=chrome
... in: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests
... using extra environment variables:
bamboo_checkVersions=versions:update-properties -Pupdate-to-latest
bamboo_refapp_distro_dev_branch=master
bamboo_mavenBuildGoals=clean install
MAVEN2_HOME=/usr/share/maven2
JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64
bamboo_jdbc_password=********
bamboo_MAJORRELEASE=2.0
M2_HOME=/usr/share/maven2
bamboo_refapp_distro_scm=git@github.com:openmrs/openmrs-distro-referenceapplication.git
bamboo_DISPLAY=:99
PATH=/usr/lib/jvm/java-6-openjdk-amd64/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
11-Sep-2014 19:39:31 [INFO] Scanning for projects...
11-Sep-2014 19:39:31 [INFO] ------------------------------------------------------------------------
11-Sep-2014 19:39:31 [INFO] Building Reference Application Distribution UI Tests
11-Sep-2014 19:39:31 [INFO]    task-segment: [clean, integration-test]
11-Sep-2014 19:39:31 [INFO] ------------------------------------------------------------------------
11-Sep-2014 19:39:32 [INFO] [clean:clean {execution: default-clean}]
11-Sep-2014 19:39:33 [INFO] [resources:resources {execution: default-resources}]
11-Sep-2014 19:39:33 [INFO] Using 'UTF-8' encoding to copy filtered resources.
11-Sep-2014 19:39:33 [INFO] Copying 1 resource
11-Sep-2014 19:39:34 [INFO] [compiler:compile {execution: default-compile}]
11-Sep-2014 19:39:34 [INFO] Compiling 6 source files to /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/classes
11-Sep-2014 19:39:35 [INFO] [resources:testResources {execution: default-testResources}]
11-Sep-2014 19:39:35 [INFO] Using 'UTF-8' encoding to copy filtered resources.
11-Sep-2014 19:39:35 [INFO] skip non existing resourceDirectory /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/src/test/resources
11-Sep-2014 19:39:35 [INFO] [compiler:testCompile {execution: default-testCompile}]
11-Sep-2014 19:39:35 [INFO] Compiling 5 source files to /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/test-classes
11-Sep-2014 19:39:37 [INFO] [surefire:test {execution: default-test}]
11-Sep-2014 19:39:37 [INFO] Surefire report directory: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/surefire-reports
11-Sep-2014 19:39:37
11-Sep-2014 19:39:37 -------------------------------------------------------
11-Sep-2014 19:39:37 T E S T S
11-Sep-2014 19:39:37 -------------------------------------------------------
11-Sep-2014 19:39:37
11-Sep-2014 19:39:37 Results :
11-Sep-2014 19:39:37
11-Sep-2014 19:39:37 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
11-Sep-2014 19:39:37
11-Sep-2014 19:39:38 [INFO] [jar:jar {execution: default-jar}]
11-Sep-2014 19:39:38 [INFO] Building jar: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/referenceapplication-ui-tests-2.1-SNAPSHOT.jar
11-Sep-2014 19:39:41 [INFO] [selenium:xvfb {execution: xvfb}]
11-Sep-2014 19:39:41 [INFO] Starting Xvfb...
11-Sep-2014 19:39:41 [INFO] Using display: :99
11-Sep-2014 19:39:41 [INFO] Using Xauthority file: /tmp/REFAPP-OMODDISTRO-INTTESTS/Xvfb4212580954041068446.Xauthority
11-Sep-2014 19:39:42 Deleting: /tmp/REFAPP-OMODDISTRO-INTTESTS/Xvfb4212580954041068446.Xauthority
11-Sep-2014 19:39:42 xauth:  file /tmp/REFAPP-OMODDISTRO-INTTESTS/Xvfb4212580954041068446.Xauthority does not exist
11-Sep-2014 19:39:42 Created dir: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/selenium
11-Sep-2014 19:39:42 Launching Xvfb
11-Sep-2014 19:39:42 [INFO] Redirecting output to: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/selenium/xvfb.log
11-Sep-2014 19:39:42 Waiting for Xvfb...
11-Sep-2014 19:39:43 Xvfb started
11-Sep-2014 19:39:43 [INFO] [failsafe:integration-test {execution: default}]
11-Sep-2014 19:39:43 [INFO] Failsafe report directory: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/failsafe-reports
11-Sep-2014 19:39:43
11-Sep-2014 19:39:43 -------------------------------------------------------
11-Sep-2014 19:39:43 T E S T S
11-Sep-2014 19:39:43 -------------------------------------------------------
11-Sep-2014 19:39:44 Running org.openmrs.reference.LoginTest
11-Sep-2014 19:39:44 test.properties found: file:/opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/classes/org/openmrs/uitestframework/test.properties
11-Sep-2014 19:39:44 test.properties:
11-Sep-2014 19:39:44 {webapp.url=http://devtest01.openmrs.org:8080/openmrs, login.password=Admin123, login.username=admin, webdriver=chrome}
11-Sep-2014 19:39:44 webapp.url: http://devtest01.openmrs.org:8080/openmrs
11-Sep-2014 19:39:44 login.username: admin
11-Sep-2014 19:39:44 login.password: Admin123
11-Sep-2014 19:39:44 webdriver: chrome
11-Sep-2014 19:39:44 jdbc.connectionurl: jdbc:mysql://devtest01.openmrs.org:3306/openmrs
11-Sep-2014 19:39:44 log4j:WARN No appenders could be found for logger (org.apache.commons.vfs2.impl.StandardFileSystemManager).
11-Sep-2014 19:39:44 log4j:WARN Please initialize the log4j system properly.
11-Sep-2014 19:39:50 Starting ChromeDriver (v2.8.240825) on port 2062
11-Sep-2014 19:40:54 Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.428 sec
11-Sep-2014 19:40:54 Running org.openmrs.reference.CheckModules
11-Sep-2014 19:40:55 Starting ChromeDriver (v2.8.240825) on port 24330
11-Sep-2014 19:41:07 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.853 sec
11-Sep-2014 19:41:07 Running org.openmrs.reference.RegistrationAppTest
11-Sep-2014 19:41:07 Starting ChromeDriver (v2.8.240825) on port 8581
11-Sep-2014 19:41:28 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.126 sec
11-Sep-2014 19:41:28 Running org.openmrs.reference.VisitTest
11-Sep-2014 19:41:29 Starting ChromeDriver (v2.8.240825) on port 17156
11-Sep-2014 19:41:46 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.83 sec
11-Sep-2014 19:41:46
11-Sep-2014 19:41:46 Results :
11-Sep-2014 19:41:46
11-Sep-2014 19:41:46 Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
11-Sep-2014 19:41:46
11-Sep-2014 19:41:46 [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
11-Sep-2014 19:41:46 [INFO] ------------------------------------------------------------------------
11-Sep-2014 19:41:46 [INFO] BUILD SUCCESSFUL
11-Sep-2014 19:41:46 [INFO] ------------------------------------------------------------------------
11-Sep-2014 19:41:46 [INFO] Total time: 2 minutes 15 seconds
11-Sep-2014 19:41:46 [INFO] Finished at: Thu Sep 11 19:41:46 EDT 2014
11-Sep-2014 19:41:46 [INFO] Final Memory: 60M/326M
11-Sep-2014 19:41:46 [INFO] ------------------------------------------------------------------------
11-Sep-2014 19:41:47 Parsing test results...
11-Sep-2014 19:41:47 Finished task 'Run UI tests'
11-Sep-2014 19:41:47 Starting task 'Collect Tomcat Logs' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
11-Sep-2014 19:41:47
Beginning to execute external process for build 'Reference Application - Distribution - Run UI Tests #2376 (REFAPP-OMODDISTRO-INTTESTS-2376)'
... running command line:
/bin/bash tomcatLogCollector.sh getTomcatLog
... in: /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/utility-scripts
... using extra environment variables:
bamboo_checkVersions=versions:update-properties -Pupdate-to-latest
bamboo_refapp_distro_dev_branch=master
bamboo_mavenBuildGoals=clean install
bamboo_jdbc_password=********
bamboo_MAJORRELEASE=2.0
bamboo_refapp_distro_scm=git@github.com:openmrs/openmrs-distro-referenceapplication.git
bamboo_DISPLAY=:99
11-Sep-2014 19:41:49 Finished task 'Collect Tomcat Logs'
11-Sep-2014 19:41:49 Running post build plugin 'Artifact Copier'
11-Sep-2014 19:41:49 Publishing an artifact: ScreenShots
11-Sep-2014 19:41:49 Unable to publish artifact [ScreenShots]: the source directory /opt/bamboo-agent/agent1-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/screenshots does not exist.
11-Sep-2014 19:41:49 Finished publishing of artifact Job artifact: [ScreenShots], pattern: [*.png] anchored at: [ui-tests/target/screenshots] in 0s
11-Sep-2014 19:41:49 Publishing an artifact: Chrome Driver Log File
11-Sep-2014 19:41:49 Finished publishing of artifact Job artifact: [Chrome Driver Log File], pattern: [chromedriver-**.log] anchored at: [ui-tests/target/chromedriverlogs] in 0s
11-Sep-2014 19:41:49 Publishing an artifact: Tomcat Log
11-Sep-2014 19:41:49 Finished publishing of artifact Job artifact: [Tomcat Log], pattern: [catalina.out] anchored at: [utility-scripts] in 0s
11-Sep-2014 19:41:49 Running post build plugin 'NCover Results Collector'
11-Sep-2014 19:41:49 Running post build plugin 'Clover Results Collector'
11-Sep-2014 19:41:49 Finalising the build...
11-Sep-2014 19:41:49 Stopping timer.
11-Sep-2014 19:41:49 Build REFAPP-OMODDISTRO-INTTESTS-2376 completed.
11-Sep-2014 19:41:49 Running on server: post build plugin 'NCover Results Collector'
11-Sep-2014 19:41:49 Running on server: post build plugin 'Clover Delta Calculator'
11-Sep-2014 19:41:49 Running on server: post build plugin 'Build Hanging Detection Configuration'
11-Sep-2014 19:41:49 Running on server: post build plugin 'Maven Dependencies Postprocessor'
11-Sep-2014 19:41:49 All post build plugins have finished
11-Sep-2014 19:41:49 Generating build results summary...
11-Sep-2014 19:41:49 Saving build results to disk...
11-Sep-2014 19:41:49 Indexing build results...
11-Sep-2014 19:41:49 Finished building REFAPP-OMODDISTRO-INTTESTS-2376.