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

SparrowCI Report - gh-melezhik-Tomtit | [image: melezhik/sparrow:alpine_arm]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 3622
Status: FAIL
Image: melezhik/sparrow:alpine_arm
Worker status: OK
---
Date: 15.09.2023 @ 21:10
Time elapsed: 132 sec
---
SCM: https://github.com/melezhik/Tomtit.git
Git sha: cb7e0b0
Git comment: move to arm arch
image:
  - melezhik/sparrow:alpine_arm
  
secrets:
  - FEZ_TOKEN

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><test-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: test-versions
    followup:
      -
        name: release
  -
    name: test-versions
    language: Raku
    config:
      list:
        - 2022.04
        - 2022.06
        - 2023.06
        - 2022.12
    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
          rakubrew download moar-$version
          rakubrew switch moar-$version
          cd source/
          zef install --/test --to=home .
          export SP6_LOG_NO_TIMESTAMPS=1
          /usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
          tomty  --all --show-failed --color --dump-task && \
          touch "${cache_root_dir}/${version}_ok"
    depends:
      -
        name: rakubrew-install
  -
    name: release
    if:
      language: Raku
      code: |
        unless %*ENV<SCM_COMMIT_MESSAGE> ~~ /'release!'/ {
          update_state %( status => 'skip' )
        }
    language: Bash
    code: |
      set -e

      sudo apk add zlib-dev

      zef install --/test fez

      cat << HERE > ~/.fez-config.json
       {
          "groups":[],"un":"melezhik","key":"$FEZ_TOKEN",
          "bundlers": ["Fez::Util::Pax"]
       }
      HERE

      cd source/

      tom --clean
      fez version
      fez upload --unattended

  -
    name: rakubrew-install
    language: Bash
    code: |
      set -e
      curl -sf https://rakubrew.org/perl/rakubrew -o rakubrew
      sudo mv rakubrew /usr/local/bin
      sudo chmod a+x /usr/local/bin/rakubrew
      rakubrew mode shim
      zef install --/test Text::Table::Simple
      sudo apk add time  --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/

21:09:38 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/rakubrew-install]
[dump code: task.bash]
[1] set -e
[2] curl -sf https://rakubrew.org/perl/rakubrew -o rakubrew
[3] sudo mv rakubrew /usr/local/bin
[4] sudo chmod a+x /usr/local/bin/rakubrew
[5] rakubrew mode shim
[6] zef install --/test Text::Table::Simple
[7] sudo apk add time  --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
[8] 
[task stdout]
21:09:42 :: Updating shims
21:09:43 :: ===> Searching for: Text::Table::Simple
21:09:55 :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
21:09:55 :: fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
21:09:55 :: (1/1) Installing time (1.9-r1)
21:09:55 :: Executing busybox-1.36.1-r2.trigger
21:09:55 :: OK: 481 MiB in 63 packages
[task stderr]
21:09:55 :: ===> Updating fez mirror: https://360.zef.pm/
21:09:55 :: ===> Updated fez mirror: https://360.zef.pm/
21:09:55 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
21:09:55 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
21:09:05 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/test-versions]
[dump code: task.bash]
[1] set -e
[2] rakubrew download moar-$version
[3] rakubrew switch moar-$version
[4] cd source/
[5] zef install --/test --to=home .
[6] export SP6_LOG_NO_TIMESTAMPS=1
[7] /usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
[8] tomty  --all --show-failed --color --dump-task && \
[9] touch "${cache_root_dir}/${version}_ok"
[10] 
[task stdout]
[task stderr]
21:09:58 :: Couldn't find a precomp release for OS: "linux", architecture: "arm64", version: "2022.04"
21:09:58 :: You can try building yourself. Use the `rakubrew build` command to do so.
[task run: task.bash - tasks/test-versions]
[dump code: task.bash]
[1] set -e
[2] rakubrew download moar-$version
[3] rakubrew switch moar-$version
[4] cd source/
[5] zef install --/test --to=home .
[6] export SP6_LOG_NO_TIMESTAMPS=1
[7] /usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
[8] tomty  --all --show-failed --color --dump-task && \
[9] touch "${cache_root_dir}/${version}_ok"
[10] 
[task stdout]
[task stderr]
21:10:00 :: Couldn't find a precomp release for OS: "linux", architecture: "arm64", version: "2022.06"
21:10:00 :: You can try building yourself. Use the `rakubrew build` command to do so.
[task run: task.bash - tasks/test-versions]
[dump code: task.bash]
[1] set -e
[2] rakubrew download moar-$version
[3] rakubrew switch moar-$version
[4] cd source/
[5] zef install --/test --to=home .
[6] export SP6_LOG_NO_TIMESTAMPS=1
[7] /usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
[8] tomty  --all --show-failed --color --dump-task && \
[9] touch "${cache_root_dir}/${version}_ok"
[10] 
[task stdout]
[task stderr]
21:10:01 :: Couldn't find a precomp release for OS: "linux", architecture: "arm64", version: "2023.06"
21:10:01 :: You can try building yourself. Use the `rakubrew build` command to do so.
[task run: task.bash - tasks/test-versions]
[dump code: task.bash]
[1] set -e
[2] rakubrew download moar-$version
[3] rakubrew switch moar-$version
[4] cd source/
[5] zef install --/test --to=home .
[6] export SP6_LOG_NO_TIMESTAMPS=1
[7] /usr/bin/time -f "%E real,%U user,%S sys" -o "${cache_root_dir}/${version}_time" \
[8] tomty  --all --show-failed --color --dump-task && \
[9] touch "${cache_root_dir}/${version}_ok"
[10] 
[task stdout]
[task stderr]
21:10:02 :: Couldn't find a precomp release for OS: "linux", architecture: "arm64", version: "2022.12"
21:10:02 :: You can try building yourself. Use the `rakubrew build` command to do so.
[task run: task.raku - tasks/test-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]
21:10:03 :: Saw 1 occurrence of deprecated code.
21:10:03 :: ================================================================================
21:10:03 :: .pm file extension in raku library path seen at:
21:10:03 ::   file#/home/worker/.sparrow6/tmp/11217/1, line 0
21:10:03 :: Please use the .rakumod extension for raku modules, or include a META6.json file that explicitly declares each raku module file instead.
21:10:03 :: --------------------------------------------------------------------------------
21:10:03 :: Please contact the author to have these occurrences of deprecated code
21:10:03 :: adapted, so that this message will disappear!
21:08:34 :: [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
21:08:37 :: [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]
21:08:39 :: 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><test-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]
21:10:04 :: O----------------O--------O------O------------O
21:10:04 :: | Rakudo Version | Status | Time | Linux Dist |
21:10:04 :: O================O========O======O============O
21:10:04 :: | 2022.04        | FAIL   | NA   | alpine     |
21:10:04 :: | 2022.06        | FAIL   | NA   | alpine     |
21:10:04 :: | 2023.06        | FAIL   | NA   | alpine     |
21:10:04 :: | 2022.12        | FAIL   | NA   | alpine     |
21:10:04 :: -----------------------------------------------
[task stderr]
21:10:04 :: Saw 1 occurrence of deprecated code.
21:10:04 :: ================================================================================
21:10:04 :: .pm file extension in raku library path seen at:
21:10:04 ::   file#/home/worker/.sparrow6/tmp/4019/1, line 0
21:10:04 :: Please use the .rakumod extension for raku modules, or include a META6.json file that explicitly declares each raku module file instead.
21:10:04 :: --------------------------------------------------------------------------------
21:10:04 :: Please contact the author to have these occurrences of deprecated code
21:10:04 :: adapted, so that this message will disappear!
21:10:04 :: some tests failed
21:10:04 ::   in block <unit> at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku line 11
21:10:04 :: 
21:10:04 :: Saw 1 occurrence of deprecated code.
21:10:04 :: ================================================================================
21:10:04 :: .pm file extension in raku library path seen at:
21:10:04 ::   file#/home/worker/.sparrow6/tmp/4019/1, line 0
21:10:04 :: Please use the .rakumod extension for raku modules, or include a META6.json file that explicitly declares each raku module file instead.
21:10:04 :: --------------------------------------------------------------------------------
21:10:04 :: Please contact the author to have these occurrences of deprecated code
21:10:04 :: adapted, so that this message will disappear!
21:10:04 :: task exit status: 1
21:10:04 :: 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