Hi,
parrot_run
installation on CernVM4 (5.4.19) seems to have a weird behaviour when used with certain applications.
I got this issue whith an lhcb-specific application (lb-run
) and do not know if this is very specific to this software or a general issue.
How to reproduce it:
- I instantiate a Singularity container of cernvm4, binding /cvmfs on it:
$ singularity exec --cleanenv --bind /cvmfs /cvmfs/cernvm-prod.cern.ch/cvm4/ bash --norc
- I source LbEnv to get the appropriate environment to execute the command that I want to trace:
$ source /cvmfs/lhcb.cern.ch/lib/LbEnv.sh
- According to the cvmfs documentation, I need to set up the environment to execute parrot_run:
$ export PARROT_ALLOW_SWITCHING_CVMFS_REPOSITORIES=yes
$ export PARROT_CVMFS_REPO="lhcb.cern.ch:url=http://cvmfs-stratum-one.cern.ch/cvmfs/lhcb.cern.ch,pubkey=/cvmfs/cvmfs-config.cern.ch/etc/cvmfs/keys/cern.ch/cern-it1.cern.ch.pub lhcb-condb.cern.ch:url=http://cvmfs-stratum-one.cern.ch/cvmfs/lhcb-condb.cern.ch,pubkey=/cvmfs/cvmfs-config.cern.ch/etc/cvmfs/keys/cern.ch/cern-it1.cern.ch.pub"
$ export HTTP_PROXY='<content of CVMFS_HTTP_PROXY available in /etc/cvmfs/config.d/lhcb.cern.ch.local>;DIRECT'
- Finally I execute parrot_run:
$ parrot_run --name-list namelist --env-list envlist lb-run --siteroot=/cvmfs/lhcb.cern.ch/lib/ -c x86_64-slc6-gcc48-opt --use="AppConfig v3r395" --use="Gen/DecFiles v30r51" --use="ProdConf" Gauss/v49r18 gaudirun.py '$APPCONFIGOPTS/Gauss/Sim08-Beam4000GeV-mu100-2012-nu2.5.py' '$APPCONFIGOPTS/Gauss/DataType-2012.py' '$APPCONFIGOPTS/Gauss/RICHRandomHits.py' '$APPCONFIGOPTS/Gauss/NoPacking.py' '$DECFILES
ROOT/options/12877041.py' '$LBPYTHIA8ROOT/options/Pythia8.py' '$APPCONFIGOPTS/Gauss/G4PL_FTFP_BERT_EmNoCuts.py' '$APPCONFIGOPTS/Persistency/Compression-ZLIB-1.py' $PWD/prodConf.py
with prodConf.py
being:
from ProdConf import ProdConf
ProdConf(
NOfEvents=1,
DDDBTag='dddb-20170721-3',
AppVersion='v49r18',
XMLSummaryFile='summaryGauss_00117610_00013443_1.xml',
Application='Gauss',
OutputFilePrefix='00117610_00013443_1',
RunNumber=11774443,
XMLFileCatalog='pool_xml_catalog.xml',
FirstEventNumber=7877013,
CondDBTag='sim-20170721-2-vc-mu100',
OutputFileTypes=['sim'],
)
Most of the time, very randomly, I get the following issue:
2021/05/18 11:22:54.48 parrot_run[23981] <child:24468> fatal: cannot run application which does not allow tracing (CLONE_UNTRACED)
2021/05/18 11:22:54.48 parrot_run[23981] <child:24468> notice: received signal 15 (Terminated), killing all my children...
2021/05/18 11:22:54.48 parrot_run[23981] <child:24468> notice: sending myself 15 (Terminated), goodbye!
Sometimes, the application is able to run, this seems completely random.
I tried to run the same application with a newer version of parrot_run
(7.1.11) that I downloaded as follows:
curl -O ccl.cse.nd.edu/software/files/cctools-7.1.11-x86_64-centos7.tar.gz
tar -zxf cctools-7.1.11-x86_64-centos7.tar.gz
cctools-7.1.11-x86_64-centos7/bin/parrot_run ...
I encountered no issue with this version, the application was able to complete its execution.
Thus, this seems specific to the parrot_run
version of CernVM4.
Do you think it is a general issue? In this case, maybe parrot_run
should be upgraded
Thanks