Skip to content

Cleaning up use of DataHeader#7034

Merged
ktf merged 1 commit into
AliceO2Group:devfrom
matthiasrichter:cleanup-use-of-DataHeader
Sep 16, 2021
Merged

Cleaning up use of DataHeader#7034
ktf merged 1 commit into
AliceO2Group:devfrom
matthiasrichter:cleanup-use-of-DataHeader

Conversation

@matthiasrichter

Copy link
Copy Markdown
Collaborator
  • always use DataRefUtils to extract DataHeader properties
  • cleanup usage of DataHeader and Stack within DPL processors
  • removing obsolete headers

One thing to come is to use the orbit information from DPL TimeInfo and
replace code using the firstTFOrbit member of one of the DataHeaders.

- always use DataRefUtils to extract DataHeader properties
- cleanup usage of DataHeader and Stack within DPL processors
- removing obsolete headers

One thing to come is to use the orbit information from DPL TimeInfo and
replace code using the firstTFOrbit member of one of the DataHeaders.
@matthiasrichter matthiasrichter force-pushed the cleanup-use-of-DataHeader branch from ff523a0 to 4cc6432 Compare September 13, 2021 20:08
@ktf

ktf commented Sep 14, 2021

Copy link
Copy Markdown
Member

@sawenzel simulation seems to be timing out on slc8 in a number of PRs. E.g.:

346/392 Test #347: o2sim_G4 .............................................................................***Timeout 400.05 sec

@matthiasrichter

Copy link
Copy Markdown
Collaborator Author

@Barthelemy @knopers8 can you please check the log for the o2-dataflow-cs8 CI, one QC unit test is failing with timeout, but my conclusion from the full log is that it is not related to this PR but the FairMQ termination. All devices get the shutdown request but not all make the transition to IDLE.

@matthiasrichter

Copy link
Copy Markdown
Collaborator Author

@sawenzel simulation seems to be timing out on slc8 in a number of PRs. E.g.:

346/392 Test #347: o2sim_G4 .............................................................................***Timeout 400.05 sec

Maybe the shm creation did not complete, here are the last messages from the log
316/392 Test #347: o2sim_G4 .............................................................................***Timeout 400.06 sec
[INFO] This is o2-sim version 1.2.0 (526585190)
[INFO] Built by --unavailable-- on OS:Linux-4.4.0-210-generic
[INFO] BINDING TO ADDRESS ipc:///tmp/o2sim-notifications-13249 type pub
[INFO] Running with 2 sim workers
[INFO] CREATING SIM SHARED MEM SEGMENT FOR 2 WORKERS

@@ -31,11 +31,11 @@ WorkflowSpec defineDataProcessing(ConfigContext const&)
AlgorithmSpec{

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ktf, looks like this test is not compiled anymore, should we remove it? There is almost identical code in Framework/TestWorkflows/src/test_CCDBFetcher.cxx

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

continue;
}
const auto* firstInputHeader = header::get<header::DataHeader*>(firstPart.header);
const auto* firstInputHeader = DataRefUtils::getHeader<header::DataHeader*>(firstPart);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@knopers8 , please confirm that the changes are without effect to the functionality

@ktf

ktf commented Sep 16, 2021

Copy link
Copy Markdown
Member

Tested by hand on macOS. Merging.

@ktf ktf merged commit fe4df2a into AliceO2Group:dev Sep 16, 2021
@matthiasrichter matthiasrichter deleted the cleanup-use-of-DataHeader branch September 16, 2021 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants