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: 2607
Status: FAIL
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 14.01.2023 @ 01:56
Time elapsed: 250 sec
---
SCM: https://github.com/melezhik/LibXML-raku.git
Git sha: 9f9b183
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"

          zef install --force-install --test File::Directory::Tree  -to=home

          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
          
          zef update 
          
          zef info File::Directory::Tree

          raku -MFile::Directory::Tree -e "say 'OK'"
          
          cd source/
          
          zef install . --deps-only --test-depends --build-depends --/test
          zef build .
          
          /usr/bin/time -o "${cache_root_dir}/${version}_time" \
          zef test . && 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
01:53:57 :: [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]
01:54:01 :: Reading package lists...
01:54:01 :: Building dependency tree...
01:54:01 :: Reading state information...
01:54:02 :: The following additional packages will be installed:
01:54:02 ::   icu-devtools libicu-dev libicu67 libxml2 libxslt1.1
01:54:02 :: Suggested packages:
01:54:02 ::   icu-doc pkg-config
01:54:02 :: The following NEW packages will be installed:
01:54:02 ::   icu-devtools libicu-dev libicu67 libxml2 libxml2-dev libxslt1-dev libxslt1.1
01:54:02 ::   time
01:54:02 :: 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
01:54:02 :: Need to get 20.5 MB of archives.
01:54:02 :: After this operation, 88.0 MB of additional disk space will be used.
01:54:02 :: Get:1 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB]
01:54:02 :: Get:2 http://deb.debian.org/debian bullseye/main amd64 icu-devtools amd64 67.1-7 [201 kB]
01:54:02 :: Get:3 http://deb.debian.org/debian bullseye/main amd64 libicu-dev amd64 67.1-7 [9597 kB]
01:54:02 :: Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u3 [693 kB]
01:54:02 :: Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 libxml2-dev amd64 2.9.10+dfsg-6.7+deb11u3 [790 kB]
01:54:02 :: Get:6 http://deb.debian.org/debian bullseye/main amd64 libxslt1.1 amd64 1.1.34-4+deb11u1 [240 kB]
01:54:02 :: Get:7 http://deb.debian.org/debian bullseye/main amd64 libxslt1-dev amd64 1.1.34-4+deb11u1 [329 kB]
01:54:02 :: Get:8 http://deb.debian.org/debian bullseye/main amd64 time amd64 1.9-0.1 [50.8 kB]
01:54:03 :: Fetched 20.5 MB in 1s (27.5 MB/s)
01:54:03 :: Selecting previously unselected package libicu67:amd64.
01:54:03 :: (Reading database ... 
01:54:03 :: (Reading database ... 5%
01:54:03 :: (Reading database ... 10%
01:54:03 :: (Reading database ... 15%
01:54:03 :: (Reading database ... 20%
01:54:03 :: (Reading database ... 25%
01:54:03 :: (Reading database ... 30%
01:54:03 :: (Reading database ... 35%
01:54:03 :: (Reading database ... 40%
01:54:03 :: (Reading database ... 45%
01:54:03 :: (Reading database ... 50%
01:54:03 :: (Reading database ... 55%
01:54:03 :: (Reading database ... 60%
01:54:03 :: (Reading database ... 65%
01:54:03 :: (Reading database ... 70%
01:54:03 :: (Reading database ... 75%
01:54:03 :: (Reading database ... 80%
01:54:03 :: (Reading database ... 85%
01:54:03 :: (Reading database ... 90%
01:54:03 :: (Reading database ... 95%
01:54:03 :: (Reading database ... 100%
01:54:03 :: (Reading database ... 19016 files and directories currently installed.)
01:54:03 :: Preparing to unpack .../0-libicu67_67.1-7_amd64.deb ...
01:54:03 :: Unpacking libicu67:amd64 (67.1-7) ...
01:54:04 :: Selecting previously unselected package icu-devtools.
01:54:04 :: Preparing to unpack .../1-icu-devtools_67.1-7_amd64.deb ...
01:54:04 :: Unpacking icu-devtools (67.1-7) ...
01:54:04 :: Selecting previously unselected package libicu-dev:amd64.
01:54:04 :: Preparing to unpack .../2-libicu-dev_67.1-7_amd64.deb ...
01:54:04 :: Unpacking libicu-dev:amd64 (67.1-7) ...
01:54:05 :: Selecting previously unselected package libxml2:amd64.
01:54:05 :: Preparing to unpack .../3-libxml2_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
01:54:05 :: Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
01:54:05 :: Selecting previously unselected package libxml2-dev:amd64.
01:54:05 :: Preparing to unpack .../4-libxml2-dev_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
01:54:05 :: Unpacking libxml2-dev:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
01:54:05 :: Selecting previously unselected package libxslt1.1:amd64.
01:54:05 :: Preparing to unpack .../5-libxslt1.1_1.1.34-4+deb11u1_amd64.deb ...
01:54:05 :: Unpacking libxslt1.1:amd64 (1.1.34-4+deb11u1) ...
01:54:05 :: Selecting previously unselected package libxslt1-dev:amd64.
01:54:05 :: Preparing to unpack .../6-libxslt1-dev_1.1.34-4+deb11u1_amd64.deb ...
01:54:05 :: Unpacking libxslt1-dev:amd64 (1.1.34-4+deb11u1) ...
01:54:05 :: Selecting previously unselected package time.
01:54:05 :: Preparing to unpack .../7-time_1.9-0.1_amd64.deb ...
01:54:05 :: Unpacking time (1.9-0.1) ...
01:54:05 :: Setting up time (1.9-0.1) ...
01:54:05 :: Setting up libicu67:amd64 (67.1-7) ...
01:54:05 :: Setting up icu-devtools (67.1-7) ...
01:54:05 :: Setting up libicu-dev:amd64 (67.1-7) ...
01:54:05 :: Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
01:54:05 :: Setting up libxml2-dev:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
01:54:05 :: Setting up libxslt1.1:amd64 (1.1.34-4+deb11u1) ...
01:54:05 :: Setting up libxslt1-dev:amd64 (1.1.34-4+deb11u1) ...
01:54:05 :: Processing triggers for libc-bin (2.31-13+deb11u5) ...
01:54:07 :: ===> Searching for: Text::Table::Simple
01:54:22 :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[task stderr]
01:54:22 :: debconf: delaying package configuration, since apt-utils is not installed
01:54:22 :: ===> Updating fez mirror: https://360.zef.pm/
01:54:22 :: ===> Updated fez mirror: https://360.zef.pm/
01:54:22 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
01:54:22 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
01:53:44 :: [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] zef install --force-install --test File::Directory::Tree  -to=home
[6] 
[7] curl -sL https://rakudo.org/dl/rakudo/rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz \
[8] -o rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
[9] tar -xzf rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
[10] echo "activating rakudo version $version ..."
[11] eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)" > /dev/null 
[12] 
[13] which raku
[14] which zef
[15] 
[16] raku --version
[17] zef --version
[18] 
[19] zef update 
[20] 
[21] zef info File::Directory::Tree
[22] 
[23] raku -MFile::Directory::Tree -e "say 'OK'"
[24] 
[25] cd source/
[26] 
[27] zef install . --deps-only --test-depends --build-depends --/test
[28] zef build .
[29] 
[30] /usr/bin/time -o "${cache_root_dir}/${version}_time" \
[31] zef test . && touch "${cache_root_dir}/${version}_ok"
[32] 
[task stdout]
01:54:24 :: Linux version: debian
01:54:26 :: ===> Searching for: File::Directory::Tree
01:54:40 :: ===> Testing: File::Directory::Tree
01:54:40 :: ===> Testing [OK] for File::Directory::Tree
01:54:40 :: ===> Installing: File::Directory::Tree
01:54:43 :: activating rakudo version 2022.07 ...
01:54:43 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/bin/raku
01:54:43 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site/bin/zef
01:54:43 :: Welcome to Rakudo™ v2022.07.
01:54:43 :: Implementing the Raku® Programming Language v6.d.
01:54:43 :: Built on MoarVM version 2022.07.
01:55:10 :: v0.14.5
01:55:43 :: - Info for: File::Directory::Tree
01:55:43 :: - Identity: File::Directory::Tree
01:55:43 :: - Recommended By: Zef::Repository::LocalCache
01:55:43 :: - Installed: Yes, as File::Directory::Tree:auth<labster>
01:55:43 :: Author:	 labster
01:55:43 :: Description:	 Port of File::Path::Tiny - create and delete directory trees
01:55:43 :: License:	 Artistic-2.0
01:55:43 :: Source-url:	 git://github.com/labster/p6-file-directory-tree.git
01:55:43 :: Provides: 1 modules
01:55:43 :: Depends: 0 items
01:55:44 :: OK
01:55:50 :: ===> Searching for missing dependencies: File::Temp, Method::Also, W3C::DOM:ver<0.0.2+>, XML, OO::Monitors, App::Prove6, LibraryMake
01:56:13 :: ===> 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
01:56:13 :: ===> Searching for missing dependencies: File::Which, File::Find
01:56:13 :: ===> Installing: File::Temp:ver<0.0.10>:auth<zef:rbt>
01:56:13 :: ===> Install [FAIL] for File::Temp:ver<0.0.10>:auth<zef:rbt>: ===SORRY!=== Error while compiling /var/.sparrowdo/env/main/.sparrowdo/source/site#sources/5F3C2F631F65B41420D2685E96BE40A39DEEAC8C (File::Temp)
01:56:13 :: Could not find File::Directory::Tree in:
01:56:13 ::     /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site
01:56:13 ::     /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/vendor
01:56:13 ::     /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/core
01:56:13 ::     CompUnit::Repository::AbsolutePath<75420776>
01:56:13 ::     CompUnit::Repository::NQP<77868864>
01:56:13 ::     CompUnit::Repository::Perl5<77868904>
01:56:13 :: at /var/.sparrowdo/env/main/.sparrowdo/source/site#sources/5F3C2F631F65B41420D2685E96BE40A39DEEAC8C (File::Temp):3
01:56:13 :: 
[task stderr]
01:56:13 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
01:56:13 :: ===> Updating fez mirror: https://360.zef.pm/
01:56:13 :: ===> Updated fez mirror: https://360.zef.pm/
01:56:13 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
01:56:13 :: ===SORRY!=== Error while compiling /var/.sparrowdo/env/main/.sparrowdo/source/site#sources/5F3C2F631F65B41420D2685E96BE40A39DEEAC8C (File::Temp)
01:56:13 :: Could not find File::Directory::Tree in:
01:56:13 ::     /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site
01:56:13 ::     /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/vendor
01:56:13 ::     /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/core
01:56:13 ::     CompUnit::Repository::AbsolutePath<75420776>
01:56:13 ::     CompUnit::Repository::NQP<77868864>
01:56:13 ::     CompUnit::Repository::Perl5<77868904>
01:56:13 :: at /var/.sparrowdo/env/main/.sparrowdo/source/site#sources/5F3C2F631F65B41420D2685E96BE40A39DEEAC8C (File::Temp):3
01:56:13 :: 
[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]
01:53:12 :: [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
01:53:15 :: [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]
01:53:18 :: 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]
01:56:19 :: O----------------O--------O------O------------O
01:56:19 :: | Rakudo Version | Status | Time | Linux Dist |
01:56:19 :: O================O========O======O============O
01:56:19 :: | 2022.07        | FAIL   | NA   | debian     |
01:56:19 :: -----------------------------------------------
[task stderr]
01:56:19 :: some tests failed
01:56:19 ::   in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku line 11
01:56:19 :: 
01:56:19 :: task exit status: 1
01:56:19 :: 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