2026-06-04 13:33:49,842 - INFO - Domain Default found not creating 2026-06-04 13:33:50,021 - INFO - Project ctest-TestBasicPolicy-94615552 not found, creating it 2026-06-04 13:33:50,596 - INFO - Created Project:ctest-TestBasicPolicy-94615552, ID : fe81c858-9bba-499b-a943-0cd73dd994e8 2026-06-04 13:33:52,192 - INFO - ================================================================================ 2026-06-04 13:33:52,192 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-04 13:33:52,192 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-06-04 13:33:53,489 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.19': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-06-04 13:33:53,489 - INFO - Initial checks done. Running the testcase now 2026-06-04 13:33:53,489 - INFO - 2026-06-04 13:33:54,231 - DEBUG - Response for create_network : {'network': {'id': '5efda829-a090-4449-9eec-c00c27e15df4', 'name': 'ctest-vn-66606599', 'tenant_id': 'fe81c8589bba499ba9430cd73dd994e8', 'project_id': 'fe81c8589bba499ba9430cd73dd994e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94615552', 'ctest-vn-66606599'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 13:33:54,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '72eca003-7846-4ea3-9f46-52d93dcae876', 'name': '', 'tenant_id': 'fe81c8589bba499ba9430cd73dd994e8', 'network_id': '5efda829-a090-4449-9eec-c00c27e15df4', 'ip_version': 4, 'cidr': '3.86.23.64/26', 'allocation_pools': [{'start': '3.86.23.66', 'end': '3.86.23.126'}], 'gateway_ip': '3.86.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.86.23.66', 'tags': [], 'project_id': 'fe81c8589bba499ba9430cd73dd994e8'}} 2026-06-04 13:33:54,553 - INFO - Created VN ctest-vn-66606599 2026-06-04 13:33:54,565 - DEBUG - VN ctest-vn-66606599 UUID is 5efda829-a090-4449-9eec-c00c27e15df4 2026-06-04 13:33:54,933 - DEBUG - Response for create_network : {'network': {'id': '60b51e83-58c9-421a-afc7-2fbd8bdd6e0b', 'name': 'ctest-vn-46622819', 'tenant_id': 'fe81c8589bba499ba9430cd73dd994e8', 'project_id': 'fe81c8589bba499ba9430cd73dd994e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94615552', 'ctest-vn-46622819'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 13:33:55,228 - DEBUG - Response for create_subnet : {'subnet': {'id': '403950ee-6017-4e2a-b347-8ff404a8d478', 'name': '', 'tenant_id': 'fe81c8589bba499ba9430cd73dd994e8', 'network_id': '60b51e83-58c9-421a-afc7-2fbd8bdd6e0b', 'ip_version': 4, 'cidr': '112.35.109.64/26', 'allocation_pools': [{'start': '112.35.109.66', 'end': '112.35.109.126'}], 'gateway_ip': '112.35.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.35.109.66', 'tags': [], 'project_id': 'fe81c8589bba499ba9430cd73dd994e8'}} 2026-06-04 13:33:55,255 - INFO - Created VN ctest-vn-46622819 2026-06-04 13:33:55,271 - DEBUG - VN ctest-vn-46622819 UUID is 60b51e83-58c9-421a-afc7-2fbd8bdd6e0b 2026-06-04 13:33:55,366 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-06-04 13:33:55,740 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5efda829-a090-4449-9eec-c00c27e15df4', 'name': 'ctest-vn-66606599', 'tenant_id': 'fe81c8589bba499ba9430cd73dd994e8', 'project_id': 'fe81c8589bba499ba9430cd73dd994e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72eca003-7846-4ea3-9f46-52d93dcae876'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94615552', 'ctest-vn-66606599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94615552', 'ctest-policy-allow-all-23865831']], 'subnet_ipam': [{'subnet_cidr': '3.86.23.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 13:33:55,982 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60b51e83-58c9-421a-afc7-2fbd8bdd6e0b', 'name': 'ctest-vn-46622819', 'tenant_id': 'fe81c8589bba499ba9430cd73dd994e8', 'project_id': 'fe81c8589bba499ba9430cd73dd994e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['403950ee-6017-4e2a-b347-8ff404a8d478'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94615552', 'ctest-vn-46622819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94615552', 'ctest-policy-allow-all-23865831']], 'subnet_ipam': [{'subnet_cidr': '112.35.109.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 13:33:56,086 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 13:33:56,484 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 13:33:56,537 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2a691fd0-1018-439d-b1ef-8ad832fd41d9 2026-06-04 13:33:56,553 - DEBUG - Requesting: http://10.0.0.38:8082/project/fe81c858-9bba-499b-a943-0cd73dd994e8 2026-06-04 13:33:56,671 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5efda829-a090-4449-9eec-c00c27e15df4 2026-06-04 13:33:56,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5efda829-a090-4449-9eec-c00c27e15df4 2026-06-04 13:33:56,700 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9b50cf24-42d6-48e3-af5d-735880f13213 2026-06-04 13:33:56,709 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9b50cf24-42d6-48e3-af5d-735880f13213 2026-06-04 13:33:56,719 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/66aebd0c-c25f-4053-bd75-6d4b7ba08e32 2026-06-04 13:33:56,729 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 13:33:56,729 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5efda829-a090-4449-9eec-c00c27e15df4 2026-06-04 13:33:56,741 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9b50cf24-42d6-48e3-af5d-735880f13213 2026-06-04 13:33:56,763 - INFO - Verified VN network id 14 for VN 5efda829-a090-4449-9eec-c00c27e15df4 2026-06-04 13:33:56,763 - INFO - Verifications in API Server for VN ctest-vn-66606599 passed 2026-06-04 13:33:56,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5efda829-a090-4449-9eec-c00c27e15df4 2026-06-04 13:33:56,775 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9b50cf24-42d6-48e3-af5d-735880f13213 2026-06-04 13:33:56,784 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9b50cf24-42d6-48e3-af5d-735880f13213 2026-06-04 13:33:56,791 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/66aebd0c-c25f-4053-bd75-6d4b7ba08e32 2026-06-04 13:33:56,807 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94615552', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6844811905413956681', 'uuid-lslong': '11451739110937550324'}, 'enable': 'true', 'created': '2026-06-04T13:33:54', 'last-modified': '2026-06-04T13:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.157354'} 2026-06-04 13:33:56,813 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 13:33:56,819 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94615552', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6844811905413956681', 'uuid-lslong': '11451739110937550324'}, 'enable': 'true', 'created': '2026-06-04T13:33:54', 'last-modified': '2026-06-04T13:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.160740'} 2026-06-04 13:33:56,825 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 13:33:56,831 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94615552', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6844811905413956681', 'uuid-lslong': '11451739110937550324'}, 'enable': 'true', 'created': '2026-06-04T13:33:54', 'last-modified': '2026-06-04T13:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.166269'} 2026-06-04 13:33:56,837 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 13:33:56,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66606599 passed 2026-06-04 13:33:56,837 - DEBUG - ====Verifying policy data for ctest-vn-66606599 in API_Server ====== 2026-06-04 13:33:56,837 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 13:33:56,845 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2a691fd0-1018-439d-b1ef-8ad832fd41d9 2026-06-04 13:33:56,855 - DEBUG - Requesting: http://10.0.0.38:8082/project/fe81c858-9bba-499b-a943-0cd73dd994e8 2026-06-04 13:33:56,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5efda829-a090-4449-9eec-c00c27e15df4 2026-06-04 13:33:56,974 - DEBUG - ==>Verifying data for policy with id: 5ab5c3ad-245d-49ad-a957-15a75383fb52, fqn: ['default-domain', 'ctest-TestBasicPolicy-94615552', 'ctest-policy-allow-all-23865831'] 2026-06-04 13:33:56,974 - INFO - VN ctest-vn-66606599 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 13:33:56,974 - DEBUG - Verifying the vn in opserver 2026-06-04 13:33:56,974 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 virtual network link through opserver 10.0.0.38 2026-06-04 13:33:56,974 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-04 13:33:57,271 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-04 13:33:57,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599?flat'} 2026-06-04 13:33:57,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 virtual network link through opserver 10.0.0.33 2026-06-04 13:33:57,375 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-04 13:33:57,689 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-04 13:33:57,765 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599?flat'} 2026-06-04 13:33:57,765 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 virtual network link through opserver 10.0.0.249 2026-06-04 13:33:57,765 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-04 13:33:58,076 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-04 13:33:58,144 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599?flat'} 2026-06-04 13:33:58,144 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 is found in opserver 2026-06-04 13:33:58,169 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 13:33:58,180 - DEBUG - VRF ids for VN ctest-vn-66606599: {} 2026-06-04 13:33:58,180 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 13:33:58,190 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2a691fd0-1018-439d-b1ef-8ad832fd41d9 2026-06-04 13:33:58,201 - DEBUG - Requesting: http://10.0.0.38:8082/project/fe81c858-9bba-499b-a943-0cd73dd994e8 2026-06-04 13:33:58,314 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b51e83-58c9-421a-afc7-2fbd8bdd6e0b 2026-06-04 13:33:58,328 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b51e83-58c9-421a-afc7-2fbd8bdd6e0b 2026-06-04 13:33:58,346 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d95db6a-55ca-499a-9d4d-e093d0f8ff23 2026-06-04 13:33:58,355 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d95db6a-55ca-499a-9d4d-e093d0f8ff23 2026-06-04 13:33:58,363 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dc167275-9edc-4253-a79f-13d30e995189 2026-06-04 13:33:58,372 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 13:33:58,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b51e83-58c9-421a-afc7-2fbd8bdd6e0b 2026-06-04 13:33:58,386 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d95db6a-55ca-499a-9d4d-e093d0f8ff23 2026-06-04 13:33:58,405 - INFO - Verified VN network id 15 for VN 60b51e83-58c9-421a-afc7-2fbd8bdd6e0b 2026-06-04 13:33:58,405 - INFO - Verifications in API Server for VN ctest-vn-46622819 passed 2026-06-04 13:33:58,405 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b51e83-58c9-421a-afc7-2fbd8bdd6e0b 2026-06-04 13:33:58,418 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d95db6a-55ca-499a-9d4d-e093d0f8ff23 2026-06-04 13:33:58,428 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d95db6a-55ca-499a-9d4d-e093d0f8ff23 2026-06-04 13:33:58,441 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dc167275-9edc-4253-a79f-13d30e995189 2026-06-04 13:33:58,465 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94615552', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6968509547904844314', 'uuid-lslong': '12666144968144678411'}, 'enable': 'true', 'created': '2026-06-04T13:33:54', 'last-modified': '2026-06-04T13:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.552786'} 2026-06-04 13:33:58,474 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 13:33:58,481 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94615552', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6968509547904844314', 'uuid-lslong': '12666144968144678411'}, 'enable': 'true', 'created': '2026-06-04T13:33:54', 'last-modified': '2026-06-04T13:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.563812'} 2026-06-04 13:33:58,493 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 13:33:58,502 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94615552', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6968509547904844314', 'uuid-lslong': '12666144968144678411'}, 'enable': 'true', 'created': '2026-06-04T13:33:54', 'last-modified': '2026-06-04T13:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.585345'} 2026-06-04 13:33:58,512 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 13:33:58,513 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46622819 passed 2026-06-04 13:33:58,513 - DEBUG - ====Verifying policy data for ctest-vn-46622819 in API_Server ====== 2026-06-04 13:33:58,513 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 13:33:58,520 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2a691fd0-1018-439d-b1ef-8ad832fd41d9 2026-06-04 13:33:58,538 - DEBUG - Requesting: http://10.0.0.38:8082/project/fe81c858-9bba-499b-a943-0cd73dd994e8 2026-06-04 13:33:58,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b51e83-58c9-421a-afc7-2fbd8bdd6e0b 2026-06-04 13:33:58,665 - DEBUG - ==>Verifying data for policy with id: 5ab5c3ad-245d-49ad-a957-15a75383fb52, fqn: ['default-domain', 'ctest-TestBasicPolicy-94615552', 'ctest-policy-allow-all-23865831'] 2026-06-04 13:33:58,665 - INFO - VN ctest-vn-46622819 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 13:33:58,665 - DEBUG - Verifying the vn in opserver 2026-06-04 13:33:58,665 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819 virtual network link through opserver 10.0.0.38 2026-06-04 13:33:58,665 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-04 13:33:58,749 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819?flat'} 2026-06-04 13:33:58,749 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819 virtual network link through opserver 10.0.0.33 2026-06-04 13:33:58,749 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-04 13:33:58,826 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819?flat'} 2026-06-04 13:33:58,826 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819 virtual network link through opserver 10.0.0.249 2026-06-04 13:33:58,826 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-04 13:33:58,897 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819?flat'} 2026-06-04 13:33:58,897 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-46622819 is found in opserver 2026-06-04 13:33:58,920 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 13:33:58,931 - DEBUG - VRF ids for VN ctest-vn-46622819: {} 2026-06-04 13:33:59,005 - DEBUG - Services list from nova: [, , , ] 2026-06-04 13:34:00,118 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5890-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5890-2) 2026-06-04 13:34:01,603 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5890-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5890-1) 2026-06-04 13:34:01,603 - INFO - Waiting for VM ctest-TestBasicPolicy-94615552-70295883 to be up.. 2026-06-04 13:34:01,690 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 13:34:06,822 - DEBUG - VM is in ACTIVE state now 2026-06-04 13:34:06,822 - INFO - VM name : ctest-TestBasicPolicy-94615552-70295883 2026-06-04 13:34:06,926 - DEBUG - VM ctest-TestBasicPolicy-94615552-70295883 ID is b9be8f6d-24bc-495b-b5ed-2eee4876f4f3 2026-06-04 13:34:06,956 - DEBUG - VM ctest-TestBasicPolicy-94615552-70295883 launched on Node an-jenkins-deploy-platform-ansible-os-5890-2 2026-06-04 13:34:07,065 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b9be8f6d-24bc-495b-b5ed-2eee4876f4f3 2026-06-04 13:34:07,372 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b9be8f6d-24bc-495b-b5ed-2eee4876f4f3 2026-06-04 13:34:07,413 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/be7d0463-8298-46e4-be46-e906beb4cb6c 2026-06-04 13:34:10,589 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-06-04 13:34:10,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-70295883 failed! 2026-06-04 13:34:10,605 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 is 3.86.23.65 and allocation pool is NOT set 2026-06-04 13:34:14,685 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-06-04 13:34:14,686 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-70295883 failed! 2026-06-04 13:34:14,701 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 is 3.86.23.65 and allocation pool is NOT set 2026-06-04 13:34:18,779 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-06-04 13:34:18,779 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-70295883 failed! 2026-06-04 13:34:18,794 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 is 3.86.23.65 and allocation pool is NOT set 2026-06-04 13:34:22,882 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-06-04 13:34:22,882 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-70295883 failed! 2026-06-04 13:34:22,898 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 is 3.86.23.65 and allocation pool is NOT set 2026-06-04 13:34:26,980 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-04 13:34:26,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-70295883 failed! 2026-06-04 13:34:26,995 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 is 3.86.23.65 and allocation pool is NOT set 2026-06-04 13:34:31,076 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-06-04 13:34:31,076 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-70295883 failed! 2026-06-04 13:34:31,092 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 is 3.86.23.65 and allocation pool is NOT set 2026-06-04 13:34:35,169 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-04 13:34:35,170 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-70295883 failed! 2026-06-04 13:34:35,183 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 is 3.86.23.65 and allocation pool is NOT set 2026-06-04 13:34:39,261 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-06-04 13:34:39,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-70295883 failed! 2026-06-04 13:34:39,275 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94615552:ctest-vn-66606599 is 3.86.23.65 and allocation pool is NOT set 2026-06-04 13:34:43,356 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=10.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 10.289/10.289/10.289/0.000 ms') 2026-06-04 13:34:43,356 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-70295883 passed 2026-06-04 13:34:43,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:34:43,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94615552-70295883, IP 3.86.23.67, Port 22 2026-06-04 13:34:43,497 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 13:34:43,604 - DEBUG - VM ctest-TestBasicPolicy-94615552-70295883 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 13:34:48,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:34:48,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94615552-70295883, IP 3.86.23.67, Port 22 2026-06-04 13:34:48,679 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 13:34:48,776 - DEBUG - VM ctest-TestBasicPolicy-94615552-70295883 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 13:34:53,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:34:53,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94615552-70295883, IP 3.86.23.67, Port 22 2026-06-04 13:34:53,844 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 13:34:53,927 - DEBUG - VM ctest-TestBasicPolicy-94615552-70295883 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 13:34:58,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:34:58,928 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94615552-70295883, IP 3.86.23.67, Port 22 2026-06-04 13:34:58,996 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 13:34:59,099 - DEBUG - VM ctest-TestBasicPolicy-94615552-70295883 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 13:35:04,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:35:04,100 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94615552-70295883, IP 3.86.23.67, Port 22 2026-06-04 13:35:04,167 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 13:35:04,280 - DEBUG - VM ctest-TestBasicPolicy-94615552-70295883 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 13:35:09,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:35:09,281 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94615552-70295883, IP 3.86.23.67, Port 22 2026-06-04 13:35:09,461 - DEBUG - VM ctest-TestBasicPolicy-94615552-70295883 is ready for SSH connections 2026-06-04 13:35:09,461 - INFO - Waiting for VM ctest-TestBasicPolicy-94615552-66891107 to be up.. 2026-06-04 13:35:09,555 - DEBUG - VM is in ACTIVE state now 2026-06-04 13:35:09,555 - INFO - VM name : ctest-TestBasicPolicy-94615552-66891107 2026-06-04 13:35:09,655 - DEBUG - VM ctest-TestBasicPolicy-94615552-66891107 ID is 3f66bb7e-0bce-4774-b667-c7aa336b16d1 2026-06-04 13:35:09,655 - DEBUG - VM ctest-TestBasicPolicy-94615552-66891107 launched on Node an-jenkins-deploy-platform-ansible-os-5890-1 2026-06-04 13:35:09,749 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3f66bb7e-0bce-4774-b667-c7aa336b16d1 2026-06-04 13:35:09,763 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/955e55d9-0a73-4687-b944-54b1d96d6b16 2026-06-04 13:35:10,940 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.573 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.573/2.069/3.566/1.496 ms') 2026-06-04 13:35:10,940 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94615552-66891107 passed 2026-06-04 13:35:11,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:35:11,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94615552-66891107, IP 112.35.109.67, Port 22 2026-06-04 13:35:11,183 - DEBUG - VM ctest-TestBasicPolicy-94615552-66891107 is ready for SSH connections 2026-06-04 13:35:11,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:35:11,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.35.109.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-04 13:35:11,184 - DEBUG - ping -s 56 -c 3 -W 1 112.35.109.67 2026-06-04 13:35:34,760 - DEBUG - PING 112.35.109.67 (112.35.109.67) 56(84) bytes of data. 64 bytes from 112.35.109.67: icmp_req=1 ttl=63 time=10.8 ms 64 bytes from 112.35.109.67: icmp_req=2 ttl=63 time=1.69 ms 64 bytes from 112.35.109.67: icmp_req=3 ttl=63 time=1.36 ms --- 112.35.109.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.362/4.652/10.899/4.419 ms 2026-06-04 13:35:34,760 - INFO - Ping to IP 112.35.109.67 from VM ctest-TestBasicPolicy-94615552-70295883 passed 2026-06-04 13:35:34,981 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5ab5c3ad-245d-49ad-a957-15a75383fb52", "href": "http://10.0.0.249:8082/network-policy/5ab5c3ad-245d-49ad-a957-15a75383fb52"}} 2026-06-04 13:35:34,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:35:34,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.35.109.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-04 13:35:34,981 - DEBUG - ping -s 56 -c 3 -W 1 112.35.109.67 2026-06-04 13:35:39,014 - DEBUG - PING 112.35.109.67 (112.35.109.67) 56(84) bytes of data. --- 112.35.109.67 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms 2026-06-04 13:35:39,014 - WARNING - Ping to IP 112.35.109.67 from VM ctest-TestBasicPolicy-94615552-70295883 failed 2026-06-04 13:35:39,014 - INFO - Deleting VM ctest-TestBasicPolicy-94615552-66891107 2026-06-04 13:35:39,092 - INFO - Deleting VM ctest-TestBasicPolicy-94615552-70295883 2026-06-04 13:35:39,582 - INFO - Deleted policy ctest-policy-allow-all-23865831 2026-06-04 13:35:39,583 - INFO - Deleting VN ctest-vn-46622819 2026-06-04 13:35:39,637 - DEBUG - VN 60b51e83-58c9-421a-afc7-2fbd8bdd6e0b still in use: Unable to complete operation on network 60b51e83-58c9-421a-afc7-2fbd8bdd6e0b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8bb987ef-5c42-4332-b0fa-04cd0bd697da'] 2026-06-04 13:35:39,637 - WARNING - Deleting VN ctest-vn-46622819 failed..Will retry 2026-06-04 13:35:41,814 - DEBUG - Response for deleting network () 2026-06-04 13:35:41,814 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d95db6a-55ca-499a-9d4d-e093d0f8ff23 2026-06-04 13:35:41,821 - DEBUG - Response Code: 404 2026-06-04 13:35:41,822 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 13:35:41,843 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2a691fd0-1018-439d-b1ef-8ad832fd41d9 2026-06-04 13:35:41,863 - DEBUG - Requesting: http://10.0.0.38:8082/project/fe81c858-9bba-499b-a943-0cd73dd994e8 2026-06-04 13:35:41,982 - INFO - Validated that VN ctest-vn-46622819 is not found in API Server 2026-06-04 13:35:41,995 - DEBUG - VN ctest-vn-46622819 is not present in Agent 10.0.0.22 2026-06-04 13:35:42,012 - DEBUG - VN ctest-vn-46622819 is not present in Agent 10.0.0.19 2026-06-04 13:35:42,012 - INFO - Validated that VN ctest-vn-46622819 is not in any agent 2026-06-04 13:35:42,050 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46622819 info 2026-06-04 13:35:42,050 - INFO - Deleting VN ctest-vn-66606599 2026-06-04 13:35:42,259 - DEBUG - Response for deleting network () 2026-06-04 13:35:42,259 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9b50cf24-42d6-48e3-af5d-735880f13213 2026-06-04 13:35:42,273 - DEBUG - Response Code: 404 2026-06-04 13:35:42,274 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 13:35:42,290 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2a691fd0-1018-439d-b1ef-8ad832fd41d9 2026-06-04 13:35:42,314 - DEBUG - Requesting: http://10.0.0.38:8082/project/fe81c858-9bba-499b-a943-0cd73dd994e8 2026-06-04 13:35:42,424 - INFO - Validated that VN ctest-vn-66606599 is not found in API Server 2026-06-04 13:35:42,436 - DEBUG - VN ctest-vn-66606599 is not present in Agent 10.0.0.22 2026-06-04 13:35:42,448 - DEBUG - VN ctest-vn-66606599 is not present in Agent 10.0.0.19 2026-06-04 13:35:42,448 - INFO - Validated that VN ctest-vn-66606599 is not in any agent 2026-06-04 13:35:42,495 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66606599 info 2026-06-04 13:35:43,805 - DEBUG - No XMPP flaps were noticed during the test 2026-06-04 13:35:43,805 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:51] 2026-06-04 13:35:43,805 - INFO - -------------------------------------------------------------------------------- 2026-06-04 13:35:44,591 - INFO - Deleted project: ctest-TestBasicPolicy-94615552, ID : fe81c858-9bba-499b-a943-0cd73dd994e8