Skip to content

use BINARY_TAG instead of CMTCONFIG

Maciej Pawel Szymanski requested to merge maszyman-binary_tag into master

I've noticed that the jenkins job for LbEnv deployment fails (see below) after LbDocker!35 (merged). I think the reason could be the usage of $CMTCONFIG in jenkins/prepare_kit, which is no longer set for the container.

INFO:root:Running 'contrib/lb-docker-run' '--no-interactive' '--no-cvmfs' '--no-lblogin' '--network=host' '--name' 'prepare_env_kit_unstable-x86_64-centos7' '-v' '/cvmfs/lhcb.cern.ch/lib/lcg' '-v' '/build/jenkins-build/workspace/core-soft-tasks/lbenv-deployment/dist:/cvmfs/lhcb.cern.ch/lib/var/lib/LbEnv/818/unstable/x86_64-centos7' '-c' 'x86_64-centos7-gcc62-opt' 'jenkins/prepare_kit' '/cvmfs/lhcb.cern.ch/lib/var/lib/LbEnv/818/unstable/x86_64-centos7' 'unstable'
unkown platform 
Traceback (most recent call last):
  File "/build/jenkins-build/workspace/core-soft-tasks/lbenv-deployment/jenkins/_generate_kits", line 280, in <module>
    main()
  File "/build/jenkins-build/workspace/core-soft-tasks/lbenv-deployment/jenkins/_generate_kits", line 269, in main
    for platform in PLATFORMS
  File "/build/jenkins-build/workspace/core-soft-tasks/lbenv-deployment/jenkins/_generate_kits", line 56, in make_kit
    checksum = make_kit_lcg(prefix, flavour, host_os, platform)
  File "/build/jenkins-build/workspace/core-soft-tasks/lbenv-deployment/jenkins/_generate_kits", line 157, in make_kit_lcg
    check_call(args)
  File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['contrib/lb-docker-run', '--no-interactive', '--no-cvmfs', '--no-lblogin', '--network=host', '--name', 'prepare_env_kit_unstable-x86_64-centos7', '-v', '/cvmfs/lhcb.cern.ch/lib/lcg', '-v', '/build/jenkins-build/workspace/core-soft-tasks/lbenv-deployment/dist:/cvmfs/lhcb.cern.ch/lib/var/lib/LbEnv/818/unstable/x86_64-centos7', '-c', 'x86_64-centos7-gcc62-opt', 'jenkins/prepare_kit', '/cvmfs/lhcb.cern.ch/lib/var/lib/LbEnv/818/unstable/x86_64-centos7', 'unstable']' returned non-zero exit status 1

Merge request reports