BuildID: 2765
Status: FAIL
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 26.01.2023 @ 19:31
Time elapsed: 95 sec
---
SCM:
https://github.com/melezhik/Raku-Cpp-Example.git
Git sha: c5f32cd
Git comment: ci file
image:
- melezhik/sparrow:alpine
#- melezhik/sparrow:archlinux
tasks:
-
name: test
default: true
language: Bash
code: |
set -e
cd source/
zef --version
raku --version
zef install . --deps-only --test-depends --build-depends --/test -to=home
zef install --verbose .
depends:
-
name: deps
-
name: deps
language: Bash
code: |
set -e
sudo apk add cmake g++
[35m19:30:55[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.bash - tasks/deps][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] sudo apk add cmake g++
[3]
[1;36m[task stdout][0m
[35m19:30:58[0m :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
[35m19:30:58[0m :: fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
[35m19:30:58[0m :: fetch https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
[35m19:30:59[0m :: (1/7) Installing libacl (2.3.1-r0)
[35m19:30:59[0m :: (2/7) Installing lz4-libs (1.9.3-r1)
[35m19:30:59[0m :: (3/7) Installing xz-libs (5.2.5-r1)
[35m19:30:59[0m :: (4/7) Installing libarchive (3.6.1-r1)
[35m19:30:59[0m :: (5/7) Installing rhash-libs (1.4.2-r2)
[35m19:30:59[0m :: (6/7) Installing libuv (1.44.1-r0)
[35m19:30:59[0m :: (7/7) Installing cmake (3.23.1-r0)
[35m19:30:59[0m :: Executing busybox-1.35.0-r17.trigger
[35m19:30:59[0m :: OK: 763 MiB in 67 packages
[35m19:30:30[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
[35m19:30:32[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
[35m19:30:34[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] cd source/
[3] zef --version
[4] raku --version
[5]
[6] zef install . --deps-only --test-depends --build-depends --/test -to=home
[7] zef install --verbose .
[8]
[1;36m[task stdout][0m
[35m19:31:01[0m :: v0.14.4
[35m19:31:01[0m :: Welcome to Rakudo™ v2022.07.
[35m19:31:01[0m :: Implementing the Raku® Programming Language v6.d.
[35m19:31:01[0m :: Built on MoarVM version 2022.07.
[35m19:31:03[0m :: ===> Searching for missing dependencies: Distribution::Builder::Cmake
[35m19:31:06[0m :: ===> Installing: Distribution::Builder::Cmake:ver<0.0.2>:auth<zef:rawleyfowler>
[35m19:31:07[0m :: ===> Building: Raku::Cpp::Example:ver<0.0.1>
[35m19:31:09[0m :: [Raku::Cpp::Example] Command: /opt/rakudo-pkg/bin/rakudo -MMONKEY-SEE-NO-EVAL -e exit((require ::(q|Distribution::Builder::Cmake|)).new(:meta(EVAL($*IN.slurp(:close)))).build(q|/var/.sparrowdo/env/test/.sparrowdo/source|)??0!!1)
[35m19:31:09[0m :: [Raku::Cpp::Example] /usr/bin/cmake
[35m19:31:09[0m :: [Raku::Cpp::Example] /usr/bin/make
[35m19:31:09[0m :: [Raku::Cpp::Example] -- The C compiler identification is GNU 11.2.1
[35m19:31:09[0m :: [Raku::Cpp::Example] -- The CXX compiler identification is GNU 11.2.1
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Detecting C compiler ABI info
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Detecting C compiler ABI info - done
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Check for working C compiler: /usr/bin/cc - skipped
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Detecting C compile features
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Detecting C compile features - done
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Detecting CXX compiler ABI info
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Detecting CXX compiler ABI info - done
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Check for working CXX compiler: /usr/bin/c++ - skipped
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Detecting CXX compile features
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Detecting CXX compile features - done
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Configuring done
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Generating done
[35m19:31:09[0m :: [Raku::Cpp::Example] -- Build files have been written to: /var/.sparrowdo/env/test/.sparrowdo/source/cc/build
[35m19:31:09[0m :: [Raku::Cpp::Example] [ 50%] Building CXX object CMakeFiles/my-lib.dir/my-lib.cpp.o
[35m19:31:09[0m :: [Raku::Cpp::Example] [100%] Linking CXX shared library libmy-lib.so
[35m19:31:09[0m :: [Raku::Cpp::Example] [100%] Built target my-lib
[35m19:31:09[0m :: ===> Building [OK] for Raku::Cpp::Example:ver<0.0.1>
[35m19:31:09[0m :: ===> Testing: Raku::Cpp::Example:ver<0.0.1>
[35m19:31:09[0m :: [Raku::Cpp::Example] 1..1
[35m19:31:09[0m :: [Raku::Cpp::Example] Don't know how to mangle symbol 'ReturnThree' for library '/var/.sparrowdo/env/test/.sparrowdo/source/resources/libraries/libmy-lib.so'
[35m19:31:09[0m :: [Raku::Cpp::Example] in sub guess-name-mangler at /opt/rakudo-pkg/share/perl6/core/sources/A37F26876B58371B70EDD889AD69F064C90AC2C6 (NativeCall) line 254
[35m19:31:09[0m :: [Raku::Cpp::Example] in method setup at /opt/rakudo-pkg/share/perl6/core/sources/A37F26876B58371B70EDD889AD69F064C90AC2C6 (NativeCall) line 308
[35m19:31:09[0m :: [Raku::Cpp::Example] in method setup at /opt/rakudo-pkg/share/perl6/core/sources/A37F26876B58371B70EDD889AD69F064C90AC2C6 (NativeCall) line 366
[35m19:31:09[0m :: [Raku::Cpp::Example] in sub raku-nativecall at /opt/rakudo-pkg/share/perl6/core/sources/A153F63283BF744FD66BF7212910E5F389384F6E (NativeCall::Dispatcher) line 46
[35m19:31:09[0m :: [Raku::Cpp::Example] in block <unit> at t/01-basic.rakutest line 6
[35m19:31:09[0m :: [Raku::Cpp::Example] # You planned 1 test, but ran 0
[35m19:31:09[0m :: ===> Testing [FAIL]: Raku::Cpp::Example:ver<0.0.1>
[1;36m[task stderr][0m
[35m19:31:09[0m :: ===> Updating fez mirror: https://360.zef.pm/
[35m19:31:09[0m :: ===> Updated fez mirror: https://360.zef.pm/
[35m19:31:09[0m :: Aborting due to test failure: Raku::Cpp::Example:ver<0.0.1> (use --force-test to override)
[35m19:31:09[0m :: task exit status: 1
[35m19:31:09[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