Bug 38813 - 52_s4connector.402check_mapping_for_single_value_samba4_attributes
52_s4connector.402check_mapping_for_single_value_samba4_attributes
Status: RESOLVED FIXED
Product: UCS Test
Classification: Unclassified
Component: S4 Connector
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Philipp Hahn
:
Depends on: 37259 39365
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-02 10:52 CEST by Philipp Hahn
Modified: 2018-04-14 14:14 CEST (History)
8 users (show)

See Also:
What kind of report is it?: ---
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 Philipp Hahn univentionstaff 2015-07-02 10:52:06 CEST
Jenkins regression: fails since 28 runs

S4-Backup

<http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-2/job/Autotest%20MultiEnv/52/SambaVersion=s4,Systemrolle=backup/testReport/52_s4connector/402check_mapping_for_single_value_samba4_attributes/test/>

2015-07-01 20:35:26.165786)Traceback (most recent call last):
(2015-07-01 20:35:26.165857)  File "402check_mapping_for_single_value_samba4_attributes", line 20, in <module>
(2015-07-01 20:35:26.165931)    import mapping
(2015-07-01 20:35:26.166033)ImportError: No module named mapping

52_s4connector/402check_mapping_for_single_value_samba4_attributes:18
 CONFIGBASENAME = "connector"
 sys.path=['/etc/univention/%s/s4/' % CONFIGBASENAME]+sys.path
 import mapping

+++ This bug was initially created as a clone of Bug #37259 +++
Comment 1 Philipp Hahn univentionstaff 2015-07-02 11:30:21 CEST
This test is failing since day one on any DC Backup: <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-2/job/Autotest%20MultiEnv/25/SambaVersion=s4,Systemrolle=backup/testReport/52_s4connector/402check_mapping_for_single_value_samba4_attributes/test/>

r61656 | Bug #38813 test: 52/402: limit to S4 Master
 The test tries to import /etc/univention/connector/s4/mapping.py, which isn't generated until the S4C is started. As the S4C is only running on the Master, it fails on any Backup.

Package: ucs-test
Version: 5.0.148-35.1076.201507021125
Branch: ucs_4.0-0
Scope: errata4.0-2