panic: runtime error: invalid memory address or nil pointer
http://logs.openstack.org/30/615730/4/gate/tripleo-ci-centos-7-containers-multinode/3cb1666/logs/undercloud/home/zuul/undercloud_install.log.txt.gz#_2018-11-07_01_46_39
podman inspect returns "no such container"...
2018-11-07 01:46:39 | "Writing manifest to image destination",
2018-11-07 01:46:39 | "Storing signatures",
2018-11-07 01:46:39 | "panic: runtime error: invalid memory address or nil pointer dereference",
2018-11-07 01:46:39 | "[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xc13197]",
2018-11-07 01:46:39 | "goroutine 1 [running]:",
2018-11-07 01:46:39 | "github.com/containers/libpod/vendor/github.com/containers/image/storage.(*storageImageDestination).Commit(0xc4202d8000, 0x13f0620, 0xc420034140, 0x0, 0x0)",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/vendor/github.com/containers/image/storage/storage_image.go:601 +0x407",
2018-11-07 01:46:39 | "github.com/containers/libpod/vendor/github.com/containers/image/copy.Image(0x13f0620, 0xc420034140, 0xc4202fc3e0, 0x13fb820, 0xc42013c0c0, 0x13fbb20, 0xc4205b0000, 0xc42013c3c0, 0xc420416000, 0x1cfb, ...)",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/vendor/github.com/containers/image/copy/copy.go:178 +0x59e",
2018-11-07 01:46:39 | "github.com/containers/libpod/libpod/image.(*Runtime).doPullImage(0xc4202fc200, 0x13f0620, 0xc420034140, 0xc42019ef00, 0xc4204e61b0, 0x1, 0x1, 0x0, 0x0, 0x0, ...)",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/libpod/image/pull.go:258 +0x333",
2018-11-07 01:46:39 | "github.com/containers/libpod/libpod/image.(*Runtime).pullImageFromHeuristicSource(0xc4202fc200, 0x13f0620, 0xc420034140, 0x7ffdcc35d7dc, 0x67, 0x13dec80, 0xc42000e020, 0x0, 0x0, 0x0, ...)",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/libpod/image/pull.go:212 +0x1e0",
2018-11-07 01:46:39 | "github.com/containers/libpod/libpod/image.(*Runtime).New(0xc4202fc200, 0x13f0620, 0xc420034140, 0x7ffdcc35d7dc, 0x67, 0x0, 0x0, 0x0, 0x0, 0x13dec80, ...)",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/libpod/image/image.go:148 +0x1c1",
2018-11-07 01:46:39 | "main.pullCmd(0xc420126840, 0x0, 0x0)",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/cmd/podman/pull.go:128 +0x825",
2018-11-07 01:46:39 | "github.com/containers/libpod/vendor/github.com/urfave/cli.HandleAction(0x10f10e0, 0x1339980, 0xc420126840, 0x0, 0xc4202bc420)",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/vendor/github.com/urfave/cli/app.go:501 +0xc8",
2018-11-07 01:46:39 | "github.com/containers/libpod/vendor/github.com/urfave/cli.Command.Run(0x12a9f6f, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x12ccd70, 0x1d, 0x0, ...)",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/vendor/github.com/urfave/cli/command.go:165 +0x47d",
2018-11-07 01:46:39 | "github.com/containers/libpod/vendor/github.com/urfave/cli.(*App).Run(0xc42018ea80, 0xc420030090, 0x3, 0x3, 0x0, 0x0)",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/vendor/github.com/urfave/cli/app.go:259 +0x6e8",
2018-11-07 01:46:39 | "main.main()",
2018-11-07 01:46:39 | "\t/builddir/build/BUILD/libpod-ee513cca8612bebfda36e31203ab215aa682e8c0/_build/src/github.com/containers/libpod/cmd/podman/main.go:263 +0x1816",
2018-11-07 01:46:39 | "2018-11-07 01:28:43,835 WARNING: 10064 -- retrying pulling image: 192.168.24.1:8787/tripleomaster/centos-binary-swift-proxy-server:current-tripleo-updated-20181106231607",
2018-11-07 01:46:39 | "2018-11-07 01:28:55,979 WARNING: 10062 -- podman pull failed: Trying to pull 192.168.24.1:8787/tripleomaster/centos-binary-heat-api:current-tripleo-updated-20181106231607...Getting image source signatures",
...
2018-11-07 01:46:58 | "$ podman inspect --type image --format exists 192.168.24.1:8787/tripleomaster/centos-binary-mariadb:current-tripleo-updated-20181106231607",
2018-11-07 01:46:58 | "exists",
2018-11-07 01:46:58 | "",
2018-11-07 01:46:58 | "$ podman inspect --type image --format exists 192.168.24.1:8787/tripleomaster/centos-binary-memcached:current-tripleo-updated-20181106231607",
2018-11-07 01:46:58 | "$ podman inspect --type image --format exists 192.168.24.1:8787/tripleomaster/centos-binary-rabbitmq:current-tripleo-updated-20181106231607",
2018-11-07 01:46:58 | "$ podman ps -a --filter label=managed_by=paunch --filter label=config_id=tripleo_step1 --format {{.Names}} {{.Label \"container_name\"}}",
2018-11-07 01:46:58 | "$ podman ps -a --filter label=managed_by=paunch --format {{.Names}} {{.Label \"container_name\"}}",
2018-11-07 01:46:58 | "Running container: mysql_init_logs",
2018-11-07 01:46:58 | "$ podman inspect --type container --format exists mysql_init_logs",
2018-11-07 01:46:58 | "error looking up container \"mysql_init_logs\": no container with name or ID mysql_init_logs found: no such container",
2018-11-07 01:46:58 | "$ docker stop mysql_init_logs",
2018-11-07 01:46:58 | "Error response from daemon: No such container: mysql_init_logs",
2018-11-07 01:46:58 | "Error stopping container: mysql_init_logs",
2018-11-07 01:46:58 | "$ podman run --name mysql_init_logs --label config_id=tripleo_step1 --label container_name=mysql_init_logs --label managed_by=paunch --label config_data={\"image\": \"192.168.24.1:8787/tripleomaster/centos-binary-mariadb:current-tripleo-updated-20181106231607\", \"command\": [\"/bin/bash\", \"-c\", \"chown -R mysql:mysql /var/log/mariadb /var/lib/mysql\"], \"privileged\": false, \"volumes\": [\"/var/log/containers/mysql:/var/log/mariadb:z\", \"/var/lib/mysql:/var/lib/mysql:z\"], \"user\": \"root\"} --detach=true --privileged=false --user=root --volume=/var/log/containers/mysql:/var/log/mariadb:z --volume=/var/lib/mysql:/var/lib/mysql:z 192.168.24.1:8787/tripleomaster/centos-binary-mariadb:current-tripleo-updated-20181106231607 /bin/bash -c chown -R mysql:mysql /var/log/mariadb /var/lib/mysql",
2018-11-07 01:46:58 | "1603962f383a56ebbcb8862d11c936f9db23692f9c96e9968c3fb25c9fe1154e",
2018-11-07 01:46:58 | "Completed $ podman run --name mysql_init_logs --label config_id=tripleo_step1 --label container_name=mysql_init_logs --label managed_by=paunch --label config_data={\"image\": \"192.168.24.1:8787/tripleomaster/centos-binary-mariadb:current-tripleo-updated-20181106231607\", \"command\": [\"/bin/bash\", \"-c\", \"chown -R mysql:mysql /var/log/mariadb /var/lib/mysql\"], \"privileged\": false, \"volumes\": [\"/var/log/containers/mysql:/var/log/mariadb:z\", \"/var/lib/mysql:/var/lib/mysql:z\"], \"user\": \"root\"} --detach=true --privileged=false --user=root --volume=/var/log/containers/mysql:/var/log/mariadb:z --volume=/var/lib/mysql:/var/lib/mysql:z 192.168.24.1:8787/tripleomaster/centos-binary-mariadb:current-tripleo-updated-20181106231607 /bin/bash -c chown -R mysql:mysql /var/log/mariadb /var/lib/mysql",
2018-11-07 01:46:58 | "stdout: 1603962f383a56ebbcb8862d11c936f9db23692f9c96e9968c3fb25c9fe1154e",
2018-11-07 01:46:58 | "stderr: ",
Related bug:
#1800737 relabel failed /var/lib/config-data: no such file or directory
So the panic error is a read herring and already reported here: /github. com/containers/ libpod/ issues/ 1730
https:/
and as you can see in the logs, the job actually finished well, without error. This is not a bug.