Closed clelange closed 7 years ago
I think the problem is in https://github.com/cms-sw/cmspkg/blob/master/client/cmspkg.py#L669-L672 - the list of packages gets too long for a sys.open()
call. Solution is to split the command into several parts, I'll provide a suggestion in a PR, which then needs installation with --nodeps
flag.
Problem was insufficient space on the volume. Very difficult to figure this out, since the space needed is about a factor 3-4 higher than what is indicated in the RPM command output.
Actually, ideally it needs disk space for downloaded RPMs plus the installation e.g. for this 7_1_28 release
Get:206 http://cmsrep.cern.ch cmssw/cms/slc6_amd64_gcc481 cms+gcc-toolfile+12.0-cms3-1-1.slc6_amd64_gcc481.rpm
Downloaded 6073MB of archives.
After unpacking 12585MB of additional disk space will be used.
so in this case 6073MB+12585MB=18.5GB during installation and 12.5GB after the sucessfull installation (download rpms are removed once successfully installed).
But to save total disk space across all architectures (for latest releases) we make a copy of arch/cms/data- in to share/cms/data- ( https://github.com/cms-sw/cmsdist/blob/IB/CMSSW_9_2_X/gcc530/cmsswdata.spec#L75 ) which means some extra disk (equal to the size of largest data package) is also needed at install time.
Return code is 1. Steps to reproduce (eg. on lxplus):
The last command just exits:
There should be sufficient space on the device. Thanks for any help!