2026-10-05 06:51:44,422 - INFO - Domain Default found not creating 2026-10-05 06:51:44,594 - INFO - Project ctest-TestBasicPolicy-83533472 not found, creating it 2026-10-05 06:51:45,042 - INFO - Created Project:ctest-TestBasicPolicy-83533472, ID : 875dc829-e927-43f7-abfe-40061277cfa7 2026-10-05 06:51:46,723 - INFO - ================================================================================ 2026-10-05 06:51:46,723 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-05 06:51:46,723 - 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-10-05 06:51:46,987 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.17': '0'}} with 2026-10-05 06:51:46,987 - INFO - Initial checks done. Running the testcase now 2026-10-05 06:51:46,987 - INFO - 2026-10-05 06:51:47,655 - DEBUG - Response for create_network : {'network': {'id': 'a30ad78f-1f5a-4086-bb15-1e50241984f1', 'name': 'ctest-vn-66788838', 'tenant_id': '875dc829e92743f7abfe40061277cfa7', 'project_id': '875dc829e92743f7abfe40061277cfa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83533472', 'ctest-vn-66788838'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 06:51:47,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8db5dd5-f38d-40ee-82ec-d37900a0db66', 'name': '', 'tenant_id': '875dc829e92743f7abfe40061277cfa7', 'network_id': 'a30ad78f-1f5a-4086-bb15-1e50241984f1', 'ip_version': 4, 'cidr': '118.244.159.192/26', 'allocation_pools': [{'start': '118.244.159.194', 'end': '118.244.159.254'}], 'gateway_ip': '118.244.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.244.159.194', 'tags': [], 'project_id': '875dc829e92743f7abfe40061277cfa7'}} 2026-10-05 06:51:47,856 - INFO - Created VN ctest-vn-66788838 2026-10-05 06:51:47,908 - DEBUG - VN ctest-vn-66788838 UUID is a30ad78f-1f5a-4086-bb15-1e50241984f1 2026-10-05 06:51:48,222 - DEBUG - Response for create_network : {'network': {'id': '1e98d66d-ce9f-404c-9ed0-947c09dfe40a', 'name': 'ctest-vn-61293800', 'tenant_id': '875dc829e92743f7abfe40061277cfa7', 'project_id': '875dc829e92743f7abfe40061277cfa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83533472', 'ctest-vn-61293800'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 06:51:48,426 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5333712-8923-44bb-8773-262cf831ef53', 'name': '', 'tenant_id': '875dc829e92743f7abfe40061277cfa7', 'network_id': '1e98d66d-ce9f-404c-9ed0-947c09dfe40a', 'ip_version': 4, 'cidr': '126.230.66.0/26', 'allocation_pools': [{'start': '126.230.66.2', 'end': '126.230.66.62'}], 'gateway_ip': '126.230.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.230.66.2', 'tags': [], 'project_id': '875dc829e92743f7abfe40061277cfa7'}} 2026-10-05 06:51:48,443 - INFO - Created VN ctest-vn-61293800 2026-10-05 06:51:48,496 - DEBUG - VN ctest-vn-61293800 UUID is 1e98d66d-ce9f-404c-9ed0-947c09dfe40a 2026-10-05 06:51:48,648 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-66788838, 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-83533472:ctest-vn-61293800, 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-10-05 06:51:48,961 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a30ad78f-1f5a-4086-bb15-1e50241984f1', 'name': 'ctest-vn-66788838', 'tenant_id': '875dc829e92743f7abfe40061277cfa7', 'project_id': '875dc829e92743f7abfe40061277cfa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b8db5dd5-f38d-40ee-82ec-d37900a0db66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83533472', 'ctest-vn-66788838'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83533472', 'ctest-policy-allow-all-07011515']], 'subnet_ipam': [{'subnet_cidr': '118.244.159.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 06:51:49,210 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e98d66d-ce9f-404c-9ed0-947c09dfe40a', 'name': 'ctest-vn-61293800', 'tenant_id': '875dc829e92743f7abfe40061277cfa7', 'project_id': '875dc829e92743f7abfe40061277cfa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d5333712-8923-44bb-8773-262cf831ef53'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83533472', 'ctest-vn-61293800'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83533472', 'ctest-policy-allow-all-07011515']], 'subnet_ipam': [{'subnet_cidr': '126.230.66.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 06:51:49,372 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-05 06:51:49,745 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-05 06:51:49,776 - DEBUG - Requesting: http://10.0.0.190:8082/domain/7716609d-3166-4a8f-8817-763640ea2885 2026-10-05 06:51:49,792 - DEBUG - Requesting: http://10.0.0.190:8082/project/875dc829-e927-43f7-abfe-40061277cfa7 2026-10-05 06:51:49,873 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a30ad78f-1f5a-4086-bb15-1e50241984f1 2026-10-05 06:51:49,888 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a30ad78f-1f5a-4086-bb15-1e50241984f1 2026-10-05 06:51:49,897 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ed0dd88-f993-4cb8-8771-40b676d62548 2026-10-05 06:51:49,905 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ed0dd88-f993-4cb8-8771-40b676d62548 2026-10-05 06:51:49,912 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a8cd6ff7-90fe-43f5-8041-5a29039884c5 2026-10-05 06:51:49,920 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 06:51:49,920 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a30ad78f-1f5a-4086-bb15-1e50241984f1 2026-10-05 06:51:49,932 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ed0dd88-f993-4cb8-8771-40b676d62548 2026-10-05 06:51:49,946 - INFO - Verified VN network id 11 for VN a30ad78f-1f5a-4086-bb15-1e50241984f1 2026-10-05 06:51:49,947 - INFO - Verifications in API Server for VN ctest-vn-66788838 passed 2026-10-05 06:51:49,947 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a30ad78f-1f5a-4086-bb15-1e50241984f1 2026-10-05 06:51:49,956 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ed0dd88-f993-4cb8-8771-40b676d62548 2026-10-05 06:51:49,965 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ed0dd88-f993-4cb8-8771-40b676d62548 2026-10-05 06:51:49,974 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a8cd6ff7-90fe-43f5-8041-5a29039884c5 2026-10-05 06:51:49,993 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-66788838', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83533472', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11748439587655663750', 'uuid-lslong': '13480714389155316977'}, 'enable': 'true', 'created': '2026-10-05T06:51:47', 'last-modified': '2026-10-05T06:51:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.052153'} 2026-10-05 06:51:50,005 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 06:51:50,005 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66788838 passed 2026-10-05 06:51:50,005 - DEBUG - ====Verifying policy data for ctest-vn-66788838 in API_Server ====== 2026-10-05 06:51:50,005 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-05 06:51:50,012 - DEBUG - Requesting: http://10.0.0.190:8082/domain/7716609d-3166-4a8f-8817-763640ea2885 2026-10-05 06:51:50,026 - DEBUG - Requesting: http://10.0.0.190:8082/project/875dc829-e927-43f7-abfe-40061277cfa7 2026-10-05 06:51:50,110 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/a30ad78f-1f5a-4086-bb15-1e50241984f1 2026-10-05 06:51:50,124 - DEBUG - ==>Verifying data for policy with id: a8b7834a-2657-473a-b9cc-952285d6af22, fqn: ['default-domain', 'ctest-TestBasicPolicy-83533472', 'ctest-policy-allow-all-07011515'] 2026-10-05 06:51:50,124 - INFO - VN ctest-vn-66788838 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 06:51:50,124 - DEBUG - Verifying the vn in opserver 2026-10-05 06:51:50,124 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-66788838 virtual network link through opserver 10.0.0.190 2026-10-05 06:51:50,125 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-05 06:51:50,520 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-05 06:51:50,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-66788838', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-66788838?flat'} 2026-10-05 06:51:50,586 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-66788838 is found in opserver 2026-10-05 06:51:50,601 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 06:51:50,606 - DEBUG - VRF ids for VN ctest-vn-66788838: {} 2026-10-05 06:51:50,606 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-05 06:51:50,612 - DEBUG - Requesting: http://10.0.0.190:8082/domain/7716609d-3166-4a8f-8817-763640ea2885 2026-10-05 06:51:50,624 - DEBUG - Requesting: http://10.0.0.190:8082/project/875dc829-e927-43f7-abfe-40061277cfa7 2026-10-05 06:51:50,707 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1e98d66d-ce9f-404c-9ed0-947c09dfe40a 2026-10-05 06:51:50,722 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1e98d66d-ce9f-404c-9ed0-947c09dfe40a 2026-10-05 06:51:50,733 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f2eff390-6656-4837-8326-f8420744937f 2026-10-05 06:51:50,740 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f2eff390-6656-4837-8326-f8420744937f 2026-10-05 06:51:50,747 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/9f1e24a4-f26a-4e0a-b9f3-37a78914b6bf 2026-10-05 06:51:50,754 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 06:51:50,754 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1e98d66d-ce9f-404c-9ed0-947c09dfe40a 2026-10-05 06:51:50,763 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f2eff390-6656-4837-8326-f8420744937f 2026-10-05 06:51:50,778 - INFO - Verified VN network id 12 for VN 1e98d66d-ce9f-404c-9ed0-947c09dfe40a 2026-10-05 06:51:50,778 - INFO - Verifications in API Server for VN ctest-vn-61293800 passed 2026-10-05 06:51:50,778 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1e98d66d-ce9f-404c-9ed0-947c09dfe40a 2026-10-05 06:51:50,788 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f2eff390-6656-4837-8326-f8420744937f 2026-10-05 06:51:50,795 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f2eff390-6656-4837-8326-f8420744937f 2026-10-05 06:51:50,802 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/9f1e24a4-f26a-4e0a-b9f3-37a78914b6bf 2026-10-05 06:51:50,819 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-61293800', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83533472', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2204747784704180300', 'uuid-lslong': '11443809913610953738'}, 'enable': 'true', 'created': '2026-10-05T06:51:48', 'last-modified': '2026-10-05T06:51:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.632147'} 2026-10-05 06:51:50,828 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 06:51:50,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61293800 passed 2026-10-05 06:51:50,829 - DEBUG - ====Verifying policy data for ctest-vn-61293800 in API_Server ====== 2026-10-05 06:51:50,830 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-05 06:51:50,836 - DEBUG - Requesting: http://10.0.0.190:8082/domain/7716609d-3166-4a8f-8817-763640ea2885 2026-10-05 06:51:50,849 - DEBUG - Requesting: http://10.0.0.190:8082/project/875dc829-e927-43f7-abfe-40061277cfa7 2026-10-05 06:51:50,931 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1e98d66d-ce9f-404c-9ed0-947c09dfe40a 2026-10-05 06:51:50,944 - DEBUG - ==>Verifying data for policy with id: a8b7834a-2657-473a-b9cc-952285d6af22, fqn: ['default-domain', 'ctest-TestBasicPolicy-83533472', 'ctest-policy-allow-all-07011515'] 2026-10-05 06:51:50,944 - INFO - VN ctest-vn-61293800 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 06:51:50,945 - DEBUG - Verifying the vn in opserver 2026-10-05 06:51:50,945 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-61293800 virtual network link through opserver 10.0.0.190 2026-10-05 06:51:50,945 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-05 06:51:50,958 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-61293800', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-61293800?flat'} 2026-10-05 06:51:50,958 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-61293800 is found in opserver 2026-10-05 06:51:50,970 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 06:51:50,976 - DEBUG - VRF ids for VN ctest-vn-61293800: {} 2026-10-05 06:51:51,040 - DEBUG - Services list from nova: [, , ] 2026-10-05 06:51:51,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6345-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6345-1) 2026-10-05 06:51:51,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6345-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6345-1) 2026-10-05 06:51:51,949 - INFO - Waiting for VM ctest-TestBasicPolicy-83533472-60354302 to be up.. 2026-10-05 06:51:51,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 06:51:57,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 06:52:02,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 06:52:07,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 06:52:12,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 06:52:17,386 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 06:52:22,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 06:52:27,552 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 06:52:32,624 - DEBUG - VM is in ACTIVE state now 2026-10-05 06:52:32,624 - INFO - VM name : ctest-TestBasicPolicy-83533472-60354302 2026-10-05 06:52:32,699 - DEBUG - VM ctest-TestBasicPolicy-83533472-60354302 ID is f63cc96f-912d-4d70-885e-b297e8f942d2 2026-10-05 06:52:32,719 - DEBUG - VM ctest-TestBasicPolicy-83533472-60354302 launched on Node cn-jenkins-deploy-platform-ansible-os-6345-1 2026-10-05 06:52:32,789 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/f63cc96f-912d-4d70-885e-b297e8f942d2 2026-10-05 06:52:32,799 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/a96c8854-e37d-42ed-b423-9015b8bc5a10 2026-10-05 06:52:36,054 - 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 1005ms') 2026-10-05 06:52:36,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83533472-60354302 failed! 2026-10-05 06:52:36,108 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83533472:ctest-vn-66788838 is 118.244.159.193 and allocation pool is NOT set 2026-10-05 06:52:38,166 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.536 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.536/1.946/3.357/1.410 ms') 2026-10-05 06:52:38,166 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83533472-60354302 passed 2026-10-05 06:52:38,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 06:52:38,316 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83533472-60354302, IP 118.244.159.195, Port 22 2026-10-05 06:52:38,482 - DEBUG - VM ctest-TestBasicPolicy-83533472-60354302 is ready for SSH connections 2026-10-05 06:52:38,482 - INFO - Waiting for VM ctest-TestBasicPolicy-83533472-78849243 to be up.. 2026-10-05 06:52:38,555 - DEBUG - VM is in ACTIVE state now 2026-10-05 06:52:38,556 - INFO - VM name : ctest-TestBasicPolicy-83533472-78849243 2026-10-05 06:52:38,627 - DEBUG - VM ctest-TestBasicPolicy-83533472-78849243 ID is a50c0ce3-1443-45c7-afe1-2e5a28aacfd4 2026-10-05 06:52:38,628 - DEBUG - VM ctest-TestBasicPolicy-83533472-78849243 launched on Node cn-jenkins-deploy-platform-ansible-os-6345-1 2026-10-05 06:52:38,699 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/a50c0ce3-1443-45c7-afe1-2e5a28aacfd4 2026-10-05 06:52:38,708 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/89c8bc05-9f86-4e22-a9fe-4e81434cb8a6 2026-10-05 06:52:39,947 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.607 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.607/2.453/4.299/1.846 ms') 2026-10-05 06:52:39,947 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83533472-78849243 passed 2026-10-05 06:52:40,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 06:52:40,096 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83533472-78849243, IP 126.230.66.3, Port 22 2026-10-05 06:52:40,251 - DEBUG - VM ctest-TestBasicPolicy-83533472-78849243 is ready for SSH connections 2026-10-05 06:52:40,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 06:52:40,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.230.66.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-05 06:52:40,251 - DEBUG - ping -s 56 -c 3 -W 1 126.230.66.3 2026-10-05 06:52:44,204 - DEBUG - PING 126.230.66.3 (126.230.66.3): 56 data bytes 64 bytes from 126.230.66.3: seq=0 ttl=63 time=4.001 ms 64 bytes from 126.230.66.3: seq=1 ttl=63 time=0.895 ms 64 bytes from 126.230.66.3: seq=2 ttl=63 time=0.947 ms --- 126.230.66.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/1.947/4.001 ms 2026-10-05 06:52:44,204 - INFO - Ping to IP 126.230.66.3 from VM ctest-TestBasicPolicy-83533472-60354302 passed 2026-10-05 06:52:44,380 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a8b7834a-2657-473a-b9cc-952285d6af22", "href": "http://10.0.0.190:8082/network-policy/a8b7834a-2657-473a-b9cc-952285d6af22"}} 2026-10-05 06:52:44,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 06:52:44,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.230.66.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-05 06:52:44,380 - DEBUG - ping -s 56 -c 3 -W 1 126.230.66.3 2026-10-05 06:52:47,496 - DEBUG - PING 126.230.66.3 (126.230.66.3): 56 data bytes 64 bytes from 126.230.66.3: seq=0 ttl=63 time=1.292 ms --- 126.230.66.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.292/1.292/1.292 ms 2026-10-05 06:52:47,496 - WARNING - Ping to IP 126.230.66.3 from VM ctest-TestBasicPolicy-83533472-60354302 failed 2026-10-05 06:52:47,496 - INFO - Deleting VM ctest-TestBasicPolicy-83533472-78849243 2026-10-05 06:52:47,575 - INFO - Deleting VM ctest-TestBasicPolicy-83533472-60354302 2026-10-05 06:52:47,919 - INFO - Deleted policy ctest-policy-allow-all-07011515 2026-10-05 06:52:47,920 - INFO - Deleting VN ctest-vn-61293800 2026-10-05 06:52:47,951 - DEBUG - VN 1e98d66d-ce9f-404c-9ed0-947c09dfe40a still in use: Unable to complete operation on network 1e98d66d-ce9f-404c-9ed0-947c09dfe40a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11c3dcd5-0c3f-4390-8122-3fef24775251'] 2026-10-05 06:52:47,951 - WARNING - Deleting VN ctest-vn-61293800 failed..Will retry 2026-10-05 06:52:50,060 - DEBUG - Response for deleting network () 2026-10-05 06:52:50,060 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f2eff390-6656-4837-8326-f8420744937f 2026-10-05 06:52:50,067 - DEBUG - Response Code: 404 2026-10-05 06:52:50,067 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-05 06:52:50,072 - DEBUG - Requesting: http://10.0.0.190:8082/domain/7716609d-3166-4a8f-8817-763640ea2885 2026-10-05 06:52:50,126 - DEBUG - Requesting: http://10.0.0.190:8082/project/875dc829-e927-43f7-abfe-40061277cfa7 2026-10-05 06:52:50,207 - INFO - Validated that VN ctest-vn-61293800 is not found in API Server 2026-10-05 06:52:50,219 - DEBUG - VN ctest-vn-61293800 is not present in Agent 10.0.0.190 2026-10-05 06:52:50,219 - INFO - Validated that VN ctest-vn-61293800 is not in any agent 2026-10-05 06:52:50,239 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61293800 info 2026-10-05 06:52:50,240 - INFO - Deleting VN ctest-vn-66788838 2026-10-05 06:52:50,390 - DEBUG - Response for deleting network () 2026-10-05 06:52:50,391 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ed0dd88-f993-4cb8-8771-40b676d62548 2026-10-05 06:52:50,402 - DEBUG - Response Code: 404 2026-10-05 06:52:50,402 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-05 06:52:50,408 - DEBUG - Requesting: http://10.0.0.190:8082/domain/7716609d-3166-4a8f-8817-763640ea2885 2026-10-05 06:52:50,465 - DEBUG - Requesting: http://10.0.0.190:8082/project/875dc829-e927-43f7-abfe-40061277cfa7 2026-10-05 06:52:50,548 - INFO - Validated that VN ctest-vn-66788838 is not found in API Server 2026-10-05 06:52:50,567 - DEBUG - VN ctest-vn-66788838 is not present in Agent 10.0.0.190 2026-10-05 06:52:50,567 - INFO - Validated that VN ctest-vn-66788838 is not in any agent 2026-10-05 06:52:50,590 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66788838 info 2026-10-05 06:52:50,859 - DEBUG - No XMPP flaps were noticed during the test
2026-10-05 06:52:50,859 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-10-05 06:52:50,860 - INFO - -------------------------------------------------------------------------------- 2026-10-05 06:52:51,646 - INFO - Deleted project: ctest-TestBasicPolicy-83533472, ID : 875dc829-e927-43f7-abfe-40061277cfa7