Package evaluation of Pipelines on Julia 1.10.8 (92f03a4775*) started at 2025-02-25T05:16:42.103
################################################################################
# Set-up
#
Installing PkgEval dependencies (TestEnv)...
Set-up completed after 5.49s
################################################################################
# Installation
#
Installing Pipelines...
Resolving package versions...
Updating `~/.julia/environments/v1.10/Project.toml`
[ef544631] + Pipelines v0.11.1
Updating `~/.julia/environments/v1.10/Manifest.toml`
[34da2185] + Compat v4.16.0
[48062228] + FilePathsBase v0.9.23
[bac558e1] + OrderedCollections v1.8.0
[ef544631] + Pipelines v0.11.1
[189a3867] + Reexport v1.2.2
[2a0f44e3] + Base64
[ade2ca70] + Dates
[b77e0a4c] + InteractiveUtils
[56ddb016] + Logging
[d6f4376e] + Markdown
[de0858da] + Printf
[9a3f8284] + Random
[ea8e919c] + SHA v0.7.0
[9e88b42a] + Serialization
[fa267f1f] + TOML v1.0.3
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Installation completed after 5.23s
################################################################################
# Precompilation
#
Precompiling PkgEval dependencies...
Precompiling package dependencies...
Precompilation completed after 13.42s
################################################################################
# Testing
#
Testing Pipelines
Status `/tmp/jl_pDfCRu/Project.toml`
[48062228] FilePathsBase v0.9.23
[bac558e1] OrderedCollections v1.8.0
[ef544631] Pipelines v0.11.1
[189a3867] Reexport v1.2.2
[ade2ca70] Dates
[56ddb016] Logging
[de0858da] Printf
[8dfed614] Test
[cf7118a7] UUIDs
Status `/tmp/jl_pDfCRu/Manifest.toml`
[34da2185] Compat v4.16.0
[48062228] FilePathsBase v0.9.23
[bac558e1] OrderedCollections v1.8.0
[ef544631] Pipelines v0.11.1
[189a3867] Reexport v1.2.2
[2a0f44e3] Base64
[ade2ca70] Dates
[b77e0a4c] InteractiveUtils
[56ddb016] Logging
[d6f4376e] Markdown
[de0858da] Printf
[9a3f8284] Random
[ea8e919c] SHA v0.7.0
[9e88b42a] Serialization
[fa267f1f] TOML v1.0.3
[8dfed614] Test
[cf7118a7] UUIDs
[4ec0a83e] Unicode
Testing Running tests...
0-element Vector{Arg}.
CmdDependency:
exec → `/opt/julia/bin/julia -C native -J/opt/julia/lib/julia/sys.so --depwarn=yes --check-bounds=yes -g1 --startup-file=no --pkgimages=no`
test_args → `--version`
validate_success → true
validate_stdout → #1
validate_stderr → do_nothing
exit_when_fail → true
CmdProgram:
name → Command Program
id_file → id_file
info_before → auto
info_after → auto
cmd_dependencies → `/opt/julia/bin/julia -C native -J/opt/julia/lib/julia/sys.so --depwarn=yes --check-bounds=yes -g1 --startup-file=no --pkgimages=no`
arg_inputs → input :: Any (required)
input2 :: Int64 (required)
optional_arg :: Any (default = 5)
optional_arg2 :: Number (default = 0.5)
validate_inputs → do_nothing
prerequisites → do_nothing
cmd → `echo input input2 optional_arg optional_arg2 output`
infer_outputs → do_nothing
arg_outputs → output :: Any (default = .output)
validate_outputs → do_nothing
wrap_up → do_nothing
arg_forward →
┌ Info: 2025-02-25 05:17:28 Started: Command Program
│ command_template = `echo input input2 optional_arg optional_arg2 output`
│ run_id = UUID("d73fdd2c-5c42-5aec-b1f5-bce033712730")
│ inputs = Dict{String, Any} with 4 entries: …
└ outputs = Dict{String, Any} with 1 entry: …
in1 2 5 0.5 out
┌ Info: 2025-02-25 05:17:31 Finished: Command Program
│ command_running = `echo in1 2 5 0.5 out`
│ run_id = UUID("d73fdd2c-5c42-5aec-b1f5-bce033712730")
│ inputs = Dict{String, Any} with 4 entries: …
└ outputs = Dict{String, Any} with 1 entry: …
in1 2 5 0.5 out
┌ Warning: A stack trace will show:
└ @ Main ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:96
ArgumentError: Program requires 'optional_arg', but it is not provided.
Stacktrace:
[1] arg_completion(args::Vector{Arg}, xxputs::Dict{String, Any})
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:147
[2] xxputs_completion_and_check(p::CmdProgram, inputs::Dict{String, Any}, outputs::Dict{String, Any})
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:223
[3] _run(p::CmdProgram; inputs::Dict{String, Any}, outputs::Dict{String, Any}, skip_when_done::Bool, check_dependencies::Bool, verbose::Bool, touch_run_id_file::Bool, dry_run::Bool, dir::String, _do_xxputs_completion_and_check::Bool)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/CmdProgram.jl:189
[4] (::Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{inputs::Dict{String, Any}, skip_when_done::Bool, verbose::Bool, touch_run_id_file::Bool}, CmdProgram})()
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:302
[5] try_function(f::Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{inputs::Dict{String, Any}, skip_when_done::Bool, verbose::Bool, touch_run_id_file::Bool}, CmdProgram}, ::Nothing)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:151
[6] #redirect_to_files#7
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:223 [inlined]
[7] redirect_to_files
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:200 [inlined]
[8] run(p::CmdProgram; dir::String, retry::Int64, stdout::Nothing, stderr::Nothing, stdlog::Nothing, append::Bool, _do_parse_program_args::Bool, kwarg::@Kwargs{inputs::Dict{String, Any}, skip_when_done::Bool, verbose::Bool, touch_run_id_file::Bool})
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:297
[9] run
@ ~/.julia/packages/Pipelines/CkayS/src/Program.jl:272 [inlined]
[10] #run#33
@ ~/.julia/packages/Pipelines/CkayS/src/Program.jl:252 [inlined]
[11] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined]
[12] macro expansion
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:97 [inlined]
[13] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[14] top-level scope
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:9
[15] include(fname::String)
@ Base.MainInclude ./client.jl:494
[16] top-level scope
@ none:6
[17] eval
@ ./boot.jl:385 [inlined]
[18] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:296
[19] _start()
@ Base ./client.jl:557
┌ Info: 2025-02-25 05:17:38 Started: Julia Program
│ run_id = UUID("3fbac19c-88ef-594a-91a0-b2b0f1fe899d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 2
│ "a" => `in1`
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => "out"
inputs are `in1` and 2
You can also use info in outputs: out
The returned value will be assigned to a new outputs
┌ Info: 2025-02-25 05:17:39 Finished: Julia Program
│ run_id = UUID("3fbac19c-88ef-594a-91a0-b2b0f1fe899d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 2
│ "a" => `in1`
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => 4
┌ Info: 2025-02-25 05:17:39 Started: Julia Program
│ run_id = UUID("68f72372-20dd-581a-827b-0be5661a4d8d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 2
│ "a" => `in1`
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => "in1.2"
inputs are `in1` and 2
You can also use info in outputs: in1.2
The returned value will be assigned to a new outputs
┌ Info: 2025-02-25 05:17:39 Finished: Julia Program
│ run_id = UUID("68f72372-20dd-581a-827b-0be5661a4d8d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 2
│ "a" => `in1`
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => 4
┌ Info: 2025-02-25 05:17:40 Started: Julia Program
│ run_id = UUID("a0e80efd-935f-559d-8d8d-d1ec4799ad6d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 5
│ "a" => 10.6
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => "10.6.5"
┌ Info: 2025-02-25 05:17:40 Finished: Julia Program
│ run_id = UUID("a0e80efd-935f-559d-8d8d-d1ec4799ad6d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 5
│ "a" => 10.6
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => 25
┌ Info: 2025-02-25 05:17:40 Started: Julia Program
│ run_id = UUID("a0e80efd-935f-559d-8d8d-d1ec4799ad6d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 5
│ "a" => 10.6
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => "10.6.5"
┌ Info: 2025-02-25 05:17:40 Finished: Julia Program
│ run_id = UUID("a0e80efd-935f-559d-8d8d-d1ec4799ad6d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 5
│ "a" => 10.6
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => 25
┌ Info: 2025-02-25 05:17:41 Started: Julia Program
│ run_id = UUID("fd62179c-557b-5aff-b93e-de4b378eca8e")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 2
│ "a" => 10.6
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => "10.6.2"
┌ Info: 2025-02-25 05:17:41 Finished: Julia Program
│ run_id = UUID("fd62179c-557b-5aff-b93e-de4b378eca8e")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 2
│ "a" => 10.6
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => 4
┌ Info: 2025-02-25 05:17:41 Started: Julia Program
│ run_id = UUID("116c3e13-a295-55d5-b45b-a1cd7204ed29")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 5
│ "a" => 8.0
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => "8.0.5"
┌ Info: 2025-02-25 05:17:41 Finished: Julia Program
│ run_id = UUID("116c3e13-a295-55d5-b45b-a1cd7204ed29")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 5
│ "a" => 8.0
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => 25
stderr> 5
stdout> 6.6
stdout> 6.6
IOError: could not spawn `julia -e '@info "this is stderr"'`: no such file or directory (ENOENT)
Stacktrace:
[1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Union{RawFD, IO}})
@ Base ./process.jl:128
[2] _spawn(cmd::Cmd, stdios::Vector{Union{RawFD, IO}}, chain::Base.ProcessChain)
@ Base ./process.jl:208
[3] _spawn(cmds::Base.AndCmds, stdios::Vector{Union{RawFD, IO}}, chain::Base.ProcessChain)
@ Base ./process.jl:202
[4] #786
@ ./process.jl:147 [inlined]
[5] setup_stdios(f::Base.var"#786#787"{Base.AndCmds}, stdios::Vector{Union{RawFD, IO}})
@ Base ./process.jl:223
[6] _spawn
@ ./process.jl:146 [inlined]
[7] run(::Base.AndCmds; wait::Bool)
@ Base ./process.jl:479
[8] run(::Base.AndCmds)
@ Base ./process.jl:477
[9] _run(p::CmdProgram; inputs::Dict{String, Any}, outputs::Dict{String, Any}, skip_when_done::Bool, check_dependencies::Bool, verbose::Bool, touch_run_id_file::Bool, dry_run::Bool, dir::String, _do_xxputs_completion_and_check::Bool)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/CmdProgram.jl:264
[10] (::Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{touch_run_id_file::Bool}, CmdProgram})()
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:302
[11] (::Main.Pipelines.var"#5#6"{Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{touch_run_id_file::Bool}, CmdProgram}, IOStream})()
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:141
[12] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[13] with_logger
@ ./logging.jl:627 [inlined]
[14] try_function
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:139 [inlined]
[15] redirect_to_files(f::Function, outfile::IOStream, errfile::String, logfile::String; mode::String)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:223
[16] redirect_to_files
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:200 [inlined]
[17] run(p::CmdProgram; dir::String, retry::Int64, stdout::IOStream, stderr::String, stdlog::String, append::Bool, _do_parse_program_args::Bool, kwarg::@Kwargs{touch_run_id_file::Bool})
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:297
[18] macro expansion
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:288 [inlined]
[19] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined]
[20] macro expansion
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:288 [inlined]
[21] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[22] top-level scope
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:9
[23] include(fname::String)
@ Base.MainInclude ./client.jl:494
[24] top-level scope
@ none:6
[25] eval
@ ./boot.jl:385 [inlined]
[26] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:296
[27] _start()
@ Base ./client.jl:557
test set: Error During Test at /home/pkgeval/.julia/packages/Pipelines/CkayS/test/runtests.jl:288
Test threw exception
Expression: (run(p, touch_run_id_file = false, stdout = out_io, stderr = "err.txt", stdlog = "log.txt"))[1]
MethodError: no method matching getindex(::Main.Pipelines.StackTraceVector, ::Int64)
Stacktrace:
[1] macro expansion
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:288 [inlined]
[2] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined]
[3] macro expansion
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:288 [inlined]
[4] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[5] top-level scope
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:9
test set: Test Failed at /home/pkgeval/.julia/packages/Pipelines/CkayS/test/runtests.jl:293
Expression: read("err.txt", String) == "[ Info: this is stderr\n"
Evaluated: "" == "[ Info: this is stderr\n"
Stacktrace:
[1] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined]
[2] macro expansion
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:293 [inlined]
[3] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[4] top-level scope
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:9
┌ Warning: A ProgramRunningError should show below
└ @ Main ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:304
[ Info: 2025-02-25 05:17:52 Started: Command Program [5bfa9ca1-6585-4a4e-80c9-2736b08b23a6]
┌ Error: 2025-02-25 05:17:52 ProgramRunningError: Command Program: fail to run the main command.
│ prerequisites = do_nothing (generic function with 3 methods)
│ command_running = `julia --abcdefg`
│ run_id = UUID("5bfa9ca1-6585-4a4e-80c9-2736b08b23a6")
│ inputs = Dict{String, Any}()
└ outputs = Dict{String, Any}()
IOError: could not spawn `julia --abcdefg`: no such file or directory (ENOENT)
Stacktrace:
[1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Union{RawFD, IO}})
@ Base ./process.jl:128
[2] #784
@ ./process.jl:139 [inlined]
[3] setup_stdios(f::Base.var"#784#785"{Cmd}, stdios::Vector{Union{RawFD, IO}})
@ Base ./process.jl:223
[4] _spawn
@ ./process.jl:138 [inlined]
[5] run(::Cmd; wait::Bool)
@ Base ./process.jl:479
[6] run(::Cmd)
@ Base ./process.jl:477
[7] _run(p::CmdProgram; inputs::Dict{String, Any}, outputs::Dict{String, Any}, skip_when_done::Bool, check_dependencies::Bool, verbose::Symbol, touch_run_id_file::Bool, dry_run::Bool, dir::String, _do_xxputs_completion_and_check::Bool)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/CmdProgram.jl:264
[8] (::Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{verbose::Symbol}, CmdProgram})()
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:302
[9] try_function(f::Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{verbose::Symbol}, CmdProgram}, ::Nothing)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:151
[10] #redirect_to_files#7
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:223 [inlined]
[11] redirect_to_files
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:200 [inlined]
[12] run(p::CmdProgram; dir::String, retry::Int64, stdout::Nothing, stderr::Nothing, stdlog::Nothing, append::Bool, _do_parse_program_args::Bool, kwarg::@Kwargs{verbose::Symbol})
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:297
[13] macro expansion
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:305 [inlined]
[14] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[15] top-level scope
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:9
[16] include(fname::String)
@ Base.MainInclude ./client.jl:494
[17] top-level scope
@ none:6
[18] eval
@ ./boot.jl:385 [inlined]
[19] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:296
[20] _start()
@ Base ./client.jl:557
┌ Warning: Retry Command Program (1/1)
└ @ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:299
[ Info: 2025-02-25 05:17:52 Started: Command Program [5bfa9ca1-6585-4a4e-80c9-2736b08b23a6]
┌ Error: 2025-02-25 05:17:52 ProgramRunningError: Command Program: fail to run the main command.
│ prerequisites = do_nothing (generic function with 3 methods)
│ command_running = `julia --abcdefg`
│ run_id = UUID("5bfa9ca1-6585-4a4e-80c9-2736b08b23a6")
│ inputs = Dict{String, Any}()
└ outputs = Dict{String, Any}()
IOError: could not spawn `julia --abcdefg`: no such file or directory (ENOENT)
Stacktrace:
[1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Union{RawFD, IO}})
@ Base ./process.jl:128
[2] #784
@ ./process.jl:139 [inlined]
[3] setup_stdios(f::Base.var"#784#785"{Cmd}, stdios::Vector{Union{RawFD, IO}})
@ Base ./process.jl:223
[4] _spawn
@ ./process.jl:138 [inlined]
[5] run(::Cmd; wait::Bool)
@ Base ./process.jl:479
[6] run(::Cmd)
@ Base ./process.jl:477
[7] _run(p::CmdProgram; inputs::Dict{String, Any}, outputs::Dict{String, Any}, skip_when_done::Bool, check_dependencies::Bool, verbose::Symbol, touch_run_id_file::Bool, dry_run::Bool, dir::String, _do_xxputs_completion_and_check::Bool)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/CmdProgram.jl:264
[8] (::Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{verbose::Symbol}, CmdProgram})()
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:302
[9] try_function(f::Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{verbose::Symbol}, CmdProgram}, ::Nothing)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:151
[10] #redirect_to_files#7
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:223 [inlined]
[11] redirect_to_files
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:200 [inlined]
[12] run(p::CmdProgram; dir::String, retry::Int64, stdout::Nothing, stderr::Nothing, stdlog::Nothing, append::Bool, _do_parse_program_args::Bool, kwarg::@Kwargs{verbose::Symbol})
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:297
[13] macro expansion
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:305 [inlined]
[14] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[15] top-level scope
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:9
[16] include(fname::String)
@ Base.MainInclude ./client.jl:494
[17] top-level scope
@ none:6
[18] eval
@ ./boot.jl:385 [inlined]
[19] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:296
[20] _start()
@ Base ./client.jl:557
┌ Warning: A ProgramRunningError should show below
└ @ Main ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:308
[ Info: 2025-02-25 05:17:54 Started: Julia Program [5bfa9ca1-6585-4a4e-80c9-2736b08b23a6]
┌ Error: 2025-02-25 05:17:54 ProgramRunningError: Julia Program: fail to run the main function.
│ run_id = UUID("5bfa9ca1-6585-4a4e-80c9-2736b08b23a6")
│ inputs = Dict{String, Any}()
└ outputs = Dict{String, Any}()
x not exist, so created
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] (::var"#15#30")(x::Dict{String, Any}, y::Dict{String, Any})
@ Main ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:314
[3] _run(p::JuliaProgram; inputs::Dict{String, Any}, outputs::Dict{String, Any}, skip_when_done::Bool, check_dependencies::Bool, verbose::Symbol, touch_run_id_file::Bool, dry_run::Bool, dir::String, _do_xxputs_completion_and_check::Bool)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/JuliaProgram.jl:264
[4] (::Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{verbose::Symbol}, JuliaProgram})()
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:302
[5] try_function(f::Main.Pipelines.var"#35#36"{Int64, Bool, @Kwargs{verbose::Symbol}, JuliaProgram}, ::Nothing)
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:151
[6] #redirect_to_files#7
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:223 [inlined]
[7] redirect_to_files
@ ~/.julia/packages/Pipelines/CkayS/src/redirection.jl:200 [inlined]
[8] run(p::JuliaProgram; dir::String, retry::Int64, stdout::Nothing, stderr::Nothing, stdlog::Nothing, append::Bool, _do_parse_program_args::Bool, kwarg::@Kwargs{verbose::Symbol})
@ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:297
[9] macro expansion
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:320 [inlined]
[10] macro expansion
@ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[11] top-level scope
@ ~/.julia/packages/Pipelines/CkayS/test/runtests.jl:9
[12] include(fname::String)
@ Base.MainInclude ./client.jl:494
[13] top-level scope
@ none:6
[14] eval
@ ./boot.jl:385 [inlined]
[15] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:296
[16] _start()
@ Base ./client.jl:557
┌ Warning: Retry Julia Program (1/1)
└ @ Main.Pipelines ~/.julia/packages/Pipelines/CkayS/src/Program.jl:299
[ Info: 2025-02-25 05:17:54 Started: Julia Program [5bfa9ca1-6585-4a4e-80c9-2736b08b23a6]
[ Info: 2025-02-25 05:17:55 Finished: Julia Program [5bfa9ca1-6585-4a4e-80c9-2736b08b23a6]
[ Info: 2025-02-25 05:17:56 Started: Echo [a141cf0b-cc4e-57fc-b7ed-ba6dee9f0683]
x = Dict{String, Any}("optional_arg" => 5, "optional_arg2" => 0.5, "input2" => 33, "input1" => :xxx)
y = Dict{String, Any}("output" => "iout")
[ Info: 2025-02-25 05:17:56 Finished: Echo [a141cf0b-cc4e-57fc-b7ed-ba6dee9f0683]
[ Info: 2025-02-25 05:17:56 Started: Echo [a141cf0b-cc4e-57fc-b7ed-ba6dee9f0683]
x = Dict{String, Any}("optional_arg" => 5, "optional_arg2" => 0.5, "input2" => 33, "input1" => :xxx)
y = Dict{String, Any}("output" => "iout")
[ Info: 2025-02-25 05:17:56 Finished: Echo [a141cf0b-cc4e-57fc-b7ed-ba6dee9f0683]
┌ Info: 2025-02-25 05:17:57 Started: Command Program
│ command_template = `echo input input2 optional_arg optional_arg2 output`
│ run_id = UUID("d73fdd2c-5c42-5aec-b1f5-bce033712730")
│ inputs = Dict{String, Any} with 4 entries: …
└ outputs = Dict{String, Any} with 1 entry: …
in1 2 5 0.5 out
┌ Info: 2025-02-25 05:17:57 Finished: Command Program
│ command_running = `echo in1 2 5 0.5 out`
│ run_id = UUID("d73fdd2c-5c42-5aec-b1f5-bce033712730")
│ inputs = Dict{String, Any} with 4 entries: …
└ outputs = Dict{String, Any} with 1 entry: …
┌ Info: 2025-02-25 05:17:58 Started: Julia Program
│ run_id = UUID("3fbac19c-88ef-594a-91a0-b2b0f1fe899d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 2
│ "a" => `in1`
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => "out"
inputs are `in1` and 2
You can also use info in outputs: out
The returned value will be assigned to a new outputs
┌ Info: 2025-02-25 05:17:58 Finished: Julia Program
│ run_id = UUID("3fbac19c-88ef-594a-91a0-b2b0f1fe899d")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "b" => 2
│ "a" => `in1`
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "c" => 4
┌ Info: 2025-02-25 05:17:59 Started: Julia Program
│ run_id = UUID("4166314e-1eae-5081-b0f4-865c857000ff")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "B" => 5
│ "A" => 3
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "OUT" => 8
inputs["A"] = 3
inputs = Dict{String, Any}("B" => 5, "A" => 3)
inputs["A"] = 3
inputs["B"] = 5
inputs["OUT"] = 8
┌ Info: 2025-02-25 05:17:59 Finished: Julia Program
│ run_id = UUID("4166314e-1eae-5081-b0f4-865c857000ff")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "B" => 5
│ "A" => 3
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "OUT" => 8
┌ Info: 2025-02-25 05:18:00 Started: Test v0.9 Rerun
│ run_id = UUID("2177ddd3-1b88-5693-997a-afd6b404e58c")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "add" => 3
│ "infile" => "in.txt"
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "outfile" => "in.txt.out"
┌ Info: 2025-02-25 05:18:00 Finished: Test v0.9 Rerun
│ run_id = UUID("2177ddd3-1b88-5693-997a-afd6b404e58c")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "add" => 3
│ "infile" => "in.txt"
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "outfile" => "in.txt.out"
┌ Info: 2025-02-25 05:18:00 Started: Test v0.9 Rerun
│ run_id = UUID("b1f38872-73a6-53d4-8cf1-700e4a15d8b0")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "add" => 5
│ "infile" => "in.txt"
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "outfile" => "in.txt.out"
┌ Info: 2025-02-25 05:18:00 Finished: Test v0.9 Rerun
│ run_id = UUID("b1f38872-73a6-53d4-8cf1-700e4a15d8b0")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "add" => 5
│ "infile" => "in.txt"
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "outfile" => "in.txt.out"
┌ Info: 2025-02-25 05:18:00 Started: Test v0.9 Rerun
│ run_id = UUID("2177ddd3-1b88-5693-997a-afd6b404e58c")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "add" => 3
│ "infile" => "in.txt"
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "outfile" => "in.txt.out"
┌ Info: 2025-02-25 05:18:00 Finished: Test v0.9 Rerun
│ run_id = UUID("2177ddd3-1b88-5693-997a-afd6b404e58c")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "add" => 3
│ "infile" => "in.txt"
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "outfile" => "in.txt.out"
┌ Info: 2025-02-25 05:18:00 Started: Test v0.9 Rerun
│ run_id = UUID("2177ddd3-1b88-5693-997a-afd6b404e58c")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "add" => 3
│ "infile" => "in.txt"
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "outfile" => "in.txt.out"
┌ Info: 2025-02-25 05:18:00 Finished: Test v0.9 Rerun
│ run_id = UUID("2177ddd3-1b88-5693-997a-afd6b404e58c")
│ inputs =
│ Dict{String, Any} with 2 entries:
│ "add" => 3
│ "infile" => "in.txt"
│ outputs =
│ Dict{String, Any} with 1 entry:
└ "outfile" => "in.txt.out"
abc = 2
def = 33
┌ Info: 2025-02-25 05:18:01 Started: Program Cmd
│ run_id = UUID("b6313cce-f3d9-50da-b53b-73e0886ee433")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => `echo 123 456`
└ outputs = Dict{String, Any}()
123 456
┌ Info: 2025-02-25 05:18:01 Finished: Program Cmd
│ run_id = UUID("b6313cce-f3d9-50da-b53b-73e0886ee433")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => `echo 123 456`
└ outputs = Dict{String, Any}()
┌ Info: 2025-02-25 05:18:02 Started: Program Cmd
│ run_id = UUID("9d44a59a-15fc-5707-b773-9c3c464d74d1")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => pipeline(`echo 123 456`, stdout>FileRedirect("123456.txt", fals…
└ outputs = Dict{String, Any}()
┌ Info: 2025-02-25 05:18:02 Finished: Program Cmd
│ run_id = UUID("9d44a59a-15fc-5707-b773-9c3c464d74d1")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => pipeline(`echo 123 456`, stdout>FileRedirect("123456.txt", fals…
└ outputs = Dict{String, Any}()
┌ Info: 2025-02-25 05:18:02 Started: Program Cmd
│ run_id = UUID("ccb87820-0bb1-5d02-8488-3b167b421716")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => `echo 123456.txt`
└ outputs = Dict{String, Any}()
123456.txt
┌ Info: 2025-02-25 05:18:02 Finished: Program Cmd
│ run_id = UUID("ccb87820-0bb1-5d02-8488-3b167b421716")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => `echo 123456.txt`
└ outputs = Dict{String, Any}()
┌ Info: 2025-02-25 05:18:02 Started: Program Cmd
│ run_id = UUID("f8c3a5f8-4fcc-5ae5-a0ad-18944229c09a")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => `echo -J=123456.txt,123.txt`
└ outputs = Dict{String, Any}()
-J=123456.txt,123.txt
┌ Info: 2025-02-25 05:18:03 Finished: Program Cmd
│ run_id = UUID("f8c3a5f8-4fcc-5ae5-a0ad-18944229c09a")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => `echo -J=123456.txt,123.txt`
└ outputs = Dict{String, Any}()
┌ Info: 2025-02-25 05:18:03 Started: Program Cmd
│ run_id = UUID("88682a3e-7c8e-508d-afe8-a43515a318a5")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => `echo 123456.txt,123.txt`
└ outputs = Dict{String, Any}()
123456.txt,123.txt
┌ Info: 2025-02-25 05:18:03 Finished: Program Cmd
│ run_id = UUID("88682a3e-7c8e-508d-afe8-a43515a318a5")
│ inputs =
│ Dict{String, Any} with 1 entry:
│ "CMD" => `echo 123456.txt,123.txt`
└ outputs = Dict{String, Any}()
123456.txt,123.txt
Test Summary: | Pass Fail Error Total Time
test set | 73 1 1 75 48.8s
Arg | 20 20 3.2s
Arg forward | 4 4 1.9s
v0.8 | 7 7 4.0s
v0.9 rerun | 5 5 0.8s
v0.9 quote function dictreplace! | None 0.1s
v0.9.3 Possible files in Cmd also write to run_id_file | 10 10 2.7s
ERROR: LoadError: Some tests did not pass: 73 passed, 1 failed, 1 errored, 0 broken.
in expression starting at /home/pkgeval/.julia/packages/Pipelines/CkayS/test/runtests.jl:7
Testing failed after 56.74s
ERROR: LoadError: Package Pipelines errored during testing
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
[2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
@ Pkg.Operations /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:2034
[3] test
@ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1915 [inlined]
[4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::Base.PipeEndpoint})
@ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444
[5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::@Kwargs{julia_args::Cmd})
@ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
[6] test
@ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
[7] #test#74
@ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
[8] top-level scope
@ /PkgEval.jl/scripts/evaluate.jl:219
in expression starting at /PkgEval.jl/scripts/evaluate.jl:210
PkgEval failed after 86.92s: package tests unexpectedly errored