Project

General

Profile

Feature #8343

Support #15000: Audit all messages produced by artdaq during normal running

Investigate new warnings since we started using art v1_13_01

Added by Kurt Biery over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Known Issues
Target version:
Start date:
04/15/2015
Due date:
05/08/2015
% Done:

100%

Estimated time:
12.00 h
Experiment:
-
Co-Assignees:
Duration: 24

Description

During the testing of artdaq changes with art v1_13_01, I've noticed several new messages that seem to have to do with the new version of art. (I'm using ds50daq in my tests.)

It would be great to investigate these and determine what changes we need to make to eliminate the warning messages (and more importantly fix the issues that they are warning us about).

Here is what I've noticed so far:

1) artdaq builds give the following messages:

CMake Warning (dev) at /products/cetbuildtools/v4_07_03/Modules/FindUpsPackage.cmake:93 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

Quoted variables like "TRACE" will no longer be dereferenced when the
policy is set to NEW. Since the policy is not set the OLD behavior will be
used.
Call Stack (most recent call first):
CMakeLists.txt:47 (find_ups_product)
This warning is for project developers. Use -Wno-dev to suppress it.

2) The Aggregator(?) prints out the following message at the end of subruns:

Wed Apr 15 12:45:03 -0500 2015: %MSG-w FastCloning: PostOpenFile PostEndRun
Wed Apr 15 12:45:03 -0500 2015: Fast cloning deactivated for this input file due to empty event tree and/or event limits.
Wed Apr 15 12:45:03 -0500 2015: %MSG

3) The following messages are printed out by the AGs and EBs at init time:

Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: Aggregator-dsfr6-6650 JobSetup
Wed Apr 15 12:24:47 -0500 2015: Use of services.user parameter set is deprecated.
Wed Apr 15 12:24:47 -0500 2015: Define all services in services parameter set.
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: Aggregator-dsfr6-6651 JobSetup
Wed Apr 15 12:24:47 -0500 2015: Use of services.user parameter set is deprecated.
Wed Apr 15 12:24:47 -0500 2015: Define all services in services parameter set.
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: Aggregator-dsfr6-6651 JobSetup
Wed Apr 15 12:24:47 -0500 2015: <<< 'Timing' is deprecated. Please use 'TimeTracker'. >>>
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: Aggregator-dsfr6-6650 JobSetup
Wed Apr 15 12:24:47 -0500 2015: <<< 'Timing' is deprecated. Please use 'TimeTracker'. >>>
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6643 JobSetup
Wed Apr 15 12:24:47 -0500 2015: Use of services.user parameter set is deprecated.
Wed Apr 15 12:24:47 -0500 2015: Define all services in services parameter set.
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6642 JobSetup
Wed Apr 15 12:24:47 -0500 2015: Use of services.user parameter set is deprecated.
Wed Apr 15 12:24:47 -0500 2015: Define all services in services parameter set.
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6640 JobSetup
Wed Apr 15 12:24:47 -0500 2015: Use of services.user parameter set is deprecated.
Wed Apr 15 12:24:47 -0500 2015: Define all services in services parameter set.
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6644 JobSetup
Wed Apr 15 12:24:47 -0500 2015: Use of services.user parameter set is deprecated.
Wed Apr 15 12:24:47 -0500 2015: Define all services in services parameter set.
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6643 JobSetup
Wed Apr 15 12:24:47 -0500 2015: <<< 'Timing' is deprecated. Please use 'TimeTracker'. >>>
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6642 JobSetup
Wed Apr 15 12:24:47 -0500 2015: <<< 'Timing' is deprecated. Please use 'TimeTracker'. >>>
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6641 JobSetup
Wed Apr 15 12:24:47 -0500 2015: Use of services.user parameter set is deprecated.
Wed Apr 15 12:24:47 -0500 2015: Define all services in services parameter set.
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6640 JobSetup
Wed Apr 15 12:24:47 -0500 2015: <<< 'Timing' is deprecated. Please use 'TimeTracker'. >>>
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6644 JobSetup
Wed Apr 15 12:24:47 -0500 2015: <<< 'Timing' is deprecated. Please use 'TimeTracker'. >>>
Wed Apr 15 12:24:47 -0500 2015: %MSG
Wed Apr 15 12:24:47 -0500 2015: %MSG-w CONFIG: EventBuilder-dseb8-6641 JobSetup
Wed Apr 15 12:24:47 -0500 2015: <<< 'Timing' is deprecated. Please use 'TimeTracker'. >>>
Wed Apr 15 12:24:47 -0500 2015: %MSG

History

#1 Updated by Kurt Biery about 4 years ago

  • Target version changed from v1_12_09 to v1_12_10

#2 Updated by John Freeman about 4 years ago

  • Status changed from New to Assigned

Concerning issues (2) and (3) listed above:

2) The message "Fast cloning deactivated for this input file due to empty event tree and/or event limits" was added to art in response to "Feature #6402", in which concern was expressed about how fast cloning could be switched on and off behind-the-scenes without users being aware of the change. Although a messagefacility warning, it's not indicative of something wrong.

3) Concerning the "Timing" service, the message pretty much covers it. Kurt and I have discussed this and we agree that since we don't really use the info in the Timing service, we'll remove it from the FHiCL code in experiments rather than replace its functionality with that of TimeTracker. And I discovered that "Use of services.user parameter set is deprecated" appeared even after removing the user block explicitly from FHiCL code; as Chris explained in the art stakeholder's meeting last Thursday, there was C++ code in art v1_13_01 which hardwired in use of a user block, and hence the message. The user block hardwiring has been removed for art v1_14_XX.

4) I'll add this one myself - Kurt and I are noticing exception throws when the shutdown transition is being sent to artdaq processes using the new art. It appears to occur when reader_thread_.get(), meant to close out the std::future of the art thread in EventStore, gets called; rather than leaving the thread the exception causes an immediate program termination. It seems likely that this issue is related to the NetMonOutput module, since replacing it with RootOutput (specifically, by removing the aggregators from an artdaq-based system and using the eventbuilder to write to data to disk rather than send it downstream to the aggregators) appears to remove the problem.

#3 Updated by John Freeman about 4 years ago

  • % Done changed from 0 to 50

#4 Updated by Kurt Biery about 4 years ago

  • Target version changed from v1_12_10 to v1_12_11

#5 Updated by John Freeman about 4 years ago

  • % Done changed from 50 to 90

Concerning the issue of the terminate() call that takes place at the end of the art thread: the artists have been notified of this via Bug #8891 and the plan is to have this addressed in the Alpha Centauri release of art, scheduled for August 1.

Concerning the "Policy CMP0054 is not set" warning: what appears to be going on is that since TRACE is in all-caps, CMake believes that it is a variable name (of course, it isn't) which is being passed to the find_ups_product() macro defined in cetbuildtools. If I run "cmake --help-policy CMP0054", what I find is that since CMake 3.1, CMake no longer will dereference a quoted variable - in other words, CMake THINKS that we might want to see the variable TRACE's value substituted in, but is warning us that the default policy on this has changed.

Now, I find that if I include "cmake_policy(SET CMP0054 OLD)" in the body of cetbuildtools's FindUpsPackage.cmake file, before the definition of the macro, the warning goes away. Unfortunately, attempting to do this in artdaq's CMakeLists.txt file where the find_ups_product() call on TRACE takes place does not appear to do the same. Not sure how to proceed - we may be stuck with this warning as an artifact of CMake being confused by our intentions with the token "TRACE".

#6 Updated by Kurt Biery almost 4 years ago

  • Target version changed from v1_12_11 to v1_12_13

#7 Updated by Kurt Biery over 3 years ago

  • Target version changed from v1_12_13 to v1_12_14

#8 Updated by Kurt Biery over 3 years ago

  • Target version changed from v1_12_14 to artdaq Next Release

#9 Updated by Eric Flumerfelt over 2 years ago

  • Category set to Known Issues
  • Target version deleted (artdaq Next Release)
  • Parent task set to #15000

#10 Updated by Eric Flumerfelt over 2 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100

Message about TRACE is no longer printed during CMake runs.
Added configuration parameter in artdaq-demo:cea2b83 to silence fast cloning warning.

#11 Updated by Eric Flumerfelt over 2 years ago

  • Status changed from Resolved to Closed
  • Target version set to v2_01_00


Also available in: Atom PDF