Skip to content

Instantly share code, notes, and snippets.

@00willo
Created April 23, 2019 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 00willo/bd2058a7558171da5e50b177ad83dd7f to your computer and use it in GitHub Desktop.
Save 00willo/bd2058a7558171da5e50b177ad83dd7f to your computer and use it in GitHub Desktop.
[vagrant@localhost src]$ ansible-bender --debug build --extra-ansible-args='-vvvvvv' simple-playbook.yaml
07:51:07.039 db.py DEBUG search for runtime dir
07:51:07.040 db.py DEBUG trying ~/.cache
07:51:07.041 db.py DEBUG runtime dir is /home/vagrant/.cache
07:51:07.041 core.py DEBUG selinux enforce status = 1
07:51:07.052 core.py DEBUG ab vars key = ab_vars_20190423075107052634
07:51:07.054 utils.py INFO running command: "['ansible-playbook', '--version']"
07:51:07.055 utils.py DEBUG ansible-playbook --version
07:51:07.459 utils.py DEBUG ansible-playbook 2.7.10
07:51:07.459 utils.py DEBUG config file = /etc/ansible/ansible.cfg
07:51:07.460 utils.py DEBUG configured module search path = ['/home/vagrant/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
07:51:07.461 utils.py DEBUG ansible python module location = /usr/lib/python3.7/site-packages/ansible
07:51:07.461 utils.py DEBUG executable location = /usr/bin/ansible-playbook
07:51:07.461 utils.py DEBUG python version = 3.7.0 (default, Aug 30 2018, 14:32:33) [GCC 8.2.1 20180801 (Red Hat 8.2.1-2)]
07:51:07.525 utils.py DEBUG it seems that ansible-playbook is not using python 2
07:51:07.526 core.py DEBUG ansible-playbook -c local -i /tmp/abv_56kf2_/i -e ansible_python_interpreter=/usr/bin/python3 .simple-playbook-20190423075107052634-bkcpqhksru.yaml
07:51:07.527 utils.py INFO running command: "['ansible-playbook', '-c', 'local', '-i', '/tmp/abv_56kf2_/i', '-e', 'ansible_python_interpreter=/usr/bin/python3', '.simple-playbook-20190423075107052634-bkcpqhksru.yaml']"
07:51:07.528 utils.py DEBUG ansible-playbook -c local -i /tmp/abv_56kf2_/i -e ansible_python_interpreter=/usr/bin/python3 .simple-playbook-20190423075107052634-bkcpqhksru.yaml
07:51:08.133 utils.py DEBUG
07:51:08.134 utils.py DEBUG PLAY [Let Ansible expand variables] ****************************************************************************************************************************************************************************************************************************
07:51:08.150 utils.py DEBUG
07:51:08.151 utils.py DEBUG TASK [debug] ***************************************************************************************************************************************************************************************************************************************************
07:51:08.187 utils.py DEBUG ok: [localhost] => {
07:51:08.188 utils.py DEBUG "msg": {
07:51:08.189 utils.py DEBUG "ansible_bender": {
07:51:08.189 utils.py DEBUG "base_image": "python:3-alpine",
07:51:08.190 utils.py DEBUG "target_image": {
07:51:08.190 utils.py DEBUG "environment": {
07:51:08.190 utils.py DEBUG "FILE_TO_PROCESS": "README.md"
07:51:08.191 utils.py DEBUG },
07:51:08.193 utils.py DEBUG "labels": {
07:51:08.194 utils.py DEBUG "built-by": "vagrant"
07:51:08.194 utils.py DEBUG },
07:51:08.195 utils.py DEBUG "name": "a-very-nice-image",
07:51:08.195 utils.py DEBUG "working_dir": "/src"
07:51:08.196 utils.py DEBUG },
07:51:08.197 utils.py DEBUG "working_container": {
07:51:08.198 utils.py DEBUG "volumes": [
07:51:08.201 utils.py DEBUG "/src:/src"
07:51:08.201 utils.py DEBUG ]
07:51:08.202 utils.py DEBUG }
07:51:08.202 utils.py DEBUG }
07:51:08.203 utils.py DEBUG }
07:51:08.203 utils.py DEBUG }
07:51:08.211 utils.py DEBUG
07:51:08.212 utils.py DEBUG TASK [copy] ****************************************************************************************************************************************************************************************************************************************************
07:51:08.747 utils.py DEBUG changed: [localhost]
07:51:08.750 utils.py DEBUG
07:51:08.751 utils.py DEBUG PLAY RECAP *****************************************************************************************************************************************************************************************************************************************************
07:51:08.751 utils.py DEBUG localhost : ok=2 changed=1 unreachable=0 failed=0
07:51:08.751 utils.py DEBUG
07:51:08.851 utils.py DEBUG can't obtain cache_tasks: 'cache_tasks'
07:51:08.851 utils.py DEBUG can't obtain layering: 'layering'
07:51:08.852 utils.py DEBUG can't obtain ansible_extra_args: 'ansible_extra_args'
07:51:08.860 buildah_builder.py DEBUG checking that podman command works
07:51:08.860 utils.py INFO running command: "['podman', 'version']"
07:51:08.861 utils.py DEBUG podman version
07:51:08.930 utils.py DEBUG Version: 1.2.0
07:51:08.930 utils.py DEBUG RemoteAPI Version: 1
07:51:08.931 utils.py DEBUG Go Version: go1.11.5
07:51:08.932 utils.py DEBUG OS/Arch: linux/amd64
07:51:08.935 buildah_builder.py DEBUG checking that buildah command works
07:51:08.936 utils.py INFO running command: "['buildah', 'version']"
07:51:08.936 utils.py DEBUG buildah version
07:51:08.969 utils.py DEBUG Version: 1.7
07:51:08.970 utils.py DEBUG Go Version: go1.11.5
07:51:08.971 utils.py DEBUG Image Spec: 1.0.0
07:51:08.972 utils.py DEBUG Runtime Spec: 1.0.0
07:51:08.973 utils.py DEBUG CNI Spec: 0.4.0
07:51:08.973 utils.py DEBUG libcni Version:
07:51:08.974 utils.py DEBUG Git Commit:
07:51:08.974 utils.py DEBUG Built: Thu Jan 1 00:00:00 1970
07:51:08.975 utils.py DEBUG OS/Arch: linux/amd64
07:51:08.977 utils.py INFO running command: "['buildah', 'inspect', '-t', 'image', 'python:3-alpine']"
07:51:08.978 utils.py DEBUG buildah inspect -t image python:3-alpine
07:51:09.174 utils.py DEBUG {
07:51:09.175 utils.py DEBUG "Type": "buildah 0.0.1",
07:51:09.176 utils.py DEBUG "FromImage": "docker.io/library/python:3-alpine",
07:51:09.177 utils.py DEBUG "FromImageID": "96c5c39abbb6766b2d15c4722fa3ac8b80e8f5f90462694acca05921081ece92",
07:51:09.178 utils.py DEBUG "Config": "{\"architecture\":\"amd64\",\"config\":{\"Hostname\":\"\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\"LANG=C.UTF-8\",\"GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D\",\"PYTHON_VERSION=3.7.3\",\"PYTHON_PIP_VERSION=19.0.3\"],\"Cmd\":[\"python3\"],\"ArgsEscaped\":true,\"Image\":\"sha256:ca46f49a18110398fd8f3fd76f2035eadfdadf0f626dc7ff41cb84edc577b06e\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"OnBuild\":null,\"Labels\":null},\"container\":\"00b6b3caffda3370e7f36f263843a3296a54b59a75661e73fadc7f186d77fea6\",\"container_config\":{\"Hostname\":\"00b6b3caffda\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\"LANG=C.UTF-8\",\"GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D\",\"PYTHON_VERSION=3.7.3\",\"PYTHON_PIP_VERSION=19.0.3\"],\"Cmd\":[\"/bin/sh\",\"-c\",\"#(nop) \",\"CMD [\\\"python3\\\"]\"],\"ArgsEscaped\":true,\"Image\":\"sha256:ca46f49a18110398fd8f3fd76f2035eadfdadf0f626dc7ff41cb84edc577b06e\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"OnBuild\":null,\"Labels\":{}},\"created\":\"2019-04-10T01:32:00.388106834Z\",\"docker_version\":\"18.06.1-ce\",\"history\":[{\"created\":\"2019-04-09T23:20:18.226548168Z\",\"created_by\":\"/bin/sh -c #(nop) ADD file:2e3a37883f56a4a278bec2931fc9f91fb9ebdaa9047540fe8fde419b84a1701b in / \"},{\"created\":\"2019-04-09T23:20:18.391201481Z\",\"created_by\":\"/bin/sh -c #(nop) CMD [\\\"/bin/sh\\\"]\",\"empty_layer\":true},{\"created\":\"2019-04-10T00:00:29.91161049Z\",\"created_by\":\"/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\"empty_layer\":true},{\"created\":\"2019-04-10T01:21:32.815371545Z\",\"created_by\":\"/bin/sh -c #(nop) ENV LANG=C.UTF-8\",\"empty_layer\":true},{\"created\":\"2019-04-10T01:21:34.380582921Z\",\"created_by\":\"/bin/sh -c apk add --no-cache ca-certificates\"},{\"created\":\"2019-04-10T01:27:29.827496702Z\",\"created_by\":\"/bin/sh -c #(nop) ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D\",\"empty_layer\":true},{\"created\":\"2019-04-10T01:27:30.064545774Z\",\"created_by\":\"/bin/sh -c #(nop) ENV PYTHON_VERSION=3.7.3\",\"empty_layer\":true},{\"created\":\"2019-04-10T01:31:49.667624105Z\",\"created_by\":\"/bin/sh -c set -ex \\t\\u0026\\u0026 apk add --no-cache --virtual .fetch-deps \\t\\tgnupg \\t\\ttar \\t\\txz \\t\\t\\u0026\\u0026 wget -O python.tar.xz \\\"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz\\\" \\t\\u0026\\u0026 wget -O python.tar.xz.asc \\\"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc\\\" \\t\\u0026\\u0026 export GNUPGHOME=\\\"$(mktemp -d)\\\" \\t\\u0026\\u0026 gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys \\\"$GPG_KEY\\\" \\t\\u0026\\u0026 gpg --batch --verify python.tar.xz.asc python.tar.xz \\t\\u0026\\u0026 { command -v gpgconf \\u003e /dev/null \\u0026\\u0026 gpgconf --kill all || :; } \\t\\u0026\\u0026 rm -rf \\\"$GNUPGHOME\\\" python.tar.xz.asc \\t\\u0026\\u0026 mkdir -p /usr/src/python \\t\\u0026\\u0026 tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \\t\\u0026\\u0026 rm python.tar.xz \\t\\t\\u0026\\u0026 apk add --no-cache --virtual .build-deps \\t\\tbzip2-dev \\t\\tcoreutils \\t\\tdpkg-dev dpkg \\t\\texpat-dev \\t\\tfindutils \\t\\tgcc \\t\\tgdbm-dev \\t\\tlibc-dev \\t\\tlibffi-dev \\t\\tlibnsl-dev \\t\\tlibtirpc-dev \\t\\tlinux-headers \\t\\tmake \\t\\tncurses-dev \\t\\topenssl-dev \\t\\tpax-utils \\t\\treadline-dev \\t\\tsqlite-dev \\t\\ttcl-dev \\t\\ttk \\t\\ttk-dev \\t\\tutil-linux-dev \\t\\txz-dev \\t\\tzlib-dev \\t\\u0026\\u0026 apk del .fetch-deps \\t\\t\\u0026\\u0026 cd /usr/src/python \\t\\u0026\\u0026 gnuArch=\\\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\\\" \\t\\u0026\\u0026 ./configure \\t\\t--build=\\\"$gnuArch\\\" \\t\\t--enable-loadable-sqlite-extensions \\t\\t--enable-shared \\t\\t--with-system-expat \\t\\t--with-system-ffi \\t\\t--without-ensurepip \\t\\u0026\\u0026 make -j \\\"$(nproc)\\\" \\t\\tEXTRA_CFLAGS=\\\"-DTHREAD_STACK_SIZE=0x100000\\\" \\t\\u0026\\u0026 make install \\t\\t\\u0026\\u0026 find /usr/local -type f -executable -not \\\\( -name '*tkinter*' \\\\) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \\t\\t| tr ',' '\\\\n' \\t\\t| sort -u \\t\\t| awk 'system(\\\"[ -e /usr/local/lib/\\\" $1 \\\" ]\\\") == 0 { next } { print \\\"so:\\\" $1 }' \\t\\t| xargs -rt apk add --no-cache --virtual .python-rundeps \\t\\u0026\\u0026 apk del .build-deps \\t\\t\\u0026\\u0026 find /usr/local -depth \\t\\t\\\\( \\t\\t\\t\\\\( -type d -a \\\\( -name test -o -name tests \\\\) \\\\) \\t\\t\\t-o \\t\\t\\t\\\\( -type f -a \\\\( -name '*.pyc' -o -name '*.pyo' \\\\) \\\\) \\t\\t\\\\) -exec rm -rf '{}' + \\t\\u0026\\u0026 rm -rf /usr/src/python \\t\\t\\u0026\\u0026 python3 --version\"},{\"created\":\"2019-04-10T01:31:50.888130841Z\",\"created_by\":\"/bin/sh -c cd /usr/local/bin \\t\\u0026\\u0026 ln -s idle3 idle \\t\\u0026\\u0026 ln -s pydoc3 pydoc \\t\\u0026\\u0026 ln -s python3 python \\t\\u0026\\u0026 ln -s python3-config python-config\"},{\"created\":\"2019-04-10T01:31:51.12055552Z\",\"created_by\":\"/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=19.0.3\",\"empty_layer\":true},{\"created\":\"2019-04-10T01:32:00.125084018Z\",\"created_by\":\"/bin/sh -c set -ex; \\t\\twget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \\t\\tpython get-pip.py \\t\\t--disable-pip-version-check \\t\\t--no-cache-dir \\t\\t\\\"pip==$PYTHON_PIP_VERSION\\\" \\t; \\tpip --version; \\t\\tfind /usr/local -depth \\t\\t\\\\( \\t\\t\\t\\\\( -type d -a \\\\( -name test -o -name tests \\\\) \\\\) \\t\\t\\t-o \\t\\t\\t\\\\( -type f -a \\\\( -name '*.pyc' -o -name '*.pyo' \\\\) \\\\) \\t\\t\\\\) -exec rm -rf '{}' +; \\trm -f get-pip.py\"},{\"created\":\"2019-04-10T01:32:00.388106834Z\",\"created_by\":\"/bin/sh -c #(nop) CMD [\\\"python3\\\"]\",\"empty_layer\":true}],\"os\":\"linux\",\"rootfs\":{\"type\":\"layers\",\"diff_ids\":[\"sha256:a464c54f93a9e88fc1d33df1e0e39cca427d60145a360962e8f19a1dbf900da9\",\"sha256:e0bf0f5358dff6e7e1881b98cf0645ad05ead298e48f4ba74bb0b16e206b00dd\",\"sha256:3ae48158b377591a97c40d64ad23c4bb5ececb7cdc5a02b0533d3784a8708661\",\"sha256:e5e1b10728eed8dd3f511b62353886b3b67b6c99cc37f81d5a68db3bd6afa6bb\",\"sha256:72fb5d8b68b10db04d0218785cb96339dbbd07ea6cc3ca1f0b8e275de7e03085\"]}}",
07:51:09.180 utils.py DEBUG "Manifest": "{\n \"schemaVersion\": 2,\n \"mediaType\": \"application/vnd.docker.distribution.manifest.v2+json\",\n \"config\": {\n \"mediaType\": \"application/vnd.docker.container.image.v1+json\",\n \"size\": 6133,\n \"digest\": \"sha256:96c5c39abbb6766b2d15c4722fa3ac8b80e8f5f90462694acca05921081ece92\"\n },\n \"layers\": [\n {\n \"mediaType\": \"application/vnd.docker.image.rootfs.diff.tar.gzip\",\n \"size\": 2757009,\n \"digest\": \"sha256:bdf0201b3a056acc4d6062cc88cd8a4ad5979983bfb640f15a145e09ed985f92\"\n },\n {\n \"mediaType\": \"application/vnd.docker.image.rootfs.diff.tar.gzip\",\n \"size\": 301875,\n \"digest\": \"sha256:59c926705abfce33273837742a03ad5b0208430695d4364f4b6b4629a5d720de\"\n },\n {\n \"mediaType\": \"application/vnd.docker.image.rootfs.diff.tar.gzip\",\n \"size\": 26383120,\n \"digest\": \"sha256:31ca6b067b5a66935efd36a1c6229d658834dbb32c710e96a9fa97803fd59ca0\"\n },\n {\n \"mediaType\": \"application/vnd.docker.image.rootfs.diff.tar.gzip\",\n \"size\": 230,\n \"digest\": \"sha256:b18bc4e1c47b7db80372437409c3c4e6f8244a7c867178c034ad5aa289cf45e4\"\n },\n {\n \"mediaType\": \"application/vnd.docker.image.rootfs.diff.tar.gzip\",\n \"size\": 1812966,\n \"digest\": \"sha256:380d283984d497224af449bda2910e49646ca3600a3d433dc658daa61fa29ac4\"\n }\n ]\n}",
07:51:09.182 utils.py DEBUG "Container": "",
07:51:09.183 utils.py DEBUG "ContainerID": "",
07:51:09.184 utils.py DEBUG "MountPoint": "",
07:51:09.187 utils.py DEBUG "ProcessLabel": "",
07:51:09.188 utils.py DEBUG "MountLabel": "",
07:51:09.191 utils.py DEBUG "ImageAnnotations": {},
07:51:09.191 utils.py DEBUG "ImageCreatedBy": "",
07:51:09.194 utils.py DEBUG "OCIv1": {
07:51:09.195 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:51:09.195 utils.py DEBUG "architecture": "amd64",
07:51:09.197 utils.py DEBUG "os": "linux",
07:51:09.198 utils.py DEBUG "config": {
07:51:09.200 utils.py DEBUG "Env": [
07:51:09.208 utils.py DEBUG "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
07:51:09.209 utils.py DEBUG "LANG=C.UTF-8",
07:51:09.210 utils.py DEBUG "GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:51:09.211 utils.py DEBUG "PYTHON_VERSION=3.7.3",
07:51:09.212 utils.py DEBUG "PYTHON_PIP_VERSION=19.0.3"
07:51:09.212 utils.py DEBUG ],
07:51:09.213 utils.py DEBUG "Cmd": [
07:51:09.213 utils.py DEBUG "python3"
07:51:09.214 utils.py DEBUG ]
07:51:09.214 utils.py DEBUG },
07:51:09.215 utils.py DEBUG "rootfs": {
07:51:09.216 utils.py DEBUG "type": "layers",
07:51:09.216 utils.py DEBUG "diff_ids": [
07:51:09.217 utils.py DEBUG "sha256:a464c54f93a9e88fc1d33df1e0e39cca427d60145a360962e8f19a1dbf900da9",
07:51:09.218 utils.py DEBUG "sha256:e0bf0f5358dff6e7e1881b98cf0645ad05ead298e48f4ba74bb0b16e206b00dd",
07:51:09.219 utils.py DEBUG "sha256:3ae48158b377591a97c40d64ad23c4bb5ececb7cdc5a02b0533d3784a8708661",
07:51:09.219 utils.py DEBUG "sha256:e5e1b10728eed8dd3f511b62353886b3b67b6c99cc37f81d5a68db3bd6afa6bb",
07:51:09.220 utils.py DEBUG "sha256:72fb5d8b68b10db04d0218785cb96339dbbd07ea6cc3ca1f0b8e275de7e03085"
07:51:09.221 utils.py DEBUG ]
07:51:09.222 utils.py DEBUG },
07:51:09.222 utils.py DEBUG "history": [
07:51:09.223 utils.py DEBUG {
07:51:09.224 utils.py DEBUG "created": "2019-04-09T23:20:18.226548168Z",
07:51:09.225 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ADD file:2e3a37883f56a4a278bec2931fc9f91fb9ebdaa9047540fe8fde419b84a1701b in / "
07:51:09.227 utils.py DEBUG },
07:51:09.228 utils.py DEBUG {
07:51:09.229 utils.py DEBUG "created": "2019-04-09T23:20:18.391201481Z",
07:51:09.230 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"/bin/sh\"]",
07:51:09.232 utils.py DEBUG "empty_layer": true
07:51:09.233 utils.py DEBUG },
07:51:09.234 utils.py DEBUG {
07:51:09.236 utils.py DEBUG "created": "2019-04-10T00:00:29.91161049Z",
07:51:09.236 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
07:51:09.237 utils.py DEBUG "empty_layer": true
07:51:09.238 utils.py DEBUG },
07:51:09.239 utils.py DEBUG {
07:51:09.240 utils.py DEBUG "created": "2019-04-10T01:21:32.815371545Z",
07:51:09.242 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV LANG=C.UTF-8",
07:51:09.242 utils.py DEBUG "empty_layer": true
07:51:09.243 utils.py DEBUG },
07:51:09.245 utils.py DEBUG {
07:51:09.246 utils.py DEBUG "created": "2019-04-10T01:21:34.380582921Z",
07:51:09.247 utils.py DEBUG "created_by": "/bin/sh -c apk add --no-cache ca-certificates"
07:51:09.249 utils.py DEBUG },
07:51:09.250 utils.py DEBUG {
07:51:09.250 utils.py DEBUG "created": "2019-04-10T01:27:29.827496702Z",
07:51:09.251 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:51:09.252 utils.py DEBUG "empty_layer": true
07:51:09.255 utils.py DEBUG },
07:51:09.257 utils.py DEBUG {
07:51:09.258 utils.py DEBUG "created": "2019-04-10T01:27:30.064545774Z",
07:51:09.259 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_VERSION=3.7.3",
07:51:09.260 utils.py DEBUG "empty_layer": true
07:51:09.261 utils.py DEBUG },
07:51:09.262 utils.py DEBUG {
07:51:09.263 utils.py DEBUG "created": "2019-04-10T01:31:49.667624105Z",
07:51:09.265 utils.py DEBUG "created_by": "/bin/sh -c set -ex \t\u0026\u0026 apk add --no-cache --virtual .fetch-deps \t\tgnupg \t\ttar \t\txz \t\t\u0026\u0026 wget -O python.tar.xz \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz\" \t\u0026\u0026 wget -O python.tar.xz.asc \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc\" \t\u0026\u0026 export GNUPGHOME=\"$(mktemp -d)\" \t\u0026\u0026 gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys \"$GPG_KEY\" \t\u0026\u0026 gpg --batch --verify python.tar.xz.asc python.tar.xz \t\u0026\u0026 { command -v gpgconf \u003e /dev/null \u0026\u0026 gpgconf --kill all || :; } \t\u0026\u0026 rm -rf \"$GNUPGHOME\" python.tar.xz.asc \t\u0026\u0026 mkdir -p /usr/src/python \t\u0026\u0026 tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \t\u0026\u0026 rm python.tar.xz \t\t\u0026\u0026 apk add --no-cache --virtual .build-deps \t\tbzip2-dev \t\tcoreutils \t\tdpkg-dev dpkg \t\texpat-dev \t\tfindutils \t\tgcc \t\tgdbm-dev \t\tlibc-dev \t\tlibffi-dev \t\tlibnsl-dev \t\tlibtirpc-dev \t\tlinux-headers \t\tmake \t\tncurses-dev \t\topenssl-dev \t\tpax-utils \t\treadline-dev \t\tsqlite-dev \t\ttcl-dev \t\ttk \t\ttk-dev \t\tutil-linux-dev \t\txz-dev \t\tzlib-dev \t\u0026\u0026 apk del .fetch-deps \t\t\u0026\u0026 cd /usr/src/python \t\u0026\u0026 gnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\" \t\u0026\u0026 ./configure \t\t--build=\"$gnuArch\" \t\t--enable-loadable-sqlite-extensions \t\t--enable-shared \t\t--with-system-expat \t\t--with-system-ffi \t\t--without-ensurepip \t\u0026\u0026 make -j \"$(nproc)\" \t\tEXTRA_CFLAGS=\"-DTHREAD_STACK_SIZE=0x100000\" \t\u0026\u0026 make install \t\t\u0026\u0026 find /usr/local -type f -executable -not \\( -name '*tkinter*' \\) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \t\t| tr ',' '\\n' \t\t| sort -u \t\t| awk 'system(\"[ -e /usr/local/lib/\" $1 \" ]\") == 0 { next } { print \"so:\" $1 }' \t\t| xargs -rt apk add --no-cache --virtual .python-rundeps \t\u0026\u0026 apk del .build-deps \t\t\u0026\u0026 find /usr/local -depth \t\t\\( \t\t\t\\( -type d -a \\( -name test -o -name tests \\) \\) \t\t\t-o \t\t\t\\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' \\) \\) \t\t\\) -exec rm -rf '{}' + \t\u0026\u0026 rm -rf /usr/src/python \t\t\u0026\u0026 python3 --version"
07:51:09.266 utils.py DEBUG },
07:51:09.267 utils.py DEBUG {
07:51:09.268 utils.py DEBUG "created": "2019-04-10T01:31:50.888130841Z",
07:51:09.269 utils.py DEBUG "created_by": "/bin/sh -c cd /usr/local/bin \t\u0026\u0026 ln -s idle3 idle \t\u0026\u0026 ln -s pydoc3 pydoc \t\u0026\u0026 ln -s python3 python \t\u0026\u0026 ln -s python3-config python-config"
07:51:09.270 utils.py DEBUG },
07:51:09.271 utils.py DEBUG {
07:51:09.271 utils.py DEBUG "created": "2019-04-10T01:31:51.12055552Z",
07:51:09.272 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=19.0.3",
07:51:09.273 utils.py DEBUG "empty_layer": true
07:51:09.274 utils.py DEBUG },
07:51:09.274 utils.py DEBUG {
07:51:09.275 utils.py DEBUG "created": "2019-04-10T01:32:00.125084018Z",
07:51:09.276 utils.py DEBUG "created_by": "/bin/sh -c set -ex; \t\twget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \t\tpython get-pip.py \t\t--disable-pip-version-check \t\t--no-cache-dir \t\t\"pip==$PYTHON_PIP_VERSION\" \t; \tpip --version; \t\tfind /usr/local -depth \t\t\\( \t\t\t\\( -type d -a \\( -name test -o -name tests \\) \\) \t\t\t-o \t\t\t\\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' \\) \\) \t\t\\) -exec rm -rf '{}' +; \trm -f get-pip.py"
07:51:09.276 utils.py DEBUG },
07:51:09.277 utils.py DEBUG {
07:51:09.279 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:51:09.280 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"python3\"]",
07:51:09.281 utils.py DEBUG "empty_layer": true
07:51:09.282 utils.py DEBUG }
07:51:09.282 utils.py DEBUG ]
07:51:09.283 utils.py DEBUG },
07:51:09.283 utils.py DEBUG "Docker": {
07:51:09.284 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:51:09.285 utils.py DEBUG "container": "00b6b3caffda3370e7f36f263843a3296a54b59a75661e73fadc7f186d77fea6",
07:51:09.286 utils.py DEBUG "container_config": {
07:51:09.287 utils.py DEBUG "Hostname": "",
07:51:09.288 utils.py DEBUG "Domainname": "",
07:51:09.289 utils.py DEBUG "User": "",
07:51:09.290 utils.py DEBUG "AttachStdin": false,
07:51:09.290 utils.py DEBUG "AttachStdout": false,
07:51:09.291 utils.py DEBUG "AttachStderr": false,
07:51:09.292 utils.py DEBUG "Tty": false,
07:51:09.292 utils.py DEBUG "OpenStdin": false,
07:51:09.293 utils.py DEBUG "StdinOnce": false,
07:51:09.294 utils.py DEBUG "Env": [
07:51:09.295 utils.py DEBUG "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
07:51:09.295 utils.py DEBUG "LANG=C.UTF-8",
07:51:09.295 utils.py DEBUG "GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:51:09.296 utils.py DEBUG "PYTHON_VERSION=3.7.3",
07:51:09.297 utils.py DEBUG "PYTHON_PIP_VERSION=19.0.3"
07:51:09.297 utils.py DEBUG ],
07:51:09.298 utils.py DEBUG "Cmd": [
07:51:09.298 utils.py DEBUG "python3"
07:51:09.299 utils.py DEBUG ],
07:51:09.303 utils.py DEBUG "ArgsEscaped": true,
07:51:09.303 utils.py DEBUG "Image": "sha256:ca46f49a18110398fd8f3fd76f2035eadfdadf0f626dc7ff41cb84edc577b06e",
07:51:09.304 utils.py DEBUG "Volumes": null,
07:51:09.304 utils.py DEBUG "WorkingDir": "",
07:51:09.304 utils.py DEBUG "Entrypoint": null,
07:51:09.305 utils.py DEBUG "OnBuild": null,
07:51:09.306 utils.py DEBUG "Labels": null
07:51:09.307 utils.py DEBUG },
07:51:09.309 utils.py DEBUG "config": {
07:51:09.310 utils.py DEBUG "Hostname": "",
07:51:09.312 utils.py DEBUG "Domainname": "",
07:51:09.312 utils.py DEBUG "User": "",
07:51:09.313 utils.py DEBUG "AttachStdin": false,
07:51:09.314 utils.py DEBUG "AttachStdout": false,
07:51:09.314 utils.py DEBUG "AttachStderr": false,
07:51:09.314 utils.py DEBUG "Tty": false,
07:51:09.314 utils.py DEBUG "OpenStdin": false,
07:51:09.314 utils.py DEBUG "StdinOnce": false,
07:51:09.316 utils.py DEBUG "Env": [
07:51:09.316 utils.py DEBUG "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
07:51:09.317 utils.py DEBUG "LANG=C.UTF-8",
07:51:09.318 utils.py DEBUG "GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:51:09.319 utils.py DEBUG "PYTHON_VERSION=3.7.3",
07:51:09.320 utils.py DEBUG "PYTHON_PIP_VERSION=19.0.3"
07:51:09.320 utils.py DEBUG ],
07:51:09.320 utils.py DEBUG "Cmd": [
07:51:09.321 utils.py DEBUG "python3"
07:51:09.321 utils.py DEBUG ],
07:51:09.321 utils.py DEBUG "ArgsEscaped": true,
07:51:09.321 utils.py DEBUG "Image": "sha256:ca46f49a18110398fd8f3fd76f2035eadfdadf0f626dc7ff41cb84edc577b06e",
07:51:09.321 utils.py DEBUG "Volumes": null,
07:51:09.322 utils.py DEBUG "WorkingDir": "",
07:51:09.323 utils.py DEBUG "Entrypoint": null,
07:51:09.323 utils.py DEBUG "OnBuild": null,
07:51:09.324 utils.py DEBUG "Labels": null
07:51:09.325 utils.py DEBUG },
07:51:09.325 utils.py DEBUG "architecture": "amd64",
07:51:09.326 utils.py DEBUG "os": "linux",
07:51:09.327 utils.py DEBUG "rootfs": {
07:51:09.328 utils.py DEBUG "type": "layers",
07:51:09.329 utils.py DEBUG "diff_ids": [
07:51:09.330 utils.py DEBUG "sha256:a464c54f93a9e88fc1d33df1e0e39cca427d60145a360962e8f19a1dbf900da9",
07:51:09.331 utils.py DEBUG "sha256:e0bf0f5358dff6e7e1881b98cf0645ad05ead298e48f4ba74bb0b16e206b00dd",
07:51:09.332 utils.py DEBUG "sha256:3ae48158b377591a97c40d64ad23c4bb5ececb7cdc5a02b0533d3784a8708661",
07:51:09.332 utils.py DEBUG "sha256:e5e1b10728eed8dd3f511b62353886b3b67b6c99cc37f81d5a68db3bd6afa6bb",
07:51:09.333 utils.py DEBUG "sha256:72fb5d8b68b10db04d0218785cb96339dbbd07ea6cc3ca1f0b8e275de7e03085"
07:51:09.334 utils.py DEBUG ]
07:51:09.334 utils.py DEBUG },
07:51:09.336 utils.py DEBUG "history": [
07:51:09.336 utils.py DEBUG {
07:51:09.337 utils.py DEBUG "created": "2019-04-09T23:20:18.226548168Z",
07:51:09.338 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ADD file:2e3a37883f56a4a278bec2931fc9f91fb9ebdaa9047540fe8fde419b84a1701b in / "
07:51:09.339 utils.py DEBUG },
07:51:09.339 utils.py DEBUG {
07:51:09.340 utils.py DEBUG "created": "2019-04-09T23:20:18.391201481Z",
07:51:09.341 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"/bin/sh\"]",
07:51:09.341 utils.py DEBUG "empty_layer": true
07:51:09.342 utils.py DEBUG },
07:51:09.343 utils.py DEBUG {
07:51:09.343 utils.py DEBUG "created": "2019-04-10T00:00:29.91161049Z",
07:51:09.344 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
07:51:09.344 utils.py DEBUG "empty_layer": true
07:51:09.345 utils.py DEBUG },
07:51:09.346 utils.py DEBUG {
07:51:09.347 utils.py DEBUG "created": "2019-04-10T01:21:32.815371545Z",
07:51:09.347 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV LANG=C.UTF-8",
07:51:09.347 utils.py DEBUG "empty_layer": true
07:51:09.348 utils.py DEBUG },
07:51:09.349 utils.py DEBUG {
07:51:09.349 utils.py DEBUG "created": "2019-04-10T01:21:34.380582921Z",
07:51:09.349 utils.py DEBUG "created_by": "/bin/sh -c apk add --no-cache ca-certificates"
07:51:09.349 utils.py DEBUG },
07:51:09.350 utils.py DEBUG {
07:51:09.350 utils.py DEBUG "created": "2019-04-10T01:27:29.827496702Z",
07:51:09.350 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:51:09.350 utils.py DEBUG "empty_layer": true
07:51:09.350 utils.py DEBUG },
07:51:09.350 utils.py DEBUG {
07:51:09.350 utils.py DEBUG "created": "2019-04-10T01:27:30.064545774Z",
07:51:09.350 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_VERSION=3.7.3",
07:51:09.353 utils.py DEBUG "empty_layer": true
07:51:09.353 utils.py DEBUG },
07:51:09.353 utils.py DEBUG {
07:51:09.353 utils.py DEBUG "created": "2019-04-10T01:31:49.667624105Z",
07:51:09.353 utils.py DEBUG "created_by": "/bin/sh -c set -ex \t\u0026\u0026 apk add --no-cache --virtual .fetch-deps \t\tgnupg \t\ttar \t\txz \t\t\u0026\u0026 wget -O python.tar.xz \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz\" \t\u0026\u0026 wget -O python.tar.xz.asc \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc\" \t\u0026\u0026 export GNUPGHOME=\"$(mktemp -d)\" \t\u0026\u0026 gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys \"$GPG_KEY\" \t\u0026\u0026 gpg --batch --verify python.tar.xz.asc python.tar.xz \t\u0026\u0026 { command -v gpgconf \u003e /dev/null \u0026\u0026 gpgconf --kill all || :; } \t\u0026\u0026 rm -rf \"$GNUPGHOME\" python.tar.xz.asc \t\u0026\u0026 mkdir -p /usr/src/python \t\u0026\u0026 tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \t\u0026\u0026 rm python.tar.xz \t\t\u0026\u0026 apk add --no-cache --virtual .build-deps \t\tbzip2-dev \t\tcoreutils \t\tdpkg-dev dpkg \t\texpat-dev \t\tfindutils \t\tgcc \t\tgdbm-dev \t\tlibc-dev \t\tlibffi-dev \t\tlibnsl-dev \t\tlibtirpc-dev \t\tlinux-headers \t\tmake \t\tncurses-dev \t\topenssl-dev \t\tpax-utils \t\treadline-dev \t\tsqlite-dev \t\ttcl-dev \t\ttk \t\ttk-dev \t\tutil-linux-dev \t\txz-dev \t\tzlib-dev \t\u0026\u0026 apk del .fetch-deps \t\t\u0026\u0026 cd /usr/src/python \t\u0026\u0026 gnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\" \t\u0026\u0026 ./configure \t\t--build=\"$gnuArch\" \t\t--enable-loadable-sqlite-extensions \t\t--enable-shared \t\t--with-system-expat \t\t--with-system-ffi \t\t--without-ensurepip \t\u0026\u0026 make -j \"$(nproc)\" \t\tEXTRA_CFLAGS=\"-DTHREAD_STACK_SIZE=0x100000\" \t\u0026\u0026 make install \t\t\u0026\u0026 find /usr/local -type f -executable -not \\( -name '*tkinter*' \\) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \t\t| tr ',' '\\n' \t\t| sort -u \t\t| awk 'system(\"[ -e /usr/local/lib/\" $1 \" ]\") == 0 { next } { print \"so:\" $1 }' \t\t| xargs -rt apk add --no-cache --virtual .python-rundeps \t\u0026\u0026 apk del .build-deps \t\t\u0026\u0026 find /usr/local -depth \t\t\\( \t\t\t\\( -type d -a \\( -name test -o -name tests \\) \\) \t\t\t-o \t\t\t\\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' \\) \\) \t\t\\) -exec rm -rf '{}' + \t\u0026\u0026 rm -rf /usr/src/python \t\t\u0026\u0026 python3 --version"
07:51:09.353 utils.py DEBUG },
07:51:09.353 utils.py DEBUG {
07:51:09.353 utils.py DEBUG "created": "2019-04-10T01:31:50.888130841Z",
07:51:09.353 utils.py DEBUG "created_by": "/bin/sh -c cd /usr/local/bin \t\u0026\u0026 ln -s idle3 idle \t\u0026\u0026 ln -s pydoc3 pydoc \t\u0026\u0026 ln -s python3 python \t\u0026\u0026 ln -s python3-config python-config"
07:51:09.353 utils.py DEBUG },
07:51:09.354 utils.py DEBUG {
07:51:09.354 utils.py DEBUG "created": "2019-04-10T01:31:51.12055552Z",
07:51:09.354 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=19.0.3",
07:51:09.354 utils.py DEBUG "empty_layer": true
07:51:09.355 utils.py DEBUG },
07:51:09.355 utils.py DEBUG {
07:51:09.355 utils.py DEBUG "created": "2019-04-10T01:32:00.125084018Z",
07:51:09.355 utils.py DEBUG "created_by": "/bin/sh -c set -ex; \t\twget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \t\tpython get-pip.py \t\t--disable-pip-version-check \t\t--no-cache-dir \t\t\"pip==$PYTHON_PIP_VERSION\" \t; \tpip --version; \t\tfind /usr/local -depth \t\t\\( \t\t\t\\( -type d -a \\( -name test -o -name tests \\) \\) \t\t\t-o \t\t\t\\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' \\) \\) \t\t\\) -exec rm -rf '{}' +; \trm -f get-pip.py"
07:51:09.355 utils.py DEBUG },
07:51:09.355 utils.py DEBUG {
07:51:09.355 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:51:09.355 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"python3\"]",
07:51:09.355 utils.py DEBUG "empty_layer": true
07:51:09.356 utils.py DEBUG }
07:51:09.356 utils.py DEBUG ]
07:51:09.357 utils.py DEBUG },
07:51:09.357 utils.py DEBUG "DefaultMountsFilePath": "",
07:51:09.358 utils.py DEBUG "Isolation": "IsolationDefault",
07:51:09.358 utils.py DEBUG "NamespaceOptions": [
07:51:09.358 utils.py DEBUG {
07:51:09.358 utils.py DEBUG "Name": "cgroup",
07:51:09.358 utils.py DEBUG "Host": true,
07:51:09.358 utils.py DEBUG "Path": ""
07:51:09.359 utils.py DEBUG },
07:51:09.359 utils.py DEBUG {
07:51:09.359 utils.py DEBUG "Name": "ipc",
07:51:09.359 utils.py DEBUG "Host": false,
07:51:09.359 utils.py DEBUG "Path": ""
07:51:09.359 utils.py DEBUG },
07:51:09.359 utils.py DEBUG {
07:51:09.360 utils.py DEBUG "Name": "mount",
07:51:09.360 utils.py DEBUG "Host": false,
07:51:09.360 utils.py DEBUG "Path": ""
07:51:09.360 utils.py DEBUG },
07:51:09.361 utils.py DEBUG {
07:51:09.361 utils.py DEBUG "Name": "network",
07:51:09.362 utils.py DEBUG "Host": false,
07:51:09.362 utils.py DEBUG "Path": ""
07:51:09.362 utils.py DEBUG },
07:51:09.362 utils.py DEBUG {
07:51:09.362 utils.py DEBUG "Name": "pid",
07:51:09.363 utils.py DEBUG "Host": false,
07:51:09.363 utils.py DEBUG "Path": ""
07:51:09.364 utils.py DEBUG },
07:51:09.364 utils.py DEBUG {
07:51:09.365 utils.py DEBUG "Name": "user",
07:51:09.365 utils.py DEBUG "Host": true,
07:51:09.365 utils.py DEBUG "Path": ""
07:51:09.366 utils.py DEBUG },
07:51:09.366 utils.py DEBUG {
07:51:09.366 utils.py DEBUG "Name": "uts",
07:51:09.367 utils.py DEBUG "Host": false,
07:51:09.368 utils.py DEBUG "Path": ""
07:51:09.369 utils.py DEBUG }
07:51:09.369 utils.py DEBUG ],
07:51:09.370 utils.py DEBUG "ConfigureNetwork": "NetworkDefault",
07:51:09.371 utils.py DEBUG "CNIPluginPath": "",
07:51:09.371 utils.py DEBUG "CNIConfigDir": "",
07:51:09.371 utils.py DEBUG "IDMappingOptions": {
07:51:09.371 utils.py DEBUG "HostUIDMapping": true,
07:51:09.371 utils.py DEBUG "HostGIDMapping": true,
07:51:09.372 utils.py DEBUG "UIDMap": [],
07:51:09.372 utils.py DEBUG "GIDMap": []
07:51:09.372 utils.py DEBUG },
07:51:09.373 utils.py DEBUG "DefaultCapabilities": [
07:51:09.373 utils.py DEBUG "CAP_AUDIT_WRITE",
07:51:09.374 utils.py DEBUG "CAP_CHOWN",
07:51:09.374 utils.py DEBUG "CAP_DAC_OVERRIDE",
07:51:09.375 utils.py DEBUG "CAP_FOWNER",
07:51:09.375 utils.py DEBUG "CAP_FSETID",
07:51:09.375 utils.py DEBUG "CAP_KILL",
07:51:09.376 utils.py DEBUG "CAP_MKNOD",
07:51:09.376 utils.py DEBUG "CAP_NET_BIND_SERVICE",
07:51:09.376 utils.py DEBUG "CAP_SETFCAP",
07:51:09.377 utils.py DEBUG "CAP_SETGID",
07:51:09.377 utils.py DEBUG "CAP_SETPCAP",
07:51:09.377 utils.py DEBUG "CAP_SETUID",
07:51:09.378 utils.py DEBUG "CAP_SYS_CHROOT"
07:51:09.378 utils.py DEBUG ],
07:51:09.378 utils.py DEBUG "AddCapabilities": [],
07:51:09.379 utils.py DEBUG "DropCapabilities": [],
07:51:09.379 utils.py DEBUG "History": [
07:51:09.379 utils.py DEBUG {
07:51:09.380 utils.py DEBUG "created": "2019-04-09T23:20:18.226548168Z",
07:51:09.380 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ADD file:2e3a37883f56a4a278bec2931fc9f91fb9ebdaa9047540fe8fde419b84a1701b in / "
07:51:09.380 utils.py DEBUG },
07:51:09.381 utils.py DEBUG {
07:51:09.382 utils.py DEBUG "created": "2019-04-09T23:20:18.391201481Z",
07:51:09.382 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"/bin/sh\"]",
07:51:09.383 utils.py DEBUG "empty_layer": true
07:51:09.383 utils.py DEBUG },
07:51:09.383 utils.py DEBUG {
07:51:09.383 utils.py DEBUG "created": "2019-04-10T00:00:29.91161049Z",
07:51:09.384 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
07:51:09.384 utils.py DEBUG "empty_layer": true
07:51:09.384 utils.py DEBUG },
07:51:09.385 utils.py DEBUG {
07:51:09.385 utils.py DEBUG "created": "2019-04-10T01:21:32.815371545Z",
07:51:09.385 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV LANG=C.UTF-8",
07:51:09.386 utils.py DEBUG "empty_layer": true
07:51:09.386 utils.py DEBUG },
07:51:09.387 utils.py DEBUG {
07:51:09.387 utils.py DEBUG "created": "2019-04-10T01:21:34.380582921Z",
07:51:09.387 utils.py DEBUG "created_by": "/bin/sh -c apk add --no-cache ca-certificates"
07:51:09.387 utils.py DEBUG },
07:51:09.387 utils.py DEBUG {
07:51:09.388 utils.py DEBUG "created": "2019-04-10T01:27:29.827496702Z",
07:51:09.388 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:51:09.388 utils.py DEBUG "empty_layer": true
07:51:09.389 utils.py DEBUG },
07:51:09.389 utils.py DEBUG {
07:51:09.390 utils.py DEBUG "created": "2019-04-10T01:27:30.064545774Z",
07:51:09.390 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_VERSION=3.7.3",
07:51:09.391 utils.py DEBUG "empty_layer": true
07:51:09.391 utils.py DEBUG },
07:51:09.392 utils.py DEBUG {
07:51:09.392 utils.py DEBUG "created": "2019-04-10T01:31:49.667624105Z",
07:51:09.392 utils.py DEBUG "created_by": "/bin/sh -c set -ex \t\u0026\u0026 apk add --no-cache --virtual .fetch-deps \t\tgnupg \t\ttar \t\txz \t\t\u0026\u0026 wget -O python.tar.xz \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz\" \t\u0026\u0026 wget -O python.tar.xz.asc \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc\" \t\u0026\u0026 export GNUPGHOME=\"$(mktemp -d)\" \t\u0026\u0026 gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys \"$GPG_KEY\" \t\u0026\u0026 gpg --batch --verify python.tar.xz.asc python.tar.xz \t\u0026\u0026 { command -v gpgconf \u003e /dev/null \u0026\u0026 gpgconf --kill all || :; } \t\u0026\u0026 rm -rf \"$GNUPGHOME\" python.tar.xz.asc \t\u0026\u0026 mkdir -p /usr/src/python \t\u0026\u0026 tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \t\u0026\u0026 rm python.tar.xz \t\t\u0026\u0026 apk add --no-cache --virtual .build-deps \t\tbzip2-dev \t\tcoreutils \t\tdpkg-dev dpkg \t\texpat-dev \t\tfindutils \t\tgcc \t\tgdbm-dev \t\tlibc-dev \t\tlibffi-dev \t\tlibnsl-dev \t\tlibtirpc-dev \t\tlinux-headers \t\tmake \t\tncurses-dev \t\topenssl-dev \t\tpax-utils \t\treadline-dev \t\tsqlite-dev \t\ttcl-dev \t\ttk \t\ttk-dev \t\tutil-linux-dev \t\txz-dev \t\tzlib-dev \t\u0026\u0026 apk del .fetch-deps \t\t\u0026\u0026 cd /usr/src/python \t\u0026\u0026 gnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\" \t\u0026\u0026 ./configure \t\t--build=\"$gnuArch\" \t\t--enable-loadable-sqlite-extensions \t\t--enable-shared \t\t--with-system-expat \t\t--with-system-ffi \t\t--without-ensurepip \t\u0026\u0026 make -j \"$(nproc)\" \t\tEXTRA_CFLAGS=\"-DTHREAD_STACK_SIZE=0x100000\" \t\u0026\u0026 make install \t\t\u0026\u0026 find /usr/local -type f -executable -not \\( -name '*tkinter*' \\) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \t\t| tr ',' '\\n' \t\t| sort -u \t\t| awk 'system(\"[ -e /usr/local/lib/\" $1 \" ]\") == 0 { next } { print \"so:\" $1 }' \t\t| xargs -rt apk add --no-cache --virtual .python-rundeps \t\u0026\u0026 apk del .build-deps \t\t\u0026\u0026 find /usr/local -depth \t\t\\( \t\t\t\\( -type d -a \\( -name test -o -name tests \\) \\) \t\t\t-o \t\t\t\\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' \\) \\) \t\t\\) -exec rm -rf '{}' + \t\u0026\u0026 rm -rf /usr/src/python \t\t\u0026\u0026 python3 --version"
07:51:09.394 utils.py DEBUG },
07:51:09.394 utils.py DEBUG {
07:51:09.395 utils.py DEBUG "created": "2019-04-10T01:31:50.888130841Z",
07:51:09.395 utils.py DEBUG "created_by": "/bin/sh -c cd /usr/local/bin \t\u0026\u0026 ln -s idle3 idle \t\u0026\u0026 ln -s pydoc3 pydoc \t\u0026\u0026 ln -s python3 python \t\u0026\u0026 ln -s python3-config python-config"
07:51:09.395 utils.py DEBUG },
07:51:09.395 utils.py DEBUG {
07:51:09.395 utils.py DEBUG "created": "2019-04-10T01:31:51.12055552Z",
07:51:09.395 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=19.0.3",
07:51:09.395 utils.py DEBUG "empty_layer": true
07:51:09.395 utils.py DEBUG },
07:51:09.395 utils.py DEBUG {
07:51:09.395 utils.py DEBUG "created": "2019-04-10T01:32:00.125084018Z",
07:51:09.395 utils.py DEBUG "created_by": "/bin/sh -c set -ex; \t\twget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \t\tpython get-pip.py \t\t--disable-pip-version-check \t\t--no-cache-dir \t\t\"pip==$PYTHON_PIP_VERSION\" \t; \tpip --version; \t\tfind /usr/local -depth \t\t\\( \t\t\t\\( -type d -a \\( -name test -o -name tests \\) \\) \t\t\t-o \t\t\t\\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' \\) \\) \t\t\\) -exec rm -rf '{}' +; \trm -f get-pip.py"
07:51:09.395 utils.py DEBUG },
07:51:09.395 utils.py DEBUG {
07:51:09.395 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:51:09.395 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"python3\"]",
07:51:09.395 utils.py DEBUG "empty_layer": true
07:51:09.396 utils.py DEBUG },
07:51:09.396 utils.py DEBUG {
07:51:09.396 utils.py DEBUG "created": "2019-04-23T07:51:09.173523814Z"
07:51:09.396 utils.py DEBUG }
07:51:09.397 utils.py DEBUG ]
07:51:09.397 utils.py DEBUG }
07:51:09.397 buildah_builder.py DEBUG trying to create a dummy container using podman
07:51:09.398 utils.py INFO running command: "['podman', 'run', '--rm', 'python:3-alpine', 'true']"
07:51:09.398 utils.py DEBUG podman run --rm python:3-alpine true
Traceback (most recent call last):
File "/usr/local/bin/ansible-bender", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/ansible_bender/cli.py", line 358, in main
sys.exit(CLI().run())
File "/usr/local/lib/python3.7/site-packages/ansible_bender/cli.py", line 325, in run
self._build()
File "/usr/local/lib/python3.7/site-packages/ansible_bender/cli.py", line 280, in _build
self.app.build(build)
File "/usr/local/lib/python3.7/site-packages/ansible_bender/api.py", line 76, in build
builder.check_container_creation()
File "/usr/local/lib/python3.7/site-packages/ansible_bender/builders/buildah_builder.py", line 298, in check_container_creation
podman_run_cmd(self.build.base_image, ["true"], log_stderr=True)
File "/usr/local/lib/python3.7/site-packages/ansible_bender/builders/buildah_builder.py", line 57, in podman_run_cmd
return_output=return_output, log_stderr=log_stderr)
File "/usr/local/lib/python3.7/site-packages/ansible_bender/utils.py", line 112, in run_cmd
stderr=errout, output=out)
subprocess.CalledProcessError: Command '['podman', 'run', '--rm', 'python:3-alpine', 'true']' returned non-zero exit status 139.
[vagrant@localhost src]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment