Bug 43841 - Test case 00_checks.99check_log_files fails in UCS 4.2
Test case 00_checks.99check_log_files fails in UCS 4.2
Status: CLOSED WONTFIX
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Janek Walkenhorst
Stefan Gohmann
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-13 21:23 CET by Stefan Gohmann
Modified: 2017-04-04 18:30 CEST (History)
1 user (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2017-03-13 21:23:41 CET
The test case fails in UCS 4.2: 00_checks.99check_log_files

http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-0/job/AutotestJoin/SambaVersion=s3,Systemrolle=master/lastCompletedBuild/testReport/00_checks/99check_log_files/test/

*** BEGIN *** ['/usr/bin/python', '99check_log_files'] ***
*** 00_checks/99check_log_files *** Check installation log files for errors, warnings and tracebacks ***
*** START TIME: 2017-03-12 19:11:08 ***

An error occured while trying to check the installation profile for 'call_master_joinscripts' setting: IOError(2, 'Datei oder Verzeichnis nicht gefunden') Adjusting patterns to ignore respective 'join' messages.

The file '/var/log/univention/installation.log' cannot be found, skipping...

The file '/var/log/univention/installation.log.gz' cannot be found, skipping...

The file '/var/log/univention/installer.log' cannot be found, skipping...

The file '/var/log/univention/installer.log.gz' cannot be found, skipping...

Errors found in '/var/log/univention/updater.log':

 E: updater.log:1401, libgmp10 libgpg-error0 libgssapi-krb5-2 libgssapi3-heimdal libgtk2.0-0
 E: updater.log:1744, Inst libgpg-error0 [1.10-3.1.16.201403200930] (1.17-3 Univention Corporate Server:updates-test.software-univention.de [amd64]) []
 E: updater.log:1745, Conf libgpg-error0 (1.17-3 Univention Corporate Server:updates-test.software-univention.de [amd64]) []
 E: updater.log:3179, libgmp10 libgpg-error0 libgssapi-krb5-2 libgssapi3-heimdal libgtk2.0-0
 E: updater.log:3462, Get:196 http://updates-test.software-univention.de/4.2/maintained/ 4.2-0/amd64/ libgpg-error0 1.17-3 [94.9 kB]
 E: updater.log:4301, The apache2 configtest failed, so we are trying to kill it manually. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now! ... (warning).
 E: updater.log:5573, Preparing to unpack .../libgpg-error0_1.17-3_amd64.deb ...
 E: updater.log:5574, Unpacking libgpg-error0:amd64 (1.17-3) over (1.10-3.1.16.201403200930) ...
 E: updater.log:5575, Setting up libgpg-error0:amd64 (1.17-3) ...
 E: updater.log:7436, apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/auth_pam.load: Cannot load /usr/lib/apache2/modules/mod_auth_pam.so into server: /usr/lib/apache2/modules/mod_auth_pam.so: undefined symbol: ap_log_rerror
 E: updater.log:7441, Enabling conf localized-error-pages.
 E: updater.log:7471, Starting web server: apache2 failed!
 E: updater.log:7472, The apache2 configtest failed. ... (warning).
 E: updater.log:7474, apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/auth_pam.load: Cannot load /usr/lib/apache2/modules/mod_auth_pam.so into server: /usr/lib/apache2/modules/mod_auth_pam.so: undefined symbol: ap_log_rerror
 E: updater.log:7475, Action 'configtest' failed.
 E: updater.log:7504, apache2_reload: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/auth_pam.load: Cannot load /usr/lib/apache2/modules/mod_auth_pam.so into server: /usr/lib/apache2/modules/mod_auth_pam.so: undefined symbol: ap_log_rerror
 E: updater.log:7995, Starting Univention iptables configuration::Error response from daemon: client and server don't have same version (client : 1.24, server: 1.18)
 E: updater.log:8475, Starting Univention iptables configuration::Error response from daemon: client and server don't have same version (client : 1.24, server: 1.18)
 E: updater.log:8610, apache2_reload: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/auth_pam.load: Cannot load /usr/lib/apache2/modules/mod_auth_pam.so into server: /usr/lib/apache2/modules/mod_auth_pam.so: undefined symbol: ap_log_rerror
 E: updater.log:8614, apache2_reload: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/auth_pam.load: Cannot load /usr/lib/apache2/modules/mod_auth_pam.so into server: /usr/lib/apache2/modules/mod_auth_pam.so: undefined symbol: ap_log_rerror
 E: updater.log:8758, Applying Univention Directory Policy...failed.
 E: updater.log:8899, Starting Univention iptables configuration...Failed to get D-Bus connection: Unknown error -1
 E: updater.log:9023, Starting Univention iptables configuration...Failed to get D-Bus connection: Unknown error -1
 E: updater.log:9124, Starting Univention iptables configuration...Failed to get D-Bus connection: Unknown error -1
 E: updater.log:9126, E: too few arguments for command [unset]

Warnings found in '/var/log/univention/updater.log':

 W: updater.log:4301, The apache2 configtest failed, so we are trying to kill it manually. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now! ... (warning).
 W: updater.log:4420, insserv: warning: script 'K01univention-directory-listener' missing LSB tags and overrides
 [...]

Errors found in '/var/log/univention/listener.log':

 E: listener.log:103, dhcpd self-test failed. Please fix /etc/dhcp/dhcpd.conf.
 E: listener.log:104, The error was:
 E: listener.log:112, Configuration file errors encountered -- exiting
 E: listener.log:603, 12.03.17 19:03:21.373  LISTENER    ( ERROR   ) : broken PHP syntax(255) in /etc/simplesamlphp/metadata.d/https:__master090.autotest090.local_univention_saml_metadata.php: PHP Parse error:  syntax error, unexpected '<' in /etc/simplesamlphp/metadata.d/https:__master090.autotest090.local_univention_saml_metadata.php on line 2
 E: listener.log:604, Errors parsing /etc/simplesamlphp/metadata.d/https:__master090.autotest090.local_univention_saml_metadata.php
 E: listener.log:606, 12.03.17 19:03:21.373  LISTENER    ( ERROR   ) : repr('<?php\n<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n  <head>\n    <meta http-equiv="content-type" content="text/html; charset=utf-8">\n    <title>Redirect</title>\n  </head>\n  <body>\n    <h1>Redirect</h1>\n      <p>You were redirected to: <a id="redirlink" href="http://localhost/simplesamlphp/module.php/core/loginuserpass.php?AuthState=_ae0673703ac9489d0e1c1e95d96bc71b63cd369799%3Ahttp%3A%2F%2Flocalhost%2Fsimplesamlphp%2Fmodule.php%2Fcore%2Fas_login.php%3FAuthId%3Dadmin%26ReturnTo%3Dhttp%253A%252F%252Flocalhost%252Fsimplesamlphp%252Fmodule.php%252Fcore%252Fpostredirect.php%253FRedirId%253D_894aa8ff8bd65e575c2f607e40ceec6de44ef408fc">http://localhost/simplesamlphp/module.php/core/loginuserpass.php?AuthState=_ae0673703ac9489d0e1c1e95d96bc71b63cd369799%3Ahttp%3A%2F%2Flocalhost%2Fsimplesamlphp%2Fmodule.php%2Fcore%2Fas_login.php%3FAuthId%3Dadmin%26ReturnTo%3Dhttp%253A%252F%252Flocalhost%252Fsimplesamlphp%252Fmodule.php%252Fcore%252Fpostredirect.php%253FRedirId%253D_894aa8ff8bd65e575c2f607e40ceec6de44ef408fc</a>\n        <script type="text/javascript">document.getElementById("redirlink").focus();</script>\n      </p>\n  </body>\n</html>$further = array(\n\t\'simplesaml.nameidattribute\'\t=> \'uid\',\n\t\'simplesaml.attributes\'\t=> true,\n\t\'attributes\'\t=> array(\'uid\'),\n\t\'attributes.NameFormat\'\t=> \'urn:oasis:names:tc:SAML:2.0:attrname-format:uri\',\n\t\'OrganizationName\'\t=> \'Univention Management Console master090.autotest090.local\',\n\t\'authproc\' => array(\n\t\t100 => array(\'class\' => \'core:AttributeMap\', \'name2oid\'),\n\t),\n);\n$metadata[\'https://master090.autotest090.local/univention/saml/metadata\'] = array_merge($metadata[\'https://master090.autotest090.local/univention/saml/metadata\'], $further);')
*** END TIME: 2017-03-12 19:11:17 ***
*** TEST DURATION (H:MM:SS.ms): 0:00:08.220804 ***
*** END *** 1 ***
Comment 1 Janek Walkenhorst univentionstaff 2017-03-23 18:47:42 CET
Bug #44032
Bug #44045
Bug #44046
Bug #44056
Comment 2 Janek Walkenhorst univentionstaff 2017-03-24 16:36:02 CET
The apache issues are fixed with Bug #43983

I think there are no issues found with this test that are not tracked in a bug.

But filtering many of the messages could hide problems in the future, so we should accept this test failing for UCS 4.2-0 (as discussed with Stefan)
Comment 3 Stefan Gohmann univentionstaff 2017-03-30 09:53:19 CEST
(In reply to Janek Walkenhorst from comment #2)
> The apache issues are fixed with Bug #43983
> 
> I think there are no issues found with this test that are not tracked in a
> bug.
> 
> But filtering many of the messages could hide problems in the future, so we
> should accept this test failing for UCS 4.2-0 (as discussed with Stefan)

OK
Comment 4 Stefan Gohmann univentionstaff 2017-04-04 18:30:04 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".