Univention Bugzilla – Full Text Bug Listing |
Summary: | 64_udm-printers.50_create_printer_for_every_printer_URI failed | ||
---|---|---|---|
Product: | UCS Test | Reporter: | Stefan Gohmann <gohmann> |
Component: | Printserver | Assignee: | Felix Botner <botner> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | hahn |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Development Internal | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Stefan Gohmann
2015-08-07 17:40:14 CEST
r62806: * 64_udm-printers/50_create_printer_for_every_printer_URI: added more debug (Bug #39112) The output: [2015-08-08 11:46:33.391000]Creating shares/printer object with {'position': 'cn=printers,dc=autotest125,dc=local', 'set': {'spoolHost': 'slave125.autotest125.local', 'model': 'None', 'uri': 'lpd:// /tmp/aja3p67jng'}, 'bindpwd': 'univention', 'name': 'aja3p67jng', 'binddn': 'uid=Administrator,cn=users,dc=autotest125,dc=local'} [2015-08-08 11:46:33.624362]Waiting for replication: [2015-08-08 11:46:33.761402]CRITICAL: no change of listener transaction id for last 0 checks (nid=2593 lid=2592) [2015-08-08 11:46:34.829157]OK: replication complete (nid=2593 lid=2593) [2015-08-08 11:46:34.830620]Done: replication complete. [2015-08-08 11:46:34.876150]stdout from lpstat -p: [2015-08-08 11:46:34.876171]stderr from lpstat -p: lpstat: Verbindungsaufbau abgelehnt [2015-08-08 11:46:34.876179]### FAIL ### r62835: * 64_udm-printers/50_create_printer_for_every_printer_URI: in case of an error, wait for 30 seconds and try again (Bug #39112) *** Bug 38320 has been marked as a duplicate of this bug. *** (In reply to Stefan Gohmann from comment #3) > r62835: > * 64_udm-printers/50_create_printer_for_every_printer_URI: in case of > an error, wait for 30 seconds and try again (Bug #39112) The same, so I guess it is not a timing issue and cups is not running after the setup has been finished. I've changed the test case, the test case does not fail any more if the printer is not enabled. Please have a look. univention-printserver is installed before the initial setup. During installation we set cups/systemgroup=Printer-Admins,lp, but "Printer-Admin" does not exist at this point. The cups restart in the univention-printserver.postinst fails, syslog: cupsd: Unknown SystemGroup "Printer-Admins lp" on line 25 of /etc/cups/cups-files.conf. cupsd: Unable to read "/etc/cups/cups-files.conf" due to errors. and we never restart cups again (not even in the join script). So this is not a problem with the test and it also happens on non-master systems if univention-printserver is installed before the join. We should restart cups in the join script (at this point both system group exists and cups should start fine). Create Bug #40591 for cups restart and re enabled test, should fail until Bug #40591 is fixed For this bug is no separate QA needed. |