Skip to content

Commit 4b7af28

Browse files
authored
Merge pull request #7028 from cylc/8.6.x-sync
🤖 Merge 8.6.x-sync into master
2 parents f189d6e + fc4a845 commit 4b7af28

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

cylc/flow/scheduler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,15 +945,15 @@ def manage_remote_init(self):
945945
def _load_task_run_times(self, row_idx, row):
946946
"""Load run times of previously succeeded task jobs."""
947947
if row_idx == 0:
948-
LOG.info("LOADING task run times")
948+
LOG.debug("LOADING task run times")
949949
name, run_times_str = row
950950
try:
951951
taskdef = self.config.taskdefs[name]
952952
maxlen = TaskDef.MAX_LEN_ELAPSED_TIMES
953953
for run_time_str in run_times_str.rsplit(",", maxlen)[-maxlen:]:
954954
run_time = int(run_time_str)
955955
taskdef.elapsed_times.append(run_time)
956-
LOG.info("+ %s: %s" % (
956+
LOG.debug("+ %s: %s" % (
957957
name, ",".join(str(s) for s in taskdef.elapsed_times)))
958958
except (KeyError, ValueError, AttributeError):
959959
return

cylc/flow/task_pool.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ def load_db_task_pool_for_restart(self, row_idx, row):
664664
def load_db_task_action_timers(self, row_idx: int, row: Iterable) -> None:
665665
"""Load a task action timer, e.g. event handlers, retry states."""
666666
if row_idx == 0:
667-
LOG.info("LOADING task action timers")
667+
LOG.debug("LOADING task action timers")
668668
(cycle, name, ctx_key_raw, ctx_raw, delays_raw, num, delay,
669669
timeout) = row
670670
tokens = Tokens(
@@ -701,7 +701,7 @@ def load_db_task_action_timers(self, row_idx: int, row: Iterable) -> None:
701701
"%(id)s: skip action timer %(ctx_key)s" %
702702
{"id": id_, "ctx_key": ctx_key_raw})
703703
return
704-
LOG.info("+ %s/%s %s" % (cycle, name, ctx_key))
704+
LOG.debug("+ %s/%s %s" % (cycle, name, ctx_key))
705705
if ctx_key == "poll_timer":
706706
itask = self._get_task_by_id(id_)
707707
if itask is None:
@@ -721,7 +721,7 @@ def load_db_task_action_timers(self, row_idx: int, row: Iterable) -> None:
721721
ctx_key[1] = TimerFlags.EXECUTION_RETRY
722722

723723
if timeout:
724-
LOG.info(
724+
LOG.debug(
725725
f' (upgrading retrying state for {itask.identity})')
726726
self.task_events_mgr._retry_task(
727727
itask,

tests/flakyfunctional/restart/21-task-elapsed.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ workflow_run_ok "${TEST_NAME_BASE}-run" \
4545
cylc play "${WORKFLOW_NAME}" --debug --no-detach --stopcp=2020
4646
workflow_run_ok "${TEST_NAME_BASE}-restart-1" \
4747
cylc play "${WORKFLOW_NAME}" --stopcp=2028 --debug --no-detach
48-
sed -n '/LOADING task run times/,+2{s/^.* INFO - //;s/[0-9]\(,\|$\)/%d\1/g;p}' \
48+
sed -n '/LOADING task run times/,+2{s/^.* DEBUG - //;s/[0-9]\(,\|$\)/%d\1/g;p}' \
4949
"${RUND}/log/scheduler/log" >'restart-1.out'
5050
contains_ok "restart-1.out" <<'__OUT__'
5151
LOADING task run times
@@ -54,7 +54,7 @@ LOADING task run times
5454
__OUT__
5555
workflow_run_ok "${TEST_NAME_BASE}-restart-2" \
5656
cylc play "${WORKFLOW_NAME}" --stopcp=2030 --debug --no-detach
57-
sed -n '/LOADING task run times/,+2{s/^.* INFO - //;s/[0-9]\(,\|$\)/%d\1/g;p}' \
57+
sed -n '/LOADING task run times/,+2{s/^.* DEBUG - //;s/[0-9]\(,\|$\)/%d\1/g;p}' \
5858
"${RUND}/log/scheduler/log" >'restart-2.out'
5959
contains_ok 'restart-2.out' <<'__OUT__'
6060
LOADING task run times

0 commit comments

Comments
 (0)