JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for LCG-ROLLOUT Archives


LCG-ROLLOUT Archives

LCG-ROLLOUT Archives


LCG-ROLLOUT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCG-ROLLOUT Home

LCG-ROLLOUT Home

LCG-ROLLOUT  September 2011

LCG-ROLLOUT September 2011

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: CREAM CE job wrapper and applications error codes

From:

Massimo Sgaravatto - INFN Padova <[log in to unmask]>

Reply-To:

LHC Computer Grid - Rollout <[log in to unmask]>

Date:

Sat, 10 Sep 2011 07:55:13 +0200

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (86 lines)

Hi all

First of all: there isn't anything different wrt the LCG-CE. Also for the 
LCG-CE the exit code that you see in the pbs log file is the one of the 
job wrapper (jw), and not the one of the user job, because it is the jw 
that is executed in the batch system.
As I said, the jobwrapper is a script. Oversimplifying it, it is 
something like:

#/bin/sh
< prepare exection env in WN>
<get ISB>
<run user job>
<put OSB>

If this script runs properly, it returns 0 as exit code, and not the
exit code of the user job. Again there is the very same scenario in the jw 
used for the LCG-CE.
A value different than 0 means that there was a problem in the execution 
of the job wrapper (e.g. a problem with sandbox transfers)

User job exit code is not hidden: it is returned in glite-ce-job-status 
output, in wms-job-status, in wms-logging-info.
It was supposed to be reported also in the glite-ce-cream.log: 
investigating why this is not the case.

The management of jobs finished with an exit code <> 0 is something that 
was discussed several years ago, in the days of Datagrid. It was decided 
that they should consider as successfully done (so e.g. the WMS shouldn't 
trigger a resubmission) but the exit code <> 0 should be returned to the 
user so she can investigate.


I don't fully understand what is the RFE here. To have the jw returns with 
the user job exit code (so that this value is reported in the PBS log 
file) ?


 				Cheers, Massimo



On Fri, 9 Sep 2011, Maarten Litmaath wrote:

> Hi Pablo,
>
>> Well, I don't think making the sysadmin less aware of the things that happen
>> inside the cluster is good at all. If a sysadmin doesn't want to see if a user
>> fails his jobs, he/she can just avoid looking at the PBS exit status... but
>> what if I want to know? What if I make statistics of how good my cluster is?
>> There could be a user problem, but it could also be your SE giving trouble,
>> and that affects the sysadmin. Or a timeout, or a full disk somewhere...
>>
>> Some months ago, I developed a ganglia metric to measure errors in our pbs
>> system:
>> http://ganglia.lcg.cscs.ch/ganglia//pbserrors.html
>> Then I also plot it, and show it in our main monitoring page. It turned out to
>> be VERY useful. If you see one failure here or there, you can just assume it's
>> the normal grid stuff. But if suddenly the number of errors/time rises, that
>> means something bad is going on. If it's all from the same user, it's probably
>> a user problem. If it's all from a worker node, or from a CE... well, you can
>> see patterns.
>>
>> There are many more possibilities around this. It's information, usable,
>> filterable, and IMHO shouldn't be masked.
>
> Those are good arguments indeed.  Feel free to open an RFE in GGUS.
>
> Maybe it could even be made configurable in CREAM...
>







                    \|||/
-----------0oo----( o o )----oo0-------------------
                     (_)
INFN Sezione di Padova
Via Marzolo, 8
35131 Padova - Italy    E-mail: massimo.sgaravatto [at] pd.infn.it
Tel: ++39 0499677360    Skype: massimo.sgaravatto
Fax: ++39 0498275952

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
November 2023
June 2023
May 2023
April 2023
March 2023
February 2023
September 2022
June 2022
May 2022
April 2022
February 2022
December 2021
November 2021
October 2021
September 2021
July 2021
June 2021
May 2021
February 2021
January 2021
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
November 2017
October 2017
September 2017
July 2017
June 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager