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

itest: kill lnd on windows to access log files #8015

Closed

Conversation

guggero
Copy link
Collaborator

@guggero guggero commented Sep 20, 2023

For some reason lnd doesn't properly shut down on some windows itests, and the process still running makes it impossible to access its log files.
So for the Windows integration test, we attempt to kill the whole process tree once the process indicates it is done.

@guggero guggero force-pushed the itest-killall branch 7 times, most recently from 160d884 to 9b41863 Compare September 20, 2023 18:10
@guggero
Copy link
Collaborator Author

guggero commented Sep 21, 2023

@yyforyongyu yesss, this latest version seems to work (going to clean up the diff again now). Here's the log of the node that didn't want to shut down:
31-multi_hop_htlc_remote_chain_claim-Bob-tmp__.log

@yyforyongyu
Copy link
Member

@yyforyongyu yesss, this latest version seems to work (going to clean up the diff again now). Here's the log of the node that didn't want to shut down: 31-multi_hop_htlc_remote_chain_claim-Bob-tmp__.log

Yeaaah finally!🎉

@lightninglabs-deploy
Copy link

@guggero, remember to re-request review from reviewers when ready

@yyforyongyu yyforyongyu added this to the v0.18.0 milestone Oct 9, 2023

- name: build release for all architectures
run: make release
# TODO(guggero): revert when the windows itest is working.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's do this and let it run and merge it?🤩

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Changed the base to 0-18-staging-rebased, as we are dependent on #8067 (the itest_parallel.sh was only added there).

For some reason lnd doesn't properly shut down on some windows itests,
and the process still running makes it impossible to access its log
files.
So for the Windows integration test, we attempt to kill the whole
process tree once the process indicates it is done.
@guggero guggero changed the base branch from 0-18-staging to 0-18-staging-rebased October 9, 2023 08:42
@guggero guggero deleted the branch lightningnetwork:0-18-staging-rebased October 9, 2023 19:59
@guggero guggero closed this Oct 9, 2023
@guggero
Copy link
Collaborator Author

guggero commented Oct 9, 2023

Oops, closed by accident by deleting the 0-18-staging-rebased branch. Re-opening re-based on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants