Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2494

crw theia dev build fails to find yarn (with no containerExtract.sh comes no extracted container)

XMLWordPrintable

    • 2
    • False
    • False

      Failing on all three arches.

      Something is clearly amiss with the way the sync-to-downstream_2.x job is being triggered by crw-theia-sources (missing the yarn and node options) ?

      This commit is sus: https://github.com/redhat-developer/codeready-workspaces-theia/commit/4daa099bff6d4d5a47d3fbaf7ca5e1905241d670 and might explain why no node/yarn is present to do the build... but this is INSIDE the dockerfile, so...?

      2021-11-22 21:49:26,210 - atomic_reactor.plugins.imagebuilder - INFO - --> RUN npm config set prefix "${HOME}/.npm-global" &&     echo "--global-folder \"${HOME}/.yarn-global\"" > ${HOME}/.yarnrc &&     yarn config set network-timeout 600000 -g &&     yarn ${YARN_FLAGS} global add yo generator-code vsce@^1 @theia/generator-plugin@0.0.1-1622834185 file:${HOME}/eclipse-che-theia-generator &&     rm -rf ${HOME}/eclipse-che-theia-generator &&     cat /etc/passwd |     sed s#root:x.*#theia-dev:x:\${USER_ID}:\${GROUP_ID}::${HOME}:/bin/bash#g     > ${HOME}/.passwd.template &&     cat /etc/group |     sed s#root:x:0:#root:x:0:0,\${USER_ID}:#g     > ${HOME}/.group.template &&     mkdir /projects &&     echo "export PS1='\[\033[01;33m\](\u@container)\[\033[01;36m\] (\w) \$ \[\033[00m\]'" > ${HOME}/.bashrc  &&     mkdir -p ${HOME}/.config/insight-nodejs/ &&     echo '{"optOut": true}' > ${HOME}/.config/insight-nodejs/insight-yo.json &&     for f in "${HOME}" "/etc/passwd" "/etc/group" "/projects"; do         echo "Changing permissions on ${f}" && chgrp -R 0 ${f} &&         chmod -R g+rwX ${f};     done
      2021-11-22 21:49:26,854 - atomic_reactor.plugins.imagebuilder - INFO - /bin/sh: yarn: command not found
      

      https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=41432564

        1. image-2021-11-23-18-40-26-946.png
          10 kB
          Nick Boldt
        2. image-2021-11-23-18-41-41-384.png
          199 kB
          Nick Boldt
        3. screenshot-1.png
          214 kB
          Nick Boldt
        4. screenshot-2.png
          8 kB
          Nick Boldt
        5. screenshot-3.png
          39 kB
          Nick Boldt

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

                Created:
                Updated:
                Resolved: