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

D-1.3 Document Test Fails on Windows #96

Open
jacobsb opened this issue Nov 15, 2022 · 8 comments
Open

D-1.3 Document Test Fails on Windows #96

jacobsb opened this issue Nov 15, 2022 · 8 comments
Assignees
Labels
bug Something isn't working platform issue Issue is specific to an OS or desktop priority-high

Comments

@jacobsb
Copy link

jacobsb commented Nov 15, 2022

Running IPP Everywhere™ Printer Self-Certification Tools v1.1 Update 4 on Windows, I am seeing a consistent failure on a particular document test.

Test D-1.3 Print PWG @ max resolution (black_1, gzip) fails. The same tests is passing on Mac and Linux. The test fails in what looks like the initial part of the test since it never waits for the job to complete and nothing is printed as part of the test.

Note that removing all other tests from the document-tests.test file and running just the one test results in a PASS. It seems there is something in the sequence of jobs that is spurring the failure.

Attached logs from Windows (failing) and Mac (passing)
Document Test Results plist.zip

@michaelrsweet
Copy link
Contributor

Weird, can you run the document tests with debug logging enabled? The "setdebug.bat" batch file from the repository can be used to enable it in the current session:

@rem Script to enable debug logging for IPPTOOL
set CUPS_DEBUG_LOG=ipptool.log
set CUPS_DEBUG_LEVEL=6
set "CUPS_DEBUG_FILTER=^(http|_http|ipp|_ipp|cupsDo|cupsGetResponse|cupsSend|cupsWrite)"

@michaelrsweet michaelrsweet self-assigned this Nov 17, 2022
@michaelrsweet michaelrsweet added the investigating Investigating the issue label Nov 17, 2022
@jacobsb
Copy link
Author

jacobsb commented Nov 17, 2022

Weird, can you run the document tests with debug logging enabled? The "setdebug.bat" batch file from the repository can be used to enable it in the current session:

@rem Script to enable debug logging for IPPTOOL
set CUPS_DEBUG_LOG=ipptool.log
set CUPS_DEBUG_LEVEL=6
set "CUPS_DEBUG_FILTER=^(http|_http|ipp|_ipp|cupsDo|cupsGetResponse|cupsSend|cupsWrite)"

Please see attached plist with debug
Windows-Debug Lexmark CX635adwe Document Results.plist.zip

@michaelrsweet
Copy link
Contributor

@jacobsb Sorry, I meant for you to attach the "ipptool.log" file, which is the debug log... :)

@jacobsb
Copy link
Author

jacobsb commented Nov 22, 2022

@jacobsb Sorry, I meant for you to attach the "ipptool.log" file, which is the debug log... :)

I can't find the file ipptool.log . I am opening a terminal window and running the setdebug.bat file followed by running the document-tests.bat file. When the tests complete I am searching the computer for ipptool.log but nothing is found.

@michaelrsweet
Copy link
Contributor

@jacobsb Hmm, I wonder if this is a power shell thing. OK, try the following commands before you run the document tests:

$Env:CUPS_DEBUG_LOG = "ipptool.log"
$Env:CUPS_DEBUG_LEVEL = "6"
$Env:CUPS_DEBUG_FILTER = "^(http|_http|ipp|_ipp|cupsDo|cupsGetResponse|cupsSend|cupsWrite)"

@jacobsb
Copy link
Author

jacobsb commented Nov 22, 2022

@jacobsb Hmm, I wonder if this is a power shell thing. OK, try the following commands before you run the document tests:

$Env:CUPS_DEBUG_LOG = "ipptool.log"
$Env:CUPS_DEBUG_LEVEL = "6"
$Env:CUPS_DEBUG_FILTER = "^(http|_http|ipp|_ipp|cupsDo|cupsGetResponse|cupsSend|cupsWrite)"

This is the error I get from running the first command:
C:\Program Files\IPP Everywhere v1.1 Update 4 Printer Self-Certification Tools>$Env:CUPS_DEBUG_LOG = "ipptool.log"
The filename, directory name, or volume label syntax is incorrect.

C:\Program Files\IPP Everywhere v1.1 Update 4 Printer Self-Certification Tools>

@michaelrsweet
Copy link
Contributor

I think the issue is that the Windows project files didn't have the debug logging enabled for production builds. Will make sure to fix this for the next tools release.

@michaelrsweet michaelrsweet added priority-high bug Something isn't working platform issue Issue is specific to an OS or desktop and removed investigating Investigating the issue labels Jan 11, 2023
@michaelrsweet
Copy link
Contributor

Got word out-of-band that running the Linux self-cert tools doesn't result in the same failure, so we need to see what is different between Windows and Linux...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform issue Issue is specific to an OS or desktop priority-high
Projects
None yet
Development

No branches or pull requests

2 participants