Skip to content

Commit 3565f2d

Browse files
authored
Merge b778819 into sapling-pr-archive-ktf
2 parents 44903a9 + b778819 commit 3565f2d

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

Common/Utils/src/FileFetcher.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@ bool FileFetcher::copyFile(size_t id)
345345
gSystem->Setenv("XRD_LOGLEVEL", "Dump");
346346
logsToClean.push_back(fmt::format("log_xrd_{}.txt", uuid));
347347
gSystem->Setenv("XRD_LOGFILE", logsToClean.back().c_str());
348+
LOGP(info, "debug log files for {}: ALIENPY_DEBUG_FILE={} XRD_LOGFILE={}", mInputFiles[id].getOrigName(),
349+
getenv("ALIENPY_DEBUG_FILE") ? getenv("ALIENPY_DEBUG_FILE") : "",
350+
getenv("XRD_LOGFILE") ? getenv("XRD_LOGFILE") : "");
348351
}
349352
auto realCmd = std::regex_replace(std::regex_replace(mCopyCmd, std::regex(R"(\?src)"), mInputFiles[id].getOrigName()), std::regex(R"(\?dst)"), mInputFiles[id].getLocalName());
350353
auto fullCmd = fmt::format(R"(sh -c "{}" >> {} 2>&1)", realCmd, mCopyCmdLogFile);

Detectors/Calibration/workflow/CCDBPopulatorSpec.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ void CCDBPopulator::doUpload(const CcdbObjectInfo& wrp, const gsl::span<const ch
207207
LOGP(important, "Validated upload to {} / {} for [{}:{}]", mAPI.getURL(), wrp.getPath(), wrp.getStartValidityTimestamp(), wrp.getEndValidityTimestamp());
208208
}
209209
}
210+
if (wrp.isAdjustableEOV() && !mAPI.isSnapshotMode()) {
211+
o2::ccdb::adjustOverriddenEOV(mAPI, wrp);
212+
}
210213
}
211214

212215
void CCDBPopulator::logAsNeeded(long nowMS, const std::string& path, std::string& msg)

Framework/Core/src/runDataProcessing.cxx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
#include "Framework/DataTakingContext.h"
6565
#include "Framework/CommonServices.h"
6666
#include "Framework/DefaultsHelpers.h"
67-
#include "ControlServiceHelpers.h"
6867
#include "ProcessingPoliciesHelpers.h"
6968
#include "DriverServerContext.h"
7069
#include "HTTPParser.h"
@@ -848,9 +847,7 @@ void processChildrenOutput(uv_loop_t* loop,
848847
// TODO: have multiple display modes
849848
// TODO: graphical view of the processing?
850849
assert(infos.size() == controls.size());
851-
std::match_results<std::string_view::const_iterator> match;
852850
ParsedMetricMatch metricMatch;
853-
ParsedConfigMatch configMatch;
854851

855852
int processed = 0;
856853
for (size_t di = 0, de = infos.size(); di < de; ++di) {
@@ -881,11 +878,7 @@ void processChildrenOutput(uv_loop_t* loop,
881878
// in the GUI.
882879
// Then we check if it is part of our Poor man control system
883880
// if yes, we execute the associated command.
884-
if (logLevel == LogParsingHelpers::LogLevel::Info && ControlServiceHelpers::parseControl(token, match)) {
885-
throw runtime_error("stdout is not supported anymore as a driver backend. Please use ws://");
886-
} else if (logLevel == LogParsingHelpers::LogLevel::Info && DeviceConfigHelper::parseConfig(token.substr(16), configMatch)) {
887-
throw runtime_error("stdout is not supported anymore as a driver backend. Please use ws://");
888-
} else if (!control.quiet && (token.find(control.logFilter) != std::string::npos) && logLevel >= info.logLevel) {
881+
if (!control.quiet && (token.find(control.logFilter) != std::string::npos) && logLevel >= info.logLevel) {
889882
assert(info.historyPos >= 0);
890883
assert(info.historyPos < info.history.size());
891884
info.history[info.historyPos] = token;

0 commit comments

Comments
 (0)