CI flake `test_websocket` on macos
维护者通常 2 天内回复
@nGoline 已经在做这个了。
开始于 2026年7月17日。
评估
这个 Issue 还没有评估数据。
描述
this test is still flaky after https://github.com/ElementsProject/lightning/pull/9148:
node_factory = <pyln.testing.utils.NodeFactory object at 0x104d55000>
def test_websocket(node_factory):
ws_port = node_factory.get_unused_port()
port = node_factory.get_unused_port()
> l1, l2 = node_factory.line_graph(2,
opts=[{'addr': ':' + str(port),
'bind-addr': 'ws:127.0.0.1: ' + str(ws_port),
'dev-allow-localhost': None},
{'dev-allow-localhost': None}],
wait_for_announce=True)
tests/test_connection.py:3924:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
contrib/pyln-testing/pyln/testing/utils.py:1971: in line_graph
self.join_nodes(nodes, fundchannel, fundamount, wait_for_announce, announce_channels)
contrib/pyln-testing/pyln/testing/utils.py:1935: in join_nodes
txids.append(src.rpc.fundchannel(dst.info['id'], fundamount, announce=announce_channels)['txid'])
contrib/pyln-client/pyln/client/lightning.py:807: in fundchannel
return self.call("fundchannel", payload)
contrib/pyln-testing/pyln/testing/utils.py:922: in call
res = LightningRpc.call(self, method, payload, cmdprefix, filter)
contrib/pyln-client/pyln/client/lightning.py:404: in call
resp, buf = self._readobj(sock, buf)
contrib/pyln-client/pyln/client/lightning.py:321: in _readobj
b = sock.recv(max(1024, len(buff)))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pyln.client.lightning.UnixSocket object at 0x103962b60>, length = 1024
def recv(self, length: int) -> bytes:
if self.sock is None:
raise socket.error("not connected")
> return self.sock.recv(length)
E Failed: Timeout (>1800.0s) from pytest-timeout.
contrib/pyln-client/pyln/client/lightning.py:290: Failed
interesting log entries:
connectd: Created listener on [::]:49311
connectd: Failed to connect 30 socket: No route to host
connectd: Created listener on 0.0.0.0:49311
full run example:
https://github.com/ElementsProject/lightning/actions/runs/29491200333/job/87597479663?pr=9188
- 主要语言
- C
- 星标
- 3.1k
- 派生
- 1k
- 平均合并
- 3 天 10 小时
- 30 天内合并 PR
- 40
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ElementsProject/lightning 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
ElementsProject/lightning#9593 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ElementsProject/lightning#9322 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ElementsProject/lightning#9206 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ElementsProject/lightning#9187 · 1 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
QA
难度 1/5 1 小时以内 新手友好度 88/100
ElementsProject/lightning#9117 · 2 条评论 ·
维护者通常 2 天内回复
查看 ElementsProject/lightning 的全部 Issue
相似的 Issue
-
area:http-gateway good first issue priority:low type:docs
难度 2/5 1-3 小时 新手友好度 88/100
crazy-goat/php-fpm-ng#828 ·
维护者通常 1 天内回复
-
area:docs good first issue type:docs
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
CVE-2026-18839 popt: size_t underflow in `singleOptionHelp`可能已有人在做 @pmatilai 于 34 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
rpm-software-management/popt#143 ·
-
难度 1/5 1 小时以内 新手友好度 85/100