BuildID: 3622
Status: FAIL
Image: melezhik/sparrow:alpine_arm
Worker status: OK
---
Date: 15.09.2023 @ 21:10
Time elapsed: 132 sec
---
SCM:
https://github.com/melezhik/Tomtit.git
Git sha: cb7e0b0
Git comment: move to arm arch
image:
- melezhik/sparrow:alpine_arm
secrets:
- FEZ_TOKEN
tasks:
-
name: main
default: true
language: Raku
code: |
use Text::Table::Simple;
my @columns = ("Rakudo Version", "Status", "Time", "Linux Dist");
my @rows;
my $fail = False;
for config()<tasks><test-versions><state><list><> -> $i {
@rows.push: [ $i<version>, $i<status>, $i<time>, os() ];
$fail = True unless $i<status> eq "OK";
}
my @table = lol2table(@columns,@rows);
.say for @table;
die "some tests failed" if $fail == True;
depends:
-
name: test-versions
followup:
-
name: release
-
name: test-versions
language: Raku
config:
list:
- 2022.04
- 2022.06
- 2023.06
- 2022.12
code: |
my @state;
for config()<list><> -> $v {
my $s = %( version => $v );
if "{cache_root_dir()}/{$v}_ok".IO ~~ :e {
$s<status> = "OK";
} else {
$s<status> = "FAIL";
}
if "{cache_root_dir()}/{$v}_time".IO ~~ :e {
$s<time> = "{cache_root_dir()}/{$v}_time".IO.slurp();
} else {
$s<time> = "NA";
}
@state.push: $s;
}
update_state %( list => @state );
init: |
for config()<list><> -> $v {
run_task("test", %( version => $v ));
}
subtasks:
-
name: test
language: Bash
init: |
ignore_error
code: |
set -e
rakubrew download moar-$version
rakubrew switch moar-$version
cd source/
zef install --/test --to=home .
export SP6_LOG_NO_TIMESTAMPS=1
/usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
tomty --all --show-failed --color --dump-task && \
touch "${cache_root_dir}/${version}_ok"
depends:
-
name: rakubrew-install
-
name: release
if:
language: Raku
code: |
unless %*ENV<SCM_COMMIT_MESSAGE> ~~ /'release!'/ {
update_state %( status => 'skip' )
}
language: Bash
code: |
set -e
sudo apk add zlib-dev
zef install --/test fez
cat << HERE > ~/.fez-config.json
{
"groups":[],"un":"melezhik","key":"$FEZ_TOKEN",
"bundlers": ["Fez::Util::Pax"]
}
HERE
cd source/
tom --clean
fez version
fez upload --unattended
-
name: rakubrew-install
language: Bash
code: |
set -e
curl -sf https://rakubrew.org/perl/rakubrew -o rakubrew
sudo mv rakubrew /usr/local/bin
sudo chmod a+x /usr/local/bin/rakubrew
rakubrew mode shim
zef install --/test Text::Table::Simple
sudo apk add time --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
[35m21:09:38[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.bash - tasks/rakubrew-install][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] curl -sf https://rakubrew.org/perl/rakubrew -o rakubrew
[3] sudo mv rakubrew /usr/local/bin
[4] sudo chmod a+x /usr/local/bin/rakubrew
[5] rakubrew mode shim
[6] zef install --/test Text::Table::Simple
[7] sudo apk add time --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
[8]
[1;36m[task stdout][0m
[35m21:09:42[0m :: Updating shims
[35m21:09:43[0m :: ===> Searching for: Text::Table::Simple
[35m21:09:55[0m :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[35m21:09:55[0m :: fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
[35m21:09:55[0m :: (1/1) Installing time (1.9-r1)
[35m21:09:55[0m :: Executing busybox-1.36.1-r2.trigger
[35m21:09:55[0m :: OK: 481 MiB in 63 packages
[1;36m[task stderr][0m
[35m21:09:55[0m :: ===> Updating fez mirror: https://360.zef.pm/
[35m21:09:55[0m :: ===> Updated fez mirror: https://360.zef.pm/
[35m21:09:55[0m :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
[35m21:09:55[0m :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
[35m21:09:05[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.bash - tasks/test-versions][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] rakubrew download moar-$version
[3] rakubrew switch moar-$version
[4] cd source/
[5] zef install --/test --to=home .
[6] export SP6_LOG_NO_TIMESTAMPS=1
[7] /usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
[8] tomty --all --show-failed --color --dump-task && \
[9] touch "${cache_root_dir}/${version}_ok"
[10]
[1;36m[task stdout][0m
[1;36m[task stderr][0m
[35m21:09:58[0m :: Couldn't find a precomp release for OS: "linux", architecture: "arm64", version: "2022.04"
[35m21:09:58[0m :: You can try building yourself. Use the `rakubrew build` command to do so.
[1;36m[task run: task.bash - tasks/test-versions][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] rakubrew download moar-$version
[3] rakubrew switch moar-$version
[4] cd source/
[5] zef install --/test --to=home .
[6] export SP6_LOG_NO_TIMESTAMPS=1
[7] /usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
[8] tomty --all --show-failed --color --dump-task && \
[9] touch "${cache_root_dir}/${version}_ok"
[10]
[1;36m[task stdout][0m
[1;36m[task stderr][0m
[35m21:10:00[0m :: Couldn't find a precomp release for OS: "linux", architecture: "arm64", version: "2022.06"
[35m21:10:00[0m :: You can try building yourself. Use the `rakubrew build` command to do so.
[1;36m[task run: task.bash - tasks/test-versions][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] rakubrew download moar-$version
[3] rakubrew switch moar-$version
[4] cd source/
[5] zef install --/test --to=home .
[6] export SP6_LOG_NO_TIMESTAMPS=1
[7] /usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
[8] tomty --all --show-failed --color --dump-task && \
[9] touch "${cache_root_dir}/${version}_ok"
[10]
[1;36m[task stdout][0m
[1;36m[task stderr][0m
[35m21:10:01[0m :: Couldn't find a precomp release for OS: "linux", architecture: "arm64", version: "2023.06"
[35m21:10:01[0m :: You can try building yourself. Use the `rakubrew build` command to do so.
[1;36m[task run: task.bash - tasks/test-versions][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] rakubrew download moar-$version
[3] rakubrew switch moar-$version
[4] cd source/
[5] zef install --/test --to=home .
[6] export SP6_LOG_NO_TIMESTAMPS=1
[7] /usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
[8] tomty --all --show-failed --color --dump-task && \
[9] touch "${cache_root_dir}/${version}_ok"
[10]
[1;36m[task stdout][0m
[1;36m[task stderr][0m
[35m21:10:02[0m :: Couldn't find a precomp release for OS: "linux", architecture: "arm64", version: "2022.12"
[35m21:10:02[0m :: You can try building yourself. Use the `rakubrew build` command to do so.
[1;36m[task run: task.raku - tasks/test-versions][0m
[1;36m[dump code: task.raku][0m
[1] my @state;
[2] for config()<list><> -> $v {
[3] my $s = %( version => $v );
[4] if "{cache_root_dir()}/{$v}_ok".IO ~~ :e {
[5] $s<status> = "OK";
[6] } else {
[7] $s<status> = "FAIL";
[8] }
[9] if "{cache_root_dir()}/{$v}_time".IO ~~ :e {
[10] $s<time> = "{cache_root_dir()}/{$v}_time".IO.slurp();
[11] } else {
[12] $s<time> = "NA";
[13] }
[14] @state.push: $s;
[15] }
[16] update_state %( list => @state );
[17]
[1;36m[task stdout][0m
[1;36m[task stderr][0m
[35m21:10:03[0m :: Saw 1 occurrence of deprecated code.
[35m21:10:03[0m :: ================================================================================
[35m21:10:03[0m :: .pm file extension in raku library path seen at:
[35m21:10:03[0m :: file#/home/worker/.sparrow6/tmp/11217/1, line 0
[35m21:10:03[0m :: Please use the .rakumod extension for raku modules, or include a META6.json file that explicitly declares each raku module file instead.
[35m21:10:03[0m :: --------------------------------------------------------------------------------
[35m21:10:03[0m :: Please contact the author to have these occurrences of deprecated code
[35m21:10:03[0m :: adapted, so that this message will disappear!
[35m21:08:34[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
[35m21:08:37[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
[35m21:08:39[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.raku - tasks/main][0m
[1;36m[dump code: task.raku][0m
[1] use Text::Table::Simple;
[2] my @columns = ("Rakudo Version", "Status", "Time", "Linux Dist");
[3] my @rows;
[4] my $fail = False;
[5] for config()<tasks><test-versions><state><list><> -> $i {
[6] @rows.push: [ $i<version>, $i<status>, $i<time>, os() ];
[7] $fail = True unless $i<status> eq "OK";
[8] }
[9] my @table = lol2table(@columns,@rows);
[10] .say for @table;
[11] die "some tests failed" if $fail == True;
[12]
[1;36m[task stdout][0m
[35m21:10:04[0m :: O----------------O--------O------O------------O
[35m21:10:04[0m :: | Rakudo Version | Status | Time | Linux Dist |
[35m21:10:04[0m :: O================O========O======O============O
[35m21:10:04[0m :: | 2022.04 | FAIL | NA | alpine |
[35m21:10:04[0m :: | 2022.06 | FAIL | NA | alpine |
[35m21:10:04[0m :: | 2023.06 | FAIL | NA | alpine |
[35m21:10:04[0m :: | 2022.12 | FAIL | NA | alpine |
[35m21:10:04[0m :: -----------------------------------------------
[1;36m[task stderr][0m
[35m21:10:04[0m :: Saw 1 occurrence of deprecated code.
[35m21:10:04[0m :: ================================================================================
[35m21:10:04[0m :: .pm file extension in raku library path seen at:
[35m21:10:04[0m :: file#/home/worker/.sparrow6/tmp/4019/1, line 0
[35m21:10:04[0m :: Please use the .rakumod extension for raku modules, or include a META6.json file that explicitly declares each raku module file instead.
[35m21:10:04[0m :: --------------------------------------------------------------------------------
[35m21:10:04[0m :: Please contact the author to have these occurrences of deprecated code
[35m21:10:04[0m :: adapted, so that this message will disappear!
[35m21:10:04[0m :: some tests failed
[35m21:10:04[0m :: in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku line 11
[35m21:10:04[0m ::
[35m21:10:04[0m :: Saw 1 occurrence of deprecated code.
[35m21:10:04[0m :: ================================================================================
[35m21:10:04[0m :: .pm file extension in raku library path seen at:
[35m21:10:04[0m :: file#/home/worker/.sparrow6/tmp/4019/1, line 0
[35m21:10:04[0m :: Please use the .rakumod extension for raku modules, or include a META6.json file that explicitly declares each raku module file instead.
[35m21:10:04[0m :: --------------------------------------------------------------------------------
[35m21:10:04[0m :: Please contact the author to have these occurrences of deprecated code
[35m21:10:04[0m :: adapted, so that this message will disappear!
[35m21:10:04[0m :: task exit status: 1
[35m21:10:04[0m :: task tasks/main FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/main/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 1, signal: 0)
in block <unit> at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/resources/7E8029CBEC6AEAB4CF3B86B0FA3D5E6E21936B90 line 13
in sub MAIN at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 3
in block <unit> at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 1