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

SparrowCI Report - branch-melezhik-pets-archlinux | [image: melezhik/sparrow:archlinux]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 3171
Status: FAIL
Image: melezhik/sparrow:archlinux
Worker status: OK
---
Date: 03.03.2023 @ 03:48
Time elapsed: 494 sec
---
SCM: https://github.com/melezhik/pets.git
Git sha: f095da7
Git comment: set go for archlinux
image:
  - melezhik/sparrow:alpine
  - melezhik/sparrow:debian
  - melezhik/sparrow:ubuntu
  - melezhik/sparrow:archlinux
  
tasks:
 -
  name: go_test
  language: Bash
  code: |
    set -e
    echo "Run tests for OS: $os ..."
    if test "$os" = "ubuntu" || test "$os" = "debian"; then
      export PATH=/usr/local/go/bin:$PATH
    fi
    go version
    cd source
    go test -v
  default: true
  depends:
    -
      name: go_build
 -
  name: go_build
  language: Bash
  code: |
    set -e
    if test "$os" = "ubuntu" || test "$os" = "debian" || test "$os" = "arch" || test "$os" = "archlinux"; then
      export PATH=/usr/local/go/bin:$PATH
    fi
    go version
    cd source
    go build -v
  depends:
    -
      name: install-go
 -
    name: install-go
    language: Bash
    code: |
      if test $os = "alpine"; then
        sudo apk add go \
        --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
      else
        sudo rm -rf /usr/local/go
        curl -sfL https://go.dev/dl/go1.19.3.linux-amd64.tar.gz -o ~/go1.19.3.linux-amd64.tar.gz
        sudo tar -C /usr/local -xzf ~/go*.linux-amd64.tar.gz
      fi
03:47:46 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/install-go]
[dump code: task.bash]
[1] if test $os = "alpine"; then
[2]   sudo apk add go \
[3]   --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
[4] else
[5]   sudo rm -rf /usr/local/go
[6]   curl -sfL https://go.dev/dl/go1.19.3.linux-amd64.tar.gz -o ~/go1.19.3.linux-amd64.tar.gz
[7]   sudo tar -C /usr/local -xzf ~/go*.linux-amd64.tar.gz
[8] fi
[9] 
[task stdout]
03:47:09 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/go_build]
[dump code: task.bash]
[1] set -e
[2] if test "$os" = "ubuntu" || test "$os" = "debian" || test "$os" = "arch" || test "$os" = "archlinux"; then
[3]   export PATH=/usr/local/go/bin:$PATH
[4] fi
[5] go version
[6] cd source
[7] go build -v
[8] 
[task stdout]
03:47:56 :: go version go1.19.3 linux/amd64
[task stderr]
03:47:56 :: go: downloading github.com/hashicorp/logutils v1.0.0
03:47:56 :: github.com/hashicorp/logutils
03:47:56 :: github.com/ema/pets
03:46:37 :: [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
03:46:41 :: [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]
03:46:44 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/go_test]
[dump code: task.bash]
[1] set -e
[2] echo "Run tests for OS: $os ..."
[3] if test "$os" = "ubuntu" || test "$os" = "debian"; then
[4]   export PATH=/usr/local/go/bin:$PATH
[5] fi
[6] go version
[7] cd source
[8] go test -v
[9] 
[task stdout]
03:47:58 :: Run tests for OS: arch ...
[task stderr]
03:47:58 :: /var/.sparrowdo/env/go_test/.sparrowdo/tasks/go_test/task.bash: line 6: go: command not found
03:47:58 :: task exit status: 127
03:47:58 :: task tasks/go_test FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/go_test/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 127, 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