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

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

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2902
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 08.02.2023 @ 00:52
Time elapsed: 395 sec
---
SCM: https://github.com/libxml-raku/LibXML-raku
Git sha: 4211ba9
Git comment: hand Build.pm6 -I option in 'nix builds
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
00:46:27 :: [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]
00:46:29 :: Reading package lists...
00:46:29 :: Building dependency tree...
00:46:29 :: Reading state information...
00:46:29 :: The following additional packages will be installed:
00:46:29 ::   icu-devtools libicu-dev libicu67 libxml2 libxslt1.1
00:46:29 :: Suggested packages:
00:46:29 ::   icu-doc pkg-config
00:46:29 :: The following NEW packages will be installed:
00:46:29 ::   icu-devtools libicu-dev libicu67 libxml2 libxml2-dev libxslt1-dev libxslt1.1
00:46:29 ::   time
00:46:29 :: 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
00:46:29 :: Need to get 20.5 MB of archives.
00:46:29 :: After this operation, 88.0 MB of additional disk space will be used.
00:46:29 :: Get:1 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB]
00:46:30 :: Get:2 http://deb.debian.org/debian bullseye/main amd64 icu-devtools amd64 67.1-7 [201 kB]
00:46:30 :: Get:3 http://deb.debian.org/debian bullseye/main amd64 libicu-dev amd64 67.1-7 [9597 kB]
00:46:30 :: Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u3 [693 kB]
00:46:30 :: Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 libxml2-dev amd64 2.9.10+dfsg-6.7+deb11u3 [790 kB]
00:46:30 :: Get:6 http://deb.debian.org/debian bullseye/main amd64 libxslt1.1 amd64 1.1.34-4+deb11u1 [240 kB]
00:46:30 :: Get:7 http://deb.debian.org/debian bullseye/main amd64 libxslt1-dev amd64 1.1.34-4+deb11u1 [329 kB]
00:46:30 :: Get:8 http://deb.debian.org/debian bullseye/main amd64 time amd64 1.9-0.1 [50.8 kB]
00:46:30 :: Fetched 20.5 MB in 0s (113 MB/s)
00:46:30 :: Selecting previously unselected package libicu67:amd64.
00:46:30 :: (Reading database ... 
00:46:30 :: (Reading database ... 5%
00:46:30 :: (Reading database ... 10%
00:46:30 :: (Reading database ... 15%
00:46:30 :: (Reading database ... 20%
00:46:30 :: (Reading database ... 25%
00:46:30 :: (Reading database ... 30%
00:46:30 :: (Reading database ... 35%
00:46:30 :: (Reading database ... 40%
00:46:30 :: (Reading database ... 45%
00:46:30 :: (Reading database ... 50%
00:46:30 :: (Reading database ... 55%
00:46:30 :: (Reading database ... 60%
00:46:30 :: (Reading database ... 65%
00:46:30 :: (Reading database ... 70%
00:46:30 :: (Reading database ... 75%
00:46:30 :: (Reading database ... 80%
00:46:30 :: (Reading database ... 85%
00:46:30 :: (Reading database ... 90%
00:46:30 :: (Reading database ... 95%
00:46:30 :: (Reading database ... 100%
00:46:30 :: (Reading database ... 19016 files and directories currently installed.)
00:46:30 :: Preparing to unpack .../0-libicu67_67.1-7_amd64.deb ...
00:46:30 :: Unpacking libicu67:amd64 (67.1-7) ...
00:46:31 :: Selecting previously unselected package icu-devtools.
00:46:31 :: Preparing to unpack .../1-icu-devtools_67.1-7_amd64.deb ...
00:46:31 :: Unpacking icu-devtools (67.1-7) ...
00:46:31 :: Selecting previously unselected package libicu-dev:amd64.
00:46:31 :: Preparing to unpack .../2-libicu-dev_67.1-7_amd64.deb ...
00:46:31 :: Unpacking libicu-dev:amd64 (67.1-7) ...
00:46:32 :: Selecting previously unselected package libxml2:amd64.
00:46:32 :: Preparing to unpack .../3-libxml2_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
00:46:32 :: Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
00:46:32 :: Selecting previously unselected package libxml2-dev:amd64.
00:46:32 :: Preparing to unpack .../4-libxml2-dev_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
00:46:32 :: Unpacking libxml2-dev:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
00:46:32 :: Selecting previously unselected package libxslt1.1:amd64.
00:46:32 :: Preparing to unpack .../5-libxslt1.1_1.1.34-4+deb11u1_amd64.deb ...
00:46:32 :: Unpacking libxslt1.1:amd64 (1.1.34-4+deb11u1) ...
00:46:32 :: Selecting previously unselected package libxslt1-dev:amd64.
00:46:32 :: Preparing to unpack .../6-libxslt1-dev_1.1.34-4+deb11u1_amd64.deb ...
00:46:32 :: Unpacking libxslt1-dev:amd64 (1.1.34-4+deb11u1) ...
00:46:32 :: Selecting previously unselected package time.
00:46:32 :: Preparing to unpack .../7-time_1.9-0.1_amd64.deb ...
00:46:32 :: Unpacking time (1.9-0.1) ...
00:46:32 :: Setting up time (1.9-0.1) ...
00:46:32 :: Setting up libicu67:amd64 (67.1-7) ...
00:46:32 :: Setting up icu-devtools (67.1-7) ...
00:46:32 :: Setting up libicu-dev:amd64 (67.1-7) ...
00:46:32 :: Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
00:46:32 :: Setting up libxml2-dev:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
00:46:32 :: Setting up libxslt1.1:amd64 (1.1.34-4+deb11u1) ...
00:46:32 :: Setting up libxslt1-dev:amd64 (1.1.34-4+deb11u1) ...
00:46:32 :: Processing triggers for libc-bin (2.31-13+deb11u5) ...
00:46:34 :: ===> Searching for: Text::Table::Simple
00:46:42 :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[task stderr]
00:46:42 :: debconf: delaying package configuration, since apt-utils is not installed
00:46:42 :: ===> Updating fez mirror: https://360.zef.pm/
00:46:42 :: ===> Updated fez mirror: https://360.zef.pm/
00:46:42 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
00:46:42 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
00:46:17 :: [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]
00:46:46 :: Linux version: debian
00:46:46 :: activating rakudo version 2022.07 ...
00:46:46 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/bin/raku
00:46:47 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site/bin/zef
00:46:47 :: Welcome to Rakudo™ v2022.07.
00:46:47 :: Implementing the Raku® Programming Language v6.d.
00:46:47 :: Built on MoarVM version 2022.07.
00:47:06 :: v0.14.5
00:47:21 :: ===> Searching for missing dependencies: File::Temp, Method::Also, W3C::DOM:ver<0.0.2+>, XML, OO::Monitors, App::Prove6, LibraryMake
00:48:08 :: ===> Searching for missing dependencies: Getopt::Long:ver<0.3.0+>, Path::Finder:ver<0.4.4+>, Pod::Usage, TAP:ver<0.3.4+>, sigpipe, Shell::Command
00:48:08 :: ===> Searching for missing dependencies: File::Which, File::Find
00:48:08 :: ===> Installing: W3C::DOM:ver<0.0.3>:auth<zef:dwarring>
00:48:08 :: ===> Installing: XML:ver<0.3.3>:auth<zef:raku-community-modules>
00:48:08 :: ===> Installing: File::Temp:ver<0.0.10>:auth<zef:rbt>
00:48:08 :: ===> Installing: OO::Monitors:ver<1.1.1>
00:48:08 :: ===> Installing: Method::Also:ver<0.0.8>:auth<zef:lizmat>
00:48:08 :: ===> Installing: Getopt::Long:ver<0.4.1>
00:48:08 :: ===> Installing: Path::Finder:ver<0.4.5>
00:48:08 :: ===> Installing: Pod::Usage:ver<0.0.1>:auth<zef:leont>
00:48:08 :: ===> Installing: TAP:ver<0.3.14>
00:48:08 :: ===> Installing: sigpipe:ver<0.0.3>:auth<zef:leont>
00:48:08 :: ===> Installing: App::Prove6:ver<0.0.17>:auth<cpan:LEONT>
00:48:08 :: ===> Installing: File::Which:ver<1.0.4>
00:48:08 :: ===> Installing: File::Find:ver<0.1.1>
00:48:08 :: ===> Installing: Shell::Command
00:48:08 :: ===> Installing: LibraryMake:ver<1.0.0>
00:48:08 :: 
00:48:08 :: 1 bin/ script [prove6] installed to:
00:48:08 :: /home/worker/.raku/bin
00:48:09 :: ===> Building: LibXML:ver<0.9.8>:auth<zef:dwarring>:api<0.9.0>
00:48:12 :: ===> Building [OK] for LibXML:ver<0.9.8>:auth<zef:dwarring>:api<0.9.0>
00:48:13 :: ===> Testing: LibXML:ver<0.9.8>:auth<zef:dwarring>:api<0.9.0>
00:51:56 :: [LibXML] t/000sanity.t ................... ok
00:51:56 :: [LibXML] t/00ast.t ....................... ok
00:51:56 :: [LibXML] t/00config.t .................... ok
00:51:56 :: [LibXML] t/00dict.t ...................... ok
00:51:56 :: [LibXML] t/00dom-w3c.t ................... ok
00:51:56 :: [LibXML] t/00dom.t ....................... ok
00:51:56 :: [LibXML] t/00dtd-decls.t ................. ok
00:51:56 :: [LibXML] t/00dtd.t ....................... ok
00:51:56 :: [LibXML] t/00errors.t .................... ok
00:51:56 :: [LibXML] t/00hash-object.t ............... ok
00:51:56 :: [LibXML] t/00hash-type.t ................. ok
00:51:56 :: [LibXML] t/00input-callback.t ............ ok
00:51:56 :: [LibXML] t/00native.t .................... ok
00:51:56 :: [LibXML] t/00query-selectors.t ........... ok
00:51:56 :: [LibXML] t/00sax-coverage.t .............. ok
00:51:56 :: [LibXML] t/00sax.t ....................... ok
00:51:56 :: [LibXML] t/00subclass.t .................. ok
00:51:56 :: [LibXML] t/00threads.t ................... ok
00:51:56 :: [LibXML] t/00xpath-object.t .............. ok
00:51:56 :: [LibXML] t/01basic.t ..................... ok
00:51:56 :: [LibXML] t/02parse.t ..................... ok
00:51:56 :: [LibXML] t/03doc.t ....................... ok
00:51:56 :: [LibXML] t/04node.t ...................... ok
00:51:56 :: [LibXML] t/05text.t ...................... ok
00:51:56 :: [LibXML] t/06elements.t .................. ok
00:51:56 :: [LibXML] t/07dtd.t ....................... ok
00:51:56 :: [LibXML] t/08findnodes.t ................. ok
00:51:56 :: [LibXML] t/09xpath.t ..................... ok
00:51:56 :: [LibXML] t/10ns.t ........................ ok
00:51:56 :: [LibXML] t/12html.t ...................... ok
00:51:56 :: [LibXML] t/13dtd.t ....................... ok
00:51:56 :: [LibXML] t/14sax.t ....................... ok
00:51:56 :: [LibXML] t/15nodelist.t .................. ok
00:51:56 :: [LibXML] t/16docnodes.t .................. ok
00:51:56 :: [LibXML] t/17callbacks.t ................. ok
00:51:56 :: [LibXML] t/18docfree.t ................... ok
00:51:56 :: [LibXML] t/19encoding.t .................. ok
00:51:56 :: [LibXML] t/20extras.t .................... ok
00:51:56 :: [LibXML] t/21catalog.t ................... ok
00:51:56 :: [LibXML] t/23rawfunctions.t .............. ok
00:51:56 :: [LibXML] t/24c14n.t ...................... ok
00:51:56 :: [LibXML] t/25relaxng.t ................... ok
00:51:56 :: [LibXML] t/26schema.t .................... ok
00:51:56 :: [LibXML] t/27input_callbacks_simple.t .... ok
00:51:56 :: [LibXML] t/28input_callbacks_multiple.t .. ok
00:51:56 :: [LibXML] t/29id.t ........................ ok
00:51:56 :: [LibXML] t/30keep_blanks.t ............... ok
00:51:56 :: [LibXML] t/30xpathcontext.t .............. ok
00:51:56 :: [LibXML] t/31xpc_functions.t ............. ok
00:51:56 :: [LibXML] t/32xpc_variables.t ............. ok
00:51:56 :: [LibXML] t/35huge_mode.t ................. ok
00:51:56 :: [LibXML] t/40reader.t .................... ok
00:51:56 :: [LibXML] t/40reader_mem_error.t .......... ok
00:51:56 :: [LibXML] t/41xinclude.t .................. ok
00:51:56 :: [LibXML] t/42common.t .................... ok
00:51:56 :: [LibXML] t/43options.t ................... ok
00:51:56 :: [LibXML] t/44extent.t .................... ok
00:51:56 :: [LibXML] t/45regex.t ..................... ok
00:51:56 :: [LibXML] t/46err_column.t ................ ok
00:51:56 :: [LibXML] t/47load_xml_callbacks.t ........ ok
00:51:56 :: [LibXML] t/48importing_nodes_IDs.t ....... ok
00:51:56 :: [LibXML] t/49global_extent.t ............. ok
00:51:56 :: [LibXML] t/60error_prev_chain.t .......... ok
00:51:56 :: [LibXML] t/61error.t ..................... ok
00:51:56 :: [LibXML] t/90threads.t ................... ok
00:51:56 :: [LibXML] t/91unique_key.t ................ ok
00:51:56 :: [LibXML] t/99doc-examples.t .............. ok
00:51:56 :: [LibXML] t/issue#025.t ................... ok
00:51:56 :: [LibXML] All tests successful.
00:51:56 :: [LibXML] 
00:51:56 :: [LibXML] Test Summary Report
00:51:56 :: [LibXML] -------------------
00:51:56 :: [LibXML] Files=68, Tests=734,  222 wallclock secs
00:51:56 :: [LibXML] Result: PASS
00:51:56 :: ===> Testing [OK] for LibXML:ver<0.9.8>:auth<zef:dwarring>:api<0.9.0>
[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]
00:45:57 :: [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
00:45:59 :: [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]
00:46:01 :: 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]
00:52:02 :: O----------------O--------O---------------------------------------------------------------------------------------O------------O
00:52:02 :: | Rakudo Version | Status | Time                                                                                  | Linux Dist |
00:52:02 :: O================O========O=======================================================================================O============O
00:52:02 :: | 2022.07        | OK     | 328.27user 21.81system 3:44.31elapsed 156%CPU (0avgtext+0avgdata 2064620maxresident)k | debian     |
00:52:02 :: |                |        | 0inputs+201832outputs (0major+8289973minor)pagefaults 0swaps                          |            |
00:52:02 :: --------------------------------------------------------------------------------------------------------------------------------