2025-07-14 11:22:31,369 - INFO - Domain Default found not creating 2025-07-14 11:22:31,505 - INFO - Project ctest-TestBasicPolicy-46870788 not found, creating it 2025-07-14 11:22:31,959 - INFO - Created Project:ctest-TestBasicPolicy-46870788, ID : 1c071baf-9693-4f5b-ae39-856275d8d07a 2025-07-14 11:22:33,362 - INFO - ================================================================================ 2025-07-14 11:22:33,363 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-14 11:22:33,363 - 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-07-14 11:22:33,619 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-07-14 11:22:33,619 - INFO - Initial checks done. Running the testcase now 2025-07-14 11:22:33,620 - INFO - 2025-07-14 11:22:34,153 - DEBUG - Response for create_network : {'network': {'id': '45c03e1e-2798-4cdf-b947-49b42eaba30c', 'name': 'ctest-vn-43774385', 'tenant_id': '1c071baf96934f5bae39856275d8d07a', 'project_id': '1c071baf96934f5bae39856275d8d07a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46870788', 'ctest-vn-43774385'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 11:22:34,347 - DEBUG - Response for create_subnet : {'subnet': {'id': '2303e819-031d-4225-be0e-a0bc3f4828f9', 'name': '', 'tenant_id': '1c071baf96934f5bae39856275d8d07a', 'network_id': '45c03e1e-2798-4cdf-b947-49b42eaba30c', 'ip_version': 4, 'cidr': '69.32.223.192/26', 'allocation_pools': [{'start': '69.32.223.194', 'end': '69.32.223.254'}], 'gateway_ip': '69.32.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.32.223.194', 'tags': [], 'project_id': '1c071baf96934f5bae39856275d8d07a'}} 2025-07-14 11:22:34,367 - INFO - Created VN ctest-vn-43774385 2025-07-14 11:22:34,421 - DEBUG - VN ctest-vn-43774385 UUID is 45c03e1e-2798-4cdf-b947-49b42eaba30c 2025-07-14 11:22:34,695 - DEBUG - Response for create_network : {'network': {'id': '14f197f1-d1ed-4193-ae1b-45ec5067ce72', 'name': 'ctest-vn-84891030', 'tenant_id': '1c071baf96934f5bae39856275d8d07a', 'project_id': '1c071baf96934f5bae39856275d8d07a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46870788', 'ctest-vn-84891030'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 11:22:34,978 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a90cadf-aaf8-43c4-a60e-da6eaea563e7', 'name': '', 'tenant_id': '1c071baf96934f5bae39856275d8d07a', 'network_id': '14f197f1-d1ed-4193-ae1b-45ec5067ce72', 'ip_version': 4, 'cidr': '125.224.217.128/26', 'allocation_pools': [{'start': '125.224.217.130', 'end': '125.224.217.190'}], 'gateway_ip': '125.224.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.224.217.130', 'tags': [], 'project_id': '1c071baf96934f5bae39856275d8d07a'}} 2025-07-14 11:22:34,996 - INFO - Created VN ctest-vn-84891030 2025-07-14 11:22:35,049 - DEBUG - VN ctest-vn-84891030 UUID is 14f197f1-d1ed-4193-ae1b-45ec5067ce72 2025-07-14 11:22:35,161 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-43774385, 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-46870788:ctest-vn-84891030, 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-07-14 11:22:35,454 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45c03e1e-2798-4cdf-b947-49b42eaba30c', 'name': 'ctest-vn-43774385', 'tenant_id': '1c071baf96934f5bae39856275d8d07a', 'project_id': '1c071baf96934f5bae39856275d8d07a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2303e819-031d-4225-be0e-a0bc3f4828f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46870788', 'ctest-vn-43774385'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46870788', 'ctest-policy-allow-all-50096183']], 'subnet_ipam': [{'subnet_cidr': '69.32.223.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-14 11:22:35,734 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14f197f1-d1ed-4193-ae1b-45ec5067ce72', 'name': 'ctest-vn-84891030', 'tenant_id': '1c071baf96934f5bae39856275d8d07a', 'project_id': '1c071baf96934f5bae39856275d8d07a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a90cadf-aaf8-43c4-a60e-da6eaea563e7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46870788', 'ctest-vn-84891030'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46870788', 'ctest-policy-allow-all-50096183']], 'subnet_ipam': [{'subnet_cidr': '125.224.217.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-14 11:22:35,885 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-14 11:22:36,197 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-14 11:22:36,232 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fa12f195-0c64-4704-88bf-cdfdeecb46b3 2025-07-14 11:22:36,249 - DEBUG - Requesting: http://10.0.0.33:8082/project/1c071baf-9693-4f5b-ae39-856275d8d07a 2025-07-14 11:22:36,321 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c03e1e-2798-4cdf-b947-49b42eaba30c 2025-07-14 11:22:36,332 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c03e1e-2798-4cdf-b947-49b42eaba30c 2025-07-14 11:22:36,343 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c73b5074-f58e-4a94-887a-39cb3c6ee552 2025-07-14 11:22:36,351 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c73b5074-f58e-4a94-887a-39cb3c6ee552 2025-07-14 11:22:36,359 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f38156ba-0f4f-49b8-a171-aa3ecc2e0b14 2025-07-14 11:22:36,366 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-14 11:22:36,366 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c03e1e-2798-4cdf-b947-49b42eaba30c 2025-07-14 11:22:36,377 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c73b5074-f58e-4a94-887a-39cb3c6ee552 2025-07-14 11:22:36,393 - INFO - Verified VN network id 8 for VN 45c03e1e-2798-4cdf-b947-49b42eaba30c 2025-07-14 11:22:36,393 - INFO - Verifications in API Server for VN ctest-vn-43774385 passed 2025-07-14 11:22:36,393 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c03e1e-2798-4cdf-b947-49b42eaba30c 2025-07-14 11:22:36,404 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c73b5074-f58e-4a94-887a-39cb3c6ee552 2025-07-14 11:22:36,413 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c73b5074-f58e-4a94-887a-39cb3c6ee552 2025-07-14 11:22:36,423 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f38156ba-0f4f-49b8-a171-aa3ecc2e0b14 2025-07-14 11:22:36,439 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-43774385', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46870788', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5026085483379707103', 'uuid-lslong': '13350720658589065996'}, 'enable': 'true', 'created': '2025-07-14T11:22:34', 'last-modified': '2025-07-14T11:22:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007986'} 2025-07-14 11:22:36,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-14 11:22:36,447 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43774385 passed 2025-07-14 11:22:36,447 - DEBUG - ====Verifying policy data for ctest-vn-43774385 in API_Server ====== 2025-07-14 11:22:36,447 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-14 11:22:36,455 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fa12f195-0c64-4704-88bf-cdfdeecb46b3 2025-07-14 11:22:36,469 - DEBUG - Requesting: http://10.0.0.33:8082/project/1c071baf-9693-4f5b-ae39-856275d8d07a 2025-07-14 11:22:36,548 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c03e1e-2798-4cdf-b947-49b42eaba30c 2025-07-14 11:22:36,558 - DEBUG - ==>Verifying data for policy with id: 39b866be-4cf8-4558-a1af-5ae3adfa3d49, fqn: ['default-domain', 'ctest-TestBasicPolicy-46870788', 'ctest-policy-allow-all-50096183'] 2025-07-14 11:22:36,558 - INFO - VN ctest-vn-43774385 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-14 11:22:36,559 - DEBUG - Verifying the vn in opserver 2025-07-14 11:22:36,559 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-43774385 virtual network link through opserver 10.0.0.33 2025-07-14 11:22:36,559 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-14 11:22:36,863 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-14 11:22:36,925 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-43774385', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-43774385?flat'} 2025-07-14 11:22:36,925 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-43774385 is found in opserver 2025-07-14 11:22:36,936 - DEBUG - Do not have enough data to verify VN in agent 2025-07-14 11:22:36,942 - DEBUG - VRF ids for VN ctest-vn-43774385: {} 2025-07-14 11:22:36,942 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-14 11:22:36,949 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fa12f195-0c64-4704-88bf-cdfdeecb46b3 2025-07-14 11:22:36,962 - DEBUG - Requesting: http://10.0.0.33:8082/project/1c071baf-9693-4f5b-ae39-856275d8d07a 2025-07-14 11:22:37,036 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/14f197f1-d1ed-4193-ae1b-45ec5067ce72 2025-07-14 11:22:37,050 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/14f197f1-d1ed-4193-ae1b-45ec5067ce72 2025-07-14 11:22:37,072 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/62a16a7e-d25f-4740-8e09-dc17967a3f21 2025-07-14 11:22:37,090 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/62a16a7e-d25f-4740-8e09-dc17967a3f21 2025-07-14 11:22:37,098 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e02e97b4-129f-4dcc-a0c9-39a2daf44917 2025-07-14 11:22:37,105 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-14 11:22:37,105 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/14f197f1-d1ed-4193-ae1b-45ec5067ce72 2025-07-14 11:22:37,119 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/62a16a7e-d25f-4740-8e09-dc17967a3f21 2025-07-14 11:22:37,143 - INFO - Verified VN network id 9 for VN 14f197f1-d1ed-4193-ae1b-45ec5067ce72 2025-07-14 11:22:37,143 - INFO - Verifications in API Server for VN ctest-vn-84891030 passed 2025-07-14 11:22:37,143 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/14f197f1-d1ed-4193-ae1b-45ec5067ce72 2025-07-14 11:22:37,157 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/62a16a7e-d25f-4740-8e09-dc17967a3f21 2025-07-14 11:22:37,170 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/62a16a7e-d25f-4740-8e09-dc17967a3f21 2025-07-14 11:22:37,181 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e02e97b4-129f-4dcc-a0c9-39a2daf44917 2025-07-14 11:22:37,198 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-84891030', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46870788', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1509154415010726291', 'uuid-lslong': '12545698068234227314'}, 'enable': 'true', 'created': '2025-07-14T11:22:34', 'last-modified': '2025-07-14T11:22:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.534832'} 2025-07-14 11:22:37,207 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-14 11:22:37,207 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84891030 passed 2025-07-14 11:22:37,207 - DEBUG - ====Verifying policy data for ctest-vn-84891030 in API_Server ====== 2025-07-14 11:22:37,207 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-14 11:22:37,215 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fa12f195-0c64-4704-88bf-cdfdeecb46b3 2025-07-14 11:22:37,228 - DEBUG - Requesting: http://10.0.0.33:8082/project/1c071baf-9693-4f5b-ae39-856275d8d07a 2025-07-14 11:22:37,313 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/14f197f1-d1ed-4193-ae1b-45ec5067ce72 2025-07-14 11:22:37,325 - DEBUG - ==>Verifying data for policy with id: 39b866be-4cf8-4558-a1af-5ae3adfa3d49, fqn: ['default-domain', 'ctest-TestBasicPolicy-46870788', 'ctest-policy-allow-all-50096183'] 2025-07-14 11:22:37,325 - INFO - VN ctest-vn-84891030 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-14 11:22:37,325 - DEBUG - Verifying the vn in opserver 2025-07-14 11:22:37,325 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-84891030 virtual network link through opserver 10.0.0.33 2025-07-14 11:22:37,325 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-14 11:22:37,336 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-84891030', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-84891030?flat'} 2025-07-14 11:22:37,336 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-84891030 is found in opserver 2025-07-14 11:22:37,349 - DEBUG - Do not have enough data to verify VN in agent 2025-07-14 11:22:37,354 - DEBUG - VRF ids for VN ctest-vn-84891030: {} 2025-07-14 11:22:37,417 - DEBUG - Services list from nova: [, , ] 2025-07-14 11:22:38,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3638-1) 2025-07-14 11:22:39,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3638-1) 2025-07-14 11:22:39,681 - INFO - Waiting for VM ctest-TestBasicPolicy-46870788-55099577 to be up.. 2025-07-14 11:22:39,774 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-14 11:22:44,851 - DEBUG - VM is in ACTIVE state now 2025-07-14 11:22:44,851 - INFO - VM name : ctest-TestBasicPolicy-46870788-55099577 2025-07-14 11:22:44,922 - DEBUG - VM ctest-TestBasicPolicy-46870788-55099577 ID is 12370c84-72dc-4b54-a6e4-99b52dc59ff1 2025-07-14 11:22:44,947 - DEBUG - VM ctest-TestBasicPolicy-46870788-55099577 launched on Node cn-jenkins-deploy-platform-ansible-os-3638-1 2025-07-14 11:22:45,025 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/12370c84-72dc-4b54-a6e4-99b52dc59ff1 2025-07-14 11:22:45,034 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/60de330d-8640-49e0-a95a-a0a042bcfafe 2025-07-14 11:22:48,302 - 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 1023ms') 2025-07-14 11:22:48,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46870788-55099577 failed! 2025-07-14 11:22:48,358 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46870788:ctest-vn-43774385 is 69.32.223.193 and allocation pool is NOT set 2025-07-14 11:22:50,417 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.867 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.867/2.415/3.963/1.548 ms') 2025-07-14 11:22:50,417 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46870788-55099577 passed 2025-07-14 11:22:50,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 11:22:50,573 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46870788-55099577, IP 69.32.223.195, Port 22 2025-07-14 11:22:50,728 - DEBUG - VM ctest-TestBasicPolicy-46870788-55099577 is ready for SSH connections 2025-07-14 11:22:50,729 - INFO - Waiting for VM ctest-TestBasicPolicy-46870788-94257468 to be up.. 2025-07-14 11:22:50,812 - DEBUG - VM is in ACTIVE state now 2025-07-14 11:22:50,812 - INFO - VM name : ctest-TestBasicPolicy-46870788-94257468 2025-07-14 11:22:50,888 - DEBUG - VM ctest-TestBasicPolicy-46870788-94257468 ID is 2b17f7d8-569b-495c-8f3c-2d97aa6853af 2025-07-14 11:22:50,888 - DEBUG - VM ctest-TestBasicPolicy-46870788-94257468 launched on Node cn-jenkins-deploy-platform-ansible-os-3638-1 2025-07-14 11:22:50,961 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2b17f7d8-569b-495c-8f3c-2d97aa6853af 2025-07-14 11:22:50,971 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1865f70b-df36-4662-92e8-d9e2fe5ffd1d 2025-07-14 11:22:52,227 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/1.667/2.990/1.322 ms') 2025-07-14 11:22:52,227 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46870788-94257468 passed 2025-07-14 11:22:52,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 11:22:52,385 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46870788-94257468, IP 125.224.217.131, Port 22 2025-07-14 11:22:52,541 - DEBUG - VM ctest-TestBasicPolicy-46870788-94257468 is ready for SSH connections 2025-07-14 11:22:52,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 11:22:52,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.224.217.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-14 11:22:52,541 - DEBUG - ping -s 56 -c 3 -W 1 125.224.217.131 2025-07-14 11:22:56,282 - DEBUG - PING 125.224.217.131 (125.224.217.131): 56 data bytes 64 bytes from 125.224.217.131: seq=0 ttl=63 time=3.870 ms 64 bytes from 125.224.217.131: seq=1 ttl=63 time=0.842 ms 64 bytes from 125.224.217.131: seq=2 ttl=63 time=0.769 ms --- 125.224.217.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.827/3.870 ms 2025-07-14 11:22:56,282 - INFO - Ping to IP 125.224.217.131 from VM ctest-TestBasicPolicy-46870788-55099577 passed 2025-07-14 11:22:56,469 - DEBUG - Policy Update Response {"network-policy": {"uuid": "39b866be-4cf8-4558-a1af-5ae3adfa3d49", "href": "http://10.0.0.33:8082/network-policy/39b866be-4cf8-4558-a1af-5ae3adfa3d49"}} 2025-07-14 11:22:56,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 11:22:56,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.224.217.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-14 11:22:56,470 - DEBUG - ping -s 56 -c 3 -W 1 125.224.217.131 2025-07-14 11:22:59,716 - DEBUG - PING 125.224.217.131 (125.224.217.131): 56 data bytes --- 125.224.217.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-14 11:22:59,716 - WARNING - Ping to IP 125.224.217.131 from VM ctest-TestBasicPolicy-46870788-55099577 failed 2025-07-14 11:22:59,716 - INFO - Deleting VM ctest-TestBasicPolicy-46870788-94257468 2025-07-14 11:22:59,789 - INFO - Deleting VM ctest-TestBasicPolicy-46870788-55099577 2025-07-14 11:23:00,298 - INFO - Deleted policy ctest-policy-allow-all-50096183 2025-07-14 11:23:00,298 - INFO - Deleting VN ctest-vn-84891030 2025-07-14 11:23:00,342 - DEBUG - VN 14f197f1-d1ed-4193-ae1b-45ec5067ce72 still in use: Unable to complete operation on network 14f197f1-d1ed-4193-ae1b-45ec5067ce72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb17ccae-7be2-4a86-8f8d-b0c8fafae391'] 2025-07-14 11:23:00,342 - WARNING - Deleting VN ctest-vn-84891030 failed..Will retry 2025-07-14 11:23:02,452 - DEBUG - Response for deleting network () 2025-07-14 11:23:02,452 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/62a16a7e-d25f-4740-8e09-dc17967a3f21 2025-07-14 11:23:02,459 - DEBUG - Response Code: 404 2025-07-14 11:23:02,459 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-14 11:23:02,465 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fa12f195-0c64-4704-88bf-cdfdeecb46b3 2025-07-14 11:23:02,520 - DEBUG - Requesting: http://10.0.0.33:8082/project/1c071baf-9693-4f5b-ae39-856275d8d07a 2025-07-14 11:23:02,591 - INFO - Validated that VN ctest-vn-84891030 is not found in API Server 2025-07-14 11:23:02,603 - DEBUG - VN ctest-vn-84891030 is not present in Agent 10.0.0.33 2025-07-14 11:23:02,603 - INFO - Validated that VN ctest-vn-84891030 is not in any agent 2025-07-14 11:23:02,619 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84891030 info 2025-07-14 11:23:02,619 - INFO - Deleting VN ctest-vn-43774385 2025-07-14 11:23:02,718 - DEBUG - Response for deleting network () 2025-07-14 11:23:02,718 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c73b5074-f58e-4a94-887a-39cb3c6ee552 2025-07-14 11:23:02,724 - DEBUG - Response Code: 404 2025-07-14 11:23:02,724 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-14 11:23:02,732 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fa12f195-0c64-4704-88bf-cdfdeecb46b3 2025-07-14 11:23:02,787 - DEBUG - Requesting: http://10.0.0.33:8082/project/1c071baf-9693-4f5b-ae39-856275d8d07a 2025-07-14 11:23:02,863 - INFO - Validated that VN ctest-vn-43774385 is not found in API Server 2025-07-14 11:23:02,877 - DEBUG - VN ctest-vn-43774385 is not present in Agent 10.0.0.33 2025-07-14 11:23:02,877 - INFO - Validated that VN ctest-vn-43774385 is not in any agent 2025-07-14 11:23:02,898 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43774385 info 2025-07-14 11:23:03,155 - DEBUG - No XMPP flaps were noticed during the test 2025-07-14 11:23:03,155 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-14 11:23:03,155 - INFO - -------------------------------------------------------------------------------- 2025-07-14 11:23:03,854 - INFO - Deleted project: ctest-TestBasicPolicy-46870788, ID : 1c071baf-9693-4f5b-ae39-856275d8d07a