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

SparrowCI Report - gh-avuserow-raku-audio-taglib | [image: melezhik/sparrow:archlinux]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 3317
Status: OK
Image: melezhik/sparrow:archlinux
Worker status: OK
---
Date: 15.05.2023 @ 04:39
Time elapsed: 629 sec
---
SCM: https://github.com/avuserow/raku-audio-taglib.git
Git sha: 8085710
Git comment: 0.0.6
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.04
        - 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          
          eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)"

          which raku
          which zef

          raku --version
          zef --version
          
          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 = "alpine"; then
        sudo apk add taglib-dev zlib-dev 
      elif test $os = "debian"; then
        sudo apt-get install -y libtag1-dev zlib1g-dev time 
      elif test $os = "ubuntu"; then
        sudo apt-get install -y libtag1-dev zlib1g-dev time 
      elif test $os = "arch"; then
        sudo pacman -S --needed --noconfirm -q taglib zlib time
      fi  
      zef install --/test Text::Table::Simple
 
04:36:28 :: [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 = "alpine"; then
[2]   sudo apk add taglib-dev zlib-dev 
[3] elif test $os = "debian"; then
[4]   sudo apt-get install -y libtag1-dev zlib1g-dev time 
[5] elif test $os = "ubuntu"; then
[6]   sudo apt-get install -y libtag1-dev zlib1g-dev time 
[7] elif test $os = "arch"; then
[8]   sudo pacman -S --needed --noconfirm -q taglib zlib time
[9] fi  
[10] zef install --/test Text::Table::Simple
[11] 
[task stdout]
04:36:30 :: resolving dependencies...
04:36:30 :: looking for conflicting packages...
04:36:30 :: 
04:36:30 :: Package (2)     New Version  Net Change  Download Size
04:36:30 :: 
04:36:30 :: extra/taglib    1.13-1         1.62 MiB       0.36 MiB
04:36:30 :: community/time  1.9-4          0.04 MiB       0.02 MiB
04:36:30 :: 
04:36:30 :: Total Download Size:   0.39 MiB
04:36:30 :: Total Installed Size:  1.66 MiB
04:36:30 :: 
04:36:30 :: :: Proceed with installation? [Y/n] 
04:36:30 :: :: Retrieving packages...
04:36:30 ::  taglib-1.13-1-x86_64 downloading...
04:36:30 ::  time-1.9-4-x86_64 downloading...
04:36:30 :: checking keyring...
04:36:31 :: checking package integrity...
04:36:31 :: loading package files...
04:36:31 :: checking for file conflicts...
04:36:31 :: :: Processing package changes...
04:36:31 :: installing taglib...
04:36:31 :: installing time...
04:36:31 :: :: Running post-transaction hooks...
04:36:31 :: (1/1) Arming ConditionNeedsUpdate...
04:36:33 :: ===> Searching for: Text::Table::Simple
04:36:44 :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[task stderr]
04:36:44 :: warning: zlib-1:1.2.13-2 is up to date -- skipping
04:36:44 :: ===> Updating fez mirror: https://360.zef.pm/
04:36:44 :: ===> Updated fez mirror: https://360.zef.pm/
04:36:44 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
04:36:44 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
04:36:13 :: [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] eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)"
[9] 
[10] which raku
[11] which zef
[12] 
[13] raku --version
[14] zef --version
[15] 
[16] cd source/
[17] zef install . --deps-only --test-depends --build-depends --/test
[18] zef build .
[19] 
[20] /usr/bin/time -o "${cache_root_dir}/${version}_time" \
[21] zef test . && touch "${cache_root_dir}/${version}_ok"
[22] 
[task stdout]
04:36:51 :: Linux version: arch
04:36:53 ::                            Adding Rakudo to PATH
04:36:53 ::                           =======================
04:36:53 :: 
04:36:53 :: Paths successfully added.
04:36:53 :: 
04:36:53 :: ================================================================================
04:36:53 ::  =========                                                             __   __
04:36:53 ::   ||_|_||                =============================                (  \,/  )
04:36:53 ::   || # ||                 Welcome to the Raku Console                  \_ O _/
04:36:53 ::   || # ||                =============================                 (_/ \_)
04:36:53 :: 
04:36:53 :: This console has all the tools available you need to get started using Raku.
04:36:53 :: 
04:36:53 :: Rakudo provides an interactive command line interpreter (a so called Read Eval
04:36:53 :: Print Loop, REPL for short) you can use to quickly try out pieces of Raku code.
04:36:53 :: Start it by typing:
04:36:53 :: 
04:36:53 ::     raku
04:36:53 :: 
04:36:53 :: If you already have a Raku program in a file, you can run it by typing:
04:36:53 :: 
04:36:53 ::     raku path/to/my/program.raku
04:36:53 :: 
04:36:53 :: To install additional modules you can use the Zef module manager:
04:36:53 :: 
04:36:53 ::     zef install Some::Module
04:36:53 :: 
04:36:53 :: https://rakudo.org/           - The home of this implementation of Raku.
04:36:53 :: https://raku.land/            - Go here to browse for Raku modules.
04:36:53 :: https://docs.raku.org/        - The Raku documentation.
04:36:53 :: https://web.libera.chat/#raku - The Raku user chat. Talk to us!
04:36:53 :: 
04:36:53 ::                               Happy hacking!
04:36:53 :: 
04:36:53 :: ================================================================================
04:36:53 :: 
04:36:53 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.04-01-linux-x86_64-gcc/bin/raku
04:36:53 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.04-01-linux-x86_64-gcc/share/perl6/site/bin/zef
04:36:53 :: Welcome to Rakudo™ v2022.04.
04:36:53 :: Implementing the Raku® Programming Language v6.d.
04:36:53 :: Built on MoarVM version 2022.04.
04:37:11 :: v0.14.5
04:37:24 :: ===> Building: Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
04:37:26 :: ===> Building [OK] for Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
04:37:27 :: ===> Testing: Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
04:37:29 :: ===> Testing [OK] for Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
[task stderr]
04:37:29 :: All candidates are currently installed
[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] eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)"
[9] 
[10] which raku
[11] which zef
[12] 
[13] raku --version
[14] zef --version
[15] 
[16] cd source/
[17] zef install . --deps-only --test-depends --build-depends --/test
[18] zef build .
[19] 
[20] /usr/bin/time -o "${cache_root_dir}/${version}_time" \
[21] zef test . && touch "${cache_root_dir}/${version}_ok"
[22] 
[task stdout]
04:37:29 :: Linux version: arch
04:37:32 ::                            Adding Rakudo to PATH
04:37:32 ::                           =======================
04:37:32 :: 
04:37:32 :: Paths successfully added.
04:37:32 :: 
04:37:32 :: ================================================================================
04:37:32 ::  =========                                                             __   __
04:37:32 ::   ||_|_||                =============================                (  \,/  )
04:37:32 ::   || # ||                 Welcome to the Raku Console                  \_ O _/
04:37:32 ::   || # ||                =============================                 (_/ \_)
04:37:32 :: 
04:37:32 :: This console has all the tools available you need to get started using Raku.
04:37:32 :: 
04:37:32 :: Rakudo provides an interactive command line interpreter (a so called Read Eval
04:37:32 :: Print Loop, REPL for short) you can use to quickly try out pieces of Raku code.
04:37:32 :: Start it by typing:
04:37:32 :: 
04:37:32 ::     raku
04:37:32 :: 
04:37:32 :: If you already have a Raku program in a file, you can run it by typing:
04:37:32 :: 
04:37:32 ::     raku path/to/my/program.raku
04:37:32 :: 
04:37:32 :: To install additional modules you can use the Zef module manager:
04:37:32 :: 
04:37:32 ::     zef install Some::Module
04:37:32 :: 
04:37:32 :: https://rakudo.org/           - The home of this implementation of Raku.
04:37:32 :: https://raku.land/            - Go here to browse for Raku modules.
04:37:32 :: https://docs.raku.org/        - The Raku documentation.
04:37:32 :: https://web.libera.chat/#raku - The Raku user chat. Talk to us!
04:37:32 :: 
04:37:32 ::                               Happy hacking!
04:37:32 :: 
04:37:32 :: ================================================================================
04:37:32 :: 
04:37:32 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.06-01-linux-x86_64-gcc/bin/raku
04:37:32 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.06-01-linux-x86_64-gcc/share/perl6/site/bin/zef
04:37:32 :: Welcome to Rakudo™ v2022.06.
04:37:32 :: Implementing the Raku® Programming Language v6.d.
04:37:32 :: Built on MoarVM version 2022.06.
04:37:49 :: v0.14.5
04:38:02 :: ===> Building: Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
04:38:04 :: ===> Building [OK] for Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
04:38:05 :: ===> Testing: Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
04:38:09 :: ===> Testing [OK] for Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
[task stderr]
04:38:09 :: All candidates are currently installed
[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] eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)"
[9] 
[10] which raku
[11] which zef
[12] 
[13] raku --version
[14] zef --version
[15] 
[16] cd source/
[17] zef install . --deps-only --test-depends --build-depends --/test
[18] zef build .
[19] 
[20] /usr/bin/time -o "${cache_root_dir}/${version}_time" \
[21] zef test . && touch "${cache_root_dir}/${version}_ok"
[22] 
[task stdout]
04:38:09 :: Linux version: arch
04:38:10 ::                            Adding Rakudo to PATH
04:38:10 ::                           =======================
04:38:10 :: 
04:38:10 :: Paths successfully added.
04:38:10 :: 
04:38:10 :: ================================================================================
04:38:10 ::  =========                                                             __   __
04:38:10 ::   ||_|_||                =============================                (  \,/  )
04:38:10 ::   || # ||                 Welcome to the Raku Console                  \_ O _/
04:38:10 ::   || # ||                =============================                 (_/ \_)
04:38:10 :: 
04:38:10 :: This console has all the tools available you need to get started using Raku.
04:38:10 :: 
04:38:10 :: Rakudo provides an interactive command line interpreter (a so called Read Eval
04:38:10 :: Print Loop, REPL for short) you can use to quickly try out pieces of Raku code.
04:38:10 :: Start it by typing:
04:38:10 :: 
04:38:10 ::     raku
04:38:10 :: 
04:38:10 :: If you already have a Raku program in a file, you can run it by typing:
04:38:10 :: 
04:38:10 ::     raku path/to/my/program.raku
04:38:10 :: 
04:38:10 :: To install additional modules you can use the Zef module manager:
04:38:10 :: 
04:38:10 ::     zef install Some::Module
04:38:10 :: 
04:38:10 :: https://rakudo.org/           - The home of this implementation of Raku.
04:38:10 :: https://raku.land/            - Go here to browse for Raku modules.
04:38:10 :: https://docs.raku.org/        - The Raku documentation.
04:38:10 :: https://web.libera.chat/#raku - The Raku user chat. Talk to us!
04:38:10 :: 
04:38:10 ::                               Happy hacking!
04:38:10 :: 
04:38:10 :: ================================================================================
04:38:10 :: 
04:38:10 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/bin/raku
04:38:10 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site/bin/zef
04:38:10 :: Welcome to Rakudo™ v2022.07.
04:38:10 :: Implementing the Raku® Programming Language v6.d.
04:38:10 :: Built on MoarVM version 2022.07.
04:38:27 :: v0.14.5
04:38:41 :: ===> Building: Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
04:38:42 :: ===> Building [OK] for Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
04:38:43 :: ===> Testing: Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
04:38:48 :: ===> Testing [OK] for Audio::TagLib:ver<0.0.6>:auth<zef:avuserow>
[task stderr]
04:38:48 :: All candidates are currently installed
[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]
04:35:46 :: [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
04:35:49 :: [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]
04:35:51 :: 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]
04:38:53 :: O----------------O--------O-----------------------------------------------------------------------------------O------------O
04:38:53 :: | Rakudo Version | Status | Time                                                                              | Linux Dist |
04:38:53 :: O================O========O===================================================================================O============O
04:38:53 :: | 2022.04        | OK     | 5.06user 0.47system 0:03.58elapsed 154%CPU (0avgtext+0avgdata 182272maxresident)k | arch       |
04:38:53 :: |                |        | 200inputs+2208outputs (3major+190561minor)pagefaults 0swaps                       |            |
04:38:53 :: | 2022.06        | OK     | 8.44user 0.62system 0:05.84elapsed 155%CPU (0avgtext+0avgdata 206176maxresident)k | arch       |
04:38:53 :: |                |        | 0inputs+17480outputs (0major+250635minor)pagefaults 0swaps                        |            |
04:38:53 :: | 2022.07        | OK     | 8.46user 0.60system 0:05.78elapsed 156%CPU (0avgtext+0avgdata 201320maxresident)k | arch       |
04:38:53 :: |                |        | 0inputs+17552outputs (0major+245512minor)pagefaults 0swaps                        |            |
04:38:53 :: ----------------------------------------------------------------------------------------------------------------------------