diff options
author | Simon Westphahl <simon.westphahl@bmw.de> | 2023-01-26 08:45:55 +0100 |
---|---|---|
committer | Simon Westphahl <simon.westphahl@bmw.de> | 2023-01-26 08:52:47 +0100 |
commit | 09f705d968d9ef95fd2ada57fdc2f9976784ffa1 (patch) | |
tree | 9934e2b208995b4d9e4f6849f2d1d910cfaf8bce /Dockerfile | |
parent | bc06b0851c38396f2aefa4f93dfb24d84cc8afd7 (diff) | |
download | zuul-09f705d968d9ef95fd2ada57fdc2f9976784ffa1.tar.gz |
Set arrival timestamp for timer trigger events
By addding timer trigger events directly to the pipeline event queues
(added in I6b4b77a82aac6d2c3441ace9f64dc9b4a80c5856) we no longer use
the `addTriggerEvent()` method of the scheduler which was setting the
`arrived_at_scheduler_timestamp` of the event.
This will lead to an exception when reporting pipeline stats for the
added item:
ERROR zuul.Pipeline.tenant.periodic_5_min: Exception reporting pipeline stats
Traceback (most recent call last):
File "/opt/zuul/lib/python3.10/site-packages/zuul/manager/__init__.py", line 2208, in reportStats
processing = (now - arrived) * 1000
TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'
This changes sets the missing timestamp when creating the event in the
timer driver.
Change-Id: Ic6fe39637935405dd0df6c9bac2e3bf313656a63
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions