Hi Gary,
I've no idea why this test fails on your machin*e.
I've added a timeout and some log messages.
Could you:
- clone https://github.com/apache/logging-log4net/
- checkout Feature/696-TelnetTest-Hang
- cd src
- dotnet test ./log4net.sln --filter
'FullyQualifiedName=log4net.Tests.Appender.TelnetAppenderTest'
and send the output?
This part is relevant:
*NUnit Adapter 4.6.0.0: Test execution started*
Running selected tests in
D:\Git\apache\logging-log4net\src\log4net.Tests\bin\Debug\net8.0\log4net.Tests.dll
NUnit3TestExecutor discovered 1 of 1 NUnit test cases using Current
Discovery mode, Non-Explicit run
test: starting client ...
receiver: waiting for message 1 of client - retry 2 failed
client: starting ...
client: connected
client: has stream
client: read: TelnetAppender v1.0 (1 active connections)
receiver: waiting for message 1 of client - retry 2 succeeded
test: logging to client ...
client: read: 2025-05-11 21:51:58,185 INFO -
bae27b72-16fc-48f4-bb42-b0b34fa8d4f3
test: waiting for message of client ...
receiver: waiting for message 2 of client - retry 1 succeeded
test: canceling client ...
NUnit Adapter 4.6.0.0: Test execution complete*
Thanks.
Jan
On 5/9/25 23:10, Gary D. Gregory wrote:
Hi Jan,
I created https://issues.apache.org/jira/browse/LOG4NET-696 to attach a ZIP of
the DMP file.
Gary
On 2025/05/09 20:48:45 Jan Friedrich wrote:
Hi Gary,
it can also be called testhost.exe:
https://paste.pics/8f19f8442705005a8011d6135010a6a2
Can you find it?
Regards.
Jan
On 5/9/25 22:02, Gary D. Gregory wrote:
On 2025/05/09 18:34:29 Jan Friedrich wrote:
Can you cancel and retry?
If that doesn't work, can you create (full) dumps of mstest and
testexecutionhost with Process Explorer?
I don't see a testexecutionhost.exe or mstest.exe in Process Explorer 17.06.
Could these processes have different names on Windows 10 ([Version
10.0.19045.5737)?
TY,
Gary
https://geek-university.com/create-dump-files/
Regards.
Jan
On 5/9/25 17:17, Gary D. Gregory wrote:
It's STILL running!
✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate
[13 ms]
log4net.Tests net8.0
Testing (5046.4s)
log4net.Tests net462
Testing (5046.3s)
WDYT?
Gary
On 2025/05/09 14:22:01 "Gary D. Gregory" wrote:
On 2025/05/08 20:58:48 Jan Friedrich wrote:
Hi Gary,
thanks for reporting.
There was a bug in verify-release.ps1 due to changes of the directory
structure inside the zip file.
I've fixed the script and uploaded the new version to svn.
Can you do the following in 3.1.0?
- svn cleanup --remove-unversioned
- svn up
- ./verify-release.ps1
Hi Jan,
The above worked. I'm now building but it's taking a while:
✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestDefaultFileNameIsAGuid
[6 ms]
✅ log4net.Tests.Appender.SmtpPickupDirAppenderTest.TestOutputContainsSentDate
[13 ms]
log4net.Tests net8.0
Testing (1676.6s)
log4net.Tests net462
Testing (1676.6s)
Should it take this long?
Also, since you've updated the repo, shouldn't this call for a new RC?
Gary
Having a newer dotnet sdk (9 or 10-preview) is no problem.
Thanks.
Jan
On 5/8/25 15:42, Gary D. Gregory wrote:
dotnet test ./src/log4net.sln
MSBUILD : error MSB1009: Project file does not exist.
Switch: ./src/log4net.sln