XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      failure on crwjen-1.s390:

      [2022-07-04T14:39:01.344Z] fatal: [127.0.0.1]: FAILED! =>

      {"changed": false, "checksum": "88a4916a497549576e7c98c0cbd8fe27b29d0952", "msg": "Destination directory /home/hudson/.nvm/versions/node/crw_3.x/lib/node_modules/smee-client/bin does not exist"}

      https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/blue/organizations/jenkins/system%2Fjenkins-node-setup/detail/jenkins-node-setup/260/pipeline/21

      caused by broken symlinks – node-gyp and yarn not correctly installed!

      $➔ ssh z1 "ls -la  ~/bin/"
      lrwxrwxrwx  1 root   root     47 Jul  4 11:22 7z -> /home/hudson/.nvm/versions/node/v14.18.2/bin/7z
      lrwxrwxrwx  1 root   root     49 Jul  4 11:22 node -> /home/hudson/.nvm/versions/node/v14.18.2/bin/node
      lrwxrwxrwx  1 root   root     53 Apr 11 15:09 node-gyp -> /home/hudson/.nvm/versions/node/v14.18.2/bin/node-gyp [broken]
      lrwxrwxrwx  1 root   root     49 Apr 11 15:09 yarn -> /home/hudson/.nvm/versions/node/v14.18.2/bin/yarn [broken]
      

      Looking further, I see that on z2, we have yarn, node-gyp, and smee installed:

      $➔ ssh z2 "ls -la /home/hudson/.nvm/versions/node/crw_3.0/bin"
      lrwxrwxrwx 1 root   root         12 Jul  4 10:51 7z -> /usr/bin/7za
      -rwxr-xr-x 1 hudson hudson 76219256 Nov 30  2021 node
      lrwxrwxrwx 1 hudson hudson       44 Jul  4 10:51 node-gyp -> ../lib/node_modules/node-gyp/bin/node-gyp.js
      lrwxrwxrwx 1 hudson hudson       38 Nov 30  2021 npm -> ../lib/node_modules/npm/bin/npm-cli.js
      lrwxrwxrwx 1 hudson hudson       38 Nov 30  2021 npx -> ../lib/node_modules/npm/bin/npx-cli.js
      lrwxrwxrwx 1 hudson hudson       43 Jul  4 10:51 smee -> ../lib/node_modules/smee-client/bin/smee.js
      lrwxrwxrwx 1 hudson hudson       36 Jul  4 10:51 yarn -> ../lib/node_modules/yarn/bin/yarn.js
      lrwxrwxrwx 1 hudson hudson       36 Jul  4 10:51 yarnpkg -> ../lib/node_modules/yarn/bin/yarn.js
      

      but on z1, those don't show up:

      $➔ ssh z1 "ls -la /home/hudson/.nvm/versions/node/crw_3.0/bin"
      lrwxrwxrwx 1 root   root         12 Jul  4 10:37 7z -> /usr/bin/7za
      -rwxr-xr-x 1 hudson hudson 76219256 Nov 30  2021 node
      lrwxrwxrwx 1 hudson hudson       38 Nov 30  2021 npm -> ../lib/node_modules/npm/bin/npm-cli.js
      lrwxrwxrwx 1 hudson hudson       38 Nov 30  2021 npx -> ../lib/node_modules/npm/bin/npx-cli.js
      

      And the console log doesn't really show WHY...

      https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/blue/rest/organizations/jenkins/pipelines/system/pipelines/jenkins-node-setup/runs/260/nodes/21/log/?start=0

      [2022-07-04T14:22:41.834Z] ##  Update permanent node crwjen-1.s390
      ...
      [2022-07-04T14:37:34.952Z] TASK [nodejs : Change to nodejs environment for crw 3.0] ***********************
      [2022-07-04T14:37:38.991Z] changed: [127.0.0.1]
      [2022-07-04T14:37:38.991Z] 
      [2022-07-04T14:37:38.991Z] TASK [nodejs : Gather environment for nodejs version 14.18.2] ******************
      [2022-07-04T14:37:38.991Z] ok: [127.0.0.1]
      [2022-07-04T14:37:38.991Z] 
      [2022-07-04T14:37:38.991Z] TASK [nodejs : Get Yarn Version to Install] ************************************
      [2022-07-04T14:37:38.991Z] ok: [127.0.0.1]
      [2022-07-04T14:37:38.991Z] 
      [2022-07-04T14:37:38.991Z] TASK [nodejs : Install yarn 1.22.18] *******************************************
      [2022-07-04T14:37:42.185Z] changed: [127.0.0.1]
      [2022-07-04T14:37:42.551Z] 
      [2022-07-04T14:37:42.551Z] TASK [nodejs : Install latest node-gyp] ****************************************
      [2022-07-04T14:37:47.635Z] changed: [127.0.0.1]
      [2022-07-04T14:37:47.636Z] 
      [2022-07-04T14:37:47.636Z] TASK [nodejs : Create 7z link to rpm install] **********************************
      [2022-07-04T14:37:50.085Z] changed: [127.0.0.1]
      [2022-07-04T14:37:50.085Z] 
      [2022-07-04T14:37:50.085Z] TASK [nodejs : Install smee-client from zregvart/smee-client master branch] ****
      [2022-07-04T14:37:55.131Z] changed: [127.0.0.1]
      ...

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: