Support data packages with ci-test
Currently /ci-test cannot handle data packages, see here
2020-02-14 14:35:47,664:DEBUG : https://gitlab.cern.ch:443 "GET //api/v4/projects/lhcb%2FPRConfig HTTP/1.1" 404 35
Traceback (most recent call last):
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/bin/lbn-enabled-slots", line 14, in <module>
sys.exit(Script().run())
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbCommon/Script.py", line 107, in run
rc = self.main()
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/Scripts/EnabledSlots.py", line 155, in main
slots = resolveMRs(slots)
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/GitlabUtils.py", line 207, in resolveMRs
return [resolveMRs(p) for p in item]
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/GitlabUtils.py", line 205, in resolveMRs
resolveMRs(item.projects)
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/GitlabUtils.py", line 207, in resolveMRs
return [resolveMRs(p) for p in item]
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/GitlabUtils.py", line 193, in resolveMRs
item.checkout_opts['merges'] = resolveProjectMRs(item)
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/GitlabUtils.py", line 168, in resolveProjectMRs
new_merges.append((m, getMRCommit(project_id, m)))
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/GitlabUtils.py", line 41, in wrapper
result = _cache[key] = f(*args, **kwargs)
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/GitlabUtils.py", line 62, in getMRCommit
mr = _getGitlabProject(project_id).mergerequests.get(mr_iid)
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/GitlabUtils.py", line 41, in wrapper
result = _cache[key] = f(*args, **kwargs)
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/LbNightlyTools/GitlabUtils.py", line 57, in _getGitlabProject
return _gitlabServer().projects.get(project_id)
File "/build/jenkins-tests/workspace/nightly-builds/main/venv/lib/python2.7/site-packages/gitlab/exceptions.py", line 269, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body)
gitlab.exceptions.GitlabGetError: 404: 404 Project Not Found