Bug 38813

Summary: 52_s4connector.402check_mapping_for_single_value_samba4_attributes
Product: UCS Test Reporter: Philipp Hahn <hahn>
Component: S4 ConnectorAssignee: Philipp Hahn <hahn>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P5 CC: da, fg, gohmann, grandjean, petersen, requate, ucs, walkenhorst
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
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:
Bug Depends on: 37259, 39365    
Bug Blocks:    

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