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  February 2012

LCG-ROLLOUT February 2012

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Torque/CREAM race condition at job completion?

From:

Lukasz Flis <[log in to unmask]>

Reply-To:

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

Date:

Wed, 22 Feb 2012 12:12:21 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (154 lines)

Hi,

We observe this behaviour for some months at CYFRONET-LCG2.

We use cp instead of scp but the result is the same: jobs are hanging in 
W state being unable to complete file stagein procesdure as source files 
are deleted by CREAM

Feb 22 12:04:42 <daemon.err> n3-1-2.local pbs_mom[]: 
LOG_ERROR::sys_copy, command '/bin/cp -rp 
/home/grid/sandbox/cream02/alicesgm/_O_GermanGrid_OU_DESY_CN_Antoni_Cyz_alice_Role_lcgadmin_Capability_NULL_sgmalice002/33/CREAM336569863/CREAM336569863_jobWrapper.sh 
CREAM336569863_jobWrapper.sh.35802.21066.1326919965' failed with 
status=1, giving up after 4 attempts
Feb 22 12:04:42 <daemon.err> n3-1-2.local pbs_mom[]: 
LOG_ERROR::req_cpyfile, Unable to copy file 
/home/grid/sandbox/cream02/alicesgm/_O_GermanGrid_OU_DESY_CN_Antoni_Cyz_alice_Role_lcgadmin_Capability_NULL_sgmalice002/33/CREAM336569863/CREAM336569863_jobWrapper.sh 
to CREAM336569863_jobWrapper.sh.35802.21066.1326919965
Feb 22 12:04:42 <daemon.err> n3-1-2.local pbs_mom[]: 
LOG_ERROR::req_cpyfile,   Unable to copy file 
/home/grid/sandbox/cream02/alicesgm/_O_GermanGrid_OU_DESY_CN_Antoni_Cyz_alice_Role_lcgadmin_Capability_NULL_sgmalice002/33/CREAM336569863/CREAM336569863_jobWrapper.sh 
to CREAM336569863_jobWrapper.sh.35802.21066.1326919965 *** error from 
copy /bin/cp: cannot stat 
`/home/grid/sandbox/cream02/alicesgm/_O_GermanGrid_OU_DESY_CN_Antoni_Cyz_alice_Role_lcgadmin_Capability_NULL_sgmalice002/33/CREAM336569863/CREAM336569863_jobWrapper.sh': 
No such file or directory *** end error output

It looks like not only proxyfile is missing but whole job sandbox.
We haven't figured out the cause why cream is removing those files 
before job is actually launched yet

Cheers
--
Lukasz Flis

>
> I believe this is what happens when a jobs proxy expires while the job is in
> the queue.
>
> AFAICT, the Cream Proxy cleanup deletes the expired proxy from the cream
> proxy cache but does not cancel the job. So the job happily sits in the
> queue until it torque tries to run it, at which point it tries to stage in
> the proxy and of course fails.
>
> I think then it puts the job into waiting (W) state for a while before
> requeuing it and it then just oscillates between Q and W until you delete
> it.
>
> It's annoying but you're not losing jobs that would have run.
>
> Yours,
> Chris.
>
>> -----Original Message-----
>> From: LHC Computer Grid - Rollout [mailto:[log in to unmask]]
>> On Behalf Of Jeff Templon
>> Sent: 22 February 2012 09:50
>> To: [log in to unmask]
>> Subject: Re: [LCG-ROLLOUT] Torque/CREAM race condition at job
>> completion?
>>
>> Hi,
>>
>> we see these messages here too at Nikhef (giving up after 4 attempts)
>> and I cannot link them to jobs that have actually executed.  which is
>> quite strange.
>>
>> this would indicate that somehow torque does not know that the job has
>> landed on a worker node, because there are no "start" or "end" records
>> that reference the WN in question in the torque server logs.  however,
>> the job has somehow landed on a worker node, because the error message
>> 'unable to copy file' is coming from the mom on a worker node.
>>
>> This may be related to something we see here happen from time to time.
>> A job is in state "Q", but somehow it has a worker node assigned to it.
>> We usually delete these jobs when we see them, as there is no way we've
>> found to 'unassign' the worker node.
>>
>>
> JT
>>
>> On Feb 22, 2012, at 09:20 , Gila Arrondo Miguel Angel wrote:
>>
>>> Hi Leslie,
>>>
>>> With a very similar setup (Moab/Torque on 1 host and CREAM-CE on
>> another) we've seen an error somehow close to what you describe here.
>> In our /var/log/messages we find tons of entires like this:
>>>
>>> Feb 22 09:10:24 wn202 pbs_mom: LOG_ERROR::sys_copy, command
>>> '/usr/bin/scp -rpB err_cre02_780422084_StandardError
>>>
>> [log in to unmask]:/cream_localsandbox/data/atlas/_DC_ch_DC_
>>>
>> cern_OU_Organic_Units_OU_Users_CN_atlpilo1_CN_614260_CN_Robot__ATLAS_P
>>>
>> ilot1_atlas_Role_pilot_Capability_NULL_atlasplt/78/CREAM780422084/Stan
>>> dardError' failed with status=1, giving up after 4 attempts
>>>
>>> Feb 22 09:10:24 wn202 pbs_mom: LOG_ERROR::req_cpyfile, Unable to copy
>>> file err_cre02_780422084_StandardError to
>>>
>> [log in to unmask]:/cream_localsandbox/data/atlas/_DC_ch_DC_
>>>
>> cern_OU_Organic_Units_OU_Users_CN_atlpilo1_CN_614260_CN_Robot__ATLAS_P
>>>
>> ilot1_atlas_Role_pilot_Capability_NULL_atlasplt/78/CREAM780422084/Stan
>>> dardError
>>>
>>> Feb 22 09:10:29 wn202 pbs_mom: LOG_ERROR::sys_copy, command
>>> '/usr/bin/scp -rpB out_cre02_780422084_StandardOutput
>>>
>> [log in to unmask]:/cream_localsandbox/data/atlas/_DC_ch_DC_
>>>
>> cern_OU_Organic_Units_OU_Users_CN_atlpilo1_CN_614260_CN_Robot__ATLAS_P
>>>
>> ilot1_atlas_Role_pilot_Capability_NULL_atlasplt/78/CREAM780422084/Stan
>>> dardOutput' failed with status=1, giving up after 4 attempts F
>>>
>>> Have you checked whether these failed transfers are from cancelled
>> jobs? In our experience, it was always the case.
>>>
>>> We've also looked at ways to mitigate this annoying verbosity, but no
>> luck so far. The only option that we can think of is to stop using scp
>> for copies and move the sandbox to a shared area with the WNs, so you
>> use regular cp ($usecp directive) and these errors are hidden. But, of
>> course, this approach has its own disadvantages as well.
>>>
>>> Does anyone else have a better idea?
>>>
>>> Cheers,
>>> Miguel
>>>
>>>
>>>
>>> --
>>> Miguel Gila
>>> CSCS Swiss National Supercomputing Centre HPC Solutions Via
>> Cantonale,
>>> Galleria 2 | CH-6928 Manno | Switzerland Miguel.gila [at] cscs.ch
>>>
>>> From: Leslie Groer
>>> <[log in to unmask]<mailto:[log in to unmask]>>
>>> Reply-To: LHC Computer Grid - Rollout
>>> <[log in to unmask]<mailto:[log in to unmask]>>
>>> Date: Thu, 16 Feb 2012 14:43:56 -0500
>>> To:<[log in to unmask]<mailto:[log in to unmask]>>
>>> Subject: [LCG-ROLLOUT] Torque/CREAM race condition at job completion?
>>>
>>> scp:
>>>
>> /opt/glite/var/cream_sandbox/atlasprd/_C_CA_O_Grid_OU_triumf_ca_CN_Aso
>>>
>> ka_De_Silva_GC1_atlas_Role_production_Capability_NULL_prdatl15/61/CREA
>>> M619112035/StandardOutput: No such file or directory

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