Project

General

Profile

Bug #20547

Configuration pruning hides a path-configuration error

Added by Kyle Knoepfel over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
08/06/2018
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
art
Duration:

Description

Consider the configuration:

# mixed_modules.fcl

physics: {
  producers: {
    p: {...}
  }
  analyzers: {
    a: {...}
  }
  tp1: [p]
  tp2: [p, a]
}

where producer 'p' and analyzer 'a' have been illegally specified in the same path 'tp2'. Instead of receiving an exception like:

---- Configuration BEGIN
  Path configuration: The following were encountered while processing path configurations:
    ERROR: Entry a in path tp2 is an observer while previous entries in the same path are all modifiers.
---- Configuration END

the following warning is printed, and the job continues without incident:

$ art -c mixed_modules.fcl --prune-config
...
The following paths have not been enabled for execution and will be ignored:
  tp2
The following module label is either not assigned to any path,
or it has been assigned to ignored path(s):
'a'

History

#1 Updated by Kyle Knoepfel over 1 year ago

  • Target version set to 1683

#2 Updated by Kyle Knoepfel over 1 year ago

  • Category set to Infrastructure
  • Status changed from New to Resolved
  • Assignee set to Kyle Knoepfel
  • % Done changed from 0 to 100
  • Estimated time set to 4.00 h
  • Occurs In 3.00.00 added
  • Occurs In deleted (3.00.00)

Implemented with commit art:a77e2a31.

#3 Updated by Kyle Knoepfel over 1 year ago

  • Target version changed from 1683 to 3.01.00

#4 Updated by Kyle Knoepfel over 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF