Comments (9)
OK, so this is another issue with ipptool - if the repeat limit is reached that is supposed to be a FAIL.
from ippeveselfcert.
Fix committed to ippsample project... Will get mirrored here as soon as the CUPS 2.2.4 work is complete.
[master 5b43e67] ipptool did not error out when a repeated test failed #20
from ippeveselfcert.
So I guess the source of the problem was a corner case with the handling of an out-of-range or unexpected value when handling "WITH-VALUE >6", because if I do something like the test below, the test fails as expected (FAIL and return value != 0) even before the fix:
{
DELAY 5
NAME "Get printer-uuid using an IPP Get-Printer-Attributes operation"
OPERATION Get-Printer-Attributes
Version 2.0
GROUP operation
ATTR charset attributes-charset utf-8
ATTR language attributes-natural-language en
ATTR uri printer-uri $uri
ATTR keyword requested-attributes printer-uuid
STATUS successful-ok
EXPECT printer-fake-attribute REPEAT-NO-MATCH REPEAT-LIMIT 5
}
from ippeveselfcert.
Yeah, the code was inconsistent about adding error messages to the current test when repeat was in use. Once I fixed that the test would consistently fail once the repeat limit was exceeded.
from ippeveselfcert.
While I am happy that reaching repeat limits will cause a failure with the new ipptool version, I wanted to remind this thread that a higher limit is necessary for slower printer mechanisms (6 ppm ISO color)
from ippeveselfcert.
One of the other changes coming in ipptool is the ability to control the delay interval between repeats - previously it varied from 1 to 8 seconds (average about 6 seconds), so it was difficult to control the total amount of time provided for the test to succeed. Now we'll be able to specify a fixed interval along with the number of retries so that we can provide enough time, even for the slowest printers.
from ippeveselfcert.
@rodriere what time limit do you suggest?
from ippeveselfcert.
@wifiprintguy We found printers that could take about 60 iterations (~ 2 minutes) to print the color.jpg and pass tests using the released ipptool version but I advised a REPEAT-LIMIT of 100 so that we don't revisit this issue again. However, if delays will be included within each repeat on the newer ipptool, then I suppose another fix could be to add a small delay while increasing the limit slightly.
from ippeveselfcert.
I've merged the CUPS upstream changes into the ippeveselfcert repository, so all of the changes needed to support this change are now in place.
from ippeveselfcert.
Related Issues (20)
- ippfind can't detect Xerox WorkCentre 3025BI printer HOT 1
- ippevesubmit: insert dates for plist files, not date when tool was run HOT 1
- Build on macOS arm64 builds arm64e which doesn't work HOT 1
- DNS-SD tests not working properly on Windows HOT 4
- Self-Certification Tool categorizes A3 printer as A4 one HOT 4
- Set the "job-name" attribute using the test name HOT 1
- ippevesubmit: Add build / release name to JSON header HOT 1
- ipptool reports values from previous response when no response returned HOT 1
- Fix I-20 messaging to make it clear "Insert Paper" isn't a requirement HOT 1
- I-10: Allow "rangeOfInteger" values for "media-col-database" >> "media-size" members HOT 3
- document-tests.test: Convert all uses of Print-Job to instead use Create-Job / Send-Document HOT 1
- document-tests.sh: provide "ipptool" with "-T 120" option to increase the timeout time HOT 3
- document-tests.sh: provide "ipptool" with "-T 240" option to increase the timeout time HOT 1
- media-ready values with 0 "long dimension" fail HOT 1
- IPP Everywhere Self-Cert Tool Issue with Roll Media HOT 1
- ipp-tests.test: I-10 fails with a legal "media-ready" media size name HOT 1
- D-1.3 Document Test Fails on Windows HOT 8
- IPP Everywhere Printer Self-Certification Results HOT 3
- Add ippeveselfcert version/date to JSON output
- Document Tests D-2.4 / D-2.5 / D-3.5 / D-3.6 fail if printer doesn't support US Letter or A4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ippeveselfcert.