Comment 19 for bug 1878405

Revision history for this message
Michele Baldessari (michele) wrote :

Note that it took 37 seconds not minutes, so fairly reasonable more or less:
2020-05-20T12:01:39.732288961+00:00 stderr F + mkdir -p /etc/puppet
...
2020-05-20T12:02:26.590997720+00:00 stderr F + rm -rf /tmp/tmp.tD1rY9SPMb /tmp/tmp.rv4aUYMRLt

As to issue nr. 1 (wrong podman error code). I just tried this on my downstream env:

[root@controller-0 ~]# podman run --user=root --net=host --rm undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-nova-api:16.1_20200508.1 sh -c 'echo foo' ; echo $?
foo
0

[root@controller-0 ~]# podman run -v /nonexistant:/tmp/ --user=root --net=host --rm undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-nova-api:16.1_20200508.1 sh -c 'echo foo' ; echo $?
Error: error checking path "/nonexistant": stat /nonexistant: no such file or directory
125

[root@controller-0 ~]# podman run -d -v /nonexistant:/tmp/ --user=root --net=host --rm undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-nova-api:16.1_20200508.1 sh -c 'echo foo' ; echo $?
Error: error checking path "/nonexistant": stat /nonexistant: no such file or directory
125

[root@controller-0 ~]# rpm -q podman
podman-1.6.4-11.module+el8.2.0+6369+1f4293b4.x86_64

CI instead has: podman-1.6.4-4.module_el8.1.0+298+41f9343a.x86_64 so I tried an older podman version and it seems correct to me as well?
 [root@undercloud-0 ~]# rpm -q podman
podman-1.6.4-2.module+el8.1.1+5363+bf8ff1af.x86_64
 [root@undercloud-0 ~]# podman run -it --net=host --user=root undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-nova-api:20200226.1 sh -c 'echo foo' ; echo $?
foo
0
 [root@undercloud-0 ~]# podman run -it --net=host --user=root --rm -v /nonexistent:/tmp/ undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-nova-api:20200226.1 sh -c 'echo foo' ; echo $?
Error: error checking path "/nonexistent": stat /nonexistent: no such file or directory
125
 [root@undercloud-0 ~]# podman run -d -it --net=host --user=root --rm -v /nonexistent:/tmp/ undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-nova-api:20200226.1 sh -c 'echo foo' ; echo $?
Error: error checking path "/nonexistent": stat /nonexistent: no such file or directory
125

Unless obviously my simple tests are not sufficiently close to the failure we've seen. Hohum, odd.