2026-08-20 13:33:02,836 - INFO - Domain Default found not creating 2026-08-20 13:33:03,020 - INFO - Project ctest-TestBasicPolicy-05059582 not found, creating it 2026-08-20 13:33:03,540 - INFO - Created Project:ctest-TestBasicPolicy-05059582, ID : 03158746-8682-48fa-8e92-87a7d93ed42b 2026-08-20 13:33:05,293 - INFO - ================================================================================ 2026-08-20 13:33:05,293 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-20 13:33:05,293 - 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-08-20 13:33:05,569 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.254': '0'}} with 2026-08-20 13:33:05,569 - INFO - Initial checks done. Running the testcase now 2026-08-20 13:33:05,569 - INFO - 2026-08-20 13:33:06,230 - DEBUG - Response for create_network : {'network': {'id': '5709b8ba-53c8-4551-8aec-48b4d66c9094', 'name': 'ctest-vn-63810476', 'tenant_id': '03158746868248fa8e9287a7d93ed42b', 'project_id': '03158746868248fa8e9287a7d93ed42b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05059582', 'ctest-vn-63810476'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:33:06,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dab00846-7b61-4f71-bcb4-94c004e53e10', 'name': '', 'tenant_id': '03158746868248fa8e9287a7d93ed42b', 'network_id': '5709b8ba-53c8-4551-8aec-48b4d66c9094', 'ip_version': 4, 'cidr': '122.219.89.0/26', 'allocation_pools': [{'start': '122.219.89.2', 'end': '122.219.89.62'}], 'gateway_ip': '122.219.89.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.219.89.2', 'tags': [], 'project_id': '03158746868248fa8e9287a7d93ed42b'}} 2026-08-20 13:33:06,428 - INFO - Created VN ctest-vn-63810476 2026-08-20 13:33:06,482 - DEBUG - VN ctest-vn-63810476 UUID is 5709b8ba-53c8-4551-8aec-48b4d66c9094 2026-08-20 13:33:06,798 - DEBUG - Response for create_network : {'network': {'id': '238a5b72-74ab-4bd9-b716-95edb1f32894', 'name': 'ctest-vn-50616834', 'tenant_id': '03158746868248fa8e9287a7d93ed42b', 'project_id': '03158746868248fa8e9287a7d93ed42b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05059582', 'ctest-vn-50616834'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:33:07,024 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f516b0a1-0c33-474c-a752-66902d36698a', 'name': '', 'tenant_id': '03158746868248fa8e9287a7d93ed42b', 'network_id': '238a5b72-74ab-4bd9-b716-95edb1f32894', 'ip_version': 4, 'cidr': '202.179.33.192/26', 'allocation_pools': [{'start': '202.179.33.194', 'end': '202.179.33.254'}], 'gateway_ip': '202.179.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.179.33.194', 'tags': [], 'project_id': '03158746868248fa8e9287a7d93ed42b'}} 2026-08-20 13:33:07,044 - INFO - Created VN ctest-vn-50616834 2026-08-20 13:33:07,098 - DEBUG - VN ctest-vn-50616834 UUID is 238a5b72-74ab-4bd9-b716-95edb1f32894 2026-08-20 13:33:07,209 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-63810476, 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-05059582:ctest-vn-50616834, 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-08-20 13:33:07,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5709b8ba-53c8-4551-8aec-48b4d66c9094', 'name': 'ctest-vn-63810476', 'tenant_id': '03158746868248fa8e9287a7d93ed42b', 'project_id': '03158746868248fa8e9287a7d93ed42b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dab00846-7b61-4f71-bcb4-94c004e53e10'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05059582', 'ctest-vn-63810476'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05059582', 'ctest-policy-allow-all-45198504']], 'subnet_ipam': [{'subnet_cidr': '122.219.89.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:33:07,769 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '238a5b72-74ab-4bd9-b716-95edb1f32894', 'name': 'ctest-vn-50616834', 'tenant_id': '03158746868248fa8e9287a7d93ed42b', 'project_id': '03158746868248fa8e9287a7d93ed42b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f516b0a1-0c33-474c-a752-66902d36698a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05059582', 'ctest-vn-50616834'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05059582', 'ctest-policy-allow-all-45198504']], 'subnet_ipam': [{'subnet_cidr': '202.179.33.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:33:07,958 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-20 13:33:08,328 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-20 13:33:08,362 - DEBUG - Requesting: http://10.0.0.190:8082/domain/1dc7306d-a491-4308-a5e6-4ea5aa32abb0 2026-08-20 13:33:08,377 - DEBUG - Requesting: http://10.0.0.190:8082/project/03158746-8682-48fa-8e92-87a7d93ed42b 2026-08-20 13:33:08,460 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/5709b8ba-53c8-4551-8aec-48b4d66c9094 2026-08-20 13:33:08,476 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/5709b8ba-53c8-4551-8aec-48b4d66c9094 2026-08-20 13:33:08,489 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/72fea741-63a7-489d-946b-61659d90489b 2026-08-20 13:33:08,500 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/72fea741-63a7-489d-946b-61659d90489b 2026-08-20 13:33:08,510 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a62b299e-8b3a-4729-993a-27f84afba3ad 2026-08-20 13:33:08,519 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 13:33:08,520 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/5709b8ba-53c8-4551-8aec-48b4d66c9094 2026-08-20 13:33:08,532 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/72fea741-63a7-489d-946b-61659d90489b 2026-08-20 13:33:08,553 - INFO - Verified VN network id 11 for VN 5709b8ba-53c8-4551-8aec-48b4d66c9094 2026-08-20 13:33:08,553 - INFO - Verifications in API Server for VN ctest-vn-63810476 passed 2026-08-20 13:33:08,553 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/5709b8ba-53c8-4551-8aec-48b4d66c9094 2026-08-20 13:33:08,566 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/72fea741-63a7-489d-946b-61659d90489b 2026-08-20 13:33:08,575 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/72fea741-63a7-489d-946b-61659d90489b 2026-08-20 13:33:08,584 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a62b299e-8b3a-4729-993a-27f84afba3ad 2026-08-20 13:33:08,598 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-63810476', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05059582', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6271747066499188049', 'uuid-lslong': '10010456013266522260'}, 'enable': 'true', 'created': '2026-08-20T13:33:06', 'last-modified': '2026-08-20T13:33:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.103495'} 2026-08-20 13:33:08,607 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 13:33:08,607 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63810476 passed 2026-08-20 13:33:08,607 - DEBUG - ====Verifying policy data for ctest-vn-63810476 in API_Server ====== 2026-08-20 13:33:08,607 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-20 13:33:08,614 - DEBUG - Requesting: http://10.0.0.190:8082/domain/1dc7306d-a491-4308-a5e6-4ea5aa32abb0 2026-08-20 13:33:08,627 - DEBUG - Requesting: http://10.0.0.190:8082/project/03158746-8682-48fa-8e92-87a7d93ed42b 2026-08-20 13:33:08,709 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/5709b8ba-53c8-4551-8aec-48b4d66c9094 2026-08-20 13:33:08,724 - DEBUG - ==>Verifying data for policy with id: 96c36719-6c3e-406f-8128-9948168401e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-05059582', 'ctest-policy-allow-all-45198504'] 2026-08-20 13:33:08,724 - INFO - VN ctest-vn-63810476 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 13:33:08,724 - DEBUG - Verifying the vn in opserver 2026-08-20 13:33:08,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-63810476 virtual network link through opserver 10.0.0.190 2026-08-20 13:33:08,724 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-08-20 13:33:09,097 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-08-20 13:33:09,160 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-63810476', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-63810476?flat'} 2026-08-20 13:33:09,161 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-63810476 is found in opserver 2026-08-20 13:33:09,172 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 13:33:09,179 - DEBUG - VRF ids for VN ctest-vn-63810476: {} 2026-08-20 13:33:09,179 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-20 13:33:09,186 - DEBUG - Requesting: http://10.0.0.190:8082/domain/1dc7306d-a491-4308-a5e6-4ea5aa32abb0 2026-08-20 13:33:09,198 - DEBUG - Requesting: http://10.0.0.190:8082/project/03158746-8682-48fa-8e92-87a7d93ed42b 2026-08-20 13:33:09,283 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/238a5b72-74ab-4bd9-b716-95edb1f32894 2026-08-20 13:33:09,297 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/238a5b72-74ab-4bd9-b716-95edb1f32894 2026-08-20 13:33:09,307 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/75f0a853-03f0-4c93-a45e-35d70dc6d846 2026-08-20 13:33:09,314 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/75f0a853-03f0-4c93-a45e-35d70dc6d846 2026-08-20 13:33:09,322 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/9a63e534-13a8-4f8d-8c73-5abd8b88ec62 2026-08-20 13:33:09,329 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 13:33:09,329 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/238a5b72-74ab-4bd9-b716-95edb1f32894 2026-08-20 13:33:09,340 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/75f0a853-03f0-4c93-a45e-35d70dc6d846 2026-08-20 13:33:09,357 - INFO - Verified VN network id 12 for VN 238a5b72-74ab-4bd9-b716-95edb1f32894 2026-08-20 13:33:09,357 - INFO - Verifications in API Server for VN ctest-vn-50616834 passed 2026-08-20 13:33:09,358 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/238a5b72-74ab-4bd9-b716-95edb1f32894 2026-08-20 13:33:09,370 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/75f0a853-03f0-4c93-a45e-35d70dc6d846 2026-08-20 13:33:09,378 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/75f0a853-03f0-4c93-a45e-35d70dc6d846 2026-08-20 13:33:09,386 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/9a63e534-13a8-4f8d-8c73-5abd8b88ec62 2026-08-20 13:33:09,401 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-50616834', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05059582', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2560959885255330777', 'uuid-lslong': '13192897006553737364'}, 'enable': 'true', 'created': '2026-08-20T13:33:06', 'last-modified': '2026-08-20T13:33:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.659129'} 2026-08-20 13:33:09,411 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 13:33:09,411 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50616834 passed 2026-08-20 13:33:09,412 - DEBUG - ====Verifying policy data for ctest-vn-50616834 in API_Server ====== 2026-08-20 13:33:09,412 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-20 13:33:09,419 - DEBUG - Requesting: http://10.0.0.190:8082/domain/1dc7306d-a491-4308-a5e6-4ea5aa32abb0 2026-08-20 13:33:09,432 - DEBUG - Requesting: http://10.0.0.190:8082/project/03158746-8682-48fa-8e92-87a7d93ed42b 2026-08-20 13:33:09,511 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/238a5b72-74ab-4bd9-b716-95edb1f32894 2026-08-20 13:33:09,524 - DEBUG - ==>Verifying data for policy with id: 96c36719-6c3e-406f-8128-9948168401e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-05059582', 'ctest-policy-allow-all-45198504'] 2026-08-20 13:33:09,524 - INFO - VN ctest-vn-50616834 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 13:33:09,524 - DEBUG - Verifying the vn in opserver 2026-08-20 13:33:09,524 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-50616834 virtual network link through opserver 10.0.0.190 2026-08-20 13:33:09,524 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-08-20 13:33:09,536 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-50616834', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-50616834?flat'} 2026-08-20 13:33:09,536 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-50616834 is found in opserver 2026-08-20 13:33:09,548 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 13:33:09,553 - DEBUG - VRF ids for VN ctest-vn-50616834: {} 2026-08-20 13:33:09,617 - DEBUG - Services list from nova: [, , ] 2026-08-20 13:33:10,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6188-1) 2026-08-20 13:33:10,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6188-1) 2026-08-20 13:33:10,473 - INFO - Waiting for VM ctest-TestBasicPolicy-05059582-26014888 to be up.. 2026-08-20 13:33:10,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:33:15,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:33:20,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:33:25,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:33:30,885 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:33:35,973 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:33:41,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:33:46,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:33:51,252 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:33:51,252 - INFO - VM name : ctest-TestBasicPolicy-05059582-26014888 2026-08-20 13:33:51,343 - DEBUG - VM ctest-TestBasicPolicy-05059582-26014888 ID is 199b20fe-944c-4fce-a5c9-6a1fed305089 2026-08-20 13:33:51,368 - DEBUG - VM ctest-TestBasicPolicy-05059582-26014888 launched on Node cn-jenkins-deploy-platform-ansible-os-6188-1 2026-08-20 13:33:51,460 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/199b20fe-944c-4fce-a5c9-6a1fed305089 2026-08-20 13:33:51,477 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/41114f88-dcef-4bdc-9a9e-ed79cda48140 2026-08-20 13:33:54,761 - 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 1029ms') 2026-08-20 13:33:54,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05059582-26014888 failed! 2026-08-20 13:33:54,818 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05059582:ctest-vn-63810476 is 122.219.89.1 and allocation pool is NOT set 2026-08-20 13:33:56,889 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.376/3.596/5.817/2.220 ms') 2026-08-20 13:33:56,890 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05059582-26014888 passed 2026-08-20 13:33:57,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:33:57,050 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05059582-26014888, IP 122.219.89.3, Port 22 2026-08-20 13:33:57,220 - DEBUG - VM ctest-TestBasicPolicy-05059582-26014888 is ready for SSH connections 2026-08-20 13:33:57,221 - INFO - Waiting for VM ctest-TestBasicPolicy-05059582-35526260 to be up.. 2026-08-20 13:33:57,305 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:33:57,305 - INFO - VM name : ctest-TestBasicPolicy-05059582-35526260 2026-08-20 13:33:57,406 - DEBUG - VM ctest-TestBasicPolicy-05059582-35526260 ID is 696c46bb-e83a-486f-a533-d2e75d7570a2 2026-08-20 13:33:57,406 - DEBUG - VM ctest-TestBasicPolicy-05059582-35526260 launched on Node cn-jenkins-deploy-platform-ansible-os-6188-1 2026-08-20 13:33:57,499 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/696c46bb-e83a-486f-a533-d2e75d7570a2 2026-08-20 13:33:57,509 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/f2b9bbb0-2201-494e-9cc8-640037f72a2c 2026-08-20 13:34:00,785 - 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=4.70 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 4.696/4.696/4.696/0.000 ms') 2026-08-20 13:34:00,785 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05059582-35526260 passed 2026-08-20 13:34:00,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:34:00,942 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05059582-35526260, IP 202.179.33.195, Port 22 2026-08-20 13:34:01,116 - DEBUG - VM ctest-TestBasicPolicy-05059582-35526260 is ready for SSH connections 2026-08-20 13:34:01,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:34:01,117 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.179.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-08-20 13:34:01,117 - DEBUG - ping -s 56 -c 3 -W 1 202.179.33.195 2026-08-20 13:34:05,130 - DEBUG - PING 202.179.33.195 (202.179.33.195): 56 data bytes 64 bytes from 202.179.33.195: seq=0 ttl=63 time=5.027 ms 64 bytes from 202.179.33.195: seq=1 ttl=63 time=1.688 ms 64 bytes from 202.179.33.195: seq=2 ttl=63 time=1.264 ms --- 202.179.33.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.264/2.659/5.027 ms 2026-08-20 13:34:05,130 - INFO - Ping to IP 202.179.33.195 from VM ctest-TestBasicPolicy-05059582-26014888 passed 2026-08-20 13:34:05,334 - DEBUG - Policy Update Response {"network-policy": {"uuid": "96c36719-6c3e-406f-8128-9948168401e2", "href": "http://10.0.0.190:8082/network-policy/96c36719-6c3e-406f-8128-9948168401e2"}} 2026-08-20 13:34:05,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:34:05,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.179.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-08-20 13:34:05,334 - DEBUG - ping -s 56 -c 3 -W 1 202.179.33.195 2026-08-20 13:34:08,482 - DEBUG - PING 202.179.33.195 (202.179.33.195): 56 data bytes 64 bytes from 202.179.33.195: seq=0 ttl=63 time=3.161 ms --- 202.179.33.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.161/3.161/3.161 ms 2026-08-20 13:34:08,483 - WARNING - Ping to IP 202.179.33.195 from VM ctest-TestBasicPolicy-05059582-26014888 failed 2026-08-20 13:34:08,483 - INFO - Deleting VM ctest-TestBasicPolicy-05059582-35526260 2026-08-20 13:34:08,570 - INFO - Deleting VM ctest-TestBasicPolicy-05059582-26014888 2026-08-20 13:34:08,996 - INFO - Deleted policy ctest-policy-allow-all-45198504 2026-08-20 13:34:08,996 - INFO - Deleting VN ctest-vn-50616834 2026-08-20 13:34:09,033 - DEBUG - VN 238a5b72-74ab-4bd9-b716-95edb1f32894 still in use: Unable to complete operation on network 238a5b72-74ab-4bd9-b716-95edb1f32894. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1a30c917-fea5-459c-b2d5-88aa4ef50f92'] 2026-08-20 13:34:09,034 - WARNING - Deleting VN ctest-vn-50616834 failed..Will retry 2026-08-20 13:34:11,163 - DEBUG - Response for deleting network () 2026-08-20 13:34:11,163 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/75f0a853-03f0-4c93-a45e-35d70dc6d846 2026-08-20 13:34:11,170 - DEBUG - Response Code: 404 2026-08-20 13:34:11,170 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-20 13:34:11,177 - DEBUG - Requesting: http://10.0.0.190:8082/domain/1dc7306d-a491-4308-a5e6-4ea5aa32abb0 2026-08-20 13:34:11,238 - DEBUG - Requesting: http://10.0.0.190:8082/project/03158746-8682-48fa-8e92-87a7d93ed42b 2026-08-20 13:34:11,312 - INFO - Validated that VN ctest-vn-50616834 is not found in API Server 2026-08-20 13:34:11,327 - DEBUG - VN ctest-vn-50616834 is not present in Agent 10.0.0.190 2026-08-20 13:34:11,327 - INFO - Validated that VN ctest-vn-50616834 is not in any agent 2026-08-20 13:34:11,345 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50616834 info 2026-08-20 13:34:11,345 - INFO - Deleting VN ctest-vn-63810476 2026-08-20 13:34:11,475 - DEBUG - Response for deleting network () 2026-08-20 13:34:11,475 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/72fea741-63a7-489d-946b-61659d90489b 2026-08-20 13:34:11,483 - DEBUG - Response Code: 404 2026-08-20 13:34:11,483 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-20 13:34:11,493 - DEBUG - Requesting: http://10.0.0.190:8082/domain/1dc7306d-a491-4308-a5e6-4ea5aa32abb0 2026-08-20 13:34:11,548 - DEBUG - Requesting: http://10.0.0.190:8082/project/03158746-8682-48fa-8e92-87a7d93ed42b 2026-08-20 13:34:11,624 - INFO - Validated that VN ctest-vn-63810476 is not found in API Server 2026-08-20 13:34:11,637 - DEBUG - VN ctest-vn-63810476 is not present in Agent 10.0.0.190 2026-08-20 13:34:11,637 - INFO - Validated that VN ctest-vn-63810476 is not in any agent 2026-08-20 13:34:11,661 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63810476 info 2026-08-20 13:34:11,931 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 13:34:11,931 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-08-20 13:34:11,932 - INFO - -------------------------------------------------------------------------------- 2026-08-20 13:34:12,745 - INFO - Deleted project: ctest-TestBasicPolicy-05059582, ID : 03158746-8682-48fa-8e92-87a7d93ed42b