Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4283

Docker fails to build on master - upgrade to nodejs10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.10.1
    • None
    • None

    Description

      https://ci-hadoop.apache.org/blue/organizations/jenkins/tez-multibranch/detail/PR-102/5/pipeline

      [2021-02-08T10:48:03.916Z] WARN engine npm@7.5.2: wanted: {"node":">=10"} (current: {"node":"8.10.0","npm":"3.5.2"})
      
      [2021-02-08T10:48:03.916Z] WARN engine npm@7.5.2: wanted: {"node":">=10"} (current: {"node":"8.10.0","npm":"3.5.2"})
      
      [2021-02-08T10:48:14.281Z] /usr/local/lib
      
      [2021-02-08T10:48:14.281Z] `-- (empty)
      
      [2021-02-08T10:48:14.281Z] 
      
      [2021-02-08T10:48:14.281Z] npm ERR! Linux 4.15.0-112-generic
      
      [2021-02-08T10:48:14.281Z] npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "npm@latest" "-g"
      
      [2021-02-08T10:48:14.281Z] npm ERR! node v8.10.0
      
      [2021-02-08T10:48:14.281Z] npm ERR! npm  v3.5.2
      
      [2021-02-08T10:48:14.281Z] npm ERR! path /usr/local/lib/node_modules/.staging/@npmcli/ci-detect-c7bf9552
      
      [2021-02-08T10:48:14.281Z] npm ERR! code ENOENT
      
      [2021-02-08T10:48:14.281Z] npm ERR! errno -2
      
      [2021-02-08T10:48:14.281Z] npm ERR! syscall rename
      
      [2021-02-08T10:48:14.281Z] 
      
      [2021-02-08T10:48:14.281Z] npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/@npmcli/ci-detect-c7bf9552' -> '/usr/local/lib/node_modules/npm/node_modules/@npmcli/ci-detect'
      
      [2021-02-08T10:48:14.281Z] npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/@npmcli/ci-detect-c7bf9552' -> '/usr/local/lib/node_modules/npm/node_modules/@npmcli/ci-detect'
      
      [2021-02-08T10:48:14.281Z] npm ERR! enoent This is most likely not a problem with npm itself
      
      [2021-02-08T10:48:14.281Z] npm ERR! enoent and is related to npm not being able to find a file.
      
      [2021-02-08T10:48:14.281Z] npm ERR! enoent 
      
      [2021-02-08T10:48:14.281Z] 
      
      [2021-02-08T10:48:14.281Z] npm ERR! Please include the following file with any support request:
      
      [2021-02-08T10:48:14.282Z] npm ERR!     /root/npm-debug.log
      
      [2021-02-08T10:48:14.282Z] npm ERR! code 1
      
      [2021-02-08T10:48:14.806Z] The command '/bin/bash -o pipefail -c apt-get -q update     && apt-get install -y --no-install-recommends nodejs npm     && apt-get clean     && rm -rf /var/lib/apt/lists/*     && npm install npm@latest -g     && npm install -g jshint' returned a non-zero code: 1
      
      [2021-02-08T10:48:14.806Z] ERROR: Docker failed to build yetus/tez:474bb22ba.
      

      https://github.com/npm/ci-detect

      Attachments

        Activity

          People

            abstractdog László Bodor
            abstractdog László Bodor
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h