2026-09-22 15:18:02,534 - INFO - Domain Default found not creating 2026-09-22 15:18:02,732 - INFO - Project ctest-TestBasicPolicy-43562122 not found, creating it 2026-09-22 15:18:03,272 - INFO - Created Project:ctest-TestBasicPolicy-43562122, ID : 02e371c5-8595-4447-8d72-8cebfa03063e 2026-09-22 15:18:05,118 - INFO - ================================================================================ 2026-09-22 15:18:05,118 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-22 15:18:05,118 - 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-09-22 15:18:05,390 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-09-22 15:18:05,390 - INFO - Initial checks done. Running the testcase now 2026-09-22 15:18:05,390 - INFO - 2026-09-22 15:18:06,079 - DEBUG - Response for create_network : {'network': {'id': '65ecd02f-e4db-42f1-827b-83f255ecc8a7', 'name': 'ctest-vn-04945587', 'tenant_id': '02e371c5859544478d728cebfa03063e', 'project_id': '02e371c5859544478d728cebfa03063e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43562122', 'ctest-vn-04945587'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 15:18:06,303 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea815d76-86b3-42d1-a43f-3bbd0de8fd38', 'name': '', 'tenant_id': '02e371c5859544478d728cebfa03063e', 'network_id': '65ecd02f-e4db-42f1-827b-83f255ecc8a7', 'ip_version': 4, 'cidr': '141.234.72.64/26', 'allocation_pools': [{'start': '141.234.72.66', 'end': '141.234.72.126'}], 'gateway_ip': '141.234.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.234.72.66', 'tags': [], 'project_id': '02e371c5859544478d728cebfa03063e'}} 2026-09-22 15:18:06,322 - INFO - Created VN ctest-vn-04945587 2026-09-22 15:18:06,390 - DEBUG - VN ctest-vn-04945587 UUID is 65ecd02f-e4db-42f1-827b-83f255ecc8a7 2026-09-22 15:18:06,745 - DEBUG - Response for create_network : {'network': {'id': '40fa1ac3-e089-4c28-a000-8855dfdcd780', 'name': 'ctest-vn-53850817', 'tenant_id': '02e371c5859544478d728cebfa03063e', 'project_id': '02e371c5859544478d728cebfa03063e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43562122', 'ctest-vn-53850817'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 15:18:06,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '28b9303f-dcb2-4a56-b637-a7cfa0c01554', 'name': '', 'tenant_id': '02e371c5859544478d728cebfa03063e', 'network_id': '40fa1ac3-e089-4c28-a000-8855dfdcd780', 'ip_version': 4, 'cidr': '203.32.182.64/26', 'allocation_pools': [{'start': '203.32.182.66', 'end': '203.32.182.126'}], 'gateway_ip': '203.32.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.32.182.66', 'tags': [], 'project_id': '02e371c5859544478d728cebfa03063e'}} 2026-09-22 15:18:06,970 - INFO - Created VN ctest-vn-53850817 2026-09-22 15:18:07,026 - DEBUG - VN ctest-vn-53850817 UUID is 40fa1ac3-e089-4c28-a000-8855dfdcd780 2026-09-22 15:18:07,147 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-04945587, 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-43562122:ctest-vn-53850817, 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-09-22 15:18:07,492 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65ecd02f-e4db-42f1-827b-83f255ecc8a7', 'name': 'ctest-vn-04945587', 'tenant_id': '02e371c5859544478d728cebfa03063e', 'project_id': '02e371c5859544478d728cebfa03063e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ea815d76-86b3-42d1-a43f-3bbd0de8fd38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43562122', 'ctest-vn-04945587'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43562122', 'ctest-policy-allow-all-42082842']], 'subnet_ipam': [{'subnet_cidr': '141.234.72.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-22 15:18:07,747 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '40fa1ac3-e089-4c28-a000-8855dfdcd780', 'name': 'ctest-vn-53850817', 'tenant_id': '02e371c5859544478d728cebfa03063e', 'project_id': '02e371c5859544478d728cebfa03063e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['28b9303f-dcb2-4a56-b637-a7cfa0c01554'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43562122', 'ctest-vn-53850817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43562122', 'ctest-policy-allow-all-42082842']], 'subnet_ipam': [{'subnet_cidr': '203.32.182.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-22 15:18:07,910 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 15:18:08,277 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 15:18:08,308 - DEBUG - Requesting: http://10.0.0.161:8082/domain/2037e029-e468-4933-9de4-a12d53d923b0 2026-09-22 15:18:08,325 - DEBUG - Requesting: http://10.0.0.161:8082/project/02e371c5-8595-4447-8d72-8cebfa03063e 2026-09-22 15:18:08,403 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/65ecd02f-e4db-42f1-827b-83f255ecc8a7 2026-09-22 15:18:08,420 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/65ecd02f-e4db-42f1-827b-83f255ecc8a7 2026-09-22 15:18:08,432 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2fefdfb0-0c4b-46f8-8609-e20ada7af75b 2026-09-22 15:18:08,443 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2fefdfb0-0c4b-46f8-8609-e20ada7af75b 2026-09-22 15:18:08,451 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/8292dce0-1e0f-4aca-9460-d76021c71836 2026-09-22 15:18:08,459 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-22 15:18:08,459 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/65ecd02f-e4db-42f1-827b-83f255ecc8a7 2026-09-22 15:18:08,470 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2fefdfb0-0c4b-46f8-8609-e20ada7af75b 2026-09-22 15:18:08,487 - INFO - Verified VN network id 12 for VN 65ecd02f-e4db-42f1-827b-83f255ecc8a7 2026-09-22 15:18:08,487 - INFO - Verifications in API Server for VN ctest-vn-04945587 passed 2026-09-22 15:18:08,487 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/65ecd02f-e4db-42f1-827b-83f255ecc8a7 2026-09-22 15:18:08,498 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2fefdfb0-0c4b-46f8-8609-e20ada7af75b 2026-09-22 15:18:08,507 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2fefdfb0-0c4b-46f8-8609-e20ada7af75b 2026-09-22 15:18:08,516 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/8292dce0-1e0f-4aca-9460-d76021c71836 2026-09-22 15:18:08,531 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-04945587', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43562122', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7344473996456051441', 'uuid-lslong': '9402253723912947879'}, 'enable': 'true', 'created': '2026-09-22T15:18:06', 'last-modified': '2026-09-22T15:18:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.068354'} 2026-09-22 15:18:08,538 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-22 15:18:08,539 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04945587 passed 2026-09-22 15:18:08,539 - DEBUG - ====Verifying policy data for ctest-vn-04945587 in API_Server ====== 2026-09-22 15:18:08,539 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 15:18:08,545 - DEBUG - Requesting: http://10.0.0.161:8082/domain/2037e029-e468-4933-9de4-a12d53d923b0 2026-09-22 15:18:08,558 - DEBUG - Requesting: http://10.0.0.161:8082/project/02e371c5-8595-4447-8d72-8cebfa03063e 2026-09-22 15:18:08,652 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/65ecd02f-e4db-42f1-827b-83f255ecc8a7 2026-09-22 15:18:08,666 - DEBUG - ==>Verifying data for policy with id: bafeb605-2a84-4787-bb13-d6d7d67f0a58, fqn: ['default-domain', 'ctest-TestBasicPolicy-43562122', 'ctest-policy-allow-all-42082842'] 2026-09-22 15:18:08,666 - INFO - VN ctest-vn-04945587 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-22 15:18:08,666 - DEBUG - Verifying the vn in opserver 2026-09-22 15:18:08,666 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-04945587 virtual network link through opserver 10.0.0.161 2026-09-22 15:18:08,666 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-22 15:18:09,044 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-22 15:18:09,117 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-04945587', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-04945587?flat'} 2026-09-22 15:18:09,118 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-04945587 is found in opserver 2026-09-22 15:18:09,130 - DEBUG - Do not have enough data to verify VN in agent 2026-09-22 15:18:09,138 - DEBUG - VRF ids for VN ctest-vn-04945587: {} 2026-09-22 15:18:09,138 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 15:18:09,144 - DEBUG - Requesting: http://10.0.0.161:8082/domain/2037e029-e468-4933-9de4-a12d53d923b0 2026-09-22 15:18:09,157 - DEBUG - Requesting: http://10.0.0.161:8082/project/02e371c5-8595-4447-8d72-8cebfa03063e 2026-09-22 15:18:09,241 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/40fa1ac3-e089-4c28-a000-8855dfdcd780 2026-09-22 15:18:09,257 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/40fa1ac3-e089-4c28-a000-8855dfdcd780 2026-09-22 15:18:09,269 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d7ebc600-0aa3-4603-839d-77313499589b 2026-09-22 15:18:09,279 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d7ebc600-0aa3-4603-839d-77313499589b 2026-09-22 15:18:09,288 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4f695a1b-b04e-44e5-935a-f630b03469ca 2026-09-22 15:18:09,298 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-22 15:18:09,298 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/40fa1ac3-e089-4c28-a000-8855dfdcd780 2026-09-22 15:18:09,312 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d7ebc600-0aa3-4603-839d-77313499589b 2026-09-22 15:18:09,331 - INFO - Verified VN network id 13 for VN 40fa1ac3-e089-4c28-a000-8855dfdcd780 2026-09-22 15:18:09,331 - INFO - Verifications in API Server for VN ctest-vn-53850817 passed 2026-09-22 15:18:09,331 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/40fa1ac3-e089-4c28-a000-8855dfdcd780 2026-09-22 15:18:09,343 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d7ebc600-0aa3-4603-839d-77313499589b 2026-09-22 15:18:09,351 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d7ebc600-0aa3-4603-839d-77313499589b 2026-09-22 15:18:09,359 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4f695a1b-b04e-44e5-935a-f630b03469ca 2026-09-22 15:18:09,373 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-53850817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43562122', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4682084191193091112', 'uuid-lslong': '11529364948477859712'}, 'enable': 'true', 'created': '2026-09-22T15:18:06', 'last-modified': '2026-09-22T15:18:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.660147'} 2026-09-22 15:18:09,382 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-22 15:18:09,382 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53850817 passed 2026-09-22 15:18:09,382 - DEBUG - ====Verifying policy data for ctest-vn-53850817 in API_Server ====== 2026-09-22 15:18:09,382 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 15:18:09,388 - DEBUG - Requesting: http://10.0.0.161:8082/domain/2037e029-e468-4933-9de4-a12d53d923b0 2026-09-22 15:18:09,400 - DEBUG - Requesting: http://10.0.0.161:8082/project/02e371c5-8595-4447-8d72-8cebfa03063e 2026-09-22 15:18:09,483 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/40fa1ac3-e089-4c28-a000-8855dfdcd780 2026-09-22 15:18:09,494 - DEBUG - ==>Verifying data for policy with id: bafeb605-2a84-4787-bb13-d6d7d67f0a58, fqn: ['default-domain', 'ctest-TestBasicPolicy-43562122', 'ctest-policy-allow-all-42082842'] 2026-09-22 15:18:09,494 - INFO - VN ctest-vn-53850817 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-22 15:18:09,494 - DEBUG - Verifying the vn in opserver 2026-09-22 15:18:09,494 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-53850817 virtual network link through opserver 10.0.0.161 2026-09-22 15:18:09,494 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-22 15:18:09,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-53850817', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-53850817?flat'} 2026-09-22 15:18:09,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-53850817 is found in opserver 2026-09-22 15:18:09,518 - DEBUG - Do not have enough data to verify VN in agent 2026-09-22 15:18:09,523 - DEBUG - VRF ids for VN ctest-vn-53850817: {} 2026-09-22 15:18:09,591 - DEBUG - Services list from nova: [, , ] 2026-09-22 15:18:10,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6319-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6319-1) 2026-09-22 15:18:10,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6319-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6319-1) 2026-09-22 15:18:10,542 - INFO - Waiting for VM ctest-TestBasicPolicy-43562122-63559144 to be up.. 2026-09-22 15:18:10,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 15:18:15,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 15:18:20,773 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 15:18:25,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 15:18:30,961 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 15:18:36,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 15:18:41,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 15:18:46,232 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 15:18:51,338 - DEBUG - VM is in ACTIVE state now 2026-09-22 15:18:51,338 - INFO - VM name : ctest-TestBasicPolicy-43562122-63559144 2026-09-22 15:18:51,424 - DEBUG - VM ctest-TestBasicPolicy-43562122-63559144 ID is 385371f8-7ac1-47b5-83ce-410a23be5fe4 2026-09-22 15:18:51,450 - DEBUG - VM ctest-TestBasicPolicy-43562122-63559144 launched on Node cn-jenkins-deploy-platform-ansible-os-6319-1 2026-09-22 15:18:51,551 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/385371f8-7ac1-47b5-83ce-410a23be5fe4 2026-09-22 15:18:51,561 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/006a37c3-fd48-40e6-8da0-7c6a6936ab7b 2026-09-22 15:18:54,836 - 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 1019ms') 2026-09-22 15:18:54,836 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43562122-63559144 failed! 2026-09-22 15:18:54,898 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43562122:ctest-vn-04945587 is 141.234.72.65 and allocation pool is NOT set 2026-09-22 15:18:56,966 - 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=5.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.772 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.772/3.307/5.843/2.535 ms') 2026-09-22 15:18:56,966 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43562122-63559144 passed 2026-09-22 15:18:57,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 15:18:57,130 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43562122-63559144, IP 141.234.72.67, Port 22 2026-09-22 15:18:57,312 - DEBUG - VM ctest-TestBasicPolicy-43562122-63559144 is ready for SSH connections 2026-09-22 15:18:57,312 - INFO - Waiting for VM ctest-TestBasicPolicy-43562122-60803523 to be up.. 2026-09-22 15:18:57,404 - DEBUG - VM is in ACTIVE state now 2026-09-22 15:18:57,404 - INFO - VM name : ctest-TestBasicPolicy-43562122-60803523 2026-09-22 15:18:57,498 - DEBUG - VM ctest-TestBasicPolicy-43562122-60803523 ID is a5fe2a7b-d3c8-461c-9766-def08c03b975 2026-09-22 15:18:57,498 - DEBUG - VM ctest-TestBasicPolicy-43562122-60803523 launched on Node cn-jenkins-deploy-platform-ansible-os-6319-1 2026-09-22 15:18:57,586 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/a5fe2a7b-d3c8-461c-9766-def08c03b975 2026-09-22 15:18:57,597 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/3e3aa8d5-fcad-490f-a43f-47573d82f2aa 2026-09-22 15:19:00,888 - 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=2 ttl=63 time=5.84 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 5.837/5.837/5.837/0.000 ms') 2026-09-22 15:19:00,889 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43562122-60803523 passed 2026-09-22 15:19:01,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 15:19:01,042 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43562122-60803523, IP 203.32.182.67, Port 22 2026-09-22 15:19:01,213 - DEBUG - VM ctest-TestBasicPolicy-43562122-60803523 is ready for SSH connections 2026-09-22 15:19:01,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 15:19:01,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.32.182.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-22 15:19:01,214 - DEBUG - ping -s 56 -c 3 -W 1 203.32.182.67 2026-09-22 15:19:05,335 - DEBUG - PING 203.32.182.67 (203.32.182.67): 56 data bytes 64 bytes from 203.32.182.67: seq=0 ttl=63 time=5.192 ms 64 bytes from 203.32.182.67: seq=1 ttl=63 time=0.976 ms 64 bytes from 203.32.182.67: seq=2 ttl=63 time=1.200 ms --- 203.32.182.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/2.456/5.192 ms 2026-09-22 15:19:05,335 - INFO - Ping to IP 203.32.182.67 from VM ctest-TestBasicPolicy-43562122-63559144 passed 2026-09-22 15:19:05,530 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bafeb605-2a84-4787-bb13-d6d7d67f0a58", "href": "http://10.0.0.161:8082/network-policy/bafeb605-2a84-4787-bb13-d6d7d67f0a58"}} 2026-09-22 15:19:05,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 15:19:05,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.32.182.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-22 15:19:05,530 - DEBUG - ping -s 56 -c 3 -W 1 203.32.182.67 2026-09-22 15:19:08,693 - DEBUG - PING 203.32.182.67 (203.32.182.67): 56 data bytes 64 bytes from 203.32.182.67: seq=0 ttl=63 time=1.628 ms --- 203.32.182.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.628/1.628/1.628 ms 2026-09-22 15:19:08,693 - WARNING - Ping to IP 203.32.182.67 from VM ctest-TestBasicPolicy-43562122-63559144 failed 2026-09-22 15:19:08,693 - INFO - Deleting VM ctest-TestBasicPolicy-43562122-60803523 2026-09-22 15:19:08,788 - INFO - Deleting VM ctest-TestBasicPolicy-43562122-63559144 2026-09-22 15:19:09,227 - INFO - Deleted policy ctest-policy-allow-all-42082842 2026-09-22 15:19:09,227 - INFO - Deleting VN ctest-vn-53850817 2026-09-22 15:19:09,268 - DEBUG - VN 40fa1ac3-e089-4c28-a000-8855dfdcd780 still in use: Unable to complete operation on network 40fa1ac3-e089-4c28-a000-8855dfdcd780. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91917c07-757a-49d9-a4af-cb10cb3ce47d'] 2026-09-22 15:19:09,268 - WARNING - Deleting VN ctest-vn-53850817 failed..Will retry 2026-09-22 15:19:11,413 - DEBUG - Response for deleting network () 2026-09-22 15:19:11,413 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d7ebc600-0aa3-4603-839d-77313499589b 2026-09-22 15:19:11,419 - DEBUG - Response Code: 404 2026-09-22 15:19:11,419 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 15:19:11,425 - DEBUG - Requesting: http://10.0.0.161:8082/domain/2037e029-e468-4933-9de4-a12d53d923b0 2026-09-22 15:19:11,482 - DEBUG - Requesting: http://10.0.0.161:8082/project/02e371c5-8595-4447-8d72-8cebfa03063e 2026-09-22 15:19:11,562 - INFO - Validated that VN ctest-vn-53850817 is not found in API Server 2026-09-22 15:19:11,575 - DEBUG - VN ctest-vn-53850817 is not present in Agent 10.0.0.161 2026-09-22 15:19:11,575 - INFO - Validated that VN ctest-vn-53850817 is not in any agent 2026-09-22 15:19:11,593 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53850817 info 2026-09-22 15:19:11,593 - INFO - Deleting VN ctest-vn-04945587 2026-09-22 15:19:11,706 - DEBUG - Response for deleting network () 2026-09-22 15:19:11,707 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2fefdfb0-0c4b-46f8-8609-e20ada7af75b 2026-09-22 15:19:11,712 - DEBUG - Response Code: 404 2026-09-22 15:19:11,712 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-22 15:19:11,720 - DEBUG - Requesting: http://10.0.0.161:8082/domain/2037e029-e468-4933-9de4-a12d53d923b0 2026-09-22 15:19:11,776 - DEBUG - Requesting: http://10.0.0.161:8082/project/02e371c5-8595-4447-8d72-8cebfa03063e 2026-09-22 15:19:11,859 - INFO - Validated that VN ctest-vn-04945587 is not found in API Server 2026-09-22 15:19:11,872 - DEBUG - VN ctest-vn-04945587 is not present in Agent 10.0.0.161 2026-09-22 15:19:11,872 - INFO - Validated that VN ctest-vn-04945587 is not in any agent 2026-09-22 15:19:11,891 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04945587 info 2026-09-22 15:19:12,159 - DEBUG - No XMPP flaps were noticed during the test 2026-09-22 15:19:12,159 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07] 2026-09-22 15:19:12,159 - INFO - -------------------------------------------------------------------------------- 2026-09-22 15:19:12,952 - INFO - Deleted project: ctest-TestBasicPolicy-43562122, ID : 02e371c5-8595-4447-8d72-8cebfa03063e