mafalb/ansible-collection-openssh

fedora 33 image does not build

Opened this issue · 0 comments

CI fails

 TASK [Build an Ansible compatible image (new)] *********************************
    FAILED - RETRYING: Build an Ansible compatible image (new) (3 retries left).
    FAILED - RETRYING: Build an Ansible compatible image (new) (2 retries left).
    FAILED - RETRYING: Build an Ansible compatible image (new) (1 retries left).
    failed: [localhost] (item=molecule_local/fedora:33) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": {"ansible_index_var": "i", "ansible_loop_var": "item", "changed": true, "checksum": "d07fab3489a7c73a4f2f096e13044aa50f6bce77", "dest": "/home/mafalb/.cache/molecule/openssh/default/Dockerfile_fedora_33", "diff": [], "failed": false, "gid": 10000, "group": "mafalb", "i": 0, "invocation": {"module_args": {"_original_basename": "Dockerfile.j2", "attributes": null, "backup": false, "checksum": "d07fab3489a7c73a4f2f096e13044aa50f6bce77", "content": null, "dest": "/home/mafalb/.cache/molecule/openssh/default/Dockerfile_fedora_33", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/mafalb/.ansible/tmp/ansible-tmp-1607785492.3991334-22136-198216784648678/source", "unsafe_writes": false, "validate": null}}, "item": {"capabilities": ["SYS_ADMIN"], "command": "/lib/systemd/systemd", "docker_networks": [{"internal": true, "name": "molecule-internal"}], "image": "fedora:33", "name": "ci_fedora33", "networks": [{"name": "molecule-internal"}, {"name": "molecule-external"}], "pre_build_image": false, "privileged": false, "tmpfs": ["/run", "/tmp"], "tty": true, "volumes": ["/sys/fs/cgroup:/sys/fs/cgroup:ro"]}, "md5sum": "0efcaa7913f6375e3b50da765342a122", "mode": "0600", "owner": "mafalb", "secontext": "unconfined_u:object_r:cache_home_t:s0", "size": 1124, "src": "/home/mafalb/.ansible/tmp/ansible-tmp-1607785492.3991334-22136-198216784648678/source", "state": "file", "uid": 10000}, "msg": "Error building molecule_local/fedora - code: 127, message: The command '/bin/sh -c (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); rm -f /lib/systemd/system/multi-user.target.wants/*;rm -f /etc/systemd/system/*.wants/*;rm -f /lib/systemd/system/local-fs.target.wants/*; rm -f /lib/systemd/system/sockets.target.wants/*udev*; rm -f /lib/systemd/system/sockets.target.wants/*initctl*; rm -f /lib/systemd/system/basic.target.wants/*;rm -f /lib/systemd/system/anaconda.target.wants/*;' returned a non-zero code: 127, logs: ['Step 1/8 : FROM fedora:33\\n', 'Trying to pull repository docker.io/library/fedora ... ', 'Pulling from docker.io/library/fedora', 'Digest: sha256:aa889c59fc048b597dcfab40898ee3fcaad9ed61caf12bcfef44493ee670e9df', 'Status: Image is up to date for docker.io/fedora:33', ' ---> b3048463dcef\\n', 'Step 2/8 : STOPSIGNAL SIGRTMIN+3\\n', ' ---> Using cache\\n', ' ---> 457c87c2e260\\n', 'Step 3/8 : ENV container docker\\n', ' ---> Using cache\\n', ' ---> 500a8fdaee5a\\n', \"Step 4/8 : RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 python3-apt sudo systemd ;    elif [ $(command -v dnf) ]; then touch /var/lib/rpm/* && dnf makecache && dnf --assumeyes install python3 sudo which ;    elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo which yum-plugin-ovl && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf;     fi\\n\", ' ---> Using cache\\n', ' ---> 424b73254973\\n', 'Step 5/8 : RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); rm -f /lib/systemd/system/multi-user.target.wants/*;rm -f /etc/systemd/system/*.wants/*;rm -f /lib/systemd/system/local-fs.target.wants/*; rm -f /lib/systemd/system/sockets.target.wants/*udev*; rm -f /lib/systemd/system/sockets.target.wants/*initctl*; rm -f /lib/systemd/system/basic.target.wants/*;rm -f /lib/systemd/system/anaconda.target.wants/*;\\n', ' ---> Running in c8af4436016e\\n', '\\x1b[91m\\x1b[0m', '\\x1b[91m/bin/sh: line 0: cd: /lib/systemd/system/sysinit.target.wants/: No such file or directory\\n\\x1b[0m', \"\\x1b[91mrm: cannot remove 'boot': Is a directory\\n\\x1b[0m\", \"\\x1b[91mrm: cannot remove 'dev': Is a directory\\n\\x1b[0m\", \"\\x1b[91mrm: cannot remove 'etc': Is a directory\\n\\x1b[0m\", \"\\x1b[91mrm: cannot remove 'home': Is a directory\\n\\x1b[0m\", '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', '\\x1b[91m/bin/sh: /usr/bin/rm: No such file or directory\\n\\x1b[0m', 'Removing intermediate container c8af4436016e\\n']"}