ACDC workflows failing to be acquired in GQ
Testing agent 1.0.11.pre8 in testbed, all the ACDC workflows I assigned yesterday went directly to failed in GQ, this is the log for one of them (*). It seems the faulty code is this one:
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/Services/SiteDB/SiteDB.py#L308

which is called in ResubmitBlock. In principle that extend is getting a string, and then each char is splitted.

I'll fix it on Monday.

(*)
2015-11-12 18:05:09,910 INFO     WorkQueueReqMgrInterface: Processing request amaltaro_ACDC_StepChain_LumiMask_Agent1011_Validation_v2_151112_175531_917 at https://cmsweb-testbed.cern.ch/couchdb/reqmgr_workload_cache/amaltaro_ACDC_StepChain_LumiMask_Agent1011_Validation_v2_151112_175531_917/spec
2015-11-12 18:05:09,911 INFO     WorkQueue: queueWork() begin queueing "https://cmsweb-testbed.cern.ch/couchdb/reqmgr_workload_cache/amaltaro_ACDC_StepChain_LumiMask_Agent1011_Validation_v2_151112_175531_917/spec"
2015-11-12 18:05:10,593 INFO     WorkQueue: Splitting /amaltaro_ACDC_StepChain_LumiMask_Agent1011_Validation_v2_151112_175531_917/DIGI with policy ResubmitBlock params = {'ResubmitBlock': {'args': {}, 'name': 'ResubmitBlock'}, 'MonteCarlo': {'args': {}, 'name': 'MonteCarlo'}, 'Dataset': {'args': {}, 'name': 'Dataset'}, 'Block': {'args': {}, 'name': 'Block'}, 'DatasetBlock': {'args': {}, 'name': 'Dataset'}}
2015-11-12 18:05:11,324 WARNING  SiteDB: No PSNs for PNN: T
2015-11-12 18:05:11,325 WARNING  SiteDB: No PSNs for PNN: 1
2015-11-12 18:05:11,326 WARNING  SiteDB: No PSNs for PNN: _
2015-11-12 18:05:11,327 WARNING  SiteDB: No PSNs for PNN: I
2015-11-12 18:05:11,328 WARNING  SiteDB: No PSNs for PNN: T
2015-11-12 18:05:11,329 WARNING  SiteDB: No PSNs for PNN: _
2015-11-12 18:05:11,329 WARNING  SiteDB: No PSNs for PNN: C
2015-11-12 18:05:11,330 WARNING  SiteDB: No PSNs for PNN: N
2015-11-12 18:05:11,331 WARNING  SiteDB: No PSNs for PNN: A
2015-11-12 18:05:11,332 WARNING  SiteDB: No PSNs for PNN: F
2015-11-12 18:05:11,333 WARNING  SiteDB: No PSNs for PNN: _
2015-11-12 18:05:11,333 WARNING  SiteDB: No PSNs for PNN: D
2015-11-12 18:05:11,334 WARNING  SiteDB: No PSNs for PNN: i
2015-11-12 18:05:11,335 WARNING  SiteDB: No PSNs for PNN: s
2015-11-12 18:05:11,336 WARNING  SiteDB: No PSNs for PNN: k

diff --git a/src/python/WMCore/Services/SiteDB/SiteDB.py b/src/python/WMCore/Services/SiteDB/SiteDB.py
index 44da50118..9f972bdf6 100644
--- a/src/python/WMCore/Services/SiteDB/SiteDB.py
+++ b/src/python/WMCore/Services/SiteDB/SiteDB.py
@@ -311,7 +311,7 @@ class SiteDBJSON(Service):
         if it is convert to PNN
         if not just return argument
         """
-        if isinstance(seNameOrPNN, str):
+        if isinstance(seNameOrPNN, basestring):
             seNameOrPNN = [seNameOrPNN]
         
         newList = []
@@ -319,5 +319,5 @@ class SiteDBJSON(Service):
             if not pnn_regex.match(se):
                 newList.extend(self.seToPNNs(se))
             else:
-                newList.extend(se)
+                newList.append(se)
         return newList
['src/python/WMCore/Services/SiteDB/SiteDB.py']