mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 00:08:09 +02:00
We can have jobs with a lower job timeout values, given by CI_JOB_TIMEOUT environment variable, such as the pytest ones. The previously hardcoded burst length of 1000 messages at a simulated rate of 1 msg/sec caused tests to exceed these timeouts and fail unexpectedly on specific job timeouts. Reported-by: Eric Engestrom <eric@igalia.com> Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34907>
22 lines
599 B
Python
22 lines
599 B
Python
from .console_format import CONSOLE_LOG
|
|
from .gitlab_section import GitlabSection
|
|
from .lava_job import LAVAJob
|
|
from .lava_job_definition import LAVAJobDefinition
|
|
from .lava_proxy import call_proxy, setup_lava_proxy
|
|
from .log_follower import (
|
|
LogFollower,
|
|
fatal_err,
|
|
fix_lava_gitlab_section_log,
|
|
hide_sensitive_data,
|
|
print_log,
|
|
)
|
|
from .log_section import (
|
|
DEFAULT_GITLAB_SECTION_TIMEOUTS,
|
|
FALLBACK_GITLAB_SECTION_TIMEOUT,
|
|
LogSection,
|
|
LogSectionType,
|
|
CI_JOB_TIMEOUT_MIN,
|
|
LAVA_TEST_OVERHEAD_MIN,
|
|
LAVA_TEST_CASE_TIMEOUT,
|
|
LAVA_TEST_SUITE_TIMEOUT,
|
|
)
|