Project

General

Profile

Bug #10445

unhelpful complaint from jobsub_submit

Added by Andrei Gaponenko about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Parag Mhashilkar
Category:
-
Target version:
Start date:
10/09/2015
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

$ which jobsub_submit
/cvmfs/fermilab.opensciencegrid.org/products/common/prd/jobsub_client/v1_1_6/NULL/jobsub_submit

$ jobsub_submit ./myscript.sh
You must supply a job executable. File '' not found. Exiting

I am supplying a non-"" executable file. If it does not like the format
it should say so. Per "jobsub_submit -h"

Usage: jobsub_submit [Client Options] [Server Options] user_script [user_script_args]

how is one supposed to guess that "user_script" should be something else than a file name?

History

#1 Updated by Dennis Box about 4 years ago

Hi Andrei,
I cannot reproduce, my error message mentions file://. Any idea what else is set up in your environment besides jobsub_client which might be affecting this?
Dennis

[dbox@novagpvm01 ~]$ which jobsub_submit
/cvmfs/fermilab.opensciencegrid.org/products/common/prd/jobsub_client/v1_1_6/NULL/jobsub_submit
[dbox@novagpvm01 ~]$ jobsub_submit ./myfile.sh
ERROR: Missing required arguments
REQUIRED arguments are (--group AND file://[your_grid_job_here]). Please direct questions, comments, or problems to the service desk
Usage: jobsub_submit [Client Options] [Server Options] user_script [user_script_args]

Provide --group and --jobsub-server to see full help

Options:
--version show program's version number and exit

Client Options:
-G <Group/Experiment/Subgroup>, --group=<Group/Experiment/Subgroup>
Group/Experiment/Subgroup for priorities and
accounting
--role=<VOMS Role> VOMS Role for priorities and accounting
--dag submit and run a dagNabbit input file
--jobsub-server=<JobSub Server>
Alternate location of JobSub server to use
--dropbox-server=<Dropbox Server>
Alternate location of Dropbox server to use
--debug Print debug messages including server contacted, http
response, response time
-h, --help Show this help message and exit

REQUIRED arguments are (--group AND file://[your_grid_job_here]). Please
direct questions, comments, or problems to the service desk
[dbox@novagpvm01 ~]$

#2 Updated by Dennis Box about 4 years ago

Andrei showed me how to reproduce:

[dbox@mu2egpvm01 ~]$ source /cvmfs/mu2e.opensciencegrid.org/setupmu2e-art.sh
[dbox@mu2egpvm01 ~]$ setup jobsub_client
[dbox@mu2egpvm01 ~]$ jobsub_submit ./myfile.sh
You must supply a job executable. File '' not found. Exiting
[dbox@mu2egpvm01 ~]$

:-/

#3 Updated by Dennis Box about 4 years ago

If JOBSUB_GROUP is set , the error Andrei reported happens. Unsetting JOBSUB_GROUP reverts to the behavior I thought happened. So this is fairly easy to fix.

#4 Updated by Dennis Box about 4 years ago

  • Target version set to v1.1.8

#5 Updated by Parag Mhashilkar about 4 years ago

  • Assignee set to Dennis Box

#6 Updated by Dennis Box about 4 years ago

  • Status changed from New to Feedback
  • Assignee changed from Dennis Box to Parag Mhashilkar

#7 Updated by Dennis Box about 4 years ago

  • Tracker changed from Feature to Bug

#8 Updated by Dennis Box almost 4 years ago

  • Status changed from Feedback to Closed


Also available in: Atom PDF