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: 2586
Status: FAIL
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 13.01.2023 @ 17:16
Time elapsed: 112 sec
---
SCM: https://github.com/melezhik/kris.git
Git sha: 9b3e20e
Git comment: set default task
tasks:
  -
    name: main
    language: Raku
    default: true
    code: |
      say config().perl;
    depends:
      -
        name: task1
  -
    name: task1
    language: Raku
    code: |
      say "Hello Kris! You say [{config()<message>}]";
      update_state %( MessagE => [config()<message>}]" );
    hub:
      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()<parent>.perl;
17:16:06 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.raku - tasks/task1]
[dump code: task.raku]
[1] say "Hello Kris! You say [{config()<message>}]";
[2] update_state %( MessagE => [config()<message>}]" );
[3] 
[task stdout]
[task stderr]
17:16:11 :: ===SORRY!=== Error while compiling /var/.sparrowdo/env/main/.sparrowdo/tasks/task1/task.raku
17:16:11 :: Unable to parse expression in array composer; couldn't find final ']' (corresponding starter was at line 2)
17:16:11 :: at /var/.sparrowdo/env/main/.sparrowdo/tasks/task1/task.raku:2
17:16:11 :: ------> e_state %( MessagE => [config()<message>⏏}]" );
17:16:11 ::     expecting any of:
17:16:11 ::         statement end
17:16:11 ::         statement modifier
17:16:11 ::         statement modifier loop
17:16:11 :: task exit status: 1
17:16:11 :: task tasks/task1 FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/task1/.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

17:15:25 :: [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
17:15:28 :: [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]
17:15:31 :: tar -xzf source.tar.gz 
some depends jobs failed or timeouted: ${:FAIL(1), :OK(0), :TIMEOUT(0)}
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