2025-06-18 05:26:24,962 - INFO - Domain Default found not creating 2025-06-18 05:26:25,112 - INFO - Project ctest-TestBasicPolicy-21945786 not found, creating it 2025-06-18 05:26:25,571 - INFO - Created Project:ctest-TestBasicPolicy-21945786, ID : fd02b8d0-748d-4e97-a095-501623bde3bc 2025-06-18 05:26:27,211 - INFO - ================================================================================ 2025-06-18 05:26:27,212 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-18 05:26:27,212 - 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 2025-06-18 05:26:27,472 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-18 05:26:27,472 - INFO - Initial checks done. Running the testcase now 2025-06-18 05:26:27,472 - INFO - 2025-06-18 05:26:28,085 - DEBUG - Response for create_network : {'network': {'id': 'b5489373-55aa-4558-985f-3a46ca1b89ed', 'name': 'ctest-vn-42079972', 'tenant_id': 'fd02b8d0748d4e97a095501623bde3bc', 'project_id': 'fd02b8d0748d4e97a095501623bde3bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21945786', 'ctest-vn-42079972'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 05:26:28,290 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bc3e82b-daad-472d-b5f8-71f8fc79634d', 'name': '', 'tenant_id': 'fd02b8d0748d4e97a095501623bde3bc', 'network_id': 'b5489373-55aa-4558-985f-3a46ca1b89ed', 'ip_version': 4, 'cidr': '98.125.173.192/26', 'allocation_pools': [{'start': '98.125.173.194', 'end': '98.125.173.254'}], 'gateway_ip': '98.125.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.125.173.194', 'tags': [], 'project_id': 'fd02b8d0748d4e97a095501623bde3bc'}} 2025-06-18 05:26:28,309 - INFO - Created VN ctest-vn-42079972 2025-06-18 05:26:28,361 - DEBUG - VN ctest-vn-42079972 UUID is b5489373-55aa-4558-985f-3a46ca1b89ed 2025-06-18 05:26:28,694 - DEBUG - Response for create_network : {'network': {'id': '73a64805-7cc8-4975-a2d9-88dcd4a9cfcd', 'name': 'ctest-vn-18418409', 'tenant_id': 'fd02b8d0748d4e97a095501623bde3bc', 'project_id': 'fd02b8d0748d4e97a095501623bde3bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21945786', 'ctest-vn-18418409'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 05:26:28,905 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfcd11ad-1849-43bd-8b0c-66615fca688d', 'name': '', 'tenant_id': 'fd02b8d0748d4e97a095501623bde3bc', 'network_id': '73a64805-7cc8-4975-a2d9-88dcd4a9cfcd', 'ip_version': 4, 'cidr': '65.150.42.128/26', 'allocation_pools': [{'start': '65.150.42.130', 'end': '65.150.42.190'}], 'gateway_ip': '65.150.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.150.42.130', 'tags': [], 'project_id': 'fd02b8d0748d4e97a095501623bde3bc'}} 2025-06-18 05:26:28,923 - INFO - Created VN ctest-vn-18418409 2025-06-18 05:26:28,977 - DEBUG - VN ctest-vn-18418409 UUID is 73a64805-7cc8-4975-a2d9-88dcd4a9cfcd 2025-06-18 05:26:29,094 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-42079972, 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-21945786:ctest-vn-18418409, 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] 2025-06-18 05:26:29,409 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5489373-55aa-4558-985f-3a46ca1b89ed', 'name': 'ctest-vn-42079972', 'tenant_id': 'fd02b8d0748d4e97a095501623bde3bc', 'project_id': 'fd02b8d0748d4e97a095501623bde3bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1bc3e82b-daad-472d-b5f8-71f8fc79634d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21945786', 'ctest-vn-42079972'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21945786', 'ctest-policy-allow-all-14770959']], 'subnet_ipam': [{'subnet_cidr': '98.125.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 05:26:29,649 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73a64805-7cc8-4975-a2d9-88dcd4a9cfcd', 'name': 'ctest-vn-18418409', 'tenant_id': 'fd02b8d0748d4e97a095501623bde3bc', 'project_id': 'fd02b8d0748d4e97a095501623bde3bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dfcd11ad-1849-43bd-8b0c-66615fca688d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21945786', 'ctest-vn-18418409'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21945786', 'ctest-policy-allow-all-14770959']], 'subnet_ipam': [{'subnet_cidr': '65.150.42.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 05:26:29,797 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 05:26:30,140 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 05:26:30,169 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b7aeb7e6-edfb-4439-bab2-848f348fecad 2025-06-18 05:26:30,184 - DEBUG - Requesting: http://10.0.0.254:8082/project/fd02b8d0-748d-4e97-a095-501623bde3bc 2025-06-18 05:26:30,259 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b5489373-55aa-4558-985f-3a46ca1b89ed 2025-06-18 05:26:30,273 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b5489373-55aa-4558-985f-3a46ca1b89ed 2025-06-18 05:26:30,283 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f70cae70-d13b-43ce-aeec-19f6db1ad712 2025-06-18 05:26:30,291 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f70cae70-d13b-43ce-aeec-19f6db1ad712 2025-06-18 05:26:30,299 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1e8fbbb7-e298-49e8-834f-6f83b705618d 2025-06-18 05:26:30,306 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 05:26:30,306 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b5489373-55aa-4558-985f-3a46ca1b89ed 2025-06-18 05:26:30,316 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f70cae70-d13b-43ce-aeec-19f6db1ad712 2025-06-18 05:26:30,332 - INFO - Verified VN network id 8 for VN b5489373-55aa-4558-985f-3a46ca1b89ed 2025-06-18 05:26:30,333 - INFO - Verifications in API Server for VN ctest-vn-42079972 passed 2025-06-18 05:26:30,333 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b5489373-55aa-4558-985f-3a46ca1b89ed 2025-06-18 05:26:30,344 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f70cae70-d13b-43ce-aeec-19f6db1ad712 2025-06-18 05:26:30,352 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f70cae70-d13b-43ce-aeec-19f6db1ad712 2025-06-18 05:26:30,360 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1e8fbbb7-e298-49e8-834f-6f83b705618d 2025-06-18 05:26:30,374 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-42079972', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21945786', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13062852842755867992', 'uuid-lslong': '10979558492265482733'}, 'enable': 'true', 'created': '2025-06-18T05:26:28', 'last-modified': '2025-06-18T05:26:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992222'} 2025-06-18 05:26:30,381 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 05:26:30,381 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42079972 passed 2025-06-18 05:26:30,381 - DEBUG - ====Verifying policy data for ctest-vn-42079972 in API_Server ====== 2025-06-18 05:26:30,381 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 05:26:30,387 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b7aeb7e6-edfb-4439-bab2-848f348fecad 2025-06-18 05:26:30,401 - DEBUG - Requesting: http://10.0.0.254:8082/project/fd02b8d0-748d-4e97-a095-501623bde3bc 2025-06-18 05:26:30,475 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b5489373-55aa-4558-985f-3a46ca1b89ed 2025-06-18 05:26:30,486 - DEBUG - ==>Verifying data for policy with id: 2f0a06f7-9bb7-441b-8701-ea4ff4ba9493, fqn: ['default-domain', 'ctest-TestBasicPolicy-21945786', 'ctest-policy-allow-all-14770959'] 2025-06-18 05:26:30,487 - INFO - VN ctest-vn-42079972 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 05:26:30,487 - DEBUG - Verifying the vn in opserver 2025-06-18 05:26:30,487 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-42079972 virtual network link through opserver 10.0.0.254 2025-06-18 05:26:30,487 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 05:26:30,823 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 05:26:30,897 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-42079972', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-42079972?flat'} 2025-06-18 05:26:30,897 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-42079972 is found in opserver 2025-06-18 05:26:30,909 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 05:26:30,914 - DEBUG - VRF ids for VN ctest-vn-42079972: {} 2025-06-18 05:26:30,914 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 05:26:30,920 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b7aeb7e6-edfb-4439-bab2-848f348fecad 2025-06-18 05:26:30,936 - DEBUG - Requesting: http://10.0.0.254:8082/project/fd02b8d0-748d-4e97-a095-501623bde3bc 2025-06-18 05:26:31,013 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/73a64805-7cc8-4975-a2d9-88dcd4a9cfcd 2025-06-18 05:26:31,030 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/73a64805-7cc8-4975-a2d9-88dcd4a9cfcd 2025-06-18 05:26:31,042 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c69f4822-488a-4573-9824-3c4169971241 2025-06-18 05:26:31,052 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c69f4822-488a-4573-9824-3c4169971241 2025-06-18 05:26:31,061 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/76ed3985-4815-4102-9fb5-de6f8d31a578 2025-06-18 05:26:31,068 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 05:26:31,068 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/73a64805-7cc8-4975-a2d9-88dcd4a9cfcd 2025-06-18 05:26:31,078 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c69f4822-488a-4573-9824-3c4169971241 2025-06-18 05:26:31,093 - INFO - Verified VN network id 9 for VN 73a64805-7cc8-4975-a2d9-88dcd4a9cfcd 2025-06-18 05:26:31,093 - INFO - Verifications in API Server for VN ctest-vn-18418409 passed 2025-06-18 05:26:31,093 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/73a64805-7cc8-4975-a2d9-88dcd4a9cfcd 2025-06-18 05:26:31,104 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c69f4822-488a-4573-9824-3c4169971241 2025-06-18 05:26:31,112 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c69f4822-488a-4573-9824-3c4169971241 2025-06-18 05:26:31,118 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/76ed3985-4815-4102-9fb5-de6f8d31a578 2025-06-18 05:26:31,131 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-18418409', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21945786', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8333427348901218677', 'uuid-lslong': '11734560786132619213'}, 'enable': 'true', 'created': '2025-06-18T05:26:28', 'last-modified': '2025-06-18T05:26:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.507184'} 2025-06-18 05:26:31,137 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 05:26:31,137 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18418409 passed 2025-06-18 05:26:31,138 - DEBUG - ====Verifying policy data for ctest-vn-18418409 in API_Server ====== 2025-06-18 05:26:31,138 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 05:26:31,143 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b7aeb7e6-edfb-4439-bab2-848f348fecad 2025-06-18 05:26:31,156 - DEBUG - Requesting: http://10.0.0.254:8082/project/fd02b8d0-748d-4e97-a095-501623bde3bc 2025-06-18 05:26:31,233 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/73a64805-7cc8-4975-a2d9-88dcd4a9cfcd 2025-06-18 05:26:31,243 - DEBUG - ==>Verifying data for policy with id: 2f0a06f7-9bb7-441b-8701-ea4ff4ba9493, fqn: ['default-domain', 'ctest-TestBasicPolicy-21945786', 'ctest-policy-allow-all-14770959'] 2025-06-18 05:26:31,243 - INFO - VN ctest-vn-18418409 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 05:26:31,243 - DEBUG - Verifying the vn in opserver 2025-06-18 05:26:31,243 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-18418409 virtual network link through opserver 10.0.0.254 2025-06-18 05:26:31,243 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 05:26:31,253 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-18418409', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-18418409?flat'} 2025-06-18 05:26:31,253 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-18418409 is found in opserver 2025-06-18 05:26:31,265 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 05:26:31,270 - DEBUG - VRF ids for VN ctest-vn-18418409: {} 2025-06-18 05:26:31,328 - DEBUG - Services list from nova: [, , ] 2025-06-18 05:26:32,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3467-1) 2025-06-18 05:26:33,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3467-1) 2025-06-18 05:26:33,754 - INFO - Waiting for VM ctest-TestBasicPolicy-21945786-09019309 to be up.. 2025-06-18 05:26:33,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 05:26:38,954 - DEBUG - VM is in ACTIVE state now 2025-06-18 05:26:38,954 - INFO - VM name : ctest-TestBasicPolicy-21945786-09019309 2025-06-18 05:26:39,045 - DEBUG - VM ctest-TestBasicPolicy-21945786-09019309 ID is 8a65819a-7216-466a-a34f-a3054a3ee3fe 2025-06-18 05:26:39,069 - DEBUG - VM ctest-TestBasicPolicy-21945786-09019309 launched on Node cn-jenkins-deploy-platform-ansible-os-3467-1 2025-06-18 05:26:39,154 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8a65819a-7216-466a-a34f-a3054a3ee3fe 2025-06-18 05:26:39,162 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e8ba5fbc-ad66-4c77-ab8f-62d233e128e3 2025-06-18 05:26:42,433 - 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 1018ms') 2025-06-18 05:26:42,433 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21945786-09019309 failed! 2025-06-18 05:26:42,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21945786:ctest-vn-42079972 is 98.125.173.193 and allocation pool is NOT set 2025-06-18 05:26:44,553 - 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=6.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 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.438/3.427/6.417/2.989 ms') 2025-06-18 05:26:44,553 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21945786-09019309 passed 2025-06-18 05:26:44,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:26:44,705 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21945786-09019309, IP 98.125.173.195, Port 22 2025-06-18 05:26:44,861 - DEBUG - VM ctest-TestBasicPolicy-21945786-09019309 is ready for SSH connections 2025-06-18 05:26:44,861 - INFO - Waiting for VM ctest-TestBasicPolicy-21945786-58606087 to be up.. 2025-06-18 05:26:44,938 - DEBUG - VM is in ACTIVE state now 2025-06-18 05:26:44,938 - INFO - VM name : ctest-TestBasicPolicy-21945786-58606087 2025-06-18 05:26:45,015 - DEBUG - VM ctest-TestBasicPolicy-21945786-58606087 ID is 71c0dd36-292f-4c42-81cf-0c176c248385 2025-06-18 05:26:45,016 - DEBUG - VM ctest-TestBasicPolicy-21945786-58606087 launched on Node cn-jenkins-deploy-platform-ansible-os-3467-1 2025-06-18 05:26:45,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71c0dd36-292f-4c42-81cf-0c176c248385 2025-06-18 05:26:45,100 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/89be9959-be7d-4771-9c6c-eba609c2de34 2025-06-18 05:26:46,342 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.877 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.877/2.326/3.775/1.449 ms') 2025-06-18 05:26:46,342 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21945786-58606087 passed 2025-06-18 05:26:46,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:26:46,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21945786-58606087, IP 65.150.42.131, Port 22 2025-06-18 05:26:46,656 - DEBUG - VM ctest-TestBasicPolicy-21945786-58606087 is ready for SSH connections 2025-06-18 05:26:46,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:26:46,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.150.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 05:26:46,657 - DEBUG - ping -s 56 -c 3 -W 1 65.150.42.131 2025-06-18 05:26:50,958 - DEBUG - PING 65.150.42.131 (65.150.42.131): 56 data bytes 64 bytes from 65.150.42.131: seq=0 ttl=63 time=3.615 ms 64 bytes from 65.150.42.131: seq=1 ttl=63 time=0.886 ms 64 bytes from 65.150.42.131: seq=2 ttl=63 time=0.971 ms --- 65.150.42.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.824/3.615 ms 2025-06-18 05:26:50,958 - INFO - Ping to IP 65.150.42.131 from VM ctest-TestBasicPolicy-21945786-09019309 passed 2025-06-18 05:26:51,145 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2f0a06f7-9bb7-441b-8701-ea4ff4ba9493", "href": "http://10.0.0.254:8082/network-policy/2f0a06f7-9bb7-441b-8701-ea4ff4ba9493"}} 2025-06-18 05:26:51,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 05:26:51,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.150.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 05:26:51,145 - DEBUG - ping -s 56 -c 3 -W 1 65.150.42.131 2025-06-18 05:26:54,399 - DEBUG - PING 65.150.42.131 (65.150.42.131): 56 data bytes 64 bytes from 65.150.42.131: seq=0 ttl=63 time=1.531 ms --- 65.150.42.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.531/1.531/1.531 ms 2025-06-18 05:26:54,399 - WARNING - Ping to IP 65.150.42.131 from VM ctest-TestBasicPolicy-21945786-09019309 failed 2025-06-18 05:26:54,399 - INFO - Deleting VM ctest-TestBasicPolicy-21945786-58606087 2025-06-18 05:26:54,463 - INFO - Deleting VM ctest-TestBasicPolicy-21945786-09019309 2025-06-18 05:26:54,852 - INFO - Deleted policy ctest-policy-allow-all-14770959 2025-06-18 05:26:54,852 - INFO - Deleting VN ctest-vn-18418409 2025-06-18 05:26:54,892 - DEBUG - VN 73a64805-7cc8-4975-a2d9-88dcd4a9cfcd still in use: Unable to complete operation on network 73a64805-7cc8-4975-a2d9-88dcd4a9cfcd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42c87189-a71d-4121-9078-c95645c12756'] 2025-06-18 05:26:54,892 - WARNING - Deleting VN ctest-vn-18418409 failed..Will retry 2025-06-18 05:26:57,005 - DEBUG - Response for deleting network () 2025-06-18 05:26:57,005 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c69f4822-488a-4573-9824-3c4169971241 2025-06-18 05:26:57,011 - DEBUG - Response Code: 404 2025-06-18 05:26:57,012 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 05:26:57,023 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b7aeb7e6-edfb-4439-bab2-848f348fecad 2025-06-18 05:26:57,079 - DEBUG - Requesting: http://10.0.0.254:8082/project/fd02b8d0-748d-4e97-a095-501623bde3bc 2025-06-18 05:26:57,157 - INFO - Validated that VN ctest-vn-18418409 is not found in API Server 2025-06-18 05:26:57,169 - DEBUG - VN ctest-vn-18418409 is not present in Agent 10.0.0.254 2025-06-18 05:26:57,169 - INFO - Validated that VN ctest-vn-18418409 is not in any agent 2025-06-18 05:26:57,193 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18418409 info 2025-06-18 05:26:57,193 - INFO - Deleting VN ctest-vn-42079972 2025-06-18 05:26:57,313 - DEBUG - Response for deleting network () 2025-06-18 05:26:57,313 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f70cae70-d13b-43ce-aeec-19f6db1ad712 2025-06-18 05:26:57,329 - DEBUG - Response Code: 404 2025-06-18 05:26:57,329 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 05:26:57,335 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b7aeb7e6-edfb-4439-bab2-848f348fecad 2025-06-18 05:26:57,395 - DEBUG - Requesting: http://10.0.0.254:8082/project/fd02b8d0-748d-4e97-a095-501623bde3bc 2025-06-18 05:26:57,480 - INFO - Validated that VN ctest-vn-42079972 is not found in API Server 2025-06-18 05:26:57,493 - DEBUG - VN ctest-vn-42079972 is not present in Agent 10.0.0.254 2025-06-18 05:26:57,493 - INFO - Validated that VN ctest-vn-42079972 is not in any agent 2025-06-18 05:26:57,510 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42079972 info 2025-06-18 05:26:57,763 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 05:26:57,763 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-18 05:26:57,763 - INFO - -------------------------------------------------------------------------------- 2025-06-18 05:26:58,488 - INFO - Deleted project: ctest-TestBasicPolicy-21945786, ID : fd02b8d0-748d-4e97-a095-501623bde3bc