-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Tags:
-
Backlog priority:2,000
-
Sprint:DevOps-15, DevOps-16, DevTools-02, DevTools-03, DevTools-04, DevTools-05
-
Story Points:2
Fix https://qa.nuxeo.org/jenkins/job/template_marketplace/ (and other similar) to raise failures on upload to Connect (not to Connect Test).
It's mainly a usage issue with curl which returns no error code whereas the upload has been rejected.
Try
http_response=$(curl -sni -o output.txt -w '%{http_code}' ...
Original description is below (for history readability).
The nuxeo-signature package is not deployed correctly by the nightly build (and the build is still blue) see for instance:
https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-build/262/consoleFull
03:11:11 Configuration saved: /opt/jenkins/workspace/Deploy/IT-nuxeo-master-build/nuxeo/marketplace/release.ini 03:11:11 $> curl -i -n -F package=@marketplace/target/marketplace-2.6.0-I20161125_0310.zip https://nos-test-connect.nos.nuxeo.com/nuxeo/site/marketplace/upload?batch=true 03:11:11 % Total % Received % Xferd Average Speed Time Time Time Current 03:11:11 Dload Upload Total Spent Left Speed 03:11:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1117k 0 38 100 1117k 95 2794k --:--:-- --:--:-- --:--:-- 2801k 03:11:11 HTTP/1.1 100 Continue 03:11:11 03:11:11 HTTP/1.1 400 Bad Request 03:11:11 Content-Type: text/html;charset=UTF-8 03:11:11 Date: Fri, 25 Nov 2016 03:11:11 GMT 03:11:11 Server: Apache-Coyote/1.1 03:11:11 Set-Cookie: JSESSIONID=E407870D6B48429F3A1B1ECA4CA8448D.test1; Path=/nuxeo/; HttpOnly 03:11:11 X-UA-Compatible: IE=10; IE=11 03:11:11 transfer-encoding: chunked 03:11:11 Connection: keep-alive 03:11:11 03:11:11 Failed to parse XML package definitionConfiguration saved: /opt/jenkins/workspace/Deploy/IT-nuxeo-master-build/nuxeo/marketplace/release.ini 03:11:11
as a consequence, version 2.6.0-SNAPSHOT of the package is not deployed on Connect.
same on https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-build/258/consoleFull for instance.
Same pb on the 8.10 branch:
15:57:27 $> curl -i -n -F package=@marketplace/target/marketplace-2.5.3-I20161125_1556.zip https://nos-test-connect.nos.nuxeo.com/nuxeo/site/marketplace/upload?batch=true 15:57:27 % Total % Received % Xferd Average Speed Time Time Time Current 15:57:27 Dload Upload Total Spent Left Speed 15:57:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1117k 100 38 100 1117k 87 2564k --:--:-- --:--:-- --:--:-- 2569k 15:57:27 HTTP/1.1 100 Continue 15:57:27 15:57:27 HTTP/1.1 400 Bad Request 15:57:27 Content-Type: text/html;charset=UTF-8 15:57:27 Date: Fri, 25 Nov 2016 15:57:27 GMT 15:57:27 Server: Apache-Coyote/1.1 15:57:27 Set-Cookie: JSESSIONID=A85CF8CFCA3C1C48160A84C8295C78BE.test1; Path=/nuxeo/; HttpOnly 15:57:27 X-UA-Compatible: IE=10; IE=11 15:57:27 Content-Length: 38 15:57:27 Connection: keep-alive 15:57:27 15:57:27 Failed to parse XML package definitionConfiguration saved: /opt/jenkins/workspace/Deploy/IT-nuxeo-master-build/nuxeo/marketplace/release.ini 15:57:27
- depends on
-
NXBT-2610 Document connect package upload code
- Resolved
- is related to
-
NXBT-2350 Nightly build should report errors on package upload to connect-test (yellow result)
- Open
-
NXP-19410 Improve release_mp.py output on packages upload
- Open
-
NXBT-1438 Avoid upload of package if build fails
- Open
-
NXP-21211 Fix signature package description
- Resolved
-
NXP-21268 Avoid failure when Connect is under maintenance on some modules
- Open
- is required by
-
NXP-23488 Create functional tests for Shibboleth
- Resolved