-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: NXFT-1.7.24
-
Fix Version/s: None
-
Component/s: nuxeo-ftest
-
Tags:
Some tests fail when there was a network connection to Connect, and the package to test was not installed.
In this case, install issue should be detected and tests should not be run, maybe the server should even be stopped right away (behaviour to review depending on use cases below)
Examples:
https://qa.nuxeo.org/jenkins/job/master/job/addons_FT_nuxeo-forum-master/17/console
10:34:58 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500
10:35:04 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500
10:35:05 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500
10:35:06 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500
10:35:08 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500
10:35:08 [INFO] [exec] Dependency resolution:
10:35:08 [INFO] [exec] Installation order (2): nuxeo-jsf-ui-8.3.0-cap/forum-8.4.0-SNAPSHOT
10:35:08 [INFO] [exec] Packages to download (1): nuxeo-jsf-ui:8.3.0-cap
10:35:08 [INFO] [exec] Local packages to install (1): forum:8.4.0-SNAPSHOT
10:35:08 [INFO] [exec] Downloading [nuxeo-jsf-ui-8.3.0-cap]...
10:35:08 [INFO] [exec] |
10:35:09 [INFO] [exec] Added nuxeo-jsf-ui-8.3.0-capInstalling nuxeo-jsf-ui-8.3.0-cap
10:35:09 [INFO] [exec] Installing forum-8.4.0-SNAPSHOT
10:35:10 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500
10:35:11 [INFO] [exec] Detected Tomcat server.
10:35:11 [INFO] [exec] Nuxeo home: /opt/jenkins/workspace/master/addons_FT_nuxeo-forum-master/ftest/webdriver/target/tomcat
10:35:11 [INFO] [exec] Nuxeo configuration: /opt/jenkins/workspace/master/addons_FT_nuxeo-forum-master/ftest/webdriver/target/tomcat/bin/nuxeo.conf
10:35:11 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-forum-master/ftest/webdriver/target/tomcat/templates/common-base
10:35:11 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-forum-master/ftest/webdriver/target/tomcat/templates/common
10:35:11 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-forum-master/ftest/webdriver/target/tomcat/templates/default
10:35:11 [INFO] [exec] No current configuration, generating files...
10:35:12 [INFO] [exec] Configuration files generated.
10:35:13 [INFO] [exec] Server started with process ID 83447.
10:35:43 [INFO] [exec] ...............
10:35:43 [INFO] [exec] ======================================================================
10:35:43 [INFO] [exec] = Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 641
10:35:43 [INFO] [exec] ======================================================================
https://qa.nuxeo.org/jenkins/job/master/job/addons_FT_nuxeo-media-publishing-master/173/console
23:19:37 nuxeo-media-publishing-tests.start-unix: 23:19:37 [INFO] [echo] Execute pending actions before start 23:19:38 [INFO] [exec] Detected Tomcat server. 23:19:38 [INFO] [exec] Nuxeo home: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat 23:19:38 [INFO] [exec] Nuxeo configuration: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat/bin/nuxeo.conf 23:19:38 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat/templates/common-base 23:19:38 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat/templates/common 23:19:38 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat/templates/default 23:19:38 [INFO] [exec] Relax mode changed from 'ask' to 'false' for executing the pending actions. 23:19:38 [INFO] [exec] Added /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/marketplace-media-publishing-1.2.3-SNAPSHOT.zip 23:19:40 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:19:51 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:19:53 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:19:54 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:19:56 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:19:56 [INFO] [exec] Dependency resolution: 23:19:56 [INFO] [exec] Installation order (3): nuxeo-jsf-ui-8.3.0-cap/nuxeo-dam-6.2.3-SNAPSHOT/nuxeo-mediapublishing-1.2.3-SNAPSHOT 23:19:56 [INFO] [exec] Packages to download (2): nuxeo-jsf-ui:8.3.0-cap, nuxeo-dam:6.2.3-SNAPSHOT 23:19:56 [INFO] [exec] Local packages to install (1): nuxeo-mediapublishing:1.2.3-SNAPSHOT 23:19:56 [INFO] [exec] Downloading [nuxeo-jsf-ui-8.3.0-cap, nuxeo-dam-6.2.3-SNAPSHOT]... 23:19:56 [INFO] [exec] Added nuxeo-jsf-ui-8.3.0-cap 23:19:57 [INFO] [exec] | 23:20:01 [INFO] [exec] /-\Added nuxeo-dam-6.2.3-SNAPSHOTInstalling nuxeo-jsf-ui-8.3.0-cap 23:20:01 [INFO] [exec] Installing nuxeo-dam-6.2.3-SNAPSHOT 23:20:02 [INFO] [exec] Installing nuxeo-mediapublishing-1.2.3-SNAPSHOT 23:20:03 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:20:07 [INFO] [exec] Detected Tomcat server. 23:20:07 [INFO] [exec] Nuxeo home: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat 23:20:07 [INFO] [exec] Nuxeo configuration: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat/bin/nuxeo.conf 23:20:07 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat/templates/common-base 23:20:07 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat/templates/common 23:20:07 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target/tomcat/templates/default 23:20:08 [INFO] [exec] No current configuration, generating files... 23:20:09 [INFO] [exec] Configuration files generated. 23:20:10 [INFO] [exec] Server started with process ID 1775. 23:25:10 [INFO] [exec] ...................................................................................................................................................................................................................................................................................................... 23:25:10 [INFO] [exec] Starting process is taking too long - giving up. 23:25:11 [ERROR] [exec] Result: 1 23:25:11 [INFO] Managed version set on org.nuxeo:nuxeo-ftest:zip:1.7.25-SNAPSHOT 23:25:11 [INFO] [unzip] Expanding: /opt/jenkins/.m2/repository/org/nuxeo/nuxeo-ftest/1.7.25-SNAPSHOT/nuxeo-ftest-1.7.25-SNAPSHOT.zip into /opt/jenkins/workspace/master/addons_FT_nuxeo-media-publishing-master/ftest/webdriver/target
23:09:45 sample-webdriver-tests.start-unix: 23:09:45 [INFO] [echo] Execute pending actions before start 23:09:46 [INFO] [exec] Detected Tomcat server. 23:09:46 [INFO] [exec] Nuxeo home: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat 23:09:46 [INFO] [exec] Nuxeo configuration: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat/bin/nuxeo.conf 23:09:46 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat/templates/common-base 23:09:46 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat/templates/common 23:09:46 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat/templates/default 23:09:46 [INFO] [exec] Relax mode changed from 'ask' to 'false' for executing the pending actions. 23:09:47 [INFO] [exec] Added file:/opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/marketplace-nuxeo-showcase-content-sample-1.1.3-SNAPSHOT.zip 23:09:48 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:10:00 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:10:02 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:10:03 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:10:05 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:10:05 [INFO] [exec] Dependency resolution: 23:10:05 [INFO] [exec] Installation order (3): nuxeo-jsf-ui-8.3.0-cap/nuxeo-dam-6.2.3-SNAPSHOT/nuxeo-showcase-content-1.1.3-SNAPSHOT 23:10:05 [INFO] [exec] Packages to download (2): nuxeo-jsf-ui:8.3.0-cap, nuxeo-dam:6.2.3-SNAPSHOT 23:10:05 [INFO] [exec] Local packages to install (1): nuxeo-showcase-content:1.1.3-SNAPSHOT 23:10:05 [INFO] [exec] Downloading [nuxeo-jsf-ui-8.3.0-cap, nuxeo-dam-6.2.3-SNAPSHOT]... 23:10:05 [INFO] [exec] Added nuxeo-jsf-ui-8.3.0-cap 23:10:05 [INFO] [exec] | 23:10:08 [INFO] [exec] /-Added nuxeo-dam-6.2.3-SNAPSHOTInstalling nuxeo-jsf-ui-8.3.0-cap 23:10:08 [INFO] [exec] Installing nuxeo-dam-6.2.3-SNAPSHOT 23:10:08 [INFO] [exec] Installing nuxeo-showcase-content-1.1.3-SNAPSHOT 23:10:09 [INFO] [exec] Unable to fetch remote packages list: Server returned a code 500 23:10:10 [INFO] [exec] Detected Tomcat server. 23:10:10 [INFO] [exec] Nuxeo home: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat 23:10:10 [INFO] [exec] Nuxeo configuration: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat/bin/nuxeo.conf 23:10:10 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat/templates/common-base 23:10:10 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat/templates/common 23:10:10 [INFO] [exec] Include template: /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target/tomcat/templates/default 23:10:10 [INFO] [exec] No current configuration, generating files... 23:10:11 [INFO] [exec] Configuration files generated. 23:10:12 [INFO] [exec] Server started with process ID 1445. 23:15:13 [INFO] [exec] ...................................................................................................................................................................................................................................................................................................... 23:15:13 [INFO] [exec] Starting process is taking too long - giving up. 23:15:13 [ERROR] [exec] Result: 1 23:15:13 [INFO] Managed version set on org.nuxeo:nuxeo-ftest:zip:1.7.25-SNAPSHOT 23:15:13 [INFO] [unzip] Expanding: /opt/jenkins/.m2/repository/org/nuxeo/nuxeo-ftest/1.7.25-SNAPSHOT/nuxeo-ftest-1.7.25-SNAPSHOT.zip into /opt/jenkins/workspace/master/addons_FT_nuxeo-showcase-content-sample-master/ftest/webdriver/target