I am currently setting up a PBS system to work with Galaxy.
When submitting a job I see the following through the galaxy debug screen and eventually returning with an error stated within galaxy. As qstat states that the jobs went fine I am uncertain what is going wrong here.
Also it states: /galaxy/galaxy-dist/database/job_working_directory/000/27 but when I look I only see /1 or /2 and not /27...
Job output not returned by PBS: the output datasets were deleted while the job was running, the job was manually dequeued or there was a cluster error.
galaxy.jobs DEBUG 2015-02-16 07:29:46,527 (27) Working directory for job is: /galaxy/galaxy-dist/database/job_working_directory/000/27 galaxy.jobs.handler DEBUG 2015-02-16 07:29:46,558 (27) Dispatching to pbs runner galaxy.jobs DEBUG 2015-02-16 07:29:47,912 (27) Persisting job destination (destination id: batch) galaxy.jobs.handler INFO 2015-02-16 07:29:48,074 (27) Job dispatched galaxy.jobs.runners DEBUG 2015-02-16 07:29:48,901 (27) command is: python3.4 /galaxy/galaxy-dist/tools/vaap/SAPP/1_conversion/gbktordf.py '-input' '/galaxy/galaxy-dist/database/files/000/dataset_14.dat' -output '/galaxy/galaxy-dist/database/files/000/dataset_27.dat' -sourcedb "genbank" -format "genbank"; return_code=$?; cd /galaxy/galaxy-dist; /galaxy/galaxy-dist/set_metadata.sh ./database/files /galaxy/galaxy-dist/database/job_working_directory/000/27 . /galaxy/galaxy-dist/config/galaxy.ini /galaxy/tmp/tmpLjCWqL /galaxy/galaxy-dist/database/job_working_directory/000/27/galaxy.json /galaxy/galaxy-dist/database/job_working_directory/000/27/metadata_in_HistoryDatasetAssociation_27_WAE9rW,/galaxy/galaxy-dist/database/job_working_directory/000/27/metadata_kwds_HistoryDatasetAssociation_27_JJRjQw,/galaxy/galaxy-dist/database/job_working_directory/000/27/metadata_out_HistoryDatasetAssociation_27_L1LeGv,/galaxy/galaxy-dist/database/job_working_directory/000/27/metadata_results_HistoryDatasetAssociation_27_sedwZX,,/galaxy/galaxy-dist/database/job_working_directory/000/27/metadata_override_HistoryDatasetAssociation_27_DaWNYB; sh -c "exit $return_code" galaxy.jobs.runners.pbs DEBUG 2015-02-16 07:29:48,938 (27) submitting file /galaxy/galaxy-dist/database/pbs/27.sh galaxy.jobs.runners.pbs DEBUG 2015-02-16 07:29:48,943 (27) queued in default queue as 24.micro1.wurnet.nl galaxy.jobs DEBUG 2015-02-16 07:29:48,984 (27) Persisting job destination (destination id: batch) galaxy.jobs.runners.pbs DEBUG 2015-02-16 07:29:51,152 (27/24.micro1.wurnet.nl) PBS job state changed from N to R galaxy.jobs.runners.pbs DEBUG 2015-02-16 07:30:38,774 (27/24.micro1.wurnet.nl) PBS job state changed from R to C galaxy.jobs.runners.pbs DEBUG 2015-02-16 07:30:38,774 (27/24.micro1.wurnet.nl) PBS job has completed successfully galaxy.jobs.runners.pbs WARNING 2015-02-16 07:30:38,775 Exit code was invalid. Using 0. galaxy.jobs DEBUG 2015-02-16 07:30:38,900 setting dataset state to ERROR galaxy.jobs DEBUG 2015-02-16 07:30:39,395 job 27 ended galaxy.datatypes.metadata DEBUG 2015-02-16 07:30:39,395 Cleaning up external metadata files galaxy.datatypes.metadata DEBUG 2015-02-16 07:30:39,437 Failed to cleanup MetadataTempFile temp files from /galaxy/galaxy-dist/database/job_working_directory/000/27/metadata_out_HistoryDatasetAssociation_27_L1LeGv: No JSON object could be decoded