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  2005

LCG-ROLLOUT 2005

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Cannot read JobWrapper output +

From:

"Maarten Litmaath, CERN" <[log in to unmask]>

Reply-To:

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

Date:

Sun, 6 Feb 2005 00:38:18 +0100

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (117 lines)

On Sat, 5 Feb 2005, Anar Manafov wrote:

> Dear colleagues,
>
> I have got a problem and can&#8217;t find a solution for it. Even I am not sure
> about the seed of the problem. I have completely spent a week already.
>
> One of our (GSI.de) CE started to behavior strange. After we implemented a
> new pool accounts schema (standard is not suitable for our infrastructure)
> and opened a full farm for CE, I can&#8217;t get edg-job-submit working correctly
> (before everything perfectly worked on the test environment).
>
> Some site info:
> GSI
> Problematic CE is &#8220;lcg06.gsi.de&#8221;
> Batch system is LSF (CE is NOT LSF muster).
> User home is shared between CE and WN.
>
> Generally, when the job is sent to lcg06 I have &#8220;Job RetryCount (3) hit&#8221;,
> but it is general error and could be because of many reasons.
>
> I tried to track down the problem.
>
> Log files, sys messages, gram_job_mgr_XXX.log seem to be very useless in
> such situation. I can tell it from previous experience of tracking job
> submission problems. If those logs are useful, I would appreciate to get any
> hint how I can track the job submission with help of those logs, especially
> in critical situations, when the job failed on some of the stages.
>
> When I used &#8220;edg-job-get-logging-info&#8221; with extended level of verbose &#8220;-v 2&#8221;
> I found this message as a reason why the Jobs fail:
> &#8220;Cannot read JobWrapper output, both from Condor and from Maradona&#8221;.
>
> I read some papers about this error and still couldn&#8217;t find anything, which
> could be suitable for my situation.
>
> I have  tracked down the job by script of JM debugging (I couldn&#8217;t find a
> GOOD logging!!!) and I suspect that there is something wrong with job output
> transfer. But what? I don&#8217;t know!
>
> I checked:
> 1 &#8211; That the job successfully delivered to LSF.
> 2 - Executed.
> 3 &#8211; JM is tracking the job status (edg-job-status shows the statuses
> correctly).
> 4 &#8211; LSF reports that the job successfully done.
> 5 &#8211; I have checked &#8220;gridftp&#8221;, seems to be ok.
>
> Also, I have looked to &#8220;submit-helper.pl&#8221;, also couldn&#8217;t see the problem.
> (BTW, maybe you know how to get an error log from this script? :) )
>
> Anyway, finally we have &#8220;Cannot read JobWrapper output, both from Condor and
> from Maradona&#8221;.
>
> Dear Friends, maybe someone could help me with a hint (or method), which I
> could use to track down the problem?
>
> Also, I would be VERY grateful if you point me to some useful log file(s),
> which I could use to track down such problems. Because I have a suspicion,
> that this software has a very bad logging. I think the logging is a very
> important part of software. Log should tell you when program got &#8216;A&#8217; , but
> &#8216;B&#8217; is expected or something. But here, I have to manually DEBUG the scripts
> to add additional log info, only to be able to see what is happening&#8230; I am
> sure that users are not supposed to see and debug the source of software!
> Please, any good log would be GREAT!
>
> Please, I would be very grateful for any HINT.

As you found out, many elements in the job submission chain are not easy
to debug, due to lack of logfiles or clear error messages.
These things should be improved, and they have been, but it takes
significant effort to make things easy for the admin and/or user.
Furthermore, the current job submission chain is fundamentally broken,
so we do not really want to spend a lot of effort on it, when we expect
to get something better in the next few months (based on Condor instead
of Globus).
Anyway, have you looked at the Wiki entries on job submission problems,
in particular this one:

http://goc.grid.sinica.edu.tw/gocwiki/Cannot_read_JobWrapper_output%2e%2e%2e

The error "Cannot read JobWrapper output, both from Condor and from Maradona"
means that the job exit status failed to be delivered to the RB, when two
independent methods should have been tried:

1. The job wrapper script writes the user job exit status to stdout,
   which is supposed to be sent back to the RB by Globus.

2. The user job exit status is written into an extra file that is copied
   to the RB with globus-url-copy.

When *both* methods fail, it usually means that the job did *not* run to
completion!

That means it either did not start at all (batch system submission problem,
WN disk full, time not synchronized between CE and WN, home directory not
writable, ...) or it got killed before it finished, e.g. because it ran
into the wall-clock time limit.

Of course it is possible that the job did finish, but then it must mean
that:

1. the WN could not do a globus-url-copy to the RB, *and*

2. Globus could not send back the job wrapper stdout, e.g. because it
   was not copied back from the WN to the CE, or because globus-url-copy
   does not work from the CE to the RB.

This combined set of problems still can have a single cause: there can
be a firewall limiting outgoing connections (to ports 20000-25000),
some CRLs can be out of date both on CE and WN, some CA files could be
absent altogether, the time (zone) on CE and WN can be wrong, ...

Note that the other Wiki entries may also provide clues.  For example:

http://goc.grid.sinica.edu.tw/gocwiki/submit-helper_script_%2e%2e%2e_gave_error%3a_cache_export_dir_%2e%2e%2e

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