See <http://vm-058-081.abc.idm.lab.eng.brq.redhat.com:8080/job/389-DS-NIGHTLY/125/> ------------------------------------------ [...truncated 12626 lines...] INFO:lib389:Found entry dn: cn=dc\3Dpass2\2Cdc\3Dthru,cn=mapping tree,cn=config cn: dc=pass2,dc=thru nsslapd-backend: PASS2 nsslapd-state: backend objectClass: top objectClass: extensibleObject objectClass: nsMappingTree INFO:plugin_tests:test_passthru: PASS INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing Retro Changelog Plugin... INFO:plugin_tests:test_retrocl: PASS INFO:plugin_tests:Testing RootDN Access Control... INFO:plugin_tests:test_rootdn: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Tested Dynamic Plugins for Memory Corruption (no replication). INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Stressing Dynamic Plugins (no replication)... INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (1/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (entry)... INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:stress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (1/5) INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (2/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (entry)... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (2/5) INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (3/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Adding 250 entries (entry)... INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:stress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (3/5) INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (4/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (entry)... INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:stress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (4/5) INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (5/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (entry)... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (5/5) INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Setting up replication, and rerunning the tests... ______________________________ test_range_search _______________________________ topology = <suites.memory_leaks.range_search_test.TopologyStandalone object at 0x7fb115863350> def test_range_search(topology): '\'''\'''\'' Add a 100 entries, and run a range search. When we encounter an error we still need to disable valgrind before exiting '\'''\'''\'' log.info('\''Running test_range_search...'\'') success = True # Add 100 test entries for idx in range(1, 100): idx = str(idx) USER_DN = '\''uid=user'\'' + idx + '\'','\'' + DEFAULT_SUFFIX try: topology.standalone.add_s(Entry((USER_DN, {'\''objectclass'\'': "top extensibleObject".split(), '\''uid'\'': '\''user'\'' + idx}))) except ldap.LDAPError as e: log.fatal('\''test_range_search: Failed to add test user '\'' + USER_DN + '\'': error '\'' + e.message['\''desc'\'']) success = False time.sleep(1) if success: # Issue range search try: topology.standalone.search_s(RETROCL_SUFFIX, ldap.SCOPE_SUBTREE, '\''(&(changenumber>=74)(changenumber<=84))'\'') except ldap.LDAPError as e: log.fatal('\''test_range_search: Failed to search retro changelog(%s), error: %s'\'' % (RETROCL_SUFFIX, e.message('\''desc'\''))) success = False if success and not topology.standalone.has_asan(): # Get the results file, stop the server, and check for the leak results_file = valgrind_get_results_file(topology.standalone) topology.standalone.stop(timeout=30) > if valgrind_check_file(results_file, VALGRIND_LEAK_STR, '\''range_candidates'\''): suites/memory_leaks/range_search_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ results_file = '\''valgrind'\'' patterns = ('\'' blocks are definitely lost in loss record '\'', '\''range_candidates'\'') found = False, pattern_count = 2, matched_count = 0 def valgrind_check_file(results_file, *patterns): '\'''\'''\'' Check the valgrind results file for the all the patterns @param result_file - valgrind results file (must be read after server is stopped) @param patterns - A plain text or regex pattern string args that should be searched for @return True/False - Return true if one if the patterns match a stack trace @raise IOError '\'''\'''\'' # Verify results file if not results_file: assert False # Check the result file fo the leak text results_file = results_file.replace('\''\n'\'', '\'''\'') found = False pattern_count = len(patterns) matched_count = 0 > vlog = open(results_file) E IOError: [Errno 2] No such file or directory: '\''valgrind'\'' ../../../lib389/lib389/utils.py:354: IOError ----------------------------- Captured stderr call ----------------------------- INFO:suites.memory_leaks.range_search_test:Running test_range_search... ============= 14 failed, 404 passed, 107 error in 5643.45 seconds ==============' + '[' 1 -ne 0 ']' + echo CI Tests 'FAILED!' CI Tests FAILED! + echo ============================= test session starts ============================== platform linux2 -- Python 2.7.12, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python2 cachedir: .cache rootdir: <http://vm-058-081.abc.idm.lab.eng.brq.redhat.com:8080/job/389-DS-NIGHTLY/ws/source/ds/dirsrvtests/tests,> inifile: plugins: sourceorder-0.5, multihost-1.0 collecting ... collected 524 items tickets/ticket1347760_test.py::test_ticket1347760 PASSED tickets/ticket365_test.py::test_ticket365 PASSED tickets/ticket397_test.py::test_397 PASSED tickets/ticket47313_test.py::test_ticket47313_run PASSED tickets/ticket47384_test.py::test_ticket47384 PASSED tickets/ticket47431_test.py::test_ticket47431_0 PASSED tickets/ticket47431_test.py::test_ticket47431_1 PASSED tickets/ticket47431_test.py::test_ticket47431_2 PASSED tickets/ticket47431_test.py::test_ticket47431_3 PASSED tickets/ticket47462_test.py::test_ticket47462 ERROR tickets/ticket47490_test.py::test_ticket47490_init ERROR tickets/ticket47490_test.py::test_ticket47490_one ERROR tickets/ticket47490_test.py::test_ticket47490_two ERROR tickets/ticket47490_test.py::test_ticket47490_three ERROR tickets/ticket47490_test.py::test_ticket47490_four ERROR tickets/ticket47490_test.py::test_ticket47490_five ERROR tickets/ticket47490_test.py::test_ticket47490_six ERROR tickets/ticket47490_test.py::test_ticket47490_seven ERROR tickets/ticket47490_test.py::test_ticket47490_eight ERROR tickets/ticket47490_test.py::test_ticket47490_nine ERROR tickets/ticket47536_test.py::test_ticket47536 ERROR tickets/ticket47553_test.py::test_ticket47553 PASSED tickets/ticket47560_test.py::test_ticket47560 PASSED tickets/ticket47573_test.py::test_ticket47573_init ERROR tickets/ticket47573_test.py::test_ticket47573_one ERROR tickets/ticket47573_test.py::test_ticket47573_two ERROR tickets/ticket47573_test.py::test_ticket47573_three ERROR tickets/ticket47619_test.py::test_ticket47619_init ERROR tickets/ticket47619_test.py::test_ticket47619_create_index ERROR tickets/ticket47619_test.py::test_ticket476 19_reindex ERROR tickets/ticket47619_test.py::test_ticket47619_check_indexed_search ERROR tickets/ticket47640_test.py::test_ticket47640 PASSED tickets/ticket47653MMR_test.py::test_ticket47653_init ERROR tickets/ticket47653MMR_test.py::test_ticket47653_add ERROR tickets/ticket47653MMR_test.py::test_ticket47653_modify ERROR tickets/ticket47653_test.py::test_ticket47653_init PASSED tickets/ticket47653_test.py::test_ticket47653_add PASSED tickets/ticket47653_test.py::test_ticket47653_search PASSED tickets/ticket47653_test.py::test_ticket47653_modify PASSED tickets/ticket47653_test.py::test_ticket47653_delete PASSED tickets/ticket47669_test.py::test_ticket47669_init FAILED tickets/ticket47669_test.py::test_ticket47669_changelog_maxage FAILED tickets/ticket47669_test.py::test_ticket47669_changelog_triminterval FAILED tickets/ticket47669_test.py::test_ticket47669_changelog_compactdbinterval FAILED tickets/ticket47669_test.py::test_ticket47669_retrochangelog_maxage PASSED tickets/ticket47676_test.py::test_ticket47676_init ERROR tickets/ticket47676_test.py::test_ticket47676_skip_oc_at ERROR tickets/ticket47676_test.py::test_ticket47676_reject_action ERROR tickets/ticket47714_test.py::test_ticket47714_init PASSED tickets/ticket47714_test.py::test_ticket47714_run_0 PASSED tickets/ticket47714_test.py::test_ticket47714_run_1 PASSED tickets/ticket47721_test.py::test_ticket47721_init ERROR tickets/ticket47721_test.py::test_ticket47721_0 ERROR tickets/ticket47721_test.py::test_ticket47721_1 ERROR tickets/ticket47721_test.py::test_ticket47721_2 ERROR tickets/ticket47721_test.py::test_ticket47721_3 ERROR tickets/ticket47721_test.py::test_ticket47721_4 ERROR tickets/ticket47781_test.py::test_ticket47781 FAILED tickets/ticket47787_test.py::test_ticket47787_init ERROR tickets/ticket47787_test.py::test_ticket47787_2 ERROR tickets/ticket47808_test.py::test_ticket47808_run PASSED tickets/ticket47815_test.py::test_ticket47815 PASSED tickets/ticket47819_test.py::test_ticket47819 FAILED tickets/ticket47823_test.py::test_ticket47823_init PA SSED tickets/ticket47823_test.py::test_ticket47823_one_container_add PASSED tickets/ticket47823_test.py::test_ticket47823_one_container_mod PASSED tickets/ticket47823_test.py::test_ticket47823_one_container_modrdn PASSED tickets/ticket47823_test.py::test_ticket47823_multi_containers_add PASSED tickets/ticket47823_test.py::test_ticket47823_multi_containers_mod PASSED tickets/ticket47823_test.py::test_ticket47823_multi_containers_modrdn PASSED tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_add PASSED tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_mod PASSED tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_modrdn PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_1 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_2 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_3 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_4 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_5 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_6 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_7 PASSED tickets/ticket47828_test.py::test_ticket47828_init PASSED tickets/ticket47828_test.py::test_ticket47828_run_0 PASSED tickets/ticket47828_test.py::test_ticket47828_run_1 PASSED tickets/ticket47828_test.py::test_ticket47828_run_2 PASSED tickets/ticket47828_test.py::test_ticket47828_run_3 PASSED tickets/ticket47828_test.py::test_ticket47828_run_4 PASSED tickets/ticket47828_test.py::test_ticket47828_run_5 PASSED tickets/ticket47828_test.py::test_ticket47828_run_6 PASSED tickets/ticket47828_test.py::test_ticket47828_run_7 PASSED tickets/ticket47828_test.py::test_ticket47828_run_8 PASSED tickets/ticket47828_test.py::test_ticket47828_run_9 PASSED tickets/ticket47828_test.py::test_ticket47828_run_10 PASSED tickets/ticket47828_test.py::test_ticket47828_run_11 PASSED tickets/ticket47828_test.py::test_ticket47828_run_12 PASSED tickets/ticket47828_test.py::test_tick et47828_run_13 PASSED tickets/ticket47828_test.py::test_ticket47828_run_14 PASSED tickets/ticket47828_test.py::test_ticket47828_run_15 PASSED tickets/ticket47828_test.py::test_ticket47828_run_16 PASSED tickets/ticket47828_test.py::test_ticket47828_run_17 PASSED tickets/ticket47828_test.py::test_ticket47828_run_18 PASSED tickets/ticket47828_test.py::test_ticket47828_run_19 PASSED tickets/ticket47828_test.py::test_ticket47828_run_20 PASSED tickets/ticket47828_test.py::test_ticket47828_run_21 PASSED tickets/ticket47828_test.py::test_ticket47828_run_22 PASSED tickets/ticket47828_test.py::test_ticket47828_run_23 PASSED tickets/ticket47828_test.py::test_ticket47828_run_24 PASSED tickets/ticket47828_test.py::test_ticket47828_run_25 PASSED tickets/ticket47828_test.py::test_ticket47828_run_26 PASSED tickets/ticket47828_test.py::test_ticket47828_run_27 PASSED tickets/ticket47828_test.py::test_ticket47828_run_28 PASSED tickets/ticket47828_test.py::test_ticket47828_run_29 PASSED tickets/ticket47828_test.py::test_ticket47828_run_30 PASSED tickets/ticket47828_test.py::test_ticket47828_run_31 PASSED tickets/ticket47829_test.py::test_ticket47829_init PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_2 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_3 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_2 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_3 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_out_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_out_user_2 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_out_user_3 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_active_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_stage_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_out_user_1 PA SSED tickets/ticket47829_test.py::test_ticket47829_mod_modrdn_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_modrdn_active_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_modrdn_stage_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_1 PASSED tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_2 PASSED tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_3 PASSED tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_4 PASSED tickets/ticket47833_test.py::test_ticket47829_init PASSED tickets/ticket47833_test.py::test_ticket47829_mod_stage_user_modrdn_stage_user_1 PASSED tickets/ticket47869MMR_test.py::test_ticket47869_init ERROR tickets/ticket47869MMR_test.py::test_ticket47869_check ERROR tickets/ticket47871_test.py::test_ticket47871_init ERROR tickets/ticket47871_test.py::test_ticket47871_1 ERROR tickets/ticket47871_test.py::test_ticket47871_2 ERROR tickets/ticket47900_test.py::test_ticket47900 PASSED tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_positive PASSED tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_negative PASSED tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_invalid PASSED tickets/ticket47910_test.py::test_ticket47910_logconv_noaccesslogs PASSED tickets/ticket47920_test.py::test_ticket47920_init PASSED tickets/ticket47920_test.py::test_ticket47920_mod_readentry_ctrl PASSED tickets/ticket47921_test.py::test_ticket47921 PASSED tickets/ticket47927_test.py::test_ticket47927_init PASSED tickets/ticket47927_test.py::test_ticket47927_one PASSED tickets/ticket47927_test.py::test_ticket47927_two PASSED tickets/ticket47927_test.py::test_ticket47927_three PASSED tickets/ticket47927_test.py::test_ticket47927_four PASSED tickets/ticket47927_test.py::test_ticket47927_five PASSED tickets/ticket47927_test.py::test_ticket47927_six PASSED tickets/ticket47931_test.py::test_ticket47931 PASSED tickets/ticket47937_test.py::test_ticket47937 PASSED t ickets/ticket47950_test.py::test_ticket47950 FAILED tickets/ticket47953_test.py::test_ticket47953 PASSED tickets/ticket47963_test.py::test_ticket47963 PASSED tickets/ticket47966_test.py::test_ticket47966 ERROR tickets/ticket47970_test.py::test_ticket47970 PASSED tickets/ticket47973_test.py::test_ticket47973 PASSED tickets/ticket47976_test.py::test_ticket47976_init PASSED tickets/ticket47976_test.py::test_ticket47976_1 PASSED tickets/ticket47976_test.py::test_ticket47976_2 PASSED tickets/ticket47976_test.py::test_ticket47976_3 PASSED tickets/ticket47980_test.py::test_ticket47980 PASSED tickets/ticket47981_test.py::test_ticket47981 PASSED tickets/ticket47988_test.py::test_ticket47988_init ERROR tickets/ticket47988_test.py::test_ticket47988_1 ERROR tickets/ticket47988_test.py::test_ticket47988_2 ERROR tickets/ticket47988_test.py::test_ticket47988_3 ERROR tickets/ticket47988_test.py::test_ticket47988_4 ERROR tickets/ticket47988_test.py::test_ticket47988_5 ERROR tickets/ticket47988_test.py::test_ticket47988_6 ERROR tickets/ticket48005_test.py::test_ticket48005_setup PASSED tickets/ticket48005_test.py::test_ticket48005_memberof PASSED tickets/ticket48005_test.py::test_ticket48005_automember PASSED tickets/ticket48005_test.py::test_ticket48005_syntaxvalidate PASSED tickets/ticket48005_test.py::test_ticket48005_usn PASSED tickets/ticket48005_test.py::test_ticket48005_schemareload PASSED tickets/ticket48013_test.py::test_ticket48013 PASSED tickets/ticket48026_test.py::test_ticket48026 PASSED tickets/ticket48109_test.py::test_ticket48109 PASSED tickets/ticket48170_test.py::test_ticket48170 PASSED tickets/ticket48194_test.py::test_init PASSED tickets/ticket48194_test.py::test_run_0 PASSED tickets/ticket48194_test.py::test_run_1 PASSED tickets/ticket48194_test.py::test_run_2 PASSED tickets/ticket48194_test.py::test_run_3 PASSED tickets/ticket48194_test.py::test_run_4 PASSED tickets/ticket48194_test.py::test_run_5 PASSED tickets/ticket48194_test.py::test_run_6 PASSED tickets/ticket48194_test.py::test_run_7 PASSED tickets/tick et48194_test.py::test_run_8 PASSED tickets/ticket48194_test.py::test_run_9 PASSED tickets/ticket48194_test.py::test_run_10 PASSED tickets/ticket48194_test.py::test_run_11 PASSED tickets/ticket48212_test.py::test_ticket48212 PASSED tickets/ticket48214_test.py::test_ticket48214_run PASSED tickets/ticket48226_test.py::test_ticket48226_set_purgedelay ERROR tickets/ticket48226_test.py::test_ticket48226_1 ERROR tickets/ticket48228_test.py::test_ticket48228_test_global_policy PASSED tickets/ticket48228_test.py::test_ticket48228_test_subtree_policy PASSED tickets/ticket48233_test.py::test_ticket48233 PASSED tickets/ticket48234_test.py::test_ticket48234 PASSED tickets/ticket48252_test.py::test_ticket48252_setup PASSED tickets/ticket48252_test.py::test_ticket48252_run_0 PASSED tickets/ticket48252_test.py::test_ticket48252_run_1 PASSED tickets/ticket48265_test.py::test_ticket48265_test PASSED tickets/ticket48266_test.py::test_ticket48266_fractional ERROR tickets/ticket48266_test.py::test_ticket48266_check_repl_desc ERROR tickets/ticket48266_test.py::test_ticket48266_count_csn_evaluation ERROR tickets/ticket48270_test.py::test_ticket48270_init PASSED tickets/ticket48270_test.py::test_ticket48270_homeDirectory_indexed_cis PASSED tickets/ticket48270_test.py::test_ticket48270_homeDirectory_mixed_value PASSED tickets/ticket48270_test.py::test_ticket48270_extensible_search PASSED tickets/ticket48272_test.py::test_ticket48272 PASSED tickets/ticket48294_test.py::test_48294_init PASSED tickets/ticket48294_test.py::test_48294_run_0 PASSED tickets/ticket48294_test.py::test_48294_run_1 PASSED tickets/ticket48294_test.py::test_48294_run_2 PASSED tickets/ticket48295_test.py::test_48295_init PASSED tickets/ticket48295_test.py::test_48295_run PASSED tickets/ticket48312_test.py::test_ticket48312 PASSED tickets/ticket48325_test.py::test_ticket48325 ERROR tickets/ticket48342_test.py::test_ticket4026 ERROR tickets/ticket48354_test.py::test_ticket48354 PASSED tickets/ticket48362_test.py::test_ticket48362 ERROR tickets/ticket48366_test.py::test_ ticket48366_init PASSED tickets/ticket48366_test.py::test_ticket48366_search_user PASSED tickets/ticket48366_test.py::test_ticket48366_search_dm PASSED tickets/ticket48370_test.py::test_ticket48370 PASSED tickets/ticket48383_test.py::test_ticket48383 PASSED tickets/ticket48497_test.py::test_ticket48497_init PASSED tickets/ticket48497_test.py::test_ticket48497_homeDirectory_mixed_value PASSED tickets/ticket48497_test.py::test_ticket48497_extensible_search PASSED tickets/ticket48497_test.py::test_ticket48497_homeDirectory_index_cfg PASSED tickets/ticket48497_test.py::test_ticket48497_homeDirectory_index_run FAILED tickets/ticket48637_test.py::test_ticket48637 PASSED tickets/ticket48665_test.py::test_ticket48665 PASSED tickets/ticket48745_test.py::test_ticket48745_init PASSED tickets/ticket48745_test.py::test_ticket48745_homeDirectory_indexed_cis FAILED tickets/ticket48745_test.py::test_ticket48745_homeDirectory_mixed_value PASSED tickets/ticket48745_test.py::test_ticket48745_extensible_search_after_index PASSED tickets/ticket48746_test.py::test_ticket48746_init PASSED tickets/ticket48746_test.py::test_ticket48746_homeDirectory_indexed_cis FAILED tickets/ticket48746_test.py::test_ticket48746_homeDirectory_mixed_value PASSED tickets/ticket48746_test.py::test_ticket48746_extensible_search_after_index PASSED tickets/ticket48746_test.py::test_ticket48746_homeDirectory_indexed_ces FAILED tickets/ticket48755_test.py::test_ticket48755 ERROR tickets/ticket48759_test.py::test_ticket48759 FAILED tickets/ticket48784_test.py::test_ticket48784 ERROR tickets/ticket48798_test.py::test_ticket48798 PASSED tickets/ticket48799_test.py::test_ticket48799 ERROR tickets/ticket48808_test.py::test_ticket48808 PASSED tickets/ticket48844_test.py::test_ticket48844_init PASSED tickets/ticket48844_test.py::test_ticket48844_bitwise_on PASSED tickets/ticket48844_test.py::test_ticket48844_bitwise_off PASSED tickets/ticket48891_test.py::test_ticket48891_setup PASSED tickets/ticket48893_test.py::test_ticket48893 PASSED tickets/ticket48896_test.py::te st_ticket48896 PASSED tickets/ticket48906_test.py::test_ticket48906_setup PASSED tickets/ticket48906_test.py::test_ticket48906_dblock_default PASSED tickets/ticket48906_test.py::test_ticket48906_dblock_ldap_update PASSED tickets/ticket48906_test.py::test_ticket48906_dblock_edit_update PASSED tickets/ticket48906_test.py::test_ticket48906_dblock_robust PASSED tickets/ticket48916_test.py::test_ticket48916 ERROR tickets/ticket48956_test.py::test_ticket48956 PASSED tickets/ticket48961_test.py::test_ticket48961_storagescheme PASSED tickets/ticket48961_test.py::test_ticket48961_deleteall PASSED tickets/ticket548_test.py::test_ticket548_test_with_no_policy PASSED tickets/ticket548_test.py::test_ticket548_test_global_policy PASSED tickets/ticket548_test.py::test_ticket548_test_subtree_policy PASSED suites/acct_usability_plugin/acct_usability_test.py::test_acct_usability_init PASSED suites/acct_usability_plugin/acct_usability_test.py::test_acct_usability_ PASSED suites/acctpolicy_plugin/acctpolicy_test.py::test_acctpolicy_init PASSED suites/acctpolicy_plugin/acctpolicy_test.py::test_acctpolicy_ PASSED 'suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[lang-ja]' ERROR 'suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[binary]' ERROR 'suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[phonetic]' ERROR suites/acl/acl_test.py::test_mode_default_add_deny ERROR suites/acl/acl_test.py::test_mode_default_delete_deny ERROR 'suites/acl/acl_test.py::test_moddn_staging_prod[0-cn=staged' 'user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]' ERROR 'suites/acl/acl_test.py::test_moddn_staging_prod[1-cn=staged' 'user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]' ERROR 'suites/acl/acl_test.py::test_moddn_staging_prod[2-cn=staged' 'user,dc=example,dc=com-cn=bad*,dc=example,dc=com-True]' ERROR 'suites/acl/acl_test.py::test_moddn_staging_prod[3-cn=st*,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]' ERROR 'suites/acl/acl_test.py::test_moddn_staging_prod[4-cn=bad*,dc=example,dc=com-cn=accounts,dc=exa mple,dc=com-True]' ERROR 'suites/acl/acl_test.py::test_moddn_staging_prod[5-cn=st*,dc=example,dc=com-cn=ac*,dc=example,dc=com-False]' ERROR 'suites/acl/acl_test.py::test_moddn_staging_prod[6-None-cn=ac*,dc=example,dc=com-False]' ERROR 'suites/acl/acl_test.py::test_moddn_staging_prod[7-cn=st*,dc=example,dc=com-None-False]' ERROR 'suites/acl/acl_test.py::test_moddn_staging_prod[8-None-None-False]' ERROR suites/acl/acl_test.py::test_moddn_staging_prod_9 ERROR suites/acl/acl_test.py::test_moddn_prod_staging ERROR suites/acl/acl_test.py::test_check_repl_M2_to_M1 ERROR suites/acl/acl_test.py::test_moddn_staging_prod_except ERROR suites/acl/acl_test.py::test_mode_default_ger_no_moddn ERROR suites/acl/acl_test.py::test_mode_default_ger_with_moddn ERROR suites/acl/acl_test.py::test_mode_switch_default_to_legacy ERROR suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn1 ERROR suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn2 ERROR suites/acl/acl_test.py::test_mode_legacy_ger_with_moddn ERROR suites/acl/acl_test.py::test_rdn_write_get_ger ERROR suites/acl/acl_test.py::test_rdn_write_modrdn_anonymous ERROR suites/attr_encryption/attr_encrypt_test.py::test_attr_encrypt_init PASSED suites/attr_encryption/attr_encrypt_test.py::test_attr_encrypt_ PASSED suites/attr_uniqueness_plugin/attr_uniqueness_test.py::test_attr_uniqueness_init PASSED suites/attr_uniqueness_plugin/attr_uniqueness_test.py::test_attr_uniqueness PASSED suites/automember_plugin/automember_test.py::test_automember_init PASSED suites/automember_plugin/automember_test.py::test_automember_ PASSED suites/basic/basic_test.py::test_basic_ops PASSED suites/basic/basic_test.py::test_basic_import_export PASSED suites/basic/basic_test.py::test_basic_backup PASSED suites/basic/basic_test.py::test_basic_acl PASSED suites/basic/basic_test.py::test_basic_searches PASSED suites/basic/basic_test.py::test_basic_referrals PASSED suites/basic/basic_test.py::test_basic_systemctl PASSED suites/basic/basic_test.py::test_basic_ldapagent PASSED suites/basic/basic_test.py::test_b asic_dse PASSED 'suites/basic/basic_test.py::test_def_rootdse_attr[namingContexts]' PASSED 'suites/basic/basic_test.py::test_def_rootdse_attr[supportedLDAPVersion]' PASSED 'suites/basic/basic_test.py::test_def_rootdse_attr[supportedControl]' PASSED 'suites/basic/basic_test.py::test_def_rootdse_attr[supportedExtension]' PASSED 'suites/basic/basic_test.py::test_def_rootdse_attr[supportedSASLMechanisms]' PASSED 'suites/basic/basic_test.py::test_def_rootdse_attr[vendorName]' PASSED 'suites/basic/basic_test.py::test_def_rootdse_attr[vendorVersion]' PASSED 'suites/basic/basic_test.py::test_mod_def_rootdse_attr[namingContexts]' PASSED 'suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedLDAPVersion]' PASSED 'suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedControl]' PASSED 'suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedExtension]' PASSED 'suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedSASLMechanisms]' PASSED 'suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorName]' PASSED 'suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorVersion]' PASSED suites/betxns/betxn_test.py::test_betxn_init PASSED suites/betxns/betxn_test.py::test_betxt_7bit PASSED suites/betxns/betxn_test.py::test_betxn_attr_uniqueness PASSED suites/betxns/betxn_test.py::test_betxn_memberof PASSED suites/chaining_plugin/chaining_test.py::test_chaining_init PASSED suites/chaining_plugin/chaining_test.py::test_chaining_ PASSED suites/clu/clu_test.py::test_clu_init PASSED suites/clu/clu_test.py::test_clu_pwdhash PASSED suites/clu/db2ldif_test.py::test_db2ldif_init PASSED suites/collation_plugin/collatation_test.py::test_collatation_init PASSED suites/collation_plugin/collatation_test.py::test_collatation_ PASSED suites/config/config_test.py::test_maxbersize_repl ERROR suites/config/config_test.py::test_config_listen_backport_size ERROR suites/config/config_test.py::test_config_deadlock_policy ERROR suites/cos_plugin/cos_test.py::test_cos_init PASSED suites/cos_plugin/cos_test.py::test_c os_ PASSED suites/deref_plugin/deref_test.py::test_deref_init PASSED suites/deref_plugin/deref_test.py::test_deref_ PASSED suites/disk_monitoring/disk_monitor_test.py::test_disk_monitor_init PASSED suites/disk_monitoring/disk_monitor_test.py::test_disk_monitor_ PASSED suites/distrib_plugin/distrib_test.py::test_distrib_init PASSED suites/distrib_plugin/distrib_test.py::test_distrib_ PASSED suites/dna_plugin/dna_test.py::test_dna_init PASSED suites/dna_plugin/dna_test.py::test_dna_ PASSED suites/ds_logs/ds_logs_test.py::test_ds_logs_init PASSED suites/ds_logs/ds_logs_test.py::test_ds_logs_ PASSED suites/dynamic-plugins/test_dynamic_plugins.py::test_dynamic_plugins FAILED suites/filter/filter_test.py::test_filter_init PASSED suites/filter/filter_test.py::test_filter_escaped PASSED suites/filter/filter_test.py::test_filter_search_original_attrs PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_supported_features PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0-*]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0-objectClass]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1-*]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1-objectClass]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-False-oper_attr_list2]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-False-oper_attr_list2-*]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-False-oper_attr_list2-objectClass]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-True-oper_attr_list3]' P ASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-True-oper_attr_list3-*]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-True-oper_attr_list3-objectClass]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-False-oper_attr_list4]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-False-oper_attr_list4-*]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-False-oper_attr_list4-objectClass]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-True-oper_attr_list5]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-True-oper_attr_list5-*]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-True-oper_attr_list5-objectClass]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6-*]' PASSED 'suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6-objectClass]' PASSED suites/get_effective_rights/ger_test.py::test_ger_init PASSED suites/get_effective_rights/ger_test.py::test_ger_ PASSED suites/gssapi_repl/gssapi_repl_test.py::test_gssapi_repl PASSED suites/ldapi/ldapi_test.py::test_ldapi_init PASSED suites/ldapi/ldapi_test.py::test_ldapi_ PASSED suites/linkedattrs_plugin/linked_attrs_test.py::test_linked_attrs_init PASSED suites/linkedattrs_plugin/linked_attrs_test.py::test_linked_attrs_ PASSED suites/mapping_tree/mapping_tree_test.py::test_mapping_tree_init PASSED suites/mapping_tree/mapping_tree_test.py::test_mapping_tree_ PASSED suites/memberof_plugin/memberof_test.py::test_memberof_auto_add_oc PASSED suites/memory_leaks/range_search_test.py::test_range_search_init PASSED suites/memory_leaks/range_search_test.py::test_range_search FAILED suites/memory_leaks/range_search_test.py::test_range_search ERROR suites/monitor/monitor_test.py::test_monitor_init PASSED suites/monitor/monitor_test.py::test_monitor_ PASSED 'suites/paged_results/paged_results_test.py::test_search_success[6-5]' PASSED 'suites/paged_results/paged_results_test.py::test_search_success[5-5]' PASSED 'suites/paged_results/paged_results_test.py::test_search_success[5-25]' PASSED 'suites/paged_results/paged_results_test.py::test_search_limits_fail[50-200-cn=config,cn=ldbm' 'database,cn=plugins,cn=config-nsslapd-idlistscanlimit-100-UNWILLING_TO_PERFORM]' PASSED 'suites/paged_results/paged_results_test.py::test_search_limits_fail[5-15-cn=config-nsslapd-timelimit-20-UNAVAILABLE_CRITICAL_EXTENSION]' PASSED 'suites/paged_results/paged_results_test.py::test_search_limits_fail[21-50-cn=config-nsslapd-sizelimit-20-SIZELIMIT_EXCEEDED]' PASSED 'suites/paged_results/paged_results_test.py::test_search_limits_fail[21-50-cn=config-nsslapd-pagedsizelimit-5-SIZELIMIT_EXCEEDED]' PASSED 'suites/paged_results/paged_results_test.py::test_search_limits_fail[5-50-cn=config,cn=ldbm' 'database,cn=plugins,cn=config-nsslapd-lookthroughlimit-20-ADMINLIMIT_EXCEEDED]' PASSED suites/paged_results/paged_results_test.py::test_search_sort_success PASSED suites/paged_results/paged_results_test.py::test_search_abandon PASSED suites/paged_results/paged_results_test.py::test_search_with_timelimit PASSED 'suites/paged_results/paged_results_test.py::test_search_dns_ip_aci[dns' = '"localhost.localdomain"]' PASSED 'suites/paged_results/paged_results_test.py::test_search_dns_ip_aci[ip' = '"::1"' or ip = '"127.0.0.1"]' PASSED suites/paged_results/paged_results_test.py::test_search_multiple_paging PASSED 'suites/paged_results/paged_results_test.py::test_search_invalid_cookie[1000]' PASSED 'suites/paged_results/pa ged_results_test.py::test_search_invalid_cookie[-1]' PASSED suites/paged_results/paged_results_test.py::test_search_abandon_with_zero_size PASSED suites/paged_results/paged_results_test.py::test_search_pagedsizelimit_success PASSED 'suites/paged_results/paged_results_test.py::test_search_nspagedsizelimit[5-15-PASS]' PASSED 'suites/paged_results/paged_results_test.py::test_search_nspagedsizelimit[15-5-SIZELIMIT_EXCEEDED]' PASSED 'suites/paged_results/paged_results_test.py::test_search_paged_limits[conf_attr_values0-ADMINLIMIT_EXCEEDED]' PASSED 'suites/paged_results/paged_results_test.py::test_search_paged_limits[conf_attr_values1-PASS]' PASSED 'suites/paged_results/paged_results_test.py::test_search_paged_user_limits[conf_attr_values0-ADMINLIMIT_EXCEEDED]' PASSED 'suites/paged_results/paged_results_test.py::test_search_paged_user_limits[conf_attr_values1-PASS]' PASSED suites/paged_results/paged_results_test.py::test_ger_basic PASSED suites/paged_results/paged_results_test.py::test_multi_suffix_search PASSED 'suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[None]' PASSED 'suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[-1]' PASSED 'suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[1000]' PASSED 'suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[0]' PASSED 'suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[1]' PASSED suites/pam_passthru_plugin/pam_test.py::test_pam_init PASSED suites/pam_passthru_plugin/pam_test.py::test_pam_ PASSED suites/passthru_plugin/passthru_test.py::test_passthru_init PASSED suites/passthru_plugin/passthru_test.py::test_passthru_ PASSED suites/password/password_test.py::test_password_init PASSED suites/password/password_test.py::test_password_delete_specific_password PASSED suites/password/pwdAdmin_test.py::test_pwdAdmin_init PASSED suites/password/pwdAdmin_test.py::test_pwdAdmin PASSED suites/password/pwdAdmin_test.py::test_pwdAdmin_con fig_validation PASSED 'suites/password/pwdPolicy_attribute_test.py::test_change_pwd[on-off-UNWILLING_TO_PERFORM]' PASSED 'suites/password/pwdPolicy_attribute_test.py::test_change_pwd[off-off-UNWILLING_TO_PERFORM]' PASSED 'suites/password/pwdPolicy_attribute_test.py::test_change_pwd[off-on-None]' PASSED 'suites/password/pwdPolicy_attribute_test.py::test_change_pwd[on-on-None]' PASSED suites/password/pwdPolicy_attribute_test.py::test_pwd_min_age PASSED 'suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[off-off]' PASSED 'suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[on-off]' PASSED 'suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[off-on]' PASSED 'suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_restrictions[cn=config]' PASSED 'suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_restrictions[cn="cn=nsPwPolicyEntry,ou=People,dc=example,dc=com",cn=nsPwPolicyContainer,ou=People,dc=example,dc=com]' PASSED suites/password/pwdPolicy_syntax_test.py::test_pwdPolicy_syntax PASSED 'suites/password/pwdPolicy_warning_test.py::test_different_values[' ']' PASSED 'suites/password/pwdPolicy_warning_test.py::test_different_values[junk123]' PASSED 'suites/password/pwdPolicy_warning_test.py::test_different_values[on]' PASSED 'suites/password/pwdPolicy_warning_test.py::test_different_values[off]' PASSED suites/password/pwdPolicy_warning_test.py::test_expiry_time PASSED 'suites/password/pwdPolicy_warning_test.py::test_password_warning[passwordSendExpiringTime-off]' PASSED 'suites/password/pwdPolicy_warning_test.py::test_password_warning[passwordWarning-3600]' PASSED suites/password/pwdPolicy_warning_test.py::test_with_different_password_states PASSED suites/password/pwdPolicy_warning_test.py::test_default_behavior PASSED suites/password/pwdPolicy_warning_test.py::test_with_local_policy PASSED suites/password/pwd_algo_test.py::test_pwd_algo_test PASSED suites/password/pwp_history_test.py::test_pwp_history_test PA SSED suites/posix_winsync_plugin/posix_winsync_test.py::test_posix_winsync_init PASSED suites/posix_winsync_plugin/posix_winsync_test.py::test_posix_winsync_ PASSED suites/psearch/psearch_test.py::test_psearch_init PASSED suites/psearch/psearch_test.py::test_psearch_ PASSED suites/referint_plugin/referint_test.py::test_referint_init PASSED suites/referint_plugin/referint_test.py::test_referint_ PASSED suites/replication/cleanallruv_test.py::test_cleanallruv_init ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_clean ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_clean_restart ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_clean_force ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_abort ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_abort_restart ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_abort_certify ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_stress_clean ERROR suites/replication/wait_for_async_feature_test.py::test_not_int_value ERROR suites/replication/wait_for_async_feature_test.py::test_multi_value ERROR 'suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr0]' ERROR 'suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr1]' ERROR 'suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr2]' ERROR 'suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr3]' ERROR 'suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr0]' ERROR 'suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr1]' ERROR 'suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr2]' ERROR 'suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr3]' ERROR suites/replsync_plugin/repl_sync_test.py::test_repl_sync_init PASSED suites/replsync_plugin/repl_ sync_test.py::test_repl_sync_ PASSED suites/resource_limits/res_limits_test.py::test_res_limits_init PASSED suites/resource_limits/res_limits_test.py::test_res_limits_ PASSED suites/retrocl_plugin/retrocl_test.py::test_retrocl_init PASSED suites/retrocl_plugin/retrocl_test.py::test_retrocl_ PASSED suites/reverpwd_plugin/reverpwd_test.py::test_reverpwd_init PASSED suites/reverpwd_plugin/reverpwd_test.py::test_reverpwd_ PASSED suites/roles_plugin/roles_test.py::test_roles_init PASSED suites/roles_plugin/roles_test.py::test_roles_ PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_init PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_specific_time PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_day_of_week PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_denied_ip PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_denied_host PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_allowed_ip PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_allowed_host PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_config_validate PASSED suites/sasl/sasl_test.py::test_sasl_init PASSED suites/sasl/sasl_test.py::test_sasl_ PASSED suites/schema/test_schema.py::test_schema_comparewithfiles PASSED suites/schema_reload_plugin/schema_reload_test.py::test_schema_reload_init PASSED suites/schema_reload_plugin/schema_reload_test.py::test_schema_reload_ PASSED suites/snmp/snmp_test.py::test_snmp_init PASSED suites/snmp/snmp_test.py::test_snmp_ PASSED suites/ssl/ssl_test.py::test_ssl_init PASSED suites/ssl/ssl_test.py::test_ssl_ PASSED suites/syntax_plugin/syntax_test.py::test_syntax_init PASSED suites/syntax_plugin/syntax_test.py::test_syntax_ PASSED suites/usn_plugin/usn_test.py::test_usn_init PASSED suites/usn_plugin/usn_test.py::test_usn_ PASSED suites/views_plugin/views_test.py::test_views_init PASSED suites/views_plugin/views_test.py::test_views_ PASSED suites/vlv/vlv_test.py::test_vlv_init PASS ED suites/vlv/vlv_test.py::test_vlv_ PASSED suites/whoami_plugin/whoami_test.py::test_whoami_init PASSED suites/whoami_plugin/whoami_test.py::test_whoami_ PASSED ==================================== ERRORS ==================================== ______________________ ERROR at setup of test_ticket47462 ______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47462'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket4746 2_test.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11633b200>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_ticket47490_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47490_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instan ce[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ____________________ ERROR at setup of test_ticket47490_one ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_tick et47490_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at setup of test_ticket47490_two ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47490_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<l ib389.DirSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_three ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47490_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_four ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47490_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Creat e the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_five ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47490_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_S ERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at setup of test_ticket47490_six ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47490_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_inst ance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_seven ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47490_ init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '> ' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_eight ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47490_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.Di rSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_nine ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47490_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1162d7320>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________________ ERROR at setup of test_ticket47536 ______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47536'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47536_test.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' ins tance at '0x7fb115ae6ab8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_ticket47573_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47573_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.cr eate()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47573_test.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb116115518>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-consumer_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ____________________ ERROR at setup of test_ticket47573_one ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47573_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MAST ER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47573_test.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb116115518>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at setup of test_ticket47573_two ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47573_init'\''>>' '@pytest.fixtur e(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47573_test.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb116115518>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__, repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47573_three ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47573_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47573_test.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb116 115518>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47619_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47619_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47619_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115a1e3f8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-consumer_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _______________ ERROR at setup of test_ticket47619_create_index ________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47619_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SE RVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47619_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115a1e3f8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError __________________ ERROR at setup of test_ticket47619_reindex __________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47619_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instan ce[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47619_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115a1e3f8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of test_ticket47619_check_indexed_search ____________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47619_ini t'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47619_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115a1e3f8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 's elf.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47653_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47653_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47653MMR_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1163545a8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ____________________ ERROR at setup of test_ticket47653_add ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47653_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.al locate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47653MMR_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1163545a8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError __________________ ERROR at setup of test_ticket47653_modify ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket4 7653_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47653MMR_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSr v' instance at '0x7fb1163545a8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47676_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47676_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master 1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47676_test.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1160d5f80>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ________________ ERROR at setup of test_ticket47676_skip_oc_at _________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47676_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47676_test.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1160d5f80>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '> ' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_ticket47676_reject_action _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47676_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47676_test.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1160d5f80>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47721_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47721_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'ar gs_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115bce3f8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket47721_0 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket477 21_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' in stance at '0x7fb115bce3f8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47721_1 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47721_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.cre ate()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115bce3f8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47721_2 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47721_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master 1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115bce3f8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47721_3 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47721_init'\''>>' '@pytest.fixture(scope="mo dule")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115bce3f8>,' name = ''\'' inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47721_4 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47721_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create() ' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115bce3f8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47787_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47787_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSr v(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47787_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1159a4b00>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---- ------------------------ Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket47787_2 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47787_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47787_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../li b389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1159a4b00>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47869_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47869_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_mas ter)' '#' Get the status of the instance instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47869MMR_test.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb116e456c8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_ticket47869_check ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47869_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request) :' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47869MMR_test.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb116e456c8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CL ASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47871_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47871_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance and restart it if it exists instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47871_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica. py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1158896c8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-consumer_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket47871_1 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47871_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance and restart it if it exists instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47871_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1158896c8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47871_2 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47871_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER '->' Consumer. ''\'''\'''\''' master = 'DirSrv(verbose=False)' consumer = 'DirSrv(verbose=False)' '#' Args for the master instance 'args_instance[SER_HOST]' = HOST_ MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master.allocate(args_master)' '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_CONSUMER_1 'args_instance[SER_PORT]' = PORT_CONSUMER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_CONSUMER_1 args_consumer = 'args_instance.copy()' 'consumer.allocate(args_consumer)' '#' Get the status of the instance and restart it if it exists instance_master = 'master.exists()' instance_consumer = 'consumer.exists()' '#' Remove all the instances if instance_master: 'master.delete()' if instance_consumer: 'consumer.delete()' '#' Create the instances 'master.create()' 'master.open()' 'consumer.create()' 'consumer.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47871_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1158896c8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________________ ERROR at setup of test_ticket47966 ______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47 966'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=DEFAULT_SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47966_test.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115b0e878>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_ticket47988_init ____________________ request = '<S ubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47988_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#os.environ['\''USE_VALGRIND'\'']' = ''\''1'\''' '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' def 'fin():' 'master1.delete()' 'master2.delete()' 'request.addfinalizer(fin)' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/l ib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11595f8c0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket47988_1 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47988_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#os.environ['\''USE_VALGRIND'\'']' = ''\''1'\''' '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=F alse)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' def 'fin():' 'master1.delete()' 'master2.delete()' 'request.addfinalizer(fin)' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11595f8c0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_2 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47988_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#os.environ['\''USE_VALGRIND'\'']' = ''\''1'\''' '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' def 'fin():' 'master1.delete()' 'master2.delete()' 'request.addfinalizer(fin)' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' ' dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11595f8c0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_3 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47988_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#os.environ['\''USE_VALGRIND'\'']' = ''\''1'\''' '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' def 'fin():' 'master1.delete()' 'master2.delete()' 'request.addfinalizer(fin)' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11595f8c0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_4 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47988_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#os.environ['\''USE_VALGRIND'\'']' = ''\''1'\''' '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLO YED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' def 'fin():' 'master1.delete()' 'master2.delete()' 'request.addfinalizer(fin)' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11595f8c0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'se lf.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_5 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47988_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#os.environ['\''USE_VALGRIND'\'']' = ''\''1'\''' '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' def 'fin():' 'master1.delete()' 'master2.delete()' 'request.addfinalizer(fin)' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLIC AROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11595f8c0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_6 _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket47988_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' ''\'''\'''\''' This fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. ''\'''\'''\''' global installation1_prefix global installation2_prefix '#os.environ['\''USE_VALGRIND'\'']' = ''\''1'\''' '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' def 'fin():' 'master1.delete()' 'master2.delete()' 'request.addfinalizer(fin)' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11595f8c0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________ ERROR at setup of test_ticket48226_set_purgedelay _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket48226_set_purgedelay'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix 'os.envi ron['\''USE_VALGRIND'\'']' = ''\''1'\''' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48226_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115af3200>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket48226_1 _____________________ request = '<SubRequest' ''\'' topology'\''' for '<Function' ''\''test_ticket48226_set_purgedelay'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix 'os.environ['\''USE_VALGRIND'\'']' = ''\''1'\''' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48226_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115af3200>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ________________ ERROR at setup of test_ticket48266_fractional _________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket48266_fractional'\''>>' '@pytest.fixture(scope= "module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48266_test.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7f05a8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________ ERROR at setup of test_ticket48266_chec k_repl_desc ______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket48266_fractional'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48266_test.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7f05a8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of test_ticket48266_count_csn_evaluation ____________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket48266_fractional'\''>>' '@pytest.fixture(sco pe="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48266_test.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7f05a8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________________ ERROR at setup of test_ticket48325 ______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket48325'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Crea ting master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48325_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb116ebe6c8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket4026 _______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket4026'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_inst ance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48342_test.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d6c71b8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket48362 ______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_tic ket48362'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48362_test.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d7f38>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket48755 ______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket48755'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48755_test.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115aca5f0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket48784 ___________ ___________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket48784'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48784_test.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d838128>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ---------------- ------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket48799 ______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket48799'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48799_test.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115b225a8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc= example,dc=com ______________________ ERROR at setup of test_ticket48916 ______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_ticket48916'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""Create' Replication 'Deployment"""' '#' Creating master 1... if DEBUGGING: master1 = 'DirSrv(verbose=True)' else: master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48916_test.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d608050>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- I NFO:lib389:List backend with suffix=dc=example,dc=com _________ ERROR at setup of 'test_aci_attr_subtype_targetattr[lang-ja]' __________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com __________ ERROR at setup of 'test_aci_attr_subtype_targetattr[binary]' __________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR ]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _________ ERROR at setup of 'test_aci_attr_subtype_targetattr[phonetic]' _________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self .CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _________________ ERROR at setup of test_mode_default_add_deny _________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.ena bleReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_mode_default_delete_deny ________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of 'test_moddn_staging_prod[0-cn=staged' 'user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]' request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\'' .' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTIO N_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of 'test_moddn_staging_prod[1-cn=staged' 'user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]' request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of 'test_moddn_staging_prod[2-cn=staged' 'user,dc=example,dc=com-cn=bad*,dc=example,dc=com-True]' request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_D IR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of 'test_moddn_staging_prod[3-cn=st*,dc=example,dc=com-cn=accounts,dc=example,dc=com-False]' request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' r eturn 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of 'test_moddn_staging_prod[4-cn=bad*,dc=example,dc=com-cn=accounts,dc=example,dc=com-True]' request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of 'test_moddn_staging_prod[5-cn=st*,dc=example,dc=com-cn=ac*,dc=example,dc=com-False]' request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_ instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of 'test_moddn_staging_prod[6-None-cn=ac*,dc=example,dc=com-False]' request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a re plicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' ret urn 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of 'test_moddn_staging_prod[7-cn=st*,dc=example,dc=com-None-False]' request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable repli cation 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _________ ERROR at setup of 'test_moddn_staging_prod[8-None-None-False]' _________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_pre fix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _________________ ERROR at setup of test_moddn_staging_prod_9 __________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The r eplicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPIN G[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError __________________ ERROR at setup of test_moddn_prod_staging ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SU FFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError __________________ ERROR at setup of test_check_repl_M2_to_M1 __________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance [SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_moddn_staging_prod_except _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' gl obal installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_mode_default_ger_no_moddn _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLIC AID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________ ERROR at setup of test_mode_default_ger_with_moddn ______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________ ERROR at setup of test_mode_switch_default_to_legacy _____________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\' '%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_mode_legacy_ger_no_moddn1 _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_mode_legacy_ger_no_moddn2 _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________ ERROR at setup of test_mode_legacy_ger_with_moddn _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__clas s__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_rdn_write_get_ger ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy()' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________ ERROR at setup of test_rdn_write_modrdn_anonymous _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_aci_attr_subtype_targetattr[lang-ja]'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""This' fixture is used to create a replicated topology for the ''\''module'\''.' The replicated topology is MASTER1 '<->' Master2. '"""' global installation1_prefix global installation2_prefix '#' allocate master1 on a given deployement master1 = 'DirSrv(verbose=False)' if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Args for the master1 instance 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 args_master = 'args_instance.copy()' 'master1.allocate(args_master)' '#' allocate master1 on a given deployement master2 = 'DirSrv(verbose=False)' if installation2_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation2_prefix '#' Args for the consumer instance 'args_instance[SER_HOST]' = HOST_MASTER_2 'args_instance[SER_PORT]' = PORT_MASTER_2 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_2 args_master = 'args_instance.copy( )' 'master2.allocate(args_master)' '#' Get the status of the instance and restart it if it exists instance_master1 = 'master1.exists()' instance_master2 = 'master2.exists()' '#' Remove all the instances if instance_master1: 'master1.delete()' if instance_master2: 'master2.delete()' '#' Create the instances 'master1.create()' 'master1.open()' 'master2.create()' 'master2.open()' '#' '#' Now prepare the Master-Consumer topology '#' '#' First Enable replication 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d7d20e0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at setup of test_maxbersize_repl ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_maxbersize_repl'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""Create' Replication 'Deployment"""' '#' Creating master 1... if DEBUGGING: master1 = 'DirSrv(verbose=True)' else: master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUF FIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/config/config_test.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11576bcb0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________ ERROR at setup of test_config_listen_backport_size ______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_maxbersize_repl'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""Create' Replication 'Deployment"""' '#' Creating master 1... if DEBUGGING: master1 = 'DirSrv(verbose=True)' else: master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVE RID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/config/config_test.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11576bcb0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ________________ ERROR at setup of test_config_deadlock_policy _________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_maxbersize_repl'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' '"""Create' Replication 'Deployment"""' '#' Creating master 1... if DEBUGGING: master1 = 'DirSrv(verbose=True)' else: master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' ' >' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/config/config_test.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11576bcb0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at teardown of test_range_search ____________________ def 'fin():' 'standalone.delete()' if not 'standalone.has_asan():' sbin_dir = 'standalone.get_sbin_dir()' '>' 'valgrind_disable(sbin_dir)' suites/memory_leaks/range_search_test.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ sbin_dir = ''\''/usr/sbin'\''' def 'valgrind_disable(sbin_dir):' ''\'''\'''\''' Restore the ns-slapd binary to its original state - the server instances are expected to be stopped. Note - selinux is enabled at the end of this process. :param sbin_dir - the location of the ns-slapd binary '(e.g.' '/usr/sbin)' :raise ValueError :raise EnvironmentError: If script is not run as ''\''root'\''' ''\'''\'''\''' if 'os.geteuid()' '!=' 0: 'log.error('\''This' script must be run as root to use 'valgrind'\'')' raise EnvironmentError nsslapd_orig = ''\''%s/ns-slapd'\''' % sbin_dir nsslapd_backup = ''\''%s/ns-slapd.original'\''' % sbin_dir '#' Restore the original ns-slapd try: 'shutil.copyfile(nsslapd_backup,' 'nsslapd_orig)' except IOError as e: 'log.fatal('\''valgrind_disable:' failed to restore ns-slapd, error: '%s'\''' % 'e.strerror)' '>' raise 'ValueError('\''failed' to restore ns-slapd, error: '%s'\''' % 'e.strerror)' E ValueError: failed to restore ns-slapd, error: Text file busy ../../../lib389/lib389/utils.py:288: ValueError ----------------------------- Captured stderr call ----------------------------- INFO:suites.memory_leaks.range_search_test:Running test_range_search... --------------------------- Captured stdout teardown --------------------------- Instance slapd-standalone removed. --------------------------- Captured stderr teardown --------------------------- CRITICAL:lib389.utils:valgrind_disable: failed to restore ns-slapd, error: Text file busy ___________________ ERROR at setup of test_cleanallruv_init ____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_cleanallruv_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d66e290>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_cleanallruv_clean ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_cleanallruv_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d66e290>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_cleanallruv_clean_restart _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_cleanallruv_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d66e290>,' name = ''\''inst_dir'\''' def '__getattr__ (self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ________________ ERROR at setup of test_cleanallruv_clean_force ________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_cleanallruv_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d66e290>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\' '%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_cleanallruv_abort ___________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_cleanallruv_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d66e290>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____ __________ ERROR at setup of test_cleanallruv_abort_restart _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_cleanallruv_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d66e290>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_cleanallruv_abort_certify _______________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_cleanallruv_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(reque st):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d66e290>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_cleanallruv_stress_clean ________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_cleanallruv_init'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args _instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d66e290>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_not_int_value _____________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_m aster1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_multi_value ______________________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of 'test_value_check[waitfor_async_attr0]' ____________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableRe plication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of 'test_value_check[waitfor_async_attr1]' ____________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of 'test_value_check[waitfor_async_attr2]' ____________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of 'test_value_check[waitfor_async_attr3]' ____________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.h as_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______ ERROR at setup of 'test_behavior_with_value[waitfor_async_attr0]' ________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______ ERROR at setup of 'test_behavior_with_value[waitfor_async_attr1]' ________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______ ERROR at setup of 'test_beha vior_with_value[waitfor_async_attr2]' ________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installation1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______ ERROR at setup of 'test_behavior_with_value[waitfor_async_attr3]' ________ request = '<SubRequest' ''\''topology'\''' for '<Function' ''\''test_not_int_value'\''>>' '@pytest.fixture(scope="module")' def 'topology(request):' global installati on1_prefix if installation1_prefix: 'args_instance[SER_DEPLOYED_DIR]' = installation1_prefix '#' Creating master 1... master1 = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = HOST_MASTER_1 'args_instance[SER_PORT]' = PORT_MASTER_1 'args_instance[SER_SERVERID_PROP]' = SERVERID_MASTER_1 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_master = 'args_instance.copy()' 'master1.allocate(args_master)' instance_master1 = 'master1.exists()' if instance_master1: 'master1.delete()' 'master1.create()' 'master1.open()' '>' 'master1.replica.enableReplication(suffix=SUFFIX,' role=REPLICAROLE_MASTER, 'replicaId=REPLICAID_MASTER_1)' suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d614bd8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError =================================== FAILURES =================================== ____________________________ test_ticket47669_init _____________________________ topology = '<tickets.ticket47669_test.TopologyStandalone' object at '0x7fb116ac1a50>' def 'test_ticket47669_init(topology):' '"""' Add cn=changelog5,cn=config Enable cn=Retro Changelog Plugin,cn=plugins,cn=config '"""' 'log.info('\''Testing' Ticket 47669 - Test duration syntax in the 'changelogs'\'' )' '#' bind as directory manager 'topology.standalone.log.info("Bind' as '%s"' % 'DN_DM)' 'topology.standalone.simple_bind_s(DN_DM,' 'PASSWORD)' try: '>' changelogdir = 'os.path.join(topology.standalone.inst_dir,' ''\''changelog'\'')' tickets/ticket47669_test.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb11636fb00>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47669_test:Testing Ticket 47669 - Test duration syntax in the changelogs INFO:lib389:Bind as cn=Directory Manager ______________________ test_ticket47669_changelog_maxage _______________________ topology = '<tickets.ticket47669_test.TopologyStandalone' object at '0x7fb116ac1a50>' def 'test_ticket47669_changelog_maxage(topology):' '"""' Test nsslapd-changelogmaxage in cn=changelog5,cn=config '"""' 'log.info('\''1.' Test nsslapd-changelogmaxage in 'cn=changelog5,cn=config'\'')' '#' bind as directory manager 'topology.standalone.log.info("Bind' as '%s"' % 'DN_DM)' 'topology.standalone.simple_bind_s(DN_DM,' 'PASSWORD)' '>' 'add_and_check(topology,' CHANGELOG, MAXAGE, ''\''12345'\'',' 'True)' tickets/ticket47669_test.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology = '<tickets.ticket47669_test.TopologyStandalone' object at '0x7fb116ac1a50>' plugin = ''\''cn=changelog5,cn=config'\'',' attr = ''\''nsslapd-changelogmaxage'\''' val = ''\''12345'\'',' isvalid = True def 'add_and_check(topology,' plugin, attr, val, 'isvalid):' '"""' Helper function to add/replace attr: val and check the added value '"""' if isvalid: 'log.info('\''Test' %s: %s -- 'valid'\''' % '(attr,' 'val))' try: 'topology.standalone.modify_s(plugin,' '[(ldap.MOD_REPLACE,' attr, 'val)])' except ldap.LDAPError as e: 'log.error('\''Failed' to add \' + attr + ''\'':' \' + val + \' to \' + plugin + ''\'':' error \' + 'e.message['\''desc'\''])' '>' assert False E assert False tickets/ticket47669_test.py:116: AssertionError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47669_test:1. Test nsslapd-changelogmaxage in cn=changelog5,cn=config INFO:lib389:Bind as cn=Directory Manager INFO:tickets.ticket47669_test:Test nsslapd-changelogmaxage: 12345 -- valid ERROR:tickets.ticket47669_test:Failed to add nsslapd-changelogmaxage: 12345 to cn=changelog5,cn=config: error No such object ___________________ test_ticket47669_changelog_triminterval ____________________ topology = '<tickets.ticket47669_test.TopologyStandalone' object at '0x7fb116ac1a50>' def 'test_ticket47669_changelog_triminterval(topology):' '"""' Test nsslapd-changelogtrim-interval in cn=changelog5,cn=config '"""' 'log.info('\''2.' Test nsslapd-changelogtrim-interval in 'cn=changelog5,cn=config'\'')' '#' bind as directory manager 'topology.standalone.log.info("Bind' as '%s"' % 'DN_DM)' 'topology.standalone.simple_bind_s(DN_DM,' 'PASSWORD)' '>' 'add_and_check(topology,' CHANGELOG, TRIMINTERVAL, ''\''12345'\'',' 'True)' tickets/ticket47669_test.py:181: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology = '<tickets.ticket47669_test.TopologyStandalone' object at '0x7fb116ac1a50>' plugin = ''\''cn=changelog5,cn=config'\'',' attr = ''\''nsslapd-changelogtrim-interval'\''' val = ''\''12345'\'',' isvalid = True def 'add_and_check(topology,' plugin, attr, val, 'isvalid):' '"""' Helper function to add/ replace attr: val and check the added value '"""' if isvalid: 'log.info('\''Test' %s: %s -- 'valid'\''' % '(attr,' 'val))' try: 'topology.standalone.modify_s(plugin,' '[(ldap.MOD_REPLACE,' attr, 'val)])' except ldap.LDAPError as e: 'log.error('\''Failed' to add \' + attr + ''\'':' \' + val + \' to \' + plugin + ''\'':' error \' + 'e.message['\''desc'\''])' '>' assert False E assert False tickets/ticket47669_test.py:116: AssertionError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47669_test:2. Test nsslapd-changelogtrim-interval in cn=changelog5,cn=config INFO:lib389:Bind as cn=Directory Manager INFO:tickets.ticket47669_test:Test nsslapd-changelogtrim-interval: 12345 -- valid ERROR:tickets.ticket47669_test:Failed to add nsslapd-changelogtrim-interval: 12345 to cn=changelog5,cn=config: error No such object _________________ test_ticket47669_changelog_compactdbinterval _________________ topology = '<tickets.ticket47669_test.TopologyStandalone' object at '0x7fb116ac1a50>' def 'test_ticket47669_changelog_compactdbinterval(topology):' '"""' Test nsslapd-changelogcompactdb-interval in cn=changelog5,cn=config '"""' 'log.info('\''3.' Test nsslapd-changelogcompactdb-interval in 'cn=changelog5,cn=config'\'')' '#' bind as directory manager 'topology.standalone.log.info("Bind' as '%s"' % 'DN_DM)' 'topology.standalone.simple_bind_s(DN_DM,' 'PASSWORD)' '>' 'add_and_check(topology,' CHANGELOG, COMPACTDBINTERVAL, ''\''12345'\'',' 'True)' tickets/ticket47669_test.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology = '<tickets.ticket47669_test.TopologyStandalone' object at '0x7fb116ac1a50>' plugin = ''\''cn=changelog5,cn=config'\'',' attr = ''\''nsslapd-changelogcompactdb-interval'\''' val = ''\''12345'\'',' isvalid = True def 'add_and_check(topology,' plugin, attr, val, 'isvalid):' '"""' Helper function to add/replace attr: val and check the added value '"""' if isvalid: 'log.info('\''Test' %s: %s -- 'valid'\''' % '(attr,' 'val))' t ry: 'topology.standalone.modify_s(plugin,' '[(ldap.MOD_REPLACE,' attr, 'val)])' except ldap.LDAPError as e: 'log.error('\''Failed' to add \' + attr + ''\'':' \' + val + \' to \' + plugin + ''\'':' error \' + 'e.message['\''desc'\''])' '>' assert False E assert False tickets/ticket47669_test.py:116: AssertionError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47669_test:3. Test nsslapd-changelogcompactdb-interval in cn=changelog5,cn=config INFO:lib389:Bind as cn=Directory Manager INFO:tickets.ticket47669_test:Test nsslapd-changelogcompactdb-interval: 12345 -- valid ERROR:tickets.ticket47669_test:Failed to add nsslapd-changelogcompactdb-interval: 12345 to cn=changelog5,cn=config: error No such object _______________________________ test_ticket47781 _______________________________ topology = '<tickets.ticket47781_test.TopologyStandalone' object at '0x7fb116098ad0>' def 'test_ticket47781(topology):' '"""' Testing for a deadlock after doing an online import of an LDIF with replication data. The replication agreement should be invalid. '"""' 'log.info('\''Testing' Ticket 47781 - Testing for deadlock after importing LDIF with replication 'data'\'')' '#' '#' Setup Replication '#' 'log.info('\''Setting' up 'replication...'\'')' 'topology.standalone.replica.enableReplication(suffix=DEFAULT_SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47781_test.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1159b04d0>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self._ _dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47781_test:Testing Ticket 47781 - Testing for deadlock after importing LDIF with replication data INFO:tickets.ticket47781_test:Setting up replication... INFO:lib389:List backend with suffix=dc=example,dc=com _______________________________ test_ticket47819 _______________________________ topology = '<tickets.ticket47819_test.TopologyStandalone' object at '0x7fb11638f710>' def 'test_ticket47819(topology):' '"""' Testing precise tombstone purging: '[1]' Make sure '"nsTombstoneCSN"' is added to new tombstones '[2]' Make sure an import of a replication ldif adds '"nsTombstoneCSN"' to old tombstones '[4]' Test fixup task '[3]' Make sure tombstone purging works '"""' 'log.info('\''Testing' Ticket 47819 - Test precise tombstone 'purging'\'')' '#' '#' Setup Replication '#' 'log.info('\''Setting' up 'replication...'\'')' 'topology.standalone.replica.enableReplication(suffix=DEFAULT_SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47819_test.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb115aea098>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.ge t_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47819_test:Testing Ticket 47819 - Test precise tombstone purging INFO:tickets.ticket47819_test:Setting up replication... INFO:lib389:List backend with suffix=dc=example,dc=com _______________________________ test_ticket47950 _______________________________ topology = '<tickets.ticket47950_test.TopologyStandalone' object at '0x7fb1157989d0>' def 'test_ticket47950(topology):' '"""' Testing nsslapd-plugin-binddn-tracking does not cause issues around access control and reconfiguring replication/repl agmt. '"""' 'log.info('\''Testing' Ticket 47950 - Testing 'nsslapd-plugin-binddn-tracking'\'')' '#' '#' Turn on bind dn tracking '#' try: 'topology.standalone.modify_s("cn=config",' '[(ldap.MOD_REPLACE,' ''\''nsslapd-plugin-binddn-tracking'\'',' ''\''on'\'')])' 'log.info('\''nsslapd-plugin-binddn-tracking' 'enabled.'\'')' except ldap.LDAPError as e: 'log.error('\''Failed' to enable bind dn tracking: \' + 'e.message['\''desc'\''])' assert False '#' '#' Add two users '#' try: 'topology.standalone.add_s(Entry((USER1_DN,' '{' ''\''objectclass'\'':' '"top' person 'inetuser".split(),' ''\''userpassword'\'':' '"password",' ''\''sn'\'':' '"1",' ''\''cn'\'':' '"user' '1"})))' 'log.info('\''Added' test user '%s'\''' % 'USER1_DN)' except ldap.LDAPError as e: 'log.error('\''Failed' to add %s: '%s'\''' % '(USER1_DN,' 'e.message['\''desc'\'']))' assert False try: 'topology.standalone.add_s(Entry((USER2_DN,' '{' ''\''objectclass'\'':' '"top' person 'inetuser".sp lit(),' ''\''sn'\'':' '"2",' ''\''cn'\'':' '"user' '2"})))' 'log.info('\''Added' test user '%s'\''' % 'USER2_DN)' except ldap.LDAPError as e: 'log.error('\''Failed' to add user1: \' + 'e.message['\''desc'\''])' assert False '#' '#' Add an aci '#' try: acival = ''\''(targetattr' '="cn")(version' '3.0;acl' '"Test' bind dn 'tracking"'\''' + '\' ''\'';allow' '(all)' '(userdn' = '"ldap:///%s");)'\''' % USER1_DN 'topology.standalone.modify_s(DEFAULT_SUFFIX,' '[(ldap.MOD_ADD,' ''\''aci'\'',' 'acival)])' 'log.info('\''Added' 'aci'\'')' except ldap.LDAPError as e: 'log.error('\''Failed' to add aci: \' + 'e.message['\''desc'\''])' assert False '#' '#' Make modification as user '#' try: 'topology.standalone.simple_bind_s(USER1_DN,' '"password")' 'log.info('\''Bind' as user %s 'successful'\''' % 'USER1_DN)' except ldap.LDAPError as e: 'log.error('\''Failed' to bind as user1: \' + 'e.message['\''desc'\''])' assert False try: 'topology.standalone.modify_s(USER2_DN,' '[(ldap.MOD_REPLACE,' ''\''cn'\'',' ''\''new' 'value'\'')])' 'log.info('\''%s' successfully modified user '%s'\''' % '(USER1_DN,' 'USER2_DN))' except ldap.LDAPError as e: 'log.error('\''Failed' to update user2: \' + 'e.message['\''desc'\''])' assert False '#' '#' Setup replica and create a repl agmt '#' try: 'topology.standalone.simple_bind_s(DN_DM,' 'PASSWORD)' 'log.info('\''Bind' as %s 'successful'\''' % 'DN_DM)' except ldap.LDAPError as e: 'log.error('\''Failed' to bind as rootDN: \' + 'e.message['\''desc'\''])' assert False try: 'topology.standalone.replica.enableReplication(suffix=DEFAULT_SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' tickets/ticket47950_test.py:152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSr v' instance at '0x7fb1157ddea8>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47950_test:Testing Ticket 47950 - Testing nsslapd-plugin-binddn-tracking INFO:tickets.ticket47950_test:nsslapd-plugin-binddn-tracking enabled. INFO:tickets.ticket47950_test:Added test user uid=user1,dc=example,dc=com INFO:tickets.ticket47950_test:Added test user uid=user2,dc=example,dc=com INFO:tickets.ticket47950_test:Added aci INFO:tickets.ticket47950_test:Bind as user uid=user1,dc=example,dc=com successful INFO:tickets.ticket47950_test:uid=user1,dc=example,dc=com successfully modified user uid=user2,dc=example,dc=com INFO:tickets.ticket47950_test:Bind as cn=Directory Manager successful INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ test_ticket48497_homeDirectory_index_run ___________________ topology = '<tickets.ticket48497_test.TopologyStandalone' object at '0x7fb1157cc990>' def 'test_ticket48497_homeDirectory_index_run(topology):' args = '{TASK_WAIT:' 'True}' 'topology.standalone.tasks.reindex(suffix=SUFFIX,' 'attrname='\''homeDirectory'\'',' 'args=args)' 'log.info("Check' indexing succeeded with a specified matching 'rule")' file_path = 'os.path.join(topology.standalone.prefix,' '"var/log/dirsrv/slapd-%s/errors"' % 'topology.standalone.serverid)' '>' file_obj = 'open(file_path,' '"r")' E IOError: '[Errno' '2]' No such file or directory: ''\''/usr/var/lo g/dirsrv/slapd-standalone/errors'\''' tickets/ticket48497_test.py:139: IOError ----------------------------- Captured stderr call ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com INFO:lib389:Index task index_homeDirectory_11082016_011820 completed successfully INFO:tickets.ticket48497_test:Check indexing succeeded with a specified matching rule __________________ test_ticket48745_homeDirectory_indexed_cis __________________ topology = '<tickets.ticket48745_test.TopologyStandalone' object at '0x7fb115816050>' def 'test_ticket48745_homeDirectory_indexed_cis(topology):' 'log.info("\n\nindex' homeDirectory in caseIgnoreIA5Match and 'caseExactIA5Match")' try: ent = 'topology.standalone.getEntry(HOMEDIRECTORY_INDEX,' 'ldap.SCOPE_BASE)' except ldap.NO_SUCH_OBJECT: 'topology.standalone.add_s(Entry((HOMEDIRECTORY_INDEX,' '{' ''\''objectclass'\'':' '"top' 'nsIndex".split(),' ''\''cn'\'':' HOMEDIRECTORY_CN, ''\''nsSystemIndex'\'':' ''\''false'\'',' ''\''nsIndexType'\'':' ''\''eq'\''})))' '#log.info("attach' 'debugger")' '#time.sleep(60)' 'IGNORE_MR_NAME='\''caseIgnoreIA5Match'\''' 'EXACT_MR_NAME='\''caseExactIA5Match'\''' mod = '[(ldap.MOD_REPLACE,' MATCHINGRULE, '(IGNORE_MR_NAME,' 'EXACT_MR_NAME))]' 'topology.standalone.modify_s(HOMEDIRECTORY_INDEX,' 'mod)' '#topology.standalone.stop(timeout=10)' 'log.info("successfully' checked that filter with exact mr , a filter with lowercase eq is 'failing")' '#assert' 'topology.standalone.db2index(bename=DEFAULT_BENAME,' suffixes=None, 'attrs=['\''homeDirectory'\''])' '#topology.standalone.start(timeout=10)' args = '{TASK_WAIT:' 'True}' 'topology.standalone.tasks.reindex(suffix=SUFFIX,' 'attrname='\''homeDirectory'\'',' 'args=args)' 'log.info("Check' indexing succeeded with a specified matching 'rule")' file_path = 'os.path.join(topology.standalone.prefix,' '"var/log/dirsrv/slapd-%s/errors"' % 'topology.standalone.serverid)' '>' file_obj = 'open(file_path,' '"r")' E IOError: '[Errno' '2]' No such file or directory: ''\''/usr/var/log/dirsrv/slapd-st andalone/errors'\''' tickets/ticket48745_test.py:110: IOError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket48745_test: index homeDirectory in caseIgnoreIA5Match and caseExactIA5Match INFO:tickets.ticket48745_test:successfully checked that filter with exact mr , a filter with lowercase eq is failing INFO:lib389:List backend with suffix=dc=example,dc=com INFO:lib389:Index task index_homeDirectory_11082016_011935 completed successfully INFO:tickets.ticket48745_test:Check indexing succeeded with a specified matching rule __________________ test_ticket48746_homeDirectory_indexed_cis __________________ topology = '<tickets.ticket48746_test.TopologyStandalone' object at '0x7fb1158080d0>' def 'test_ticket48746_homeDirectory_indexed_cis(topology):' 'log.info("\n\nindex' homeDirectory in caseIgnoreIA5Match and 'caseExactIA5Match")' try: ent = 'topology.standalone.getEntry(HOMEDIRECTORY_INDEX,' 'ldap.SCOPE_BASE)' except ldap.NO_SUCH_OBJECT: 'topology.standalone.add_s(Entry((HOMEDIRECTORY_INDEX,' '{' ''\''objectclass'\'':' '"top' 'nsIndex".split(),' ''\''cn'\'':' HOMEDIRECTORY_CN, ''\''nsSystemIndex'\'':' ''\''false'\'',' ''\''nsIndexType'\'':' ''\''eq'\''})))' '#log.info("attach' 'debugger")' '#time.sleep(60)' 'IGNORE_MR_NAME='\''caseIgnoreIA5Match'\''' 'EXACT_MR_NAME='\''caseExactIA5Match'\''' mod = '[(ldap.MOD_REPLACE,' MATCHINGRULE, '(IGNORE_MR_NAME,' 'EXACT_MR_NAME))]' 'topology.standalone.modify_s(HOMEDIRECTORY_INDEX,' 'mod)' '#topology.standalone.stop(timeout=10)' 'log.info("successfully' checked that filter with exact mr , a filter with lowercase eq is 'failing")' '#assert' 'topology.standalone.db2index(bename=DEFAULT_BENAME,' suffixes=None, 'attrs=['\''homeDirectory'\''])' '#topology.standalone.start(timeout=10)' args = '{TASK_WAIT:' 'True}' 'topology.standalone.tasks.reindex(suffix=SUFFIX,' 'attrname='\''homeDirectory'\'',' 'args=args)' 'log.info("Check' indexing succeeded with a specified matching 'rule")' file_path = 'os.path.join(topology.standalone.prefix,' '"var/log/dirsrv/slapd-%s/errors"' % 'topology.standalone.serverid)' '>' file_obj = 'open(file_path,' '"r")' E IOError: '[Errno' '2]' No such file or directory: ''\''/usr/var/log/dirsrv/slapd-standalone/errors'\''' tickets/ticket48746_test.py:108: IOError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket48746_test: index homeDirectory in caseIgnoreIA5Match and caseExactIA5Match INFO:tickets.ticket48746_test:successfully checked that filter with exact mr , a filter with lowercase eq is failing INFO:lib389:List backend with suffix=dc=example,dc=com INFO:lib389:Index task index_homeDirectory_11082016_012001 completed successfully INFO:tickets.ticket48746_test:Check indexing succeeded with a specified matching rule __________________ test_ticket48746_homeDirectory_indexed_ces __________________ topology = '<tickets.ticket48746_test.TopologyStandalone' object at '0x7fb1158080d0>' def 'test_ticket48746_homeDirectory_indexed_ces(topology):' 'log.info("\n\nindex' homeDirectory in caseExactIA5Match, this would trigger the 'crash")' try: ent = 'topology.standalone.getEntry(HOMEDIRECTORY_INDEX,' 'ldap.SCOPE_BASE)' except ldap.NO_SUCH_OBJECT: 'topology.standalone.add_s(Entry((HOMEDIRECTORY_INDEX,' '{' ''\''objectclass'\'':' '"top' 'nsIndex".split(),' ''\''cn'\'':' HOMEDIRECTORY_CN, ''\''nsSystemIndex'\'':' ''\''false'\'',' ''\''nsIndexType'\'':' ''\''eq'\''})))' '#' 'log.info("attach' 'debugger")' '#' 'time.sleep(60)' 'EXACT_MR_NAME='\''caseExactIA5Match'\''' mod = '[(ldap.MOD_REPLACE,' MATCHINGRULE, '(EXACT_MR_NAME))]' 'topology.standalone.modify_s(HOMEDIRECTORY_INDEX,' 'mod)' '#topology.standalone.stop(timeout=10)' 'log.info("successfully' checked that filter with exact mr , a filter with lowercase eq is 'failing")' '#assert' 'topology.standalone.db2index(bename=DEFAULT_BENAME,' suffixes=None, 'attrs=['\''homeDirectory'\''])' '#topology.standalone.start(timeout=10)' args = '{TASK_WAIT:' 'True}' 'topology.standalone.tasks.reindex(suffix=SUFFIX,' 'attrname='\''homeDirectory '\'',' 'args=args)' 'log.info("Check' indexing succeeded with a specified matching 'rule")' file_path = 'os.path.join(topology.standalone.prefix,' '"var/log/dirsrv/slapd-%s/errors"' % 'topology.standalone.serverid)' '>' file_obj = 'open(file_path,' '"r")' E IOError: '[Errno' '2]' No such file or directory: ''\''/usr/var/log/dirsrv/slapd-standalone/errors'\''' tickets/ticket48746_test.py:172: IOError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket48746_test: index homeDirectory in caseExactIA5Match, this would trigger the crash INFO:tickets.ticket48746_test:successfully checked that filter with exact mr , a filter with lowercase eq is failing INFO:lib389:List backend with suffix=dc=example,dc=com INFO:lib389:Index task index_homeDirectory_11082016_012003 completed successfully INFO:tickets.ticket48746_test:Check indexing succeeded with a specified matching rule _______________________________ test_ticket48759 _______________________________ topology = '<tickets.ticket48759_test.TopologyStandalone' object at '0x7fb1158635d0>' def 'test_ticket48759(topology):' '"""' The fix for ticket 48759 has to prevent plugin calls for tombstone purging The test uses the memberof and retrocl plugins to verify this. In tombstone purging without the fix the mmeberof plugin is called, if the tombstone entry is a group, it modifies the user entries for the group and if retrocl is enabled this mod is written to the retrocl The test sequence is: - enable replication - enable memberof and retro cl plugin - add user entries - add a group and add the users as members - verify memberof is set to users - delete the group - verify memberof is removed from users - add group again - verify memberof is set to users - get number of changes in retro cl for one user - configure tombstone purging - wait for purge interval to pass - add a dummy entry to increase maxcsn - wait for purge interval to pass two times - get number of changes in retro cl for user again - assert there was no additional ch ange '"""' 'log.info('\''Testing' Ticket 48759 - no plugin calls for tombstone 'purging'\'')' '#' '#' Setup Replication '#' 'log.info('\''Setting' up 'replication...'\'')' 'topology.standalone.replica.enableReplication(suffix=DEFAULT_SUFFIX,' role=REPLICAROLE_MASTER, '>' 'replicaId=REPLICAID_MASTER_1)' tickets/ticket48759_test.py:148: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication 'self.conn.changelog.create()' ../../../lib389/lib389/changelog.py:48: in create dirpath = 'os.path.join(self.conn.inst_dir,' 'dbname)' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb10d5ee950>,' name = ''\''inst_dir'\''' def '__getattr__(self,name):' if 'self.CLASSATTR_OPTION_MAPPING.has_key(name):' return 'self.get_option(self.CLASSATTR_OPTION_MAPPING[name])' elif 'self.__dict__.has_key(name):' return 'self.__dict__[name]' else: raise 'AttributeError,'\''%s' has no attribute '%s'\''' % '(' '>' 'self.__class__.__name__,repr(name)' ')' E AttributeError: DirSrv has no attribute ''\''inst_dir'\''' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket48759_test:Testing Ticket 48759 - no plugin calls for tombstone purging INFO:tickets.ticket48759_test:Setting up replication... INFO:lib389:List backend with suffix=dc=example,dc=com _____________________________ test_dynamic_plugins _____________________________ topology = '<test_dynamic_plugins.TopologyStandalone' object at '0x7fb11583ecd0>' def 'test_dynamic_plugins(topology):' '"""' Test Dynamic Plugins - exercise each plugin and its main features, while changing the configuration without restarting the server. Need to test: functionality, stability, and stress. These tests need to run with replication disabled, and with replication setup with a second instance. Then test if replication is working, and we have same entries on each side. Functionality - Make sure that as configuration changes are made they take effect immediately. Cross plugin interaction '(e.g.' 'automember/memberOf)' needs to tested, as well as plugin tasks. Need to test plugin config 'validation(dependencies,' 'etc).' Memory Corruption - Restart the plugins many times, and in different orders and test functionality, and stability. This will excerise the internal plugin linked lists, dse callbacks, and task handlers. Stress - Put the server under load that will trigger multiple 'plugins(MO,' RI, DNA, 'etc)' Restart various plugins while these operations are going on. Perform this test 5 'times(stress_max_run).' '"""' REPLICA_PORT = 33334 RUV_FILTER = ''\''(&(nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff)(objectclass=nstombstone))'\''' master_maxcsn = 0 replica_maxcsn = 0 msg = \' '(no' 'replication)'\''' replication_run = False stress_max_runs = 5 '#' First enable dynamic plugins try: 'topology.standalone.modify_s(DN_CONFIG,' '[(ldap.MOD_REPLACE,' ''\''nsslapd-dynamic-plugins'\'',' ''\''on'\'')])' except ldap.LDAPError as e: 'ldap.fatal('\''Failed' to enable dynamic 'plugin!'\''' + 'e.message['\''desc'\''])' assert False '#' Test that critical plugins can be updated even though the change might not be applied try: 'topology.standalone.modify_s(DN_LDBM,' '[(ldap.MOD_REPLACE,' ''\''description'\'',' ''\''test'\'')])' except ldap.LDAPError as e: 'ldap.fatal('\''Failed' to apply change to critical 'plugin'\''' + 'e.message['\''desc'\''])' assert False while 1: '#' '#' First run the tests with replication disabled, then rerun them with replication set up '#' '############################################################################' '#' Test plugin functionality '############################################################################' 'log.info('\''####################################################################'\' ')' 'log.info('\''Testing' Dynamic Plugins 'Functionality'\''' + msg + ''\''...'\'')' 'log.info('\''####################################################################\n'\'')' 'plugin_tests.test_all_plugins(topology.standalone)' 'log.info('\''####################################################################'\'')' 'log.info('\''Successfully' Tested Dynamic Plugins 'Functionality'\''' + msg + ''\''.'\'')' 'log.info('\''####################################################################\n'\'')' '############################################################################' '#' Test the stability by exercising the internal lists, callabcks, and task handlers '############################################################################' 'log.info('\''####################################################################'\'')' 'log.info('\''Testing' Dynamic Plugins for Memory 'Corruption'\''' + msg + ''\''...'\'')' 'log.info('\''####################################################################\n'\'')' prev_plugin_test = None prev_prev_plugin_test = None for plugin_test in plugin_tests.func_tests: '#' '#' Restart the plugin several times '(and' prev 'plugins)' - work that linked list '#' 'plugin_test(topology.standalone,' '"restart")' if prev_prev_plugin_test: 'prev_prev_plugin_test(topology.standalone,' '"restart")' 'plugin_test(topology.standalone,' '"restart")' if prev_plugin_test: 'prev_plugin_test(topology.standalone,' '"restart")' 'plugin_test(topology.standalone,' '"restart")' '#' Now run the functional test 'plugin_test(topology.standalone)' '#' Set the previous tests if prev_plugin_test: prev_prev_plugin_test = prev_plugin_test prev_plugin_test = plugin_test 'log.info('\''####################################################################'\'')' 'log.info('\''Successfully' Tested Dynamic Plugins for Memory 'Corruption'\''' + msg + ''\''.'\'')' 'log.info('\''####################################################################\n'\'')' '######################################################################### ###' '#' Stress two plugins while restarting it, and while restarting other plugins. '#' The goal is to not crash, and have the plugins work after stressing them. '############################################################################' 'log.info('\''####################################################################'\'')' 'log.info('\''Stressing' Dynamic 'Plugins'\''' + msg + ''\''...'\'')' 'log.info('\''####################################################################\n'\'')' 'stress_tests.configureMO(topology.standalone)' 'stress_tests.configureRI(topology.standalone)' stress_count = 0 while stress_count '<' stress_max_runs: 'log.info('\''####################################################################'\'')' 'log.info('\''Running' stress 'test'\''' + msg + ''\''.' Run '(%d/%d)...'\''' % '(stress_count' + 1, 'stress_max_runs))' 'log.info('\''####################################################################\n'\'')' try: '#' Launch three new threads to add a bunch of users add_users = 'stress_tests.AddUsers(topology.standalone,' ''\''employee'\'',' 'True)' 'add_users.start()' add_users2 = 'stress_tests.AddUsers(topology.standalone,' ''\''entry'\'',' 'True)' 'add_users2.start()' add_users3 = 'stress_tests.AddUsers(topology.standalone,' ''\''person'\'',' 'True)' 'add_users3.start()' 'time.sleep(1)' '#' While we are adding users restart the MO plugin and an idle plugin 'topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF)' 'time.sleep(1)' 'topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF)' 'time.sleep(1)' 'topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.disable(name=PLUGIN_LINKED_ATTRS)' 'topology.standalone.plugins.enable(name=PLUGIN_LINKED_ATTRS)' 'time.sleep(1)' 'topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF)' 'time.sleep(2)' 'topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF)' 'time.sleep(1)' 'topology.st andalone.plugins.enable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.disable(name=PLUGIN_LINKED_ATTRS)' 'topology.standalone.plugins.enable(name=PLUGIN_LINKED_ATTRS)' 'topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF)' 'time.sleep(1)' 'topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF)' '#' Wait for the ''\''adding'\''' threads to complete 'add_users.join()' 'add_users2.join()' 'add_users3.join()' '#' Now launch three threads to delete the users del_users = 'stress_tests.DelUsers(topology.standalone,' ''\''employee'\'')' 'del_users.start()' del_users2 = 'stress_tests.DelUsers(topology.standalone,' ''\''entry'\'')' 'del_users2.start()' del_users3 = 'stress_tests.DelUsers(topology.standalone,' ''\''person'\'')' 'del_users3.start()' 'time.sleep(1)' '#' Restart both the MO, RI plugins during these deletes, and an idle plugin 'topology.standalone.plugins.disable(name=PLUGIN_REFER_INTEGRITY)' 'topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.enable(name=PLUGIN_REFER_INTEGRITY)' 'time.sleep(1)' 'topology.standalone.plugins.disable(name=PLUGIN_REFER_INTEGRITY)' 'time.sleep(1)' 'topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF)' 'time.sleep(1)' 'topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF)' 'time.sleep(1)' 'topology.standalone.plugins.enable(name=PLUGIN_REFER_INTEGRITY)' 'topology.standalone.plugins.disable(name=PLUGIN_LINKED_ATTRS)' 'topology.standalone.plugins.enable(name=PLUGIN_LINKED_ATTRS)' 'topology.standalone.plugins.disable(name=PLUGIN_REFER_INTEGRITY)' 'topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF)' 'topology.standalone.plugins.enable(name=PLUGIN_REFER_INTEGRITY)' 'time.sleep(2)' 'topology.standalone.plugins.disable(name=PLUGIN_REFER_INTEGRITY)' 'time.sleep(1)' 'topology.standalo ne.plugins.disable(name=PLUGIN_MEMBER_OF)' 'time.sleep(1)' 'topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF)' 'time.sleep(1)' 'topology.standalone.plugins.enable(name=PLUGIN_REFER_INTEGRITY)' 'topology.standalone.plugins.disable(name=PLUGIN_LINKED_ATTRS)' 'topology.standalone.plugins.enable(name=PLUGIN_LINKED_ATTRS)' '#' Wait for the ''\''deleting'\''' threads to complete 'del_users.join()' 'del_users2.join()' 'del_users3.join()' '#' Now make sure both the MO and RI plugins still work correctly 'plugin_tests.func_tests[8](topology.standalone)' '#' RI plugin 'plugin_tests.func_tests[5](topology.standalone)' '#' MO plugin '#' Cleanup the stress tests 'stress_tests.cleanup(topology.standalone)' except: 'log.info('\''Stress' test 'failed!'\'')' 'repl_fail(replica_inst)' stress_count += 1 'log.info('\''####################################################################'\'')' 'log.info('\''Successfully' Stressed Dynamic 'Plugins'\''' + msg + ''\''.' Completed '(%d/%d)'\''' % '(stress_count,' 'stress_max_runs))' 'log.info('\''####################################################################\n'\'')' if replication_run: '#' 'We'\''re' done. break else: '#' '#' Enable replication and run everything one more time '#' 'log.info('\''Setting' up replication, and rerunning the 'tests...\n'\'')' '#' Create replica instance replica_inst = 'DirSrv(verbose=False)' 'args_instance[SER_HOST]' = LOCALHOST 'args_instance[SER_PORT]' = REPLICA_PORT 'args_instance[SER_SERVERID_PROP]' = ''\''replica'\''' 'args_instance[SER_CREATION_SUFFIX]' = DEFAULT_SUFFIX args_replica_inst = 'args_instance.copy()' 'replica_inst.allocate(args_replica_inst)' '>' 'replica_inst.create()' suites/dynamic-plugins/test_dynamic_plugins.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/__init__.py:905: in create 'self._createDirsrv()' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = '<lib389.DirSrv' instance at '0x7fb1140fd248>' def '_createDirsrv(self):' '"""Create' a new instance of directory server @param self - containing the set properties SER_HOST '(host)' SER_PORT '(port)' SER_SECURE_PORT '(sslport)' SER_ROOT_DN '(binddn)' SER_ROOT_PW '(bindpw)' SER_CREATION_SUFFIX '(creation_suffix)' SER_USER_ID '(userid)' SER_SERVERID_PROP '(serverid)' SER_GROUP_ID '(groupid)' SER_DEPLOYED_DIR '(prefix)' SER_BACKUP_INST_DIR '(backupdir)' SER_REALM '(krb5_realm)' @return None @raise None '}' '"""' 'DirSrvTools.lib389User(user=DEFAULT_USER)' prog = 'os.path.join(self.ds_paths.sbin_dir,' 'CMD_PATH_SETUP_DS)' if not 'os.path.isfile(prog):' 'log.error("Can'\''t' find file: %r, removing 'extension"' % 'prog)' prog = 'prog[:-3]' '#' Create and extract a service keytab args = '{SER_HOST:' self.host, SER_PORT: self.port, SER_SECURE_PORT: self.sslport, SER_ROOT_DN: self.binddn, SER_ROOT_PW: self.bindpw, SER_CREATION_SUFFIX: self.creation_suffix, SER_USER_ID: self.userid, SER_SERVERID_PROP: self.serverid, SER_GROUP_ID: self.groupid, SER_DEPLOYED_DIR: self.prefix, SER_BACKUP_INST_DIR: self.backupdir, SER_STRICT_HOSTNAME_CHECKING: 'self.strict_hostname}' content = 'formatInfData(args)' result = 'DirSrvTools.runInfProg(prog,' content, self.verbose, 'prefix=self.prefix)' if result '!=' 0: '>' raise 'Exception('\''Failed' to run 'setup-ds.pl'\'')' E Exception: Failed to run setup-ds.pl ../../../lib389/lib389/__init__.py:861: Exception ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stdout call ----------------------------- OK group dirsrv exists OK user dirsrv exists Instance slapd-passthru removed. OK group dirsrv exists OK user dirsrv exists Instance slapd-passthru removed. OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Testing Dynamic Plugins Functionality '(no' 'replicati on)...' INFO:test_dynamic_plugins:#################################################################### INFO:plugin_tests:Testing Account Policy Plugin... INFO:plugin_tests:test_acctpolicy: PASS INFO:plugin_tests:Testing attribute uniqueness... INFO:plugin_tests:test_attruniq: PASS INFO:plugin_tests:Testing Auto Membership Plugin... INFO:plugin_tests:test_automember: PASS INFO:plugin_tests:Testing Distributed Numeric Assignment Plugin... INFO:plugin_tests:test_dna: PASS INFO:plugin_tests:Testing Linked Attributes... INFO:plugin_tests:test_linkedattrs: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:plugin_tests:Testing Managed Entries... INFO:plugin_tests:test_mep: PASS INFO:plugin_tests:Testing Pass Through Authentication... INFO:lib389:List backend with suffix=dc=pass2,dc=thru INFO:lib389:Creating a local backend INFO:lib389:List backend cn=PASS2,cn=ldbm database,cn=plugins,cn=config INFO:lib389:Found entry dn: cn=PASS2,cn=ldbm database,cn=plugins,cn=config cn: PASS2 nsslapd-cachememsize: 10485760 nsslapd-cachesize: -1 nsslapd-directory: /var/lib/dirsrv/slapd-passthru/db/PASS2 nsslapd-dncachememsize: 10485760 nsslapd-readonly: off nsslapd-require-index: off nsslapd-suffix: dc=pass2,dc=thru objectClass: top objectClass: extensibleObject objectClass: nsBackendInstance INFO:lib389:Entry dn: 'cn="dc=pass2,dc=thru",cn=mapping' tree,cn=config cn: dc=pass2,dc=thru nsslapd-backend: PASS2 nsslapd-state: backend objectclass: top objectclass: extensibleObject objectclass: nsMappingTree INFO:lib389:Found entry dn: 'cn=dc\3Dpass2\2Cdc\3Dthru,cn=mapping' tree,cn=config cn: dc=pass2,dc=thru nsslapd-backend: PASS2 nsslapd-state: backend objectClass: top objectClass: extensibleObject objectClass: nsMappingTree INFO:plugin_tests:test_passthru: PASS INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing Retro Changelog Plugin... INFO:plugin_tests:test_retrocl: PASS INFO:plugin_tests:Testing RootDN Access Control.. . INFO:plugin_tests:test_rootdn: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Tested Dynamic Plugins Functionality '(no' 'replication).' INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Testing Dynamic Plugins for Memory Corruption '(no' 'replication)...' INFO:test_dynamic_plugins:#################################################################### INFO:plugin_tests:Testing Account Policy Plugin... INFO:plugin_tests:test_acctpolicy: PASS INFO:plugin_tests:Testing attribute uniqueness... INFO:plugin_tests:test_attruniq: PASS INFO:plugin_tests:Testing Auto Membership Plugin... INFO:plugin_tests:test_automember: PASS INFO:plugin_tests:Testing Distributed Numeric Assignment Plugin... INFO:plugin_tests:test_dna: PASS INFO:plugin_tests:Testing Linked Attributes... INFO:plugin_tests:test_linkedattrs: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:plugin_tests:Testing Managed Entries... INFO:plugin_tests:test_mep: PASS INFO:plugin_tests:Testing Pass Through Authentication... INFO:lib389:List backend with suffix=dc=pass2,dc=thru INFO:lib389:Creating a local backend INFO:lib389:List backend cn=PASS2,cn=ldbm database,cn=plugins,cn=config INFO:lib389:Found entry dn: cn=PASS2,cn=ldbm database,cn=plugins,cn=config cn: PASS2 nsslapd-cachememsize: 10485760 nsslapd-cachesize: -1 nsslapd-directory: /var/lib/dirsrv/slapd-passthru/db/PASS2 nsslapd-dncachememsize: 10485760 nsslapd-readonly: off nsslapd-require-index: off nsslapd-suffix: dc=pass2,dc=thru objectClass: top objectClass: extensibleObject objectClass: nsBackendInstance INFO:lib389:Entry dn: 'cn="dc=pass2,dc=thru",cn=mapping' tree,cn=config cn: dc=pass2,dc=thru nsslapd-backend: PASS2 nsslapd-state: backend objectclass: top objectclass: extensibleObject objectclass: nsMappi ngTree INFO:lib389:Found entry dn: 'cn=dc\3Dpass2\2Cdc\3Dthru,cn=mapping' tree,cn=config cn: dc=pass2,dc=thru nsslapd-backend: PASS2 nsslapd-state: backend objectClass: top objectClass: extensibleObject objectClass: nsMappingTree INFO:plugin_tests:test_passthru: PASS INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing Retro Changelog Plugin... INFO:plugin_tests:test_retrocl: PASS INFO:plugin_tests:Testing RootDN Access Control... INFO:plugin_tests:test_rootdn: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Tested Dynamic Plugins for Memory Corruption '(no' 'replication).' INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Stressing Dynamic Plugins '(no' 'replication)...' INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test '(no' 'replication).' Run '(1/5)...' INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries '(entry)...' INFO:stress_tests:AddUsers - Adding 250 entries '(employee)...' INFO:stress_tests:AddUsers - Adding 250 entries '(person)...' INFO:stress_tests:AddUsers - Finished adding 250 entries '(employee).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(entry).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(person).' INFO:stress_tests:DelUsers - Deleting 250 entries '(person)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(entry)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(employee)...' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(person).' INFO:st ress_tests:DelUsers - Finished deleting 250 entries '(entry).' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(employee).' INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins '(no' 'replication).' Completed '(1/5)' INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test '(no' 'replication).' Run '(2/5)...' INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries '(employee)...' INFO:stress_tests:AddUsers - Adding 250 entries '(entry)...' INFO:stress_tests:AddUsers - Adding 250 entries '(person)...' INFO:stress_tests:AddUsers - Finished adding 250 entries '(entry).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(person).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(employee).' INFO:stress_tests:DelUsers - Deleting 250 entries '(entry)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(employee)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(person)...' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(entry).' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(person).' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(employee).' INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins '(no' 'repli cation).' Completed '(2/5)' INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test '(no' 'replication).' Run '(3/5)...' INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries '(employee)...' INFO:stress_tests:AddUsers - Adding 250 entries '(person)...' INFO:stress_tests:AddUsers - Adding 250 entries '(entry)...' INFO:stress_tests:AddUsers - Finished adding 250 entries '(person).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(entry).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(employee).' INFO:stress_tests:DelUsers - Deleting 250 entries '(employee)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(person)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(entry)...' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(person).' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(entry).' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(employee).' INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins '(no' 'replication).' Completed '(3/5)' INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test '(no' 'replication).' Run '(4/5)...' INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries '(entry)...' INFO:stress_tests:AddUsers - Adding 250 entries '(employee)...' INFO:stress_tests:AddUsers - Adding 250 entries '(person)...' INFO:stress_tests:AddUsers - Finished adding 250 entries '(employee).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(entry).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(person).' INFO:stress_tests:DelUsers - Deleting 250 entries '(employee)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(entry)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(person)...' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(employee).' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(entry).' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(person).' INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins '(no' 'replication).' Completed '(4/5)' INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test '(no' 'replication).' Run '(5/5)...' INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries '(employee)...' INFO:stress_tests:AddUsers - Adding 250 entries '(entry)...' INFO:stress_tests:AddUsers - Adding 250 entries '(person)...' INFO:stress_tests:AddUsers - Finished adding 250 entries '(employee).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(person).' INFO:stress_tests:AddUsers - Finished adding 250 entries '(entry).' INFO:stress_tests:DelUsers - Deleting 250 entries '(employee)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(entry)...' INFO:stress_tests:DelUsers - Deleting 250 entries '(person)...' IN FO:stress_tests:DelUsers - Finished deleting 250 entries '(entry).' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(person).' INFO:stress_tests:DelUsers - Finished deleting 250 entries '(employee).' INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins '(no' 'replication).' Completed '(5/5)' INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Setting up replication, and rerunning the tests... ______________________________ test_range_search _______________________________ topology = '<suites.memory_leaks.range_search_test.TopologyStandalone' object at '0x7fb115863350>' def 'test_range_search(topology):' ''\'''\'''\''' Add a 100 entries, and run a range search. When we encounter an error we still need to disable valgrind before exiting ''\'''\'''\''' 'log.info('\''Running' 'test_range_search...'\'')' success = True '#' Add 100 test entries for idx in 'range(1,' '100):' idx = 'str(idx)' USER_DN = ''\''uid=user'\''' + idx + ''\'','\''' + DEFAULT_SUFFIX try: 'topology.standalone.add_s(Entry((USER_DN,' '{'\''objectclass'\'':' '"top' 'extensibleObject".split(),' ''\''uid'\'':' ''\''user'\''' + 'idx})))' except ldap.LDAPError as e: 'log.fatal('\''test_range_search:' Failed to add test user \' + USER_DN + ''\'':' error \' + 'e.message['\''desc'\''])' success = False 'time.sleep(1)' if success: '#' Issue range search try: 'topology.standalone.search_s(RETROCL_SUFFIX,' ldap.SCOPE_SUBTREE, ''\''(&(changenumber>=74)(changenumber<=84))'\'')' except ldap.LDAPError as e: 'log.fatal('\''test_range_search:' Failed to search retro 'changelog(%s),' error: '%s'\''' % '(RETROCL_SUFFIX,' 'e.message('\''desc'\'')))' success = False if success and not 'topology.standalon e.has_asan():' '#' Get the results file, stop the server, and check for the leak results_file = 'valgrind_get_results_file(topology.standalone)' 'topology.standalone.stop(timeout=30)' '>' if 'valgrind_check_file(results_file,' VALGRIND_LEAK_STR, ''\''range_candidates'\''):' suites/memory_leaks/range_search_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ results_file = ''\''valgrind'\''' patterns = '('\''' blocks are definitely lost in loss record ''\'',' ''\''range_candidates'\'')' found = False, pattern_count = 2, matched_count = 0 def 'valgrind_check_file(results_file,' '*patterns):' ''\'''\'''\''' Check the valgrind results file for the all the patterns @param result_file - valgrind results file '(must' be read after server is 'stopped)' @param patterns - A plain text or regex pattern string args that should be searched for @return True/False - Return true if one if the patterns match a stack trace @raise IOError ''\'''\'''\''' '#' Verify results file if not results_file: assert False '#' Check the result file fo the leak text results_file = 'results_file.replace('\''\n'\'',' ''\'''\'')' found = False pattern_count = 'len(patterns)' matched_count = 0 '>' vlog = 'open(results_file)' E IOError: '[Errno' '2]' No such file or directory: ''\''valgrind'\''' ../../../lib389/lib389/utils.py:354: IOError ----------------------------- Captured stderr call ----------------------------- INFO:suites.memory_leaks.range_search_test:Running test_range_search... ============= 14 failed, 404 passed, 107 error in 5643.45 seconds ============== ============================= test session starts ============================== platform linux2 -- Python 2.7.12, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python2 cachedir: .cache rootdir: <http://vm-058-081.abc.idm.lab.eng.brq.redhat.com:8080/job/389-DS-NIGHTLY/ws/source/ds/dirsrvtests/tests,> inifile: plugins: sourceorder-0.5, multihost-1.0 collecting ... collected 524 items tickets/ticket1347760_test.py::test_ticket1347760 PASSED tickets/ticket365_test.py::test_ticket365 PASSED tickets/ticket397_test.py::test_397 PASSED tickets/ticket47313_test.py::test_ticket47313_run PASSED tickets/ticket47384_test.py::test_ticket47384 PASSED tickets/ticket47431_test.py::test_ticket47431_0 PASSED tickets/ticket47431_test.py::test_ticket47431_1 PASSED tickets/ticket47431_test.py::test_ticket47431_2 PASSED tickets/ticket47431_test.py::test_ticket47431_3 PASSED tickets/ticket47462_test.py::test_ticket47462 ERROR tickets/ticket47490_test.py::test_ticket47490_init ERROR tickets/ticket47490_test.py::test_ticket47490_one ERROR tickets/ticket47490_test.py::test_ticket47490_two ERROR tickets/ticket47490_test.py::test_ticket47490_three ERROR tickets/ticket47490_test.py::test_ticket47490_four ERROR tickets/ticket47490_test.py::test_ticket47490_five ERROR tickets/ticket47490_test.py::test_ticket47490_six ERROR tickets/ticket47490_test.py::test_ticket47490_seven ERROR tickets/ticket47490_test.py::test_ticket47490_eight ERROR tickets/ticket47490_test.py::test_ticket47490_nine ERROR tickets/ticket47536_test.py::test_ticket47536 ERROR tickets/ticket47553_test.py::test_ticket47553 PASSED tickets/ticket47560_test.py::test_ticket47560 PASSED tickets/ticket47573_test.py::test_ticket47573_init ERROR tickets/ticket47573_test.py::test_ticket47573_one ERROR tickets/ticket47573_test.py::test_ticket47573_two ERROR tickets/ticket47573_test.py::test_ticket47573_three ERROR tickets/ticket47619_test.py::test_ticket47619_init ERROR tickets/ticket47619_test.py::test_ticket47619_create_index ERROR tickets/ticket47619_test.py::test_ticket47619_rein dex ERROR tickets/ticket47619_test.py::test_ticket47619_check_indexed_search ERROR tickets/ticket47640_test.py::test_ticket47640 PASSED tickets/ticket47653MMR_test.py::test_ticket47653_init ERROR tickets/ticket47653MMR_test.py::test_ticket47653_add ERROR tickets/ticket47653MMR_test.py::test_ticket47653_modify ERROR tickets/ticket47653_test.py::test_ticket47653_init PASSED tickets/ticket47653_test.py::test_ticket47653_add PASSED tickets/ticket47653_test.py::test_ticket47653_search PASSED tickets/ticket47653_test.py::test_ticket47653_modify PASSED tickets/ticket47653_test.py::test_ticket47653_delete PASSED tickets/ticket47669_test.py::test_ticket47669_init FAILED tickets/ticket47669_test.py::test_ticket47669_changelog_maxage FAILED tickets/ticket47669_test.py::test_ticket47669_changelog_triminterval FAILED tickets/ticket47669_test.py::test_ticket47669_changelog_compactdbinterval FAILED tickets/ticket47669_test.py::test_ticket47669_retrochangelog_maxage PASSED tickets/ticket47676_test.py::test_ticket47676_init ERROR tickets/ticket47676_test.py::test_ticket47676_skip_oc_at ERROR tickets/ticket47676_test.py::test_ticket47676_reject_action ERROR tickets/ticket47714_test.py::test_ticket47714_init PASSED tickets/ticket47714_test.py::test_ticket47714_run_0 PASSED tickets/ticket47714_test.py::test_ticket47714_run_1 PASSED tickets/ticket47721_test.py::test_ticket47721_init ERROR tickets/ticket47721_test.py::test_ticket47721_0 ERROR tickets/ticket47721_test.py::test_ticket47721_1 ERROR tickets/ticket47721_test.py::test_ticket47721_2 ERROR tickets/ticket47721_test.py::test_ticket47721_3 ERROR tickets/ticket47721_test.py::test_ticket47721_4 ERROR tickets/ticket47781_test.py::test_ticket47781 FAILED tickets/ticket47787_test.py::test_ticket47787_init ERROR tickets/ticket47787_test.py::test_ticket47787_2 ERROR tickets/ticket47808_test.py::test_ticket47808_run PASSED tickets/ticket47815_test.py::test_ticket47815 PASSED tickets/ticket47819_test.py::test_ticket47819 FAILED tickets/ticket47823_test.py::test_ticket47823_init PASSED ti ckets/ticket47823_test.py::test_ticket47823_one_container_add PASSED tickets/ticket47823_test.py::test_ticket47823_one_container_mod PASSED tickets/ticket47823_test.py::test_ticket47823_one_container_modrdn PASSED tickets/ticket47823_test.py::test_ticket47823_multi_containers_add PASSED tickets/ticket47823_test.py::test_ticket47823_multi_containers_mod PASSED tickets/ticket47823_test.py::test_ticket47823_multi_containers_modrdn PASSED tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_add PASSED tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_mod PASSED tickets/ticket47823_test.py::test_ticket47823_across_multi_containers_modrdn PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_1 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_2 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_3 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_4 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_5 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_6 PASSED tickets/ticket47823_test.py::test_ticket47823_invalid_config_7 PASSED tickets/ticket47828_test.py::test_ticket47828_init PASSED tickets/ticket47828_test.py::test_ticket47828_run_0 PASSED tickets/ticket47828_test.py::test_ticket47828_run_1 PASSED tickets/ticket47828_test.py::test_ticket47828_run_2 PASSED tickets/ticket47828_test.py::test_ticket47828_run_3 PASSED tickets/ticket47828_test.py::test_ticket47828_run_4 PASSED tickets/ticket47828_test.py::test_ticket47828_run_5 PASSED tickets/ticket47828_test.py::test_ticket47828_run_6 PASSED tickets/ticket47828_test.py::test_ticket47828_run_7 PASSED tickets/ticket47828_test.py::test_ticket47828_run_8 PASSED tickets/ticket47828_test.py::test_ticket47828_run_9 PASSED tickets/ticket47828_test.py::test_ticket47828_run_10 PASSED tickets/ticket47828_test.py::test_ticket47828_run_11 PASSED tickets/ticket47828_test.py::test_ticket47828_run_12 PASSED tickets/ticket47828_test.py::test_ticket47828 _run_13 PASSED tickets/ticket47828_test.py::test_ticket47828_run_14 PASSED tickets/ticket47828_test.py::test_ticket47828_run_15 PASSED tickets/ticket47828_test.py::test_ticket47828_run_16 PASSED tickets/ticket47828_test.py::test_ticket47828_run_17 PASSED tickets/ticket47828_test.py::test_ticket47828_run_18 PASSED tickets/ticket47828_test.py::test_ticket47828_run_19 PASSED tickets/ticket47828_test.py::test_ticket47828_run_20 PASSED tickets/ticket47828_test.py::test_ticket47828_run_21 PASSED tickets/ticket47828_test.py::test_ticket47828_run_22 PASSED tickets/ticket47828_test.py::test_ticket47828_run_23 PASSED tickets/ticket47828_test.py::test_ticket47828_run_24 PASSED tickets/ticket47828_test.py::test_ticket47828_run_25 PASSED tickets/ticket47828_test.py::test_ticket47828_run_26 PASSED tickets/ticket47828_test.py::test_ticket47828_run_27 PASSED tickets/ticket47828_test.py::test_ticket47828_run_28 PASSED tickets/ticket47828_test.py::test_ticket47828_run_29 PASSED tickets/ticket47828_test.py::test_ticket47828_run_30 PASSED tickets/ticket47828_test.py::test_ticket47828_run_31 PASSED tickets/ticket47829_test.py::test_ticket47829_init PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_2 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_3 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_2 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_3 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_out_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_out_user_2 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_out_user_3 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_active_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_stage_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_active_user_modrdn_out_user_1 PASSED ti ckets/ticket47829_test.py::test_ticket47829_mod_modrdn_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_modrdn_active_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_mod_stage_user_modrdn_stage_user_1 PASSED tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_1 PASSED tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_2 PASSED tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_3 PASSED tickets/ticket47829_test.py::test_ticket47829_indirect_active_group_4 PASSED tickets/ticket47833_test.py::test_ticket47829_init PASSED tickets/ticket47833_test.py::test_ticket47829_mod_stage_user_modrdn_stage_user_1 PASSED tickets/ticket47869MMR_test.py::test_ticket47869_init ERROR tickets/ticket47869MMR_test.py::test_ticket47869_check ERROR tickets/ticket47871_test.py::test_ticket47871_init ERROR tickets/ticket47871_test.py::test_ticket47871_1 ERROR tickets/ticket47871_test.py::test_ticket47871_2 ERROR tickets/ticket47900_test.py::test_ticket47900 PASSED tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_positive PASSED tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_negative PASSED tickets/ticket47910_test.py::test_ticket47910_logconv_start_end_invalid PASSED tickets/ticket47910_test.py::test_ticket47910_logconv_noaccesslogs PASSED tickets/ticket47920_test.py::test_ticket47920_init PASSED tickets/ticket47920_test.py::test_ticket47920_mod_readentry_ctrl PASSED tickets/ticket47921_test.py::test_ticket47921 PASSED tickets/ticket47927_test.py::test_ticket47927_init PASSED tickets/ticket47927_test.py::test_ticket47927_one PASSED tickets/ticket47927_test.py::test_ticket47927_two PASSED tickets/ticket47927_test.py::test_ticket47927_three PASSED tickets/ticket47927_test.py::test_ticket47927_four PASSED tickets/ticket47927_test.py::test_ticket47927_five PASSED tickets/ticket47927_test.py::test_ticket47927_six PASSED tickets/ticket47931_test.py::test_ticket47931 PASSED tickets/ticket47937_test.py::test_ticket47937 PASSED tickets/ ticket47950_test.py::test_ticket47950 FAILED tickets/ticket47953_test.py::test_ticket47953 PASSED tickets/ticket47963_test.py::test_ticket47963 PASSED tickets/ticket47966_test.py::test_ticket47966 ERROR tickets/ticket47970_test.py::test_ticket47970 PASSED tickets/ticket47973_test.py::test_ticket47973 PASSED tickets/ticket47976_test.py::test_ticket47976_init PASSED tickets/ticket47976_test.py::test_ticket47976_1 PASSED tickets/ticket47976_test.py::test_ticket47976_2 PASSED tickets/ticket47976_test.py::test_ticket47976_3 PASSED tickets/ticket47980_test.py::test_ticket47980 PASSED tickets/ticket47981_test.py::test_ticket47981 PASSED tickets/ticket47988_test.py::test_ticket47988_init ERROR tickets/ticket47988_test.py::test_ticket47988_1 ERROR tickets/ticket47988_test.py::test_ticket47988_2 ERROR tickets/ticket47988_test.py::test_ticket47988_3 ERROR tickets/ticket47988_test.py::test_ticket47988_4 ERROR tickets/ticket47988_test.py::test_ticket47988_5 ERROR tickets/ticket47988_test.py::test_ticket47988_6 ERROR tickets/ticket48005_test.py::test_ticket48005_setup PASSED tickets/ticket48005_test.py::test_ticket48005_memberof PASSED tickets/ticket48005_test.py::test_ticket48005_automember PASSED tickets/ticket48005_test.py::test_ticket48005_syntaxvalidate PASSED tickets/ticket48005_test.py::test_ticket48005_usn PASSED tickets/ticket48005_test.py::test_ticket48005_schemareload PASSED tickets/ticket48013_test.py::test_ticket48013 PASSED tickets/ticket48026_test.py::test_ticket48026 PASSED tickets/ticket48109_test.py::test_ticket48109 PASSED tickets/ticket48170_test.py::test_ticket48170 PASSED tickets/ticket48194_test.py::test_init PASSED tickets/ticket48194_test.py::test_run_0 PASSED tickets/ticket48194_test.py::test_run_1 PASSED tickets/ticket48194_test.py::test_run_2 PASSED tickets/ticket48194_test.py::test_run_3 PASSED tickets/ticket48194_test.py::test_run_4 PASSED tickets/ticket48194_test.py::test_run_5 PASSED tickets/ticket48194_test.py::test_run_6 PASSED tickets/ticket48194_test.py::test_run_7 PASSED tickets/ticket48194 _test.py::test_run_8 PASSED tickets/ticket48194_test.py::test_run_9 PASSED tickets/ticket48194_test.py::test_run_10 PASSED tickets/ticket48194_test.py::test_run_11 PASSED tickets/ticket48212_test.py::test_ticket48212 PASSED tickets/ticket48214_test.py::test_ticket48214_run PASSED tickets/ticket48226_test.py::test_ticket48226_set_purgedelay ERROR tickets/ticket48226_test.py::test_ticket48226_1 ERROR tickets/ticket48228_test.py::test_ticket48228_test_global_policy PASSED tickets/ticket48228_test.py::test_ticket48228_test_subtree_policy PASSED tickets/ticket48233_test.py::test_ticket48233 PASSED tickets/ticket48234_test.py::test_ticket48234 PASSED tickets/ticket48252_test.py::test_ticket48252_setup PASSED tickets/ticket48252_test.py::test_ticket48252_run_0 PASSED tickets/ticket48252_test.py::test_ticket48252_run_1 PASSED tickets/ticket48265_test.py::test_ticket48265_test PASSED tickets/ticket48266_test.py::test_ticket48266_fractional ERROR tickets/ticket48266_test.py::test_ticket48266_check_repl_desc ERROR tickets/ticket48266_test.py::test_ticket48266_count_csn_evaluation ERROR tickets/ticket48270_test.py::test_ticket48270_init PASSED tickets/ticket48270_test.py::test_ticket48270_homeDirectory_indexed_cis PASSED tickets/ticket48270_test.py::test_ticket48270_homeDirectory_mixed_value PASSED tickets/ticket48270_test.py::test_ticket48270_extensible_search PASSED tickets/ticket48272_test.py::test_ticket48272 PASSED tickets/ticket48294_test.py::test_48294_init PASSED tickets/ticket48294_test.py::test_48294_run_0 PASSED tickets/ticket48294_test.py::test_48294_run_1 PASSED tickets/ticket48294_test.py::test_48294_run_2 PASSED tickets/ticket48295_test.py::test_48295_init PASSED tickets/ticket48295_test.py::test_48295_run PASSED tickets/ticket48312_test.py::test_ticket48312 PASSED tickets/ticket48325_test.py::test_ticket48325 ERROR tickets/ticket48342_test.py::test_ticket4026 ERROR tickets/ticket48354_test.py::test_ticket48354 PASSED tickets/ticket48362_test.py::test_ticket48362 ERROR tickets/ticket48366_test.py::test_ticket4 8366_init PASSED tickets/ticket48366_test.py::test_ticket48366_search_user PASSED tickets/ticket48366_test.py::test_ticket48366_search_dm PASSED tickets/ticket48370_test.py::test_ticket48370 PASSED tickets/ticket48383_test.py::test_ticket48383 PASSED tickets/ticket48497_test.py::test_ticket48497_init PASSED tickets/ticket48497_test.py::test_ticket48497_homeDirectory_mixed_value PASSED tickets/ticket48497_test.py::test_ticket48497_extensible_search PASSED tickets/ticket48497_test.py::test_ticket48497_homeDirectory_index_cfg PASSED tickets/ticket48497_test.py::test_ticket48497_homeDirectory_index_run FAILED tickets/ticket48637_test.py::test_ticket48637 PASSED tickets/ticket48665_test.py::test_ticket48665 PASSED tickets/ticket48745_test.py::test_ticket48745_init PASSED tickets/ticket48745_test.py::test_ticket48745_homeDirectory_indexed_cis FAILED tickets/ticket48745_test.py::test_ticket48745_homeDirectory_mixed_value PASSED tickets/ticket48745_test.py::test_ticket48745_extensible_search_after_index PASSED tickets/ticket48746_test.py::test_ticket48746_init PASSED tickets/ticket48746_test.py::test_ticket48746_homeDirectory_indexed_cis FAILED tickets/ticket48746_test.py::test_ticket48746_homeDirectory_mixed_value PASSED tickets/ticket48746_test.py::test_ticket48746_extensible_search_after_index PASSED tickets/ticket48746_test.py::test_ticket48746_homeDirectory_indexed_ces FAILED tickets/ticket48755_test.py::test_ticket48755 ERROR tickets/ticket48759_test.py::test_ticket48759 FAILED tickets/ticket48784_test.py::test_ticket48784 ERROR tickets/ticket48798_test.py::test_ticket48798 PASSED tickets/ticket48799_test.py::test_ticket48799 ERROR tickets/ticket48808_test.py::test_ticket48808 PASSED tickets/ticket48844_test.py::test_ticket48844_init PASSED tickets/ticket48844_test.py::test_ticket48844_bitwise_on PASSED tickets/ticket48844_test.py::test_ticket48844_bitwise_off PASSED tickets/ticket48891_test.py::test_ticket48891_setup PASSED tickets/ticket48893_test.py::test_ticket48893 PASSED tickets/ticket48896_test.py::test_tick et48896 PASSED tickets/ticket48906_test.py::test_ticket48906_setup PASSED tickets/ticket48906_test.py::test_ticket48906_dblock_default PASSED tickets/ticket48906_test.py::test_ticket48906_dblock_ldap_update PASSED tickets/ticket48906_test.py::test_ticket48906_dblock_edit_update PASSED tickets/ticket48906_test.py::test_ticket48906_dblock_robust PASSED tickets/ticket48916_test.py::test_ticket48916 ERROR tickets/ticket48956_test.py::test_ticket48956 PASSED tickets/ticket48961_test.py::test_ticket48961_storagescheme PASSED tickets/ticket48961_test.py::test_ticket48961_deleteall PASSED tickets/ticket548_test.py::test_ticket548_test_with_no_policy PASSED tickets/ticket548_test.py::test_ticket548_test_global_policy PASSED tickets/ticket548_test.py::test_ticket548_test_subtree_policy PASSED suites/acct_usability_plugin/acct_usability_test.py::test_acct_usability_init PASSED suites/acct_usability_plugin/acct_usability_test.py::test_acct_usability_ PASSED suites/acctpolicy_plugin/acctpolicy_test.py::test_acctpolicy_init PASSED suites/acctpolicy_plugin/acctpolicy_test.py::test_acctpolicy_ PASSED suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[lang-ja] ERROR suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[binary] ERROR suites/acl/acl_test.py::test_aci_attr_subtype_targetattr[phonetic] ERROR suites/acl/acl_test.py::test_mode_default_add_deny ERROR suites/acl/acl_test.py::test_mode_default_delete_deny ERROR suites/acl/acl_test.py::test_moddn_staging_prod[0-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False] ERROR suites/acl/acl_test.py::test_moddn_staging_prod[1-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False] ERROR suites/acl/acl_test.py::test_moddn_staging_prod[2-cn=staged user,dc=example,dc=com-cn=bad*,dc=example,dc=com-True] ERROR suites/acl/acl_test.py::test_moddn_staging_prod[3-cn=st*,dc=example,dc=com-cn=accounts,dc=example,dc=com-False] ERROR suites/acl/acl_test.py::test_moddn_staging_prod[4-cn=bad*,dc=example,dc=com-cn=accounts,dc=example,dc=com-True] ERROR suit es/acl/acl_test.py::test_moddn_staging_prod[5-cn=st*,dc=example,dc=com-cn=ac*,dc=example,dc=com-False] ERROR suites/acl/acl_test.py::test_moddn_staging_prod[6-None-cn=ac*,dc=example,dc=com-False] ERROR suites/acl/acl_test.py::test_moddn_staging_prod[7-cn=st*,dc=example,dc=com-None-False] ERROR suites/acl/acl_test.py::test_moddn_staging_prod[8-None-None-False] ERROR suites/acl/acl_test.py::test_moddn_staging_prod_9 ERROR suites/acl/acl_test.py::test_moddn_prod_staging ERROR suites/acl/acl_test.py::test_check_repl_M2_to_M1 ERROR suites/acl/acl_test.py::test_moddn_staging_prod_except ERROR suites/acl/acl_test.py::test_mode_default_ger_no_moddn ERROR suites/acl/acl_test.py::test_mode_default_ger_with_moddn ERROR suites/acl/acl_test.py::test_mode_switch_default_to_legacy ERROR suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn1 ERROR suites/acl/acl_test.py::test_mode_legacy_ger_no_moddn2 ERROR suites/acl/acl_test.py::test_mode_legacy_ger_with_moddn ERROR suites/acl/acl_test.py::test_rdn_write_get_ger ERROR suites/acl/acl_test.py::test_rdn_write_modrdn_anonymous ERROR suites/attr_encryption/attr_encrypt_test.py::test_attr_encrypt_init PASSED suites/attr_encryption/attr_encrypt_test.py::test_attr_encrypt_ PASSED suites/attr_uniqueness_plugin/attr_uniqueness_test.py::test_attr_uniqueness_init PASSED suites/attr_uniqueness_plugin/attr_uniqueness_test.py::test_attr_uniqueness PASSED suites/automember_plugin/automember_test.py::test_automember_init PASSED suites/automember_plugin/automember_test.py::test_automember_ PASSED suites/basic/basic_test.py::test_basic_ops PASSED suites/basic/basic_test.py::test_basic_import_export PASSED suites/basic/basic_test.py::test_basic_backup PASSED suites/basic/basic_test.py::test_basic_acl PASSED suites/basic/basic_test.py::test_basic_searches PASSED suites/basic/basic_test.py::test_basic_referrals PASSED suites/basic/basic_test.py::test_basic_systemctl PASSED suites/basic/basic_test.py::test_basic_ldapagent PASSED suites/basic/basic_test.py::test_basic_dse PASSED suites/basic/basic_te st.py::test_def_rootdse_attr[namingContexts] PASSED suites/basic/basic_test.py::test_def_rootdse_attr[supportedLDAPVersion] PASSED suites/basic/basic_test.py::test_def_rootdse_attr[supportedControl] PASSED suites/basic/basic_test.py::test_def_rootdse_attr[supportedExtension] PASSED suites/basic/basic_test.py::test_def_rootdse_attr[supportedSASLMechanisms] PASSED suites/basic/basic_test.py::test_def_rootdse_attr[vendorName] PASSED suites/basic/basic_test.py::test_def_rootdse_attr[vendorVersion] PASSED suites/basic/basic_test.py::test_mod_def_rootdse_attr[namingContexts] PASSED suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedLDAPVersion] PASSED suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedControl] PASSED suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedExtension] PASSED suites/basic/basic_test.py::test_mod_def_rootdse_attr[supportedSASLMechanisms] PASSED suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorName] PASSED suites/basic/basic_test.py::test_mod_def_rootdse_attr[vendorVersion] PASSED suites/betxns/betxn_test.py::test_betxn_init PASSED suites/betxns/betxn_test.py::test_betxt_7bit PASSED suites/betxns/betxn_test.py::test_betxn_attr_uniqueness PASSED suites/betxns/betxn_test.py::test_betxn_memberof PASSED suites/chaining_plugin/chaining_test.py::test_chaining_init PASSED suites/chaining_plugin/chaining_test.py::test_chaining_ PASSED suites/clu/clu_test.py::test_clu_init PASSED suites/clu/clu_test.py::test_clu_pwdhash PASSED suites/clu/db2ldif_test.py::test_db2ldif_init PASSED suites/collation_plugin/collatation_test.py::test_collatation_init PASSED suites/collation_plugin/collatation_test.py::test_collatation_ PASSED suites/config/config_test.py::test_maxbersize_repl ERROR suites/config/config_test.py::test_config_listen_backport_size ERROR suites/config/config_test.py::test_config_deadlock_policy ERROR suites/cos_plugin/cos_test.py::test_cos_init PASSED suites/cos_plugin/cos_test.py::test_cos_ PASSED suites/deref_plugin/deref_test.py::test_deref_init PAS SED suites/deref_plugin/deref_test.py::test_deref_ PASSED suites/disk_monitoring/disk_monitor_test.py::test_disk_monitor_init PASSED suites/disk_monitoring/disk_monitor_test.py::test_disk_monitor_ PASSED suites/distrib_plugin/distrib_test.py::test_distrib_init PASSED suites/distrib_plugin/distrib_test.py::test_distrib_ PASSED suites/dna_plugin/dna_test.py::test_dna_init PASSED suites/dna_plugin/dna_test.py::test_dna_ PASSED suites/ds_logs/ds_logs_test.py::test_ds_logs_init PASSED suites/ds_logs/ds_logs_test.py::test_ds_logs_ PASSED suites/dynamic-plugins/test_dynamic_plugins.py::test_dynamic_plugins FAILED suites/filter/filter_test.py::test_filter_init PASSED suites/filter/filter_test.py::test_filter_escaped PASSED suites/filter/filter_test.py::test_filter_search_original_attrs PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_supported_features PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0-*] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-False-oper_attr_list0-objectClass] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1-*] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[-True-oper_attr_list1-objectClass] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-False-oper_attr_list2] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-False-oper_attr_list2-*] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-False-oper_attr_list2-objectClass] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-True-oper_attr_list3] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=ex ample,dc=com-True-oper_attr_list3-*] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[ou=people,dc=example,dc=com-True-oper_attr_list3-objectClass] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-False-oper_attr_list4] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-False-oper_attr_list4-*] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-False-oper_attr_list4-objectClass] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-True-oper_attr_list5] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-True-oper_attr_list5-*] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[uid=all_attrs_test,ou=people,dc=example,dc=com-True-oper_attr_list5-objectClass] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6-*] PASSED suites/filter/rfc3673_all_oper_attrs_test.py::test_search_basic[cn=config-False-oper_attr_list6-objectClass] PASSED suites/get_effective_rights/ger_test.py::test_ger_init PASSED suites/get_effective_rights/ger_test.py::test_ger_ PASSED suites/gssapi_repl/gssapi_repl_test.py::test_gssapi_repl PASSED suites/ldapi/ldapi_test.py::test_ldapi_init PASSED suites/ldapi/ldapi_test.py::test_ldapi_ PASSED suites/linkedattrs_plugin/linked_attrs_test.py::test_linked_attrs_init PASSED suites/linkedattrs_plugin/linked_attrs_test.py::test_linked_attrs_ PASSED suites/mapping_tree/mapping_tree_test.py::test_mapping_tree_init PASSED suites/mapping_tree/mapping_tree_test.py::test_mapping_tree_ PASSED suites/memberof_plugin/memberof_test.py::test_memberof_auto_add_oc PASSED suites/memory_leaks/range_ search_test.py::test_range_search_init PASSED suites/memory_leaks/range_search_test.py::test_range_search FAILED suites/memory_leaks/range_search_test.py::test_range_search ERROR suites/monitor/monitor_test.py::test_monitor_init PASSED suites/monitor/monitor_test.py::test_monitor_ PASSED suites/paged_results/paged_results_test.py::test_search_success[6-5] PASSED suites/paged_results/paged_results_test.py::test_search_success[5-5] PASSED suites/paged_results/paged_results_test.py::test_search_success[5-25] PASSED suites/paged_results/paged_results_test.py::test_search_limits_fail[50-200-cn=config,cn=ldbm database,cn=plugins,cn=config-nsslapd-idlistscanlimit-100-UNWILLING_TO_PERFORM] PASSED suites/paged_results/paged_results_test.py::test_search_limits_fail[5-15-cn=config-nsslapd-timelimit-20-UNAVAILABLE_CRITICAL_EXTENSION] PASSED suites/paged_results/paged_results_test.py::test_search_limits_fail[21-50-cn=config-nsslapd-sizelimit-20-SIZELIMIT_EXCEEDED] PASSED suites/paged_results/paged_results_test.py::test_search_limits_fail[21-50-cn=config-nsslapd-pagedsizelimit-5-SIZELIMIT_EXCEEDED] PASSED suites/paged_results/paged_results_test.py::test_search_limits_fail[5-50-cn=config,cn=ldbm database,cn=plugins,cn=config-nsslapd-lookthroughlimit-20-ADMINLIMIT_EXCEEDED] PASSED suites/paged_results/paged_results_test.py::test_search_sort_success PASSED suites/paged_results/paged_results_test.py::test_search_abandon PASSED suites/paged_results/paged_results_test.py::test_search_with_timelimit PASSED suites/paged_results/paged_results_test.py::test_search_dns_ip_aci[dns = "localhost.localdomain"] PASSED suites/paged_results/paged_results_test.py::test_search_dns_ip_aci[ip = "::1" or ip = "127.0.0.1"] PASSED suites/paged_results/paged_results_test.py::test_search_multiple_paging PASSED suites/paged_results/paged_results_test.py::test_search_invalid_cookie[1000] PASSED suites/paged_results/paged_results_test.py::test_search_invalid_cookie[-1] PASSED suites/paged_results/paged_results_test.py::test_search_abandon_with_zero_size PA SSED suites/paged_results/paged_results_test.py::test_search_pagedsizelimit_success PASSED suites/paged_results/paged_results_test.py::test_search_nspagedsizelimit[5-15-PASS] PASSED suites/paged_results/paged_results_test.py::test_search_nspagedsizelimit[15-5-SIZELIMIT_EXCEEDED] PASSED suites/paged_results/paged_results_test.py::test_search_paged_limits[conf_attr_values0-ADMINLIMIT_EXCEEDED] PASSED suites/paged_results/paged_results_test.py::test_search_paged_limits[conf_attr_values1-PASS] PASSED suites/paged_results/paged_results_test.py::test_search_paged_user_limits[conf_attr_values0-ADMINLIMIT_EXCEEDED] PASSED suites/paged_results/paged_results_test.py::test_search_paged_user_limits[conf_attr_values1-PASS] PASSED suites/paged_results/paged_results_test.py::test_ger_basic PASSED suites/paged_results/paged_results_test.py::test_multi_suffix_search PASSED suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[None] PASSED suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[-1] PASSED suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_success[1000] PASSED suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[0] PASSED suites/paged_results/paged_results_test.py::test_maxsimplepaged_per_conn_failure[1] PASSED suites/pam_passthru_plugin/pam_test.py::test_pam_init PASSED suites/pam_passthru_plugin/pam_test.py::test_pam_ PASSED suites/passthru_plugin/passthru_test.py::test_passthru_init PASSED suites/passthru_plugin/passthru_test.py::test_passthru_ PASSED suites/password/password_test.py::test_password_init PASSED suites/password/password_test.py::test_password_delete_specific_password PASSED suites/password/pwdAdmin_test.py::test_pwdAdmin_init PASSED suites/password/pwdAdmin_test.py::test_pwdAdmin PASSED suites/password/pwdAdmin_test.py::test_pwdAdmin_config_validation PASSED suites/password/pwdPolicy_attribute_test.py::test_change_pwd[on-off-UNWILLING_TO_PERFORM] PASSED suites/password/pwdPolicy_attribute_test.py: :test_change_pwd[off-off-UNWILLING_TO_PERFORM] PASSED suites/password/pwdPolicy_attribute_test.py::test_change_pwd[off-on-None] PASSED suites/password/pwdPolicy_attribute_test.py::test_change_pwd[on-on-None] PASSED suites/password/pwdPolicy_attribute_test.py::test_pwd_min_age PASSED suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[off-off] PASSED suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[on-off] PASSED suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_no_restrictions[off-on] PASSED suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_restrictions[cn=config] PASSED suites/password/pwdPolicy_inherit_global_test.py::test_entry_has_restrictions[cn="cn=nsPwPolicyEntry,ou=People,dc=example,dc=com",cn=nsPwPolicyContainer,ou=People,dc=example,dc=com] PASSED suites/password/pwdPolicy_syntax_test.py::test_pwdPolicy_syntax PASSED suites/password/pwdPolicy_warning_test.py::test_different_values[ ] PASSED suites/password/pwdPolicy_warning_test.py::test_different_values[junk123] PASSED suites/password/pwdPolicy_warning_test.py::test_different_values[on] PASSED suites/password/pwdPolicy_warning_test.py::test_different_values[off] PASSED suites/password/pwdPolicy_warning_test.py::test_expiry_time PASSED suites/password/pwdPolicy_warning_test.py::test_password_warning[passwordSendExpiringTime-off] PASSED suites/password/pwdPolicy_warning_test.py::test_password_warning[passwordWarning-3600] PASSED suites/password/pwdPolicy_warning_test.py::test_with_different_password_states PASSED suites/password/pwdPolicy_warning_test.py::test_default_behavior PASSED suites/password/pwdPolicy_warning_test.py::test_with_local_policy PASSED suites/password/pwd_algo_test.py::test_pwd_algo_test PASSED suites/password/pwp_history_test.py::test_pwp_history_test PASSED suites/posix_winsync_plugin/posix_winsync_test.py::test_posix_winsync_init PASSED suites/posix_winsync_plugin/posix_winsync_test.py::test_posix_winsync_ PASSED suites/psearch/psearch_test.py ::test_psearch_init PASSED suites/psearch/psearch_test.py::test_psearch_ PASSED suites/referint_plugin/referint_test.py::test_referint_init PASSED suites/referint_plugin/referint_test.py::test_referint_ PASSED suites/replication/cleanallruv_test.py::test_cleanallruv_init ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_clean ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_clean_restart ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_clean_force ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_abort ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_abort_restart ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_abort_certify ERROR suites/replication/cleanallruv_test.py::test_cleanallruv_stress_clean ERROR suites/replication/wait_for_async_feature_test.py::test_not_int_value ERROR suites/replication/wait_for_async_feature_test.py::test_multi_value ERROR suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr0] ERROR suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr1] ERROR suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr2] ERROR suites/replication/wait_for_async_feature_test.py::test_value_check[waitfor_async_attr3] ERROR suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr0] ERROR suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr1] ERROR suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr2] ERROR suites/replication/wait_for_async_feature_test.py::test_behavior_with_value[waitfor_async_attr3] ERROR suites/replsync_plugin/repl_sync_test.py::test_repl_sync_init PASSED suites/replsync_plugin/repl_sync_test.py::test_repl_sync_ PASSED suites/resource_limits/res_limits_test.py::test_res_limits_init PASSED suites/resource_limits/res_limits_test.py::test_res_limits_ PASSED suites/retrocl_plugin/retrocl_test.p y::test_retrocl_init PASSED suites/retrocl_plugin/retrocl_test.py::test_retrocl_ PASSED suites/reverpwd_plugin/reverpwd_test.py::test_reverpwd_init PASSED suites/reverpwd_plugin/reverpwd_test.py::test_reverpwd_ PASSED suites/roles_plugin/roles_test.py::test_roles_init PASSED suites/roles_plugin/roles_test.py::test_roles_ PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_init PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_specific_time PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_day_of_week PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_denied_ip PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_denied_host PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_allowed_ip PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_access_allowed_host PASSED suites/rootdn_plugin/rootdn_plugin_test.py::test_rootdn_config_validate PASSED suites/sasl/sasl_test.py::test_sasl_init PASSED suites/sasl/sasl_test.py::test_sasl_ PASSED suites/schema/test_schema.py::test_schema_comparewithfiles PASSED suites/schema_reload_plugin/schema_reload_test.py::test_schema_reload_init PASSED suites/schema_reload_plugin/schema_reload_test.py::test_schema_reload_ PASSED suites/snmp/snmp_test.py::test_snmp_init PASSED suites/snmp/snmp_test.py::test_snmp_ PASSED suites/ssl/ssl_test.py::test_ssl_init PASSED suites/ssl/ssl_test.py::test_ssl_ PASSED suites/syntax_plugin/syntax_test.py::test_syntax_init PASSED suites/syntax_plugin/syntax_test.py::test_syntax_ PASSED suites/usn_plugin/usn_test.py::test_usn_init PASSED suites/usn_plugin/usn_test.py::test_usn_ PASSED suites/views_plugin/views_test.py::test_views_init PASSED suites/views_plugin/views_test.py::test_views_ PASSED suites/vlv/vlv_test.py::test_vlv_init PASSED suites/vlv/vlv_test.py::test_vlv_ PASSED suites/whoami_plugin/whoami_test.py::test_whoami_init PASSED suites/whoami_plugin/whoami_test.py::test_whoami_ PASSED ==================================== ERRORS ===== =============================== ______________________ ERROR at setup of test_ticket47462 ______________________ request = <SubRequest 'topology' for <Function 'test_ticket47462'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47462_test.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11633b200>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_ticket47490_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable r eplication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d7320>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ____________________ ERROR at setup of test_ticket47490_one ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_P ORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d7320>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at setup of test_ticket47490_two ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_M ASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d7320>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_three ___________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbo se=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d7320>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_four ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixtu re is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d7320>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_fi ve ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d7320>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at setup of test_ticket47490_six ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d7320>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif sel f.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_seven ___________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d732 0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_eight ___________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os .path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d7320>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47490_nine ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47490_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47490_test.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1162d7320>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________________ ERROR at setup of test_ticket47536 ______________________ request = <SubRequest 'topology' for <Function 'test_ticket47536'>> @pytest.fixture(scope="module") def topology(request): # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47536_test.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115ae6ab8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self .CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_ticket47573_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47573_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47573_test.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb116115518>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-consumer_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ____________________ ERROR at setup of test_ticket47573_one ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47573_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the ins tance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47573_test.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb116115518>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at setup of test_ticket47573_two ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47573_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PO RT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47573_test.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb116115518>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47573_three ___________________ request = <SubRequest 'topology' for <Function 'test_ticket47573_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 a rgs_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47573_test.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb116115518>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47619_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47619_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47619_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115a1e3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-consumer_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv e xists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _______________ ERROR at setup of test_ticket47619_create_index ________________ request = <SubRequest 'topology' for <Function 'test_ticket47619_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47619_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115a1e3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATT R_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError __________________ ERROR at setup of test_ticket47619_reindex __________________ request = <SubRequest 'topology' for <Function 'test_ticket47619_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47619_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.D irSrv instance at 0x7fb115a1e3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of test_ticket47619_check_indexed_search ____________ request = <SubRequest 'topology' for <Function 'test_ticket47619_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47619_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog .py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115a1e3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47653_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47653_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the i nstances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47653MMR_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1163545a8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ____________________ ERROR at setup of test_ticket47653_add ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47653_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47653MMR_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1163545a8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError __________________ ERROR at setup of test_ticket47653_modi fy ___________________ request = <SubRequest 'topology' for <Function 'test_ticket47653_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47653MMR_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1163545a8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47676_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47676_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=RE PLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47676_test.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1160d5f80>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ________________ ERROR at setup of test_ticket47676_skip_oc_at _________________ request = <SubRequest 'topology' for <Function 'test_ticket47676_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.al locate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47676_test.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1160d5f80>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_ticket47676_reject_action _______________ request = <SubRequest 'topology' for <Function 'test_ticket47676_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47676_test.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1160d5f80>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else : raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47721_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47721_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableRepli cation self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115bce3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket47721_0 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47721_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_in stance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115bce3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47721_1 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47721_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_ prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115bce3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeEr ror _____________________ ERROR at setup of test_ticket47721_2 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47721_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115bce3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47721_3 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47721_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115bce3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47721_4 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47721_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_ PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47721_test.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115bce3f8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47787_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47787_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_ instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47787_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1159a4b00>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd- master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket47787_2 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47787_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47787_test.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1159a4b00>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_ticket47869_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47869_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the i nstances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47869MMR_test.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb116e456c8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_ticket47869_check ___________________ request = <SubRequest 'topology' for <Function 'test_ticket47869_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSr v(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47869MMR_test.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb116e456c8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: At tributeError ___________________ ERROR at setup of test_ticket47871_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47871_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance and restart it if it exists instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47871_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1158896c8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise Attr ibuteError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-consumer_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket47871_1 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47871_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance and restart it if it exists instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47871_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1158896c8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47871_2 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47871_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER -> Consumer. ''' master = DirSrv(verbose=False) consumer = DirSrv(verbose=False) # Args for the master instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master.allocate(args_master) # Args for the consumer instance args_instance[SER_HOST] = HOST_CONSUMER_1 args_instance[SER_PORT] = PORT_CONSUMER_1 args_instance[SER_SERVERID_PROP] = SERVERID_CONSUMER_1 args_consumer = args_instance.copy() consumer.allocate(args_consumer) # Get the status of the instance and restart it if it exists instance_master = master.exists() instance_consumer = consumer.exists() # Remove all the instances if instance_master: master.delete() if instance_consumer: consumer.delete() # Create the instances master.create() master.open() consumer.create() consumer.open() # # Now prepare the Master-Consumer topology # # First Enable replication > master .replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47871_test.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1158896c8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________________ ERROR at setup of test_ticket47966 ______________________ request = <SubRequest 'topology' for <Function 'test_ticket47966'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=DEFAULT_SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47966_test.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115b0e878>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_ticket47988_init ____________________ request = <SubRequest 'topology' for <Function 'test_ticket47988_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix #os.environ['USE_VALGRIND'] = '1' # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER _2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() def fin(): master1.delete() master2.delete() request.addfinalizer(fin) # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11595f8c0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. Instance slapd-master_2 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket47988_1 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47988_init'>> @pytest. fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix #os.environ['USE_VALGRIND'] = '1' # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() def fin(): master1.delete() master2.delete() request.addfinalizer(fin) # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11595f8c0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_2 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47988_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix #os.environ['USE_VALGRIND'] = '1' # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() def fin(): master1.delete() master2.delete() request.addfinalizer(fin) # # Now prepare the Master-Co nsumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11595f8c0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_3 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47988_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix #os.environ['USE_VALGRIND'] = '1' # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOS T_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() def fin(): master1.delete() master2.delete() request.addfinalizer(fin) # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11595f8c0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_4 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47988_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix #os.environ['USE_VALGRIND'] = '1' # alloca te master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() def fin(): master1.delete() master2.delete() request.addfinalizer(fin) # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11595f8c0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self._ _class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_5 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47988_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix #os.environ['USE_VALGRIND'] = '1' # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() def fin(): master1.delete() master2.delete() request.addfinalizer(fin) # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../.. /lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11595f8c0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_ticket47988_6 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket47988_init'>> @pytest.fixture(scope="module") def topology(request): ''' This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. ''' global installation1_prefix global installation2_prefix #os.environ['USE_VALGRIND'] = '1' # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instan ce_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() def fin(): master1.delete() master2.delete() request.addfinalizer(fin) # # Now prepare the Master-Consumer topology # # First Enable replication > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket47988_test.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11595f8c0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________ ERROR at setup of test_ticket48226_set_purgedelay _______________ request = <SubRequest 'topology' for <Function 'test_ticket48226_set_purgedelay'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix os.environ['USE_VALGRIND'] = '1' if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instanc e.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48226_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115af3200>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _____________________ ERROR at setup of test_ticket48226_1 _____________________ request = <SubRequest 'topology' for <Function 'test_ticket48226_set_purgedelay'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix os.environ['USE_VALGRIND'] = '1' if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48226_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115af3200>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ________________ ERROR at setup of test_ticket48266_fractional _________________ request = <SubRequest 'topology' for <Function 'test_ticket48266_fractional'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MAST ER, replicaId=REPLICAID_MASTER_1) tickets/ticket48266_test.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7f05a8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________ ERROR at setup of test_ticket48266_check_repl_desc ______________ request = <SubRequest 'topology' for <Function 'test_ticket48266_fractional'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication (suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48266_test.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7f05a8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of test_ticket48266_count_csn_evaluation ____________ request = <SubRequest 'topology' for <Function 'test_ticket48266_fractional'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48266_test.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.chang elog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7f05a8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________________ ERROR at setup of test_ticket48325 ______________________ request = <SubRequest 'topology' for <Function 'test_ticket48325'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) tickets/ticket48325_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb116ebe6c8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return se lf.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket4026 _______________________ request = <SubRequest 'topology' for <Function 'test_ticket4026'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48342_test.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d6c71b8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING .has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket48362 ______________________ request = <SubRequest 'topology' for <Function 'test_ticket48362'>> @pytest.fixture(scope="module") def topology(request): # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48362_test.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d7f38>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeErro r,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket48755 ______________________ request = <SubRequest 'topology' for <Function 'test_ticket48755'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48755_test.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115aca5f0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket48784 ______________________ request = <SubRequest 'topology' for <Function 'test_ticket48784'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48784_test.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d838128>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket48799 ______________________ request = <SubRequest 'topology' for <Function 'test_ticket48799'>> @pytest.fixture(scope="module") def topology(request): # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48799_test.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115b225a8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribut e 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_ticket48916 ______________________ request = <SubRequest 'topology' for <Function 'test_ticket48916'>> @pytest.fixture(scope="module") def topology(request): """Create Replication Deployment""" # Creating master 1... if DEBUGGING: master1 = DirSrv(verbose=True) else: master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) tickets/ticket48916_test.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d608050>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: Att ributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com _________ ERROR at setup of test_aci_attr_subtype_targetattr[lang-ja] __________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com __________ ERROR at setup of test_aci_attr_subtype_targetattr[binary] __________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_i nstance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _________ ERROR at setup of test_aci_attr_subtype_targetattr[phonetic] _________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installat ion2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _________________ ERROR at setup of test_mode_default_add_deny _________________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.pat h.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_mode_default_delete_deny ________________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master 1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of test_moddn_staging_prod[0-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False] request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER _DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of test_moddn_staging_prod[1-cn=staged user,dc=example,dc=com-cn=accounts,dc=example,dc=com-False] request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_p refix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E A ttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of test_moddn_staging_prod[2-cn=staged user,dc=example,dc=com-cn=bad*,dc=example,dc=com-True] request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/ lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of test_moddn_staging_prod[3-cn=st*,dc=example,dc=com-cn=accounts,dc=example,dc=com-False] request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.d elete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of test_moddn_staging_prod[4-cn=bad*,dc=example,dc=com-cn=accounts,dc=example,dc=com-True] request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of test_moddn_staging_prod[5-cn=st*,dc=example,dc=com-cn=ac*,dc=example,dc=com-False] request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topol ogy is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attrib ute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of test_moddn_staging_prod[6-None-cn=ac*,dc=example,dc=com-False] request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog .create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ERROR at setup of test_moddn_staging_prod[7-cn=st*,dc=example,dc=com-None-False] request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1. delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _________ ERROR at setup of test_moddn_staging_prod[8-None-None-False] _________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _________________ ERROR at setup of test_moddn_staging_prod_9 __________________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global insta llation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(n ame) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError __________________ ERROR at setup of test_moddn_prod_staging ___________________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.p y:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError __________________ ERROR at setup of test_check_repl_M2_to_M1 __________________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete () # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_moddn_staging_prod_except _______________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_ DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_mode_default_ger_no_moddn _______________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attri bute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________ ERROR at setup of test_mode_default_ger_with_moddn ______________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self. conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________ ERROR at setup of test_mode_switch_default_to_legacy _____________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() m aster1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_mode_legacy_ger_no_moddn1 _______________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_mode_legacy_ger_no_moddn2 _______________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement ma ster1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-pa ckages/ldap/ldapobject.py:136: AttributeError ______________ ERROR at setup of test_mode_legacy_ger_with_moddn _______________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_rdn_write_get_ger ___________________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open( ) # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ______________ ERROR at setup of test_rdn_write_modrdn_anonymous _______________ request = <SubRequest 'topology' for <Function 'test_aci_attr_subtype_targetattr[lang-ja]'>> @pytest.fixture(scope="module") def topology(request): """This fixture is used to create a replicated topology for the 'module'. The replicated topology is MASTER1 <-> Master2. """ global installation1_prefix global installation2_prefix # allocate master1 on a given deployement master1 = DirSrv(verbose=False) if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Args for the master1 instance args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_master = args_instance.copy() master1.allocate(args_master) # allocate master1 on a given deployement master2 = DirSrv(verbose=False) if installation2_prefix: args_instance[SER_DEPLOYED_DIR] = installation2_prefix # Args for the consumer instance args_instance[SER_ HOST] = HOST_MASTER_2 args_instance[SER_PORT] = PORT_MASTER_2 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_2 args_master = args_instance.copy() master2.allocate(args_master) # Get the status of the instance and restart it if it exists instance_master1 = master1.exists() instance_master2 = master2.exists() # Remove all the instances if instance_master1: master1.delete() if instance_master2: master2.delete() # Create the instances master1.create() master1.open() master2.create() master2.open() # # Now prepare the Master-Consumer topology # # First Enable replication master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) suites/acl/acl_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d7d20e0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at setup of test_maxbersize_repl ____________________ request = <SubRequest 'topology' for <Function 'test_maxbersize_repl'>> @pytest.fixture(scope="module") def topology(request): """Create Replication Deployment""" # Creating master 1... if DEBUGGING: master1 = DirSrv(verbose=True) else: master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SE R_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/config/config_test.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11576bcb0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ______________ ERROR at setup of test_config_listen_backport_size ______________ request = <SubRequest 'topology' for <Function 'test_maxbersize_repl'>> @pytest.fixture(scope="module") def topology(request): """Create Replication Deployment""" # Creating master 1... if DEBUGGING: master1 = DirSrv(verbose=True) else: master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/config/config_test.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11576bcb0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ________________ ERROR at setup of test_config_deadlock_policy _________________ request = <SubRequest 'topology' for <Function 'test_maxbersize_repl'>> @pytest.fixture(scope="module") def topology(request): """Create Replication Deployment""" # Creating master 1... if DEBUGGING: master1 = DirSrv(verbose=True) else: master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/config/config_test.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../ lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11576bcb0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ____________________ ERROR at teardown of test_range_search ____________________ def fin(): standalone.delete() if not standalone.has_asan(): sbin_dir = standalone.get_sbin_dir() > valgrind_disable(sbin_dir) suites/memory_leaks/range_search_test.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ sbin_dir = '/usr/sbin' def valgrind_disable(sbin_dir): ''' Restore the ns-slapd binary to its original state - the server instances are expected to be stopped. Note - selinux is enabled at the end of this process. :param sbin_dir - the location of the ns-slapd binary (e.g. /usr/sbin) :raise ValueError :raise EnvironmentError: If script is not run as 'root' ''' if os.geteuid() != 0: log.error('This script must be run as root to use valgrind') raise EnvironmentError nsslapd_orig = '%s/ns-slapd' % sbin_dir nsslapd_backup = '%s/ns-slapd.original' % sbin_dir # Restore the original ns-slapd try: shutil.copyfile(nsslapd_backup, nsslapd_orig) except IOError as e: log.fatal('valgrind_disable: failed to restore ns-slapd, error: %s' % e.strerror) > raise ValueError('failed to restore ns-slapd, error: %s' % e.strerror) E ValueError: failed to restore ns-slapd, error: Text file busy ../../../lib389/lib389/utils.py:288: ValueError ----------------------------- Captu red stderr call ----------------------------- INFO:suites.memory_leaks.range_search_test:Running test_range_search... --------------------------- Captured stdout teardown --------------------------- Instance slapd-standalone removed. --------------------------- Captured stderr teardown --------------------------- CRITICAL:lib389.utils:valgrind_disable: failed to restore ns-slapd, error: Text file busy ___________________ ERROR at setup of test_cleanallruv_init ____________________ request = <SubRequest 'topology' for <Function 'test_cleanallruv_init'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d66e290>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' / usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ ERROR at setup of test_cleanallruv_clean ___________________ request = <SubRequest 'topology' for <Function 'test_cleanallruv_init'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d66e290>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/lda p/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_cleanallruv_clean_restart _______________ request = <SubRequest 'topology' for <Function 'test_cleanallruv_init'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d66e290>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ________________ ERROR at setup of test_cleanallruv_clean_force ________________ request = <SubRequest 'topology' for <Function 'test_cleanallruv_init'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d66e290>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________________ ERROR at setup of test_cleanallruv_abort ___________________ request = <SubRequest 'topology' for <Function 'test_cleanallruv_init'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instan ce_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d66e290>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_cleanallruv_abort_restart _______________ request = <SubRequest 'topology' for <Function 'test_cleanallruv_init'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .. /../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d66e290>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_cleanallruv_abort_certify _______________ request = <SubRequest 'topology' for <Function 'test_cleanallruv_init'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d66e290>, name = 'inst_ dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______________ ERROR at setup of test_cleanallruv_stress_clean ________________ request = <SubRequest 'topology' for <Function 'test_cleanallruv_init'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/cleanallruv_test.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d66e290>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no att ribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _____________________ ERROR at setup of test_not_int_value _____________________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- Instance slapd-master_1 removed. OK group dirsrv exists OK user dirsrv exists ---------------------------- Captured stderr setup ----------------------- ------ INFO:lib389:List backend with suffix=dc=example,dc=com ______________________ ERROR at setup of test_multi_value ______________________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of test_value_check[waitfor_async_attr0] ____________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args _instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of test_value_check[waitfor_async_attr1] ____________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of test_value_check[waitfor_async_attr2] ____________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ___________ ERROR at setup of test_value_check[waitfor_async_attr3] ____________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ sel f = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______ ERROR at setup of test_behavior_with_value[waitfor_async_attr0] ________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self .__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______ ERROR at setup of test_behavior_with_value[waitfor_async_attr1] ________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______ ERROR at setup of test_behavior_with_value[waitfor_async_attr2] ________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixtur e(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVERID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError _______ ERROR at setup of test_behavior_with_value[waitfor_async_attr3] ________ request = <SubRequest 'topology' for <Function 'test_not_int_value'>> @pytest.fixture(scope="module") def topology(request): global installation1_prefix if installation1_prefix: args_instance[SER_DEPLOYED_DIR] = installation1_prefix # Creating master 1... master1 = DirSrv(verbose=False) args_instance[SER_HOST] = HOST_MASTER_1 args_instance[SER_PORT] = PORT_MASTER_1 args_instance[SER_SERVERID_PROP] = SERVER ID_MASTER_1 args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_master = args_instance.copy() master1.allocate(args_master) instance_master1 = master1.exists() if instance_master1: master1.delete() master1.create() master1.open() > master1.replica.enableReplication(suffix=SUFFIX, role=REPLICAROLE_MASTER, replicaId=REPLICAID_MASTER_1) suites/replication/wait_for_async_feature_test.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d614bd8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError =================================== FAILURES =================================== ____________________________ test_ticket47669_init _____________________________ topology = <tickets.ticket47669_test.TopologyStandalone object at 0x7fb116ac1a50> def test_ticket47669_init(topology): """ Add cn=changelog5,cn=config Enable cn=Retro Changelog Plugin,cn=plugins,cn=config """ log.info('Testing Ticket 47669 - Test duration syntax in the changelogs') # bind as directory manager topology.standalone.log.info("Bind as %s" % DN_DM) topology.standalone.simple_bind_s(DN_DM, PASSWORD) try: > changelogdir = os.path.join(topology.standalone.inst_dir, 'changelog') tickets/ticket47669_test.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb11636fb00>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47669_test:Testing Ticket 47669 - Test duration syntax in the changelogs INFO:lib389:Bind as cn=Directory Manager ______________________ test_ticket47669_changelog_maxage _______________________ topology = <tickets.ticket47669_test.TopologyStandalone object at 0x7fb116ac1a50> def test_ticket47669_changelog_maxage(topology): """ Test nsslapd-changelogmaxage in cn=changelog5,cn=config """ log.info('1. Test nsslapd-changelogmaxage in cn=changelog5,cn=config') # bind as directory manager topology.standalone.log.info("Bind as %s" % DN_DM) topology.standalone.simple_bind_s(DN_DM, PASSWORD) > add_and_check(topology, CHANGELOG, MAXAGE, '12345', True) tickets/ticket47669_test.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology = <tickets.ticket47669_test.TopologyStandalone object at 0x7fb116ac1a50> plugin = 'cn=changelog5,cn=config', attr = 'nsslapd-changelogmaxage' val = '12345', isvalid = True def add_and_check(topology, plugin, attr, val, isvalid): """ Helper function to add/replace attr: val and check the added value """ if isvalid: log.info('Test %s: %s -- valid' % (attr, val)) try: topology.standalone.modify_s(plugin, [(ldap.MOD_REPLACE, attr, val)]) except ldap.LDAPError as e: log.error('Failed to add ' + attr + ': ' + val + ' to ' + plugin + ': error ' + e.message['desc']) > assert False E assert False tickets/ticket47 669_test.py:116: AssertionError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47669_test:1. Test nsslapd-changelogmaxage in cn=changelog5,cn=config INFO:lib389:Bind as cn=Directory Manager INFO:tickets.ticket47669_test:Test nsslapd-changelogmaxage: 12345 -- valid ERROR:tickets.ticket47669_test:Failed to add nsslapd-changelogmaxage: 12345 to cn=changelog5,cn=config: error No such object ___________________ test_ticket47669_changelog_triminterval ____________________ topology = <tickets.ticket47669_test.TopologyStandalone object at 0x7fb116ac1a50> def test_ticket47669_changelog_triminterval(topology): """ Test nsslapd-changelogtrim-interval in cn=changelog5,cn=config """ log.info('2. Test nsslapd-changelogtrim-interval in cn=changelog5,cn=config') # bind as directory manager topology.standalone.log.info("Bind as %s" % DN_DM) topology.standalone.simple_bind_s(DN_DM, PASSWORD) > add_and_check(topology, CHANGELOG, TRIMINTERVAL, '12345', True) tickets/ticket47669_test.py:181: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology = <tickets.ticket47669_test.TopologyStandalone object at 0x7fb116ac1a50> plugin = 'cn=changelog5,cn=config', attr = 'nsslapd-changelogtrim-interval' val = '12345', isvalid = True def add_and_check(topology, plugin, attr, val, isvalid): """ Helper function to add/replace attr: val and check the added value """ if isvalid: log.info('Test %s: %s -- valid' % (attr, val)) try: topology.standalone.modify_s(plugin, [(ldap.MOD_REPLACE, attr, val)]) except ldap.LDAPError as e: log.error('Failed to add ' + attr + ': ' + val + ' to ' + plugin + ': error ' + e.message['desc']) > assert False E assert False tickets/ticket47669_test.py:116: AssertionError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47669_test:2. Test nsslapd-changelogtrim-interval in cn=changelog5,cn=config INFO:lib389:Bind as cn=Directory Manager INFO:tickets.ticket47669_test:Test nsslapd-changelog trim-interval: 12345 -- valid ERROR:tickets.ticket47669_test:Failed to add nsslapd-changelogtrim-interval: 12345 to cn=changelog5,cn=config: error No such object _________________ test_ticket47669_changelog_compactdbinterval _________________ topology = <tickets.ticket47669_test.TopologyStandalone object at 0x7fb116ac1a50> def test_ticket47669_changelog_compactdbinterval(topology): """ Test nsslapd-changelogcompactdb-interval in cn=changelog5,cn=config """ log.info('3. Test nsslapd-changelogcompactdb-interval in cn=changelog5,cn=config') # bind as directory manager topology.standalone.log.info("Bind as %s" % DN_DM) topology.standalone.simple_bind_s(DN_DM, PASSWORD) > add_and_check(topology, CHANGELOG, COMPACTDBINTERVAL, '12345', True) tickets/ticket47669_test.py:201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topology = <tickets.ticket47669_test.TopologyStandalone object at 0x7fb116ac1a50> plugin = 'cn=changelog5,cn=config', attr = 'nsslapd-changelogcompactdb-interval' val = '12345', isvalid = True def add_and_check(topology, plugin, attr, val, isvalid): """ Helper function to add/replace attr: val and check the added value """ if isvalid: log.info('Test %s: %s -- valid' % (attr, val)) try: topology.standalone.modify_s(plugin, [(ldap.MOD_REPLACE, attr, val)]) except ldap.LDAPError as e: log.error('Failed to add ' + attr + ': ' + val + ' to ' + plugin + ': error ' + e.message['desc']) > assert False E assert False tickets/ticket47669_test.py:116: AssertionError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47669_test:3. Test nsslapd-changelogcompactdb-interval in cn=changelog5,cn=config INFO:lib389:Bind as cn=Directory Manager INFO:tickets.ticket47669_test:Test nsslapd-changelogcompactdb-interval: 12345 -- valid ERROR:tickets.ticket47669_test:Failed to add nsslapd-changelogcompactdb-interval: 12345 to cn=changelog5,cn=config: error No such object _______________________________ test_ticket47781 ______________________________ _ topology = <tickets.ticket47781_test.TopologyStandalone object at 0x7fb116098ad0> def test_ticket47781(topology): """ Testing for a deadlock after doing an online import of an LDIF with replication data. The replication agreement should be invalid. """ log.info('Testing Ticket 47781 - Testing for deadlock after importing LDIF with replication data') # # Setup Replication # log.info('Setting up replication...') topology.standalone.replica.enableReplication(suffix=DEFAULT_SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) tickets/ticket47781_test.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1159b04d0>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47781_test:Testing Ticket 47781 - Testing for deadlock after importing LDIF with replication data INFO:tickets.ticket47781_test:Setting up replication... INFO:lib389:List backend with suffix=dc=example,dc=com _______________________________ test_ticket47819 _______________________________ topology = <tickets.ticket47819_test.TopologyStandalone object at 0x7fb11638f710> def test_ticket47819(topology): """ Te sting precise tombstone purging: [1] Make sure "nsTombstoneCSN" is added to new tombstones [2] Make sure an import of a replication ldif adds "nsTombstoneCSN" to old tombstones [4] Test fixup task [3] Make sure tombstone purging works """ log.info('Testing Ticket 47819 - Test precise tombstone purging') # # Setup Replication # log.info('Setting up replication...') topology.standalone.replica.enableReplication(suffix=DEFAULT_SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) tickets/ticket47819_test.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb115aea098>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47819_test:Testing Ticket 47819 - Test precise tombstone purging INFO:tickets.ticket47819_test:Setting up replication... INFO:lib389:List backend with suffix=dc=example,dc=com _______________________________ test_ticket47950 _______________________________ topology = <tickets.ticket47950_test.TopologyStandalone object at 0x7fb1157989d0> def test_ticket47950(topology): """ Testing nsslapd-plugin-binddn-tracking does not cause issues around access control a nd reconfiguring replication/repl agmt. """ log.info('Testing Ticket 47950 - Testing nsslapd-plugin-binddn-tracking') # # Turn on bind dn tracking # try: topology.standalone.modify_s("cn=config", [(ldap.MOD_REPLACE, 'nsslapd-plugin-binddn-tracking', 'on')]) log.info('nsslapd-plugin-binddn-tracking enabled.') except ldap.LDAPError as e: log.error('Failed to enable bind dn tracking: ' + e.message['desc']) assert False # # Add two users # try: topology.standalone.add_s(Entry((USER1_DN, { 'objectclass': "top person inetuser".split(), 'userpassword': "password", 'sn': "1", 'cn': "user 1"}))) log.info('Added test user %s' % USER1_DN) except ldap.LDAPError as e: log.error('Failed to add %s: %s' % (USER1_DN, e.message['desc'])) assert False try: topology.standalone.add_s(Entry((USER2_DN, { 'objectclass': "top person inetuser".split(), 'sn': "2", 'cn': "user 2"}))) log.info('Added test user %s' % USER2_DN) except ldap.LDAPError as e: log.error('Failed to add user1: ' + e.message['desc']) assert False # # Add an aci # try: acival = '(targetattr ="cn")(version 3.0;acl "Test bind dn tracking"' + \ ';allow (all) (userdn = "ldap:///%s");)' % USER1_DN topology.standalone.modify_s(DEFAULT_SUFFIX, [(ldap.MOD_ADD, 'aci', acival)]) log.info('Added aci') except ldap.LDAPError as e: log.error('Failed to add aci: ' + e.message['desc']) assert False # # Make modification as user # try: topology.standalone.simple_bind_s(USER1_DN, "password") log.info('Bind as user %s successful' % USER1_DN) except ldap.LDAPError as e: log.error('Failed to bind as user1: ' + e.message['desc']) assert False try: topology.standalone.modify_s(USER2_DN, [(ldap.MOD_REPLACE, 'cn', 'new value')]) log.info('%s successfully modified user %s' % (USER1_DN, USER2_DN)) except ldap.LDAPError as e: log.error('Failed to update user2: ' + e.message['desc']) assert False # # Setup replica and create a repl agmt # try: topology.standalone.simple_bind_s(DN_DM, PASSWORD) log.info('Bind as %s successful' % DN_DM) except ldap.LDAPError as e: log.error('Failed to bind as rootDN : ' + e.message['desc']) assert False try: topology.standalone.replica.enableReplication(suffix=DEFAULT_SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) tickets/ticket47950_test.py:152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1157ddea8>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket47950_test:Testing Ticket 47950 - Testing nsslapd-plugin-binddn-tracking INFO:tickets.ticket47950_test:nsslapd-plugin-binddn-tracking enabled. INFO:tickets.ticket47950_test:Added test user uid=user1,dc=example,dc=com INFO:tickets.ticket47950_test:Added test user uid=user2,dc=example,dc=com INFO:tickets.ticket47950_test:Added aci INFO:tickets.ticket47950_test:Bind as user uid=user1,dc=example,dc=com successful INFO:tickets.ticket47950_test:uid=user1,dc=example,dc=com successfully modified user uid=user2,dc=example,dc=com INFO:tickets.ticket47950_test:Bind as cn=Directory Manager successful INFO:lib389:List backend with suffix=dc=example,dc=com ___________________ test_ticket48497_homeDirectory_index_run ___________________ topology = <tickets.ticket48497_test.TopologyStand alone object at 0x7fb1157cc990> def test_ticket48497_homeDirectory_index_run(topology): args = {TASK_WAIT: True} topology.standalone.tasks.reindex(suffix=SUFFIX, attrname='homeDirectory', args=args) log.info("Check indexing succeeded with a specified matching rule") file_path = os.path.join(topology.standalone.prefix, "var/log/dirsrv/slapd-%s/errors" % topology.standalone.serverid) > file_obj = open(file_path, "r") E IOError: [Errno 2] No such file or directory: '/usr/var/log/dirsrv/slapd-standalone/errors' tickets/ticket48497_test.py:139: IOError ----------------------------- Captured stderr call ----------------------------- INFO:lib389:List backend with suffix=dc=example,dc=com INFO:lib389:Index task index_homeDirectory_11082016_011820 completed successfully INFO:tickets.ticket48497_test:Check indexing succeeded with a specified matching rule __________________ test_ticket48745_homeDirectory_indexed_cis __________________ topology = <tickets.ticket48745_test.TopologyStandalone object at 0x7fb115816050> def test_ticket48745_homeDirectory_indexed_cis(topology): log.info("\n\nindex homeDirectory in caseIgnoreIA5Match and caseExactIA5Match") try: ent = topology.standalone.getEntry(HOMEDIRECTORY_INDEX, ldap.SCOPE_BASE) except ldap.NO_SUCH_OBJECT: topology.standalone.add_s(Entry((HOMEDIRECTORY_INDEX, { 'objectclass': "top nsIndex".split(), 'cn': HOMEDIRECTORY_CN, 'nsSystemIndex': 'false', 'nsIndexType': 'eq'}))) #log.info("attach debugger") #time.sleep(60) IGNORE_MR_NAME='caseIgnoreIA5Match' EXACT_MR_NAME='caseExactIA5Match' mod = [(ldap.MOD_REPLACE, MATCHINGRULE, (IGNORE_MR_NAME, EXACT_MR_NAME))] topology.standalone.modify_s(HOMEDIRECTORY_INDEX, mod) #topology.standalone.stop(timeout=10) log.info("successfully checked that filter with exact mr , a filter with lowercase eq is failing") #assert topology.standalone.db2index(bename=DEFAULT_BENAME, suffixes=None, attrs=['homeDirectory']) #topology.standalone.start(timeout=10) args = {TASK_WAIT: True} topology.standalone.tasks.reindex(suffix=SUFFIX, attrname='homeDirecto ry', args=args) log.info("Check indexing succeeded with a specified matching rule") file_path = os.path.join(topology.standalone.prefix, "var/log/dirsrv/slapd-%s/errors" % topology.standalone.serverid) > file_obj = open(file_path, "r") E IOError: [Errno 2] No such file or directory: '/usr/var/log/dirsrv/slapd-standalone/errors' tickets/ticket48745_test.py:110: IOError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket48745_test: index homeDirectory in caseIgnoreIA5Match and caseExactIA5Match INFO:tickets.ticket48745_test:successfully checked that filter with exact mr , a filter with lowercase eq is failing INFO:lib389:List backend with suffix=dc=example,dc=com INFO:lib389:Index task index_homeDirectory_11082016_011935 completed successfully INFO:tickets.ticket48745_test:Check indexing succeeded with a specified matching rule __________________ test_ticket48746_homeDirectory_indexed_cis __________________ topology = <tickets.ticket48746_test.TopologyStandalone object at 0x7fb1158080d0> def test_ticket48746_homeDirectory_indexed_cis(topology): log.info("\n\nindex homeDirectory in caseIgnoreIA5Match and caseExactIA5Match") try: ent = topology.standalone.getEntry(HOMEDIRECTORY_INDEX, ldap.SCOPE_BASE) except ldap.NO_SUCH_OBJECT: topology.standalone.add_s(Entry((HOMEDIRECTORY_INDEX, { 'objectclass': "top nsIndex".split(), 'cn': HOMEDIRECTORY_CN, 'nsSystemIndex': 'false', 'nsIndexType': 'eq'}))) #log.info("attach debugger") #time.sleep(60) IGNORE_MR_NAME='caseIgnoreIA5Match' EXACT_MR_NAME='caseExactIA5Match' mod = [(ldap.MOD_REPLACE, MATCHINGRULE, (IGNORE_MR_NAME, EXACT_MR_NAME))] topology.standalone.modify_s(HOMEDIRECTORY_INDEX, mod) #topology.standalone.stop(timeout=10) log.info("successfully checked that filter with exact mr , a filter with lowercase eq is failing") #assert topology.standalone.db2index(bename=DEFAULT_BENAME, suffixes=None, attrs=['homeDirectory']) #topology.standalone.start(timeout=10) args = {TASK_WAIT: True} topology.standalone.tasks.reindex(suffix= SUFFIX, attrname='homeDirectory', args=args) log.info("Check indexing succeeded with a specified matching rule") file_path = os.path.join(topology.standalone.prefix, "var/log/dirsrv/slapd-%s/errors" % topology.standalone.serverid) > file_obj = open(file_path, "r") E IOError: [Errno 2] No such file or directory: '/usr/var/log/dirsrv/slapd-standalone/errors' tickets/ticket48746_test.py:108: IOError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket48746_test: index homeDirectory in caseIgnoreIA5Match and caseExactIA5Match INFO:tickets.ticket48746_test:successfully checked that filter with exact mr , a filter with lowercase eq is failing INFO:lib389:List backend with suffix=dc=example,dc=com INFO:lib389:Index task index_homeDirectory_11082016_012001 completed successfully INFO:tickets.ticket48746_test:Check indexing succeeded with a specified matching rule __________________ test_ticket48746_homeDirectory_indexed_ces __________________ topology = <tickets.ticket48746_test.TopologyStandalone object at 0x7fb1158080d0> def test_ticket48746_homeDirectory_indexed_ces(topology): log.info("\n\nindex homeDirectory in caseExactIA5Match, this would trigger the crash") try: ent = topology.standalone.getEntry(HOMEDIRECTORY_INDEX, ldap.SCOPE_BASE) except ldap.NO_SUCH_OBJECT: topology.standalone.add_s(Entry((HOMEDIRECTORY_INDEX, { 'objectclass': "top nsIndex".split(), 'cn': HOMEDIRECTORY_CN, 'nsSystemIndex': 'false', 'nsIndexType': 'eq'}))) # log.info("attach debugger") # time.sleep(60) EXACT_MR_NAME='caseExactIA5Match' mod = [(ldap.MOD_REPLACE, MATCHINGRULE, (EXACT_MR_NAME))] topology.standalone.modify_s(HOMEDIRECTORY_INDEX, mod) #topology.standalone.stop(timeout=10) log.info("successfully checked that filter with exact mr , a filter with lowercase eq is failing") #assert topology.standalone.db2index(bename=DEFAULT_BENAME, suffixes=None, attrs=['homeDirectory']) #topology.standalone.start(timeout=10) args = {TASK_WAIT: True} topology.standalone.tasks.reindex(suffix=SUFFIX, attrna me='homeDirectory', args=args) log.info("Check indexing succeeded with a specified matching rule") file_path = os.path.join(topology.standalone.prefix, "var/log/dirsrv/slapd-%s/errors" % topology.standalone.serverid) > file_obj = open(file_path, "r") E IOError: [Errno 2] No such file or directory: '/usr/var/log/dirsrv/slapd-standalone/errors' tickets/ticket48746_test.py:172: IOError ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket48746_test: index homeDirectory in caseExactIA5Match, this would trigger the crash INFO:tickets.ticket48746_test:successfully checked that filter with exact mr , a filter with lowercase eq is failing INFO:lib389:List backend with suffix=dc=example,dc=com INFO:lib389:Index task index_homeDirectory_11082016_012003 completed successfully INFO:tickets.ticket48746_test:Check indexing succeeded with a specified matching rule _______________________________ test_ticket48759 _______________________________ topology = <tickets.ticket48759_test.TopologyStandalone object at 0x7fb1158635d0> def test_ticket48759(topology): """ The fix for ticket 48759 has to prevent plugin calls for tombstone purging The test uses the memberof and retrocl plugins to verify this. In tombstone purging without the fix the mmeberof plugin is called, if the tombstone entry is a group, it modifies the user entries for the group and if retrocl is enabled this mod is written to the retrocl The test sequence is: - enable replication - enable memberof and retro cl plugin - add user entries - add a group and add the users as members - verify memberof is set to users - delete the group - verify memberof is removed from users - add group again - verify memberof is set to users - get number of changes in retro cl for one user - configure tombstone purging - wait for purge interval to pass - add a dummy entry to increase maxcsn - wait for purge interval to pass two times - get number of changes in retro cl for user again - assert there was no additional change """ log.info('Testin g Ticket 48759 - no plugin calls for tombstone purging') # # Setup Replication # log.info('Setting up replication...') topology.standalone.replica.enableReplication(suffix=DEFAULT_SUFFIX, role=REPLICAROLE_MASTER, > replicaId=REPLICAID_MASTER_1) tickets/ticket48759_test.py:148: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/replica.py:521: in enableReplication self.conn.changelog.create() ../../../lib389/lib389/changelog.py:48: in create dirpath = os.path.join(self.conn.inst_dir, dbname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb10d5ee950>, name = 'inst_dir' def __getattr__(self,name): if self.CLASSATTR_OPTION_MAPPING.has_key(name): return self.get_option(self.CLASSATTR_OPTION_MAPPING[name]) elif self.__dict__.has_key(name): return self.__dict__[name] else: raise AttributeError,'%s has no attribute %s' % ( > self.__class__.__name__,repr(name) ) E AttributeError: DirSrv has no attribute 'inst_dir' /usr/lib64/python2.7/site-packages/ldap/ldapobject.py:136: AttributeError ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:tickets.ticket48759_test:Testing Ticket 48759 - no plugin calls for tombstone purging INFO:tickets.ticket48759_test:Setting up replication... INFO:lib389:List backend with suffix=dc=example,dc=com _____________________________ test_dynamic_plugins _____________________________ topology = <test_dynamic_plugins.TopologyStandalone object at 0x7fb11583ecd0> def test_dynamic_plugins(topology): """ Test Dynamic Plugins - exercise each plugin and its main features, while changing the configuration without restarting the server. Need to test: functionality, stability, and stress. These tests need to run with replication disabled, and with replication setup with a second instance. Then test if replication is working, an d we have same entries on each side. Functionality - Make sure that as configuration changes are made they take effect immediately. Cross plugin interaction (e.g. automember/memberOf) needs to tested, as well as plugin tasks. Need to test plugin config validation(dependencies, etc). Memory Corruption - Restart the plugins many times, and in different orders and test functionality, and stability. This will excerise the internal plugin linked lists, dse callbacks, and task handlers. Stress - Put the server under load that will trigger multiple plugins(MO, RI, DNA, etc) Restart various plugins while these operations are going on. Perform this test 5 times(stress_max_run). """ REPLICA_PORT = 33334 RUV_FILTER = '(&(nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff)(objectclass=nstombstone))' master_maxcsn = 0 replica_maxcsn = 0 msg = ' (no replication)' replication_run = False stress_max_runs = 5 # First enable dynamic plugins try: topology.standalone.modify_s(DN_CONFIG, [(ldap.MOD_REPLACE, 'nsslapd-dynamic-plugins', 'on')]) except ldap.LDAPError as e: ldap.fatal('Failed to enable dynamic plugin!' + e.message['desc']) assert False # Test that critical plugins can be updated even though the change might not be applied try: topology.standalone.modify_s(DN_LDBM, [(ldap.MOD_REPLACE, 'description', 'test')]) except ldap.LDAPError as e: ldap.fatal('Failed to apply change to critical plugin' + e.message['desc']) assert False while 1: # # First run the tests with replication disabled, then rerun them with replication set up # ############################################################################ # Test plugin functionality ############################################################################ log.info('####################################################################') log.info('Testing Dynamic Plugins Functionality' + msg + '...') log.info('####################################################################\n') plugin_tests.test_all_plugins(topology.standalone) log.info('######################################### ###########################') log.info('Successfully Tested Dynamic Plugins Functionality' + msg + '.') log.info('####################################################################\n') ############################################################################ # Test the stability by exercising the internal lists, callabcks, and task handlers ############################################################################ log.info('####################################################################') log.info('Testing Dynamic Plugins for Memory Corruption' + msg + '...') log.info('####################################################################\n') prev_plugin_test = None prev_prev_plugin_test = None for plugin_test in plugin_tests.func_tests: # # Restart the plugin several times (and prev plugins) - work that linked list # plugin_test(topology.standalone, "restart") if prev_prev_plugin_test: prev_prev_plugin_test(topology.standalone, "restart") plugin_test(topology.standalone, "restart") if prev_plugin_test: prev_plugin_test(topology.standalone, "restart") plugin_test(topology.standalone, "restart") # Now run the functional test plugin_test(topology.standalone) # Set the previous tests if prev_plugin_test: prev_prev_plugin_test = prev_plugin_test prev_plugin_test = plugin_test log.info('####################################################################') log.info('Successfully Tested Dynamic Plugins for Memory Corruption' + msg + '.') log.info('####################################################################\n') ############################################################################ # Stress two plugins while restarting it, and while restarting other plugins. # The goal is to not crash, and have the plugins work after stressing them. ############################################################################ log.info('####################################################################') log.info('Stressing Dynamic Plugins' + msg + '...') log.info('################################################ ####################\n') stress_tests.configureMO(topology.standalone) stress_tests.configureRI(topology.standalone) stress_count = 0 while stress_count < stress_max_runs: log.info('####################################################################') log.info('Running stress test' + msg + '. Run (%d/%d)...' % (stress_count + 1, stress_max_runs)) log.info('####################################################################\n') try: # Launch three new threads to add a bunch of users add_users = stress_tests.AddUsers(topology.standalone, 'employee', True) add_users.start() add_users2 = stress_tests.AddUsers(topology.standalone, 'entry', True) add_users2.start() add_users3 = stress_tests.AddUsers(topology.standalone, 'person', True) add_users3.start() time.sleep(1) # While we are adding users restart the MO plugin and an idle plugin topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) time.sleep(1) topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) time.sleep(1) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.disable(name=PLUGIN_LINKED_ATTRS) topology.standalone.plugins.enable(name=PLUGIN_LINKED_ATTRS) time.sleep(1) topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) time.sleep(2) topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) time.sleep(1) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.disable(name=PLUGIN_LINKED_ATTRS) topology.standalone.plugins.enable(name=PLUGIN_LINKED_ATTRS) topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) time.sleep(1) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) # Wait for the 'adding' threads to complete add_users.join() add_users2.join() add_users3.join() # Now launch three threads to delete the users del_users = stress_tests.Del Users(topology.standalone, 'employee') del_users.start() del_users2 = stress_tests.DelUsers(topology.standalone, 'entry') del_users2.start() del_users3 = stress_tests.DelUsers(topology.standalone, 'person') del_users3.start() time.sleep(1) # Restart both the MO, RI plugins during these deletes, and an idle plugin topology.standalone.plugins.disable(name=PLUGIN_REFER_INTEGRITY) topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.enable(name=PLUGIN_REFER_INTEGRITY) time.sleep(1) topology.standalone.plugins.disable(name=PLUGIN_REFER_INTEGRITY) time.sleep(1) topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) time.sleep(1) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) time.sleep(1) topology.standalone.plugins.enable(name=PLUGIN_REFER_INTEGRITY) topology.standalone.plugins.disable(name=PLUGIN_LINKED_ATTRS) topology.standalone.plugins.enable(name=PLUGIN_LINKED_ATTRS) topology.standalone.plugins.disable(name=PLUGIN_REFER_INTEGRITY) topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) topology.standalone.plugins.enable(name=PLUGIN_REFER_INTEGRITY) time.sleep(2) topology.standalone.plugins.disable(name=PLUGIN_REFER_INTEGRITY) time.sleep(1) topology.standalone.plugins.disable(name=PLUGIN_MEMBER_OF) time.sleep(1) topology.standalone.plugins.enable(name=PLUGIN_MEMBER_OF) time.sleep(1) topology.standalone.plugins.enable(name=PLUGIN_REFER_INTEGRITY) topology.standalone.plugins.disable(name=PLUGIN_LINKED_ATTRS) topology.standalone.plugins.enable(name=PLUGIN_LINKED_ATTRS) # Wait for the 'deleting' threads to complete del_users.join() del_users2.join() del_users3.join() # Now make sure both the MO and RI plugins still work correctly plugin_tests.func_tests[8](topology.standalone) # RI plugin plugin_tests.func_tests[5](topology.standalone) # MO plugin # Cleanup the stress tests stress_tests.cleanup(topology.standalone) except: log.info('Stress test failed!') repl_fail(replica_inst) stress_count += 1 log.info('####################################################################') log.info('Successfully Stressed Dynamic Plugins' + msg + '. Completed (%d/%d)' % (stress_count, stress_max_runs)) log.info('####################################################################\n') if replication_run: # We're done. break else: # # Enable replication and run everything one more time # log.info('Setting up replication, and rerunning the tests...\n') # Create replica instance replica_inst = DirSrv(verbose=False) args_instance[SER_HOST] = LOCALHOST args_instance[SER_PORT] = REPLICA_PORT args_instance[SER_SERVERID_PROP] = 'replica' args_instance[SER_CREATION_SUFFIX] = DEFAULT_SUFFIX args_replica_inst = args_instance.copy() replica_inst.allocate(args_replica_inst) > replica_inst.create() suites/dynamic-plugins/test_dynamic_plugins.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib389/lib389/__init__.py:905: in create self._createDirsrv() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <lib389.DirSrv instance at 0x7fb1140fd248> def _createDirsrv(self): """Create a new instance of directory server @param self - containing the set properties SER_HOST (host) SER_PORT (port) SER_SECURE_PORT (sslport) SER_ROOT_DN (binddn) SER_ROOT_PW (bindpw) SER_CREATION_SUFFIX (creation_suffix) SER_USER_ID (userid) SER_SERVERID_PROP (serverid) SER_GROUP_ID (groupid) SER_DEPLOYED_DIR (prefix) SER_BACKUP_INST_DIR (backupdir) SER_REALM (krb5_realm) @return None @raise None } """ DirSrvTools.lib389User(user=DEFAULT_USER) prog = os.path.join(self.ds_paths.sbin_dir, CMD_PATH_SETUP_DS) if not os.path.isfile(prog): log.error("Can't find file: %r, removing extension" % prog) prog = prog[:-3] # Create and extract a service keytab args = {SER_HOST: self.host, SER_PORT: self.port, SER_SECURE_PORT: self.sslport, SER_ROOT_DN: self.binddn, SER_ROOT_PW: self.bindpw, SER_CREATION_SUFFIX: self.creation_suffix, SER_USER_ID: self.user id, SER_SERVERID_PROP: self.serverid, SER_GROUP_ID: self.groupid, SER_DEPLOYED_DIR: self.prefix, SER_BACKUP_INST_DIR: self.backupdir, SER_STRICT_HOSTNAME_CHECKING: self.strict_hostname} content = formatInfData(args) result = DirSrvTools.runInfProg(prog, content, self.verbose, prefix=self.prefix) if result != 0: > raise Exception('Failed to run setup-ds.pl') E Exception: Failed to run setup-ds.pl ../../../lib389/lib389/__init__.py:861: Exception ---------------------------- Captured stdout setup ----------------------------- OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stdout call ----------------------------- OK group dirsrv exists OK user dirsrv exists Instance slapd-passthru removed. OK group dirsrv exists OK user dirsrv exists Instance slapd-passthru removed. OK group dirsrv exists OK user dirsrv exists ----------------------------- Captured stderr call ----------------------------- INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Testing Dynamic Plugins Functionality (no replication)... INFO:test_dynamic_plugins:#################################################################### INFO:plugin_tests:Testing Account Policy Plugin... INFO:plugin_tests:test_acctpolicy: PASS INFO:plugin_tests:Testing attribute uniqueness... INFO:plugin_tests:test_attruniq: PASS INFO:plugin_tests:Testing Auto Membership Plugin... INFO:plugin_tests:test_automember: PASS INFO:plugin_tests:Testing Distributed Numeric Assignment Plugin... INFO:plugin_tests:test_dna: PASS INFO:plugin_tests:Testing Linked Attributes... INFO:plugin_tests:test_linkedattrs: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:plugin_tests:Testing Managed Entries... INFO:plugin_tests:test_mep: PASS INFO:plugin_tests:Testing Pass Through Authentication... INFO:lib389:List backend with suffix=dc=pass2,dc=thru INFO:lib389:Creating a local backend INFO:lib389:List backend cn=PASS2,cn=ldbm database,cn=plugins,cn=con fig INFO:lib389:Found entry dn: cn=PASS2,cn=ldbm database,cn=plugins,cn=config cn: PASS2 nsslapd-cachememsize: 10485760 nsslapd-cachesize: -1 nsslapd-directory: /var/lib/dirsrv/slapd-passthru/db/PASS2 nsslapd-dncachememsize: 10485760 nsslapd-readonly: off nsslapd-require-index: off nsslapd-suffix: dc=pass2,dc=thru objectClass: top objectClass: extensibleObject objectClass: nsBackendInstance INFO:lib389:Entry dn: cn="dc=pass2,dc=thru",cn=mapping tree,cn=config cn: dc=pass2,dc=thru nsslapd-backend: PASS2 nsslapd-state: backend objectclass: top objectclass: extensibleObject objectclass: nsMappingTree INFO:lib389:Found entry dn: cn=dc\3Dpass2\2Cdc\3Dthru,cn=mapping tree,cn=config cn: dc=pass2,dc=thru nsslapd-backend: PASS2 nsslapd-state: backend objectClass: top objectClass: extensibleObject objectClass: nsMappingTree INFO:plugin_tests:test_passthru: PASS INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing Retro Changelog Plugin... INFO:plugin_tests:test_retrocl: PASS INFO:plugin_tests:Testing RootDN Access Control... INFO:plugin_tests:test_rootdn: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Tested Dynamic Plugins Functionality (no replication). INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Testing Dynamic Plugins for Memory Corruption (no replication)... INFO:test_dynamic_plugins:#################################################################### INFO:plugin_tests:Testing Account Policy Plugin... INFO:plugin_tests:test_acctpolicy: PASS INFO:plugin_tests:Testing attribute uniqueness... INFO:plugin_tests:test_attruniq: PASS INFO:plugin_tests:Testing Auto Membership Plugin... INFO:plugin_tests:test_automember: PASS INFO:plugin_tests:Testing Distributed Numeric Assignment Plugin... I NFO:plugin_tests:test_dna: PASS INFO:plugin_tests:Testing Linked Attributes... INFO:plugin_tests:test_linkedattrs: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:plugin_tests:Testing Managed Entries... INFO:plugin_tests:test_mep: PASS INFO:plugin_tests:Testing Pass Through Authentication... INFO:lib389:List backend with suffix=dc=pass2,dc=thru INFO:lib389:Creating a local backend INFO:lib389:List backend cn=PASS2,cn=ldbm database,cn=plugins,cn=config INFO:lib389:Found entry dn: cn=PASS2,cn=ldbm database,cn=plugins,cn=config cn: PASS2 nsslapd-cachememsize: 10485760 nsslapd-cachesize: -1 nsslapd-directory: /var/lib/dirsrv/slapd-passthru/db/PASS2 nsslapd-dncachememsize: 10485760 nsslapd-readonly: off nsslapd-require-index: off nsslapd-suffix: dc=pass2,dc=thru objectClass: top objectClass: extensibleObject objectClass: nsBackendInstance INFO:lib389:Entry dn: cn="dc=pass2,dc=thru",cn=mapping tree,cn=config cn: dc=pass2,dc=thru nsslapd-backend: PASS2 nsslapd-state: backend objectclass: top objectclass: extensibleObject objectclass: nsMappingTree INFO:lib389:Found entry dn: cn=dc\3Dpass2\2Cdc\3Dthru,cn=mapping tree,cn=config cn: dc=pass2,dc=thru nsslapd-backend: PASS2 nsslapd-state: backend objectClass: top objectClass: extensibleObject objectClass: nsMappingTree INFO:plugin_tests:test_passthru: PASS INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing Retro Changelog Plugin... INFO:plugin_tests:test_retrocl: PASS INFO:plugin_tests:Testing RootDN Access Control... INFO:plugin_tests:test_rootdn: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Tested Dynamic Plugins for Memory Corruption (no replication). INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plu gins:Stressing Dynamic Plugins (no replication)... INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (1/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (entry)... INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:stress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (1/5) INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (2/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (entry )... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (2/5) INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (3/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Adding 250 entries (entry)... INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:s tress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (3/5) INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (4/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (entry)... INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:stress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (4/5) INFO:test_dynamic _plugins:#################################################################### INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Running stress test (no replication). Run (5/5)... INFO:test_dynamic_plugins:#################################################################### INFO:stress_tests:AddUsers - Adding 250 entries (employee)... INFO:stress_tests:AddUsers - Adding 250 entries (entry)... INFO:stress_tests:AddUsers - Adding 250 entries (person)... INFO:stress_tests:AddUsers - Finished adding 250 entries (employee). INFO:stress_tests:AddUsers - Finished adding 250 entries (person). INFO:stress_tests:AddUsers - Finished adding 250 entries (entry). INFO:stress_tests:DelUsers - Deleting 250 entries (employee)... INFO:stress_tests:DelUsers - Deleting 250 entries (entry)... INFO:stress_tests:DelUsers - Deleting 250 entries (person)... INFO:stress_tests:DelUsers - Finished deleting 250 entries (entry). INFO:stress_tests:DelUsers - Finished deleting 250 entries (person). INFO:stress_tests:DelUsers - Finished deleting 250 entries (employee). INFO:plugin_tests:Testing referential integrity postoperation... INFO:plugin_tests:test_referint: PASS INFO:plugin_tests:Testing MemberOf Plugin... INFO:plugin_tests:test_memberof: PASS INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Successfully Stressed Dynamic Plugins (no replication). Completed (5/5) INFO:test_dynamic_plugins:#################################################################### INFO:test_dynamic_plugins:Setting up replication, and rerunning the tests... ______________________________ test_range_search _______________________________ topology = <suites.memory_leaks.range_search_test.TopologyStandalone object at 0x7fb115863350> def test_range_search(topology): ''' Add a 100 entries, and run a range search. When we encounter an error we still need to disable valgrind before exiting ''' log.info('Running test_range_search... ') success = True # Add 100 test entries for idx in range(1, 100): idx = str(idx) USER_DN = 'uid=user' + idx + ',' + DEFAULT_SUFFIX try: topology.standalone.add_s(Entry((USER_DN, {'objectclass': "top extensibleObject".split(), 'uid': 'user' + idx}))) except ldap.LDAPError as e: log.fatal('test_range_search: Failed to add test user ' + USER_DN + ': error ' + e.message['desc']) success = False time.sleep(1) if success: # Issue range search try: topology.standalone.search_s(RETROCL_SUFFIX, ldap.SCOPE_SUBTREE, '(&(changenumber>=74)(changenumber<=84))') except ldap.LDAPError as e: log.fatal('test_range_search: Failed to search retro changelog(%s), error: %s' % (RETROCL_SUFFIX, e.message('desc'))) success = False if success and not topology.standalone.has_asan(): # Get the results file, stop the server, and check for the leak results_file = valgrind_get_results_file(topology.standalone) topology.standalone.stop(timeout=30) > if valgrind_check_file(results_file, VALGRIND_LEAK_STR, 'range_candidates'): suites/memory_leaks/range_search_test.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ results_file = 'valgrind' patterns = (' blocks are definitely lost in loss record ', 'range_candidates') found = False, pattern_count = 2, matched_count = 0 def valgrind_check_file(results_file, *patterns): ''' Check the valgrind results file for the all the patterns @param result_file - valgrind results file (must be read after server is stopped) @param patterns - A plain text or regex pattern string args that should be searched for @return True/False - Return true if one if the patterns match a stack trace @raise IOError ''' # Verify results file if not results_file: assert False # Check the result file fo the leak text results_file = results_file.replace('\n', '') found = False pattern_count = len(patterns) matched_count = 0 > vlog = open(results_file) E IOError: [Errno 2] No such file or directory: 'valgrind' ../../../lib389/lib389/utils.py:354: IOError ----------------------------- Captured std err call ----------------------------- INFO:suites.memory_leaks.range_search_test:Running test_range_search... ============= 14 failed, 404 passed, 107 error in 5643.45 seconds ============== + MSG=FAILED + RC=1 + sudo /usr/sbin/sendmail mreynolds@xxxxxxxxxx + exit 1 Build step 'Execute shell' marked build as failure _______________________________________________ 389-devel mailing list -- 389-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx