Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky browsertests failures on Linux with "websocket url timeout reached" and "could not unmarshal event" errors #925

Open
aalexand opened this issue Jan 24, 2025 · 0 comments
Labels
Priority: p2 Buganizer priority - P2 type: cleanup Buganizer type - Internal Cleanup

Comments

@aalexand
Copy link
Collaborator

Here is an example failure, the error messages are like

++ go test ./...
--- FAIL: TestTopTable (20.06s)
    browser_test.go:77: websocket url timeout reached
2025/01/24 02:30:57 ERROR: could not unmarshal event: parse error: expected string near offset 384 of 'cookiePart...'
2025/01/24 02:30:57 ERROR: could not unmarshal event: parse error: expected string near offset 287 of 'cookiePart...'
2025/01/24 02:30:57 ERROR: could not unmarshal event: parse error: expected string near offset 384 of 'cookiePart...'
2025/01/24 02:30:58 ERROR: could not unmarshal event: parse error: expected string near offset 287 of 'cookiePart...'
FAIL

I filed a chromedp question at chromedp/chromedp#1536, no answers so far.

One note is that we don't currently use the latest version of chromedp: https://github.com/google/pprof/blob/main/browsertests/go.mod is at 0.9.2 and https://github.com/chromedp/chromedp/tags lists 0.12.1 as the most recent version. We can't upgrade easily right now though because chromedp appears to require Go 1.23 and pprof supports two latest Go versions so it's 1.23 and 1.22 right now.

@aalexand aalexand added Priority: p2 Buganizer priority - P2 type: cleanup Buganizer type - Internal Cleanup labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: p2 Buganizer priority - P2 type: cleanup Buganizer type - Internal Cleanup
Projects
None yet
Development

No branches or pull requests

1 participant