Skip to content

PacketViewer config bugs #3121

PacketViewer config bugs

PacketViewer config bugs #3121

Triggered via pull request January 2, 2025 21:48
Status Success
Total duration 30m 40s
Artifacts 1

playwright.yml

on: pull_request
openc3-build-test
30m 29s
openc3-build-test
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 6 warnings, and 3 notices
[chromium] › command-sender.spec.ts:167:5 › warns for hazardous parameters: playwright/tests/command-sender.spec.ts#L177
1) [chromium] › command-sender.spec.ts:167:5 › warns for hazardous parameters ──────────────────── Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: locator('main') Expected string: "cmd(\"INST COLLECT with TYPE 'SPECIAL', DURATION 1, OPCODE 171, TEMP 0\") sent" Received string: "Select TargetINSTSelect TargetSelect PacketCOLLECTSelect PacketSendDescription: Starts a collect on the INST target Parameters NameValue or StateUnitsRangeDescriptionTYPESPECIAL0..65535Collect type which can be normal or special. Note the special collects are hazarous and require user confirmation.DURATION0..10Collect durationOPCODE0..255Collect opcodeTEMPC0..25Collect temperatureStatus: Hazardous command not sent Editable Command History: (Pressing Enter on the line re-executes the command) 1  ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXLOCAL CMDSENDERCOLLECTS:DURATION:COLLECT_TYPE:" Call log: - expect.toContainText with timeout 10000ms - waiting for locator('main') 14 × locator resolved to <main class="v-main">…</main> - unexpected value "Select TargetINSTSelect TargetSelect PacketCOLLECTSelect PacketSendDescription: Starts a collect on the INST target Parameters NameValue or StateUnitsRangeDescriptionTYPESPECIAL0..65535Collect type which can be normal or special. Note the special collects are hazarous and require user confirmation.DURATION0..10Collect durationOPCODE0..255Collect opcodeTEMPC0..25Collect temperatureStatus: Hazardous command not sent Editable Command History: (Pressing Enter on the line re-executes the command) 1  ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXLOCAL CMDSENDERCOLLECTS:DURATION:COLLECT_TYPE:" 175 | await page.getByRole('dialog').getByRole('button', { name: 'Send' }).click() 176 | // Ensure the state is used, e.g. 'SPECIAL' and not the value > 177 | await expect(page.locator('main')).toContainText( | ^ 178 | 'cmd("INST COLLECT with TYPE \'SPECIAL\', DURATION 1, OPCODE 171, TEMP 0") sent', 179 | ) 180 | await chec
[chromium] › command-sender.spec.ts:494:5 › ignores hazardous range checks: playwright/tests/command-sender.spec.ts#L511
2) [chromium] › command-sender.spec.ts:494:5 › ignores hazardous range checks ──────────────────── Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: locator('main') Expected string: "cmd_no_range_check(\"INST COLLECT with TYPE 'SPECIAL', DURATION 1, OPCODE 171, TEMP 100\") sent" Received string: "Select TargetINSTSelect TargetSelect PacketCOLLECTSelect PacketSendDescription: Starts a collect on the INST target Parameters NameValue or StateUnitsRangeDescriptionTYPESPECIAL0..65535Collect type which can be normal or special. Note the special collects are hazarous and require user confirmation.DURATION0..10Collect durationOPCODE0..255Collect opcodeTEMPC0..25Collect temperatureStatus: Error sending INST COLLECT due to RuntimeError: Command parameter 'INST COLLECT TEMP' = 100 not in valid range of 0.0 to 25.0 Editable Command History: (Pressing Enter on the line re-executes the command) 1  ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXLOCAL CMDSENDERCOLLECTS:DURATION:COLLECT_TYPE:" Call log: - expect.toContainText with timeout 10000ms - waiting for locator('main') 14 × locator resolved to <main class="v-main">…</main> - unexpected value "Select TargetINSTSelect TargetSelect PacketCOLLECTSelect PacketSendDescription: Starts a collect on the INST target Parameters NameValue or StateUnitsRangeDescriptionTYPESPECIAL0..65535Collect type which can be normal or special. Note the special collects are hazarous and require user confirmation.DURATION0..10Collect durationOPCODE0..255Collect opcodeTEMPC0..25Collect temperatureStatus: Error sending INST COLLECT due to RuntimeError: Command parameter 'INST COLLECT TEMP' = 100 not in valid range of 0.0 to 25.0 Editable Command History: (Pressing Enter on the line re-executes the command) 1  ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXLOCAL CMDSENDERCOLLECTS:DURATION:COLLECT_TYPE:" 509 | await page.locator('[data-test="select-send"]').click() 510 | await page.getByRole('dialog').getByRole('button', { name: 'Send' }).click() // Hazardous confirm > 511 | await exp
[chromium] › script-runner/api.spec.ts:307:5 › test ruby screen apis: playwright/tests/script-runner/api.spec.ts#L271
3) [chromium] › script-runner/api.spec.ts:307:5 › test ruby screen apis ────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByText('INST ADCS', { exact: true }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByText('INST ADCS', { exact: true }) 269 | await expect(page.locator('[data-test=state] input')).toHaveValue('running') 270 | // script displays INST ADCS > 271 | await expect(page.getByText(`${target} ADCS`, { exact: true })).toBeVisible() | ^ 272 | // script displays INST HS 273 | await expect(page.getByText(`${target} HS`, { exact: true })).toBeVisible() 274 | // script calls clear_screen("INST", "ADCS") at testScreenApis (/home/runner/work/cosmos/cosmos/playwright/tests/script-runner/api.spec.ts:271:67) at /home/runner/work/cosmos/cosmos/playwright/tests/script-runner/api.spec.ts:308:3
[chromium] › script-runner/file-menu.spec.ts:38:5 › open a file: playwright/tests/script-runner/file-menu.spec.ts#L93
4) [chromium] › script-runner/file-menu.spec.ts:38:5 › open a file ─────────────────────────────── Error: expect(locator).toContainText(expected) Locator: locator('#sr-controls') Expected string: "INST/procedures/disconnect.rb" Received string: "FilenameINST2/procedures/metadata.pyFilenameScript IDScript IDScript StateScript State Start " Call log: - expect.toContainText with timeout 10000ms - waiting for locator('#sr-controls') 3 × locator resolved to <div id="sr-controls" data-v-e274eaa8="">…</div> - unexpected value "FilenameINST2/procedures/metadata.pyFilenameScript IDScript IDScript StateScript State Start " 91 | .locator('.v-list-item-title:has-text("INST/procedures/disconnect.rb")') 92 | .click() > 93 | expect(await page.locator('#sr-controls')).toContainText( | ^ 94 | `INST/procedures/disconnect.rb`, 95 | ) 96 | }) at /home/runner/work/cosmos/cosmos/playwright/tests/script-runner/file-menu.spec.ts:93:46
openc3-build-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: playwright/[chromium] › admin/plugins.spec.ts#L1
playwright/[chromium] › admin/plugins.spec.ts took 2.4m
Slow Test: playwright/[chromium] › script-runner/suite.spec.ts#L1
playwright/[chromium] › script-runner/suite.spec.ts took 1.8m
Slow Test: playwright/[chromium] › limits-monitor.spec.ts#L1
playwright/[chromium] › limits-monitor.spec.ts took 1.3m
Slow Test: playwright/[chromium] › tlm-viewer.spec.ts#L1
playwright/[chromium] › tlm-viewer.spec.ts took 1.1m
Slow Test: playwright/[chromium] › bucket-explorer.spec.ts#L1
playwright/[chromium] › bucket-explorer.spec.ts took 1.1m
🎭 Playwright Run Summary
211 did not run
🎭 Playwright Run Summary
4 flaky [chromium] › command-sender.spec.ts:167:5 › warns for hazardous parameters ───────────────────── [chromium] › command-sender.spec.ts:494:5 › ignores hazardous range checks ───────────────────── [chromium] › script-runner/api.spec.ts:307:5 › test ruby screen apis ─────────────────────────── [chromium] › script-runner/file-menu.spec.ts:38:5 › open a file ──────────────────────────────── 2 skipped 204 passed (22.3m)
🎭 Playwright Run Summary
2 passed (6.1s)

Artifacts

Produced during runtime
Name Size
playwright
31 MB