habitat-sh / builder

Habitat Builder
Apache License 2.0
32 stars 35 forks source link

Docker export failing on acceptance #364

Closed chefsalim closed 6 years ago

chefsalim commented 6 years ago

This card is to track Docker export failure. We're seeing a new failure where the on-disk artifact installation is failing. Sample debug log below:

DEBUG 2018-04-04T19:20:51Z: habitat_pkg_export_docker::build: Creating BuildRoot from BuildSpec { hab: "core/hab", hab_launcher: "core/hab-launcher", hab_sup: "core/hab-sup", url: "https://bldr.acceptance.habitat.sh", channel: "stable", base_pkgs_url: "https://bldr.acceptance.habitat.sh", base_pkgs_channel: "stable", idents_or_archives: ["/hab/svc/builder-worker/data/952973993423486976/out/core-nginx-1.13.10-20180404191938-x86_64-linux.hart"] }
» Building a runnable Docker image with: /hab/svc/builder-worker/data/952973993423486976/out/core-nginx-1.13.10-20180404191938-x86_64-linux.hart
Ω Creating build root in /tmp/hab-pkg-export-docker.ZST3mmNWNApj
Ω Creating root filesystem
Ω Creating artifact cache symlink
Ω Creating key cache symlink
DEBUG 2018-04-04T19:20:51Z: habitat_pkg_export_docker::build: Symlinking src: /hab/cache/artifacts to dst: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/artifacts
DEBUG 2018-04-04T19:20:51Z: habitat_pkg_export_docker::build: Symlinking src: /hab/cache/keys to dst: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/keys
DEBUG 2018-04-04T19:20:51Z: habitat_common::command::package::install: install key_cache_path: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/keys
DEBUG 2018-04-04T19:20:51Z: habitat_http_client::ssl: Creating cached cacert.pem at: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/ssl/cert.pem
DEBUG 2018-04-04T19:20:51Z: habitat_http_client::ssl: Setting CA file for SSL context to: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/ssl/cert.pem
DEBUG 2018-04-04T19:20:51Z: habitat_http_client::api_client: User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
» Installing core/hab
☁ Determining latest version of core/hab in the 'stable' channel
DEBUG 2018-04-04T19:20:51Z: habitat_http_client::api_client: GET https://bldr.acceptance.habitat.sh/v1/depot/channels/core/stable/pkgs/hab/latest with ApiClient { endpoint: "https://bldr.acceptance.habitat.sh/v1", inner: Client { redirect_policy: FollowAll, read_timeout: Some(Duration { secs: 60, nanos: 0 }), write_timeout: Some(Duration { secs: 60, nanos: 0 }), proxy: None }, proxy: None, target_scheme: "https", user_agent_header: UserAgent("hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)") }
DEBUG 2018-04-04T19:20:51Z: hyper::net: http scheme
DEBUG 2018-04-04T19:20:51Z: hyper::net: https scheme
DEBUG 2018-04-04T19:20:51Z: hyper::http::h1: request line: Get "/v1/depot/channels/core/stable/pkgs/hab/latest" Http11
DEBUG 2018-04-04T19:20:51Z: hyper::http::h1: headers=Headers { Host: bldr.acceptance.habitat.sh
, User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
, }
DEBUG 2018-04-04T19:20:52Z: hyper::client::response: version=Http11, status=Ok
DEBUG 2018-04-04T19:20:52Z: hyper::client::response: headers=Headers { Access-Control-Allow-Headers: authorization, range
, Access-Control-Allow-Methods: PUT, DELETE, PATCH
, Access-Control-Allow-Origin: *
, Access-Control-Expose-Headers: content-disposition
, Cache-Control: private, no-cache, no-store, private, no-cache, no-store
, Content-Type: application/json; charset=utf-8
, ETag: f4bbea3da7e43e6033e96f4ac6100f367c92359b74abb8ae8785e1829a6884fd
, Server: nginx/1.13.10
, Content-Length: 6071
, Accept-Ranges: bytes
, Date: Wed, 04 Apr 2018 19:20:52 GMT
, Via: 1.1 varnish
, Age: 0
, Connection: keep-alive
, X-Served-By: cache-sea1044-SEA
, X-Cache: MISS
, X-Cache-Hits: 0
, Vary: Accept-Encoding
, Strict-Transport-Security: max-age= 7776000; includeSubDomains
, X-Frame-Options: SAMEORIGIN
, }
DEBUG 2018-04-04T19:20:52Z: habitat_depot_client: Body: "{\"channels\":[\"rc-0.55.0\",\"stable\",\"unstable\"],\"checksum\":\"f4bbea3da7e43e6033e96f4ac6100f367c92359b74abb8ae8785e1829a6884fd\",\"config\":\"\",\"deps\":[],\"exposes\":[],\"ident\":{\"name\":\"hab\",\"origin\":\"core\",\"release\":\"20180321220925\",\"version\":\"0.55.0\"},\"is_a_service\":false,\"manifest\":\"# core / hab\\n\\n\\n* __Maintainer__: The Habitat Maintainers \\n* __Version__: 0.55.0\\n* __Release__: 20180321220925\\n* __Architecture__: x86_64\\n* __System__: linux\\n* __Target__: x86_64-linux\\n* __Upstream URL__: upstream project\'s website or home page is not defined\\n* __License__: Apache-2.0 \\n* __Source__: [nosuchfile.tar.gz](nosuchfile.tar.gz)\\n* __SHA__: SHA256 checksum not provided or required\\n* __Path__: `/hab/pkgs/core/hab/0.55.0/20180321220925`\\n* __Build Dependencies__: `core/musl core/zlib-musl core/xz-musl core/bzip2-musl core/libarchive-musl core/openssl-musl core/libsodium-musl core/coreutils core/rust core/gcc `\\n* __Dependencies__: no runtime dependencies or undefined\\n* __Interpreters__: no interpreters or undefined\\n\\n# Plan\\n\\n## Build Flags\\n\\n```bash\\nCFLAGS: -I/hab/pkgs/core/musl/1.1.18/20180301002709/include -I/hab/pkgs/core/zlib-musl/1.2.8/20180301002909/include -I/hab/pkgs/core/xz-musl/5.2.2/20180301002909/include -I/hab/pkgs/core/bzip2-musl/1.0.6/20180301002908/include -I/hab/pkgs/core/libarchive-musl/3.3.2/20180301003410/include -I/hab/pkgs/core/openssl-musl/1.0.2l/20180301003009/include -I/hab/pkgs/core/libsodium-musl/1.0.13/20180301002909/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include\\nCPPFLAGS: -I/hab/pkgs/core/musl/1.1.18/20180301002709/include -I/hab/pkgs/core/zlib-musl/1.2.8/20180301002909/include -I/hab/pkgs/core/xz-musl/5.2.2/20180301002909/include -I/hab/pkgs/core/bzip2-musl/1.0.6/20180301002908/include -I/hab/pkgs/core/libarchive-musl/3.3.2/20180301003410/include -I/hab/pkgs/core/openssl-musl/1.0.2l/20180301003009/include -I/hab/pkgs/core/libsodium-musl/1.0.13/20180301002909/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include\\nCXXFLAGS: -I/hab/pkgs/core/musl/1.1.18/20180301002709/include -I/hab/pkgs/core/zlib-musl/1.2.8/20180301002909/include -I/hab/pkgs/core/xz-musl/5.2.2/20180301002909/include -I/hab/pkgs/core/bzip2-musl/1.0.6/20180301002908/include -I/hab/pkgs/core/libarchive-musl/3.3.2/20180301003410/include -I/hab/pkgs/core/openssl-musl/1.0.2l/20180301003009/include -I/hab/pkgs/core/libsodium-musl/1.0.13/20180301002909/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include\\nLDFLAGS: -L/hab/pkgs/core/musl/1.1.18/20180301002709/lib -L/hab/pkgs/core/zlib-musl/1.2.8/20180301002909/lib -L/hab/pkgs/core/xz-musl/5.2.2/20180301002909/lib -L/hab/pkgs/core/bzip2-musl/1.0.6/20180301002908/lib -L/hab/pkgs/core/libarchive-musl/3.3.2/20180301003410/lib -L/hab/pkgs/core/openssl-musl/1.0.2l/20180301003009/lib -L/hab/pkgs/core/libsodium-musl/1.0.13/20180301002909/lib -L/hab/pkgs/core/rust/1.24.1/20180312213347/lib -L/hab/pkgs/core/gcc/5.2.0/20170513202244/lib\\nLD_RUN_PATH: no LD_RUN_PATH\\n```\\n\\n## Plan Source\\n\\n```bash\\npkg_name=hab\\n_pkg_distname=$pkg_name\\npkg_origin=core\\npkg_version=$(cat \\\"$PLAN_CONTEXT/../../VERSION\\\")\\npkg_maintainer=\\\"The Habitat Maintainers \\\"\\npkg_license=(\'Apache-2.0\')\\npkg_source=nosuchfile.tar.gz\\n# The result is a portable, static binary in a zero-dependency package.\\npkg_deps=()\\npkg_build_deps=(\\n  core/musl core/zlib-musl core/xz-musl core/bzip2-musl core/libarchive-musl\\n  core/openssl-musl core/libsodium-musl\\n  core/coreutils core/rust core/gcc\\n)\\npkg_bin_dirs=(bin)\\n\\nbin=$_pkg_distname\\n\\n_common_prepare() {\\n  do_default_prepare\\n\\n  # Can be either `--release` or `--debug` to determine cargo build strategy\\n  build_type=\\\"--release\\\"\\n  build_line \\\"Building artifacts with \\\\`${build_type#--}\' mode\\\"\\n\\n  # Used by the `build.rs` program to set the version of the binaries\\n  export PLAN_VERSION=\\\"${pkg_version}/${pkg_release}\\\"\\n  build_line \\\"Setting PLAN_VERSION=$PLAN_VERSION\\\"\\n  \\n  if [ -z \\\"$HAB_CARGO_TARGET_DIR\\\" ]; then\\n    # Used by Cargo to use a pristine, isolated directory for all compilation\\n    export CARGO_TARGET_DIR=\\\"$HAB_CACHE_SRC_PATH/$pkg_dirname\\\"\\n  else\\n    export CARGO_TARGET_DIR=\\\"$HAB_CARGO_TARGET_DIR\\\"\\n  fi\\n  build_line \\\"Setting CARGO_TARGET_DIR=$CARGO_TARGET_DIR\\\"\\n}\\n\\ndo_prepare() {\\n  _common_prepare\\n\\n  export rustc_target=\\\"x86_64-unknown-linux-musl\\\"\\n  build_line \\\"Setting rustc_target=$rustc_target\\\"\\n\\n  la_ldflags=\\\"-L$(pkg_path_for zlib-musl)/lib -lz\\\"\\n  la_ldflags=\\\"$la_ldflags -L$(pkg_path_for xz-musl)/lib -llzma\\\"\\n  la_ldflags=\\\"$la_ldflags -L$(pkg_path_for bzip2-musl)/lib -lbz2\\\"\\n  la_ldflags=\\\"$la_ldflags -L$(pkg_path_for openssl-musl)/lib -lssl -lcrypto\\\"\\n\\n  export LIBARCHIVE_LIB_DIR=$(pkg_path_for libarchive-musl)/lib\\n  export LIBARCHIVE_INCLUDE_DIR=$(pkg_path_for libarchive-musl)/include\\n  export LIBARCHIVE_LDFLAGS=\\\"$la_ldflags\\\"\\n  export LIBARCHIVE_STATIC=true\\n  export OPENSSL_LIB_DIR=$(pkg_path_for openssl-musl)/lib\\n  export OPENSSL_INCLUDE_DIR=$(pkg_path_for openssl-musl)/include\\n  export OPENSSL_STATIC=true\\n  export SODIUM_LIB_DIR=$(pkg_path_for libsodium-musl)/lib\\n  export SODIUM_STATIC=true\\n\\n  # Used to find libgcc_s.so.1 when compiling `build.rs` in dependencies. Since\\n  # this used only at build time, we will use the version found in the gcc\\n  # package proper--it won\'t find its way into the final binaries.\\n  export LD_LIBRARY_PATH=$(pkg_path_for gcc)/lib\\n  build_line \\\"Setting LD_LIBRARY_PATH=$LD_LIBRARY_PATH\\\"\\n}\\n\\ndo_build() {\\n  pushd \\\"$PLAN_CONTEXT\\\" > /dev/null\\n  cargo build ${build_type#--debug} --target=$rustc_target --verbose\\n  popd > /dev/null\\n}\\n\\ndo_install() {\\n  install -v -D $CARGO_TARGET_DIR/$rustc_target/${build_type#--}/$bin \\\\\\n    $pkg_prefix/bin/$bin\\n}\\n\\ndo_strip() {\\n  if [[ \\\"$build_type\\\" != \\\"--debug\\\" ]]; then\\n    do_default_strip\\n  fi\\n}\\n\\n# Turn the remaining default phases into no-ops\\ndo_download() {\\n  return 0\\n}\\n\\ndo_verify() {\\n  return 0\\n}\\n\\ndo_unpack() {\\n  return 0\\n}\\n```\",\"target\":\"x86_64-linux\",\"tdeps\":[],\"visibility\":\"public\"}"
DEBUG 2018-04-04T19:20:52Z: habitat_common::command::package::install: Found core/hab/0.55.0/20180321220925 in artifact cache, skipping remote download
☛ Verifying core/hab/0.55.0/20180321220925
DEBUG 2018-04-04T19:20:52Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:52Z: habitat_common::command::package::install: Verified core/hab/0.55.0/20180321220925 signed by core-20160810182414
✓ Installed core/hab/0.55.0/20180321220925
★ Install of core/hab/0.55.0/20180321220925 complete with 1 new packages installed.
DEBUG 2018-04-04T19:20:52Z: habitat_common::command::package::install: install key_cache_path: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/keys
DEBUG 2018-04-04T19:20:52Z: habitat_http_client::ssl: Setting CA file for SSL context to: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/ssl/cert.pem
DEBUG 2018-04-04T19:20:52Z: habitat_http_client::api_client: User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
» Installing core/hab-sup
DEBUG 2018-04-04T19:20:52Z: habitat_http_client::api_client: GET https://bldr.acceptance.habitat.sh/v1/depot/channels/core/stable/pkgs/hab-sup/latest with ApiClient { endpoint: "https://bldr.acceptance.habitat.sh/v1", inner: Client { redirect_policy: FollowAll, read_timeout: Some(Duration { secs: 60, nanos: 0 }), write_timeout: Some(Duration { secs: 60, nanos: 0 }), proxy: None }, proxy: None, target_scheme: "https", user_agent_header: UserAgent("hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)") }
DEBUG 2018-04-04T19:20:52Z: hyper::net: http scheme
☁ Determining latest version of core/hab-sup in the 'stable' channel
DEBUG 2018-04-04T19:20:52Z: hyper::net: https scheme
DEBUG 2018-04-04T19:20:52Z: hyper::http::h1: request line: Get "/v1/depot/channels/core/stable/pkgs/hab-sup/latest" Http11
DEBUG 2018-04-04T19:20:52Z: hyper::http::h1: headers=Headers { Host: bldr.acceptance.habitat.sh
, User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
, }
DEBUG 2018-04-04T19:20:53Z: hyper::client::response: version=Http11, status=Ok
DEBUG 2018-04-04T19:20:53Z: hyper::client::response: headers=Headers { Access-Control-Allow-Headers: authorization, range
, Access-Control-Allow-Methods: PUT, DELETE, PATCH
, Access-Control-Allow-Origin: *
, Access-Control-Expose-Headers: content-disposition
, Cache-Control: private, no-cache, no-store, private, no-cache, no-store
, Content-Type: application/json; charset=utf-8
, ETag: 43527f081c34af27386eb94161f1d427d12be91fe75a8728e6d893d4a86c0a8a
, Server: nginx/1.13.10
, Content-Length: 6811
, Accept-Ranges: bytes
, Date: Wed, 04 Apr 2018 19:20:53 GMT
, Via: 1.1 varnish
, Age: 0
, Connection: keep-alive
, X-Served-By: cache-sea1046-SEA
, X-Cache: MISS
, X-Cache-Hits: 0
, Vary: Accept-Encoding
, Strict-Transport-Security: max-age= 7776000; includeSubDomains
, X-Frame-Options: SAMEORIGIN
, }
DEBUG 2018-04-04T19:20:53Z: habitat_depot_client: Body: "{\"channels\":[\"rc-0.55.0\",\"stable\",\"unstable\"],\"checksum\":\"43527f081c34af27386eb94161f1d427d12be91fe75a8728e6d893d4a86c0a8a\",\"config\":\"\",\"deps\":[{\"name\":\"busybox-static\",\"origin\":\"core\",\"release\":\"20170513215502\",\"version\":\"1.24.2\"},{\"name\":\"gcc-libs\",\"origin\":\"core\",\"release\":\"20170513212920\",\"version\":\"5.2.0\"},{\"name\":\"glibc\",\"origin\":\"core\",\"release\":\"20170513201042\",\"version\":\"2.22\"},{\"name\":\"libarchive\",\"origin\":\"core\",\"release\":\"20171018164107\",\"version\":\"3.3.2\"},{\"name\":\"libsodium\",\"origin\":\"core\",\"release\":\"20170905223149\",\"version\":\"1.0.13\"},{\"name\":\"openssl\",\"origin\":\"core\",\"release\":\"20171014213633\",\"version\":\"1.0.2l\"},{\"name\":\"zeromq\",\"origin\":\"core\",\"release\":\"20171018132502\",\"version\":\"4.2.2\"}],\"exposes\":[],\"ident\":{\"name\":\"hab-sup\",\"origin\":\"core\",\"release\":\"20180321222338\",\"version\":\"0.55.0\"},\"is_a_service\":false,\"manifest\":\"# core / hab-sup\\n\\n\\n* __Maintainer__: The Habitat Maintainers \\n* __Version__: 0.55.0\\n* __Release__: 20180321222338\\n* __Architecture__: x86_64\\n* __System__: linux\\n* __Target__: x86_64-linux\\n* __Upstream URL__: upstream project\'s website or home page is not defined\\n* __License__: Apache-2.0 \\n* __Source__: source URL not provided or required\\n* __SHA__: SHA256 checksum not provided or required\\n* __Path__: `/hab/pkgs/core/hab-sup/0.55.0/20180321222338`\\n* __Build Dependencies__: `core/coreutils core/cacerts core/rust core/gcc core/protobuf core/raml2html `\\n* __Dependencies__: `core/busybox-static core/glibc core/gcc-libs core/libarchive core/libsodium core/openssl core/zeromq `\\n* __Interpreters__: no interpreters or undefined\\n\\n# Plan\\n\\n## Build Flags\\n\\n```bash\\nCFLAGS: -I/hab/pkgs/core/glibc/2.22/20170513201042/include -I/hab/pkgs/core/libarchive/3.3.2/20171018164107/include -I/hab/pkgs/core/libsodium/1.0.13/20170905223149/include -I/hab/pkgs/core/openssl/1.0.2l/20171014213633/include -I/hab/pkgs/core/zeromq/4.2.2/20171018132502/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include -I/hab/pkgs/core/protobuf/2.6.1/20170514031228/include\\nCPPFLAGS: -I/hab/pkgs/core/glibc/2.22/20170513201042/include -I/hab/pkgs/core/libarchive/3.3.2/20171018164107/include -I/hab/pkgs/core/libsodium/1.0.13/20170905223149/include -I/hab/pkgs/core/openssl/1.0.2l/20171014213633/include -I/hab/pkgs/core/zeromq/4.2.2/20171018132502/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include -I/hab/pkgs/core/protobuf/2.6.1/20170514031228/include\\nCXXFLAGS: -I/hab/pkgs/core/glibc/2.22/20170513201042/include -I/hab/pkgs/core/libarchive/3.3.2/20171018164107/include -I/hab/pkgs/core/libsodium/1.0.13/20170905223149/include -I/hab/pkgs/core/openssl/1.0.2l/20171014213633/include -I/hab/pkgs/core/zeromq/4.2.2/20171018132502/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include -I/hab/pkgs/core/protobuf/2.6.1/20170514031228/include\\nLDFLAGS: -L/hab/pkgs/core/glibc/2.22/20170513201042/lib -L/hab/pkgs/core/gcc-libs/5.2.0/20170513212920/lib -L/hab/pkgs/core/libarchive/3.3.2/20171018164107/lib -L/hab/pkgs/core/libsodium/1.0.13/20170905223149/lib -L/hab/pkgs/core/openssl/1.0.2l/20171014213633/lib -L/hab/pkgs/core/zeromq/4.2.2/20171018132502/lib -L/hab/pkgs/core/rust/1.24.1/20180312213347/lib -L/hab/pkgs/core/gcc/5.2.0/20170513202244/lib -L/hab/pkgs/core/protobuf/2.6.1/20170514031228/lib\\nLD_RUN_PATH: /hab/pkgs/core/glibc/2.22/20170513201042/lib:/hab/pkgs/core/gcc-libs/5.2.0/20170513212920/lib:/hab/pkgs/core/libarchive/3.3.2/20171018164107/lib:/hab/pkgs/core/libsodium/1.0.13/20170905223149/lib:/hab/pkgs/core/openssl/1.0.2l/20171014213633/lib:/hab/pkgs/core/zeromq/4.2.2/20171018132502/lib\\n```\\n\\n## Plan Source\\n\\n```bash\\npkg_name=hab-sup\\n_pkg_distname=$pkg_name\\npkg_origin=core\\npkg_version=$(cat \\\"$PLAN_CONTEXT/../../VERSION\\\")\\npkg_maintainer=\\\"The Habitat Maintainers \\\"\\npkg_license=(\'Apache-2.0\')\\npkg_deps=(\\n  core/busybox-static\\n  core/glibc core/gcc-libs core/libarchive core/libsodium core/openssl core/zeromq\\n)\\npkg_build_deps=(core/coreutils core/cacerts core/rust core/gcc core/protobuf core/raml2html)\\npkg_bin_dirs=(bin)\\n\\nbin=$_pkg_distname\\n\\n_common_prepare() {\\n  do_default_prepare\\n\\n  # Can be either `--release` or `--debug` to determine cargo build strategy\\n  build_type=\\\"--release\\\"\\n  build_line \\\"Building artifacts with \\\\`${build_type#--}\' mode\\\"\\n\\n  # Used by the `build.rs` program to set the version of the binaries\\n  export PLAN_VERSION=\\\"${pkg_version}/${pkg_release}\\\"\\n  build_line \\\"Setting PLAN_VERSION=$PLAN_VERSION\\\"\\n\\n  if [ -z \\\"$HAB_CARGO_TARGET_DIR\\\" ]; then\\n    # Used by Cargo to use a pristine, isolated directory for all compilation\\n    export CARGO_TARGET_DIR=\\\"$HAB_CACHE_SRC_PATH/$pkg_dirname\\\"\\n  else\\n    export CARGO_TARGET_DIR=\\\"$HAB_CARGO_TARGET_DIR\\\"\\n  fi\\n  build_line \\\"Setting CARGO_TARGET_DIR=$CARGO_TARGET_DIR\\\"\\n}\\n\\ndo_prepare() {\\n  _common_prepare\\n\\n  export rustc_target=\\\"x86_64-unknown-linux-gnu\\\"\\n  build_line \\\"Setting rustc_target=$rustc_target\\\"\\n\\n  export LIBARCHIVE_LIB_DIR=$(pkg_path_for libarchive)/lib\\n  export LIBARCHIVE_INCLUDE_DIR=$(pkg_path_for libarchive)/include\\n  export OPENSSL_LIB_DIR=$(pkg_path_for openssl)/lib\\n  export OPENSSL_INCLUDE_DIR=$(pkg_path_for openssl)/include\\n  export SODIUM_LIB_DIR=$(pkg_path_for libsodium)/lib\\n  export LIBZMQ_PREFIX=$(pkg_path_for zeromq)\\n  export PROTOBUF_PREFIX=$(pkg_path_for protobuf)\\n}\\n\\ndo_build() {\\n  export LIBRARY_PATH=$LIBZMQ_PREFIX/lib\\n  pushd $PLAN_CONTEXT > /dev/null\\n  cargo build ${build_type#--debug} --target=$rustc_target --verbose --features apidocs\\n  popd > /dev/null\\n}\\n\\ndo_install() {\\n  install -v -D $CARGO_TARGET_DIR/$rustc_target/${build_type#--}/$bin \\\\\\n    $pkg_prefix/bin/$bin\\n}\\n\\ndo_strip() {\\n  if [[ \\\"$build_type\\\" != \\\"--debug\\\" ]]; then\\n    do_default_strip\\n  fi\\n}\\n```\",\"target\":\"x86_64-linux\",\"tdeps\":[{\"name\":\"busybox-static\",\"origin\":\"core\",\"release\":\"20170513215502\",\"version\":\"1.24.2\"},{\"name\":\"bzip2\",\"origin\":\"core\",\"release\":\"20170513212938\",\"version\":\"1.0.6\"},{\"name\":\"cacerts\",\"origin\":\"core\",\"release\":\"20171014212239\",\"version\":\"2017.09.20\"},{\"name\":\"gcc-libs\",\"origin\":\"core\",\"release\":\"20170513212920\",\"version\":\"5.2.0\"},{\"name\":\"glibc\",\"origin\":\"core\",\"release\":\"20170513201042\",\"version\":\"2.22\"},{\"name\":\"libarchive\",\"origin\":\"core\",\"release\":\"20171018164107\",\"version\":\"3.3.2\"},{\"name\":\"libsodium\",\"origin\":\"core\",\"release\":\"20170905223149\",\"version\":\"1.0.13\"},{\"name\":\"linux-headers\",\"origin\":\"core\",\"release\":\"20170513200956\",\"version\":\"4.3\"},{\"name\":\"openssl\",\"origin\":\"core\",\"release\":\"20171014213633\",\"version\":\"1.0.2l\"},{\"name\":\"xz\",\"origin\":\"core\",\"release\":\"20170513214327\",\"version\":\"5.2.2\"},{\"name\":\"zeromq\",\"origin\":\"core\",\"release\":\"20171018132502\",\"version\":\"4.2.2\"},{\"name\":\"zlib\",\"origin\":\"core\",\"release\":\"20170513201911\",\"version\":\"1.2.8\"}],\"visibility\":\"public\"}"
DEBUG 2018-04-04T19:20:53Z: habitat_common::command::package::install: Found core/hab-sup/0.55.0/20180321222338 in artifact cache, skipping remote download
☛ Verifying core/hab-sup/0.55.0/20180321222338
DEBUG 2018-04-04T19:20:53Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:53Z: habitat_common::command::package::install: Verified core/hab-sup/0.55.0/20180321222338 signed by core-20160810182414
DEBUG 2018-04-04T19:20:53Z: habitat_common::command::package::install: Found core/busybox-static/1.24.2/20170513215502 in artifact cache, skipping remote download
☛ Verifying core/busybox-static/1.24.2/20170513215502
DEBUG 2018-04-04T19:20:53Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:53Z: habitat_common::command::package::install: Verified core/busybox-static/1.24.2/20170513215502 signed by core-20160810182414
DEBUG 2018-04-04T19:20:53Z: habitat_common::command::package::install: Found core/bzip2/1.0.6/20170513212938 in artifact cache, skipping remote download
☛ Verifying core/bzip2/1.0.6/20170513212938
DEBUG 2018-04-04T19:20:53Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:53Z: habitat_common::command::package::install: Verified core/bzip2/1.0.6/20170513212938 signed by core-20160810182414
DEBUG 2018-04-04T19:20:53Z: habitat_common::command::package::install: Found core/cacerts/2017.09.20/20171014212239 in artifact cache, skipping remote download
☛ Verifying core/cacerts/2017.09.20/20171014212239
DEBUG 2018-04-04T19:20:53Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:53Z: habitat_common::command::package::install: Verified core/cacerts/2017.09.20/20171014212239 signed by core-20160810182414
DEBUG 2018-04-04T19:20:53Z: habitat_common::command::package::install: Found core/gcc-libs/5.2.0/20170513212920 in artifact cache, skipping remote download
☛ Verifying core/gcc-libs/5.2.0/20170513212920
DEBUG 2018-04-04T19:20:54Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:54Z: habitat_common::command::package::install: Verified core/gcc-libs/5.2.0/20170513212920 signed by core-20160810182414
DEBUG 2018-04-04T19:20:54Z: habitat_common::command::package::install: Found core/glibc/2.22/20170513201042 in artifact cache, skipping remote download
☛ Verifying core/glibc/2.22/20170513201042
DEBUG 2018-04-04T19:20:55Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:55Z: habitat_common::command::package::install: Verified core/glibc/2.22/20170513201042 signed by core-20160810182414
DEBUG 2018-04-04T19:20:55Z: habitat_common::command::package::install: Found core/libarchive/3.3.2/20171018164107 in artifact cache, skipping remote download
☛ Verifying core/libarchive/3.3.2/20171018164107
DEBUG 2018-04-04T19:20:55Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:55Z: habitat_common::command::package::install: Verified core/libarchive/3.3.2/20171018164107 signed by core-20160810182414
DEBUG 2018-04-04T19:20:55Z: habitat_common::command::package::install: Found core/libsodium/1.0.13/20170905223149 in artifact cache, skipping remote download
☛ Verifying core/libsodium/1.0.13/20170905223149
DEBUG 2018-04-04T19:20:55Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:55Z: habitat_common::command::package::install: Verified core/libsodium/1.0.13/20170905223149 signed by core-20160810182414
DEBUG 2018-04-04T19:20:55Z: habitat_common::command::package::install: Found core/linux-headers/4.3/20170513200956 in artifact cache, skipping remote download
☛ Verifying core/linux-headers/4.3/20170513200956
DEBUG 2018-04-04T19:20:55Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:55Z: habitat_common::command::package::install: Verified core/linux-headers/4.3/20170513200956 signed by core-20160810182414
DEBUG 2018-04-04T19:20:55Z: habitat_common::command::package::install: Found core/openssl/1.0.2l/20171014213633 in artifact cache, skipping remote download
☛ Verifying core/openssl/1.0.2l/20171014213633
DEBUG 2018-04-04T19:20:56Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:56Z: habitat_common::command::package::install: Verified core/openssl/1.0.2l/20171014213633 signed by core-20160810182414
DEBUG 2018-04-04T19:20:56Z: habitat_common::command::package::install: Found core/xz/5.2.2/20170513214327 in artifact cache, skipping remote download
☛ Verifying core/xz/5.2.2/20170513214327
DEBUG 2018-04-04T19:20:56Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:56Z: habitat_common::command::package::install: Verified core/xz/5.2.2/20170513214327 signed by core-20160810182414
DEBUG 2018-04-04T19:20:56Z: habitat_common::command::package::install: Found core/zeromq/4.2.2/20171018132502 in artifact cache, skipping remote download
☛ Verifying core/zeromq/4.2.2/20171018132502
DEBUG 2018-04-04T19:20:56Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:56Z: habitat_common::command::package::install: Verified core/zeromq/4.2.2/20171018132502 signed by core-20160810182414
DEBUG 2018-04-04T19:20:56Z: habitat_common::command::package::install: Found core/zlib/1.2.8/20170513201911 in artifact cache, skipping remote download
☛ Verifying core/zlib/1.2.8/20170513201911
DEBUG 2018-04-04T19:20:56Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20160810182414: No such file or directory (os error 2)
DEBUG 2018-04-04T19:20:56Z: habitat_common::command::package::install: Verified core/zlib/1.2.8/20170513201911 signed by core-20160810182414
✓ Installed core/busybox-static/1.24.2/20170513215502
✓ Installed core/bzip2/1.0.6/20170513212938
✓ Installed core/cacerts/2017.09.20/20171014212239
✓ Installed core/gcc-libs/5.2.0/20170513212920
✓ Installed core/glibc/2.22/20170513201042
✓ Installed core/libarchive/3.3.2/20171018164107
✓ Installed core/libsodium/1.0.13/20170905223149
✓ Installed core/linux-headers/4.3/20170513200956
✓ Installed core/openssl/1.0.2l/20171014213633
✓ Installed core/xz/5.2.2/20170513214327
✓ Installed core/zeromq/4.2.2/20171018132502
✓ Installed core/zlib/1.2.8/20170513201911
✓ Installed core/hab-sup/0.55.0/20180321222338
★ Install of core/hab-sup/0.55.0/20180321222338 complete with 13 new packages installed.
DEBUG 2018-04-04T19:20:59Z: habitat_common::command::package::install: install key_cache_path: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/keys
DEBUG 2018-04-04T19:20:59Z: habitat_http_client::ssl: Setting CA file for SSL context to: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/pkgs/core/cacerts/2017.09.20/20171014212239/ssl/cert.pem
DEBUG 2018-04-04T19:20:59Z: habitat_http_client::api_client: User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
» Installing core/hab-launcher
☁ Determining latest version of core/hab-launcher in the 'stable' channel
DEBUG 2018-04-04T19:20:59Z: habitat_http_client::api_client: GET https://bldr.acceptance.habitat.sh/v1/depot/channels/core/stable/pkgs/hab-launcher/latest with ApiClient { endpoint: "https://bldr.acceptance.habitat.sh/v1", inner: Client { redirect_policy: FollowAll, read_timeout: Some(Duration { secs: 60, nanos: 0 }), write_timeout: Some(Duration { secs: 60, nanos: 0 }), proxy: None }, proxy: None, target_scheme: "https", user_agent_header: UserAgent("hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)") }
DEBUG 2018-04-04T19:20:59Z: hyper::net: http scheme
DEBUG 2018-04-04T19:20:59Z: hyper::net: https scheme
DEBUG 2018-04-04T19:20:59Z: hyper::http::h1: request line: Get "/v1/depot/channels/core/stable/pkgs/hab-launcher/latest" Http11
DEBUG 2018-04-04T19:20:59Z: hyper::http::h1: headers=Headers { Host: bldr.acceptance.habitat.sh
, User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
, }
DEBUG 2018-04-04T19:21:00Z: hyper::client::response: version=Http11, status=Ok
DEBUG 2018-04-04T19:21:00Z: hyper::client::response: headers=Headers { Access-Control-Allow-Headers: authorization, range
, Access-Control-Allow-Methods: PUT, DELETE, PATCH
, Access-Control-Allow-Origin: *
, Access-Control-Expose-Headers: content-disposition
, Cache-Control: private, no-cache, no-store, private, no-cache, no-store
, Content-Type: application/json; charset=utf-8
, ETag: 551e3ebd7986a018c0fddda13d215e632c3cd36054224546741b8796c9edfa76
, Server: nginx/1.13.10
, Content-Length: 4563
, Accept-Ranges: bytes
, Date: Wed, 04 Apr 2018 19:21:00 GMT
, Via: 1.1 varnish
, Age: 0
, Connection: keep-alive
, X-Served-By: cache-sea1025-SEA
, X-Cache: MISS
, X-Cache-Hits: 0
, Vary: Accept-Encoding
, Strict-Transport-Security: max-age= 7776000; includeSubDomains
, X-Frame-Options: SAMEORIGIN
, }
DEBUG 2018-04-04T19:21:00Z: habitat_depot_client: Body: "{\"channels\":[\"bldr-942737524212924416\",\"stable\",\"unstable\"],\"checksum\":\"551e3ebd7986a018c0fddda13d215e632c3cd36054224546741b8796c9edfa76\",\"config\":\"\",\"deps\":[{\"name\":\"gcc-libs\",\"origin\":\"core\",\"release\":\"20170513212920\",\"version\":\"5.2.0\"},{\"name\":\"glibc\",\"origin\":\"core\",\"release\":\"20170513201042\",\"version\":\"2.22\"},{\"name\":\"libarchive\",\"origin\":\"core\",\"release\":\"20171018164107\",\"version\":\"3.3.2\"},{\"name\":\"libsodium\",\"origin\":\"core\",\"release\":\"20170905223149\",\"version\":\"1.0.13\"},{\"name\":\"openssl\",\"origin\":\"core\",\"release\":\"20171014213633\",\"version\":\"1.0.2l\"}],\"exposes\":[],\"ident\":{\"name\":\"hab-launcher\",\"origin\":\"core\",\"release\":\"20180321162126\",\"version\":\"7241\"},\"is_a_service\":false,\"manifest\":\"# core / hab-launcher\\n\\n\\n* __Maintainer__: The Habitat Maintainers \\n* __Version__: 7241\\n* __Release__: 20180321162126\\n* __Architecture__: x86_64\\n* __System__: linux\\n* __Target__: x86_64-linux\\n* __Upstream URL__: upstream project\'s website or home page is not defined\\n* __License__: Apache-2.0 \\n* __Source__: source URL not provided or required\\n* __SHA__: SHA256 checksum not provided or required\\n* __Path__: `/hab/pkgs/core/hab-launcher/7241/20180321162126`\\n* __Build Dependencies__: `core/coreutils core/rust core/gcc core/git `\\n* __Dependencies__: `core/glibc core/gcc-libs core/libarchive core/libsodium core/openssl `\\n* __Interpreters__: no interpreters or undefined\\n\\n# Plan\\n\\n## Build Flags\\n\\n```bash\\nCFLAGS: -I/hab/pkgs/core/glibc/2.22/20170513201042/include -I/hab/pkgs/core/libarchive/3.3.2/20171018164107/include -I/hab/pkgs/core/libsodium/1.0.13/20170905223149/include -I/hab/pkgs/core/openssl/1.0.2l/20171014213633/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include\\nCPPFLAGS: -I/hab/pkgs/core/glibc/2.22/20170513201042/include -I/hab/pkgs/core/libarchive/3.3.2/20171018164107/include -I/hab/pkgs/core/libsodium/1.0.13/20170905223149/include -I/hab/pkgs/core/openssl/1.0.2l/20171014213633/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include\\nCXXFLAGS: -I/hab/pkgs/core/glibc/2.22/20170513201042/include -I/hab/pkgs/core/libarchive/3.3.2/20171018164107/include -I/hab/pkgs/core/libsodium/1.0.13/20170905223149/include -I/hab/pkgs/core/openssl/1.0.2l/20171014213633/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include\\nLDFLAGS: -L/hab/pkgs/core/glibc/2.22/20170513201042/lib -L/hab/pkgs/core/gcc-libs/5.2.0/20170513212920/lib -L/hab/pkgs/core/libarchive/3.3.2/20171018164107/lib -L/hab/pkgs/core/libsodium/1.0.13/20170905223149/lib -L/hab/pkgs/core/openssl/1.0.2l/20171014213633/lib -L/hab/pkgs/core/rust/1.24.1/20180312213347/lib -L/hab/pkgs/core/gcc/5.2.0/20170513202244/lib -L/hab/pkgs/core/git/2.14.2/20171016215544/lib\\nLD_RUN_PATH: /hab/pkgs/core/glibc/2.22/20170513201042/lib:/hab/pkgs/core/gcc-libs/5.2.0/20170513212920/lib:/hab/pkgs/core/libarchive/3.3.2/20171018164107/lib:/hab/pkgs/core/libsodium/1.0.13/20170905223149/lib:/hab/pkgs/core/openssl/1.0.2l/20171014213633/lib\\n```\\n\\n## Plan Source\\n\\n```bash\\nsource \\\"../../../support/ci/builder-base-plan.sh\\\"\\npkg_name=hab-launcher\\npkg_origin=core\\npkg_maintainer=\\\"The Habitat Maintainers \\\"\\npkg_license=(\'Apache-2.0\')\\npkg_deps=(core/glibc core/gcc-libs core/libarchive core/libsodium core/openssl)\\npkg_build_deps=(core/coreutils core/rust core/gcc core/git)\\npkg_bin_dirs=(bin)\\nbin=\\\"hab-launch\\\"\\n\\ndo_prepare() {\\n  do_builder_prepare\\n\\n  export LIBARCHIVE_LIB_DIR=$(pkg_path_for libarchive)/lib\\n  export LIBARCHIVE_INCLUDE_DIR=$(pkg_path_for libarchive)/include\\n  export OPENSSL_LIB_DIR=$(pkg_path_for openssl)/lib\\n  export OPENSSL_INCLUDE_DIR=$(pkg_path_for openssl)/include\\n  export SODIUM_LIB_DIR=$(pkg_path_for libsodium)/lib\\n}\\n```\",\"target\":\"x86_64-linux\",\"tdeps\":[{\"name\":\"bzip2\",\"origin\":\"core\",\"release\":\"20170513212938\",\"version\":\"1.0.6\"},{\"name\":\"cacerts\",\"origin\":\"core\",\"release\":\"20171014212239\",\"version\":\"2017.09.20\"},{\"name\":\"gcc-libs\",\"origin\":\"core\",\"release\":\"20170513212920\",\"version\":\"5.2.0\"},{\"name\":\"glibc\",\"origin\":\"core\",\"release\":\"20170513201042\",\"version\":\"2.22\"},{\"name\":\"libarchive\",\"origin\":\"core\",\"release\":\"20171018164107\",\"version\":\"3.3.2\"},{\"name\":\"libsodium\",\"origin\":\"core\",\"release\":\"20170905223149\",\"version\":\"1.0.13\"},{\"name\":\"linux-headers\",\"origin\":\"core\",\"release\":\"20170513200956\",\"version\":\"4.3\"},{\"name\":\"openssl\",\"origin\":\"core\",\"release\":\"20171014213633\",\"version\":\"1.0.2l\"},{\"name\":\"xz\",\"origin\":\"core\",\"release\":\"20170513214327\",\"version\":\"5.2.2\"},{\"name\":\"zlib\",\"origin\":\"core\",\"release\":\"20170513201911\",\"version\":\"1.2.8\"}],\"visibility\":\"public\"}"
DEBUG 2018-04-04T19:21:00Z: habitat_common::command::package::install: Found core/hab-launcher/7241/20180321162126 in artifact cache, skipping remote download
☛ Verifying core/hab-launcher/7241/20180321162126
DEBUG 2018-04-04T19:21:01Z: habitat_core::crypto::keys::sig_key_pair: Can't find secret key for name_with_rev core-20180119235000: No such file or directory (os error 2)
DEBUG 2018-04-04T19:21:01Z: habitat_common::command::package::install: Verified core/hab-launcher/7241/20180321162126 signed by core-20180119235000
→ Using core/bzip2/1.0.6/20170513212938
→ Using core/cacerts/2017.09.20/20171014212239
→ Using core/gcc-libs/5.2.0/20170513212920
→ Using core/glibc/2.22/20170513201042
→ Using core/libarchive/3.3.2/20171018164107
→ Using core/libsodium/1.0.13/20170905223149
→ Using core/linux-headers/4.3/20170513200956
→ Using core/openssl/1.0.2l/20171014213633
→ Using core/xz/5.2.2/20170513214327
→ Using core/zlib/1.2.8/20170513201911
✓ Installed core/hab-launcher/7241/20180321162126
★ Install of core/hab-launcher/7241/20180321162126 complete with 1 new packages installed.
DEBUG 2018-04-04T19:21:02Z: habitat_common::command::package::install: install key_cache_path: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/keys
DEBUG 2018-04-04T19:21:02Z: habitat_http_client::ssl: Setting CA file for SSL context to: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/pkgs/core/cacerts/2017.09.20/20171014212239/ssl/cert.pem
DEBUG 2018-04-04T19:21:02Z: habitat_http_client::api_client: User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
» Installing core/busybox-static
☁ Determining latest version of core/busybox-static in the 'stable' channel
DEBUG 2018-04-04T19:21:02Z: habitat_http_client::api_client: GET https://bldr.acceptance.habitat.sh/v1/depot/channels/core/stable/pkgs/busybox-static/latest with ApiClient { endpoint: "https://bldr.acceptance.habitat.sh/v1", inner: Client { redirect_policy: FollowAll, read_timeout: Some(Duration { secs: 60, nanos: 0 }), write_timeout: Some(Duration { secs: 60, nanos: 0 }), proxy: None }, proxy: None, target_scheme: "https", user_agent_header: UserAgent("hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)") }
DEBUG 2018-04-04T19:21:02Z: hyper::net: http scheme
DEBUG 2018-04-04T19:21:02Z: hyper::net: https scheme
DEBUG 2018-04-04T19:21:02Z: hyper::http::h1: request line: Get "/v1/depot/channels/core/stable/pkgs/busybox-static/latest" Http11
DEBUG 2018-04-04T19:21:02Z: hyper::http::h1: headers=Headers { Host: bldr.acceptance.habitat.sh
, User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
, }
DEBUG 2018-04-04T19:21:02Z: hyper::client::response: version=Http11, status=Ok
DEBUG 2018-04-04T19:21:02Z: hyper::client::response: headers=Headers { Access-Control-Allow-Headers: authorization, range
, Access-Control-Allow-Methods: PUT, DELETE, PATCH
, Access-Control-Allow-Origin: *
, Access-Control-Expose-Headers: content-disposition
, Cache-Control: private, no-cache, no-store, private, no-cache, no-store
, Content-Type: application/json; charset=utf-8
, ETag: f6a42c3f39ad33e424d431c6b454b3722dc62c84dc36fe5b8b482a593184c120
, Server: nginx/1.13.10
, Content-Length: 3756
, Accept-Ranges: bytes
, Date: Wed, 04 Apr 2018 19:21:02 GMT
, Via: 1.1 varnish
, Age: 0
, Connection: keep-alive
, X-Served-By: cache-sea1042-SEA
, X-Cache: MISS
, X-Cache-Hits: 0
, Vary: Accept-Encoding
, Strict-Transport-Security: max-age= 7776000; includeSubDomains
, X-Frame-Options: SAMEORIGIN
, }
DEBUG 2018-04-04T19:21:02Z: habitat_depot_client: Body: "{\"channels\":[\"stable\",\"unstable\"],\"checksum\":\"f6a42c3f39ad33e424d431c6b454b3722dc62c84dc36fe5b8b482a593184c120\",\"config\":\"\",\"deps\":[],\"exposes\":[],\"ident\":{\"name\":\"busybox-static\",\"origin\":\"core\",\"release\":\"20170513215502\",\"version\":\"1.24.2\"},\"is_a_service\":false,\"manifest\":\"# core / busybox-static\\n\\n\\n* __Maintainer__: The Habitat Maintainers \\n* __Version__: 1.24.2\\n* __Release__: 20170513215502\\n* __Architecture__: x86_64\\n* __System__: linux\\n* __Target__: x86_64-linux\\n* __Upstream URL__: upstream project\'s website or home page is not defined\\n* __License__: gplv2 \\n* __Source__: [http://www.busybox.net/downloads/busybox-1.24.2.tar.bz2](http://www.busybox.net/downloads/busybox-1.24.2.tar.bz2)\\n* __SHA__: `e71ef53ec656f31c42633918d301405d40dea1d97eca12f272217ae4a971c855`\\n* __Path__: `/hab/pkgs/core/busybox-static/1.24.2/20170513215502`\\n* __Build Dependencies__: `core/linux-headers-musl core/musl core/bash core/bison core/coreutils core/diffutils core/findutils core/flex core/gawk core/gcc core/gettext core/grep core/gzip core/libtool core/make core/patch core/sed core/texinfo core/util-linux core/wget core/xz `\\n* __Dependencies__: no runtime dependencies or undefined\\n* __Interpreters__: `bin/ash bin/awk bin/env bin/sh bin/bash `\\n\\n# Plan\\n\\n## Build Flags\\n\\n```bash\\nCFLAGS: -I/hab/pkgs/core/linux-headers-musl/3.12.6-5/20170513215421/include -I/hab/pkgs/core/musl/1.1.14/20170513215431/include\\nCPPFLAGS: -I/hab/pkgs/core/linux-headers-musl/3.12.6-5/20170513215421/include -I/hab/pkgs/core/musl/1.1.14/20170513215431/include -I/hab/pkgs/core/flex/2.6.0/20170513213413/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include -I/hab/pkgs/core/gettext/0.19.6/20170513214354/include -I/hab/pkgs/core/libtool/2.4.6/20170513213706/include -I/hab/pkgs/core/make/4.2.1/20170513214620/include -I/hab/pkgs/core/util-linux/2.27.1/20170513214732/include -I/hab/pkgs/core/xz/5.2.2/20170513214327/include\\nCXXFLAGS: -I/hab/pkgs/core/linux-headers-musl/3.12.6-5/20170513215421/include -I/hab/pkgs/core/musl/1.1.14/20170513215431/include -I/hab/pkgs/core/flex/2.6.0/20170513213413/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include -I/hab/pkgs/core/gettext/0.19.6/20170513214354/include -I/hab/pkgs/core/libtool/2.4.6/20170513213706/include -I/hab/pkgs/core/make/4.2.1/20170513214620/include -I/hab/pkgs/core/util-linux/2.27.1/20170513214732/include -I/hab/pkgs/core/xz/5.2.2/20170513214327/include\\nLDFLAGS: -L/hab/pkgs/core/musl/1.1.14/20170513215431/lib -L/hab/pkgs/core/flex/2.6.0/20170513213413/lib -L/hab/pkgs/core/gcc/5.2.0/20170513202244/lib -L/hab/pkgs/core/gettext/0.19.6/20170513214354/lib -L/hab/pkgs/core/libtool/2.4.6/20170513213706/lib -L/hab/pkgs/core/util-linux/2.27.1/20170513214732/lib -L/hab/pkgs/core/xz/5.2.2/20170513214327/lib\\nLD_RUN_PATH: no LD_RUN_PATH\\n```\\n\\n## Plan Source\\n\\n```bash\\nsource ../busybox/plan.sh\\n\\npkg_name=busybox-static\\npkg_maintainer=\\\"The Habitat Maintainers \\\"\\npkg_dirname=${pkg_distname}-${pkg_version}\\n\\npkg_deps=()\\npkg_build_deps=(core/linux-headers-musl core/musl \\\"${pkg_build_deps[@]}\\\")\\n\\ndo_prepare() {\\n  CFLAGS=\\\"-I$(pkg_path_for linux-headers-musl)/include -I$(pkg_path_for musl)/include\\\"\\n  build_line \\\"Overriding CFLAGS=$CFLAGS\\\"\\n\\n  PLAN_CONTEXT=$PLAN_CONTEXT/../busybox create_config\\n  sed \\\\\\n    -e \'/CONFIG_STATIC/ s,^.*$,CONFIG_STATIC=y,\' \\\\\\n    -e \'/CONFIG_FEATURE_UTMP/ s,^.*$,CONFIG_FEATURE_UTMP=n,\' \\\\\\n    -e \'/CONFIG_FEATURE_WTMP/ s,^.*$,CONFIG_FEATURE_WTMP=n,\' \\\\\\n    -e \'/CONFIG_INETD/ s,^.*$,CONFIG_INETD=n,\' \\\\\\n    -i .config\\n\\n  sed \'1,1i#include \' -i include/libbb.h\\n}\\n\\ndo_build() {\\n  make -j$(nproc) CC=musl-gcc\\n}\\n```\",\"target\":\"x86_64-linux\",\"tdeps\":[],\"visibility\":\"public\"}"
→ Using core/busybox-static/1.24.2/20170513215502
★ Install of core/busybox-static/1.24.2/20170513215502 complete with 0 new packages installed.
DEBUG 2018-04-04T19:21:02Z: habitat_common::command::package::install: install key_cache_path: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/keys
DEBUG 2018-04-04T19:21:02Z: habitat_http_client::ssl: Setting CA file for SSL context to: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/pkgs/core/cacerts/2017.09.20/20171014212239/ssl/cert.pem
DEBUG 2018-04-04T19:21:02Z: habitat_http_client::api_client: User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
» Installing core/cacerts
☁ Determining latest version of core/cacerts in the 'stable' channel
DEBUG 2018-04-04T19:21:02Z: habitat_http_client::api_client: GET https://bldr.acceptance.habitat.sh/v1/depot/channels/core/stable/pkgs/cacerts/latest with ApiClient { endpoint: "https://bldr.acceptance.habitat.sh/v1", inner: Client { redirect_policy: FollowAll, read_timeout: Some(Duration { secs: 60, nanos: 0 }), write_timeout: Some(Duration { secs: 60, nanos: 0 }), proxy: None }, proxy: None, target_scheme: "https", user_agent_header: UserAgent("hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)") }
DEBUG 2018-04-04T19:21:02Z: hyper::net: http scheme
DEBUG 2018-04-04T19:21:02Z: hyper::net: https scheme
DEBUG 2018-04-04T19:21:02Z: hyper::http::h1: request line: Get "/v1/depot/channels/core/stable/pkgs/cacerts/latest" Http11
DEBUG 2018-04-04T19:21:02Z: hyper::http::h1: headers=Headers { Host: bldr.acceptance.habitat.sh
, User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
, }
DEBUG 2018-04-04T19:21:03Z: hyper::client::response: version=Http11, status=Ok
DEBUG 2018-04-04T19:21:03Z: hyper::client::response: headers=Headers { Access-Control-Allow-Headers: authorization, range
, Access-Control-Allow-Methods: PUT, DELETE, PATCH
, Access-Control-Allow-Origin: *
, Access-Control-Expose-Headers: content-disposition
, Cache-Control: private, no-cache, no-store, private, no-cache, no-store
, Content-Type: application/json; charset=utf-8
, ETag: bfc7643c5296847c478c4be5650262ef810b421147cb99c3590ce3b8b28e7b39
, Server: nginx/1.13.10
, Content-Length: 3228
, Accept-Ranges: bytes
, Date: Wed, 04 Apr 2018 19:21:03 GMT
, Via: 1.1 varnish
, Age: 0
, Connection: keep-alive
, X-Served-By: cache-sea1028-SEA
, X-Cache: MISS
, X-Cache-Hits: 0
, Vary: Accept-Encoding
, Strict-Transport-Security: max-age= 7776000; includeSubDomains
, X-Frame-Options: SAMEORIGIN
, }
DEBUG 2018-04-04T19:21:03Z: habitat_depot_client: Body: "{\"channels\":[\"bldr-828367836980666368\",\"stable\",\"unstable\"],\"checksum\":\"bfc7643c5296847c478c4be5650262ef810b421147cb99c3590ce3b8b28e7b39\",\"config\":\"\",\"deps\":[],\"exposes\":[],\"ident\":{\"name\":\"cacerts\",\"origin\":\"core\",\"release\":\"20171014212239\",\"version\":\"2017.09.20\"},\"is_a_service\":false,\"manifest\":\"# core / cacerts\\n\\n\\n* __Maintainer__: The Habitat Maintainers \\n* __Version__: 2017.09.20\\n* __Release__: 20171014212239\\n* __Architecture__: x86_64\\n* __System__: linux\\n* __Target__: x86_64-linux\\n* __Upstream URL__: upstream project\'s website or home page is not defined\\n* __License__: mplv1.1 gplV2 lgplv2.1 \\n* __Source__: [http://curl.haxx.se/ca/cacert.pem](http://curl.haxx.se/ca/cacert.pem)\\n* __SHA__: `nopenopebucketofnope`\\n* __Path__: `/hab/pkgs/core/cacerts/2017.09.20/20171014212239`\\n* __Build Dependencies__: no build dependencies or undefined\\n* __Dependencies__: no runtime dependencies or undefined\\n* __Interpreters__: no interpreters or undefined\\n\\n# Plan\\n\\n## Build Flags\\n\\n```bash\\nCFLAGS: no CFLAGS\\nCPPFLAGS: no CPPFLAGS\\nCXXFLAGS: no CXXFLAGS\\nLDFLAGS: no LDFLAGS\\nLD_RUN_PATH: no LD_RUN_PATH\\n```\\n\\n## Plan Source\\n\\n```bash\\npkg_name=cacerts\\npkg_origin=core\\npkg_version=_set_from_downloaded_cacerts_file_\\npkg_license=(\'mplv1.1\' \'gplV2\' \'lgplv2.1\')\\npkg_maintainer=\\\"The Habitat Maintainers \\\"\\npkg_source=http://curl.haxx.se/ca/cacert.pem\\npkg_shasum=nopenopebucketofnope\\npkg_deps=()\\npkg_build_deps=()\\n\\ndo_download() {\\n  do_default_download\\n  update_pkg_version\\n}\\n\\n# Verify? This file? From the internet? Not just yet... ;)\\ndo_verify() {\\n  build_line \\\"Not going to verify this until we have a stable solution\\\"\\n  return 0\\n}\\n\\ndo_unpack() {\\n  mkdir -pv \\\"$HAB_CACHE_SRC_PATH/$pkg_dirname\\\"\\n  cp -v \\\"$HAB_CACHE_SRC_PATH/$pkg_filename\\\" \\\"$HAB_CACHE_SRC_PATH/$pkg_dirname\\\"\\n}\\n\\ndo_build() {\\n  return 0\\n}\\n\\ndo_install() {\\n  mkdir -pv \\\"$pkg_prefix/ssl/certs\\\"\\n  cp -v \\\"$pkg_filename\\\" \\\"$pkg_prefix/ssl/certs\\\"\\n  ln -sv certs/cacert.pem \\\"$pkg_prefix/ssl/cert.pem\\\"\\n}\\n\\nupdate_pkg_version() {\\n  local build_date\\n  # Extract the build date of the certificates file\\n  # shellcheck disable=SC2002\\n  build_date=\\\"$(cat \\\"$HAB_CACHE_SRC_PATH/$pkg_filename\\\" \\\\\\n    | grep \'Certificate data from Mozilla\' \\\\\\n    | sed \'s/^## Certificate data from Mozilla as of: //\')\\\"\\n\\n  # Update the `$pkg_version` value with the build date\\n  pkg_version=$(date --date=\\\"$build_date\\\" \\\"+%Y.%m.%d\\\")\\n  build_line \\\"Version updated to $pkg_version from CA Certs file\\\"\\n\\n  # Several metadata values get their defaults from the value of `$pkg_version`\\n  # so we must update these as well\\n  pkg_dirname=${pkg_name}-${pkg_version}\\n  pkg_prefix=$HAB_PKG_PATH/${pkg_origin}/${pkg_name}/${pkg_version}/${pkg_release}\\n  pkg_artifact=\\\"$HAB_CACHE_ARTIFACT_PATH/${pkg_origin}-${pkg_name}-${pkg_version}-${pkg_release}-${pkg_target}.${_artifact_ext}\\\"\\n  if [[ \\\"$CACHE_PATH\\\" == \\\"$SRC_PATH\\\" ]]; then\\n    local update_src_path=true\\n  fi\\n  CACHE_PATH=\\\"$HAB_CACHE_SRC_PATH/$pkg_dirname\\\"\\n  if [[ \\\"${update_src_path:-}\\\" == true ]]; then\\n    SRC_PATH=\\\"$CACHE_PATH\\\"\\n  fi\\n}\\n```\",\"target\":\"x86_64-linux\",\"tdeps\":[],\"visibility\":\"public\"}"
→ Using core/cacerts/2017.09.20/20171014212239
★ Install of core/cacerts/2017.09.20/20171014212239 complete with 0 new packages installed.
DEBUG 2018-04-04T19:21:03Z: habitat_common::command::package::install: install key_cache_path: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/cache/keys
DEBUG 2018-04-04T19:21:03Z: habitat_http_client::ssl: Setting CA file for SSL context to: /tmp/hab-pkg-export-docker.ZST3mmNWNApj/rootfs/hab/pkgs/core/cacerts/2017.09.20/20171014212239/ssl/cert.pem
DEBUG 2018-04-04T19:21:03Z: habitat_http_client::api_client: User-Agent: hab-pkg-export-docker/0.56.0-dev/20180403182701 (x86_64-linux; 4.4.0-1013-aws)
» Installing /hab/svc/builder-worker/data/952973993423486976/out/core-nginx-1.13.10-20180404191938-x86_64-linux.hart
✗✗✗
✗✗✗ No such file or directory (os error 2)
✗✗✗
builder_log_section::end::export_docker
builder_log::end::952973993423486976
fnichol commented 6 years ago

Closed by habitat-sh/habitat#4864