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

SparrowCI Report - gh-melezhik-SparrowCI | [image: melezhik/sparrow:debian]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2682
Status: FAIL
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 19.01.2023 @ 16:42
Time elapsed: 112 sec
---
SCM: https://github.com/melezhik/SparrowCI.git
Git sha: 8991f0a
Git comment: use pakku to test installation
image:
  - melezhik/sparrow:debian

secrets:
  - FEZ_TOKEN
tasks:
  - 
    name: test
    default: true
    followup:
      -
        name: release
    language: Bash
    code: |
      set -e
      env|grep SCM
      cd source
      zef install --/test \
        https://github.com/bduggan/p6-digest-sha1-native/archive/refs/tags/0.05.tar.gz
      zef install "Pakku:ver<ava-1>" --to=home --/test  
      pakku add notest .
  -
    name: release
    if:
      language: Raku
      code: |
        unless %*ENV<SCM_COMMIT_MESSAGE> ~~ /'release!'/ {
          update_state %( status => 'skip' )
        }
    language: Bash
    code: |
      set -e
      zef install --/test https://github.com/tony-o/raku-fez.git

      cat << HERE > ~/.fez-config.json
       {"groups":[],"un":"melezhik","key":"$FEZ_TOKEN"}
      HERE

      cd source/

      tom --clean
      fez upload --unattended
16:41:25 :: [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
16:41:28 :: [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]
16:41:30 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/test]
[dump code: task.bash]
[1] set -e
[2] env|grep SCM
[3] cd source
[4] zef install --/test \
[5]   https://github.com/bduggan/p6-digest-sha1-native/archive/refs/tags/0.05.tar.gz
[6] zef install "Pakku:ver<ava-1>" --to=home --/test  
[7] pakku add notest .
[8] 
[task stdout]
16:41:30 :: SCM_URL=https://github.com/melezhik/SparrowCI.git
16:41:30 :: SCM_SHA=8991f0a
16:41:30 :: SCM_COMMIT_MESSAGE=use pakku to test installation
16:41:33 :: ===> Searching for missing dependencies: LibraryMake, Shell::Command
16:41:52 :: ===> Searching for missing dependencies: File::Which, File::Find
16:41:52 :: ===> Building: Digest::SHA1::Native:ver<0.05>
16:41:52 :: ===> Building [OK] for Digest::SHA1::Native:ver<0.05>
16:41:52 :: ===> Installing: File::Which:ver<1.0.4>
16:41:52 :: ===> Installing: File::Find:ver<0.1.1>
16:41:52 :: ===> Installing: Shell::Command
16:41:52 :: ===> Installing: LibraryMake:ver<1.0.0>
16:41:52 :: ===> Installing: Digest::SHA1::Native:ver<0.05>
16:41:53 :: ===> Searching for: Pakku:ver<ava-1>
16:42:02 :: ===> Searching for missing dependencies: any(archive:ver<13>:from<native>,archive:from<native>)
[task stderr]
16:42:02 :: ===> Updating fez mirror: https://360.zef.pm/
16:42:02 :: ===> Updated fez mirror: https://360.zef.pm/
16:42:02 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
16:42:02 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
16:42:02 :: No such method 'as' for invocant of type 'Any'
16:42:02 :: task exit status: 1
16:42:02 :: task tasks/test FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/test/.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