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

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

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2787
Status: FAIL
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 27.01.2023 @ 21:56
Time elapsed: 95 sec
---
SCM: https://github.com/melezhik/Raku-Cpp-Example.git
Git sha: cb8bdbb
Git comment: Update sparrow.yaml
image:
  #- melezhik/sparrow:alpine
  #- melezhik/sparrow:archlinux
  - melezhik/sparrow:debian
tasks:
  -
    name: test
    default: true
    language: Bash
    code: |
      set -e
      cd source/
      zef --version
      raku --version
      which gcc
      gcc --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++
      sudo apt-get install -y build-essential cmake
    
21:56:34 :: [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] sudo apt-get install -y build-essential cmake
[4] 
[task stdout]
21:56:36 :: Reading package lists...
21:56:37 :: Building dependency tree...
21:56:37 :: Reading state information...
21:56:37 :: build-essential is already the newest version (12.9).
21:56:37 :: The following additional packages will be installed:
21:56:37 ::   cmake-data libarchive13 libicu67 libjsoncpp24 libncurses6 libprocps8
21:56:37 ::   librhash0 libuv1 libxml2 procps psmisc
21:56:37 :: Suggested packages:
21:56:37 ::   cmake-doc ninja-build lrzip
21:56:37 :: The following NEW packages will be installed:
21:56:37 ::   cmake cmake-data libarchive13 libicu67 libjsoncpp24 libncurses6 libprocps8
21:56:37 ::   librhash0 libuv1 libxml2 procps psmisc
21:56:37 :: 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
21:56:37 :: Need to get 18.2 MB of archives.
21:56:37 :: After this operation, 73.1 MB of additional disk space will be used.
21:56:37 :: Get:1 http://deb.debian.org/debian bullseye/main amd64 libncurses6 amd64 6.2+20201114-2 [102 kB]
21:56:37 :: Get:2 http://deb.debian.org/debian bullseye/main amd64 libprocps8 amd64 2:3.3.17-5 [63.9 kB]
21:56:37 :: Get:3 http://deb.debian.org/debian bullseye/main amd64 procps amd64 2:3.3.17-5 [502 kB]
21:56:37 :: Get:4 http://deb.debian.org/debian bullseye/main amd64 cmake-data all 3.18.4-2+deb11u1 [1725 kB]
21:56:37 :: Get:5 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB]
21:56:37 :: Get:6 http://deb.debian.org/debian-security bullseye-security/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u3 [693 kB]
21:56:37 :: Get:7 http://deb.debian.org/debian bullseye/main amd64 libarchive13 amd64 3.4.3-2+deb11u1 [343 kB]
21:56:37 :: Get:8 http://deb.debian.org/debian bullseye/main amd64 libjsoncpp24 amd64 1.9.4-4 [78.9 kB]
21:56:37 :: Get:9 http://deb.debian.org/debian bullseye/main amd64 librhash0 amd64 1.4.1-2 [129 kB]
21:56:37 :: Get:10 http://deb.debian.org/debian bullseye/main amd64 libuv1 amd64 1.40.0-2 [132 kB]
21:56:37 :: Get:11 http://deb.debian.org/debian bullseye/main amd64 cmake amd64 3.18.4-2+deb11u1 [5593 kB]
21:56:37 :: Get:12 http://deb.debian.org/debian bullseye/main amd64 psmisc amd64 23.4-2 [198 kB]
21:56:37 :: Fetched 18.2 MB in 0s (98.5 MB/s)
21:56:37 :: Selecting previously unselected package libncurses6:amd64.
21:56:37 :: (Reading database ... 
21:56:37 :: (Reading database ... 5%
21:56:37 :: (Reading database ... 10%
21:56:37 :: (Reading database ... 15%
21:56:37 :: (Reading database ... 20%
21:56:37 :: (Reading database ... 25%
21:56:37 :: (Reading database ... 30%
21:56:37 :: (Reading database ... 35%
21:56:37 :: (Reading database ... 40%
21:56:37 :: (Reading database ... 45%
21:56:37 :: (Reading database ... 50%
21:56:37 :: (Reading database ... 55%
21:56:37 :: (Reading database ... 60%
21:56:37 :: (Reading database ... 65%
21:56:37 :: (Reading database ... 70%
21:56:37 :: (Reading database ... 75%
21:56:37 :: (Reading database ... 80%
21:56:37 :: (Reading database ... 85%
21:56:37 :: (Reading database ... 90%
21:56:37 :: (Reading database ... 95%
21:56:37 :: (Reading database ... 100%
21:56:37 :: (Reading database ... 19016 files and directories currently installed.)
21:56:37 :: Preparing to unpack .../00-libncurses6_6.2+20201114-2_amd64.deb ...
21:56:37 :: Unpacking libncurses6:amd64 (6.2+20201114-2) ...
21:56:37 :: Selecting previously unselected package libprocps8:amd64.
21:56:37 :: Preparing to unpack .../01-libprocps8_2%3a3.3.17-5_amd64.deb ...
21:56:37 :: Unpacking libprocps8:amd64 (2:3.3.17-5) ...
21:56:37 :: Selecting previously unselected package procps.
21:56:37 :: Preparing to unpack .../02-procps_2%3a3.3.17-5_amd64.deb ...
21:56:37 :: Unpacking procps (2:3.3.17-5) ...
21:56:37 :: Selecting previously unselected package cmake-data.
21:56:37 :: Preparing to unpack .../03-cmake-data_3.18.4-2+deb11u1_all.deb ...
21:56:37 :: Unpacking cmake-data (3.18.4-2+deb11u1) ...
21:56:38 :: Selecting previously unselected package libicu67:amd64.
21:56:38 :: Preparing to unpack .../04-libicu67_67.1-7_amd64.deb ...
21:56:38 :: Unpacking libicu67:amd64 (67.1-7) ...
21:56:39 :: Selecting previously unselected package libxml2:amd64.
21:56:39 :: Preparing to unpack .../05-libxml2_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
21:56:39 :: Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
21:56:39 :: Selecting previously unselected package libarchive13:amd64.
21:56:39 :: Preparing to unpack .../06-libarchive13_3.4.3-2+deb11u1_amd64.deb ...
21:56:39 :: Unpacking libarchive13:amd64 (3.4.3-2+deb11u1) ...
21:56:39 :: Selecting previously unselected package libjsoncpp24:amd64.
21:56:39 :: Preparing to unpack .../07-libjsoncpp24_1.9.4-4_amd64.deb ...
21:56:39 :: Unpacking libjsoncpp24:amd64 (1.9.4-4) ...
21:56:39 :: Selecting previously unselected package librhash0:amd64.
21:56:39 :: Preparing to unpack .../08-librhash0_1.4.1-2_amd64.deb ...
21:56:39 :: Unpacking librhash0:amd64 (1.4.1-2) ...
21:56:39 :: Selecting previously unselected package libuv1:amd64.
21:56:39 :: Preparing to unpack .../09-libuv1_1.40.0-2_amd64.deb ...
21:56:39 :: Unpacking libuv1:amd64 (1.40.0-2) ...
21:56:39 :: Selecting previously unselected package cmake.
21:56:39 :: Preparing to unpack .../10-cmake_3.18.4-2+deb11u1_amd64.deb ...
21:56:39 :: Unpacking cmake (3.18.4-2+deb11u1) ...
21:56:39 :: Selecting previously unselected package psmisc.
21:56:39 :: Preparing to unpack .../11-psmisc_23.4-2_amd64.deb ...
21:56:39 :: Unpacking psmisc (23.4-2) ...
21:56:39 :: Setting up libicu67:amd64 (67.1-7) ...
21:56:39 :: Setting up psmisc (23.4-2) ...
21:56:39 :: Setting up libuv1:amd64 (1.40.0-2) ...
21:56:39 :: Setting up libncurses6:amd64 (6.2+20201114-2) ...
21:56:39 :: Setting up libjsoncpp24:amd64 (1.9.4-4) ...
21:56:39 :: Setting up librhash0:amd64 (1.4.1-2) ...
21:56:39 :: Setting up cmake-data (3.18.4-2+deb11u1) ...
21:56:39 :: Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
21:56:39 :: Setting up libprocps8:amd64 (2:3.3.17-5) ...
21:56:40 :: Setting up libarchive13:amd64 (3.4.3-2+deb11u1) ...
21:56:40 :: Setting up procps (2:3.3.17-5) ...
21:56:40 :: Setting up cmake (3.18.4-2+deb11u1) ...
21:56:40 :: Processing triggers for libc-bin (2.31-13+deb11u5) ...
[task stderr]
21:56:40 :: debconf: delaying package configuration, since apt-utils is not installed
21:56:07 :: [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
21:56:10 :: [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]
21:56:12 :: 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] which gcc
[6] gcc --version
[7] 
[8] zef install . --deps-only --test-depends --build-depends --/test -to=home         
[9] zef install --verbose .
[10] 
[task stdout]
21:56:41 :: v0.14.5
21:56:41 :: Welcome to Rakudo™ v2022.12.
21:56:41 :: Implementing the Raku® Programming Language v6.d.
21:56:41 :: Built on MoarVM version 2022.12.
21:56:41 :: /usr/bin/gcc
21:56:41 :: gcc (Debian 10.2.1-6) 10.2.1 20210110
21:56:41 :: Copyright (C) 2020 Free Software Foundation, Inc.
21:56:41 :: This is free software; see the source for copying conditions.  There is NO
21:56:41 :: warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21:56:41 :: 
21:56:43 :: ===> Searching for missing dependencies: Distribution::Builder::Cmake
21:56:46 :: ===> Installing: Distribution::Builder::Cmake:ver<0.0.4>:auth<zef:rawleyfowler>
21:56:47 :: ===> Building: Raku::Cpp::Example:ver<0.0.1>
21:56:49 :: [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)
21:56:49 :: [Raku::Cpp::Example] /usr/bin/cmake
21:56:49 :: [Raku::Cpp::Example] /usr/bin/make
21:56:49 :: [Raku::Cpp::Example] -- The C compiler identification is GNU 10.2.1
21:56:49 :: [Raku::Cpp::Example] -- The CXX compiler identification is GNU 10.2.1
21:56:49 :: [Raku::Cpp::Example] -- Detecting C compiler ABI info
21:56:49 :: [Raku::Cpp::Example] -- Detecting C compiler ABI info - done
21:56:49 :: [Raku::Cpp::Example] -- Check for working C compiler: /usr/bin/cc - skipped
21:56:49 :: [Raku::Cpp::Example] -- Detecting C compile features
21:56:49 :: [Raku::Cpp::Example] -- Detecting C compile features - done
21:56:49 :: [Raku::Cpp::Example] -- Detecting CXX compiler ABI info
21:56:49 :: [Raku::Cpp::Example] -- Detecting CXX compiler ABI info - done
21:56:49 :: [Raku::Cpp::Example] -- Check for working CXX compiler: /usr/bin/c++ - skipped
21:56:49 :: [Raku::Cpp::Example] -- Detecting CXX compile features
21:56:49 :: [Raku::Cpp::Example] -- Detecting CXX compile features - done
21:56:49 :: [Raku::Cpp::Example] -- Configuring done
21:56:49 :: [Raku::Cpp::Example] -- Generating done
21:56:49 :: [Raku::Cpp::Example] -- Build files have been written to: /var/.sparrowdo/env/test/.sparrowdo/source/cc/build
21:56:49 :: [Raku::Cpp::Example] Scanning dependencies of target my-lib
21:56:49 :: [Raku::Cpp::Example] [ 50%] Building CXX object CMakeFiles/my-lib.dir/my-lib.cpp.o
21:56:49 :: [Raku::Cpp::Example] [100%] Linking CXX shared library libmy-lib.so
21:56:49 :: [Raku::Cpp::Example] [100%] Built target my-lib
21:56:49 :: ===> Building [OK] for Raku::Cpp::Example:ver<0.0.1>
21:56:49 :: ===> Testing: Raku::Cpp::Example:ver<0.0.1>
21:56:49 :: [Raku::Cpp::Example] Don't know how to mangle symbol 'ReturnThree' for library '/var/.sparrowdo/env/test/.sparrowdo/source/resources/libraries/libmy-lib.so'
21:56:49 :: [Raku::Cpp::Example]   in sub guess-name-mangler at /opt/rakudo-pkg/share/perl6/core/sources/7B8DEDA2F7DE2BC68AFBCDDDCCD18DA2262416F3 (NativeCall) line 254
21:56:49 :: [Raku::Cpp::Example]   in method setup at /opt/rakudo-pkg/share/perl6/core/sources/7B8DEDA2F7DE2BC68AFBCDDDCCD18DA2262416F3 (NativeCall) line 308
21:56:49 :: [Raku::Cpp::Example]   in method setup at /opt/rakudo-pkg/share/perl6/core/sources/7B8DEDA2F7DE2BC68AFBCDDDCCD18DA2262416F3 (NativeCall) line 366
21:56:49 :: [Raku::Cpp::Example]   in sub raku-nativecall at /opt/rakudo-pkg/share/perl6/core/sources/71DDCBA5C5EBFAE6A17BAC4C253AA782EA5EBFD3 (NativeCall::Dispatcher) line 46
21:56:49 :: [Raku::Cpp::Example]   in block <unit> at t/01-basic.rakutest line 6
21:56:49 :: [Raku::Cpp::Example] t/01-basic.rakutest .. 
21:56:49 :: [Raku::Cpp::Example] Dubious, test returned 255 (wstat 65280, 0xff00)
21:56:49 :: [Raku::Cpp::Example] Failed 1/1 subtests 
21:56:49 :: [Raku::Cpp::Example] Test Summary Report
21:56:49 :: [Raku::Cpp::Example] -------------------
21:56:49 :: [Raku::Cpp::Example] t/01-basic.rakutest (Wstat: 65280 Tests: 0 Failed: 0)
21:56:49 :: [Raku::Cpp::Example]   Non-zero exit status: 255
21:56:49 :: [Raku::Cpp::Example]   Parse errors: Bad plan.  You planned 1 tests but ran 0.
21:56:49 :: [Raku::Cpp::Example] Files=1, Tests=0,  1 wallclock secs ( 0.02 usr  0.00 sys +  1.38 cusr  0.08 csys =  1.48 CPU)
21:56:49 :: [Raku::Cpp::Example] Result: FAIL
21:56:49 :: ===> Testing [FAIL]: Raku::Cpp::Example:ver<0.0.1>
[task stderr]
21:56:49 :: ===> Updating fez mirror: https://360.zef.pm/
21:56:49 :: ===> Updated fez mirror: https://360.zef.pm/
21:56:49 :: Aborting due to test failure: Raku::Cpp::Example:ver<0.0.1> (use --force-test to override)
21:56:49 :: task exit status: 1
21:56:49 :: 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