Uploaded image for project: 'RecordService (READ-ONLY)'
  1. RecordService (READ-ONLY)
  2. RS-34

Intermittent build failures downloading toolchain

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.2.0
    • Fix Version/s: None
    • Component/s: Server
    • Labels:

      Description

      We see random failures like below. The issue seems to be that downloading some of the large tar balls will get corrupt making tar fail. The bad news is that this seems to mess up that jenkins slave (the tar ball keeps causing failures). We can manually fix it by going on the machine and deleting the .tar.gz file.
      We should figure out why and if not, at least retry if we hit this.

      Traceback (most recent call last):
      File "jenkins/bootstrap_toolchain.py", line 108, in <module>
      bootstrap(packages, compiler=compiler)
      File "jenkins/bootstrap_toolchain.py", line 79, in bootstrap
      download_package(p, destination, compiler)
      File "jenkins/bootstrap_toolchain.py", line 57, in download_package
      directory=destination)
      File "/usr/lib/python2.6/site-packages/sh.py", line 1021, in _call_
      return RunningCommand(cmd, call_args, stdin, stdout, stderr)
      File "/usr/lib/python2.6/site-packages/sh.py", line 486, in _init_
      self.wait()
      File "/usr/lib/python2.6/site-packages/sh.py", line 500, in wait
      self.handle_command_exit_code(exit_code)
      File "/usr/lib/python2.6/site-packages/sh.py", line 516, in handle_command_exit_code
      raise exc(self.ran, self.process.stdout, self.process.stderr)
      sh.ErrorReturnCode_2:
      RAN: '/bin/tar --directory=/data/2/jenkins/workspace/CDH5.4-record-service-CI/repos/Impala/toolchain/build -x -z -f /data/2/jenkins/workspace/CDH5.4-record-service-CI/repos/Impala/toolchain/build/gcc-4.9.2-gcc-4.9.2.tar.gz'
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sunchao Chao Sun
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: