Tests flaking due to `websocket url timeout reached`
@richvdh 已经在做这个了。
开始于 2026年3月18日。
评估
这个 Issue 还没有评估数据。
描述
In https://github.com/matrix-org/matrix-js-sdk/pull/4566, the complement crypto test failed twice. It looks like it fails on the first test being run, timing out on initialization. So a timeout probably needs to be increased somewhere.
Output of the failure:
2024/12/04 11:41:33 Sharing [SERVER_NAME=hs1 SYNAPSE_COMPLEMENT_DATABASE=sqlite] host environment variables with container
2024/12/04 11:41:40 Sharing [SERVER_NAME=hs2 SYNAPSE_COMPLEMENT_DATABASE=sqlite] host environment variables with container
**********************************************************************************************
Ryuk has been disabled for the current execution. This can cause unexpected behavior in your environment.
More on this: https://golang.testcontainers.org/features/garbage_collector/
**********************************************************************************************
2024/12/04 11:41:46 github.com/testcontainers/testcontainers-go - Connected to docker:
Server Version: 26.1.3
API Version: 1.45
Operating System: Ubuntu 22.04.5 LTS
Total Memory: 15981 MB
Resolved Docker Host: unix:///var/run/docker.sock
Resolved Docker Socket Path: /var/run/docker.sock
Test SessionID: 68f4e740a8b5bc1b66c578875a8351e0820b0aa00d63f66e510201081bf77751
Test ProcessID: 566213f1-3462-4f54-9753-919dca62ac31
2024/12/04 11:41:46 🐳 Creating container for image mitmproxy/mitmproxy:10.1.5
2024/12/04 11:41:46 ✅ Container created: 2224e487dd3b
2024/12/04 11:41:46 🐳 Starting container: 2224e487dd3b
2024/12/04 11:41:46 ✅ Container started: 2224e487dd3b
2024/12/04 11:41:46 🚧 Waiting for container id 2224e487dd3b image: mitmproxy/mitmproxy:10.1.5. Waiting for: &{timeout:<nil> Log:loading complement crypto addons IsRegexp:false Occurrence:1 PollInterval:100ms}
2024/12/04 11:41:50 🔔 Container is ready: 2224e487dd3b
deploy.go:205: ComplementCryptoDeployment created (network=complement_crypto_dirty):
deploy.go:206: NAME INT EXT
deploy.go:207: synapse: hs1 http://127.0.0.1:32769/ (rp=http://127.0.0.1:32777)
deploy.go:208: synapse: hs2 http://127.0.0.1:32774/ (rp=http://127.0.0.1:32776)
deploy.go:209: mitmproxy: mitmproxy controller=http://127.0.0.1:32775/
client.go:685: [CSAPI] POST hs1/_matrix/client/v3/register => 200 OK (20.990225ms)
client.go:685: [CSAPI] POST hs1/_matrix/client/v3/register => 200 OK (16.981548ms)
client.go:685: [CSAPI] POST hs1/_matrix/client/v3/createRoom => 200 OK (99.561305ms)
JS SDK listening on http://127.0.0.1:45249/
lang_jssdk.go:42: must.NotError: NewJSClient: %s -> failed to RunHeadless: failed to navigate to http://127.0.0.1:45249: websocket url timeout reached
- 主要语言
- Go
- 星标
- 20
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
matrix-org/complement-crypto 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
matrix-org/complement-crypto#268 ·
-
难度 3/5 1-2 天 新手友好度 35/100
matrix-org/complement-crypto#212 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
matrix-org/complement-crypto#199 ·
-
难度 4/5 3-5 天 新手友好度 45/100
matrix-org/complement-crypto#193 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 22/100
matrix-org/complement-crypto#145 · 2 条评论 ·
查看 matrix-org/complement-crypto 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
blinklabs-io/dingo#5636 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
JetBrains/youtrack-cli#130 ·
维护者通常 1 天内回复
-
kind/bug needs-triage sig/release
难度 2/5 1-3 小时 新手友好度 73/100
kubernetes/kubernetes#143392 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 61/100
维护者通常 1 天内回复
-
stage-fail
难度 1/5 1 小时以内 新手友好度 72/100
siyuan-note/bazaar#2405 ·
维护者通常 1 天内回复