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

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

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2582
Status: FAIL
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 12.01.2023 @ 22:23
Time elapsed: 66 sec
---
SCM: https://github.com/melezhik/kris.git
Git sha: cba69ce
Git comment: MessagE
tasks:
  -
    name: main
    language: Raku
    default: true
    code: |
      say "Hello Kris! You say [{config()<message>]";
      update_state %( MessagE => "///{config()<message>}///" );
    generator:
      language: Raku
      code: |
        update_state %(
          list => [
              %(
                config =>  { message => "How" },
              ),
              %(
                config => { message => "are you?" },
              ),            
          ]
        );
    followup:
      -
        name: dump
  -
    name: dump
    language: Raku
    config:
      foo: bar
    code: |
      say config()<foo>;
      say config()<tasks>.perl;
      say config()<parent>.perl;
22:23:11 :: [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
22:23:14 :: [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]
22:23:16 :: tar -xzf source.tar.gz 
[task run: task.raku - tasks/main]
[dump code: task.raku]
[1] say "Hello Kris! You say [{config()<message>]";
[2] update_state %( MessagE => "///{config()<message>}///" );
[3] 
[task stdout]
[task stderr]
22:23:18 :: ===SORRY!=== Error while compiling /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku
22:23:18 :: Missing block
22:23:18 :: at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku:1
22:23:18 :: ------> "Hello Kris! You say [{config()<message>⏏]";
22:23:18 ::     expecting any of:
22:23:18 ::         statement end
22:23:18 ::         statement modifier
22:23:18 ::         statement modifier loop
22:23:18 :: task exit status: 1
22:23:18 :: 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/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