Skip to content

Instantly share code, notes, and snippets.

@00willo
Created April 23, 2019 07:50
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/c6770e90a967d475c7dae410193cb777 to your computer and use it in GitHub Desktop.
Save 00willo/c6770e90a967d475c7dae410193cb777 to your computer and use it in GitHub Desktop.
[root@localhost src]# ansible-bender --debug build --extra-ansible-args='-vvvvvv' simple-playbook.yaml
07:45:38.627 db.py DEBUG search for runtime dir
07:45:38.627 db.py DEBUG trying ~/.cache
07:45:38.628 db.py DEBUG runtime dir is /root/.cache
07:45:38.629 core.py DEBUG selinux enforce status = 1
07:45:38.637 core.py DEBUG ab vars key = ab_vars_20190423074538637479
07:45:38.640 utils.py INFO running command: "['ansible-playbook', '--version']"
07:45:38.641 utils.py DEBUG ansible-playbook --version
07:45:39.055 utils.py DEBUG ansible-playbook 2.7.10
07:45:39.056 utils.py DEBUG config file = /etc/ansible/ansible.cfg
07:45:39.056 utils.py DEBUG configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
07:45:39.057 utils.py DEBUG ansible python module location = /usr/lib/python3.7/site-packages/ansible
07:45:39.057 utils.py DEBUG executable location = /usr/bin/ansible-playbook
07:45:39.058 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:45:39.124 utils.py DEBUG it seems that ansible-playbook is not using python 2
07:45:39.125 core.py DEBUG ansible-playbook -c local -i /tmp/ab1t17x84d/i -e ansible_python_interpreter=/usr/bin/python3 .simple-playbook-20190423074538637479-yfassdpcjm.yaml
07:45:39.126 utils.py INFO running command: "['ansible-playbook', '-c', 'local', '-i', '/tmp/ab1t17x84d/i', '-e', 'ansible_python_interpreter=/usr/bin/python3', '.simple-playbook-20190423074538637479-yfassdpcjm.yaml']"
07:45:39.127 utils.py DEBUG ansible-playbook -c local -i /tmp/ab1t17x84d/i -e ansible_python_interpreter=/usr/bin/python3 .simple-playbook-20190423074538637479-yfassdpcjm.yaml
07:45:39.723 utils.py DEBUG
07:45:39.724 utils.py DEBUG PLAY [Let Ansible expand variables] ****************************************************************************************************************************************************************************************************************************
07:45:39.739 utils.py DEBUG
07:45:39.740 utils.py DEBUG TASK [debug] ***************************************************************************************************************************************************************************************************************************************************
07:45:39.777 utils.py DEBUG ok: [localhost] => {
07:45:39.778 utils.py DEBUG "msg": {
07:45:39.779 utils.py DEBUG "ansible_bender": {
07:45:39.780 utils.py DEBUG "base_image": "python:3-alpine",
07:45:39.780 utils.py DEBUG "target_image": {
07:45:39.781 utils.py DEBUG "environment": {
07:45:39.781 utils.py DEBUG "FILE_TO_PROCESS": "README.md"
07:45:39.783 utils.py DEBUG },
07:45:39.784 utils.py DEBUG "labels": {
07:45:39.784 utils.py DEBUG "built-by": "root"
07:45:39.785 utils.py DEBUG },
07:45:39.785 utils.py DEBUG "name": "a-very-nice-image",
07:45:39.785 utils.py DEBUG "working_dir": "/src"
07:45:39.787 utils.py DEBUG },
07:45:39.787 utils.py DEBUG "working_container": {
07:45:39.788 utils.py DEBUG "volumes": [
07:45:39.788 utils.py DEBUG "/src:/src"
07:45:39.789 utils.py DEBUG ]
07:45:39.789 utils.py DEBUG }
07:45:39.790 utils.py DEBUG }
07:45:39.791 utils.py DEBUG }
07:45:39.792 utils.py DEBUG }
07:45:39.797 utils.py DEBUG
07:45:39.798 utils.py DEBUG TASK [copy] ****************************************************************************************************************************************************************************************************************************************************
07:45:40.308 utils.py DEBUG changed: [localhost]
07:45:40.313 utils.py DEBUG
07:45:40.314 utils.py DEBUG PLAY RECAP *****************************************************************************************************************************************************************************************************************************************************
07:45:40.315 utils.py DEBUG localhost : ok=2 changed=1 unreachable=0 failed=0
07:45:40.315 utils.py DEBUG
07:45:40.410 utils.py DEBUG can't obtain cache_tasks: 'cache_tasks'
07:45:40.411 utils.py DEBUG can't obtain layering: 'layering'
07:45:40.411 utils.py DEBUG can't obtain ansible_extra_args: 'ansible_extra_args'
07:45:40.416 db.py DEBUG initializing database
07:45:40.418 buildah_builder.py DEBUG checking that podman command works
07:45:40.418 utils.py INFO running command: "['podman', 'version']"
07:45:40.419 utils.py DEBUG podman version
07:45:40.477 utils.py DEBUG Version: 1.2.0
07:45:40.482 utils.py DEBUG RemoteAPI Version: 1
07:45:40.483 utils.py DEBUG Go Version: go1.11.5
07:45:40.483 utils.py DEBUG OS/Arch: linux/amd64
07:45:40.487 buildah_builder.py DEBUG checking that buildah command works
07:45:40.489 utils.py INFO running command: "['buildah', 'version']"
07:45:40.490 utils.py DEBUG buildah version
07:45:40.520 utils.py DEBUG Version: 1.7
07:45:40.521 utils.py DEBUG Go Version: go1.11.5
07:45:40.522 utils.py DEBUG Image Spec: 1.0.0
07:45:40.522 utils.py DEBUG Runtime Spec: 1.0.0
07:45:40.523 utils.py DEBUG CNI Spec: 0.4.0
07:45:40.524 utils.py DEBUG libcni Version:
07:45:40.526 utils.py DEBUG Git Commit:
07:45:40.527 utils.py DEBUG Built: Thu Jan 1 00:00:00 1970
07:45:40.528 utils.py DEBUG OS/Arch: linux/amd64
07:45:40.531 utils.py INFO running command: "['buildah', 'inspect', '-t', 'image', 'python:3-alpine']"
07:45:40.531 utils.py DEBUG buildah inspect -t image python:3-alpine
07:45:40.670 utils.py DEBUG {
07:45:40.671 utils.py DEBUG "Type": "buildah 0.0.1",
07:45:40.672 utils.py DEBUG "FromImage": "docker.io/library/python:3-alpine",
07:45:40.673 utils.py DEBUG "FromImageID": "96c5c39abbb6766b2d15c4722fa3ac8b80e8f5f90462694acca05921081ece92",
07:45:40.673 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:45:40.675 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:45:40.675 utils.py DEBUG "Container": "",
07:45:40.676 utils.py DEBUG "ContainerID": "",
07:45:40.676 utils.py DEBUG "MountPoint": "",
07:45:40.676 utils.py DEBUG "ProcessLabel": "",
07:45:40.677 utils.py DEBUG "MountLabel": "",
07:45:40.677 utils.py DEBUG "ImageAnnotations": {},
07:45:40.678 utils.py DEBUG "ImageCreatedBy": "",
07:45:40.679 utils.py DEBUG "OCIv1": {
07:45:40.679 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:45:40.679 utils.py DEBUG "architecture": "amd64",
07:45:40.680 utils.py DEBUG "os": "linux",
07:45:40.680 utils.py DEBUG "config": {
07:45:40.681 utils.py DEBUG "Env": [
07:45:40.682 utils.py DEBUG "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
07:45:40.687 utils.py DEBUG "LANG=C.UTF-8",
07:45:40.690 utils.py DEBUG "GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:45:40.690 utils.py DEBUG "PYTHON_VERSION=3.7.3",
07:45:40.691 utils.py DEBUG "PYTHON_PIP_VERSION=19.0.3"
07:45:40.692 utils.py DEBUG ],
07:45:40.693 utils.py DEBUG "Cmd": [
07:45:40.693 utils.py DEBUG "python3"
07:45:40.694 utils.py DEBUG ]
07:45:40.695 utils.py DEBUG },
07:45:40.696 utils.py DEBUG "rootfs": {
07:45:40.696 utils.py DEBUG "type": "layers",
07:45:40.697 utils.py DEBUG "diff_ids": [
07:45:40.697 utils.py DEBUG "sha256:a464c54f93a9e88fc1d33df1e0e39cca427d60145a360962e8f19a1dbf900da9",
07:45:40.698 utils.py DEBUG "sha256:e0bf0f5358dff6e7e1881b98cf0645ad05ead298e48f4ba74bb0b16e206b00dd",
07:45:40.698 utils.py DEBUG "sha256:3ae48158b377591a97c40d64ad23c4bb5ececb7cdc5a02b0533d3784a8708661",
07:45:40.699 utils.py DEBUG "sha256:e5e1b10728eed8dd3f511b62353886b3b67b6c99cc37f81d5a68db3bd6afa6bb",
07:45:40.699 utils.py DEBUG "sha256:72fb5d8b68b10db04d0218785cb96339dbbd07ea6cc3ca1f0b8e275de7e03085"
07:45:40.700 utils.py DEBUG ]
07:45:40.700 utils.py DEBUG },
07:45:40.700 utils.py DEBUG "history": [
07:45:40.701 utils.py DEBUG {
07:45:40.701 utils.py DEBUG "created": "2019-04-09T23:20:18.226548168Z",
07:45:40.702 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ADD file:2e3a37883f56a4a278bec2931fc9f91fb9ebdaa9047540fe8fde419b84a1701b in / "
07:45:40.702 utils.py DEBUG },
07:45:40.703 utils.py DEBUG {
07:45:40.705 utils.py DEBUG "created": "2019-04-09T23:20:18.391201481Z",
07:45:40.706 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"/bin/sh\"]",
07:45:40.706 utils.py DEBUG "empty_layer": true
07:45:40.707 utils.py DEBUG },
07:45:40.707 utils.py DEBUG {
07:45:40.708 utils.py DEBUG "created": "2019-04-10T00:00:29.91161049Z",
07:45:40.708 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:45:40.708 utils.py DEBUG "empty_layer": true
07:45:40.709 utils.py DEBUG },
07:45:40.709 utils.py DEBUG {
07:45:40.710 utils.py DEBUG "created": "2019-04-10T01:21:32.815371545Z",
07:45:40.710 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV LANG=C.UTF-8",
07:45:40.711 utils.py DEBUG "empty_layer": true
07:45:40.711 utils.py DEBUG },
07:45:40.712 utils.py DEBUG {
07:45:40.713 utils.py DEBUG "created": "2019-04-10T01:21:34.380582921Z",
07:45:40.713 utils.py DEBUG "created_by": "/bin/sh -c apk add --no-cache ca-certificates"
07:45:40.713 utils.py DEBUG },
07:45:40.714 utils.py DEBUG {
07:45:40.714 utils.py DEBUG "created": "2019-04-10T01:27:29.827496702Z",
07:45:40.714 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:45:40.714 utils.py DEBUG "empty_layer": true
07:45:40.715 utils.py DEBUG },
07:45:40.715 utils.py DEBUG {
07:45:40.716 utils.py DEBUG "created": "2019-04-10T01:27:30.064545774Z",
07:45:40.716 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_VERSION=3.7.3",
07:45:40.716 utils.py DEBUG "empty_layer": true
07:45:40.716 utils.py DEBUG },
07:45:40.717 utils.py DEBUG {
07:45:40.717 utils.py DEBUG "created": "2019-04-10T01:31:49.667624105Z",
07:45:40.718 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:45:40.721 utils.py DEBUG },
07:45:40.721 utils.py DEBUG {
07:45:40.722 utils.py DEBUG "created": "2019-04-10T01:31:50.888130841Z",
07:45:40.722 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:45:40.723 utils.py DEBUG },
07:45:40.724 utils.py DEBUG {
07:45:40.725 utils.py DEBUG "created": "2019-04-10T01:31:51.12055552Z",
07:45:40.725 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=19.0.3",
07:45:40.726 utils.py DEBUG "empty_layer": true
07:45:40.726 utils.py DEBUG },
07:45:40.727 utils.py DEBUG {
07:45:40.728 utils.py DEBUG "created": "2019-04-10T01:32:00.125084018Z",
07:45:40.728 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:45:40.729 utils.py DEBUG },
07:45:40.730 utils.py DEBUG {
07:45:40.730 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:45:40.731 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"python3\"]",
07:45:40.731 utils.py DEBUG "empty_layer": true
07:45:40.732 utils.py DEBUG }
07:45:40.732 utils.py DEBUG ]
07:45:40.733 utils.py DEBUG },
07:45:40.733 utils.py DEBUG "Docker": {
07:45:40.734 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:45:40.734 utils.py DEBUG "container": "00b6b3caffda3370e7f36f263843a3296a54b59a75661e73fadc7f186d77fea6",
07:45:40.734 utils.py DEBUG "container_config": {
07:45:40.734 utils.py DEBUG "Hostname": "",
07:45:40.735 utils.py DEBUG "Domainname": "",
07:45:40.735 utils.py DEBUG "User": "",
07:45:40.735 utils.py DEBUG "AttachStdin": false,
07:45:40.736 utils.py DEBUG "AttachStdout": false,
07:45:40.736 utils.py DEBUG "AttachStderr": false,
07:45:40.736 utils.py DEBUG "Tty": false,
07:45:40.736 utils.py DEBUG "OpenStdin": false,
07:45:40.737 utils.py DEBUG "StdinOnce": false,
07:45:40.738 utils.py DEBUG "Env": [
07:45:40.738 utils.py DEBUG "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
07:45:40.738 utils.py DEBUG "LANG=C.UTF-8",
07:45:40.739 utils.py DEBUG "GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:45:40.739 utils.py DEBUG "PYTHON_VERSION=3.7.3",
07:45:40.739 utils.py DEBUG "PYTHON_PIP_VERSION=19.0.3"
07:45:40.740 utils.py DEBUG ],
07:45:40.740 utils.py DEBUG "Cmd": [
07:45:40.740 utils.py DEBUG "python3"
07:45:40.740 utils.py DEBUG ],
07:45:40.740 utils.py DEBUG "ArgsEscaped": true,
07:45:40.741 utils.py DEBUG "Image": "sha256:ca46f49a18110398fd8f3fd76f2035eadfdadf0f626dc7ff41cb84edc577b06e",
07:45:40.741 utils.py DEBUG "Volumes": null,
07:45:40.742 utils.py DEBUG "WorkingDir": "",
07:45:40.742 utils.py DEBUG "Entrypoint": null,
07:45:40.745 utils.py DEBUG "OnBuild": null,
07:45:40.745 utils.py DEBUG "Labels": null
07:45:40.745 utils.py DEBUG },
07:45:40.745 utils.py DEBUG "config": {
07:45:40.745 utils.py DEBUG "Hostname": "",
07:45:40.745 utils.py DEBUG "Domainname": "",
07:45:40.745 utils.py DEBUG "User": "",
07:45:40.745 utils.py DEBUG "AttachStdin": false,
07:45:40.745 utils.py DEBUG "AttachStdout": false,
07:45:40.745 utils.py DEBUG "AttachStderr": false,
07:45:40.745 utils.py DEBUG "Tty": false,
07:45:40.745 utils.py DEBUG "OpenStdin": false,
07:45:40.745 utils.py DEBUG "StdinOnce": false,
07:45:40.745 utils.py DEBUG "Env": [
07:45:40.745 utils.py DEBUG "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
07:45:40.745 utils.py DEBUG "LANG=C.UTF-8",
07:45:40.745 utils.py DEBUG "GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:45:40.745 utils.py DEBUG "PYTHON_VERSION=3.7.3",
07:45:40.746 utils.py DEBUG "PYTHON_PIP_VERSION=19.0.3"
07:45:40.746 utils.py DEBUG ],
07:45:40.746 utils.py DEBUG "Cmd": [
07:45:40.746 utils.py DEBUG "python3"
07:45:40.746 utils.py DEBUG ],
07:45:40.746 utils.py DEBUG "ArgsEscaped": true,
07:45:40.746 utils.py DEBUG "Image": "sha256:ca46f49a18110398fd8f3fd76f2035eadfdadf0f626dc7ff41cb84edc577b06e",
07:45:40.746 utils.py DEBUG "Volumes": null,
07:45:40.746 utils.py DEBUG "WorkingDir": "",
07:45:40.746 utils.py DEBUG "Entrypoint": null,
07:45:40.746 utils.py DEBUG "OnBuild": null,
07:45:40.746 utils.py DEBUG "Labels": null
07:45:40.746 utils.py DEBUG },
07:45:40.746 utils.py DEBUG "architecture": "amd64",
07:45:40.746 utils.py DEBUG "os": "linux",
07:45:40.746 utils.py DEBUG "rootfs": {
07:45:40.746 utils.py DEBUG "type": "layers",
07:45:40.746 utils.py DEBUG "diff_ids": [
07:45:40.746 utils.py DEBUG "sha256:a464c54f93a9e88fc1d33df1e0e39cca427d60145a360962e8f19a1dbf900da9",
07:45:40.746 utils.py DEBUG "sha256:e0bf0f5358dff6e7e1881b98cf0645ad05ead298e48f4ba74bb0b16e206b00dd",
07:45:40.746 utils.py DEBUG "sha256:3ae48158b377591a97c40d64ad23c4bb5ececb7cdc5a02b0533d3784a8708661",
07:45:40.747 utils.py DEBUG "sha256:e5e1b10728eed8dd3f511b62353886b3b67b6c99cc37f81d5a68db3bd6afa6bb",
07:45:40.747 utils.py DEBUG "sha256:72fb5d8b68b10db04d0218785cb96339dbbd07ea6cc3ca1f0b8e275de7e03085"
07:45:40.747 utils.py DEBUG ]
07:45:40.747 utils.py DEBUG },
07:45:40.748 utils.py DEBUG "history": [
07:45:40.748 utils.py DEBUG {
07:45:40.748 utils.py DEBUG "created": "2019-04-09T23:20:18.226548168Z",
07:45:40.749 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ADD file:2e3a37883f56a4a278bec2931fc9f91fb9ebdaa9047540fe8fde419b84a1701b in / "
07:45:40.749 utils.py DEBUG },
07:45:40.749 utils.py DEBUG {
07:45:40.749 utils.py DEBUG "created": "2019-04-09T23:20:18.391201481Z",
07:45:40.750 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"/bin/sh\"]",
07:45:40.750 utils.py DEBUG "empty_layer": true
07:45:40.750 utils.py DEBUG },
07:45:40.750 utils.py DEBUG {
07:45:40.751 utils.py DEBUG "created": "2019-04-10T00:00:29.91161049Z",
07:45:40.751 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:45:40.751 utils.py DEBUG "empty_layer": true
07:45:40.752 utils.py DEBUG },
07:45:40.752 utils.py DEBUG {
07:45:40.752 utils.py DEBUG "created": "2019-04-10T01:21:32.815371545Z",
07:45:40.752 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV LANG=C.UTF-8",
07:45:40.753 utils.py DEBUG "empty_layer": true
07:45:40.753 utils.py DEBUG },
07:45:40.753 utils.py DEBUG {
07:45:40.753 utils.py DEBUG "created": "2019-04-10T01:21:34.380582921Z",
07:45:40.753 utils.py DEBUG "created_by": "/bin/sh -c apk add --no-cache ca-certificates"
07:45:40.754 utils.py DEBUG },
07:45:40.754 utils.py DEBUG {
07:45:40.754 utils.py DEBUG "created": "2019-04-10T01:27:29.827496702Z",
07:45:40.755 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:45:40.755 utils.py DEBUG "empty_layer": true
07:45:40.755 utils.py DEBUG },
07:45:40.755 utils.py DEBUG {
07:45:40.756 utils.py DEBUG "created": "2019-04-10T01:27:30.064545774Z",
07:45:40.756 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_VERSION=3.7.3",
07:45:40.757 utils.py DEBUG "empty_layer": true
07:45:40.757 utils.py DEBUG },
07:45:40.757 utils.py DEBUG {
07:45:40.758 utils.py DEBUG "created": "2019-04-10T01:31:49.667624105Z",
07:45:40.758 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:45:40.759 utils.py DEBUG },
07:45:40.759 utils.py DEBUG {
07:45:40.760 utils.py DEBUG "created": "2019-04-10T01:31:50.888130841Z",
07:45:40.760 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:45:40.761 utils.py DEBUG },
07:45:40.762 utils.py DEBUG {
07:45:40.762 utils.py DEBUG "created": "2019-04-10T01:31:51.12055552Z",
07:45:40.763 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=19.0.3",
07:45:40.763 utils.py DEBUG "empty_layer": true
07:45:40.764 utils.py DEBUG },
07:45:40.764 utils.py DEBUG {
07:45:40.765 utils.py DEBUG "created": "2019-04-10T01:32:00.125084018Z",
07:45:40.765 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:45:40.765 utils.py DEBUG },
07:45:40.766 utils.py DEBUG {
07:45:40.768 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:45:40.768 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"python3\"]",
07:45:40.768 utils.py DEBUG "empty_layer": true
07:45:40.768 utils.py DEBUG }
07:45:40.769 utils.py DEBUG ]
07:45:40.769 utils.py DEBUG },
07:45:40.769 utils.py DEBUG "DefaultMountsFilePath": "",
07:45:40.769 utils.py DEBUG "Isolation": "IsolationDefault",
07:45:40.769 utils.py DEBUG "NamespaceOptions": [
07:45:40.769 utils.py DEBUG {
07:45:40.769 utils.py DEBUG "Name": "cgroup",
07:45:40.769 utils.py DEBUG "Host": true,
07:45:40.769 utils.py DEBUG "Path": ""
07:45:40.770 utils.py DEBUG },
07:45:40.770 utils.py DEBUG {
07:45:40.770 utils.py DEBUG "Name": "ipc",
07:45:40.770 utils.py DEBUG "Host": false,
07:45:40.771 utils.py DEBUG "Path": ""
07:45:40.772 utils.py DEBUG },
07:45:40.772 utils.py DEBUG {
07:45:40.772 utils.py DEBUG "Name": "mount",
07:45:40.773 utils.py DEBUG "Host": false,
07:45:40.773 utils.py DEBUG "Path": ""
07:45:40.774 utils.py DEBUG },
07:45:40.774 utils.py DEBUG {
07:45:40.775 utils.py DEBUG "Name": "network",
07:45:40.776 utils.py DEBUG "Host": false,
07:45:40.777 utils.py DEBUG "Path": ""
07:45:40.778 utils.py DEBUG },
07:45:40.779 utils.py DEBUG {
07:45:40.779 utils.py DEBUG "Name": "pid",
07:45:40.780 utils.py DEBUG "Host": false,
07:45:40.781 utils.py DEBUG "Path": ""
07:45:40.781 utils.py DEBUG },
07:45:40.783 utils.py DEBUG {
07:45:40.783 utils.py DEBUG "Name": "user",
07:45:40.784 utils.py DEBUG "Host": true,
07:45:40.785 utils.py DEBUG "Path": ""
07:45:40.785 utils.py DEBUG },
07:45:40.785 utils.py DEBUG {
07:45:40.786 utils.py DEBUG "Name": "uts",
07:45:40.786 utils.py DEBUG "Host": false,
07:45:40.786 utils.py DEBUG "Path": ""
07:45:40.787 utils.py DEBUG }
07:45:40.787 utils.py DEBUG ],
07:45:40.787 utils.py DEBUG "ConfigureNetwork": "NetworkDefault",
07:45:40.787 utils.py DEBUG "CNIPluginPath": "",
07:45:40.788 utils.py DEBUG "CNIConfigDir": "",
07:45:40.788 utils.py DEBUG "IDMappingOptions": {
07:45:40.788 utils.py DEBUG "HostUIDMapping": true,
07:45:40.789 utils.py DEBUG "HostGIDMapping": true,
07:45:40.789 utils.py DEBUG "UIDMap": [],
07:45:40.789 utils.py DEBUG "GIDMap": []
07:45:40.789 utils.py DEBUG },
07:45:40.790 utils.py DEBUG "DefaultCapabilities": [
07:45:40.792 utils.py DEBUG "CAP_AUDIT_WRITE",
07:45:40.792 utils.py DEBUG "CAP_CHOWN",
07:45:40.793 utils.py DEBUG "CAP_DAC_OVERRIDE",
07:45:40.793 utils.py DEBUG "CAP_FOWNER",
07:45:40.793 utils.py DEBUG "CAP_FSETID",
07:45:40.794 utils.py DEBUG "CAP_KILL",
07:45:40.794 utils.py DEBUG "CAP_MKNOD",
07:45:40.794 utils.py DEBUG "CAP_NET_BIND_SERVICE",
07:45:40.795 utils.py DEBUG "CAP_SETFCAP",
07:45:40.795 utils.py DEBUG "CAP_SETGID",
07:45:40.796 utils.py DEBUG "CAP_SETPCAP",
07:45:40.797 utils.py DEBUG "CAP_SETUID",
07:45:40.797 utils.py DEBUG "CAP_SYS_CHROOT"
07:45:40.797 utils.py DEBUG ],
07:45:40.798 utils.py DEBUG "AddCapabilities": [],
07:45:40.798 utils.py DEBUG "DropCapabilities": [],
07:45:40.798 utils.py DEBUG "History": [
07:45:40.798 utils.py DEBUG {
07:45:40.799 utils.py DEBUG "created": "2019-04-09T23:20:18.226548168Z",
07:45:40.799 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ADD file:2e3a37883f56a4a278bec2931fc9f91fb9ebdaa9047540fe8fde419b84a1701b in / "
07:45:40.800 utils.py DEBUG },
07:45:40.800 utils.py DEBUG {
07:45:40.800 utils.py DEBUG "created": "2019-04-09T23:20:18.391201481Z",
07:45:40.801 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"/bin/sh\"]",
07:45:40.801 utils.py DEBUG "empty_layer": true
07:45:40.801 utils.py DEBUG },
07:45:40.802 utils.py DEBUG {
07:45:40.802 utils.py DEBUG "created": "2019-04-10T00:00:29.91161049Z",
07:45:40.802 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:45:40.803 utils.py DEBUG "empty_layer": true
07:45:40.803 utils.py DEBUG },
07:45:40.803 utils.py DEBUG {
07:45:40.803 utils.py DEBUG "created": "2019-04-10T01:21:32.815371545Z",
07:45:40.804 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV LANG=C.UTF-8",
07:45:40.804 utils.py DEBUG "empty_layer": true
07:45:40.804 utils.py DEBUG },
07:45:40.805 utils.py DEBUG {
07:45:40.805 utils.py DEBUG "created": "2019-04-10T01:21:34.380582921Z",
07:45:40.806 utils.py DEBUG "created_by": "/bin/sh -c apk add --no-cache ca-certificates"
07:45:40.806 utils.py DEBUG },
07:45:40.806 utils.py DEBUG {
07:45:40.806 utils.py DEBUG "created": "2019-04-10T01:27:29.827496702Z",
07:45:40.806 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
07:45:40.806 utils.py DEBUG "empty_layer": true
07:45:40.806 utils.py DEBUG },
07:45:40.807 utils.py DEBUG {
07:45:40.807 utils.py DEBUG "created": "2019-04-10T01:27:30.064545774Z",
07:45:40.807 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_VERSION=3.7.3",
07:45:40.808 utils.py DEBUG "empty_layer": true
07:45:40.808 utils.py DEBUG },
07:45:40.808 utils.py DEBUG {
07:45:40.808 utils.py DEBUG "created": "2019-04-10T01:31:49.667624105Z",
07:45:40.809 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:45:40.809 utils.py DEBUG },
07:45:40.809 utils.py DEBUG {
07:45:40.809 utils.py DEBUG "created": "2019-04-10T01:31:50.888130841Z",
07:45:40.810 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:45:40.810 utils.py DEBUG },
07:45:40.810 utils.py DEBUG {
07:45:40.811 utils.py DEBUG "created": "2019-04-10T01:31:51.12055552Z",
07:45:40.811 utils.py DEBUG "created_by": "/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=19.0.3",
07:45:40.812 utils.py DEBUG "empty_layer": true
07:45:40.814 utils.py DEBUG },
07:45:40.814 utils.py DEBUG {
07:45:40.814 utils.py DEBUG "created": "2019-04-10T01:32:00.125084018Z",
07:45:40.814 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:45:40.814 utils.py DEBUG },
07:45:40.814 utils.py DEBUG {
07:45:40.814 utils.py DEBUG "created": "2019-04-10T01:32:00.388106834Z",
07:45:40.814 utils.py DEBUG "created_by": "/bin/sh -c #(nop) CMD [\"python3\"]",
07:45:40.814 utils.py DEBUG "empty_layer": true
07:45:40.814 utils.py DEBUG },
07:45:40.814 utils.py DEBUG {
07:45:40.814 utils.py DEBUG "created": "2019-04-23T07:45:40.667395944Z"
07:45:40.814 utils.py DEBUG }
07:45:40.814 utils.py DEBUG ]
07:45:40.814 utils.py DEBUG }
07:45:40.815 buildah_builder.py DEBUG trying to create a dummy container using podman
07:45:40.815 utils.py INFO running command: "['podman', 'run', '--rm', 'python:3-alpine', 'true']"
07:45:40.815 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment