cups icon indicating copy to clipboard operation
cups copied to clipboard

Why macOS tests take so long

Open AZero13 opened this issue 1 year ago • 5 comments

The issue is not cups in itself, but macOS macOS has cups running in the background, owned by the root user. This process immediately respawns even when one force-quits the process.

As a result, lpstat's "Waiting for jobs to finish" ALWAYS reports 1 job running, and this goes until the timeout happens

There needs to be a workaround for this when running the tests for macOS.

AZero13 avatar Apr 24 '23 13:04 AZero13

Screen Shot 2023-04-24 at 9 45 02 AM

AZero13 avatar Apr 24 '23 13:04 AZero13

Update: Now happening on linux when I compile with clang and run the tests @michaelrsweet compiler bug maybe?

AZero13 avatar May 12 '23 16:05 AZero13

No, it is using the wrong domain socket. Investigating...

michaelrsweet avatar Jun 02 '23 17:06 michaelrsweet

No, it is using the wrong domain socket. Investigating...

CUPS or lstat? what is using the wrong socket?

AZero13 avatar Jul 22 '23 16:07 AZero13

CUPS

michaelrsweet avatar Jul 23 '23 22:07 michaelrsweet

Hmm, I can no longer reproduce this issue but there have been a bunch of fixes in the last year...

michaelrsweet avatar Apr 04 '24 15:04 michaelrsweet

Looks like things started working after my CUPS-Create-Local-Printer fixes in 9383b37...

michaelrsweet avatar Apr 04 '24 15:04 michaelrsweet