RACF NuWa-1.6.2 Status

From Daya Bay
Jump to navigation Jump to search

20100726

  • Start 1.6.2 installation following procedure for 1.6.1 installation
  • In /afs/rhic.bnl.gov/dayabay/software/releases/
  • export CMTCONFIG="x86_64-slc5-gcc43-opt"
  • svn checkout http://dayabay.ihep.ac.cn/svn/dybsvn/NuWa/releases/NuWa-1.6.2
  • ./dybinst 1.6.2 checkout
  • ./dybinst 1.6.2 projects
    • Failed to build relax because it expects ROOT 5.26 and only 5.22 installed
  • ./dybinst 1.6.2 external ROOT
  • ./dybinst 1.6.2 projects

20100727

  • Add dry run muon data.
    • In /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2,
    • ln -s ../NuWa-1.6.1/data .
  • Test
    • nuwa.py -V
 AES is turned on and trimming window is set to  0  sec
 Embedded Catalog is available
 Note: No file I/O requested.
 Traceback (most recent call last):
  File "/afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/InstallArea/scripts/nuwa.py", line 7, in ?
    nuwa.run()
  File "/afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/InstallArea/python/DybPython/Control.py", line 630, in run
    self.configure_visualization()
  File "/afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/InstallArea/python/DybPython/Control.py", line 594, in configure_visualization
    import GaudiPython as gaudi
  File "/afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/InstallArea/python/GaudiPython/__init__.py", line 12, in ?
    from Bindings import *
  File "/afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/InstallArea/python/GaudiPython/Bindings.py", line 19, in ?
    import PyCintex
ImportError: No module named PyCintex
  • Apply fix described in #348
  • Test again
    • nuwa.py -V
Traceback (most recent call last):
  File "/afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/InstallArea/scripts/nuwa.py", line 5, in <module>
    from DybPython.Control import main
  File "/afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/InstallArea/python/DybPython/__init__.py", line 6, in <module>
    from db import DB
  File "/afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/InstallArea/python/DybPython/db.py", line 3, in <module>
    import MySQLdb
ImportError: No module named MySQLdb
  • Fix non-existence of mysql, rebuild projects
    • ./dybinst 1.6.2 external mysql
    • ./dybinst -r 1.6.2 projects
    • Same problem.
  • This problem reported in #527.
    • Confirmed that 1.6.2 has fix to #527. Must set NuWa-1.6.2 to be optimized by default
    • In NuWa-1.6.2/dybgaudi/DybPython/cmt, do
      • cmt config
      • cmt br cmt config
      • source setup.sh
      • cmt br cmt make
      • Same problem
  • Fix non-existence of mysql_python, see #354, rebuild DybPython
    • ./dybinst 1.6.2 external mysql_python
    • cd NuWa-1.6.2/dybgaudi/DybPython/cmt/
      • cmt config
      • cmt br cmt config
      • source setup.sh
      • cmt br cmt make
  • nuwa.py -V works now
  • More thorough testing. Follow instructions in [1]
    • . ../installation/1.6.2/dybtest/scripts/dyb__.sh
    • in /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2
    • dyb__validate
=== dyb__validate : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2 Tue Jul 27 10:06:49 EDT 2010
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiAud
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiExamples
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/Gaudi
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiKernel
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiPython
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiSvc
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiSvc/src
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/lhcb/Kernel/LHCbMath
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/lhcb/Det/DetDescChecks
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Simulation/GenDecay
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Simulation/DetSim/tests/dyb__testall.skip
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Simulation/GenTools
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Simulation/SimSequencer/tests/dyb__testall.skip
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/DataModel/Conventions
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Tutorial/Simulation/SimHistsExample
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Tutorial/NoseTests
Creating setup scripts.
Creating cleanup scripts.
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Tutorial/Quickstart
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Tutorial/ConfigurableExample/tests/dyb__testall.skip
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DcsDataSvc
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DaqRunInfoSvc
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiDataSvc
=== dyb__testall : FAIL : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiDataSvc/tests/dyb__testall.log
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiValidate/tests/dyb__testall.skip
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiRawDataFileSvc
=== dyb__testall : FAIL : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiRawDataFileSvc/tests/dyb__testall.log
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiTest/tests/dyb__testall.skip
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Detector/DetHelpers
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Detector/XmlDetDescChecks
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/RootIO/RootIOTest
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Utilities/GaudiMessages
=== dyb__testall : TEST : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Utilities/Rafiman
Creating setup scripts.
Creating cleanup scripts.
=== dyb__testall : FAIL : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Utilities/Rafiman/tests/dyb__testall.log
=== dyb__testall_summary : 3 FAILs : use dyb__testall_ls to locate logs and skips : rename .log to .skip to do so
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiAud
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiExamples
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/Gaudi
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiKernel
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiPython
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiSvc
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/gaudi/GaudiSvc/src
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/lhcb/Kernel/LHCbMath
=== dyb__testall : VETO : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/lhcb/Det/DetDescChecks
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Simulation/GenDecay
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Simulation/DetSim/tests/dyb__testall.skip
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Simulation/GenTools
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Simulation/SimSequencer/tests/dyb__testall.skip
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/DataModel/Conventions
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Tutorial/Simulation/SimHistsExample
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Tutorial/NoseTests
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Tutorial/Quickstart
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Tutorial/ConfigurableExample/tests/dyb__testall.skip
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DcsDataSvc
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DaqRunInfoSvc
=== dyb__testall : FAIL : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiDataSvc/tests/dyb__testall.log
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiValidate/tests/dyb__testall.skip
=== dyb__testall : FAIL : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiRawDataFileSvc/tests/dyb__testall.log
=== dyb__testall : SKIP : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Database/DbiTest/tests/dyb__testall.skip
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Detector/DetHelpers
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Detector/XmlDetDescChecks
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/RootIO/RootIOTest
=== dyb__testall : OK   : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Utilities/GaudiMessages
=== dyb__testall : FAIL : /afs/rhic.bnl.gov/dayabay/software/releases/NuWa-1.6.2/dybgaudi/Utilities/Rafiman/tests/dyb__testall.log
=== dyb__validate : rc 3 Tue Jul 27 10:25:06 EDT 2010
  • Check on FAILures
    • Database/DbiDataSvc: Fails due to lack of testdb in /etc/my.cnf
    • Database/DbiRawDataFileSvc: Fails due to lack of testdb in /etc/my.cnf
    • Utilities/Rafiman: ImportError: No module named django.db
  • Try to fix Rafiman
    • ./dybinst 1.6.2 external django
      • Note django is apparently installed under external/Python
    • cmt dance in Utilities/Rafiman
    • in Utilities/Rafiman, nosetests -vv
Failure: ImportError (No module named django.db) ... ERROR
Failure: ImportError (No module named django.db) ... ERROR
Failure: AttributeError ('NoneType' object has no attribute 'debug') ... ERROR
Usage: 

    rafiman [options] command [arguments]
    

nosetests: error: no such option: -v
  • Try to fix Rafiman (continued)
    • get new dybinst from repository to be able to use 'optional' to make sure django is properly installed but that gives
$ ./dybinst 1.6.2 optional

Warning: you have set a CMTCONFIG environment variable of "x86_64-slc5-gcc43-opt".

Normally, dybinst will try to select the correct CMTCONFIG based on
your platform.  When you set it yourself there is no guarantee that it
will be compatible with the lcgcmt requirements and this installation
may fail.  This CMTCONFIG will be tested for compatibility by dybinst
at the end of the "checkout" step.  If it fails you will be given
instructions on what to do.

If you did not intend to set this yourself, you may want to do:

  rm -r Nuwa-RELEASE/setup*

and/or start from a clean shell.

Do you want to continue? (y/N) y
Updating existing installation directory installation/1.6.2/dybinst.
Updating existing installation directory installation/1.6.2/dybtest.


Tue Jul 27 13:01:38 EDT 2010
Start Logging to /afs/rhic.bnl.gov/dayabay/software/releases/dybinst-20100727-130138.log (or dybinst-recent.log)


Starting dybinst commands: optional

Stage: "optional"... 

not directed to build django
  • Action for Rafiman: Also installed in trunk with same problem. Created #536
  • Fix for Database/DbiDataSvc and /DbiRawDataFileSvc
    • Create ~/.my.cnf following DocDB document#5290. This should avoid need for ENV_TSQL* environmentals. Maybe only valid for trunk?
    • Test of access to tables with mysql succeeds as do nosetests.