This doesn't (yet) answer the question of why eos
was missing but we at least have working containers in my registry...
If I build the standalone CMSSW_10_6_30 from this new base image (the result is gitlab-registry.cern.ch/mccauley/cmssw-docker/cmssw_10_6_30-slc7_amd64_gcc700:2024-03-26-3de95a5
) and then build a standalone for cmssw-docker-opendata
from this image the result is here: gitlab-registry.cern.ch/mccauley/cmssw-docker-opendata/cmssw_10_6_30-slc7_amd64_gcc700:2024-03-26-d0a227a
This works in the sense that eos
is available:
$ docker run --rm -it gitlab-registry.cern.ch/mccauley/cmssw-docker-opendata/cmssw_10_6_30-slc7_amd64_gcc700:2024-03-26-d0a227a /bin/bash
Setting up CMSSW_10_6_30
CMSSW should now be available.
This is a standalone image for CMSSW_10_6_30 slc7_amd64_gcc700.
(/code/CMSSW_10_6_30/src) eos
# ---------------------------------------------------------------------------
# EOS Copyright (C) 2011-2020 CERN/Switzerland
# This program comes with ABSOLUTELY NO WARRANTY; for details type `license'.
# This is free software, and you are welcome to redistribute it
# under certain conditions; type `license' for details.
# ---------------------------------------------------------------------------
If build a new version of the cc7-cms container and run (with cvmsfs mounted) then it works. The new cc7-cms is gitlab-registry.cern.ch/mccauley/cmssw-docker/cc7-cms:2024-03-26-3de95a5
$ docker run --rm -it -v /cvmfs:/cvmfs gitlab-registry.cern.ch/mccauley/cmssw-docker/cc7-cms:2024-03-26-3de95a5 /bin/zsh
::: Setting up CMS environment (works only if /cvmfs is mounted on host) ...
::: Setting up CMS environment... [done]
[17:15:14] cmsusr@304bea85c044 /code $ eos
# ---------------------------------------------------------------------------
# EOS Copyright (C) 2011-2020 CERN/Switzerland
# This program comes with ABSOLUTELY NO WARRANTY; for details type `license'.
# This is free software, and you are welcome to redistribute it
# under certain conditions; type `license' for details.
# ---------------------------------------------------------------------------
$ docker run --rm -it -v /cvmfs:/cvmfs gitlab-registry.cern.ch/cms-cloud/cmssw-docker/slc6-cms /bin/zsh
::: Setting up CMS environment (works only if /cvmfs is mounted on host) ...
::: Setting up CMS environment... [done]
[11:21:25] cmsusr@0eafdbe7c5c5 /code $ eos
---------------------------------------------------------------------------
EOS Copyright (C) 2011 CERN/Switzerland
This program comes with ABSOLUTELY NO WARRANTY; for details type \`license'.
This is free software, and you are welcome to redistribute it
under certain conditions; type \`license' for details.
---------------------------------------------------------------------------
$ docker run --rm -it -v /cvmfs:/cvmfs gitlab-registry.cern.ch/cms-cloud/cmssw-docker/cc7-cms /bin/zsh
::: Setting up CMS environment (works only if /cvmfs is mounted on host) ...
::: Setting up CMS environment... [done]
[11:21:43] cmsusr@c88c9ad8f31f ~ $ eos zsh: command not found: eos
Clemens Lange (79a2f821) at 22 Mar 14:52
Merge branch 'combine_9p2p0' into 'master'
Clemens Lange (8ba4390f) at 22 Mar 14:12
Clemens Lange (79a2f821) at 22 Mar 14:11
Merge branch 'combine_9p2p0' into 'master'
... and 1 more commit
Clemens Lange (8ba4390f) at 22 Mar 10:40
Use Combine v9.2.0
Clemens Lange (1103bfde) at 22 Mar 10:39
In CMSSW_7_6_7
where eos
works it is in /usr/bin
. It is not there for other builds.
I have built new versions of the CMSSW_10_6_30 and CMSSW_7_6_7 standalones and placed test images in my registry:
https://gitlab.cern.ch/mccauley/cmssw-docker/container_registry/
If one then builds upon these for equivalent standalones in https://gitlab.cern.ch/cms-cloud/cmssw-docker-opendata the builds fail with eos: command not found
error.
This seems to be a problem with the images in cms-cloud (which is from an older build):
$ docker run -it --rm gitlab-registry.cern.ch/cms-cloud/cmssw-docker/cmssw_10_6_30-slc7_amd64_gcc700 /bin/bash
Setting up CMSSW_10_6_30
CMSSW should now be available.
This is a standalone image for CMSSW_10_6_30 slc7_amd64_gcc700.
[11:34:12] cmsusr@c8868704491d /code/CMSSW_10_6_30/src $ eos
bash: eos: command not found
and in my registry, which has the latest changes:
$ docker run -it --rm gitlab-registry.cern.ch/mccauley/cmssw-docker/cmssw_10_6_30-slc7_amd64_gcc700 /bin/bash
Setting up CMSSW_10_6_30
CMSSW should now be available.
This is a standalone image for CMSSW_10_6_30 slc7_amd64_gcc700.
[11:40:57] cmsusr@1026473e0771 /code/CMSSW_10_6_30/src $ eos
bash: eos: command not found
For CMSSW_7_6_7 it works for the older container images in cms-cloud:
$ docker run -it --rm gitlab-registry.cern.ch/cms-cloud/cmssw-docker/cmssw_7_6_7-slc6_amd64_gcc493 /bin/bash
Setting up CMSSW_7_6_7
CMSSW should now be available.
This is a standalone image for CMSSW_7_6_7 slc6_amd64_gcc493.
(/code/CMSSW_7_6_7/src) eos
# ---------------------------------------------------------------------------
# EOS Copyright (C) 2011 CERN/Switzerland
# This program comes with ABSOLUTELY NO WARRANTY; for details type `license'.
# This is free software, and you are welcome to redistribute it
# under certain conditions; type `license' for details.
# ---------------------------------------------------------------------------
But for the latest build which is in my registry it does not:
$ docker run -it --rm gitlab-registry.cern.ch/mccauley/cmssw-docker/cmssw_7_6_7-slc6_amd64_gcc493 /bin/bash
Setting up CMSSW_7_6_7
CMSSW should now be available.
This is a standalone image for CMSSW_7_6_7 slc6_amd64_gcc493.
[11:42:58] cmsusr@7a434d69591c /code/CMSSW_7_6_7/src $ eos
bash: eos: command not found
We seem to have lost something in our new builds.
Clemens Lange (1103bfde) at 20 Mar 15:01
Fix location of datacard-5-multi-signal.root
Clemens Lange (d74fa4c2) at 20 Mar 14:46
Add more tests
Clemens Lange (6b8d50e7) at 20 Mar 14:44
Fix toy-hgg-125.txt path