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

[bug]: forward_interceptor_restart Received unexpected error EOF #9443

Open
yyforyongyu opened this issue Jan 24, 2025 · 1 comment
Open
Labels
bug Unintended code behaviour itests Issues related to integration tests. needs triage test flake

Comments

@yyforyongyu
Copy link
Member

Have seen this couple times, one example from this build.

--- FAIL: TestLightningNetworkDaemon (264.33s)
    harness_setup.go:25: Setting up HarnessTest...
    harness_setup.go:38: Prepare the miner and mine blocks to activate segwit...
    harness_setup.go:46: Connecting the miner at 127.0.0.1:10033 with the chain backend...
    --- FAIL: TestLightningNetworkDaemon/tranche02/43-of-269/btcd/forward_interceptor_restart (29.41s)
        harness_node.go:403: Starting node (name=Alice) with PID=18049
        harness_node.go:403: Starting node (name=Bob) with PID=18109
        harness_node.go:403: Starting node (name=Carol) with PID=18129
        harness_node.go:403: Starting node (name=Dave) with PID=18171
        harness_node.go:403: Starting node (name=Bob) with PID=18581
        harness_node.go:403: Starting node (name=Alice) with PID=18611
        lnd_forward_interceptor_test.go:666: 
            	Error Trace:	/home/runner/work/lnd/lnd/itest/lnd_forward_interceptor_test.go:666
            	            				/home/runner/work/lnd/lnd/lntest/harness.go:297
            	            				/home/runner/work/lnd/lnd/itest/lnd_test.go:130
            	Error:      	Received unexpected error:
            	            	EOF
            	Test:       	TestLightningNetworkDaemon/tranche02/43-of-269/btcd/forward_interceptor_restart
            	Messages:   	failed to send request
        harness.go:375: finished test: forward_interceptor_restart, start height=562, end height=569, mined blocks=7
        harness.go:334: test failed, skipped cleanup
    lnd_test.go:138: Failure time: 2025-01-24 11:00:56.443
FAIL
@yyforyongyu yyforyongyu added bug Unintended code behaviour itests Issues related to integration tests. needs triage test flake labels Jan 24, 2025
@yyforyongyu
Copy link
Member Author

Another related flake, from this build

--- FAIL: TestLightningNetworkDaemon/tranche03/133-of-267/bitcoind/forward_interceptor (126.84s)
        harness_node.go:403: Starting node (name=Alice) with PID=13427
        harness_node.go:403: Starting node (name=Bob) with PID=13479
        harness_node.go:403: Starting node (name=Carol) with PID=13501
        harness_node.go:403: Starting node (name=Alice) with PID=13648
        harness.go:375: finished test: forward_interceptor, start height=840, end height=847, mined blocks=7
        harness.go:426: unable to shutdown Carol, got err: [Carol]: assert shutdown failed in log[.logs-tranche3/85-forward_interceptor-Carol-0285026c.log]: node did not shut down properly: found log lines: RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping NeutrinoKitRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping VersionRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping WalletKitRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping WatchtowerRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping InvoicesRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping RouterRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping AutopilotRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping ChainRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping SignRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping WatchtowerClientRPC Sub-RPC Server
            2025-02-18 14:12:09.616 [INF] LNWL estimator.go:877: Stopping web API fee estimator
        harness.go:429: 
            	Error Trace:	/home/runner/work/lnd/lnd/lntest/harness.go:429
            	            				/home/runner/work/lnd/lnd/lntest/harness.go:348
            	            				/opt/hostedtoolcache/go/1.23.6/x64/src/testing/testing.go:1176
            	            				/opt/hostedtoolcache/go/1.23.6/x64/src/testing/testing.go:1354
            	            				/opt/hostedtoolcache/go/1.23.6/x64/src/testing/testing.go:1684
            	Error:      	Received unexpected error:
            	            	[Carol]: assert shutdown failed in log[.logs-tranche3/85-forward_interceptor-Carol-0285026c.log]: node did not shut down properly: found log lines: RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping NeutrinoKitRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping VersionRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping WalletKitRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping WatchtowerRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping InvoicesRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping RouterRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping AutopilotRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping ChainRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping SignRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] RPCS rpcserver.go:1008: Stopping WatchtowerClientRPC Sub-RPC Server
            	            	2025-02-18 14:12:09.616 [INF] LNWL estimator.go:877: Stopping web API fee estimator
            	Test:       	TestLightningNetworkDaemon/tranche03/133-of-267/bitcoind/forward_interceptor
            	Messages:   	failed to shutdown all nodes
    lnd_test.go:138: Failure time: 2025-02-18 14:13:39.626

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unintended code behaviour itests Issues related to integration tests. needs triage test flake
Projects
None yet
Development

No branches or pull requests

1 participant