Repository navigation
[main-fix] UAT runner: a per-step timeout in the scenario format (default stays 30 s, a step may set timeout_s up to a cap of 120 s): route 3 holds a create up to LETFLOW_PROVISIONER_CREATE_WAIT_SECONDS (0..55, QA 30) before its 202, so the runner's 30 s read timeout can never receive it - #5232
Merged
Merged
Conversation
…30 s, a step may set timeout_s up to a cap of 120 s): route 3 holds a create up to LETFLOW_PROVISIONER_CREATE_WAIT_SECONDS (0..55, QA 30) before its 202, so the runner's 30 s read timeout can never receive it T-3316 implement attempt 1: Added the per-step read timeout `timeout_s` to the UAT scenario format (scripts/uat/runner.py). Rule: a plain number of 1..120 s, the default stays the current 30 s (`HTTP_TIMEOUT_S`). The runner uses it for the calls the step makes against the application (`api`, `assert_only`, `upload`, `repeat`, `parallel`, `for_each`, `page_through` and the reads of a `poll` step) and for nothing else: the poll window (`within_s`/`interval_s`), the waits of `wait_task`/`wait_mail`, the mail trap and the iden
…30 s, a step may set timeout_s up to a cap of 120 s): route 3 holds a create up to LETFLOW_PROVISIONER_CREATE_WAIT_SECONDS (0..55, QA 30) before its 202, so the runner's 30 s read timeout can never receive it T-3316 implement attempt 2: Rework of T-3316 (attempt 2): all three findings of the review_confirm FAIL are addressed. 1) BLOCKER (the UAT tooling suite over the 60 s ExUnit default of test/scripts/uat_tooling_test.exs) — fixed twice over. The two slow cases of scripts/uat/tests/test_step_timeout.py now play AT THE SAME MOMENT against the same scripted server (the step with `timeout_s: 60` reads the server's answer at 35 s, the same step without it gives up at the default 30 s), so the file costs the 35 s of the server an
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The UAT runner could not read the provisioner route 3:
POST /admin/v1/tenantsholds a process create for up toLETFLOW_PROVISIONER_CREATE_WAIT_SECONDS(0..55 s, 30 s on QA) before its 202, so the runner's fixed 30 s read timeout always died first ("transport error: the read operation timed out" after 30435 ms in BP-QOIMEKS-REHEARSAL-03 r1). A step may now carrytimeout_s(a number of 1..120 s, the default stays the 30 s ofHTTP_TIMEOUT_S), and the runner uses it for that step's own calls against the application and for nothing else: the scenario validator,check_processes.pyandcheck_catalog.pyall refuse a file that names a value outside the range, while the poll window, the wait ofwait_taskand ofwait_mail, the mail trap and the identity provider keep their own bounds. QA's wait, the nginx timeout and the provisioner itself are untouched — only the client learns to wait.Refs: no GitHub issue is linked (the PM's task of 29 Nov, order B).
Gates
Tier: FULL
Introduced-by: 043e620
Missed-by: none (not catchable before merge)