cms-sw / cms-bot

A few scripts to automate approval / testing process
28 stars 245 forks source link

make a copy of /etc/tnsnames.ora before starting the container #2299

Closed smuzaffar closed 3 months ago

smuzaffar commented 3 months ago

As discussed in https://github.com/apptainer/apptainer/issues/2328 , we think issue with failures like

FATAL:   container creation failed: mount hook function failure: mount /etc/tnsnames.ora->/etc/tnsnames.ora error: while mounting /etc/tnsnames.ora: destination /etc/tnsnames.ora doesn't exist in container

are due to the update of /etc/tnsnames.ora on host by puppet.

This PR proposes to make a copy of /etc/tnsnames.ora and then mount that copy in side container. This why any update of /etc/tnsnames.ora by puppet will not change the mounted copy.

This might be a fix/workaround for the https://github.com/cms-sw/cmssw/issues/45501 issue

cmsbuild commented 3 months ago

A new Pull Request was created by @smuzaffar for branch master.

@aandvalenzuela, @cmsbuild, @iarspider, @smuzaffar can you please review it and eventually sign? Thanks. @antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this. cms-bot commands are listed here

cmsbuild commented 3 months ago

cms-bot internal usage

smuzaffar commented 3 months ago

test parameters:

smuzaffar commented 3 months ago

please test

smuzaffar commented 3 months ago

+externals

cmsbuild commented 3 months ago

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @rappoccio, @mandrenguyen, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

cmsbuild commented 3 months ago

-1

Failed Tests: RelVals-THREADING Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-62033e/40497/summary.html COMMIT: c2663642a8d352e15d4c1618caa3e35e0f1d455e CMSSW: CMSSW_14_1_X_2024-07-19-1100/el8_amd64_gcc12 Additional Tests: THREADING User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cms-bot/2299/40497/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals-THREADING

Comparison Summary

Summary: