Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hufnagel
Copy link
Member

Add everything needed to upload the PCL conditions produced by the AlcaHarvest to the DropBox.

@hufnagel
Copy link
Member Author

@dballesteros7 , can you test this and check that the usual unit tests still work ?

@dballesteros7
Copy link
Contributor

All tests but one work. T0_t/WMBS_t/JobSplitting_t/Condition_t.py fails with:


======================================================================
ERROR: _test00_
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/testEnv/test-T0/test/python/T0_t/WMBS_t/JobSplitting_t/Condition_t.py", line 173, in test00
    jobGroups = jobFactory(**mySplitArgs)
  File "/testEnv/cms-comp/slc5_amd64_gcc461/cms/wmagent/0.9.18/lib/python2.6/site-packages/WMCore/JobSplitting/JobFactory.py", line 89, in __call__
    self.algorithm(*args, **kwargs)
  File "/testEnv/test-T0/src/python/T0/JobSplitting/Condition.py", line 37, in algorithm
    runNumber = kwargs['runNumber']
KeyError: "'runNumber'
-------------------- >> begin captured logging << --------------------
root: DEBUG: Using SQLAlchemy v.0.5.2
root: INFO: Instantiating base WM DBInterface
root: DEBUG: Tables for WMCore.WMBS created
root: DEBUG: Tables for T0.WMBS created
--------------------- >> end captured logging << ---------------------"
----------------------------------------------------------------------

Add everything needed to upload the PCL conditions
produced by the AlcaHarvest to the DropBox.
@hufnagel
Copy link
Member Author

Ok, the unit test was old and did not test the new system behavior (there was a design change in that part). I fixed the unit test and the new unit test then found a bug in the Condition job splitter, so I fixed that as well.

@dballesteros7
Copy link
Contributor

Test works for me now.

hufnagel added a commit that referenced this pull request Sep 25, 2012
implement PCL condition upload functionality
@hufnagel hufnagel merged commit 3ed3a43 into dmwm:master Sep 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants