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
[35m16:41:25[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
[35m16:41:28[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
[35m16:41:30[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.bash - tasks/test][0m
[1;36m[dump code: task.bash][0m
[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]
[1;36m[task stdout][0m
[35m16:41:30[0m :: SCM_URL=https://github.com/melezhik/SparrowCI.git
[35m16:41:30[0m :: SCM_SHA=8991f0a
[35m16:41:30[0m :: SCM_COMMIT_MESSAGE=use pakku to test installation
[35m16:41:33[0m :: ===> Searching for missing dependencies: LibraryMake, Shell::Command
[35m16:41:52[0m :: ===> Searching for missing dependencies: File::Which, File::Find
[35m16:41:52[0m :: ===> Building: Digest::SHA1::Native:ver<0.05>
[35m16:41:52[0m :: ===> Building [OK] for Digest::SHA1::Native:ver<0.05>
[35m16:41:52[0m :: ===> Installing: File::Which:ver<1.0.4>
[35m16:41:52[0m :: ===> Installing: File::Find:ver<0.1.1>
[35m16:41:52[0m :: ===> Installing: Shell::Command
[35m16:41:52[0m :: ===> Installing: LibraryMake:ver<1.0.0>
[35m16:41:52[0m :: ===> Installing: Digest::SHA1::Native:ver<0.05>
[35m16:41:53[0m :: ===> Searching for: Pakku:ver<ava-1>
[35m16:42:02[0m :: ===> Searching for missing dependencies: any(archive:ver<13>:from<native>,archive:from<native>)
[1;36m[task stderr][0m
[35m16:42:02[0m :: ===> Updating fez mirror: https://360.zef.pm/
[35m16:42:02[0m :: ===> Updated fez mirror: https://360.zef.pm/
[35m16:42:02[0m :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
[35m16:42:02[0m :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
[35m16:42:02[0m :: No such method 'as' for invocant of type 'Any'
[35m16:42:02[0m :: task exit status: 1
[35m16:42:02[0m :: 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