Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4202

Thrift docker image files fail to build in Travis build: npm errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 0.10.0
    • None
    • Build Process
    • None
    • Travis CI

    Description

      See this build job:

      https://travis-ci.org/apache/thrift/jobs/233157908

      Details:

      Step 22 : ENV PATH /usr/local/go/bin:$PATH
       ---> Using cache
       ---> e4b3c99642cc
      Step 23 : RUN mkdir -p /usr/lib/haxe &&     wget -O - https://github.com/HaxeFoundation/haxe/releases/download/3.2.1/haxe-3.2.1-linux64.tar.gz |     tar -C /usr/lib/haxe --strip-components=1 -xz &&     ln -s /usr/lib/haxe/haxe /usr/bin/haxe &&     ln -s /usr/lib/haxe/haxelib /usr/bin/haxelib &&     mkdir -p /usr/lib/haxe/lib  &&     chmod -R 777 /usr/lib/haxe/lib &&     haxelib setup /usr/lib/haxe/lib &&     haxelib install hxcpp
       ---> Using cache
       ---> 2b8cdb933408
      Step 24 : RUN curl -sSL https://www.npmjs.com/install.sh | sh
       ---> Running in 11a61459fdf0
      tar=/bin/tar
      version:
      tar (GNU tar) 1.27.1
      Copyright (C) 2013 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
      Written by John Gilmore and Jay Fenlason.
      install npm@latest
      fetching: https://registry.npmjs.org/npm/-/npm-4.6.1.tgz
      npm ERR! Object function (err) {
      npm ERR!         if (err) return cb(err)
      npm ERR!         fs.fsync(fd, function (err) {
      npm ERR!           if (err) return cb(err)
      npm ERR!           fs.close(fd, cb)
      npm ERR!         })
      npm ERR!       } has no method 'toLowerCase'
      It failed
      The command '/bin/sh -c curl -sSL https://www.npmjs.com/install.sh | sh' returned a non-zero code: 1
      /home/travis/.travis/job_stages: line 155:  1056 Terminated              travis_jigger $! $timeout $cmd
      The command "travis_wait docker build -q -t thrift-build:ubuntu build/docker/ubuntu" failed 3 times.
      The command "if [ ! -f .unmodified ]; then travis_retry travis_wait docker build -q -t thrift-build:$DISTRO build/docker/$DISTRO; fi" failed and exited with 1 during .
      Your build has been stopped.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jking3 James E. King III
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: