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

SparrowCI Report - gh-melezhik-ra-Gauge | [image: melezhik/sparrow:alpine]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2534
Status: FAIL
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 10.01.2023 @ 03:40
Time elapsed: 713 sec
---
SCM: https://github.com/melezhik/ra-Gauge.git
Git sha: 52426a2
Git comment: Merge branch 'Kaiepi:main' into main
tasks:
  -
    name: zef-build
    language: Bash
    default: true
    code: |
      set -e
      raku --version
      cd source/
      zef install --deps-only --/test .
      zef test .
      zef install . 
    followup:
      -
        name: check-doc
  -
    name: check-doc
    plugin: good-doc
    config:
      path: source/README.md
03:29:18 :: [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
03:29:21 :: [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]
03:29:24 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/zef-build]
[dump code: task.bash]
[1] set -e
[2] raku --version
[3] cd source/
[4] zef install --deps-only --/test .
[5] zef test .
[6] zef install . 
[7] 
[task stdout]
03:29:25 :: Welcome to Rakudo™ v2022.07.
03:29:25 :: Implementing the Raku® Programming Language v6.d.
03:29:25 :: Built on MoarVM version 2022.07.
03:29:29 :: ===> Testing: Gauge:ver<1.0.3>:auth<zef:Kaiepi>:api<1>
03:29:45 :: ===> Testing [OK] for Gauge:ver<1.0.3>:auth<zef:Kaiepi>:api<1>
03:29:46 :: ===> Testing: Gauge:ver<1.0.3>:auth<zef:Kaiepi>:api<1>
03:30:02 :: ===> Testing [OK] for Gauge:ver<1.0.3>:auth<zef:Kaiepi>:api<1>
03:30:02 :: ===> Installing: Gauge:ver<1.0.3>:auth<zef:Kaiepi>:api<1>
[task stderr]
03:30:02 :: All candidates are currently installed
some followup jobs failed or timeouted: ${:FAIL(0), :OK(0), :TIMEOUT(1)}
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/zef-build/.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

03:30:19 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
03:30:23 :: [repository] - installing good-doc, version 0.000014
[task run: task.bash - check-doc]
[dump code: task.bash]
[1] set -e
[2] 
[3] cd $dir
[4] 
[5] cat $file
[6] 
[7] rakudo_path=$(config rakudo_path)
[8] 
[9] if ! test -z $rakudo_path; then
[10]   echo "Using rakudo from $rakudo_path:"
[11]   eval "$($rakudo_path/scripts/set-env.sh --quiet)"
[12]   raku --version
[13] fi
[14] 
[15] echo "run raku -I lib $file ..."
[16] 
[17] raku -I lib $file || echo "warn: good_doc failed"
[18] 
[task stdout]
03:30:25 :: 
03:30:25 :: use v6.d;
03:30:25 :: use Gauge;
03:30:25 :: 
03:30:25 :: #|[ Jury-rigged benchmark that keys it/s counts of an evaluated code block. ]
03:30:25 :: sub MAIN(
03:30:25 ::     **@code,
03:30:25 ::     #|[ The number of threads to dedicate to benchmarking. ]
03:30:25 ::     UInt:D :j(:$jobs) = $*KERNEL.cpu-cores.pred,
03:30:25 ::     #|[ The duration in seconds over which timestamps will be aggregated. ]
03:30:25 ::     Real:D :p(:$period) = 1,
03:30:25 ::     #|[ The cooldown in seconds performed between each individual benchmark. ]
03:30:25 ::     Real:D :c(:$cooldown) = (try 2 / 3 * $jobs * $period) // (2 / 3 * $*KERNEL.cpu-cores.pred),
03:30:25 ::     #|[ Whether or not ANSI 24-bit SGR escape sequences should be suppressed.
03:30:25 ::         These highlight blocks of it/s counts opening with any new maximum. ]
03:30:25 ::     Bool:D :m(:$mono) = False,
03:30:25 :: --> Nil) {
03:30:25 ::     use MONKEY-SEE-NO-EVAL;
03:30:25 ::     map $mono ?? &mono !! &poly,
03:30:25 ::         Gauge(EVAL Qa[-> { @code.join(' ') }])
03:30:25 ::             .poll($period)
03:30:25 ::             .pledge($jobs)
03:30:25 ::             .throttle($cooldown);
03:30:25 :: }
03:30:25 :: #=[ Benchmark threads are run once an iteration of any existing threads has
03:30:25 ::     been exhausted. This is staggered by the cooldown, and by default, allows
03:30:25 ::     for multiple benchmarks to be taken with a brief overlap of threaded work,
03:30:25 ::     reducing the time needed to collect results while keeping low overhead. ]
03:30:25 :: 
03:30:25 :: sub poly(Int:D $next --> Empty) {
03:30:25 ::     my constant @mark = «\e[48;5;198m \e[48;5;202m \e[48;5;178m \e[48;5;41m \e[48;5;25m \e[48;5;129m»;
03:30:25 ::     state $mark is default(-1);
03:30:25 ::     state $peak is default(-1);
03:30:25 :: 
03:30:25 ::     my $jump := $peak < $next;
03:30:25 ::     $mark += $jump;
03:30:25 ::     $mark %= @mark;
03:30:25 ::     $peak max= $next;
03:30:25 :: 
03:30:25 ::     my $note = @mark[$mark];
03:30:25 ::     $note ~= $jump ?? '⊛' !! '∗';
03:30:25 ::     $note ~= " \e[m";
03:30:25 ::     $note ~= $next;
03:30:25 :: 
03:30:25 ::     put $note
03:30:25 :: }
03:30:25 :: 
03:30:25 :: sub mono(Int:D $next --> Empty) {
03:30:25 ::     state $peak is default(-1);
03:30:25 :: 
03:30:25 ::     my $jump := $peak < $next;
03:30:25 ::     $peak max= $next;
03:30:25 :: 
03:30:25 ::     my $note = $jump ?? '⊛' !! '∗';
03:30:25 ::     $note ~= ' ';
03:30:25 ::     $note ~= $next;
03:30:25 :: 
03:30:25 ::     put $note
03:30:25 :: }
03:30:26 :: run raku -I lib /home/worker/.sparrow6/tmp/1782/code.raku ...
03:30:37 :: ⊛ 21704110