e2e-flakiness-detector #250
Annotations
18 errors and 2 notices
test-e2e (windows)
The hosted runner: GitHub Actions 53 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
|
chat-atFile.test.ts:358:3 › Add Selection to Cody Chat:
vscode\test\e2e\chat-atFile.test.ts#L365
1) chat-atFile.test.ts:358:3 › Add Selection to Cody Chat ────────────────────────────────────────
Error: Timed out 2000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
- Expected - 4
+ Received + 1
- Array [
- "buzz.ts",
- "buzz.ts:2-5",
- ]
+ Array []
Call log:
- expect.toHaveText with timeout 2000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
363 |
364 | const [, lastChatInput] = await createEmptyChatPanel(page)
> 365 | await expect(chatInputMentions(lastChatInput)).toHaveText(['buzz.ts', 'buzz.ts:2-5'], {
| ^
366 | timeout: 2_000,
367 | })
368 |
at D:\a\cody\cody\vscode\test\e2e\chat-atFile.test.ts:365:52
|
chat-atFile.test.ts:358:3 › Add Selection to Cody Chat:
vscode\test\e2e\chat-atFile.test.ts#L1
1) chat-atFile.test.ts:358:3 › Add Selection to Cody Chat ────────────────────────────────────────
Error: EBUSY: resource busy or locked, rename 'D:\a\cody\cody\playwright\Add_Selection_to_Cody_Chat\temp-videos\31f69f1d6c27b8818f7a161cc64a2823.webm' -> 'D:\a\cody\cody\playwright\Add_Selection_to_Cody_Chat\videos\run_0_retry_0_failure.webm'
|
command-edit.test.ts:144:1 › edit (fixup) input - model selection:
vscode\test\e2e\command-edit.test.ts#L160
2) command-edit.test.ts:144:1 › edit (fixup) input - model selection ─────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a')
- locator resolved to <a class="label-name">…</a>
- unexpected value "hidden"
- locator resolved to <a class="label-name">…</a>
- unexpected value "hidden"
- locator resolved to <a class="label-name">…</a>
- unexpected value "hidden"
- locator resolved to <a class="label-name">…</a>
- unexpected value "hidden"
158 | const modelItem = page.getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a')
159 | await nap()
> 160 | expect(modelItem).toBeVisible()
| ^
161 |
162 | // Open the model input and check it has the correct item selected
163 | await modelItem.click()
at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:160:23
|
command-edit.test.ts:106:1 › edit (fixup) input - range selection:
vscode\test\e2e\command-edit.test.ts#L124
3) command-edit.test.ts:106:1 › edit (fixup) input - range selection ─────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByText('Nearest Code Block')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Nearest Code Block')
122 | // Check the correct range item is auto-selected
123 | const rangeItem = page.getByText('Nearest Code Block')
> 124 | expect(rangeItem).toBeVisible()
| ^
125 |
126 | // Open the range input and check it has the correct item selected
127 | await rangeItem.click()
at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:124:23
|
command-edit.test.ts:106:1 › edit (fixup) input - range selection:
vscode\test\e2e\command-edit.test.ts#L129
4) command-edit.test.ts:106:1 › edit (fixup) input - range selection ─────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByLabel('check file-code Nearest Code Block')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByLabel('check file-code Nearest Code Block')
127 | await rangeItem.click()
128 | const selectedRangeItem = page.getByLabel('check file-code Nearest Code Block')
> 129 | expect(selectedRangeItem).toBeVisible()
| ^
130 |
131 | // Open the symbols input and check it has the correct item selected
132 | const symbolitem = page.getByText('Select a Symbol...')
at D:\a\cody\cody\vscode\test\e2e\command-edit.test.ts:129:31
|
enterprise-cody-ignore.test.ts:43:7 › using actively invoked commands and autocomplete shows a error:
vscode\test\e2e\enterprise-cody-ignore.test.ts#L1
5) enterprise-cody-ignore.test.ts:43:7 › using actively invoked commands and autocomplete shows a error
Test timeout of 30000ms exceeded.
|
enterprise-cody-ignore.test.ts:43:7 › using actively invoked commands and autocomplete shows a error:
vscode\test\e2e\enterprise-cody-ignore.test.ts#L1
5) enterprise-cody-ignore.test.ts:43:7 › using actively invoked commands and autocomplete shows a error
Error: EBUSY: resource busy or locked, rename 'D:\a\cody\cody\playwright\using_actively_invoked_commands_and_autocomplete_shows_a_error\temp-videos\746ec8782538fe53f197e5ce6c3ff0b6.webm' -> 'D:\a\cody\cody\playwright\using_actively_invoked_commands_and_autocomplete_shows_a_error\videos\run_2_retry_0_failure.webm'
|
enterprise-cody-ignore.test.ts:43:7 › using actively invoked commands and autocomplete shows a error:
vscode\test\e2e\enterprise-cody-ignore.test.ts#L73
5) enterprise-cody-ignore.test.ts:43:7 › using actively invoked commands and autocomplete shows a error
Error: locator.hover: Target page, context or browser has been closed
Call log:
- waiting for getByRole('button', { name: 'ignored' })
71 | name: 'ignored', //TODO(rnauta): migrate this test to e2ev2 and use StatusBar tags
72 | })
> 73 | await statusBarButton.hover()
| ^
74 | await expect(statusBarButton).toBeVisible()
75 |
76 | // Clicking on the Cody icon shows a message
at D:\a\cody\cody\vscode\test\e2e\enterprise-cody-ignore.test.ts:73:31
|
initial-context.test.ts:83:82 › chat try-again actions:
vscode\test\e2e\helpers.ts#L381
6) initial-context.test.ts:83:82 › chat try-again actions ────────────────────────────────────────
Error: Failed to rmSync C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsce7NSxGC after 5 attempts: Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsce7NSxGC\Crashpad\reports\2bafb95f-779a-41d4-ac36-06a61aef0117.dmp'
at helpers.ts:381
379 | } catch (error) {
380 | if (attempts === 1) {
> 381 | throw new Error(`Failed to rmSync ${path} after ${maxAttempts} attempts: ${error}`)
| ^
382 | }
383 |
384 | await new Promise(resolve => setTimeout(resolve, 100))
at rmSyncWithRetries (D:\a\cody\cody\vscode\test\e2e\helpers.ts:381:23)
at Object.app (D:\a\cody\cody\vscode\test\e2e\helpers.ts:262:13)
|
mention-repository.test.ts:14:18 › @-mention repository:
vscode\test\e2e\helpers.ts#L381
7) mention-repository.test.ts:14:18 › @-mention repository ───────────────────────────────────────
Error: Failed to rmSync C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceyYdoB4 after 5 attempts: Error: EBUSY: resource busy or locked, unlink '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\cody-vsceyYdoB4\Crashpad\reports\e6689e1e-0ece-4339-a77b-2f217f114170.dmp'
at helpers.ts:381
379 | } catch (error) {
380 | if (attempts === 1) {
> 381 | throw new Error(`Failed to rmSync ${path} after ${maxAttempts} attempts: ${error}`)
| ^
382 | }
383 |
384 | await new Promise(resolve => setTimeout(resolve, 100))
at rmSyncWithRetries (D:\a\cody\cody\vscode\test\e2e\helpers.ts:381:23)
at Object.app (D:\a\cody\cody\vscode\test\e2e\helpers.ts:262:13)
|
chat-atFile.test.ts:35:3 › @-mention file in chat:
vscode/test/e2e/chat-atFile.test.ts#L89
1) chat-atFile.test.ts:35:3 › @-mention file in chat ─────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('option', { name: 'Main.java' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('option', { name: 'Main.java' })
87 | await chatInput.fill('')
88 | await chatInput.pressSequentially('@mj', { delay: 350 })
> 89 | await expect(chatPanelFrame.getByRole('option', { name: 'Main.java' })).toBeVisible()
| ^
90 | await chatInput.fill('clear')
91 |
92 | // Searching and clicking
at /home/runner/work/cody/cody/vscode/test/e2e/chat-atFile.test.ts:89:77
|
chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection:
vscode/test/e2e/chat-keyboard-shortcuts.test.ts#L1
2) chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection ─────────────────────────
Test timeout of 30000ms exceeded.
|
chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection:
vscode/test/e2e/common.ts#L179
2) chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection ─────────────────────────
Error: locator.fill: Target page, context or browser has been closed
Call log:
- waiting for getByPlaceholder('Type the name of a command to run.')
- locator resolved to <input wrap="off" type="text" class="input" role="combobox" autocorrect="off" spellcheck="false" aria-label="input" custom-hover="true" autocapitalize="off" aria-haspopup="menu" aria-expanded="true" aria-autocomplete="list" aria-controls="quickInput_list" aria-activedescendant="list_id_4_0" aria-describedby="quickInput_message" placeholder="Type the name of a command to run."/>
- fill("buzz.ts")
- attempting fill action
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #1
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and editable
- element is not visible
|
uninstall.test.ts:7:5 › uninstall extension:
vscode/test/e2e/common.ts#L54
3) uninstall.test.ts:7:5 › uninstall extension ───────────────────────────────────────────────────
TimeoutError: page.click: Timeout 30000ms exceeded.
Call log:
- waiting for locator('[aria-label="Cody"]')
at common.ts:54
52 | // In case the cody sidebar isn't focused, select it.
53 | while (!(await isSidebarVisible(page))) {
> 54 | await page.click('[aria-label="Cody"]')
| ^
55 | }
56 | }
57 |
at focusSidebar (/home/runner/work/cody/cody/vscode/test/e2e/common.ts:54:20)
at signin (/home/runner/work/cody/cody/vscode/test/e2e/uninstall.test.ts:65:5)
at /home/runner/work/cody/cody/vscode/test/e2e/uninstall.test.ts:50:5
|
uninstall.test.ts:7:5 › uninstall extension:
vscode/test/e2e/common.ts#L54
4) uninstall.test.ts:7:5 › uninstall extension ───────────────────────────────────────────────────
TimeoutError: page.click: Timeout 30000ms exceeded.
Call log:
- waiting for locator('[aria-label="Cody"]')
at common.ts:54
52 | // In case the cody sidebar isn't focused, select it.
53 | while (!(await isSidebarVisible(page))) {
> 54 | await page.click('[aria-label="Cody"]')
| ^
55 | }
56 | }
57 |
at focusSidebar (/home/runner/work/cody/cody/vscode/test/e2e/common.ts:54:20)
at signin (/home/runner/work/cody/cody/vscode/test/e2e/uninstall.test.ts:65:5)
at /home/runner/work/cody/cody/vscode/test/e2e/uninstall.test.ts:50:5
|
uninstall.test.ts:7:5 › uninstall extension:
vscode/test/e2e/common.ts#L54
5) uninstall.test.ts:7:5 › uninstall extension ───────────────────────────────────────────────────
TimeoutError: page.click: Timeout 30000ms exceeded.
Call log:
- waiting for locator('[aria-label="Cody"]')
at common.ts:54
52 | // In case the cody sidebar isn't focused, select it.
53 | while (!(await isSidebarVisible(page))) {
> 54 | await page.click('[aria-label="Cody"]')
| ^
55 | }
56 | }
57 |
at focusSidebar (/home/runner/work/cody/cody/vscode/test/e2e/common.ts:54:20)
at signin (/home/runner/work/cody/cody/vscode/test/e2e/uninstall.test.ts:65:5)
at /home/runner/work/cody/cody/vscode/test/e2e/uninstall.test.ts:50:5
|
test-e2e (ubuntu)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
10 failed
chat-atFile.test.ts:358:3 › Add Selection to Cody Chat ─────────────────────────────────────────
command-edit.test.ts:144:1 › edit (fixup) input - model selection ──────────────────────────────
command-edit.test.ts:106:1 › edit (fixup) input - range selection ──────────────────────────────
command-edit.test.ts:106:1 › edit (fixup) input - range selection ──────────────────────────────
enterprise-cody-ignore.test.ts:43:7 › using actively invoked commands and autocomplete shows a error
initial-context.test.ts:83:82 › chat try-again actions ─────────────────────────────────────────
mention-repository.test.ts:14:18 › @-mention repository ────────────────────────────────────────
uninstall.test.ts:7:5 › uninstall extension ────────────────────────────────────────────────────
uninstall.test.ts:7:5 › uninstall extension ────────────────────────────────────────────────────
uninstall.test.ts:7:5 › uninstall extension ────────────────────────────────────────────────────
12 skipped
166 passed (49.5m)
|
🎭 Playwright Run Summary
5 failed
chat-atFile.test.ts:35:3 › @-mention file in chat ──────────────────────────────────────────────
chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection ──────────────────────────
uninstall.test.ts:7:5 › uninstall extension ────────────────────────────────────────────────────
uninstall.test.ts:7:5 › uninstall extension ────────────────────────────────────────────────────
uninstall.test.ts:7:5 › uninstall extension ────────────────────────────────────────────────────
30 skipped
435 passed (1.9h)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-recordings ubuntu
|
1.49 MB |
|