2026-07-19 18:48:06,071 - INFO - Domain Default found not creating 2026-07-19 18:48:06,214 - INFO - Project ctest-TestBasicPolicy-21454608 not found, creating it 2026-07-19 18:48:06,669 - INFO - Created Project:ctest-TestBasicPolicy-21454608, ID : 6f17d39e-4a79-4ef4-90c5-1da0885c5475 2026-07-19 18:48:08,116 - INFO - ================================================================================ 2026-07-19 18:48:08,116 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-19 18:48:08,116 - 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-07-19 18:48:08,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-19 18:48:08,370 - INFO - Initial checks done. Running the testcase now 2026-07-19 18:48:08,370 - INFO - 2026-07-19 18:48:08,941 - DEBUG - Response for create_network : {'network': {'id': '6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03', 'name': 'ctest-vn-19372583', 'tenant_id': '6f17d39e4a794ef490c51da0885c5475', 'project_id': '6f17d39e4a794ef490c51da0885c5475', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21454608', 'ctest-vn-19372583'], 'port_security_enabled': True, 'description': ''}} 2026-07-19 18:48:09,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '033ddb5f-f26c-496c-b3a0-6ad5689f05c1', 'name': '', 'tenant_id': '6f17d39e4a794ef490c51da0885c5475', 'network_id': '6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03', 'ip_version': 4, 'cidr': '100.242.15.64/26', 'allocation_pools': [{'start': '100.242.15.66', 'end': '100.242.15.126'}], 'gateway_ip': '100.242.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.242.15.66', 'tags': [], 'project_id': '6f17d39e4a794ef490c51da0885c5475'}} 2026-07-19 18:48:09,138 - INFO - Created VN ctest-vn-19372583 2026-07-19 18:48:09,191 - DEBUG - VN ctest-vn-19372583 UUID is 6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03 2026-07-19 18:48:09,492 - DEBUG - Response for create_network : {'network': {'id': '2afe862d-db3c-4bff-832e-990cb5e47ceb', 'name': 'ctest-vn-35954609', 'tenant_id': '6f17d39e4a794ef490c51da0885c5475', 'project_id': '6f17d39e4a794ef490c51da0885c5475', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21454608', 'ctest-vn-35954609'], 'port_security_enabled': True, 'description': ''}} 2026-07-19 18:48:09,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a436074-a39d-4ed4-99d8-a619786a7cef', 'name': '', 'tenant_id': '6f17d39e4a794ef490c51da0885c5475', 'network_id': '2afe862d-db3c-4bff-832e-990cb5e47ceb', 'ip_version': 4, 'cidr': '142.121.28.128/26', 'allocation_pools': [{'start': '142.121.28.130', 'end': '142.121.28.190'}], 'gateway_ip': '142.121.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.121.28.130', 'tags': [], 'project_id': '6f17d39e4a794ef490c51da0885c5475'}} 2026-07-19 18:48:09,727 - INFO - Created VN ctest-vn-35954609 2026-07-19 18:48:09,783 - DEBUG - VN ctest-vn-35954609 UUID is 2afe862d-db3c-4bff-832e-990cb5e47ceb 2026-07-19 18:48:09,939 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-19372583, 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-21454608:ctest-vn-35954609, 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-07-19 18:48:10,264 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03', 'name': 'ctest-vn-19372583', 'tenant_id': '6f17d39e4a794ef490c51da0885c5475', 'project_id': '6f17d39e4a794ef490c51da0885c5475', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['033ddb5f-f26c-496c-b3a0-6ad5689f05c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21454608', 'ctest-vn-19372583'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21454608', 'ctest-policy-allow-all-53677606']], 'subnet_ipam': [{'subnet_cidr': '100.242.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-19 18:48:10,457 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2afe862d-db3c-4bff-832e-990cb5e47ceb', 'name': 'ctest-vn-35954609', 'tenant_id': '6f17d39e4a794ef490c51da0885c5475', 'project_id': '6f17d39e4a794ef490c51da0885c5475', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a436074-a39d-4ed4-99d8-a619786a7cef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21454608', 'ctest-vn-35954609'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21454608', 'ctest-policy-allow-all-53677606']], 'subnet_ipam': [{'subnet_cidr': '142.121.28.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-19 18:48:10,623 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-19 18:48:10,946 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-19 18:48:10,975 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cd6870a3-4b4e-44b2-965d-af89c0e7bb93 2026-07-19 18:48:10,988 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f17d39e-4a79-4ef4-90c5-1da0885c5475 2026-07-19 18:48:11,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03 2026-07-19 18:48:11,082 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03 2026-07-19 18:48:11,092 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/136b303f-a946-471f-ac4b-48bb23132957 2026-07-19 18:48:11,101 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/136b303f-a946-471f-ac4b-48bb23132957 2026-07-19 18:48:11,109 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b08b914b-b240-4d80-a54d-f5ffef97b2a8 2026-07-19 18:48:11,118 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-19 18:48:11,118 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03 2026-07-19 18:48:11,130 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/136b303f-a946-471f-ac4b-48bb23132957 2026-07-19 18:48:11,148 - INFO - Verified VN network id 10 for VN 6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03 2026-07-19 18:48:11,148 - INFO - Verifications in API Server for VN ctest-vn-19372583 passed 2026-07-19 18:48:11,149 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03 2026-07-19 18:48:11,157 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/136b303f-a946-471f-ac4b-48bb23132957 2026-07-19 18:48:11,167 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/136b303f-a946-471f-ac4b-48bb23132957 2026-07-19 18:48:11,174 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b08b914b-b240-4d80-a54d-f5ffef97b2a8 2026-07-19 18:48:11,189 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-19372583', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21454608', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7878525880970791779', 'uuid-lslong': '9966900966149390083'}, 'enable': 'true', 'created': '2026-07-19T18:48:08', 'last-modified': '2026-07-19T18:48:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946062'} 2026-07-19 18:48:11,195 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-19 18:48:11,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19372583 passed 2026-07-19 18:48:11,195 - DEBUG - ====Verifying policy data for ctest-vn-19372583 in API_Server ====== 2026-07-19 18:48:11,195 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-19 18:48:11,201 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cd6870a3-4b4e-44b2-965d-af89c0e7bb93 2026-07-19 18:48:11,213 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f17d39e-4a79-4ef4-90c5-1da0885c5475 2026-07-19 18:48:11,285 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6d56258b-e8fc-4b63-8a51-8b9f2ed4ff03 2026-07-19 18:48:11,294 - DEBUG - ==>Verifying data for policy with id: e71635ac-928f-4618-8673-1a028fb50a84, fqn: ['default-domain', 'ctest-TestBasicPolicy-21454608', 'ctest-policy-allow-all-53677606'] 2026-07-19 18:48:11,294 - INFO - VN ctest-vn-19372583 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-19 18:48:11,295 - DEBUG - Verifying the vn in opserver 2026-07-19 18:48:11,295 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-19372583 virtual network link through opserver 10.0.0.50 2026-07-19 18:48:11,295 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-19 18:48:11,615 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-19 18:48:11,671 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-19372583', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-19372583?flat'} 2026-07-19 18:48:11,671 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-19372583 is found in opserver 2026-07-19 18:48:11,681 - DEBUG - Do not have enough data to verify VN in agent 2026-07-19 18:48:11,685 - DEBUG - VRF ids for VN ctest-vn-19372583: {} 2026-07-19 18:48:11,685 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-19 18:48:11,691 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cd6870a3-4b4e-44b2-965d-af89c0e7bb93 2026-07-19 18:48:11,701 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f17d39e-4a79-4ef4-90c5-1da0885c5475 2026-07-19 18:48:11,769 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2afe862d-db3c-4bff-832e-990cb5e47ceb 2026-07-19 18:48:11,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2afe862d-db3c-4bff-832e-990cb5e47ceb 2026-07-19 18:48:11,790 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20629cd3-ce96-4189-aee4-247a49c79b9a 2026-07-19 18:48:11,798 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20629cd3-ce96-4189-aee4-247a49c79b9a 2026-07-19 18:48:11,805 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/76d29fac-0c61-47bb-a717-eb1c6841e472 2026-07-19 18:48:11,813 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-19 18:48:11,813 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2afe862d-db3c-4bff-832e-990cb5e47ceb 2026-07-19 18:48:11,824 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20629cd3-ce96-4189-aee4-247a49c79b9a 2026-07-19 18:48:11,840 - INFO - Verified VN network id 11 for VN 2afe862d-db3c-4bff-832e-990cb5e47ceb 2026-07-19 18:48:11,840 - INFO - Verifications in API Server for VN ctest-vn-35954609 passed 2026-07-19 18:48:11,840 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2afe862d-db3c-4bff-832e-990cb5e47ceb 2026-07-19 18:48:11,850 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20629cd3-ce96-4189-aee4-247a49c79b9a 2026-07-19 18:48:11,857 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20629cd3-ce96-4189-aee4-247a49c79b9a 2026-07-19 18:48:11,865 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/76d29fac-0c61-47bb-a717-eb1c6841e472 2026-07-19 18:48:11,876 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-35954609', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21454608', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3098061125187292159', 'uuid-lslong': '9452660947767557355'}, 'enable': 'true', 'created': '2026-07-19T18:48:09', 'last-modified': '2026-07-19T18:48:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.449605'} 2026-07-19 18:48:11,883 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-19 18:48:11,883 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35954609 passed 2026-07-19 18:48:11,883 - DEBUG - ====Verifying policy data for ctest-vn-35954609 in API_Server ====== 2026-07-19 18:48:11,883 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-19 18:48:11,889 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cd6870a3-4b4e-44b2-965d-af89c0e7bb93 2026-07-19 18:48:11,900 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f17d39e-4a79-4ef4-90c5-1da0885c5475 2026-07-19 18:48:11,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2afe862d-db3c-4bff-832e-990cb5e47ceb 2026-07-19 18:48:11,983 - DEBUG - ==>Verifying data for policy with id: e71635ac-928f-4618-8673-1a028fb50a84, fqn: ['default-domain', 'ctest-TestBasicPolicy-21454608', 'ctest-policy-allow-all-53677606'] 2026-07-19 18:48:11,984 - INFO - VN ctest-vn-35954609 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-19 18:48:11,984 - DEBUG - Verifying the vn in opserver 2026-07-19 18:48:11,984 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-35954609 virtual network link through opserver 10.0.0.50 2026-07-19 18:48:11,984 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-19 18:48:11,994 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-35954609', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-35954609?flat'} 2026-07-19 18:48:11,994 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-35954609 is found in opserver 2026-07-19 18:48:12,003 - DEBUG - Do not have enough data to verify VN in agent 2026-07-19 18:48:12,007 - DEBUG - VRF ids for VN ctest-vn-35954609: {} 2026-07-19 18:48:12,064 - DEBUG - Services list from nova: [, , ] 2026-07-19 18:48:12,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6109-1) 2026-07-19 18:48:12,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6109-1) 2026-07-19 18:48:12,874 - INFO - Waiting for VM ctest-TestBasicPolicy-21454608-40162646 to be up.. 2026-07-19 18:48:12,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:48:17,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:48:23,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:48:28,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:48:33,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:48:38,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:48:43,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-19 18:48:48,442 - DEBUG - VM is in ACTIVE state now 2026-07-19 18:48:48,442 - INFO - VM name : ctest-TestBasicPolicy-21454608-40162646 2026-07-19 18:48:48,513 - DEBUG - VM ctest-TestBasicPolicy-21454608-40162646 ID is b21dab5d-4505-45b6-9fda-5da357c745d1 2026-07-19 18:48:48,534 - DEBUG - VM ctest-TestBasicPolicy-21454608-40162646 launched on Node cn-jenkins-deploy-platform-ansible-os-6109-1 2026-07-19 18:48:48,607 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b21dab5d-4505-45b6-9fda-5da357c745d1 2026-07-19 18:48:48,615 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7b8e92ca-8633-49bc-88d2-363585a5ad53 2026-07-19 18:48:51,890 - 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 1027ms') 2026-07-19 18:48:51,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21454608-40162646 failed! 2026-07-19 18:48:51,947 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-19372583 is 100.242.15.65 and allocation pool is NOT set 2026-07-19 18:48:54,015 - 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=11.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.728 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.728/6.296/11.864/5.568 ms') 2026-07-19 18:48:54,015 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21454608-40162646 passed 2026-07-19 18:48:54,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-19 18:48:54,168 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21454608-40162646, IP 100.242.15.67, Port 22 2026-07-19 18:48:54,338 - DEBUG - VM ctest-TestBasicPolicy-21454608-40162646 is ready for SSH connections 2026-07-19 18:48:54,339 - INFO - Waiting for VM ctest-TestBasicPolicy-21454608-13121977 to be up.. 2026-07-19 18:48:54,420 - DEBUG - VM is in ACTIVE state now 2026-07-19 18:48:54,420 - INFO - VM name : ctest-TestBasicPolicy-21454608-13121977 2026-07-19 18:48:54,488 - DEBUG - VM ctest-TestBasicPolicy-21454608-13121977 ID is 395d3390-5cd8-493f-a7f4-fe9aab0b3e5b 2026-07-19 18:48:54,488 - DEBUG - VM ctest-TestBasicPolicy-21454608-13121977 launched on Node cn-jenkins-deploy-platform-ansible-os-6109-1 2026-07-19 18:48:54,559 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/395d3390-5cd8-493f-a7f4-fe9aab0b3e5b 2026-07-19 18:48:54,568 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/38a8bcdd-66f7-480c-9a34-7a4a2033566f 2026-07-19 18:48:57,839 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1029ms') 2026-07-19 18:48:57,839 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21454608-13121977 failed! 2026-07-19 18:48:57,892 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21454608:ctest-vn-35954609 is 142.121.28.129 and allocation pool is NOT set 2026-07-19 18:48:59,953 - 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=3.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.749 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.749/1.928/3.108/1.179 ms') 2026-07-19 18:48:59,953 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21454608-13121977 passed 2026-07-19 18:49:00,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-19 18:49:00,108 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21454608-13121977, IP 142.121.28.131, Port 22 2026-07-19 18:49:00,281 - DEBUG - VM ctest-TestBasicPolicy-21454608-13121977 is ready for SSH connections 2026-07-19 18:49:00,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-19 18:49:00,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.121.28.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-19 18:49:00,281 - DEBUG - ping -s 56 -c 3 -W 1 142.121.28.131 2026-07-19 18:49:04,242 - DEBUG - PING 142.121.28.131 (142.121.28.131): 56 data bytes 64 bytes from 142.121.28.131: seq=0 ttl=63 time=4.747 ms 64 bytes from 142.121.28.131: seq=1 ttl=63 time=0.956 ms 64 bytes from 142.121.28.131: seq=2 ttl=63 time=0.853 ms --- 142.121.28.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/2.185/4.747 ms 2026-07-19 18:49:04,242 - INFO - Ping to IP 142.121.28.131 from VM ctest-TestBasicPolicy-21454608-40162646 passed 2026-07-19 18:49:04,427 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e71635ac-928f-4618-8673-1a028fb50a84", "href": "http://10.0.0.50:8082/network-policy/e71635ac-928f-4618-8673-1a028fb50a84"}} 2026-07-19 18:49:04,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-19 18:49:04,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.121.28.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-19 18:49:04,428 - DEBUG - ping -s 56 -c 3 -W 1 142.121.28.131 2026-07-19 18:49:07,551 - DEBUG - PING 142.121.28.131 (142.121.28.131): 56 data bytes 64 bytes from 142.121.28.131: seq=0 ttl=63 time=1.809 ms --- 142.121.28.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.809/1.809/1.809 ms 2026-07-19 18:49:07,551 - WARNING - Ping to IP 142.121.28.131 from VM ctest-TestBasicPolicy-21454608-40162646 failed 2026-07-19 18:49:07,551 - INFO - Deleting VM ctest-TestBasicPolicy-21454608-13121977 2026-07-19 18:49:07,617 - INFO - Deleting VM ctest-TestBasicPolicy-21454608-40162646 2026-07-19 18:49:07,987 - INFO - Deleted policy ctest-policy-allow-all-53677606 2026-07-19 18:49:07,987 - INFO - Deleting VN ctest-vn-35954609 2026-07-19 18:49:08,018 - DEBUG - VN 2afe862d-db3c-4bff-832e-990cb5e47ceb still in use: Unable to complete operation on network 2afe862d-db3c-4bff-832e-990cb5e47ceb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9dcdd05-616d-4be5-a294-9324fa66955e'] 2026-07-19 18:49:08,018 - WARNING - Deleting VN ctest-vn-35954609 failed..Will retry 2026-07-19 18:49:10,120 - DEBUG - Response for deleting network () 2026-07-19 18:49:10,120 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/20629cd3-ce96-4189-aee4-247a49c79b9a 2026-07-19 18:49:10,125 - DEBUG - Response Code: 404 2026-07-19 18:49:10,125 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-19 18:49:10,133 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cd6870a3-4b4e-44b2-965d-af89c0e7bb93 2026-07-19 18:49:10,185 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f17d39e-4a79-4ef4-90c5-1da0885c5475 2026-07-19 18:49:10,258 - INFO - Validated that VN ctest-vn-35954609 is not found in API Server 2026-07-19 18:49:10,268 - DEBUG - VN ctest-vn-35954609 is not present in Agent 10.0.0.50 2026-07-19 18:49:10,268 - INFO - Validated that VN ctest-vn-35954609 is not in any agent 2026-07-19 18:49:10,284 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35954609 info 2026-07-19 18:49:10,284 - INFO - Deleting VN ctest-vn-19372583 2026-07-19 18:49:10,386 - DEBUG - Response for deleting network () 2026-07-19 18:49:10,386 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/136b303f-a946-471f-ac4b-48bb23132957 2026-07-19 18:49:10,391 - DEBUG - Response Code: 404 2026-07-19 18:49:10,392 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-19 18:49:10,397 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cd6870a3-4b4e-44b2-965d-af89c0e7bb93 2026-07-19 18:49:10,453 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f17d39e-4a79-4ef4-90c5-1da0885c5475 2026-07-19 18:49:10,528 - INFO - Validated that VN ctest-vn-19372583 is not found in API Server 2026-07-19 18:49:10,537 - DEBUG - VN ctest-vn-19372583 is not present in Agent 10.0.0.50 2026-07-19 18:49:10,537 - INFO - Validated that VN ctest-vn-19372583 is not in any agent 2026-07-19 18:49:10,549 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19372583 info 2026-07-19 18:49:10,804 - DEBUG - No XMPP flaps were noticed during the test 2026-07-19 18:49:10,804 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:02] 2026-07-19 18:49:10,804 - INFO - -------------------------------------------------------------------------------- 2026-07-19 18:49:11,537 - INFO - Deleted project: ctest-TestBasicPolicy-21454608, ID : 6f17d39e-4a79-4ef4-90c5-1da0885c5475