BuildID: 2962
Status: FAIL
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 09.02.2023 @ 19:21
Time elapsed: 111 sec
---
SCM:
https://github.com/melezhik/sparrowci-docker-task.git
Git sha: 27705f0
Git comment: Update sparrow.yaml
image:
- melezhik/sparrow:debian
tasks:
-
name: run-docker
default: true
depends:
-
name: install-docker-cli
language: Bash
code: |
set -e
set -x
id
docker run hello-world
-
name: install-docker-cli
plugin: docker-engine
config:
cli_only: true
[35m19:21:15[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[35m19:21:17[0m :: [repository] - installing docker-engine, version 0.001015
[1;36m[task run: task.bash - install-docker-cli][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2]
[3] cli_only=$(config cli_only)
[4]
[5] set -x
[6]
[7] echo "cli_only: ${cli_only}"
[8]
[9] export DEBIAN_FRONTEND=noninteractive
[10]
[11] sudo apt-get update
[12]
[13] sudo apt-get update
[14] sudo apt-get install -y \
[15] ca-certificates \
[16] curl \
[17] gnupg \
[18] lsb-release
[19]
[20]
[21] sudo mkdir -m 0755 -p /etc/apt/keyrings
[22]
[23] curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
[24]
[25] echo \
[26] "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
[27] $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
[28]
[29] sudo apt-get update
[30]
[31] export user=$USER
[32]
[33] echo "user: $user"
[34]
[35] if test "$cli_only" = "True"; then
[36] sudo apt-get install -y docker-ce-cli
[37] sudo groupadd docker
[38] sudo --preserve-env=user usermod -a -G docker $user
[39] else
[40] sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
[41] sudo --preserve-env=user usermod -a -G docker $user
[42] fi
[43]
[44]
[45]
[1;36m[task stdout][0m
[35m19:21:20[0m :: cli_only: True
[35m19:21:20[0m :: Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
[35m19:21:20[0m :: Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
[35m19:21:20[0m :: Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
[35m19:21:20[0m :: Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
[35m19:21:20[0m :: Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [222 kB]
[35m19:21:20[0m :: Get:6 https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/deb/debian bullseye InRelease [5264 B]
[35m19:21:21[0m :: Fetched 8618 kB in 1s (5900 kB/s)
[35m19:21:22[0m :: Reading package lists...
[35m19:21:22[0m :: Hit:1 http://deb.debian.org/debian bullseye InRelease
[35m19:21:22[0m :: Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
[35m19:21:22[0m :: Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
[35m19:21:22[0m :: Get:4 https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/deb/debian bullseye InRelease [5264 B]
[35m19:21:22[0m :: Fetched 5264 B in 0s (13.9 kB/s)
[35m19:21:22[0m :: Reading package lists...
[35m19:21:23[0m :: Reading package lists...
[35m19:21:23[0m :: Building dependency tree...
[35m19:21:23[0m :: Reading state information...
[35m19:21:23[0m :: ca-certificates is already the newest version (20210119).
[35m19:21:23[0m :: ca-certificates set to manually installed.
[35m19:21:23[0m :: gnupg is already the newest version (2.2.27-2+deb11u2).
[35m19:21:23[0m :: gnupg set to manually installed.
[35m19:21:23[0m :: lsb-release is already the newest version (11.1.0).
[35m19:21:23[0m :: The following additional packages will be installed:
[35m19:21:23[0m :: libcurl4
[35m19:21:23[0m :: The following packages will be upgraded:
[35m19:21:23[0m :: curl libcurl4
[35m19:21:23[0m :: 2 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
[35m19:21:23[0m :: Need to get 616 kB of archives.
[35m19:21:23[0m :: After this operation, 2048 B of additional disk space will be used.
[35m19:21:23[0m :: Get:1 http://deb.debian.org/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u5 [270 kB]
[35m19:21:23[0m :: Get:2 http://deb.debian.org/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u5 [346 kB]
[35m19:21:23[0m :: Fetched 616 kB in 0s (45.7 MB/s)
[35m19:21:24[0m :: (Reading database ...
[35m19:21:24[0m :: (Reading database ... 5%
[35m19:21:24[0m :: (Reading database ... 10%
[35m19:21:24[0m :: (Reading database ... 15%
[35m19:21:24[0m :: (Reading database ... 20%
[35m19:21:24[0m :: (Reading database ... 25%
[35m19:21:24[0m :: (Reading database ... 30%
[35m19:21:24[0m :: (Reading database ... 35%
[35m19:21:24[0m :: (Reading database ... 40%
[35m19:21:24[0m :: (Reading database ... 45%
[35m19:21:24[0m :: (Reading database ... 50%
[35m19:21:24[0m :: (Reading database ... 55%
[35m19:21:24[0m :: (Reading database ... 60%
[35m19:21:24[0m :: (Reading database ... 65%
[35m19:21:24[0m :: (Reading database ... 70%
[35m19:21:24[0m :: (Reading database ... 75%
[35m19:21:24[0m :: (Reading database ... 80%
[35m19:21:24[0m :: (Reading database ... 85%
[35m19:21:24[0m :: (Reading database ... 90%
[35m19:21:24[0m :: (Reading database ... 95%
[35m19:21:24[0m :: (Reading database ... 100%
[35m19:21:24[0m :: (Reading database ... 19016 files and directories currently installed.)
[35m19:21:24[0m :: Preparing to unpack .../curl_7.74.0-1.3+deb11u5_amd64.deb ...
[35m19:21:24[0m :: Unpacking curl (7.74.0-1.3+deb11u5) over (7.74.0-1.3+deb11u3) ...
[35m19:21:24[0m :: Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u5_amd64.deb ...
[35m19:21:24[0m :: Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u5) over (7.74.0-1.3+deb11u3) ...
[35m19:21:24[0m :: Setting up libcurl4:amd64 (7.74.0-1.3+deb11u5) ...
[35m19:21:24[0m :: Setting up curl (7.74.0-1.3+deb11u5) ...
[35m19:21:24[0m :: Processing triggers for libc-bin (2.31-13+deb11u5) ...
[35m19:21:24[0m :: Hit:1 http://deb.debian.org/debian bullseye InRelease
[35m19:21:24[0m :: Get:2 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
[35m19:21:24[0m :: Get:3 https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/deb/debian bullseye InRelease [5264 B]
[35m19:21:24[0m :: Hit:4 http://deb.debian.org/debian-security bullseye-security InRelease
[35m19:21:24[0m :: Hit:5 http://deb.debian.org/debian bullseye-updates InRelease
[35m19:21:24[0m :: Get:6 https://download.docker.com/linux/debian bullseye/stable amd64 Packages [18.1 kB]
[35m19:21:24[0m :: Fetched 66.7 kB in 0s (139 kB/s)
[35m19:21:25[0m :: Reading package lists...
[35m19:21:25[0m :: user:
[35m19:21:25[0m :: Reading package lists...
[35m19:21:25[0m :: Building dependency tree...
[35m19:21:25[0m :: Reading state information...
[35m19:21:26[0m :: The following additional packages will be installed:
[35m19:21:26[0m :: docker-buildx-plugin docker-compose-plugin docker-scan-plugin
[35m19:21:26[0m :: The following NEW packages will be installed:
[35m19:21:26[0m :: docker-buildx-plugin docker-ce-cli docker-compose-plugin docker-scan-plugin
[35m19:21:26[0m :: 0 upgraded, 4 newly installed, 0 to remove and 13 not upgraded.
[35m19:21:26[0m :: Need to get 52.3 MB of archives.
[35m19:21:26[0m :: After this operation, 164 MB of additional disk space will be used.
[35m19:21:26[0m :: Get:1 https://download.docker.com/linux/debian bullseye/stable amd64 docker-buildx-plugin amd64 0.10.2-1~debian.11~bullseye [25.9 MB]
[35m19:21:26[0m :: Get:2 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce-cli amd64 5:23.0.0-1~debian.11~bullseye [13.2 MB]
[35m19:21:26[0m :: Get:3 https://download.docker.com/linux/debian bullseye/stable amd64 docker-compose-plugin amd64 2.15.1-1~debian.11~bullseye [9572 kB]
[35m19:21:26[0m :: Get:4 https://download.docker.com/linux/debian bullseye/stable amd64 docker-scan-plugin amd64 0.23.0~debian-bullseye [3623 kB]
[35m19:21:26[0m :: Fetched 52.3 MB in 1s (98.3 MB/s)
[35m19:21:26[0m :: Selecting previously unselected package docker-buildx-plugin.
[35m19:21:26[0m :: (Reading database ...
[35m19:21:26[0m :: (Reading database ... 5%
[35m19:21:26[0m :: (Reading database ... 10%
[35m19:21:26[0m :: (Reading database ... 15%
[35m19:21:26[0m :: (Reading database ... 20%
[35m19:21:26[0m :: (Reading database ... 25%
[35m19:21:26[0m :: (Reading database ... 30%
[35m19:21:26[0m :: (Reading database ... 35%
[35m19:21:26[0m :: (Reading database ... 40%
[35m19:21:26[0m :: (Reading database ... 45%
[35m19:21:26[0m :: (Reading database ... 50%
[35m19:21:26[0m :: (Reading database ... 55%
[35m19:21:26[0m :: (Reading database ... 60%
[35m19:21:26[0m :: (Reading database ... 65%
[35m19:21:26[0m :: (Reading database ... 70%
[35m19:21:26[0m :: (Reading database ... 75%
[35m19:21:26[0m :: (Reading database ... 80%
[35m19:21:26[0m :: (Reading database ... 85%
[35m19:21:26[0m :: (Reading database ... 90%
[35m19:21:26[0m :: (Reading database ... 95%
[35m19:21:26[0m :: (Reading database ... 100%
[35m19:21:26[0m :: (Reading database ... 19016 files and directories currently installed.)
[35m19:21:26[0m :: Preparing to unpack .../docker-buildx-plugin_0.10.2-1~debian.11~bullseye_amd64.deb ...
[35m19:21:26[0m :: Unpacking docker-buildx-plugin (0.10.2-1~debian.11~bullseye) ...
[35m19:21:28[0m :: Selecting previously unselected package docker-ce-cli.
[35m19:21:28[0m :: Preparing to unpack .../docker-ce-cli_5%3a23.0.0-1~debian.11~bullseye_amd64.deb ...
[35m19:21:28[0m :: Unpacking docker-ce-cli (5:23.0.0-1~debian.11~bullseye) ...
[35m19:21:29[0m :: Selecting previously unselected package docker-compose-plugin.
[35m19:21:29[0m :: Preparing to unpack .../docker-compose-plugin_2.15.1-1~debian.11~bullseye_amd64.deb ...
[35m19:21:29[0m :: Unpacking docker-compose-plugin (2.15.1-1~debian.11~bullseye) ...
[35m19:21:30[0m :: Selecting previously unselected package docker-scan-plugin.
[35m19:21:30[0m :: Preparing to unpack .../docker-scan-plugin_0.23.0~debian-bullseye_amd64.deb ...
[35m19:21:30[0m :: Unpacking docker-scan-plugin (0.23.0~debian-bullseye) ...
[35m19:21:30[0m :: Setting up docker-scan-plugin (0.23.0~debian-bullseye) ...
[35m19:21:30[0m :: Setting up docker-buildx-plugin (0.10.2-1~debian.11~bullseye) ...
[35m19:21:30[0m :: Setting up docker-compose-plugin (2.15.1-1~debian.11~bullseye) ...
[35m19:21:30[0m :: Setting up docker-ce-cli (5:23.0.0-1~debian.11~bullseye) ...
[1;36m[task stderr][0m
[35m19:21:30[0m :: ++ echo 'cli_only: True'
[35m19:21:30[0m :: ++ export DEBIAN_FRONTEND=noninteractive
[35m19:21:30[0m :: ++ DEBIAN_FRONTEND=noninteractive
[35m19:21:30[0m :: ++ sudo apt-get update
[35m19:21:30[0m :: ++ sudo apt-get update
[35m19:21:30[0m :: ++ sudo apt-get install -y ca-certificates curl gnupg lsb-release
[35m19:21:30[0m :: debconf: delaying package configuration, since apt-utils is not installed
[35m19:21:30[0m :: ++ sudo mkdir -m 0755 -p /etc/apt/keyrings
[35m19:21:30[0m :: ++ curl -fsSL https://download.docker.com/linux/debian/gpg
[35m19:21:30[0m :: ++ sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
[35m19:21:30[0m :: ++ sudo tee /etc/apt/sources.list.d/docker.list
[35m19:21:30[0m :: +++ dpkg --print-architecture
[35m19:21:30[0m :: +++ lsb_release -cs
[35m19:21:30[0m :: ++ echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bullseye stable'
[35m19:21:30[0m :: ++ sudo apt-get update
[35m19:21:30[0m :: ++ export user=
[35m19:21:30[0m :: ++ user=
[35m19:21:30[0m :: ++ echo 'user: '
[35m19:21:30[0m :: ++ test True = True
[35m19:21:30[0m :: ++ sudo apt-get install -y docker-ce-cli
[35m19:21:30[0m :: debconf: delaying package configuration, since apt-utils is not installed
[35m19:21:30[0m :: ++ sudo groupadd docker
[35m19:21:30[0m :: ++ sudo --preserve-env=user usermod -a -G docker
[35m19:21:30[0m :: Usage: usermod [options] LOGIN
[35m19:21:30[0m ::
[35m19:21:30[0m :: Options:
[35m19:21:30[0m :: -b, --badnames allow bad names
[35m19:21:30[0m :: -c, --comment COMMENT new value of the GECOS field
[35m19:21:30[0m :: -d, --home HOME_DIR new home directory for the user account
[35m19:21:30[0m :: -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
[35m19:21:30[0m :: -f, --inactive INACTIVE set password inactive after expiration
[35m19:21:30[0m :: to INACTIVE
[35m19:21:30[0m :: -g, --gid GROUP force use GROUP as new primary group
[35m19:21:30[0m :: -G, --groups GROUPS new list of supplementary GROUPS
[35m19:21:30[0m :: -a, --append append the user to the supplemental GROUPS
[35m19:21:30[0m :: mentioned by the -G option without removing
[35m19:21:30[0m :: the user from other groups
[35m19:21:30[0m :: -h, --help display this help message and exit
[35m19:21:30[0m :: -l, --login NEW_LOGIN new value of the login name
[35m19:21:30[0m :: -L, --lock lock the user account
[35m19:21:30[0m :: -m, --move-home move contents of the home directory to the
[35m19:21:30[0m :: new location (use only with -d)
[35m19:21:30[0m :: -o, --non-unique allow using duplicate (non-unique) UID
[35m19:21:30[0m :: -p, --password PASSWORD use encrypted password for the new password
[35m19:21:30[0m :: -R, --root CHROOT_DIR directory to chroot into
[35m19:21:30[0m :: -P, --prefix PREFIX_DIR prefix directory where are located the /etc/* files
[35m19:21:30[0m :: -s, --shell SHELL new login shell for the user account
[35m19:21:30[0m :: -u, --uid UID new UID for the user account
[35m19:21:30[0m :: -U, --unlock unlock the user account
[35m19:21:30[0m :: -v, --add-subuids FIRST-LAST add range of subordinate uids
[35m19:21:30[0m :: -V, --del-subuids FIRST-LAST remove range of subordinate uids
[35m19:21:30[0m :: -w, --add-subgids FIRST-LAST add range of subordinate gids
[35m19:21:30[0m :: -W, --del-subgids FIRST-LAST remove range of subordinate gids
[35m19:21:30[0m :: -Z, --selinux-user SEUSER new SELinux user mapping for the user account
[35m19:21:30[0m ::
[35m19:21:30[0m :: task exit status: 2
[35m19:21:30[0m :: task install-docker-cli FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/install-docker-cli/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 2, signal: 0)
in block <unit> at /home/sparrow/.rakubrew/versions/moar-2022.12/share/perl6/site/resources/D89191B85489D8D1AA2CA29B23BB54732926E4C8 line 13
in sub MAIN at /home/sparrow/.rakubrew/versions/moar-2022.12/share/perl6/site/bin/sparrowdo line 3
in block <unit> at /home/sparrow/.rakubrew/versions/moar-2022.12/share/perl6/site/bin/sparrowdo line 1
[35m19:20:37[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
source directory does not yet exist, download source archive from storage
[35m19:20:40[0m :: [repository] - installing pack-unpack, version 0.000001
[1;36m[task run: task.bash - unpack source archive][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2]
[3] file=$(config file)
[4] dir=$(config dir)
[5]
[6] echo "tar -xzf $file "
[7]
[8] tar -xzf $file
[9]
[10] if test $dir; then
[11] ls -l $dir
[12] fi
[13]
[14]
[1;36m[task stdout][0m
[35m19:20:42[0m :: tar -xzf source.tar.gz
some depends jobs failed or timeouted: ${:FAIL(1), :OK(0), :TIMEOUT(0)}
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/run-docker/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 1, signal: 0)
in block <unit> at /home/sparrow/.rakubrew/versions/moar-2022.12/share/perl6/site/resources/D89191B85489D8D1AA2CA29B23BB54732926E4C8 line 13
in sub MAIN at /home/sparrow/.rakubrew/versions/moar-2022.12/share/perl6/site/bin/sparrowdo line 3
in block <unit> at /home/sparrow/.rakubrew/versions/moar-2022.12/share/perl6/site/bin/sparrowdo line 1