Created
January 2, 2019 15:17
-
-
Save ssbarnea/792000358390a75757b206a2cb38f943 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [Build an Ansible compatible image] *************************************** | |
task path: /Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/lib/python2.7/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:37 | |
Wednesday 02 January 2019 15:10:35 +0000 (0:00:01.447) 0:00:03.463 ***** | |
Using module file /Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/lib/python2.7/site-packages/ansible/modules/cloud/docker/docker_image.py | |
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: ssbarnea | |
<127.0.0.1> EXEC /bin/sh -c 'echo ~ssbarnea && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328 `" && echo ansible-tmp-1546441835.99-136952034710328="` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328 `" ) && sleep 0' | |
<127.0.0.1> PUT /Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmp3n2BMz TO /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328/docker_image.py | |
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328/ /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328/docker_image.py && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c '/Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/bin/python /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328/docker_image.py && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328/ > /dev/null 2>&1 && sleep 0' | |
changed: [localhost] => (item={u'owner': u'ssbarnea', '_ansible_item_result': True, '_ansible_item_label': {'image': u'centos/systemd:latest', 'name': u'centos', 'hostname': u'centos'}, u'size': 863, 'item': {'image': u'centos/systemd:latest', 'name': u'centos', 'hostname': u'centos'}, u'src': u'/Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441832.64-113920308389111/source', '_ansible_parsed': True, u'mode': u'0644', u'changed': True, '_ansible_ignore_errors': None, u'invocation': {u'module_args': {u'owner': None, u'checksum': u'733b808e459d296a8416230cd10c296f6eb9c3b2', u'unsafe_writes': None, u'serole': None, u'local_follow': None, u'content': None, u'follow': False, u'group': None, u'seuser': None, u'setype': None, u'mode': None, u'remote_src': None, u'validate': None, u'attributes': None, u'original_basename': u'Dockerfile.j2', u'regexp': None, u'backup': False, u'delimiter': None, u'directory_mode': None, u'src': u'/Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441832.64-113920308389111/source', u'selevel': None, u'dest': u'/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_centos_systemd_latest', u'force': True}}, u'state': u'file', 'diff': [{'before': u'', 'after': u"# Molecule managed\n\nFROM centos/systemd:latest\n\nRUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \\\n elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; \\\n elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \\\n elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \\\n elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \\\n elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi\n", 'after_header': u'/Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmpyoGWFm/Dockerfile.j2'}], u'checksum': u'733b808e459d296a8416230cd10c296f6eb9c3b2', u'group': u'staff', u'uid': 501, u'dest': u'/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_centos_systemd_latest', u'md5sum': u'b9a914430bce2493dd894b1d82fdfe36', '_ansible_no_log': False, 'failed': False, u'gid': 20}) => changed=true | |
actions: | |
- Built image molecule_local/centos/systemd:latest from /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default | |
image: | |
Architecture: amd64 | |
Author: '' | |
Comment: '' | |
Config: | |
ArgsEscaped: true | |
AttachStderr: false | |
AttachStdin: false | |
AttachStdout: false | |
Cmd: | |
- /usr/sbin/init | |
Domainname: '' | |
Entrypoint: null | |
Env: | |
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
- container=docker | |
Hostname: '' | |
Image: sha256:05d3c1e2d0c166b1654f86a5beed614065450b186a94e4761120b3458b45509d | |
Labels: | |
org.label-schema.build-date: '20181205' | |
org.label-schema.license: GPLv2 | |
org.label-schema.name: CentOS Base Image | |
org.label-schema.schema-version: '1.0' | |
org.label-schema.vendor: CentOS | |
OnBuild: null | |
OpenStdin: false | |
StdinOnce: false | |
Tty: false | |
User: '' | |
Volumes: | |
/sys/fs/cgroup: {} | |
WorkingDir: '' | |
Container: 6f0b4b7b759a57a3815c161e9b6d079d577bde9f187969ef520492c7ad0a21d5 | |
ContainerConfig: | |
ArgsEscaped: true | |
AttachStderr: false | |
AttachStdin: false | |
AttachStdout: false | |
Cmd: | |
- /bin/sh | |
- -c | |
- if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi | |
Domainname: '' | |
Entrypoint: null | |
Env: | |
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
- container=docker | |
Hostname: '' | |
Image: sha256:05d3c1e2d0c166b1654f86a5beed614065450b186a94e4761120b3458b45509d | |
Labels: | |
org.label-schema.build-date: '20181205' | |
org.label-schema.license: GPLv2 | |
org.label-schema.name: CentOS Base Image | |
org.label-schema.schema-version: '1.0' | |
org.label-schema.vendor: CentOS | |
OnBuild: null | |
OpenStdin: false | |
StdinOnce: false | |
Tty: false | |
User: '' | |
Volumes: | |
/sys/fs/cgroup: {} | |
WorkingDir: '' | |
Created: '2019-01-02T15:10:49.4638785Z' | |
DockerVersion: 18.09.0 | |
GraphDriver: | |
Data: | |
LowerDir: /var/lib/docker/overlay2/6aace242ab95d79995840a306755ac0e6cad9bfc00b11fc9aee9f637b531f5f6/diff:/var/lib/docker/overlay2/6e466ba86e605c43418579811f25d3d9ea4a408a8e9036d707e9c5ef50a6e558/diff | |
MergedDir: /var/lib/docker/overlay2/ed7dea05e47ff3ec4ce51736e45e0b0dc3cc1a7b686a08f8012d2239b9affda2/merged | |
UpperDir: /var/lib/docker/overlay2/ed7dea05e47ff3ec4ce51736e45e0b0dc3cc1a7b686a08f8012d2239b9affda2/diff | |
WorkDir: /var/lib/docker/overlay2/ed7dea05e47ff3ec4ce51736e45e0b0dc3cc1a7b686a08f8012d2239b9affda2/work | |
Name: overlay2 | |
Id: sha256:6da2e579c73a45105ae7267aa1cd0a477e29bd5bd4aae5dd8904a98cde05327b | |
Metadata: | |
LastTagTime: '2019-01-02T15:10:49.5448043Z' | |
Os: linux | |
Parent: sha256:05d3c1e2d0c166b1654f86a5beed614065450b186a94e4761120b3458b45509d | |
RepoDigests: [] | |
RepoTags: | |
- molecule_local/centos/systemd:latest | |
RootFS: | |
Layers: | |
- sha256:071d8bd765171080d01682844524be57ac9883e53079b6ac66707e192ea25956 | |
- sha256:fd40254c9c6971795b270293804a4b6dd2eb60e15215cdad44df1d8e439af2c0 | |
- sha256:80252c2550435f795e6188b033915d241e4aa55bcbb9c6955fd0c21878418962 | |
Type: layers | |
Size: 226432960 | |
VirtualSize: 226432960 | |
invocation: | |
module_args: | |
api_version: null | |
archive_path: null | |
buildargs: null | |
cacert_path: null | |
cert_path: null | |
container_limits: null | |
debug: false | |
docker_host: unix://var/run/docker.sock | |
dockerfile: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_centos_systemd_latest | |
filter_logger: false | |
force: true | |
http_timeout: null | |
key_path: null | |
load_path: null | |
name: molecule_local/centos/systemd:latest | |
nocache: false | |
path: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default | |
pull: true | |
push: false | |
repository: null | |
rm: true | |
ssl_version: null | |
state: present | |
tag: latest | |
timeout: null | |
tls: null | |
tls_hostname: null | |
tls_verify: null | |
use_tls: 'no' | |
item: | |
changed: true | |
checksum: 733b808e459d296a8416230cd10c296f6eb9c3b2 | |
dest: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_centos_systemd_latest | |
diff: | |
- after: |- | |
# Molecule managed | |
FROM centos/systemd:latest | |
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \ | |
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; \ | |
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \ | |
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \ | |
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \ | |
elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi | |
after_header: /Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmpyoGWFm/Dockerfile.j2 | |
before: '' | |
failed: false | |
gid: 20 | |
group: staff | |
invocation: | |
module_args: | |
attributes: null | |
backup: false | |
checksum: 733b808e459d296a8416230cd10c296f6eb9c3b2 | |
content: null | |
delimiter: null | |
dest: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_centos_systemd_latest | |
directory_mode: null | |
follow: false | |
force: true | |
group: null | |
local_follow: null | |
mode: null | |
original_basename: Dockerfile.j2 | |
owner: null | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441832.64-113920308389111/source | |
unsafe_writes: null | |
validate: null | |
item: | |
hostname: centos | |
image: centos/systemd:latest | |
name: centos | |
md5sum: b9a914430bce2493dd894b1d82fdfe36 | |
mode: '0644' | |
owner: ssbarnea | |
size: 863 | |
src: /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441832.64-113920308389111/source | |
state: file | |
uid: 501 | |
Using module file /Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/lib/python2.7/site-packages/ansible/modules/cloud/docker/docker_image.py | |
<127.0.0.1> EXEC /bin/sh -c 'echo ~ssbarnea && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441849.63-38746474567668 `" && echo ansible-tmp-1546441849.63-38746474567668="` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441849.63-38746474567668 `" ) && sleep 0' | |
<127.0.0.1> PUT /Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmp2EmYb2 TO /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441849.63-38746474567668/docker_image.py | |
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441849.63-38746474567668/ /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441849.63-38746474567668/docker_image.py && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c '/Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/bin/python /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441849.63-38746474567668/docker_image.py && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441849.63-38746474567668/ > /dev/null 2>&1 && sleep 0' | |
failed: [localhost] (item={u'owner': u'ssbarnea', '_ansible_item_result': True, '_ansible_item_label': {'image': u'fedora:rawhide', 'name': u'fedora-rawhide', 'hostname': u'fedora-rawhide'}, u'size': 856, 'item': {'image': u'fedora:rawhide', 'name': u'fedora-rawhide', 'hostname': u'fedora-rawhide'}, u'src': u'/Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441833.41-141264456368183/source', '_ansible_parsed': True, u'mode': u'0644', u'changed': True, '_ansible_ignore_errors': None, u'invocation': {u'module_args': {u'owner': None, u'checksum': u'c5e664007eb411db4cbc24b33ae0793a7c3e075a', u'unsafe_writes': None, u'serole': None, u'local_follow': None, u'content': None, u'follow': False, u'group': None, u'seuser': None, u'setype': None, u'mode': None, u'remote_src': None, u'validate': None, u'attributes': None, u'original_basename': u'Dockerfile.j2', u'regexp': None, u'backup': False, u'delimiter': None, u'directory_mode': None, u'src': u'/Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441833.41-141264456368183/source', u'selevel': None, u'dest': u'/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_rawhide', u'force': True}}, u'state': u'file', 'diff': [{'before': u'', 'after': u"# Molecule managed\n\nFROM fedora:rawhide\n\nRUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \\\n elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; \\\n elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \\\n elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \\\n elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \\\n elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi\n", 'after_header': u'/Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmpwkwThT/Dockerfile.j2'}], u'checksum': u'c5e664007eb411db4cbc24b33ae0793a7c3e075a', u'group': u'staff', u'uid': 501, u'dest': u'/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_rawhide', u'md5sum': u'0d688999c286a3c573e36e48f65e5e1a', '_ansible_no_log': False, 'failed': False, u'gid': 20}) => changed=false | |
invocation: | |
module_args: | |
api_version: null | |
archive_path: null | |
buildargs: null | |
cacert_path: null | |
cert_path: null | |
container_limits: null | |
debug: false | |
docker_host: unix://var/run/docker.sock | |
dockerfile: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_rawhide | |
filter_logger: false | |
force: true | |
http_timeout: null | |
key_path: null | |
load_path: null | |
name: molecule_local/fedora:rawhide | |
nocache: false | |
path: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default | |
pull: true | |
push: false | |
repository: null | |
rm: true | |
ssl_version: null | |
state: present | |
tag: latest | |
timeout: null | |
tls: null | |
tls_hostname: null | |
tls_verify: null | |
use_tls: 'no' | |
item: | |
changed: true | |
checksum: c5e664007eb411db4cbc24b33ae0793a7c3e075a | |
dest: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_rawhide | |
diff: | |
- after: |- | |
# Molecule managed | |
FROM fedora:rawhide | |
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \ | |
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; \ | |
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \ | |
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \ | |
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \ | |
elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi | |
after_header: /Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmpwkwThT/Dockerfile.j2 | |
before: '' | |
failed: false | |
gid: 20 | |
group: staff | |
invocation: | |
module_args: | |
attributes: null | |
backup: false | |
checksum: c5e664007eb411db4cbc24b33ae0793a7c3e075a | |
content: null | |
delimiter: null | |
dest: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_rawhide | |
directory_mode: null | |
follow: false | |
force: true | |
group: null | |
local_follow: null | |
mode: null | |
original_basename: Dockerfile.j2 | |
owner: null | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441833.41-141264456368183/source | |
unsafe_writes: null | |
validate: null | |
item: | |
hostname: fedora-rawhide | |
image: fedora:rawhide | |
name: fedora-rawhide | |
md5sum: 0d688999c286a3c573e36e48f65e5e1a | |
mode: '0644' | |
owner: ssbarnea | |
size: 856 | |
src: /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441833.41-141264456368183/source | |
state: file | |
uid: 501 | |
msg: 'Error building molecule_local/fedora - code: 1, message: The command ''/bin/sh -c if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i ''s/plugins=0/plugins=1/g'' /etc/yum.conf && yum clean all; elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi'' returned a non-zero code: 1, logs: [u''Step 1/2 : FROM fedora:rawhide'', u''\n'', u'' ---> 7a558d8133bd\n'', | |
u"Step 2/2 : RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i ''s/plugins=0/plugins=1/g'' /etc/yum.conf && yum clean all; elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi", u''\n'', u'' ---> Running in 9bf2485ebaef\n'', u''Fedora - Modular Rawhide - Developmental packag 558 kB/s | 2.1 MB 00:03 \n'', u''Fedora - Rawhide - Developmental packages | |
for t 4.2 MB/s | 62 MB 00:14 \n'', u''Metadata cache created.\n'', u''Last metadata expiration check: 0:00:22 ago on Wed Jan 2 15:11:19 2019.\n'', u''No match for argument: python2-dnf\n'', u''Package bash-4.4.23-5.fc30.x86_64 is already installed.\n'', u''\x1b[91mError: Unable to find a match\n\x1b[0m'', u''Removing intermediate container 9bf2485ebaef\n'']' | |
Using module file /Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/lib/python2.7/site-packages/ansible/modules/cloud/docker/docker_image.py | |
<127.0.0.1> EXEC /bin/sh -c 'echo ~ssbarnea && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441903.29-51011831660559 `" && echo ansible-tmp-1546441903.29-51011831660559="` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441903.29-51011831660559 `" ) && sleep 0' | |
<127.0.0.1> PUT /Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmp3lL4aa TO /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441903.29-51011831660559/docker_image.py | |
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441903.29-51011831660559/ /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441903.29-51011831660559/docker_image.py && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c '/Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/bin/python /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441903.29-51011831660559/docker_image.py && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441903.29-51011831660559/ > /dev/null 2>&1 && sleep 0' | |
changed: [localhost] => (item={u'owner': u'ssbarnea', '_ansible_item_result': True, '_ansible_item_label': {'image': u'fedora:28', 'name': u'fedora-28', 'hostname': u'fedora-28'}, u'size': 851, 'item': {'image': u'fedora:28', 'name': u'fedora-28', 'hostname': u'fedora-28'}, u'src': u'/Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441833.9-61818792219754/source', '_ansible_parsed': True, u'mode': u'0644', u'changed': True, '_ansible_ignore_errors': None, u'invocation': {u'module_args': {u'owner': None, u'checksum': u'503a6b788ba18686d2e215144b650c5ee9da9fa2', u'unsafe_writes': None, u'serole': None, u'local_follow': None, u'content': None, u'follow': False, u'group': None, u'seuser': None, u'setype': None, u'mode': None, u'remote_src': None, u'validate': None, u'attributes': None, u'original_basename': u'Dockerfile.j2', u'regexp': None, u'backup': False, u'delimiter': None, u'directory_mode': None, u'src': u'/Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441833.9-61818792219754/source', u'selevel': None, u'dest': u'/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_28', u'force': True}}, u'state': u'file', 'diff': [{'before': u'', 'after': u"# Molecule managed\n\nFROM fedora:28\n\nRUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \\\n elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; \\\n elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \\\n elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \\\n elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \\\n elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi\n", 'after_header': u'/Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmpkUfRMH/Dockerfile.j2'}], u'checksum': u'503a6b788ba18686d2e215144b650c5ee9da9fa2', u'group': u'staff', u'uid': 501, u'dest': u'/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_28', u'md5sum': u'5342e72e368cef968fbcf8d6706ac24e', '_ansible_no_log': False, 'failed': False, u'gid': 20}) => changed=true | |
actions: | |
- Built image molecule_local/fedora:28 from /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default | |
image: | |
Architecture: amd64 | |
Author: '' | |
Comment: '' | |
Config: | |
AttachStderr: false | |
AttachStdin: false | |
AttachStdout: false | |
Cmd: null | |
Domainname: '' | |
Entrypoint: null | |
Env: | |
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
- DISTTAG=f28container | |
- FGC=f28 | |
- FBR=f28 | |
Hostname: '' | |
Image: sha256:f0b9fdd4254d675800a3bf63ef46856dc6920b760918d571622f9baac0126296 | |
Labels: null | |
OnBuild: null | |
OpenStdin: false | |
StdinOnce: false | |
Tty: false | |
User: '' | |
Volumes: null | |
WorkingDir: '' | |
Container: f9d3abc3b1ba5da108b4c765bdf43290b0e413429e45a7beb67cf93437b2119e | |
ContainerConfig: | |
AttachStderr: false | |
AttachStdin: false | |
AttachStdout: false | |
Cmd: | |
- /bin/sh | |
- -c | |
- if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi | |
Domainname: '' | |
Entrypoint: null | |
Env: | |
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
- DISTTAG=f28container | |
- FGC=f28 | |
- FBR=f28 | |
Hostname: '' | |
Image: sha256:f0b9fdd4254d675800a3bf63ef46856dc6920b760918d571622f9baac0126296 | |
Labels: null | |
OnBuild: null | |
OpenStdin: false | |
StdinOnce: false | |
Tty: false | |
User: '' | |
Volumes: null | |
WorkingDir: '' | |
Created: '2018-11-09T16:25:44.618513996Z' | |
DockerVersion: 18.06.1-ce | |
GraphDriver: | |
Data: | |
LowerDir: /var/lib/docker/overlay2/25e894a346a72eeca94453c8efff3e2ad56279f4ea260995d3b9a57be615f8bb/diff | |
MergedDir: /var/lib/docker/overlay2/6596f46fe9cf11870edd502aaa1fe09d3077fe3d3f98de69c4a0315448b4fb08/merged | |
UpperDir: /var/lib/docker/overlay2/6596f46fe9cf11870edd502aaa1fe09d3077fe3d3f98de69c4a0315448b4fb08/diff | |
WorkDir: /var/lib/docker/overlay2/6596f46fe9cf11870edd502aaa1fe09d3077fe3d3f98de69c4a0315448b4fb08/work | |
Name: overlay2 | |
Id: sha256:d38724c0e8b8cba1d456391d3695a9ff449749f05349935d3d6f553eaaa02d8d | |
Metadata: | |
LastTagTime: '2019-01-02T15:11:46.9487208Z' | |
Os: linux | |
Parent: sha256:f0b9fdd4254d675800a3bf63ef46856dc6920b760918d571622f9baac0126296 | |
RepoDigests: [] | |
RepoTags: | |
- molecule_local/fedora:28 | |
RootFS: | |
Layers: | |
- sha256:fc18b021a9dd97af912d61fc2e637ef74cfc4725f4ff510ce3ba3bc4f7402739 | |
- sha256:c394e0d078cf0437ded3c39a08142fdb54073ff8b106f671f2369b9149dc4998 | |
Type: layers | |
Size: 322802523 | |
VirtualSize: 322802523 | |
invocation: | |
module_args: | |
api_version: null | |
archive_path: null | |
buildargs: null | |
cacert_path: null | |
cert_path: null | |
container_limits: null | |
debug: false | |
docker_host: unix://var/run/docker.sock | |
dockerfile: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_28 | |
filter_logger: false | |
force: true | |
http_timeout: null | |
key_path: null | |
load_path: null | |
name: molecule_local/fedora:28 | |
nocache: false | |
path: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default | |
pull: true | |
push: false | |
repository: null | |
rm: true | |
ssl_version: null | |
state: present | |
tag: latest | |
timeout: null | |
tls: null | |
tls_hostname: null | |
tls_verify: null | |
use_tls: 'no' | |
item: | |
changed: true | |
checksum: 503a6b788ba18686d2e215144b650c5ee9da9fa2 | |
dest: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_28 | |
diff: | |
- after: |- | |
# Molecule managed | |
FROM fedora:28 | |
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \ | |
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python2-dnf bash && dnf clean all; \ | |
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \ | |
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \ | |
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \ | |
elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi | |
after_header: /Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmpkUfRMH/Dockerfile.j2 | |
before: '' | |
failed: false | |
gid: 20 | |
group: staff | |
invocation: | |
module_args: | |
attributes: null | |
backup: false | |
checksum: 503a6b788ba18686d2e215144b650c5ee9da9fa2 | |
content: null | |
delimiter: null | |
dest: /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/molecule/tripleo-quickstart/default/Dockerfile_fedora_28 | |
directory_mode: null | |
follow: false | |
force: true | |
group: null | |
local_follow: null | |
mode: null | |
original_basename: Dockerfile.j2 | |
owner: null | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441833.9-61818792219754/source | |
unsafe_writes: null | |
validate: null | |
item: | |
hostname: fedora-28 | |
image: fedora:28 | |
name: fedora-28 | |
md5sum: 5342e72e368cef968fbcf8d6706ac24e | |
mode: '0644' | |
owner: ssbarnea | |
size: 851 | |
src: /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441833.9-61818792219754/source | |
state: file | |
uid: 501 | |
fatal: [localhost]: FAILED! => changed=true | |
censored: 'the output has been hidden due to the fact that ''no_log: true'' was specified for this result' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment