Bug 46580 - Test case 33_smart_host_configuration fails on member servers
Test case 33_smart_host_configuration fails on member servers
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: Mail
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-10 11:22 CET by Stefan Gohmann
Modified: 2019-09-25 12:32 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 2018-03-10 11:22:48 CET
The test case 40_mail.33_smart_host_configuration fails on member servers in Jenkins:

http://jenkins.knut.univention.de:8080/job/UCS-4.3/job/UCS-4.3-0/job/AutotestJoin/91/SambaVersion=no-samba,Systemrolle=member/testReport/40_mail/33_smart_host_configuration/test/

[2018-03-09 22:37:37.978321] *** Entering with-statement of NetworkRedirector()
[2018-03-09 22:37:37.978541] Creating computers/domaincontroller_slave object with /usr/sbin/udm-test computers/domaincontroller_slave create --position cn=computers,dc=autotest096,dc=local --set ip=11.106.233.187 --set 'dnsEntryZoneForward=zoneName=autotest096.local,cn=dns,dc=autotest096,dc=local 11.106.233.187' --set name=jaax5yxctn
[2018-03-09 22:37:38.617724] Create mail/relayhost
[2018-03-09 22:37:38.676487] Multifile: /etc/postfix/main.cf
[2018-03-09 22:37:39.080397] File: /etc/postfix/tls_policy
[2018-03-09 22:37:41.829122] Restarting postfix (via systemctl): postfix.service.
[2018-03-09 22:37:41.830553] *** Adding network redirection (11.106.233.187:25 <--> 127.0.0.1:60025)
[2018-03-09 22:37:41.830697] *** ['/sbin/iptables', '-t', 'nat', '-A', 'OUTPUT', '-p', 'tcp', '-d', '11.106.233.187', '--dport', '25', '-j', 'REDIRECT', '--to', '60025']
[2018-03-09 22:37:41.842786] *** Starting SMTPSink at 127.0.0.1:60025
[2018-03-09 22:39:12.091719] ### FAIL ###
[2018-03-09 22:39:12.091774] DNS query answer address found = None, expected = 11.106.233.187
[2018-03-09 22:39:12.091787] ###      ###
[2018-03-09 22:39:12.941056] *** SMTPSink at 127.0.0.1:60025 stopped
[2018-03-09 22:39:12.941272] *** Leaving with-statement of NetworkRedirector()
[2018-03-09 22:39:12.941305] *** NetworkRedirector.revert_network_settings()
[2018-03-09 22:39:12.941355] *** Removing network redirection (11.106.233.187:25 <--> 127.0.0.1:60025)
[2018-03-09 22:39:12.941440] *** ['/sbin/iptables', '-t', 'nat', '-D', 'OUTPUT', '-p', 'tcp', '-d', '11.106.233.187', '--dport', '25', '-j', 'REDIRECT', '--to', '60025']
[2018-03-09 22:39:12.945538] Cleanup after exception: <type 'exceptions.SystemExit'> 1
[2018-03-09 22:39:12.945568] Performing UCSTestUDM cleanup...
[2018-03-09 22:39:12.945620] removing DN: cn=jaax5yxctn,cn=computers,dc=autotest096,dc=local
[2018-03-09 22:39:13.155712] trying to restart UDM CLI server
[2018-03-09 22:39:13.167545] sending signal 15 to process 15244 (['/usr/bin/python2.7', '/usr/share/univention-directory-manager-tools/univention-cli-server'])
[2018-03-09 22:39:14.168813] process already terminated
[2018-03-09 22:39:14.168865] UCSTestUDM cleanup done
[2018-03-09 22:39:14.174132] Unsetting mail/relayhost
[2018-03-09 22:39:14.233693] Multifile: /etc/postfix/main.cf
[2018-03-09 22:39:14.644583] File: /etc/postfix/tls_policy
Comment 1 Stefan Gohmann univentionstaff 2018-03-10 11:24:49 CET
[4.3-0 97c005ee4f] * 40_mail/33_smart_host_configuration: skip test case on memberservers   (Bug #46580)
Comment 2 Stefan Gohmann univentionstaff 2018-03-13 06:02:46 CET
It fails also in AD member mode:

[4.3-0 bc3415a42a] * 40_mail/33_smart_host_configuration: skip in ad member mode   (Bug #46580)