Bug 44538 - Test case 60_umc.04_policies.test fails
Test case 60_umc.04_policies.test fails
Status: CLOSED DUPLICATE of bug 43858
Product: UCS Test
Classification: Unclassified
Component: UMC
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-05 06:30 CEST by Stefan Gohmann
Modified: 2017-05-19 14:01 CEST (History)
0 users

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-05-05 06:30:56 CEST
The test test case 60_umc.04_policies.test fails in 4.1-4:

http://jenkins.knut.univention.de:8080/job/UCS-4.1/job/UCS-4.1-4/job/AutotestJoin/179/SambaVersion=s3,Systemrolle=master/testReport/60_umc/04_policies/test/

[2017-05-04 09:17:12.337731] Creating settings/umc_operationset object with /usr/sbin/udm-test settings/umc_operationset create --position cn=operations,cn=UMC,cn=univention,dc=autotest090,dc=local --append operation=udm/object/policies --set name=test-umc-opset --set flavor=navigation --set 'description=policy result test op set'
[2017-05-04 09:17:12.637253] Creating policies/umc object with /usr/sbin/udm-test policies/umc create --position cn=UMC,cn=policies,dc=autotest090,dc=local --set name=test-umc-policy --set allow=cn=test-umc-opset,cn=operations,cn=UMC,cn=univention,dc=autotest090,dc=local
[2017-05-04 09:17:12.874291] Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=autotest090,dc=local --policy-reference cn=test-umc-policy,cn=UMC,cn=policies,dc=autotest090,dc=local --set username=idoofot63c --set firstname=fsif84d9pd --set lastname=gky1e5a07j --set password=univention
[2017-05-04 09:17:13.519104] Creating policies/registry object with /usr/sbin/udm-test policies/registry create --position cn=policies,dc=autotest090,dc=local --set 'registry=baz 2' --set name=test-container-ucr-policy
[2017-05-04 09:17:13.774233] Creating policies/registry object with /usr/sbin/udm-test policies/registry create --position cn=policies,dc=autotest090,dc=local --append 'registry=baz 3' --append 'registry=bar 4' --set name=test-computer-ucr-policy
[2017-05-04 09:17:14.483732] Creating policies/registry object with /usr/sbin/udm-test policies/registry create --position cn=policies,dc=autotest090,dc=local --set 'registry=foo 1' --set name=test-root-ucr-policy
[2017-05-04 09:17:14.717990] Creating policies/registry object with /usr/sbin/udm-test policies/registry create --position cn=policies,dc=autotest090,dc=local --append 'registry=foo 0' --append 'registry=bar 5' --set name=test-various-ucr-policy
[2017-05-04 09:17:14.951649] Creating container/cn object with /usr/sbin/udm-test container/cn create --position dc=autotest090,dc=local --set name=root
[2017-05-04 09:17:15.193141] Creating container/cn object with /usr/sbin/udm-test container/cn create --position cn=root,dc=autotest090,dc=local --set name=computers2
[2017-05-04 09:17:15.428837] Creating computers/domaincontroller_slave object with /usr/sbin/udm-test computers/domaincontroller_slave create --position cn=computers2,cn=root,dc=autotest090,dc=local --set name=dawxop7d2z
[2017-05-04 09:17:18.134906] . . Modifying container/cn object with /usr/sbin/udm-test container/cn modify --dn cn=root,dc=autotest090,dc=local --policy-reference cn=test-root-ucr-policy,cn=policies,dc=autotest090,dc=local
[2017-05-04 09:17:18.595962] 
[2017-05-04 09:17:18.596594] *** UMC request: "command/udm/object/policies" (navigation)
[2017-05-04 09:17:18.596614]   data = [{'container': 'cn=computers2,cn=root,dc=autotest090,dc=local',
[2017-05-04 09:17:18.596625]   'objectDN': None,
[2017-05-04 09:17:18.596634]   'objectType': 'computers/domaincontroller_slave',
[2017-05-04 09:17:18.596642]   'policies': [None],
[2017-05-04 09:17:18.596652]   'policyType': 'policies/registry'}]
[2017-05-04 09:17:19.749539] *** UMC response: [{u'registry': [{u'fixed': 0,
[2017-05-04 09:17:19.749571]                  u'policy': u'cn=test-root-ucr-policy,cn=policies,dc=autotest090,dc=local',
[2017-05-04 09:17:19.749585]                  u'value': [u'foo', u'1']}]}]
[2017-05-04 09:17:19.749594] OK: new inherit w/o_pol
[2017-05-04 09:17:19.749604] *** UMC request: "command/udm/object/policies" (navigation)
[2017-05-04 09:17:19.749614]   data = [{'container': 'cn=computers2,cn=root,dc=autotest090,dc=local',
[2017-05-04 09:17:19.749623]   'objectDN': None,
[2017-05-04 09:17:19.749631]   'objectType': 'computers/domaincontroller_slave',
[2017-05-04 09:17:19.749642]   'policies': ['cn=test-computer-ucr-policy,cn=policies,dc=autotest090,dc=local'],
[2017-05-04 09:17:19.749652]   'policyType': 'policies/registry'}]
[2017-05-04 09:17:19.956701] *** UMC response: [{u'registry': [{u'fixed': 0,
[2017-05-04 09:17:19.956733]                  u'policy': u'cn=test-root-ucr-policy,cn=policies,dc=autotest090,dc=local',
[2017-05-04 09:17:19.956748]                  u'value': [u'foo', u'1']},
[2017-05-04 09:17:19.956758]                 {u'fixed': 0,
[2017-05-04 09:17:19.956770]                  u'policy': u'cn=test-computer-ucr-policy,cn=policies,dc=autotest090,dc=local',
[2017-05-04 09:17:19.956781]                  u'value': [u'baz', u'3']},
[2017-05-04 09:17:19.956789]                 {u'fixed': 0,
[2017-05-04 09:17:19.956799]                  u'policy': u'cn=test-computer-ucr-policy,cn=policies,dc=autotest090,dc=local',
[2017-05-04 09:17:19.958213]                  u'value': [u'bar', u'4']}]}]
[2017-05-04 09:17:19.958229] OK: new set_pol w/o_pol
[2017-05-04 09:17:19.958242] Modifying container/cn object with /usr/sbin/udm-test container/cn modify --dn cn=computers2,cn=root,dc=autotest090,dc=local --policy-reference cn=test-container-ucr-policy,cn=policies,dc=autotest090,dc=local
[2017-05-04 09:17:20.257798] 
[2017-05-04 09:17:20.257832] *** UMC request: "command/udm/object/policies" (navigation)
[2017-05-04 09:17:20.257843]   data = [{'container': 'cn=computers2,cn=root,dc=autotest090,dc=local',
[2017-05-04 09:17:20.257851]   'objectDN': None,
[2017-05-04 09:17:20.257861]   'objectType': 'computers/domaincontroller_slave',
[2017-05-04 09:17:20.257869]   'policies': [None],
[2017-05-04 09:17:20.257878]   'policyType': 'policies/registry'}]
[2017-05-04 09:17:20.387343] *** UMC response: [{u'registry': [{u'fixed': 0,
[2017-05-04 09:17:20.387374]                  u'policy': u'cn=test-root-ucr-policy,cn=policies,dc=autotest090,dc=local',
[2017-05-04 09:17:20.387386]                  u'value': [u'foo', u'1']},
[2017-05-04 09:17:20.387395]                 {u'fixed': 0,
[2017-05-04 09:17:20.387406]                  u'policy': u'cn=test-container-ucr-policy,cn=policies,dc=autotest090,dc=local',
[2017-05-04 09:17:20.387723]                  u'value': [u'baz', u'2']}]}]
[2017-05-04 09:17:20.387738] OK: new inherit w/pol
[2017-05-04 09:17:20.387747] *** UMC request: "command/udm/object/policies" (navigation)
[2017-05-04 09:17:20.387976]   data = [{'container': 'cn=computers2,cn=root,dc=autotest090,dc=local',
[2017-05-04 09:17:20.387992]   'objectDN': None,
[2017-05-04 09:17:20.388001]   'objectType': 'computers/domaincontroller_slave',
[2017-05-04 09:17:20.388011]   'policies': ['cn=test-computer-ucr-policy,cn=policies,dc=autotest090,dc=local'],
[2017-05-04 09:17:20.388047]   'policyType': 'policies/registry'}]
[2017-05-04 09:17:20.502242] *** UMC response: [{u'registry': [{u'fixed': 0,
[2017-05-04 09:17:20.502273]                  u'policy': u'cn=test-root-ucr-policy,cn=policies,dc=autotest090,dc=local',
[2017-05-04 09:17:20.502284]                  u'value': [u'foo', u'1']},
[2017-05-04 09:17:20.502293]                 {u'fixed': 0,
[2017-05-04 09:17:20.502304]                  u'policy': u'cn=test-container-ucr-policy,cn=policies,dc=autotest090,dc=local',
[2017-05-04 09:17:20.502313]                  u'value': [u'baz', u'2']},
[2017-05-04 09:17:20.502321]                 {u'fixed': 0,
[2017-05-04 09:17:20.502330]                  u'policy': u'cn=test-computer-ucr-policy,cn=policies,dc=autotest090,dc=local',
[2017-05-04 09:17:20.503724]                  u'value': [u'bar', u'4']}]}]
[2017-05-04 09:17:20.503743] ### FAIL ###
[2017-05-04 09:17:20.503753] ERROR: new set_pol w/pol: set(['bar=4', 'foo=1', 'baz=3']) != set([u'bar=4', u'foo=1', u'baz=2'])
[2017-05-04 09:17:20.503761] ###      ###
[2017-05-04 09:17:20.503770] Cleanup after exception: <type 'exceptions.SystemExit'> 1
[2017-05-04 09:17:20.503778] Performing UCSTestUDM cleanup...
[2017-05-04 09:17:22.954733] UCSTestUDM cleanup done
Comment 1 Stefan Gohmann univentionstaff 2017-05-05 06:31:16 CEST
Please have a look.
Comment 2 Florian Best univentionstaff 2017-05-05 11:39:39 CEST
ucs-test (6.0.37-61):
r79105 | Bug #44538: skip test case 60_umc/04_policies

*** This bug has been marked as a duplicate of bug 43858 ***