Getting an error trying the SubmitMultipleJobsV2 subcommand
deadlinecommand -SubmitMultipleJobsV2 /tmp/test.json
Output:
Error: File was not found.
Am I doing something wrong?
The file definitely exists. And all of the internal paths exist.
> cat /tmp/test.json
{
"Jobs": [
{
"JobInfoFilePath": "/tmp/job-info.txt",
"PluginInfoFilePath": "/tmp/plugin-info.txt",
"AuxiliaryFiles": [
"/tmp/data.yml"
]
}
]
}
Hello
Thanks for reaching out. Can you check that the user which is running deadlinecommand
has access to /tmp/test.json?
Pleas also share the whole error message here.
If this is Linux try using the command like:
./deadlinecommand -SubmitMultipleJobsV2 /tmp/test.json
Hi Zain,
Hereās the full terminal output:
bash-4.4$ cat /tmp/test.json
{
"Jobs": [
{
"JobInfoFilePath": "/tmp/job-info.txt",
"PluginInfoFilePath": "/tmp/plugin-info.txt",
"AuxiliaryFiles": [
"/tmp/data.yml"
]
}
]
}
bash-4.4$ ./deadlinecommand -version
v10.2.1.0 Release (b4f15d06d)
bash-4.4$ ./deadlinecommand -SubmitMultipleJobsV2 /tmp/test.json
Error: File was not found.
bash-4.4$
Hi!
Is there any news on that subject?
We are going into the same issue:
json looks fine, like this one
files exist at paths
Every try we get āfile was not foundā
Cheers
Still not working for us, unfortunately.
You shouldnāt need to, but if you give the command the input flags explicitly does it behave for you?
deadlinecommand -SubmitMultipleJobsV2 -jsonfilepath /path/to/submit.json -auxFileChunkSizeInMiB 10
2 Likes
Oh snap, that worked! Thanks, Justin!
1 Like
Get it to āworkā too for a simple script! Thanks!
Now i get another error: āError while copying content to a streamā when trying with some other files, despite the increase of auxFileChunkSize, but itās another topic!
JakeS
November 7, 2023, 10:59pm
#9
Iām also having some trouble getting dependencies to work correctly with -SubmitMultipleJobsV2.
If I use the following command:
/opt/Thinkbox/Deadline10/bin/deadlinecommand -SubmitMultipleJobsV2 -jsonfilepath /tmp/alljobs.json
alljobs.json looks like this:
{
"Jobs": [
{
"JobInfoFilePath": "/tmp/job_submit_info.job",
"PluginInfoFilePath": "/tmp/job_plugin_info.job",
"JobDependencies": [
"jobid://654ab2f29f4d518455fd2f1c"
],
"AuxiliaryFiles": [
"/blah/blahblah/blrtestwrite.nk"
]
}
]
}
I get:
Error: POST https://blahblah-rcsd1:4434/rcs/v1/submissions/sub-654ac0019f4d518455fd2f7c returned BadRequest ā{āmessageā:āSubmission dependency 654ab2f29f4d518455fd2f1c does not start with index:// or jobid://.ā,ācodeā:āvalidationā}ā
Iāve tried using ājobId://654ab2f29f4d518455fd2f1cā
āJobId://654ab2f29f4d518455fd2f1cā
Iām using repo 10.2.1.1.
Is this maybe fixed in a later version?
Thanks,
-Jake