Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19410

Improve release_mp.py output on packages upload

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Dev Tools

      Description

      The current behavior is not properly raising errors and the output can be improved:

      current output on package upload
      $> curl -i -n -F package=@/opt/jenkins/workspace/IT-release-on-demand-build/nuxeo/marketplace/marketplace-template-rendering/package/target/package-6.6.1.zip https://connect-test.nuxeo.com/nuxeo/site/marketplace/upload?batch=true
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
        0 1135k    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      HTTP/1.1 100 Continue
      
      HTTP/1.1 503 Service Unavailable: Back-end server is at capacity
      Content-Length: 0
      Connection: keep-alive
      
      Configuration saved: /opt/jenkins/workspace/IT-release-on-demand-build/nuxeo/marketplace/release.ini
      $> curl -i -n -F package=@/opt/jenkins/workspace/IT-release-on-demand-build/nuxeo/marketplace/marketplace-template-rendering/package-samples/target/package-samples-6.6.1.zip https://connect-test.nuxeo.com/nuxeo/site/marketplace/upload?batch=true
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
        0 1500k    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      HTTP/1.1 100 Continue
      
      HTTP/1.1 503 Service Unavailable: Back-end server is at capacity
      Content-Length: 0
      Connection: keep-alive
      
      Configuration saved: /opt/jenkins/workspace/IT-release-on-demand-build/nuxeo/marketplace/release.ini
      (...)
      + grep uploaded release.ini
      (...)
      uploaded = https://connect-test.nuxeo.com/nuxeo: /opt/jenkins/workspace/IT-release-on-demand-build/nuxeo/marketplace/marketplace-template-rendering/package-samples/target/package-samples-6.6.1.zip

      Issues with current behavior:

      Related lines of code: https://github.com/nuxeo/nuxeo/blob/master/scripts/release_mp.py#L147-L149

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: