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

SparrowCI Report - branch-melezhik-LibXML-raku-arm | [image: melezhik/sparrow:ubuntu_arm]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 3746
Status: FAIL
Image: melezhik/sparrow:ubuntu_arm
Worker status: OK
---
Date: 29.10.2023 @ 19:40
Time elapsed: 308 sec
---
SCM: https://github.com/melezhik/LibXML-raku.git
Git sha: d860d48
Git comment: migrate to arm
image:
  - melezhik/sparrow:debian_arm
  - melezhik/sparrow:ubuntu_arm
  # - 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 update
        sudo apt-get install -y libxml2-dev libxslt-dev time 
      elif test $os = "ubuntu"; then
        sudo apt-get update
        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
19:40:16 :: [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 update
[3]   sudo apt-get install -y libxml2-dev libxslt-dev time 
[4] elif test $os = "ubuntu"; then
[5]   sudo apt-get update
[6]   sudo apt-get install -y libxml2-dev libxslt-dev time 
[7] elif test $os = "arch"; then
[8]   sudo pacman -S --needed --noconfirm -q libxml2 libxslt  time
[9] fi  
[10] zef install --/test Text::Table::Simple
[11] 
[task stdout]
19:40:18 :: Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
19:40:18 :: Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [119 kB]
19:40:19 :: Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [109 kB]
19:40:19 :: Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB]
19:40:19 :: Get:5 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse arm64 Packages [27.8 kB]
19:40:19 :: Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe arm64 Packages [1163 kB]
19:40:19 :: Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages [1227 kB]
19:40:19 :: Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted arm64 Packages [847 kB]
19:40:19 :: Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe arm64 Packages [30.7 kB]
19:40:19 :: Get:10 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main arm64 Packages [77.8 kB]
19:40:19 :: Get:11 http://ports.ubuntu.com/ubuntu-ports jammy-security/main arm64 Packages [964 kB]
19:40:19 :: Get:12 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted arm64 Packages [840 kB]
19:40:20 :: Get:13 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe arm64 Packages [902 kB]
19:40:20 :: Get:14 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse arm64 Packages [23.4 kB]
19:40:20 :: Fetched 6441 kB in 2s (3122 kB/s)
19:40:21 :: Reading package lists...
19:40:22 :: Reading package lists...
19:40:22 :: Building dependency tree...
19:40:22 :: Reading state information...
19:40:22 :: The following additional packages will be installed:
19:40:22 ::   icu-devtools libicu-dev libicu70 libxml2 libxslt1.1
19:40:22 :: Suggested packages:
19:40:22 ::   icu-doc pkg-config
19:40:22 :: The following NEW packages will be installed:
19:40:22 ::   icu-devtools libicu-dev libicu70 libxml2 libxml2-dev libxslt1-dev libxslt1.1
19:40:22 ::   time
19:40:22 :: 0 upgraded, 8 newly installed, 0 to remove and 19 not upgraded.
19:40:22 :: Need to get 24.2 MB of archives.
19:40:22 :: After this operation, 90.9 MB of additional disk space will be used.
19:40:22 :: Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libicu70 arm64 70.1-2 [10.5 MB]
19:40:23 :: Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libxml2 arm64 2.9.13+dfsg-1ubuntu0.3 [728 kB]
19:40:23 :: Get:3 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 time arm64 1.9-0.1build2 [46.4 kB]
19:40:23 :: Get:4 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 icu-devtools arm64 70.1-2 [193 kB]
19:40:23 :: Get:5 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libicu-dev arm64 70.1-2 [11.6 MB]
19:40:24 :: Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libxml2-dev arm64 2.9.13+dfsg-1ubuntu0.3 [804 kB]
19:40:24 :: Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libxslt1.1 arm64 1.1.34-4ubuntu0.22.04.1 [160 kB]
19:40:24 :: Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libxslt1-dev arm64 1.1.34-4ubuntu0.22.04.1 [219 kB]
19:40:24 :: Fetched 24.2 MB in 1s (17.6 MB/s)
19:40:24 :: Selecting previously unselected package libicu70:arm64.
19:40:24 :: (Reading database ... 
19:40:24 :: (Reading database ... 5%
19:40:24 :: (Reading database ... 10%
19:40:24 :: (Reading database ... 15%
19:40:24 :: (Reading database ... 20%
19:40:24 :: (Reading database ... 25%
19:40:24 :: (Reading database ... 30%
19:40:24 :: (Reading database ... 35%
19:40:24 :: (Reading database ... 40%
19:40:24 :: (Reading database ... 45%
19:40:24 :: (Reading database ... 50%
19:40:24 :: (Reading database ... 55%
19:40:24 :: (Reading database ... 60%
19:40:24 :: (Reading database ... 65%
19:40:24 :: (Reading database ... 70%
19:40:24 :: (Reading database ... 75%
19:40:24 :: (Reading database ... 80%
19:40:24 :: (Reading database ... 85%
19:40:24 :: (Reading database ... 90%
19:40:24 :: (Reading database ... 95%
19:40:24 :: (Reading database ... 100%
19:40:24 :: (Reading database ... 16015 files and directories currently installed.)
19:40:24 :: Preparing to unpack .../0-libicu70_70.1-2_arm64.deb ...
19:40:24 :: Unpacking libicu70:arm64 (70.1-2) ...
19:40:24 :: Selecting previously unselected package libxml2:arm64.
19:40:24 :: Preparing to unpack .../1-libxml2_2.9.13+dfsg-1ubuntu0.3_arm64.deb ...
19:40:24 :: Unpacking libxml2:arm64 (2.9.13+dfsg-1ubuntu0.3) ...
19:40:24 :: Selecting previously unselected package time.
19:40:24 :: Preparing to unpack .../2-time_1.9-0.1build2_arm64.deb ...
19:40:24 :: Unpacking time (1.9-0.1build2) ...
19:40:24 :: Selecting previously unselected package icu-devtools.
19:40:24 :: Preparing to unpack .../3-icu-devtools_70.1-2_arm64.deb ...
19:40:24 :: Unpacking icu-devtools (70.1-2) ...
19:40:24 :: Selecting previously unselected package libicu-dev:arm64.
19:40:24 :: Preparing to unpack .../4-libicu-dev_70.1-2_arm64.deb ...
19:40:24 :: Unpacking libicu-dev:arm64 (70.1-2) ...
19:40:25 :: Selecting previously unselected package libxml2-dev:arm64.
19:40:25 :: Preparing to unpack .../5-libxml2-dev_2.9.13+dfsg-1ubuntu0.3_arm64.deb ...
19:40:25 :: Unpacking libxml2-dev:arm64 (2.9.13+dfsg-1ubuntu0.3) ...
19:40:25 :: Selecting previously unselected package libxslt1.1:arm64.
19:40:25 :: Preparing to unpack .../6-libxslt1.1_1.1.34-4ubuntu0.22.04.1_arm64.deb ...
19:40:25 :: Unpacking libxslt1.1:arm64 (1.1.34-4ubuntu0.22.04.1) ...
19:40:25 :: Selecting previously unselected package libxslt1-dev:arm64.
19:40:25 :: Preparing to unpack .../7-libxslt1-dev_1.1.34-4ubuntu0.22.04.1_arm64.deb ...
19:40:25 :: Unpacking libxslt1-dev:arm64 (1.1.34-4ubuntu0.22.04.1) ...
19:40:25 :: Setting up time (1.9-0.1build2) ...
19:40:25 :: Setting up libicu70:arm64 (70.1-2) ...
19:40:25 :: Setting up icu-devtools (70.1-2) ...
19:40:25 :: Setting up libicu-dev:arm64 (70.1-2) ...
19:40:25 :: Setting up libxml2:arm64 (2.9.13+dfsg-1ubuntu0.3) ...
19:40:25 :: Setting up libxml2-dev:arm64 (2.9.13+dfsg-1ubuntu0.3) ...
19:40:25 :: Setting up libxslt1.1:arm64 (1.1.34-4ubuntu0.22.04.1) ...
19:40:25 :: Setting up libxslt1-dev:arm64 (1.1.34-4ubuntu0.22.04.1) ...
19:40:25 :: Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
19:40:27 :: ===> Searching for: Text::Table::Simple
19:40:39 :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[task stderr]
19:40:39 :: debconf: delaying package configuration, since apt-utils is not installed
19:40:39 :: ===> Updating fez mirror: https://360.zef.pm/
19:40:39 :: ===> Updated fez mirror: https://360.zef.pm/
19:40:39 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
19:40:39 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
19:39:35 :: [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]
19:40:43 :: Linux version: ubuntu
19:40:45 :: activating rakudo version 2022.07 ...
19:40:45 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/bin/raku
19:40:45 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site/bin/zef
[task stderr]
19:40:45 :: /var/.sparrowdo/env/main/.sparrowdo/tasks/multi-versions/tasks/test/task.bash: line 14: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/bin/raku: cannot execute binary file: Exec format error
[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]
[task stderr]
19:40:45 :: Saw 1 occurrence of deprecated code.
19:40:45 :: ================================================================================
19:40:45 :: .pm file extension in raku library path seen at:
19:40:45 ::   file#/home/worker/.sparrow6/tmp/1227/1, line 0
19:40:45 :: Please use the .rakumod extension for raku modules, or include a META6.json file that explicitly declares each raku module file instead.
19:40:45 :: --------------------------------------------------------------------------------
19:40:45 :: Please contact the author to have these occurrences of deprecated code
19:40:45 :: adapted, so that this message will disappear!
19:38:55 :: [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
19:38:58 :: [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]
19:39:00 :: 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]
19:40:51 :: O----------------O--------O------O------------O
19:40:51 :: | Rakudo Version | Status | Time | Linux Dist |
19:40:51 :: O================O========O======O============O
19:40:51 :: | 2022.07        | FAIL   | NA   | ubuntu     |
19:40:51 :: -----------------------------------------------
[task stderr]
19:40:51 :: Saw 1 occurrence of deprecated code.
19:40:51 :: ================================================================================
19:40:51 :: .pm file extension in raku library path seen at:
19:40:51 ::   file#/home/worker/.sparrow6/tmp/4921/1, line 0
19:40:51 :: Please use the .rakumod extension for raku modules, or include a META6.json file that explicitly declares each raku module file instead.
19:40:51 :: --------------------------------------------------------------------------------
19:40:51 :: Please contact the author to have these occurrences of deprecated code
19:40:51 :: adapted, so that this message will disappear!
19:40:51 :: some tests failed
19:40:51 ::   in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku line 11
19:40:51 :: 
19:40:51 :: Saw 1 occurrence of deprecated code.
19:40:51 :: ================================================================================
19:40:51 :: .pm file extension in raku library path seen at:
19:40:51 ::   file#/home/worker/.sparrow6/tmp/4921/1, line 0
19:40:51 :: Please use the .rakumod extension for raku modules, or include a META6.json file that explicitly declares each raku module file instead.
19:40:51 :: --------------------------------------------------------------------------------
19:40:51 :: Please contact the author to have these occurrences of deprecated code
19:40:51 :: adapted, so that this message will disappear!
19:40:51 :: task exit status: 1
19:40:51 :: 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/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/resources/7E8029CBEC6AEAB4CF3B86B0FA3D5E6E21936B90 line 13
  in sub MAIN at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 3
  in block <unit> at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 1