Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3803

Fox hotfix Docker image build timing out on package installation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: HotFix factory

      Description

      The nuxeo-hf job can time out after 4 hours because of issues when installing the hotfix packages/resolving dependencies. Probably an issue on the Connect side.

      [2024-04-08T22:20:17.364Z] #8 2321.6 Dependency resolution:
      [2024-04-08T22:20:17.364Z] #8 2321.6   Installation order (18):       nuxeo-2021-HF35-1.0.0/nuxeo-2021-HF36-1.0.0/nuxeo-2021-HF37-1.0.0/nuxeo-2021-HF38-1.0.0/nuxeo-2021-HF39-1.0.0/nuxeo-2021-HF40-1.0.0/nuxeo-2021-HF41-1.0.0/nuxeo-2021-HF42-1.0.0/nuxeo-2021-HF43-1.0.0/nuxeo-2021-HF44-1.0.0/nuxeo-2021-HF45-1.0.0/nuxeo-2021-HF46-1.0.0/nuxeo-2021-HF47-1.0.0/nuxeo-2021-HF48-1.0.0/nuxeo-2021-HF49-1.0.0/nuxeo-2021-HF50-1.0.0/nuxeo-2021-HF51-1.0.0/nuxeo-2021-HF52-1.0.0
      [2024-04-08T22:20:17.364Z] #8 2321.6   Unchanged packages (34):       nuxeo-2021-HF03:1.0.0, nuxeo-2021-HF25:1.0.0, nuxeo-2021-HF02:1.0.0, nuxeo-2021-HF24:1.0.0, nuxeo-2021-HF01:1.0.0, nuxeo-2021-HF23:1.0.0, nuxeo-2021-HF22:1.0.0, nuxeo-2021-HF21:1.0.0, nuxeo-2021-HF20:1.0.0, nuxeo-2021-HF19:1.0.0, nuxeo-2021-HF18:1.0.0, nuxeo-2021-HF17:1.0.0, nuxeo-2021-HF16:1.0.0, nuxeo-2021-HF15:1.0.0, nuxeo-2021-HF14:1.0.0, nuxeo-2021-HF13:1.0.0, nuxeo-2021-HF34:1.0.0, nuxeo-2021-HF12:1.0.0, nuxeo-2021-HF33:1.0.0, nuxeo-2021-HF11:1.0.0, nuxeo-2021-HF32:1.0.0, nuxeo-2021-HF10:1.0.0, nuxeo-2021-HF31:1.0.0, nuxeo-2021-HF30:1.0.0, nuxeo-2021-HF09:1.0.0, nuxeo-2021-HF08:1.0.0, nuxeo-2021-HF29:1.0.0, nuxeo-2021-HF07:1.0.3, nuxeo-2021-HF28:1.0.0, nuxeo-2021-HF06:1.0.0, nuxeo-2021-HF27:1.0.0, nuxeo-2021-HF05:1.0.0, nuxeo-2021-HF26:1.0.0, nuxeo-2021-HF04:1.0.0
      [2024-04-08T22:20:17.364Z] #8 2321.6   Local packages to install (18): nuxeo-2021-HF47:1.0.0, nuxeo-2021-HF36:1.0.0, nuxeo-2021-HF46:1.0.0, nuxeo-2021-HF35:1.0.0, nuxeo-2021-HF45:1.0.0, nuxeo-2021-HF44:1.0.0, nuxeo-2021-HF43:1.0.0, nuxeo-2021-HF42:1.0.0, nuxeo-2021-HF41:1.0.0, nuxeo-2021-HF52:1.0.0, nuxeo-2021-HF40:1.0.0, nuxeo-2021-HF51:1.0.0, nuxeo-2021-HF50:1.0.0, nuxeo-2021-HF39:1.0.0, nuxeo-2021-HF38:1.0.0, nuxeo-2021-HF49:1.0.0, nuxeo-2021-HF37:1.0.0, nuxeo-2021-HF48:1.0.0
      [2024-04-08T22:20:17.364Z] #8 2321.6 
      [2024-04-08T22:20:17.364Z] #8 2321.7 Installing nuxeo-2021-HF35-1.0.0
      [2024-04-08T22:20:17.364Z] #8 2322.1 Installing nuxeo-2021-HF36-1.0.0
      [2024-04-08T22:20:17.364Z] #8 2322.3 Installing nuxeo-2021-HF37-1.0.0
      [2024-04-08T22:20:17.364Z] #8 2322.6 Installing nuxeo-2021-HF38-1.0.0
      [2024-04-08T22:20:17.364Z] #8 2322.9 Installing nuxeo-2021-HF39-1.0.0
      [2024-04-08T22:20:17.364Z] #8 2323.0 Use of the <copy /> command on JAR files is not recommended, prefer using <update /> command to ensure a safe rollback. (nuxeo-launcher-2021.39.6-jar-with-dependencies.jar)
      [2024-04-08T22:20:17.364Z] #8 2323.5 Restarting launcher...
      [2024-04-08T22:20:17.364Z] #8 2324.7 Nuxeo home:          /opt/nuxeo/server
      [2024-04-08T22:20:17.364Z] #8 2324.8 Nuxeo configuration: /opt/nuxeo/server/bin/nuxeo.conf
      [2024-04-08T22:20:17.364Z] #8 2324.8 Include template: /opt/nuxeo/server/templates/common-base
      [2024-04-08T22:20:17.364Z] #8 2324.8 Include template: /opt/nuxeo/server/templates/common
      [2024-04-08T22:20:17.364Z] #8 2324.8 Include template: /opt/nuxeo/server/templates/default
      [2024-04-09T01:06:10.317Z] Cancelling nested steps due to timeout
      [2024-04-09T01:06:10.331Z] Sending interrupt signal to process
      [2024-04-09T01:06:10.332Z] Killing processes
      [2024-04-09T01:06:10.815Z] kill finished with exit code 0
      [2024-04-09T01:06:16.732Z] E0409 01:06:10.804364   24501 v2.go:104] use of closed network connection
      [2024-04-09T01:06:16.746Z] script returned exit code 143
      ...
      [2024-04-09T01:06:18.307Z] [Pipeline] End of Pipeline
      [2024-04-09T01:06:18.387Z] Timeout has been exceeded
      [2024-04-09T01:06:18.387Z] org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: ad91dde4-b35c-499e-ae21-683a158ee9c9
      [2024-04-09T01:06:18.409Z] Finished: ABORTED
      

      The Docker build step fails because the pipeline step is killed due to timeout.

      Let's install only the latest hotfix package, on the previous hotfix Docker image, tagged for this purpose. In this example, if we tag nuxeo/nuxeo-hf:2021.51.1 to nuxeo/nuxeo-hf:2021.51, then we can build nuxeo/nuxeo-hf:2021.52.8 (also tagged 2021.52) FROM nuxeo/nuxeo-hf:2021.51.

        Attachments

          Activity

            People

            • Assignee:
              ataillefer Antoine Taillefer
              Reporter:
              ataillefer Antoine Taillefer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: