dotnet / dotnet/winforms

Test failure: System.Drawing.Printing.Tests.PrintDocumentTests/DefaultPageSettings_Null_ReturnsExpected

Open
#8,812 7 comments 0 reactions 0 assignees View on GitHub
area-System.Drawing disabled-test
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

Test `System.Drawing.Printing.Tests.PrintDocumentTests/DefaultPageSettings_Null_ReturnsExpected`has failed.

Message :
```
System.DllNotFoundException : Unable to load DLL 'winspool.drv' or one of its dependencies: The specified module could not be found. (0x8007007E)
```
Stack Trace :
```
at System.Drawing.SafeNativeMethods.DocumentProperties(HandleRef hwnd, HandleRef hPrinter, String pDeviceName, IntPtr pDevModeOutput, HandleRef pDevModeInput, Int32 fMode)
at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal(String printer) in /_/src/System.Drawing.Common/src/System/Drawing/Printing/PrinterSettings.Windows.cs:line 878
at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal() in /_/src/System.Drawing.Common/src/System/Drawing/Printing/PrinterSettings.Windows.cs:line 872
at System.Drawing.Printing.PrinterSettings.GetHdevmode() in /_/src/System.Drawing.Common/src/System/Drawing/Printing/PrinterSettings.Windows.cs:line 863
at System.Drawing.Printing.PageSettings.GetPaperSize(IntPtr modeHandle) in /_/src/System.Drawing.Common/src/System/Drawing/Printing/PageSettings.Windows.cs:line 426
at System.Drawing.Printing.PageSettings.get_PaperSize() in /_/src/System.Drawing.Common/src/System/Drawing/Printing/PageSettings.Windows.cs:line 152
at System.Drawing.Printing.Tests.PrintDocumentTests.AssertDefaultPageSettings(PageSettings pageSettings) in /_/src/System.Drawing.Common/tests/Printing/PrintDocumentTests.cs:line 249
at System.Drawing.Printing.Tests.PrintDocumentTests.DefaultPageSettings_Null_ReturnsExpected() in /_/src/System.Drawing.Common/tests/Printing/PrintDocumentTests.cs:line 73
```
Build: -[20190710.51](https://mc.dot.net/#/user/dotnet-bot/pr~2Fdotnet~2Fcorefx~2Frefs~2Fheads~2Fmaster/test~2Ffunctional~2Fcli~2F~2F/20190710.51)(Master)

Failing configuration:

- Windows.Nano.1803.Amd64.Open-x64-Release

Details:
https://mc.dot.net/#/user/dotnet-bot/pr~2Fdotnet~2Fcorefx~2Frefs~2Fheads~2Fmaster/test~2Ffunctional~2Fcli~2F~2F/20190710.51/workItem/System.Drawing.Common.Tests/analysis/xunit/System.Drawing.Printing.Tests.PrintDocumentTests~2FDefaultPageSettings_Null_ReturnsExpected

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.