XMLWordPrintable

    • False
    • None
    • False

      Recent DSC builds have all failed in jenkins due to a npm ERR! code EHOSTUNREACH error. The last successful build was on April 12th.

      Success: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/DS_CI/job/dsc_3.13/10/
      Most recent failure: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/DS_CI/job/dsc_3.13/16/

      The failing command is

      npx -q sort-package-json
      

      I'm unsure what changed, but after testing on a dynamic node it seems that the issue is with the node version set during the builds.

      https://github.com/redhat-developer/devspaces/blob/79e8f0140f1ef4322997481a555dcf4f08d35489/dependencies/job-config.json#L666

      Currently it uses 18.16.1. In order to get npx to work I had to use node 20+.

      So, the way I see it, options are:

      • Update DSC to build with node 20.12.2
      • Find a workaround to make node 18 work
      • Stop sorting the package.json

      I don't know which of these is best.

              sdawley@redhat.com Samantha Dawley
              sdawley@redhat.com Samantha Dawley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: