2025-06-25 11:21:00,135 - INFO - Domain Default found not creating 2025-06-25 11:21:00,342 - INFO - Project ctest-TestBasicPolicy-48993945 not found, creating it 2025-06-25 11:21:00,873 - INFO - Created Project:ctest-TestBasicPolicy-48993945, ID : 71d482ac-d2ce-429d-942f-429cc726187e 2025-06-25 11:21:02,719 - INFO - ================================================================================ 2025-06-25 11:21:02,719 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-25 11:21:02,719 - 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-25 11:21:03,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-06-25 11:21:03,005 - INFO - Initial checks done. Running the testcase now 2025-06-25 11:21:03,005 - INFO - 2025-06-25 11:21:03,711 - DEBUG - Response for create_network : {'network': {'id': 'd7bd0c78-54bf-4ad3-91ae-43e3699537a4', 'name': 'ctest-vn-96300936', 'tenant_id': '71d482acd2ce429d942f429cc726187e', 'project_id': '71d482acd2ce429d942f429cc726187e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48993945', 'ctest-vn-96300936'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 11:21:03,911 - DEBUG - Response for create_subnet : {'subnet': {'id': '232fa36a-683b-48b9-886e-aee7d84e633b', 'name': '', 'tenant_id': '71d482acd2ce429d942f429cc726187e', 'network_id': 'd7bd0c78-54bf-4ad3-91ae-43e3699537a4', 'ip_version': 4, 'cidr': '14.191.147.192/26', 'allocation_pools': [{'start': '14.191.147.194', 'end': '14.191.147.254'}], 'gateway_ip': '14.191.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.191.147.194', 'tags': [], 'project_id': '71d482acd2ce429d942f429cc726187e'}} 2025-06-25 11:21:03,941 - INFO - Created VN ctest-vn-96300936 2025-06-25 11:21:04,006 - DEBUG - VN ctest-vn-96300936 UUID is d7bd0c78-54bf-4ad3-91ae-43e3699537a4 2025-06-25 11:21:04,388 - DEBUG - Response for create_network : {'network': {'id': '050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d', 'name': 'ctest-vn-04784627', 'tenant_id': '71d482acd2ce429d942f429cc726187e', 'project_id': '71d482acd2ce429d942f429cc726187e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48993945', 'ctest-vn-04784627'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 11:21:04,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '42b8b760-4e3e-4532-8fca-5bbe9cbaba9c', 'name': '', 'tenant_id': '71d482acd2ce429d942f429cc726187e', 'network_id': '050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d', 'ip_version': 4, 'cidr': '87.161.117.128/26', 'allocation_pools': [{'start': '87.161.117.130', 'end': '87.161.117.190'}], 'gateway_ip': '87.161.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.161.117.130', 'tags': [], 'project_id': '71d482acd2ce429d942f429cc726187e'}} 2025-06-25 11:21:04,639 - INFO - Created VN ctest-vn-04784627 2025-06-25 11:21:04,698 - DEBUG - VN ctest-vn-04784627 UUID is 050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d 2025-06-25 11:21:04,838 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-96300936, 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-48993945:ctest-vn-04784627, 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-25 11:21:05,187 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd7bd0c78-54bf-4ad3-91ae-43e3699537a4', 'name': 'ctest-vn-96300936', 'tenant_id': '71d482acd2ce429d942f429cc726187e', 'project_id': '71d482acd2ce429d942f429cc726187e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['232fa36a-683b-48b9-886e-aee7d84e633b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48993945', 'ctest-vn-96300936'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48993945', 'ctest-policy-allow-all-58541747']], 'subnet_ipam': [{'subnet_cidr': '14.191.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 11:21:05,447 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d', 'name': 'ctest-vn-04784627', 'tenant_id': '71d482acd2ce429d942f429cc726187e', 'project_id': '71d482acd2ce429d942f429cc726187e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['42b8b760-4e3e-4532-8fca-5bbe9cbaba9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48993945', 'ctest-vn-04784627'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48993945', 'ctest-policy-allow-all-58541747']], 'subnet_ipam': [{'subnet_cidr': '87.161.117.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 11:21:05,610 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-25 11:21:05,971 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-25 11:21:06,014 - DEBUG - Requesting: http://10.0.0.141:8082/domain/641421c2-01b1-4dc2-8524-bbff9e25550d 2025-06-25 11:21:06,038 - DEBUG - Requesting: http://10.0.0.141:8082/project/71d482ac-d2ce-429d-942f-429cc726187e 2025-06-25 11:21:06,127 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7bd0c78-54bf-4ad3-91ae-43e3699537a4 2025-06-25 11:21:06,147 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7bd0c78-54bf-4ad3-91ae-43e3699537a4 2025-06-25 11:21:06,168 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6bc2a354-1e42-4c18-ac8b-84b5154eb3c9 2025-06-25 11:21:06,180 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6bc2a354-1e42-4c18-ac8b-84b5154eb3c9 2025-06-25 11:21:06,189 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d327102d-3374-44d4-9610-86011b2dc147 2025-06-25 11:21:06,198 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 11:21:06,198 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7bd0c78-54bf-4ad3-91ae-43e3699537a4 2025-06-25 11:21:06,212 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6bc2a354-1e42-4c18-ac8b-84b5154eb3c9 2025-06-25 11:21:06,231 - INFO - Verified VN network id 8 for VN d7bd0c78-54bf-4ad3-91ae-43e3699537a4 2025-06-25 11:21:06,231 - INFO - Verifications in API Server for VN ctest-vn-96300936 passed 2025-06-25 11:21:06,231 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7bd0c78-54bf-4ad3-91ae-43e3699537a4 2025-06-25 11:21:06,247 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6bc2a354-1e42-4c18-ac8b-84b5154eb3c9 2025-06-25 11:21:06,261 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6bc2a354-1e42-4c18-ac8b-84b5154eb3c9 2025-06-25 11:21:06,272 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d327102d-3374-44d4-9610-86011b2dc147 2025-06-25 11:21:06,289 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-96300936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48993945', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15545595199710251731', 'uuid-lslong': '10497402425455228836'}, 'enable': 'true', 'created': '2025-06-25T11:21:03', 'last-modified': '2025-06-25T11:21:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.134631'} 2025-06-25 11:21:06,300 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 11:21:06,301 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96300936 passed 2025-06-25 11:21:06,301 - DEBUG - ====Verifying policy data for ctest-vn-96300936 in API_Server ====== 2025-06-25 11:21:06,301 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-25 11:21:06,309 - DEBUG - Requesting: http://10.0.0.141:8082/domain/641421c2-01b1-4dc2-8524-bbff9e25550d 2025-06-25 11:21:06,325 - DEBUG - Requesting: http://10.0.0.141:8082/project/71d482ac-d2ce-429d-942f-429cc726187e 2025-06-25 11:21:06,412 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d7bd0c78-54bf-4ad3-91ae-43e3699537a4 2025-06-25 11:21:06,426 - DEBUG - ==>Verifying data for policy with id: 98f35620-12cb-48cc-83e5-038dbf9d6a80, fqn: ['default-domain', 'ctest-TestBasicPolicy-48993945', 'ctest-policy-allow-all-58541747'] 2025-06-25 11:21:06,426 - INFO - VN ctest-vn-96300936 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 11:21:06,426 - DEBUG - Verifying the vn in opserver 2025-06-25 11:21:06,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-96300936 virtual network link through opserver 10.0.0.141 2025-06-25 11:21:06,427 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-06-25 11:21:06,809 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-06-25 11:21:06,885 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-96300936', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-96300936?flat'} 2025-06-25 11:21:06,885 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-96300936 is found in opserver 2025-06-25 11:21:06,902 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 11:21:06,909 - DEBUG - VRF ids for VN ctest-vn-96300936: {} 2025-06-25 11:21:06,909 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-25 11:21:06,918 - DEBUG - Requesting: http://10.0.0.141:8082/domain/641421c2-01b1-4dc2-8524-bbff9e25550d 2025-06-25 11:21:06,938 - DEBUG - Requesting: http://10.0.0.141:8082/project/71d482ac-d2ce-429d-942f-429cc726187e 2025-06-25 11:21:07,020 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d 2025-06-25 11:21:07,037 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d 2025-06-25 11:21:07,052 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b4cc0041-7a9b-4bc8-9a73-729c1e80a886 2025-06-25 11:21:07,064 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b4cc0041-7a9b-4bc8-9a73-729c1e80a886 2025-06-25 11:21:07,074 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d8cc1774-eeec-41da-8f9c-016ade70c546 2025-06-25 11:21:07,086 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 11:21:07,086 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d 2025-06-25 11:21:07,101 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b4cc0041-7a9b-4bc8-9a73-729c1e80a886 2025-06-25 11:21:07,123 - INFO - Verified VN network id 9 for VN 050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d 2025-06-25 11:21:07,123 - INFO - Verifications in API Server for VN ctest-vn-04784627 passed 2025-06-25 11:21:07,124 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d 2025-06-25 11:21:07,137 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b4cc0041-7a9b-4bc8-9a73-729c1e80a886 2025-06-25 11:21:07,148 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b4cc0041-7a9b-4bc8-9a73-729c1e80a886 2025-06-25 11:21:07,158 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d8cc1774-eeec-41da-8f9c-016ade70c546 2025-06-25 11:21:07,179 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-04784627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48993945', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '364189963771923660', 'uuid-lslong': '11155972216839795021'}, 'enable': 'true', 'created': '2025-06-25T11:21:04', 'last-modified': '2025-06-25T11:21:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.758476'} 2025-06-25 11:21:07,188 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 11:21:07,188 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04784627 passed 2025-06-25 11:21:07,188 - DEBUG - ====Verifying policy data for ctest-vn-04784627 in API_Server ====== 2025-06-25 11:21:07,189 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-25 11:21:07,199 - DEBUG - Requesting: http://10.0.0.141:8082/domain/641421c2-01b1-4dc2-8524-bbff9e25550d 2025-06-25 11:21:07,214 - DEBUG - Requesting: http://10.0.0.141:8082/project/71d482ac-d2ce-429d-942f-429cc726187e 2025-06-25 11:21:07,301 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d 2025-06-25 11:21:07,315 - DEBUG - ==>Verifying data for policy with id: 98f35620-12cb-48cc-83e5-038dbf9d6a80, fqn: ['default-domain', 'ctest-TestBasicPolicy-48993945', 'ctest-policy-allow-all-58541747'] 2025-06-25 11:21:07,316 - INFO - VN ctest-vn-04784627 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 11:21:07,316 - DEBUG - Verifying the vn in opserver 2025-06-25 11:21:07,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-04784627 virtual network link through opserver 10.0.0.141 2025-06-25 11:21:07,316 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-06-25 11:21:07,330 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-04784627', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-04784627?flat'} 2025-06-25 11:21:07,330 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-04784627 is found in opserver 2025-06-25 11:21:07,345 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 11:21:07,352 - DEBUG - VRF ids for VN ctest-vn-04784627: {} 2025-06-25 11:21:07,435 - DEBUG - Services list from nova: [, , ] 2025-06-25 11:21:08,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3547-1) 2025-06-25 11:21:10,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3547-1) 2025-06-25 11:21:10,359 - INFO - Waiting for VM ctest-TestBasicPolicy-48993945-52893467 to be up.. 2025-06-25 11:21:10,470 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 11:21:15,580 - DEBUG - VM is in ACTIVE state now 2025-06-25 11:21:15,581 - INFO - VM name : ctest-TestBasicPolicy-48993945-52893467 2025-06-25 11:21:15,684 - DEBUG - VM ctest-TestBasicPolicy-48993945-52893467 ID is ce05dd1d-9563-4488-8085-ed13b99a5e86 2025-06-25 11:21:15,716 - DEBUG - VM ctest-TestBasicPolicy-48993945-52893467 launched on Node cn-jenkins-deploy-platform-ansible-os-3547-1 2025-06-25 11:21:15,819 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ce05dd1d-9563-4488-8085-ed13b99a5e86 2025-06-25 11:21:15,831 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/79ca7e30-417a-4b36-a4f0-f155db7e145b 2025-06-25 11:21:19,129 - 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 1024ms') 2025-06-25 11:21:19,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48993945-52893467 failed! 2025-06-25 11:21:19,190 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48993945:ctest-vn-96300936 is 14.191.147.193 and allocation pool is NOT set 2025-06-25 11:21:23,285 - 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=2 ttl=63 time=9.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 9.349/9.349/9.349/0.000 ms') 2025-06-25 11:21:23,285 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48993945-52893467 passed 2025-06-25 11:21:23,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 11:21:23,450 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48993945-52893467, IP 14.191.147.195, Port 22 2025-06-25 11:21:23,626 - DEBUG - VM ctest-TestBasicPolicy-48993945-52893467 is ready for SSH connections 2025-06-25 11:21:23,626 - INFO - Waiting for VM ctest-TestBasicPolicy-48993945-48601570 to be up.. 2025-06-25 11:21:23,742 - DEBUG - VM is in ACTIVE state now 2025-06-25 11:21:23,742 - INFO - VM name : ctest-TestBasicPolicy-48993945-48601570 2025-06-25 11:21:23,842 - DEBUG - VM ctest-TestBasicPolicy-48993945-48601570 ID is e7222789-ff52-4f58-ba0c-e4098e438e9d 2025-06-25 11:21:23,842 - DEBUG - VM ctest-TestBasicPolicy-48993945-48601570 launched on Node cn-jenkins-deploy-platform-ansible-os-3547-1 2025-06-25 11:21:23,936 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e7222789-ff52-4f58-ba0c-e4098e438e9d 2025-06-25 11:21:23,946 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a088e427-3fc0-4786-93b5-8b8477220b4e 2025-06-25 11:21:25,222 - 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=4.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.24 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 = 1.241/2.790/4.339/1.549 ms') 2025-06-25 11:21:25,222 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48993945-48601570 passed 2025-06-25 11:21:25,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 11:21:25,378 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48993945-48601570, IP 87.161.117.131, Port 22 2025-06-25 11:21:25,549 - DEBUG - VM ctest-TestBasicPolicy-48993945-48601570 is ready for SSH connections 2025-06-25 11:21:25,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 11:21:25,549 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.161.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-06-25 11:21:25,549 - DEBUG - ping -s 56 -c 3 -W 1 87.161.117.131 2025-06-25 11:21:29,702 - DEBUG - PING 87.161.117.131 (87.161.117.131): 56 data bytes 64 bytes from 87.161.117.131: seq=0 ttl=63 time=4.453 ms 64 bytes from 87.161.117.131: seq=1 ttl=63 time=1.226 ms 64 bytes from 87.161.117.131: seq=2 ttl=63 time=1.075 ms --- 87.161.117.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.075/2.251/4.453 ms 2025-06-25 11:21:29,703 - INFO - Ping to IP 87.161.117.131 from VM ctest-TestBasicPolicy-48993945-52893467 passed 2025-06-25 11:21:29,906 - DEBUG - Policy Update Response {"network-policy": {"uuid": "98f35620-12cb-48cc-83e5-038dbf9d6a80", "href": "http://10.0.0.141:8082/network-policy/98f35620-12cb-48cc-83e5-038dbf9d6a80"}} 2025-06-25 11:21:29,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 11:21:29,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.161.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-06-25 11:21:29,906 - DEBUG - ping -s 56 -c 3 -W 1 87.161.117.131 2025-06-25 11:21:33,172 - DEBUG - PING 87.161.117.131 (87.161.117.131): 56 data bytes --- 87.161.117.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-25 11:21:33,172 - WARNING - Ping to IP 87.161.117.131 from VM ctest-TestBasicPolicy-48993945-52893467 failed 2025-06-25 11:21:33,172 - INFO - Deleting VM ctest-TestBasicPolicy-48993945-48601570 2025-06-25 11:21:33,266 - INFO - Deleting VM ctest-TestBasicPolicy-48993945-52893467 2025-06-25 11:21:33,777 - INFO - Deleted policy ctest-policy-allow-all-58541747 2025-06-25 11:21:33,777 - INFO - Deleting VN ctest-vn-04784627 2025-06-25 11:21:33,828 - DEBUG - VN 050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d still in use: Unable to complete operation on network 050ddcd7-ad63-4ccc-9ad1-f99fd4dcf14d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03ffa681-cdf9-4c8a-8fab-03c4cd6e5de6'] 2025-06-25 11:21:33,828 - WARNING - Deleting VN ctest-vn-04784627 failed..Will retry 2025-06-25 11:21:36,024 - DEBUG - Response for deleting network () 2025-06-25 11:21:36,025 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b4cc0041-7a9b-4bc8-9a73-729c1e80a886 2025-06-25 11:21:36,036 - DEBUG - Response Code: 404 2025-06-25 11:21:36,036 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-25 11:21:36,044 - DEBUG - Requesting: http://10.0.0.141:8082/domain/641421c2-01b1-4dc2-8524-bbff9e25550d 2025-06-25 11:21:36,107 - DEBUG - Requesting: http://10.0.0.141:8082/project/71d482ac-d2ce-429d-942f-429cc726187e 2025-06-25 11:21:36,201 - INFO - Validated that VN ctest-vn-04784627 is not found in API Server 2025-06-25 11:21:36,216 - DEBUG - VN ctest-vn-04784627 is not present in Agent 10.0.0.141 2025-06-25 11:21:36,216 - INFO - Validated that VN ctest-vn-04784627 is not in any agent 2025-06-25 11:21:36,238 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04784627 info 2025-06-25 11:21:36,239 - INFO - Deleting VN ctest-vn-96300936 2025-06-25 11:21:36,399 - DEBUG - Response for deleting network () 2025-06-25 11:21:36,399 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6bc2a354-1e42-4c18-ac8b-84b5154eb3c9 2025-06-25 11:21:36,409 - DEBUG - Response Code: 404 2025-06-25 11:21:36,409 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-25 11:21:36,419 - DEBUG - Requesting: http://10.0.0.141:8082/domain/641421c2-01b1-4dc2-8524-bbff9e25550d 2025-06-25 11:21:36,481 - DEBUG - Requesting: http://10.0.0.141:8082/project/71d482ac-d2ce-429d-942f-429cc726187e 2025-06-25 11:21:36,571 - INFO - Validated that VN ctest-vn-96300936 is not found in API Server 2025-06-25 11:21:36,585 - DEBUG - VN ctest-vn-96300936 is not present in Agent 10.0.0.141 2025-06-25 11:21:36,585 - INFO - Validated that VN ctest-vn-96300936 is not in any agent 2025-06-25 11:21:36,606 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96300936 info 2025-06-25 11:21:36,876 - DEBUG - No XMPP flaps were noticed during the test
2025-06-25 11:21:36,876 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-06-25 11:21:36,876 - INFO - -------------------------------------------------------------------------------- 2025-06-25 11:21:37,631 - INFO - Deleted project: ctest-TestBasicPolicy-48993945, ID : 71d482ac-d2ce-429d-942f-429cc726187e