Adding debug logs for OleDb test failures#37825
Adding debug logs for OleDb test failures#37825saurabh500 wants to merge 5 commits intodotnet:masterfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 4 pipeline(s). |
|
Hoping to see repro on the PR :) |
|
/azp run |
|
Azure Pipelines successfully started running 4 pipeline(s). |
|
Everything you are logging here should appear in the output of |
|
@danmosemsft I was under the impression that it should be written as part of the ToString message. I sent out this PR to make sure that even if the details are not being written by the test harness, then we can capture it in the logs. I am open to any other ideas to chase down the underlying problem here. |
|
@saurabh500 I didn't mean to suggest this wasn't a good change. Just that if we weren't logging all this already we should fix that, and as far as I can tell we should be already. Let's see what you catch.. |
|
Got it. Yeah, lets see what we discover. Will keep you posted. |
|
https://mc.dot.net/#/user/dotnet-bot/pr~2Fdotnet~2Fcorefx~2Frefs~2Fpull~2F37825~2Fmerge/test~2Ffunctional~2Fcli~2Finnerloop~2F/20190520.4/workItem/System.Data.OleDb.Tests AV on Windows 8.1 in Prepare_InsertMultipleItems_UseTableDirectToVerify Same on Windows 7 plus a different test failing with COMException |
|
I have a local repro and the problem seems to lie with the side by side install of the JET and ACE oledb driver. While file reads succeed with SxS installation, the file writes lead to SEHException. I uninstalled the x64 and x86 version and I can see that the tests that were failing earlier are now passing. To fix the test runs the following need to be done
Let me know if this is an acceptable approach. I can make the code changes in the test. |
|
@danmosemsft I think the AVs maybe a side effect of both drivers being installed. |
|
Will customers hit this? Or only if they use /passive? @maryamariyan can help adjust CI setup |
|
cc: @MattGal
@saurabh500 If I am missing any other action item or misunderstood anything above please let me know. |
|
@maryamariyan LGTM |
|
@maryamariyan / @saurabh500 : can you decide exactly which course of action you'd like to take and make a PR in https://dev.azure.com/dnceng/internal/_git/dotnet-helix-machines/ to selectively undo the changes? It'd be a great test of whether folks can self-serve update their machine configurations. See the original PR to get an idea where to update. |
|
Will that fix |
|
@danmosemsft
Not sure. I dont have the error message in the repro that I have. However all outer loop tests are passing with a singe driver. |
|
Closing as #38024 got merged. |
Adding some diagnostics to get more information from the SEHException to debug OleDb Test failures in OuterLoop.
Related issue at https://github.com/dotnet/corefx/issues/37823