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

SparrowCI Report - gh-melezhik-LibXML-raku | [image: melezhik/sparrow:debian]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2610
Status: FAIL
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 14.01.2023 @ 02:33
Time elapsed: 588 sec
---
SCM: https://github.com/melezhik/LibXML-raku.git
Git sha: 36468c5
Git comment: Update sparrow.yaml
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
02:25:17 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/install-deps]
[dump code: task.bash]
[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] 
[task stdout]
02:25:20 :: Reading package lists...
02:25:20 :: Building dependency tree...
02:25:20 :: Reading state information...
02:25:21 :: The following additional packages will be installed:
02:25:21 ::   icu-devtools libicu-dev libicu67 libxml2 libxslt1.1
02:25:21 :: Suggested packages:
02:25:21 ::   icu-doc pkg-config
02:25:21 :: The following NEW packages will be installed:
02:25:21 ::   icu-devtools libicu-dev libicu67 libxml2 libxml2-dev libxslt1-dev libxslt1.1
02:25:21 ::   time
02:25:21 :: 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
02:25:21 :: Need to get 20.5 MB of archives.
02:25:21 :: After this operation, 88.0 MB of additional disk space will be used.
02:25:21 :: Get:1 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB]
02:25:21 :: Get:2 http://deb.debian.org/debian bullseye/main amd64 icu-devtools amd64 67.1-7 [201 kB]
02:25:21 :: Get:3 http://deb.debian.org/debian bullseye/main amd64 libicu-dev amd64 67.1-7 [9597 kB]
02:25:21 :: Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u3 [693 kB]
02:25:21 :: Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 libxml2-dev amd64 2.9.10+dfsg-6.7+deb11u3 [790 kB]
02:25:21 :: Get:6 http://deb.debian.org/debian bullseye/main amd64 libxslt1.1 amd64 1.1.34-4+deb11u1 [240 kB]
02:25:21 :: Get:7 http://deb.debian.org/debian bullseye/main amd64 libxslt1-dev amd64 1.1.34-4+deb11u1 [329 kB]
02:25:21 :: Get:8 http://deb.debian.org/debian bullseye/main amd64 time amd64 1.9-0.1 [50.8 kB]
02:25:21 :: Fetched 20.5 MB in 0s (98.0 MB/s)
02:25:21 :: Selecting previously unselected package libicu67:amd64.
02:25:21 :: (Reading database ... 
02:25:21 :: (Reading database ... 5%
02:25:21 :: (Reading database ... 10%
02:25:21 :: (Reading database ... 15%
02:25:21 :: (Reading database ... 20%
02:25:21 :: (Reading database ... 25%
02:25:21 :: (Reading database ... 30%
02:25:21 :: (Reading database ... 35%
02:25:21 :: (Reading database ... 40%
02:25:21 :: (Reading database ... 45%
02:25:21 :: (Reading database ... 50%
02:25:21 :: (Reading database ... 55%
02:25:21 :: (Reading database ... 60%
02:25:21 :: (Reading database ... 65%
02:25:21 :: (Reading database ... 70%
02:25:21 :: (Reading database ... 75%
02:25:21 :: (Reading database ... 80%
02:25:21 :: (Reading database ... 85%
02:25:21 :: (Reading database ... 90%
02:25:21 :: (Reading database ... 95%
02:25:21 :: (Reading database ... 100%
02:25:21 :: (Reading database ... 19016 files and directories currently installed.)
02:25:21 :: Preparing to unpack .../0-libicu67_67.1-7_amd64.deb ...
02:25:21 :: Unpacking libicu67:amd64 (67.1-7) ...
02:25:22 :: Selecting previously unselected package icu-devtools.
02:25:22 :: Preparing to unpack .../1-icu-devtools_67.1-7_amd64.deb ...
02:25:22 :: Unpacking icu-devtools (67.1-7) ...
02:25:22 :: Selecting previously unselected package libicu-dev:amd64.
02:25:22 :: Preparing to unpack .../2-libicu-dev_67.1-7_amd64.deb ...
02:25:22 :: Unpacking libicu-dev:amd64 (67.1-7) ...
02:25:24 :: Selecting previously unselected package libxml2:amd64.
02:25:24 :: Preparing to unpack .../3-libxml2_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
02:25:24 :: Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
02:25:24 :: Selecting previously unselected package libxml2-dev:amd64.
02:25:24 :: Preparing to unpack .../4-libxml2-dev_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
02:25:24 :: Unpacking libxml2-dev:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
02:25:24 :: Selecting previously unselected package libxslt1.1:amd64.
02:25:24 :: Preparing to unpack .../5-libxslt1.1_1.1.34-4+deb11u1_amd64.deb ...
02:25:24 :: Unpacking libxslt1.1:amd64 (1.1.34-4+deb11u1) ...
02:25:24 :: Selecting previously unselected package libxslt1-dev:amd64.
02:25:24 :: Preparing to unpack .../6-libxslt1-dev_1.1.34-4+deb11u1_amd64.deb ...
02:25:24 :: Unpacking libxslt1-dev:amd64 (1.1.34-4+deb11u1) ...
02:25:24 :: Selecting previously unselected package time.
02:25:24 :: Preparing to unpack .../7-time_1.9-0.1_amd64.deb ...
02:25:24 :: Unpacking time (1.9-0.1) ...
02:25:24 :: Setting up time (1.9-0.1) ...
02:25:24 :: Setting up libicu67:amd64 (67.1-7) ...
02:25:24 :: Setting up icu-devtools (67.1-7) ...
02:25:24 :: Setting up libicu-dev:amd64 (67.1-7) ...
02:25:24 :: Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
02:25:24 :: Setting up libxml2-dev:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
02:25:24 :: Setting up libxslt1.1:amd64 (1.1.34-4+deb11u1) ...
02:25:24 :: Setting up libxslt1-dev:amd64 (1.1.34-4+deb11u1) ...
02:25:24 :: Processing triggers for libc-bin (2.31-13+deb11u5) ...
02:25:27 :: ===> Searching for: Text::Table::Simple
02:25:40 :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[task stderr]
02:25:40 :: debconf: delaying package configuration, since apt-utils is not installed
02:25:40 :: ===> Updating fez mirror: https://360.zef.pm/
02:25:40 :: ===> Updated fez mirror: https://360.zef.pm/
02:25:40 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
02:25:40 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
02:25:03 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/multi-versions]
[dump code: task.bash]
[1] set -e
[2] 
[3] echo "Linux version: $os"
[4] 
[5] curl -sL https://rakudo.org/dl/rakudo/rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz \
[6] -o rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
[7] tar -xzf rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
[8] echo "activating rakudo version $version ..."
[9] eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)" > /dev/null 
[10] 
[11] which raku
[12] which zef
[13] 
[14] raku --version
[15] zef --version
[16] 
[17] cd source/
[18] 
[19] zef install . --deps-only --test-depends --build-depends --/test --to=home
[20] zef build .
[21] 
[22] /usr/bin/time -o "${cache_root_dir}/${version}_time" \
[23] zef test . --verbose && touch "${cache_root_dir}/${version}_ok"
[24] 
[task stdout]
02:25:45 :: Linux version: debian
02:25:45 :: activating rakudo version 2022.07 ...
02:25:46 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/bin/raku
02:25:46 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site/bin/zef
02:25:46 :: Welcome to Rakudo™ v2022.07.
02:25:46 :: Implementing the Raku® Programming Language v6.d.
02:25:46 :: Built on MoarVM version 2022.07.
02:26:14 :: v0.14.5
02:26:35 :: ===> Searching for missing dependencies: File::Temp, Method::Also, W3C::DOM:ver<0.0.2+>, XML, OO::Monitors, App::Prove6, LibraryMake
02:27:40 :: ===> Searching for missing dependencies: Shell::Command, Getopt::Long:ver<0.3.0+>, Path::Finder:ver<0.4.4+>, Pod::Usage, TAP:ver<0.3.4+>, sigpipe
02:27:40 :: ===> Searching for missing dependencies: File::Which, File::Find
02:27:40 :: ===> Installing: File::Which:ver<1.0.4>
02:27:40 :: ===> Installing: File::Find:ver<0.1.1>
02:27:40 :: ===> Installing: Shell::Command
02:27:40 :: ===> Installing: LibraryMake:ver<1.0.0>
02:27:40 :: ===> Installing: Getopt::Long:ver<0.4.1>
02:27:40 :: ===> Installing: File::Temp:ver<0.0.10>:auth<zef:rbt>
02:27:40 :: ===> Installing: Path::Finder:ver<0.4.5>
02:27:40 :: ===> Installing: Pod::Usage:ver<0.0.1>:auth<zef:leont>
02:27:40 :: ===> Installing: TAP:ver<0.3.13>
02:27:40 :: ===> Installing: sigpipe:ver<0.0.3>:auth<zef:leont>
02:27:40 :: ===> Installing: App::Prove6:ver<0.0.17>:auth<cpan:LEONT>
02:27:40 :: ===> Installing: OO::Monitors:ver<1.1.1>
02:27:40 :: ===> Installing: Method::Also:ver<0.0.8>:auth<zef:lizmat>
02:27:40 :: ===> Installing: W3C::DOM:ver<0.0.3>:auth<zef:dwarring>
02:27:40 :: ===> Installing: XML:ver<0.3.2>:auth<zef:raku-community-modules>
02:27:40 :: 
02:27:40 :: 1 bin/ script [prove6] installed to:
02:27:40 :: /home/worker/.raku/bin
02:27:42 :: ===> Building: LibXML:ver<0.9.2>:auth<zef:dwarring>:api<0.9.0>
02:27:46 :: ===> Building [OK] for LibXML:ver<0.9.2>:auth<zef:dwarring>:api<0.9.0>
02:27:47 :: ===> Testing: LibXML:ver<0.9.2>:auth<zef:dwarring>:api<0.9.0>
02:33:12 :: [LibXML] t/000sanity.t ................... ok
02:33:12 :: [LibXML] t/00ast.t ....................... ok
02:33:12 :: [LibXML] t/00config.t .................... ok
02:33:12 :: [LibXML] t/00dict.t ...................... ok
02:33:12 :: [LibXML] t/00dom-w3c.t ................... ok
02:33:12 :: [LibXML] t/00dom.t ....................... ok
02:33:12 :: [LibXML] t/00dtd-decls.t ................. ok
02:33:12 :: [LibXML] t/00dtd.t ....................... ok
02:33:12 :: [LibXML] t/00errors.t .................... ok
02:33:12 :: [LibXML] t/00hash-object.t ............... ok
02:33:12 :: [LibXML] t/00hash-type.t ................. ok
02:33:12 :: [LibXML] t/00input-callback.t ............ ok
02:33:12 :: [LibXML] t/00query-selectors.t ........... ok
02:33:12 :: [LibXML] t/00sax-coverage.t .............. ok
02:33:12 :: [LibXML] t/00sax.t ....................... ok
02:33:12 :: [LibXML] t/00subclass.t .................. ok
02:33:12 :: [LibXML] t/00threads.t ................... ok
02:33:12 :: [LibXML] t/00xpath-object.t .............. ok
02:33:12 :: [LibXML] t/01basic.t ..................... ok
02:33:12 :: [LibXML] t/02parse.t ..................... ok
02:33:12 :: [LibXML] t/03doc.t ....................... ok
02:33:12 :: [LibXML] t/04node.t ...................... ok
02:33:12 :: [LibXML] t/05text.t ...................... ok
02:33:12 :: [LibXML] t/06elements.t .................. ok
02:33:12 :: [LibXML] t/07dtd.t ....................... ok
02:33:12 :: [LibXML] t/08findnodes.t ................. ok
02:33:12 :: [LibXML] t/09xpath.t ..................... ok
02:33:12 :: [LibXML] t/10ns.t ........................ ok
02:33:12 :: [LibXML] t/12html.t ...................... ok
02:33:12 :: [LibXML] t/13dtd.t ....................... ok
02:33:12 :: [LibXML] t/14sax.t ....................... ok
02:33:12 :: [LibXML] t/15nodelist.t .................. ok
02:33:12 :: [LibXML] t/16docnodes.t .................. ok
02:33:12 :: [LibXML] t/17callbacks.t ................. ok
02:33:12 :: [LibXML] t/18docfree.t ................... ok
02:33:12 :: [LibXML] t/19encoding.t .................. ok
02:33:12 :: [LibXML] t/20extras.t .................... ok
02:33:13 :: [LibXML] t/21catalog.t ................... ok
02:33:13 :: [LibXML] t/23rawfunctions.t .............. ok
02:33:13 :: [LibXML] t/24c14n.t ...................... ok
02:33:13 :: [LibXML] t/25relaxng.t ................... ok
02:33:13 :: [LibXML] t/26schema.t .................... ok
02:33:13 :: [LibXML] t/27input_callbacks_simple.t .... ok
02:33:13 :: [LibXML] t/28input_callbacks_multiple.t .. ok
02:33:13 :: [LibXML] t/29id.t ........................ ok
02:33:13 :: [LibXML] t/30keep_blanks.t ............... ok
02:33:13 :: [LibXML] t/30xpathcontext.t .............. ok
02:33:13 :: [LibXML] t/31xpc_functions.t ............. ok
02:33:13 :: [LibXML] t/32xpc_variables.t ............. ok
02:33:13 :: [LibXML] t/35huge_mode.t ................. ok
02:33:13 :: [LibXML] t/40reader.t .................... ok
02:33:13 :: [LibXML] t/40reader_mem_error.t .......... ok
02:33:13 :: [LibXML] t/41xinclude.t .................. ok
02:33:13 :: [LibXML] t/42common.t .................... ok
02:33:13 :: [LibXML] t/43options.t ................... ok
02:33:13 :: [LibXML] t/44extent.t .................... ok
02:33:13 :: [LibXML] t/45regex.t ..................... ok
02:33:13 :: [LibXML] t/46err_column.t ................ ok
02:33:13 :: [LibXML] t/47load_xml_callbacks.t ........ ok
02:33:13 :: [LibXML] t/48importing_nodes_IDs.t ....... ok
02:33:13 :: [LibXML] t/49global_extent.t ............. ok
02:33:13 :: [LibXML] t/60error_prev_chain.t .......... ok
02:33:13 :: [LibXML] t/61error.t ..................... ok
02:33:13 :: [LibXML] t/90threads.t ................... All 24 subtests passed 
02:33:13 :: [LibXML] t/91unique_key.t ................ ok
02:33:13 :: [LibXML] t/99doc-examples.t .............. ok
02:33:13 :: [LibXML] t/issue#025.t ................... ok
02:33:13 :: [LibXML] All tests successful.
02:33:13 :: [LibXML] 
02:33:13 :: [LibXML] Test Summary Report
02:33:13 :: [LibXML] -------------------
02:33:13 :: [LibXML] t/90threads.t  (Wstat: 9 Tests: 16 Failed: 0)
02:33:13 :: [LibXML] Non-zero wait status: 9
02:33:13 :: [LibXML]   Parse errors: Bad plan.  You planned 24 tests but ran 16.
02:33:13 :: [LibXML] Files=67, Tests=748,  325 wallclock secs
02:33:13 :: [LibXML] Result: FAILED
02:33:13 :: ===> Testing [FAIL]: LibXML:ver<0.9.2>:auth<zef:dwarring>:api<0.9.0>
[task stderr]
02:33:13 :: Aborting due to test failure: LibXML:ver<0.9.2>:auth<zef:dwarring>:api<0.9.0> (use --force-test to override)
[task run: task.raku - tasks/multi-versions]
[dump code: task.raku]
[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] 
[task stdout]
02:24:29 :: [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
02:24: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]
02:24:34 :: tar -xzf source.tar.gz 
[task run: task.raku - tasks/main]
[dump code: task.raku]
[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><multi-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] 
[task stdout]
02:33:17 :: O----------------O--------O---------------------------------------------------------------------------------------O------------O
02:33:17 :: | Rakudo Version | Status | Time                                                                                  | Linux Dist |
02:33:17 :: O================O========O=======================================================================================O============O
02:33:17 :: | 2022.07        | FAIL   | Command exited with non-zero status 1                                                 | debian     |
02:33:17 :: |                |        | 454.17user 36.03system 5:26.88elapsed 149%CPU (0avgtext+0avgdata 1654076maxresident)k |            |
02:33:17 :: |                |        | 1274704inputs+200368outputs (5693major+8492092minor)pagefaults 0swaps                 |            |
02:33:17 :: --------------------------------------------------------------------------------------------------------------------------------
[task stderr]
02:33:17 :: some tests failed
02:33:17 ::   in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku line 11
02:33:17 :: 
02:33:17 :: task exit status: 1
02:33:17 :: 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/sph/.raku/resources/57C38AFDF922EB0C43584FF5F701A03850B5346F line 13
  in sub MAIN at /home/sph/.raku/bin/sparrowdo line 3
  in block <unit> at /home/sph/.raku/bin/sparrowdo line 1