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