Skip to content

tests: kill some test servers afterwards to avoid locked logfiles#7925

Closed
mback2k wants to merge 1 commit intocurl:masterfrom
mback2k:avoid-locking-up-logfiles
Closed

tests: kill some test servers afterwards to avoid locked logfiles#7925
mback2k wants to merge 1 commit intocurl:masterfrom
mback2k:avoid-locking-up-logfiles

Conversation

@mback2k
Copy link
Member

@mback2k mback2k commented Oct 29, 2021

Testing this against Azure CI to see how this turns out to avoid these messages showing up after test 1272, 1273 and 1561:

2021-10-27T23:01:59.1511713Z Found File lock of 'C:\__w\1\s\tests\log\https_stunnel.log' (234) by tstunnel.exe (8388)
2021-10-27T23:01:59.1513394Z Found File lock of 'C:\__w\1\s\tests\log\https_stunnel.log' (238) by tstunnel.exe (8388)
2021-10-27T23:01:59.1514580Z Found File lock of 'C:\__w\1\s\tests\log\gophers_server.log' (238) by tstunnel.exe (7688)
2021-10-27T23:01:59.1515684Z Found File lock of 'C:\__w\1\s\tests\log\gophers_server.log' (23C) by tstunnel.exe (7688)

@mback2k mback2k self-assigned this Oct 29, 2021
@mback2k mback2k added CI Continuous Integration tests labels Oct 29, 2021
@mback2k mback2k force-pushed the avoid-locking-up-logfiles branch from 2c3806c to 22a8d94 Compare October 30, 2021 10:52
@mback2k mback2k changed the title test1273: kill test server afterwards to avoid locked logfiles tests: kill some test servers afterwards to avoid locked logfiles Oct 30, 2021
@mback2k
Copy link
Member Author

mback2k commented Oct 30, 2021

It seems like the tests mentioned above somehow lock up tstunnel.exe logging. Killing of the related test servers has now removed the corresponding locks and allows runtests.pl to delete the log files without errors.

@mback2k mback2k marked this pull request as ready for review October 30, 2021 19:56
@mback2k mback2k requested a review from bagder October 30, 2021 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration tests

Development

Successfully merging this pull request may close these issues.

2 participants