Skip to content

ci: test-distro: fix the LAVA job state query on a retried request - #3795

Open
Ricardo Salveti (ricardosalveti) wants to merge 1 commit into
qualcomm-linux:masterfrom
ricardosalveti:ci-test-distro-lava-state-retry
Open

Ricardo Salveti (ricardosalveti) wants to merge 1 commit into
qualcomm-linux:masterfrom
ricardosalveti:ci-test-distro-lava-state-retry

Conversation

@ricardosalveti

Copy link
Copy Markdown
Contributor

With --fail-with-body and --retry, curl writes the body of each failed attempt to stdout before the body of the attempt that succeeds. When LAVA answers a 5xx once, jq gets an error page followed by the job JSON, fails to parse it, and the step stops without cancelling the job.

Use --fail for the state query, so failed attempts write nothing.

With --fail-with-body and --retry, curl writes the body of each failed
attempt to stdout before the body of the attempt that succeeds. When
LAVA answers a 5xx once, jq gets an error page followed by the job
JSON, fails to parse it, and the step stops without cancelling the
job.

Use --fail for the state query, so failed attempts write nothing.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Ricardo Salveti <[email protected]>
@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 8fc7e27

nodistro

Pass: 9 | Fail: 1 | Total: 10

qcom-distro

Pass: 12 | Fail: 2 | Total: 14

qcom-distro_kernel-fit

Pass: 1 | Fail: 0 | Total: 1

qcom-distro_linux-qcom-6.18

Pass: 8 | Fail: 1 | Total: 9

qcom-distro_linux-qcom-7.3-es

Pass: 1 | Fail: 0 | Total: 1

@test-reporting-app

Copy link
Copy Markdown

Test Results

 37 files   -    84   37 suites   - 712   2h 30m 55s ⏱️ - 6h 5m 58s
 14 tests  -   284   10 ✅  -   277  0 💤  -  2  4 ❌  -  5 
309 runs   - 4 439  302 ✅  - 4 407  0 💤  - 22  7 ❌  - 10 

For more details on these failures, see this check.

Results for commit 8fc7e27. ± Comparison against base commit ea8c790.

This pull request removes 287 and adds 3 tests. Note that renamed tests count towards both.
0_AudioRecord_Config01 ‑ AudioRecord_Config01
0_BT_ON_OFF ‑ BT_ON_OFF
0_GStreamer_Video_Encode_h264_480p ‑ GStreamer_Video_Encode_h264_480p
0_Libcamera_cam ‑ Libcamera_cam
0_Weston_Runtime_Preflight ‑ Weston_Runtime_Preflight
0_hotplug ‑ hotplug
10_DSP_AudioPD ‑ DSP_AudioPD
10_Docker_Kernel_Config ‑ Docker_Kernel_Config
10_EFI_Variable_Validation ‑ EFI_Variable_Validation
10_Ethernet_Basic_Validation ‑ Ethernet_Basic_Validation
…
lava ‑ auto-login-action
lava ‑ minimal-boot
lava ‑ ramdump

@qcomlnxci

Copy link
Copy Markdown

Test Coral run workflow

Test jobs for commit 8fc7e27

  • qcomdistro: multimedia image
    Pass: 6 | Fail: 0 | Total: 6
  • qcomdistro: multimedia image-prop
    Pass: 49 | Fail: 2 | Total: 51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants