Deadlinecommand SubmitMultipleJobsV2 Error

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!

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