Project

General

Profile

Bug #21387

fife_wrap should exit with non-zero status if ifdh establishProcess fails

Added by Kenneth Herner 4 months ago. Updated 6 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
11/15/2018
Due date:
% Done:

0%

Estimated time:
Duration:

Description

fife_wrap does a try...except during start_client, which does the ifdh establishProcess work. If that fails, it does raise an exception, but it looks like the exit status isn't set to a non-zero value. Here's an example from a job .err file:

Exception: http://samwebgpvm03.fnal.gov:8480/sam/dune/stations/dune/projects/name/dunepro-fife_wrap_20181109_122214_1354849/establishProcess
HTTP-Status: 404
Error text is:
Unknown project name or id

But in the corresponding .out file:

imported ifdh
trying to exit 0
Sat Nov 10 21:27:02 UTC 2018 fife_wrap COMPLETED with exit status 0

I think it makes the most sense to exit with a non-zero status here.

History

#1 Updated by Marc Mengel 6 days ago

  • Target version set to v3_2_5
  • Status changed from New to Closed

Fixed in e5f77ec1



Also available in: Atom PDF