Skip to content

Adjusting error printouts when ≥x86_64-v2 not available #115

Description

@jreic

Hi @smuzaffar,

I noticed that some automated WLCG tests were failing at my site (T3_US_Rutgers) in a relatively silent way (see https://monit-grafana.cern.ch/d/siYq3DxZz/wlcg-sitemon-test-details?orgId=20&var-metric=org.cms.WN-22frontier-/cms-ce-token&var-dst_hostname=ruhex-osgce.rutgers.edu&var-timestamp=1741372246000, and a snippet copied at the bottom).

This was running on a test node VM where only x86_64 instructions were enabled--which I was able to adjust (since the host did have x86_64-v2 available). Since the issue wasn't obvious at first, I was wondering if it would be possible to catch (probably in https://github.com/cms-sw/cmssw-config/blob/scramv3/SCRAM/hooks/project/00-multi-targets) when only the older instruction set is available, and print a more verbose error that would point to the underlying issue more quickly.

Thanks!
Joey

[1]

setting up environment:
-----------------------
   env.variable CVMFS_MOUNT_DIR is set to /cvmfs
   env.variable CVMFS is not set
   sourcing cmsset_default.sh ...
   env.variable SCRAM_ARCH is set to el8_amd64_gcc12
      /cvmfs/cms.cern.ch/common/scram
   env.variable SITECONFIG_PATH is set to "/cvmfs/cms.cern.ch/SITECONF/local"
   env.variable CMS_PATH is set to "/cvmfs/cms.cern.ch"
   CMSSW_15_0_1 selected
   making and changing to swnft subdirectory
   creating CMSSW_15_0_1 project...
WARNING: In non-interactive mode release checks e.g. deprecated releases, production architectures are disabled.
WARNING: Unable to find project's default micro-architecture or system supported psABI micro-architectures.
Development area is created without multi-microarchitectures support. Default micro-architecture will be used for build and runtime.
   setting up CMSSW_15_0_1 environment...

...

checking DB FroNtier access in cmsRun (@51 sec):
------------------------------------------------
/srv/wn_frontier.sh: line 385:   337 Illegal instruction     (core dumped) cmsRun ecal_pedestals.py > output.log 2>&1
   [E] cmsRun failed, rc=132

[2]

setting up environment:
-----------------------
   env.variable CVMFS_MOUNT_DIR is set to /cvmfs
   env.variable CVMFS is not set
   sourcing cmsset_default.sh ...
   env.variable SCRAM_ARCH is set to el8_amd64_gcc12
      /cvmfs/cms.cern.ch/common/scram
   env.variable SITECONFIG_PATH is set to "/cvmfs/cms.cern.ch/SITECONF/local"
   env.variable CMS_PATH is set to "/cvmfs/cms.cern.ch"
   CMSSW_15_0_1 selected
   making and changing to swnft subdirectory
   creating CMSSW_15_0_1 project...
WARNING: In non-interactive mode release checks e.g. deprecated releases, production architectures are disabled.
WARNING: You host supported psABI(x86-64-v2 ) do not match SCRAM default psABI x86-64-v3.
         Additional build/runtime micro-architecture x86-64-v2 is enabled.
   setting up CMSSW_15_0_1 environment...
IMPORTANT: Setting CMSSW environment to use 'x86-64-v2' target.

...

checking DB FroNtier access in cmsRun (@23 sec):
------------------------------------------------
   cmsRun complete (@104 sec)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions