Problème d'exécution de la phase de test Selenium
Publié : mar. déc. 18, 2018 3:42 pm
Bonjour,
Lors d'un test effectué par Squash TA avec Selenium, mon job reste bloqué dans la phase de test sans donné de suite....
[EnvInject] - Loading node environment variables.
Building in workspace /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest
provisioning config files...
copy managed file [TA_MavenGlobalSettings] to file:/progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest@tmp/config6088359497275441572tmp
copy managed file [taLinkConf.properties] to file:/progiciels/squash/middleware/SQUASHTA/execution_home/taLinkConf.properties
Parsing POMs
Established TCP socket on 35678
[AnoevoSeleniumTest] $ /progiciels/jvm/jdk1.8.0_172/bin/java -Xdebug -cp /progiciels/squash/conf/SQUASHTA/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.12-alpha-1.jar:/progiciels/maven/apache-maven-3.5.0/boot/plexus-classworlds-2.5.2.jar:/progiciels/maven/apache-maven-3.5.0/conf/logging jenkins.maven3.agent.Maven35Main /progiciels/maven/apache-maven-3.5.0 /progiciels/squash/middleware/SQUASHTA-1.8.1/apache-tomcat-8.5.16/webapps/jenkins/WEB-INF/lib/remoting-3.14.jar /progiciels/squash/conf/SQUASHTA/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.12-alpha-1.jar /progiciels/squash/conf/SQUASHTA/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12-alpha-1.jar 35678
channel started
Executing Maven: -B -f /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest/pom.xml -Dta.test.suite=**/*.ta,**/*.txt,**/*.test -Dlog4j.configurationFile=log4j2.xml -Dstatus.update.events.url=file://dev/null -Dsquash.ta.external.id= -Djobname=AnoevoSeleniumTest -Dhostname=srvrecsquash -Dsquash.ta.conf.file=/progiciels/squash/conf/SQUASHTA/jenkins/taLinkConf.properties -Dta.tmcallback.reportbaseurl=http://1.1.1.1/jenkins/job -Dta.tmcallback.jobexecutionid=62 -Dta.tmcallback.reportname=Squash_TA_HTML_Report -Dta.delete.json.file=true org.squashtest.ta::squash-ta-maven-plugin::run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AnoevoSeleniumTest 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- squash-ta-maven-plugin:1.10.1-RELEASE:run (default-cli) @ AnoevoSeleniumTest ---
[INFO] Launching Squash TA Chewie edition.
[WARN] Per maven bug #MNG5787, re-adding filtered artifact URL: file:/progiciels/squash/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar
[WARN] Per maven bug #MNG5787, re-adding filtered artifact URL: file:/progiciels/squash/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
[WARN] Applied Maven 3.3.x fix
[INFO] Squash TA : compiling tests...
[WARN] The sortMacroList is deprecated, this noop stub is kept for comptibility only
[INFO] Squash TA : initializing context...
[INFO] Listing sqhashTA engine component packages
[INFO] Loading plugin configuration for: org.squashtest.ta.enginecore
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.commons-component
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.filechecker
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.sahi
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.soapui
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.selenium
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.ftp
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.db
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.ssh
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.local.process
[INFO] Loading XML bean definitions from Byte array resource [Computed squashTA engine configuration]
[INFO] Refreshing org.springframework.context.support.GenericXmlApplicationContext@1cad6186: startup date [Tue Dec 18 14:54:41 CET 2018]; root of context hierarchy
[INFO] JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
[WARN] The endpoint URL is set to its default value: "file://dev/null", so the call back is not activated
[INFO] Squash TA : testing...
[INFO] Beginning execution of ecosystem tests
[INFO] Beginning execution of test AnoevoSeleniumTest.ta
[ERROR] The execution failed in the TEST phase of the TA script 'AnoevoSeleniumTest.ta' with the message: 'Selenium test failed. Following are the name of the tests that failed:
testAnoevoSelenium(AnoevoSeleniumTest)
'.
[INFO] Exporting results
[INFO] Cleaning resources
[INFO] Squash TA : build complete.
[INFO] All the files from /tmp/Squash_TA were properly deleted.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.290 s
[INFO] Finished at: 2018-12-18T14:54:46+01:00
[INFO] Final Memory: 37M/89M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.squashtest.ta:squash-ta-maven-plugin:1.10.1-RELEASE:run (default-cli) on project AnoevoSeleniumTest: Build failure : there are tests failures
[ERROR] Test statistics : 1 test runs, 0 passed, 1 tests didn't pass
[ERROR] Tests failed / crashed :
[ERROR] -----------
[ERROR] tests:
[ERROR] ==> AnoevoSeleniumTest.ta
[ERROR] -> [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/disp ... eException
En attente que Jenkins finisse de récupérer les données
[JENKINS] Archiving /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest/pom.xml to org.squashtest.pmc/AnoevoSeleniumTest/0.0.1-SNAPSHOT/AnoevoSeleniumTest-0.0.1-SNAPSHOT.pom
Deleting 1 temporary files
channel stopped
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest/target/squashTA/html-reports to /progiciels/squash/run/jenkins_builds/AnoevoSeleniumTest/builds/62/htmlreports/Squash_TA_HTML_Report
[htmlpublisher] Archiving at BUILD level /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest/target/squashTA/test-tree to /progiciels/squash/run/jenkins_builds/AnoevoSeleniumTest/builds/62/htmlreports/Test_list
Finished: FAILURE
Lors d'un test effectué par Squash TA avec Selenium, mon job reste bloqué dans la phase de test sans donné de suite....
[EnvInject] - Loading node environment variables.
Building in workspace /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest
provisioning config files...
copy managed file [TA_MavenGlobalSettings] to file:/progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest@tmp/config6088359497275441572tmp
copy managed file [taLinkConf.properties] to file:/progiciels/squash/middleware/SQUASHTA/execution_home/taLinkConf.properties
Parsing POMs
Established TCP socket on 35678
[AnoevoSeleniumTest] $ /progiciels/jvm/jdk1.8.0_172/bin/java -Xdebug -cp /progiciels/squash/conf/SQUASHTA/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.12-alpha-1.jar:/progiciels/maven/apache-maven-3.5.0/boot/plexus-classworlds-2.5.2.jar:/progiciels/maven/apache-maven-3.5.0/conf/logging jenkins.maven3.agent.Maven35Main /progiciels/maven/apache-maven-3.5.0 /progiciels/squash/middleware/SQUASHTA-1.8.1/apache-tomcat-8.5.16/webapps/jenkins/WEB-INF/lib/remoting-3.14.jar /progiciels/squash/conf/SQUASHTA/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.12-alpha-1.jar /progiciels/squash/conf/SQUASHTA/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12-alpha-1.jar 35678
channel started
Executing Maven: -B -f /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest/pom.xml -Dta.test.suite=**/*.ta,**/*.txt,**/*.test -Dlog4j.configurationFile=log4j2.xml -Dstatus.update.events.url=file://dev/null -Dsquash.ta.external.id= -Djobname=AnoevoSeleniumTest -Dhostname=srvrecsquash -Dsquash.ta.conf.file=/progiciels/squash/conf/SQUASHTA/jenkins/taLinkConf.properties -Dta.tmcallback.reportbaseurl=http://1.1.1.1/jenkins/job -Dta.tmcallback.jobexecutionid=62 -Dta.tmcallback.reportname=Squash_TA_HTML_Report -Dta.delete.json.file=true org.squashtest.ta::squash-ta-maven-plugin::run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AnoevoSeleniumTest 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- squash-ta-maven-plugin:1.10.1-RELEASE:run (default-cli) @ AnoevoSeleniumTest ---
[INFO] Launching Squash TA Chewie edition.
[WARN] Per maven bug #MNG5787, re-adding filtered artifact URL: file:/progiciels/squash/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar
[WARN] Per maven bug #MNG5787, re-adding filtered artifact URL: file:/progiciels/squash/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
[WARN] Applied Maven 3.3.x fix
[INFO] Squash TA : compiling tests...
[WARN] The sortMacroList is deprecated, this noop stub is kept for comptibility only
[INFO] Squash TA : initializing context...
[INFO] Listing sqhashTA engine component packages
[INFO] Loading plugin configuration for: org.squashtest.ta.enginecore
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.commons-component
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.filechecker
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.sahi
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.soapui
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.selenium
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.ftp
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.db
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.ssh
[INFO] Loading plugin configuration for: org.squashtest.ta.plugin.local.process
[INFO] Loading XML bean definitions from Byte array resource [Computed squashTA engine configuration]
[INFO] Refreshing org.springframework.context.support.GenericXmlApplicationContext@1cad6186: startup date [Tue Dec 18 14:54:41 CET 2018]; root of context hierarchy
[INFO] JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
[WARN] The endpoint URL is set to its default value: "file://dev/null", so the call back is not activated
[INFO] Squash TA : testing...
[INFO] Beginning execution of ecosystem tests
[INFO] Beginning execution of test AnoevoSeleniumTest.ta
[ERROR] The execution failed in the TEST phase of the TA script 'AnoevoSeleniumTest.ta' with the message: 'Selenium test failed. Following are the name of the tests that failed:
testAnoevoSelenium(AnoevoSeleniumTest)
'.
[INFO] Exporting results
[INFO] Cleaning resources
[INFO] Squash TA : build complete.
[INFO] All the files from /tmp/Squash_TA were properly deleted.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.290 s
[INFO] Finished at: 2018-12-18T14:54:46+01:00
[INFO] Final Memory: 37M/89M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.squashtest.ta:squash-ta-maven-plugin:1.10.1-RELEASE:run (default-cli) on project AnoevoSeleniumTest: Build failure : there are tests failures
[ERROR] Test statistics : 1 test runs, 0 passed, 1 tests didn't pass
[ERROR] Tests failed / crashed :
[ERROR] -----------
[ERROR] tests:
[ERROR] ==> AnoevoSeleniumTest.ta
[ERROR] -> [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/disp ... eException
En attente que Jenkins finisse de récupérer les données
[JENKINS] Archiving /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest/pom.xml to org.squashtest.pmc/AnoevoSeleniumTest/0.0.1-SNAPSHOT/AnoevoSeleniumTest-0.0.1-SNAPSHOT.pom
Deleting 1 temporary files
channel stopped
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest/target/squashTA/html-reports to /progiciels/squash/run/jenkins_builds/AnoevoSeleniumTest/builds/62/htmlreports/Squash_TA_HTML_Report
[htmlpublisher] Archiving at BUILD level /progiciels/squash/run/jenkins_workspace/AnoevoSeleniumTest/target/squashTA/test-tree to /progiciels/squash/run/jenkins_builds/AnoevoSeleniumTest/builds/62/htmlreports/Test_list
Finished: FAILURE