Skip to content

Py suite

Py suite #2989

Triggered via pull request December 4, 2024 16:16
@jmthomasjmthomas
synchronize #1730
py_suite
Status Failure
Total duration 31m 3s
Artifacts 1

playwright.yml

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

Annotations

8 errors, 6 warnings, and 3 notices
[chromium] › tlm-viewer.spec.ts:85:5 › displays INST COMMANDING: playwright/tests/tlm-viewer.spec.ts#L97
1) [chromium] › tlm-viewer.spec.ts:85:5 › displays INST COMMANDING ─────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByText('Warning: Command is Hazardous. Send?') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByText('Warning: Command is Hazardous. Send?') 95 | await expect( 96 | page.getByText('Warning: Command is Hazardous. Send?'), > 97 | ).toBeVisible() | ^ 98 | await page.getByRole('dialog').getByRole('button', { name: 'Send' }).click() 99 | 100 | await page.getByRole('combobox').filter({ hasText: 'collect.rb' }).click() at /home/runner/work/cosmos/cosmos/playwright/tests/tlm-viewer.spec.ts:97:7 at showScreen (/home/runner/work/cosmos/cosmos/playwright/tests/tlm-viewer.spec.ts:51:3) at /home/runner/work/cosmos/cosmos/playwright/tests/tlm-viewer.spec.ts:86:3
[chromium] › tlm-viewer.spec.ts:85:5 › displays INST COMMANDING: playwright/tests/tlm-viewer.spec.ts#L97
1) [chromium] › tlm-viewer.spec.ts:85:5 › displays INST COMMANDING ─────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByText('Warning: Command is Hazardous. Send?') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByText('Warning: Command is Hazardous. Send?') 95 | await expect( 96 | page.getByText('Warning: Command is Hazardous. Send?'), > 97 | ).toBeVisible() | ^ 98 | await page.getByRole('dialog').getByRole('button', { name: 'Send' }).click() 99 | 100 | await page.getByRole('combobox').filter({ hasText: 'collect.rb' }).click() at /home/runner/work/cosmos/cosmos/playwright/tests/tlm-viewer.spec.ts:97:7 at showScreen (/home/runner/work/cosmos/cosmos/playwright/tests/tlm-viewer.spec.ts:51:3) at /home/runner/work/cosmos/cosmos/playwright/tests/tlm-viewer.spec.ts:86:3
[chromium] › tlm-viewer.spec.ts:142:5 › displays INST LAUNCHER: playwright/tests/tlm-viewer.spec.ts#L151
2) [chromium] › tlm-viewer.spec.ts:142:5 › displays INST LAUNCHER ──────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.v-toolbar:has-text("INST HS")') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.v-toolbar:has-text("INST HS")') 149 | ).toBeVisible() 150 | await page.getByRole('button', { name: 'HS', exact: true }).click() > 151 | await expect(page.locator('.v-toolbar:has-text("INST HS")')).toBeVisible() | ^ 152 | await page.getByRole('button', { name: 'CMD', exact: true }).click() 153 | await expect( 154 | page.locator('.v-toolbar:has-text("INST COMMANDING")'), at /home/runner/work/cosmos/cosmos/playwright/tests/tlm-viewer.spec.ts:151:64
[chromium] › tlm-viewer.spec.ts:142:5 › displays INST LAUNCHER: playwright/tests/tlm-viewer.spec.ts#L151
2) [chromium] › tlm-viewer.spec.ts:142:5 › displays INST LAUNCHER ──────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.v-toolbar:has-text("INST HS")') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.v-toolbar:has-text("INST HS")') 149 | ).toBeVisible() 150 | await page.getByRole('button', { name: 'HS', exact: true }).click() > 151 | await expect(page.locator('.v-toolbar:has-text("INST HS")')).toBeVisible() | ^ 152 | await page.getByRole('button', { name: 'CMD', exact: true }).click() 153 | await expect( 154 | page.locator('.v-toolbar:has-text("INST COMMANDING")'), at /home/runner/work/cosmos/cosmos/playwright/tests/tlm-viewer.spec.ts:151:64
[chromium] › command-sender.spec.ts:111:5 › warns for hazardous commands: playwright/tests/command-sender.spec.ts#L120
3) [chromium] › command-sender.spec.ts:111:5 › warns for hazardous commands ────────────────────── Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: locator('main') Expected string: "cmd(\"INST CLEAR\") sent" Received string: "Select TargetINSTSelect TargetSelect PacketCLEARSelect PacketSendDescription: Clears counters on the INST instrument (HAZARDOUS)Status: Hazardous command not sent Editable Command History: (Pressing Enter on the line re-executes the command) 1  ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXLOCAL CMDSENDERCOLLECTS:" Call log: - expect.toContainText with timeout 10000ms - waiting for locator('main') - locator resolved to <main class="v-main">…</main> - unexpected value "Select TargetINSTSelect TargetSelect PacketCLEARSelect PacketSendDescription: Clears counters on the INST instrument (HAZARDOUS)Status: Hazardous command not sent Editable Command History: (Pressing Enter on the line re-executes the command) 1  ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXLOCAL CMDSENDERCOLLECTS:" - locator resolved to <main class="v-main">…</main> - unexpected value "Select TargetINSTSelect TargetSelect PacketCLEARSelect PacketSendDescription: Clears counters on the INST instrument (HAZARDOUS)Status: Hazardous command not sent Editable Command History: (Pressing Enter on the line re-executes the command) 1  ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[chromium] › command-sender.spec.ts:238:5 › handles array values: playwright/tests/command-sender.spec.ts#L247
4) [chromium] › command-sender.spec.ts:238:5 › handles array values ────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: locator('main') Expected string: "cmd(\"INST ARYCMD with ARRAY [ 1, 2, 3, 4 ], CRC 0\") sent" Received string: "Select TargetINSTSelect TargetSelect PacketARYCMDSelect PacketSendDescription: Command with array parameter Parameters SearchNameValue or StateUnitsRangeDescriptionARRAYN/AArray parameterCRC0..255CRCStatus: Error sending INST ARYCMD due to RuntimeError: values must be an Array type class is Integer Editable Command History: (Pressing Enter on the line re-executes the command) 1  ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" Call log: - expect.toContainText with timeout 10000ms - waiting for locator('main') - locator resolved to <main class="v-main">…</main> - unexpected value "Select TargetINSTSelect TargetSelect PacketARYCMDSelect PacketSendDescription: Command with array parameter Parameters SearchNameValue or StateUnitsRangeDescriptionARRAYN/AArray parameterCRC0..255CRCStatus: Error sending INST ARYCMD due to RuntimeError: values must be an Array type class is Integer Editable Command History: (Pressing Enter on the line re-executes the command) 1  ההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" - locator resolved to <main class="v-main">…</main> - unexpected value "Select TargetINSTSelect TargetSelect PacketARYCMDSelect PacketSendDescription: Command with array parameter Parameters SearchNameValue or StateUnitsRangeDescriptionARRAYN/AArray parameterCRC0..255CRCStatus: Error sending INST ARYCMD due to RuntimeError: values must be an Array type class is Integer Editable Command History: (Pressing Enter on the line re-executes the command) 1  הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
[chromium] › script-runner/file-menu.spec.ts:38:5 › open a file: playwright/tests/script-runner/file-menu.spec.ts#L93
5) [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') - locator resolved to <div id="sr-controls" data-v-b507990b="">…</div> - unexpected value "FilenameINST2/procedures/metadata.pyFilenameScript IDScript IDScript StateScript State Start " - locator resolved to <div id="sr-controls" data-v-b507990b="">…</div> - unexpected value "FilenameINST2/procedures/metadata.pyFilenameScript IDScript IDScript StateScript State Start " - locator resolved to <div id="sr-controls" data-v-b507990b="">…</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
Process completed with exit code 1.
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] › script-runner/api.spec.ts#L1
playwright/[chromium] › script-runner/api.spec.ts took 1.8m
Slow Test: playwright/[chromium] › bucket-explorer.spec.ts#L1
playwright/[chromium] › bucket-explorer.spec.ts took 1.1m
Slow Test: playwright/[chromium] › packet-viewer.spec.ts#L1
playwright/[chromium] › packet-viewer.spec.ts took 1.0m
🎭 Playwright Run Summary
209 did not run
🎭 Playwright Run Summary
2 failed [chromium] › tlm-viewer.spec.ts:85:5 › displays INST COMMANDING ──────────────────────────────── [chromium] › tlm-viewer.spec.ts:142:5 › displays INST LAUNCHER ───────────────────────────────── 3 flaky [chromium] › command-sender.spec.ts:111:5 › warns for hazardous commands ─────────────────────── [chromium] › command-sender.spec.ts:238:5 › handles array values ─────────────────────────────── [chromium] › script-runner/file-menu.spec.ts:38:5 › open a file ──────────────────────────────── 2 skipped 201 passed (22.2m)
🎭 Playwright Run Summary
2 passed (6.8s)

Artifacts

Produced during runtime
Name Size
playwright
29.3 MB