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

SparrowCI Report - gh-melezhik-Raku-Cpp-Example | [image: melezhik/sparrow:alpine]

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