Page MenuHomePhabricator

[jobs-emailer] job emails should have timestamps in events
Open, LowPublicFeature

Description

Example email:

* Job 'redis2irc' (continuous) (emails: all) had 2 events:
  -- Pod 'redis2irc-7bbc8dc544-zn9rv'. Phase: 'running'. Container state: 'running'. Start timestamp 2022-04-17T10:00:27Z. 
  -- Pod 'redis2irc-7bbc8dc544-zn9rv'. Phase: 'running'. Container state: 'waiting'. With reason 'ContainerCreating'. 

* Job 'wikibugs-phab' (continuous) (emails: all) had 7 events:
  -- Pod 'wikibugs-phab-858dbb66fb-248vg'. Phase: 'running'. Container state: 'running'. Start timestamp 2022-04-17T09:52:46Z. 
  -- Pod 'wikibugs-phab-858dbb66fb-248vg'. Phase: 'running'. Container state: 'waiting'. With reason 'ContainerCreating'. 
  -- Pod 'wikibugs-phab-858dbb66fb-4t8lb'. Phase: 'pending'. Container state: 'waiting'. With reason 'ContainerCreating'. 
  -- Pod 'wikibugs-phab-858dbb66fb-4t8lb'. Phase: 'running'. Container state: 'running'. Start timestamp 2022-04-17T10:12:46Z. 
  -- Pod 'wikibugs-phab-858dbb66fb-4t8lb'. Phase: 'running'. Container state: 'waiting'. With reason 'ContainerCreating'. 
  -- Pod 'wikibugs-phab-858dbb66fb-vf9sh'. Phase: 'pending'. Container state: 'waiting'. With reason 'ContainerCreating'. 
  -- Pod 'wikibugs-phab-858dbb66fb-vf9sh'. Phase: 'running'. Container state: 'running'. Start timestamp 2022-04-17T10:15:15Z. 

* Job 'grrrrit' (continuous) (emails: all) had 5 events:
  -- Pod 'grrrrit-654c5cbbf-p4lxs'. Phase: 'pending'. Container state: 'waiting'. With reason 'ContainerCreating'. 
  -- Pod 'grrrrit-654c5cbbf-p4lxs'. Phase: 'running'. Container state: 'running'. Start timestamp 2022-04-17T10:12:46Z. 
  -- Pod 'grrrrit-654c5cbbf-p4lxs'. Phase: 'running'. Container state: 'waiting'. With reason 'ContainerCreating'. 
  -- Pod 'grrrrit-654c5cbbf-ng659'. Phase: 'pending'. Container state: 'waiting'. With reason 'ContainerCreating'. 
  -- Pod 'grrrrit-654c5cbbf-ng659'. Phase: 'running'. Container state: 'running'. Start timestamp 2022-04-17T10:15:16Z.

From the current email, it is difficult to determine:

  • In which order did these events happen?
  • How long were the pods down?
  • Are the events in the three jobs related?

Event Timeline

JJMC89 changed the subtype of this task from "Task" to "Feature Request".Apr 17 2022, 4:32 PM
dcaro renamed this task from toolforge-jobs job emails should have timestamps in events to [jobs-emailer] job emails should have timestamps in events.Mar 5 2024, 1:39 PM
dcaro triaged this task as Low priority.
dcaro edited projects, added Toolforge; removed Toolforge Jobs framework.
dcaro moved this task from Backlog to Ready to be worked on on the Toolforge board.