BuildID: 2871
Status: FAIL
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 06.02.2023 @ 18:42
Time elapsed: 112 sec
---
SCM:
https://github.com/libxml-raku/LibXML-raku
Git sha: 316f86b
Git comment: implement DLL demangle/install for Windows #66
image:
- melezhik/sparrow:debian
# - melezhik/sparrow:ubuntu
# - melezhik/sparrow:archlinux
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><multi-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: multi-versions
-
name: multi-versions
language: Raku
config:
list:
# - 2022.06
- 2022.07
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
echo "Linux version: $os"
curl -sL https://rakudo.org/dl/rakudo/rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz \
-o rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
tar -xzf rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
echo "activating rakudo version $version ..."
eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)" > /dev/null
which raku
which zef
raku --version
zef --version
cd source/
zef install . --deps-only --test-depends --build-depends --/test --to=home
zef build .
/usr/bin/time -o "${cache_root_dir}/${version}_time" \
zef test . --verbose && touch "${cache_root_dir}/${version}_ok"
depends:
-
name: install-deps
-
name: install-deps
language: Bash
code: |
if test $os = "debian"; then
sudo apt-get install -y libxml2-dev libxslt-dev time
elif test $os = "ubuntu"; then
sudo apt-get install -y libxml2-dev libxslt-dev time
elif test $os = "arch"; then
sudo pacman -S --needed --noconfirm -q libxml2 libxslt time
fi
zef install --/test Text::Table::Simple
[35m18:42:32[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.bash - tasks/install-deps][0m
[1;36m[dump code: task.bash][0m
[1] if test $os = "debian"; then
[2] sudo apt-get install -y libxml2-dev libxslt-dev time
[3] elif test $os = "ubuntu"; then
[4] sudo apt-get install -y libxml2-dev libxslt-dev time
[5] elif test $os = "arch"; then
[6] sudo pacman -S --needed --noconfirm -q libxml2 libxslt time
[7] fi
[8] zef install --/test Text::Table::Simple
[9]
[1;36m[task stdout][0m
[35m18:42:34[0m :: Reading package lists...
[35m18:42:34[0m :: Building dependency tree...
[35m18:42:34[0m :: Reading state information...
[35m18:42:35[0m :: The following additional packages will be installed:
[35m18:42:35[0m :: icu-devtools libicu-dev libicu67 libxml2 libxslt1.1
[35m18:42:35[0m :: Suggested packages:
[35m18:42:35[0m :: icu-doc pkg-config
[35m18:42:35[0m :: The following NEW packages will be installed:
[35m18:42:35[0m :: icu-devtools libicu-dev libicu67 libxml2 libxml2-dev libxslt1-dev libxslt1.1
[35m18:42:35[0m :: time
[35m18:42:35[0m :: 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
[35m18:42:35[0m :: Need to get 20.5 MB of archives.
[35m18:42:35[0m :: After this operation, 88.0 MB of additional disk space will be used.
[35m18:42:35[0m :: Get:1 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB]
[35m18:42:35[0m :: Get:2 http://deb.debian.org/debian bullseye/main amd64 icu-devtools amd64 67.1-7 [201 kB]
[35m18:42:35[0m :: Get:3 http://deb.debian.org/debian bullseye/main amd64 libicu-dev amd64 67.1-7 [9597 kB]
[35m18:42:35[0m :: Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u3 [693 kB]
[35m18:42:35[0m :: Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 libxml2-dev amd64 2.9.10+dfsg-6.7+deb11u3 [790 kB]
[35m18:42:35[0m :: Get:6 http://deb.debian.org/debian bullseye/main amd64 libxslt1.1 amd64 1.1.34-4+deb11u1 [240 kB]
[35m18:42:35[0m :: Get:7 http://deb.debian.org/debian bullseye/main amd64 libxslt1-dev amd64 1.1.34-4+deb11u1 [329 kB]
[35m18:42:35[0m :: Get:8 http://deb.debian.org/debian bullseye/main amd64 time amd64 1.9-0.1 [50.8 kB]
[35m18:42:35[0m :: Fetched 20.5 MB in 0s (133 MB/s)
[35m18:42:35[0m :: Selecting previously unselected package libicu67:amd64.
[35m18:42:35[0m :: (Reading database ...
[35m18:42:35[0m :: (Reading database ... 5%
[35m18:42:35[0m :: (Reading database ... 10%
[35m18:42:35[0m :: (Reading database ... 15%
[35m18:42:35[0m :: (Reading database ... 20%
[35m18:42:35[0m :: (Reading database ... 25%
[35m18:42:35[0m :: (Reading database ... 30%
[35m18:42:35[0m :: (Reading database ... 35%
[35m18:42:35[0m :: (Reading database ... 40%
[35m18:42:35[0m :: (Reading database ... 45%
[35m18:42:35[0m :: (Reading database ... 50%
[35m18:42:35[0m :: (Reading database ... 55%
[35m18:42:35[0m :: (Reading database ... 60%
[35m18:42:35[0m :: (Reading database ... 65%
[35m18:42:35[0m :: (Reading database ... 70%
[35m18:42:35[0m :: (Reading database ... 75%
[35m18:42:35[0m :: (Reading database ... 80%
[35m18:42:35[0m :: (Reading database ... 85%
[35m18:42:35[0m :: (Reading database ... 90%
[35m18:42:35[0m :: (Reading database ... 95%
[35m18:42:35[0m :: (Reading database ... 100%
[35m18:42:35[0m :: (Reading database ... 19016 files and directories currently installed.)
[35m18:42:35[0m :: Preparing to unpack .../0-libicu67_67.1-7_amd64.deb ...
[35m18:42:35[0m :: Unpacking libicu67:amd64 (67.1-7) ...
[35m18:42:36[0m :: Selecting previously unselected package icu-devtools.
[35m18:42:36[0m :: Preparing to unpack .../1-icu-devtools_67.1-7_amd64.deb ...
[35m18:42:36[0m :: Unpacking icu-devtools (67.1-7) ...
[35m18:42:36[0m :: Selecting previously unselected package libicu-dev:amd64.
[35m18:42:36[0m :: Preparing to unpack .../2-libicu-dev_67.1-7_amd64.deb ...
[35m18:42:36[0m :: Unpacking libicu-dev:amd64 (67.1-7) ...
[35m18:42:37[0m :: Selecting previously unselected package libxml2:amd64.
[35m18:42:37[0m :: Preparing to unpack .../3-libxml2_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
[35m18:42:37[0m :: Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
[35m18:42:37[0m :: Selecting previously unselected package libxml2-dev:amd64.
[35m18:42:37[0m :: Preparing to unpack .../4-libxml2-dev_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
[35m18:42:37[0m :: Unpacking libxml2-dev:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
[35m18:42:37[0m :: Selecting previously unselected package libxslt1.1:amd64.
[35m18:42:37[0m :: Preparing to unpack .../5-libxslt1.1_1.1.34-4+deb11u1_amd64.deb ...
[35m18:42:37[0m :: Unpacking libxslt1.1:amd64 (1.1.34-4+deb11u1) ...
[35m18:42:37[0m :: Selecting previously unselected package libxslt1-dev:amd64.
[35m18:42:37[0m :: Preparing to unpack .../6-libxslt1-dev_1.1.34-4+deb11u1_amd64.deb ...
[35m18:42:37[0m :: Unpacking libxslt1-dev:amd64 (1.1.34-4+deb11u1) ...
[35m18:42:37[0m :: Selecting previously unselected package time.
[35m18:42:37[0m :: Preparing to unpack .../7-time_1.9-0.1_amd64.deb ...
[35m18:42:37[0m :: Unpacking time (1.9-0.1) ...
[35m18:42:38[0m :: Setting up time (1.9-0.1) ...
[35m18:42:38[0m :: Setting up libicu67:amd64 (67.1-7) ...
[35m18:42:38[0m :: Setting up icu-devtools (67.1-7) ...
[35m18:42:38[0m :: Setting up libicu-dev:amd64 (67.1-7) ...
[35m18:42:38[0m :: Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
[35m18:42:38[0m :: Setting up libxml2-dev:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
[35m18:42:38[0m :: Setting up libxslt1.1:amd64 (1.1.34-4+deb11u1) ...
[35m18:42:38[0m :: Setting up libxslt1-dev:amd64 (1.1.34-4+deb11u1) ...
[35m18:42:38[0m :: Processing triggers for libc-bin (2.31-13+deb11u5) ...
[35m18:42:40[0m :: ===> Searching for: Text::Table::Simple
[35m18:42:50[0m :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[1;36m[task stderr][0m
[35m18:42:50[0m :: debconf: delaying package configuration, since apt-utils is not installed
[35m18:42:50[0m :: ===> Updating fez mirror: https://360.zef.pm/
[35m18:42:50[0m :: ===> Updated fez mirror: https://360.zef.pm/
[35m18:42:50[0m :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
[35m18:42:50[0m :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
[35m18:42:17[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
some depends jobs failed or timeouted: ${:FAIL(0), :OK(0), :TIMEOUT(0)}
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/multi-versions/.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
[35m18:41:47[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
[35m18:41:50[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
[35m18:41:52[0m :: tar -xzf source.tar.gz
some depends jobs failed or timeouted: ${:FAIL(1), :OK(0), :TIMEOUT(0)}
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/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