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

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

  • Summary
  • Pipeline YAML
  • Report
BuildID: 3745
Status: FAIL
Image: melezhik/sparrow:debian_arm
Worker status: OK
---
Date: 29.10.2023 @ 19:38
Time elapsed: 149 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:37:39 :: [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:37:41 :: Hit:1 http://deb.debian.org/debian bookworm InRelease
19:37:41 :: Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
19:37:41 :: Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
19:37:41 :: Get:4 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [86.1 kB]
19:37:41 :: Fetched 186 kB in 0s (680 kB/s)
19:37:42 :: Reading package lists...
19:37:42 :: Reading package lists...
19:37:43 :: Building dependency tree...
19:37:43 :: Reading state information...
19:37:43 :: The following additional packages will be installed:
19:37:43 ::   icu-devtools libicu-dev libicu72 libxml2 libxslt1.1
19:37:43 :: Suggested packages:
19:37:43 ::   icu-doc pkg-config
19:37:43 :: The following NEW packages will be installed:
19:37:43 ::   icu-devtools libicu-dev libicu72 libxml2 libxml2-dev libxslt1-dev libxslt1.1
19:37:43 ::   time
19:37:43 :: 0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
19:37:43 :: Need to get 21.6 MB of archives.
19:37:43 :: After this operation, 96.0 MB of additional disk space will be used.
19:37:43 :: Get:1 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB]
19:37:43 :: Get:2 http://deb.debian.org/debian bookworm/main arm64 icu-devtools arm64 72.1-3 [192 kB]
19:37:43 :: Get:3 http://deb.debian.org/debian bookworm/main arm64 libicu-dev arm64 72.1-3 [10.2 MB]
19:37:43 :: Get:4 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.3~deb12u1 [619 kB]
19:37:43 :: Get:5 http://deb.debian.org/debian bookworm/main arm64 libxml2-dev arm64 2.9.14+dfsg-1.3~deb12u1 [740 kB]
19:37:43 :: Get:6 http://deb.debian.org/debian bookworm/main arm64 libxslt1.1 arm64 1.1.35-1 [231 kB]
19:37:43 :: Get:7 http://deb.debian.org/debian bookworm/main arm64 libxslt1-dev arm64 1.1.35-1 [358 kB]
19:37:43 :: Get:8 http://deb.debian.org/debian bookworm/main arm64 time arm64 1.9-0.2 [50.6 kB]
19:37:43 :: Fetched 21.6 MB in 0s (118 MB/s)
19:37:43 :: Selecting previously unselected package libicu72:arm64.
19:37:43 :: (Reading database ... 
19:37:43 :: (Reading database ... 5%
19:37:43 :: (Reading database ... 10%
19:37:43 :: (Reading database ... 15%
19:37:43 :: (Reading database ... 20%
19:37:43 :: (Reading database ... 25%
19:37:43 :: (Reading database ... 30%
19:37:43 :: (Reading database ... 35%
19:37:43 :: (Reading database ... 40%
19:37:43 :: (Reading database ... 45%
19:37:43 :: (Reading database ... 50%
19:37:43 :: (Reading database ... 55%
19:37:43 :: (Reading database ... 60%
19:37:43 :: (Reading database ... 65%
19:37:43 :: (Reading database ... 70%
19:37:43 :: (Reading database ... 75%
19:37:43 :: (Reading database ... 80%
19:37:43 :: (Reading database ... 85%
19:37:43 :: (Reading database ... 90%
19:37:43 :: (Reading database ... 95%
19:37:43 :: (Reading database ... 100%
19:37:43 :: (Reading database ... 18013 files and directories currently installed.)
19:37:43 :: Preparing to unpack .../0-libicu72_72.1-3_arm64.deb ...
19:37:43 :: Unpacking libicu72:arm64 (72.1-3) ...
19:37:44 :: Selecting previously unselected package icu-devtools.
19:37:44 :: Preparing to unpack .../1-icu-devtools_72.1-3_arm64.deb ...
19:37:44 :: Unpacking icu-devtools (72.1-3) ...
19:37:44 :: Selecting previously unselected package libicu-dev:arm64.
19:37:44 :: Preparing to unpack .../2-libicu-dev_72.1-3_arm64.deb ...
19:37:44 :: Unpacking libicu-dev:arm64 (72.1-3) ...
19:37:44 :: Selecting previously unselected package libxml2:arm64.
19:37:44 :: Preparing to unpack .../3-libxml2_2.9.14+dfsg-1.3~deb12u1_arm64.deb ...
19:37:44 :: Unpacking libxml2:arm64 (2.9.14+dfsg-1.3~deb12u1) ...
19:37:44 :: Selecting previously unselected package libxml2-dev:arm64.
19:37:44 :: Preparing to unpack .../4-libxml2-dev_2.9.14+dfsg-1.3~deb12u1_arm64.deb ...
19:37:44 :: Unpacking libxml2-dev:arm64 (2.9.14+dfsg-1.3~deb12u1) ...
19:37:45 :: Selecting previously unselected package libxslt1.1:arm64.
19:37:45 :: Preparing to unpack .../5-libxslt1.1_1.1.35-1_arm64.deb ...
19:37:45 :: Unpacking libxslt1.1:arm64 (1.1.35-1) ...
19:37:45 :: Selecting previously unselected package libxslt1-dev:arm64.
19:37:45 :: Preparing to unpack .../6-libxslt1-dev_1.1.35-1_arm64.deb ...
19:37:45 :: Unpacking libxslt1-dev:arm64 (1.1.35-1) ...
19:37:45 :: Selecting previously unselected package time.
19:37:45 :: Preparing to unpack .../7-time_1.9-0.2_arm64.deb ...
19:37:45 :: Unpacking time (1.9-0.2) ...
19:37:45 :: Setting up time (1.9-0.2) ...
19:37:45 :: Setting up libicu72:arm64 (72.1-3) ...
19:37:45 :: Setting up icu-devtools (72.1-3) ...
19:37:45 :: Setting up libicu-dev:arm64 (72.1-3) ...
19:37:45 :: Setting up libxml2:arm64 (2.9.14+dfsg-1.3~deb12u1) ...
19:37:45 :: Setting up libxml2-dev:arm64 (2.9.14+dfsg-1.3~deb12u1) ...
19:37:45 :: Setting up libxslt1.1:arm64 (1.1.35-1) ...
19:37:45 :: Setting up libxslt1-dev:arm64 (1.1.35-1) ...
19:37:45 :: Processing triggers for libc-bin (2.36-9+deb12u3) ...
19:37:46 :: ===> Searching for: Text::Table::Simple
19:37:59 :: ===> Staging Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
19:37:59 :: ===> Staging [OK] for Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
19:37:59 :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[task stderr]
19:37:59 :: debconf: delaying package configuration, since apt-utils is not installed
19:37:59 :: ===> Updating fez mirror: https://360.zef.pm/
19:37:59 :: ===> Updated fez mirror: https://360.zef.pm/
19:37:59 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
19:37:59 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
19:36:59 :: [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:38:02 :: Linux version: debian
19:38:04 :: activating rakudo version 2022.07 ...
19:38:04 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/bin/raku
19:38:04 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site/bin/zef
[task stderr]
19:38:04 :: /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]
19:36:19 :: [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:36:22 :: [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:36:24 :: 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:38:10 :: O----------------O--------O------O------------O
19:38:10 :: | Rakudo Version | Status | Time | Linux Dist |
19:38:10 :: O================O========O======O============O
19:38:10 :: | 2022.07        | FAIL   | NA   | debian     |
19:38:10 :: -----------------------------------------------
[task stderr]
19:38:10 :: some tests failed
19:38:10 ::   in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku line 11
19:38:10 :: 
19:38:10 :: task exit status: 1
19:38:10 :: 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