DSCI Report: dsci@7d009f8.1789134247


13:44:24 :: [repository] - index updated from http://sparrowhub.io/repo/api/v1/index
run stage: main
[task run: task.bash - create directory scm]
[task stdout]
13:44:25 :: directory path: scm
13:44:25 :: directory owner: <ubuntu>
13:44:25 :: directory group: <ubuntu>
13:44:25 :: directory access rights: drwxr-xr-x
scm: http://localhost:8080/test.git
sha: 7d009f8
message: Data by dsci@sparrowhub.io - manual run
container runtime: podman
raku version
Raku++ (rakupp) 3.25.0 — a Raku interpreter and compiler in C++
Implements Raku 6.d, and 6.e under `use v6.e.PREVIEW`.
Build  v3.25.0 (2026-09-03), x86_64-linux, clang 18.1.3
Home   https://raku.online — docs, a tour of the language, and a browser playground
sparrow version
0.0.94
runner version: 0.1.1
=======
[task run: task.bash - bash: git config --global advice.detachedHead false]
[task stdout]
[task run: task.bash - bash: git clone http://localhost:8080/test.git .]
[task stdout]
13:44:25 :: /home/ubuntu/.dsci/.sparky/.cache/7d009f8.1789134247/.sparrowdo/scm
[task stderr]
13:44:25 :: Cloning into '.'...
[task run: task.bash - bash: git checkout 7d009f8]
[task stdout]
13:44:26 :: /home/ubuntu/.dsci/.sparky/.cache/7d009f8.1789134247/.sparrowdo/scm
[task stderr]
13:44:26 :: HEAD is now at 7d009f8 Data
pipeline mode: docker
[task run: task.bash - bash: podman stop -t 1 dsci-agent || :]
[task stdout]
13:44:27 :: dsci-agent
[task stderr]
13:44:27 :: time="2026-09-11T13:44:27Z" level=warning msg="StopSignal SIGTERM failed to stop container dsci-agent in 1 seconds, resorting to SIGKILL"
[task run: task.bash - bash: podman rm dsci-agent || :]
[task stdout]
[task stderr]
13:44:27 :: Error: no container with ID or name "dsci-agent" found: no such container
run dsci agent container from image: melezhik/dsci-agent-rakupp
podman run --network host  -dit --rm --name dsci-agent --entrypoint /bin/sh melezhik/dsci-agent-rakupp
[task run: task.bash - bash: podman run --network host  -dit --rm --name dsci-a ...]
[task stdout]
13:44:28 :: 620492957e7bebc0156f5bc4920ea149b15747e42430c7769f261e53f5261ece
[task stderr]
13:44:28 :: time="2026-09-11T13:44:28Z" level=warning msg="The input device is not a TTY. The --tty and --interactive flags might not work properly"
>>> POST http://127.0.0.1:8181/stash
>>> POST http://127.0.0.1:8181/queue
>>> wait for jobs, timeout: 600 sec
>>> GET http://127.0.0.1:8181/stash/job.run/bhvtjwynkpfzcqgaoeix.3296099
job test ... [OK]
...
>>> GET job report, status=200
13:44:36 :: [repository] - index updated from http://sparrowhub.io/repo/api/v1/index
run stage: job-run
raku version
Raku++ (rakupp) 3.26.0 }i{ a Raku interpreter and compiler in C++
Raku    6.d (6.e with `use v6.e.PREVIEW`)
Build   v3.26.0-69-g8583ecfa, 2026-09-11
Target  x86_64-linux, gcc 13.3.0
Home    https://raku.online
sparrow version
0.0.94
runner version: 0.1.1
run job: test
===
>>> GET http://127.0.0.1:8181/stash/job.run/bhvtjwynkpfzcqgaoeix.3296099
13:44:36 :: [repository] - installing directory, version 0.002000
[task run: task.bash - create directory scm]
[task stdout]
13:44:36 :: directory path: scm
13:44:36 :: directory owner: <root>
13:44:36 :: directory group: <root>
13:44:36 :: directory access rights: drwxr-xr-x
13:44:36 :: [repository] - installing bash, version 0.003000
[task run: task.bash - bash: git clone http://localhost:8080/test.git .]
[task stdout]
13:44:37 :: /var/.sparrowdo/env/job.run/.sparrowdo/scm
[task stderr]
13:44:37 :: Cloning into '.'...
[task run: task.bash - bash: git checkout 7d009f8]
[task stdout]
13:44:37 :: /var/.sparrowdo/env/job.run/.sparrowdo/scm
[task stderr]
13:44:37 :: HEAD is now at 7d009f8 Data
[task run: task.bash - bash: prepare dsci scripts]
[task stdout]
>>> GET http://127.0.0.1:8181/stash/job.run/bhvtjwynkpfzcqgaoeix.3296099
task configuration:
===
{
  "_dsci_": {
  },
  "DSCI_COMMIT": "7d009f8",
  "DSCI_SCM": "http://localhost:8080/test.git",
  "DSCI_JOB_ID": "test",
  "DSCI_REF": "refs/heads/master",
  "DSCI_REPO_FULL_NAME": "test",
  "DSCI_MESSAGE": "Data by dsci@sparrowhub.io - manual run"
}
[task run: task.bash - .]
[dump code: task.bash]
[1] set -e 
[2] 
[3] echo "hello DSCI"
[4] 
[5] cat << 'HERE' > test.raku
[6] 
[7] class Check {
[8]   has $.tr;
[9]   
[10]   method validate($i) {
[11]      if $i > 0 {
[12]        say "reach the limit, i=$i"
[13]      } else {
[14]       say "hello from validate i=$i";
[15]       self.tr.task-run($i+1);
[16]      }
[17]   }
[18] }
[19] 
[20] class Foo {
[21]   has @.data is rw;
[22]   
[23]   
[24]   
[25] method task-run($i) {
[26] 
[27]    say "hello from task run i=$i";
[28]    self.run-task($i);
[29]    say "task-run i=$i data: ", self.data;
[30]    self.check($i);
[31]    say "task-run i=$i data after calling method check: ", self.data();
[32] }
[33] 
[34] method run-task($i) {
[35]    say "hello from run-task i=$i, set data to [$i]";
[36]    self.data = ["$i"];
[37]    
[38] }
[39] 
[40] method check($i) {
[41] 
[42]    say "hello from check i=$i";
[43]    my $tc = Check.new(
[44]      tr => self.clone
[45]    );
[46]    
[47]    $tc.validate($i);
[48]    
[49]    
[50] }
[51] 
[52] 
[53] }
[54] 
[55] my $i = Foo.new;
[56] 
[57] $i.task-run(0);
[58] 
[59] 
[60] HERE
[61] 
[62] rakupp test.raku
[task stdout]
13:44:37 :: hello DSCI
13:44:37 :: hello from task run i=0
13:44:37 :: hello from run-task i=0, set data to [0]
13:44:37 :: task-run i=0 data: [0]
13:44:37 :: hello from check i=0
13:44:37 :: hello from validate i=0
13:44:37 :: hello from task run i=1
13:44:37 :: hello from run-task i=1, set data to [1]
13:44:37 :: task-run i=1 data: [1]
13:44:37 :: hello from check i=1
13:44:37 :: reach the limit, i=1
13:44:37 :: task-run i=1 data after calling method check: [1]
13:44:37 :: task-run i=0 data after calling method check: [1]
saving job artifacts ...
>>> POST http://127.0.0.1:8181/stash
---

---