Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: testing
    • Labels:
      None

      Description

      the DC/OS build is failing.Following are the build logs.
      The build environment is Ubuntu16.0.4LTS.

      python-dateutil-2.6.0 pyyaml-3.12 requests-2.10.0 requests-oauthlib-0.8.0 retrying-1.3.3 s3transfer-0.1.10 six-1.10.0 teamcity-messages-1.21
      ++ whoami
      + release create root local_build
      starting: Building packages
      starting: dcos/dcos-builder (dcos-builder)
      Attempting to pull docker: dcos/dcos-builder:dcos-builder_dockerdir-c20f5b87589287a436d0fb8f0ae734374dc2fd36
      Pulling repository docker.io/dcos/dcos-builder
      Tag dcos-builder_dockerdir-c20f5b87589287a436d0fb8f0ae734374dc2fd36 not found in repository docker.io/dcos/dcos-builder
      Pull failed, building instead: dcos/dcos-builder:dcos-builder_dockerdir-c20f5b87589287a436d0fb8f0ae734374dc2fd36
      Sending build context to Docker daemon 4.608 kB
      Step 1 : FROM ubuntu:16.04
      ---> 7b9b13f7b9c0
      Step 2 : MAINTAINER help@dcos.io
      ---> Using cache
      ---> 167dd1c9789e
      Step 3 : RUN apt-get -qq update && apt-get -y install autoconf automake cmake cpp curl default-jdk default-jre dpkg-dev g+-4.8 gcc-4.8 gettext-base git gzip libapr1-dev libc6-dev libcurl4-openssl-dev libnl-3-dev libnl-genl-3-dev libpcre+-dev libpopt-dev libsasl2-dev libsvn-dev libsystemd-dev libtool linux-headers-4.4.0-45-generic make maven patch pkg-config python-dev python-pip python-setuptools ruby scala unzip wget xutils-dev xz-utils zlib1g-dev
      ---> Running in e5d0ab9a302b
      panic: standard_init_linux.go:178: exec user process caused "exec format error" [recovered]
      panic: standard_init_linux.go:178: exec user process caused "exec format error"

      goroutine 1 [running, locked to thread]:
      panic(0x835c220, 0x975d09c0)
      /usr/lib/go-1.6/src/runtime/panic.go:481 +0x326
      github.com/opencontainers/runc/vendor/github.com/urfave/cli.HandleAction.func1(0x975c9974)
      /build/runc-ZfQYYD/runc-1.0.0~rc2/_build/src/github.com/opencontainers/runc/vendor/github.com/urfave/cli/app.go:478 +0x2c1
      panic(0x835c220, 0x975d09c0)
      /usr/lib/go-1.6/src/runtime/panic.go:443 +0x3fd
      github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization.func1(0x975c95fc, 0x975308f0, 0x975c9684)
      /build/runc-ZfQYYD/runc-1.0.0~rc2/_build/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:259 +0xfd
      github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization(0x97556f60, 0x86b9bd58, 0x975d09c0)
      /build/runc-ZfQYYD/runc-1.0.0~rc2/_build/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:277 +0x474
      main.glob.func8(0x97570460, 0x0, 0x0)
      /build/runc-ZfQYYD/runc-1.0.0~rc2/_build/src/github.com/opencontainers/runc/main_unix.go:26 +0x57
      reflect.Value.call(0x8302700, 0x842f7c0, 0x13, 0x838d7b8, 0x4, 0x975c9934, 0x1, 0x1, 0x0, 0x0, ...)
      /usr/lib/go-1.6/src/reflect/value.go:435 +0xeeb
      reflect.Value.Call(0x8302700, 0x842f7c0, 0x13, 0x975c9934, 0x1, 0x1, 0x0, 0x0, 0x0)
      /usr/lib/go-1.6/src/reflect/value.go:303 +0x8c
      github.com/opencontainers/runc/vendor/github.com/urfave/cli.HandleAction(0x8302700, 0x842f7c0, 0x97570460, 0x0, 0x0)
      /build/runc-ZfQYYD/runc-1.0.0~rc2/_build/src/github.com/opencontainers/runc/vendor/github.com/urfave/cli/app.go:487 +0x25f
      github.com/opencontainers/runc/vendor/github.com/urfave/cli.Command.Run(0x838fcd8, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x840e120, 0x51, 0x0, ...)
      /build/runc-ZfQYYD/runc-1.0.0~rc2/_build/src/github.com/opencontainers/runc/vendor/github.com/urfave/cli/command.go:191 +0xda7
      github.com/opencontainers/runc/vendor/github.com/urfave/cli.(*App).Run(0x9757e240, 0x97522070, 0x2, 0x2, 0x0, 0x0)
      /build/runc-ZfQYYD/runc-1.0.0~rc2/_build/src/github.com/opencontainers/runc/vendor/github.com/urfave/cli/app.go:240 +0x92b
      main.main()
      /build/runc-ZfQYYD/runc-1.0.0~rc2/_build/src/github.com/opencontainers/runc/main.go:132 +0xa60
      The command '/bin/sh -c apt-get -qq update && apt-get -y install autoconf automake cmake cpp curl default-jdk default-jre dpkg-dev g+-4.8 gcc-4.8 gettext-base git gzip libapr1-dev libc6-dev libcurl4-openssl-dev libnl-3-dev libnl-genl-3-dev libpcre+-dev libpopt-dev libsasl2-dev libsvn-dev libsystemd-dev libtool linux-headers-4.4.0-45-generic make maven patch pkg-config python-dev python-pip python-setuptools ruby scala unzip wget xutils-dev xz-utils zlib1g-dev' returned a non-zero code: 2
      Traceback (most recent call last):
      File "/tmp/dcos_build_venv/bin/release", line 9, in <module>
      load_entry_point('dcos-image', 'console_scripts', 'release')()
      File "/home/dcos/dcos/dcos/release/_init_.py", line 918, in main
      release_manager.create('testing', options.channel, options.tag)
      File "/home/dcos/dcos/dcos/release/_init_.py", line 810, in create
      metadata = make_stable_artifacts(self.__config['options']['cloudformation_s3_url'] + '/' + repository_path)
      File "/home/dcos/dcos/dcos/release/_init_.py", line 321, in make_stable_artifacts
      all_completes = do_build_packages(cache_repository_url)
      File "/home/dcos/dcos/dcos/release/_init_.py", line 565, in do_build_packages
      _build_builders(package_store)
      File "/home/dcos/dcos/dcos/release/_init_.py", line 558, in _build_builders
      do_build_docker(name, path)
      File "/home/dcos/dcos/dcos/release/_init_.py", line 476, in do_build_docker
      return _do_build_docker(name, path)
      File "/home/dcos/dcos/dcos/release/_init_.py", line 497, in _do_build_docker
      subprocess.check_call(['docker', 'build', '-t', container_name, path])
      File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
      raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'dcos/dcos-builder:dcos-builder_dockerdir-c20f5b87589287a436d0fb8f0ae734374dc2fd36', '/home/dcos/dcos/dcos/pkgpanda/docker/dcos-builder']' returned non-zero exit status 2

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vish0007 Vish0007
              Team:
              ROQ (Release, Ops, Qualification)
              Watchers:
              Vish0007, Yishan Lin (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: