Home Quick start All builds News Donations
More
Log In
Light Theme Docs
Workers

SparrowCI Report - branch-melezhik-sparrowci-docker-task-alpine | [image: melezhik/sparrow:alpine]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2979
Status: FAIL
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 09.02.2023 @ 20:48
Time elapsed: 74 sec
---
SCM: https://github.com/melezhik/sparrowci-docker-task.git
Git sha: 2cb9a1c
Git comment: Update Dockerfile
tasks:
  -
    name: run-docker
    language: Bash
    default: true
    code: |
      sudo apk add docker-cli
      sudo docker run hello-world
      export cwd=$(pwd)
      sudo -E docker build $cwd/source
20:48:20 :: [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
20:48:23 :: [repository] - installing pack-unpack, version 0.000001
[task run: task.bash - unpack source archive]
[dump code: task.bash]
[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] 
[task stdout]
20:48:25 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/run-docker]
[dump code: task.bash]
[1] sudo apk add docker-cli
[2] sudo docker run hello-world
[3] export cwd=$(pwd)
[4] sudo -E docker build $cwd/source
[5] 
[task stdout]
20:48:25 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
20:48:25 :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
20:48:25 :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
20:48:26 :: (1/1) Installing docker-cli (20.10.20-r0)
20:48:26 :: Executing busybox-1.35.0-r17.trigger
20:48:26 :: OK: 752 MiB in 61 packages
20:48:27 :: 
20:48:27 :: Hello from Docker!
20:48:27 :: This message shows that your installation appears to be working correctly.
20:48:27 :: 
20:48:27 :: To generate this message, Docker took the following steps:
20:48:27 ::  1. The Docker client contacted the Docker daemon.
20:48:27 ::  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
20:48:27 ::     (amd64)
20:48:27 ::  3. The Docker daemon created a new container from that image which runs the
20:48:27 ::     executable that produces the output you are currently reading.
20:48:27 ::  4. The Docker daemon streamed that output to the Docker client, which sent it
20:48:27 ::     to your terminal.
20:48:27 :: 
20:48:27 :: To try something more ambitious, you can run an Ubuntu container with:
20:48:27 ::  $ docker run -it ubuntu bash
20:48:27 :: 
20:48:27 :: Share images, automate workflows, and more with a free Docker ID:
20:48:27 ::  https://hub.docker.com/
20:48:27 :: 
20:48:27 :: For more examples and ideas, visit:
20:48:27 ::  https://docs.docker.com/get-started/
20:48:27 :: 
20:48:27 :: Sending build context to Docker daemon  87.55kB
20:48:27 :: 
20:48:27 :: Step 1/3 : FROM ubuntu
20:48:27 ::  ---> 58db3edaf2be
20:48:27 :: Step 2/3 : RUN apt-get update
20:48:27 ::  ---> Running in a708761e17de
20:48:27 :: Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
20:48:27 :: Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
20:48:27 :: Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
20:48:27 :: Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
20:48:27 :: Get:5 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
20:48:27 :: Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
20:48:28 :: Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [710 kB]
20:48:28 :: Get:8 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
20:48:28 :: Get:9 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
20:48:28 :: Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1012 kB]
20:48:28 :: Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [758 kB]
20:48:28 :: Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1108 kB]
20:48:28 :: Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [10.6 kB]
20:48:28 :: Get:14 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [801 kB]
20:48:28 :: Get:15 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [5557 B]
20:48:28 :: Get:16 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [783 kB]
20:48:28 :: Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [22.4 kB]
20:48:28 :: Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [49.0 kB]
20:48:29 :: Fetched 25.6 MB in 2s (15.0 MB/s)
20:48:30 :: Reading package lists...
20:48:30 :: Removing intermediate container a708761e17de
20:48:30 ::  ---> eaf8fd852405
20:48:30 :: Step 3/3 : RUN apt-get install –y nginx
20:48:30 ::  ---> Running in 9e13e1259fbe
20:48:31 :: Reading package lists...
20:48:31 :: Building dependency tree...
20:48:31 :: Reading state information...
20:48:31 :: E: Unable to locate package –y
20:48:32 :: 
[task stderr]
20:48:32 :: The command '/bin/sh -c apt-get install –y nginx' returned a non-zero code: 100
20:48:32 :: task exit status: 100
20:48:32 :: task tasks/run-docker FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/run-docker/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 100, 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