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

code_3.x build fails on x86_64, s390x and ppc64le (Cannot find module 'native-keymap')

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      Build is failing to compile on ppc64le:

      [19:29:54] Using gulpfile /checode-compilation/gulpfile.js
      [19:29:54] Starting 'vscode-reh-web-linux-ppc64-min'...
      [19:29:54] Starting clean-out-build ...
      [19:29:54] Finished clean-out-build after 3 ms
      [19:29:54] Starting build-web-node-paths ...
      [19:29:54] Finished build-web-node-paths after 4 ms
      [19:29:54] Starting compile-api-proposal-names ...
      [19:29:54] Starting compilation api-proposal-names...
      [19:29:54] Finished compilation api-proposal-names with 0 errors after 120 ms
      [19:29:54] Finished compile-api-proposal-names after 134 ms
      [19:29:54] Starting <anonymous> ...
      [19:30:38] [mangler] Done collecting classes: 6774
      [19:30:41] [mangler] WARN: 'saveState' from /checode-compilation/src/vs/workbench/common/component.ts:42 became PUBLIC because of: /checode-compilation/src/vs/workbench/browser/panecomposite.ts:150
      [19:30:41] [mangler] Done creating replacements
      [19:32:53] [mangler] Done preparing edits: 1988 files
      [19:32:56] [mangler] Done: 1885.398kb saved
      [19:32:56] Starting compilation...
      [19:38:25] Error: /checode-compilation/src/vs/platform/environment/test/node/nativeModules.integrationTest.ts(26,31): Cannot find module 'native-keymap' or its corresponding type declarations.
      [19:38:25] Finished compilation with 1 errors after 329178 ms
      [19:38:25] Error: /checode-compilation/src/vs/platform/environment/test/node/nativeModules.integrationTest.ts(26,31): Cannot find module 'native-keymap' or its corresponding type declarations.
      [19:38:25] Finished compilation with 1 errors after 329179 ms
      [19:38:25] 'vscode-reh-web-linux-ppc64-min' errored after 8.52 min
      [19:38:25] Error: Found 1 errors
          at Stream.<anonymous> (/checode-compilation/build/lib/reporter.js:91:29)
          at _end (/checode-compilation/node_modules/through/index.js:65:9)
          at Stream.stream.end (/checode-compilation/node_modules/through/index.js:74:5)
          at Stream.onend (node:internal/streams/legacy:47:10)
          at Stream.emit (node:events:525:35)
          at Stream.emit (node:domain:552:15)
          at drain (/checode-compilation/node_modules/through/index.js:34:23)
          at Stream.stream.queue.stream.push (/checode-compilation/node_modules/through/index.js:45:5)
          at Stream.end (/checode-compilation/node_modules/through/index.js:15:35)
          at _end (/checode-compilation/node_modules/through/index.js:65:9)
      Error: error building at STEP "RUN NODE_ARCH=$(echo "console.log(process.arch)" | node)     && NODE_VERSION=$(cat /checode-compilation/remote/.yarnrc | grep target | cut -d ' ' -f 2 | tr -d '"')     && mkdir -p /checode-compilation/.build/node/v${NODE_VERSION}/linux-${NODE_ARCH}     && echo "caching /checode-compilation/.build/node/v${NODE_VERSION}/linux-${NODE_ARCH}/node"     && cp /usr/bin/node /checode-compilation/.build/node/v${NODE_VERSION}/linux-${NODE_ARCH}/node     && NODE_OPTIONS="--max_old_space_size=8500" ./node_modules/.bin/gulp --tasks     && NODE_OPTIONS="--max_old_space_size=8500" ./node_modules/.bin/gulp vscode-reh-web-linux-${NODE_ARCH}-min     && cp -r ../vscode-reh-web-linux-${NODE_ARCH} /checode": error while running runtime: exit status 1
      
      script returned exit code 1

      Note that as per CRW-4089, Mario and Kasturi have agreed to set priority to "Critical" as Z and P related issues should not be blockers. However this impacts all three arches, so it becomes a blocker.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: