2025-09-04 02:07:59,860 - INFO - Domain Default found not creating 2025-09-04 02:07:59,993 - INFO - Project ctest-TestBasicPolicy-16549317 not found, creating it 2025-09-04 02:08:00,426 - INFO - Created Project:ctest-TestBasicPolicy-16549317, ID : 0818e4ff-2cd5-4aa1-829d-589706486388 2025-09-04 02:08:01,981 - INFO - ================================================================================ 2025-09-04 02:08:01,981 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-04 02:08:01,981 - 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-09-04 02:08:02,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.17': '0'}} with 2025-09-04 02:08:02,238 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:08:02,238 - INFO - 2025-09-04 02:08:02,817 - DEBUG - Response for create_network : {'network': {'id': 'c8622d17-c683-4dc3-bcce-8542fad9f0b8', 'name': 'ctest-vn-10070671', 'tenant_id': '0818e4ff2cd54aa1829d589706486388', 'project_id': '0818e4ff2cd54aa1829d589706486388', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16549317', 'ctest-vn-10070671'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:03,024 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c1d9bdb-ec91-4ae2-8cf5-cf03fc674e6c', 'name': '', 'tenant_id': '0818e4ff2cd54aa1829d589706486388', 'network_id': 'c8622d17-c683-4dc3-bcce-8542fad9f0b8', 'ip_version': 4, 'cidr': '203.231.9.192/26', 'allocation_pools': [{'start': '203.231.9.194', 'end': '203.231.9.254'}], 'gateway_ip': '203.231.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.231.9.194', 'tags': [], 'project_id': '0818e4ff2cd54aa1829d589706486388'}} 2025-09-04 02:08:03,046 - INFO - Created VN ctest-vn-10070671 2025-09-04 02:08:03,099 - DEBUG - VN ctest-vn-10070671 UUID is c8622d17-c683-4dc3-bcce-8542fad9f0b8 2025-09-04 02:08:03,422 - DEBUG - Response for create_network : {'network': {'id': 'c711386c-ca97-4fd3-b6e9-c14a0e8d035c', 'name': 'ctest-vn-07161264', 'tenant_id': '0818e4ff2cd54aa1829d589706486388', 'project_id': '0818e4ff2cd54aa1829d589706486388', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16549317', 'ctest-vn-07161264'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:03,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '764868d9-0196-4bcf-8629-2e1f7606f02b', 'name': '', 'tenant_id': '0818e4ff2cd54aa1829d589706486388', 'network_id': 'c711386c-ca97-4fd3-b6e9-c14a0e8d035c', 'ip_version': 4, 'cidr': '217.125.143.0/26', 'allocation_pools': [{'start': '217.125.143.2', 'end': '217.125.143.62'}], 'gateway_ip': '217.125.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.125.143.2', 'tags': [], 'project_id': '0818e4ff2cd54aa1829d589706486388'}} 2025-09-04 02:08:03,635 - INFO - Created VN ctest-vn-07161264 2025-09-04 02:08:03,687 - DEBUG - VN ctest-vn-07161264 UUID is c711386c-ca97-4fd3-b6e9-c14a0e8d035c 2025-09-04 02:08:03,835 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-10070671, 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-16549317:ctest-vn-07161264, 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-09-04 02:08:04,127 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c8622d17-c683-4dc3-bcce-8542fad9f0b8', 'name': 'ctest-vn-10070671', 'tenant_id': '0818e4ff2cd54aa1829d589706486388', 'project_id': '0818e4ff2cd54aa1829d589706486388', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2c1d9bdb-ec91-4ae2-8cf5-cf03fc674e6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16549317', 'ctest-vn-10070671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16549317', 'ctest-policy-allow-all-74970724']], 'subnet_ipam': [{'subnet_cidr': '203.231.9.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:04,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c711386c-ca97-4fd3-b6e9-c14a0e8d035c', 'name': 'ctest-vn-07161264', 'tenant_id': '0818e4ff2cd54aa1829d589706486388', 'project_id': '0818e4ff2cd54aa1829d589706486388', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['764868d9-0196-4bcf-8629-2e1f7606f02b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16549317', 'ctest-vn-07161264'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16549317', 'ctest-policy-allow-all-74970724']], 'subnet_ipam': [{'subnet_cidr': '217.125.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:08:04,483 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-09-04 02:08:04,819 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-09-04 02:08:04,847 - DEBUG - Requesting: http://10.0.0.61:8082/domain/47211a9d-5120-4862-ae7f-ed04415f4c09 2025-09-04 02:08:04,860 - DEBUG - Requesting: http://10.0.0.61:8082/project/0818e4ff-2cd5-4aa1-829d-589706486388 2025-09-04 02:08:04,939 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c8622d17-c683-4dc3-bcce-8542fad9f0b8 2025-09-04 02:08:04,949 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c8622d17-c683-4dc3-bcce-8542fad9f0b8 2025-09-04 02:08:04,958 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/b9f69907-0852-47ee-aee7-3f711128aa0c 2025-09-04 02:08:04,965 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/b9f69907-0852-47ee-aee7-3f711128aa0c 2025-09-04 02:08:04,971 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/beaa83e8-aea7-40bf-a2d0-66a51995e3c9 2025-09-04 02:08:04,977 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 02:08:04,977 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c8622d17-c683-4dc3-bcce-8542fad9f0b8 2025-09-04 02:08:04,985 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/b9f69907-0852-47ee-aee7-3f711128aa0c 2025-09-04 02:08:04,999 - INFO - Verified VN network id 11 for VN c8622d17-c683-4dc3-bcce-8542fad9f0b8 2025-09-04 02:08:04,999 - INFO - Verifications in API Server for VN ctest-vn-10070671 passed 2025-09-04 02:08:04,999 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c8622d17-c683-4dc3-bcce-8542fad9f0b8 2025-09-04 02:08:05,008 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/b9f69907-0852-47ee-aee7-3f711128aa0c 2025-09-04 02:08:05,015 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/b9f69907-0852-47ee-aee7-3f711128aa0c 2025-09-04 02:08:05,021 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/beaa83e8-aea7-40bf-a2d0-66a51995e3c9 2025-09-04 02:08:05,031 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-10070671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16549317', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14439152935441223107', 'uuid-lslong': '13604958047055769784'}, 'enable': 'true', 'created': '2025-09-04T02:08:02', 'last-modified': '2025-09-04T02:08:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929898'} 2025-09-04 02:08:05,039 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 02:08:05,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10070671 passed 2025-09-04 02:08:05,039 - DEBUG - ====Verifying policy data for ctest-vn-10070671 in API_Server ====== 2025-09-04 02:08:05,039 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-09-04 02:08:05,044 - DEBUG - Requesting: http://10.0.0.61:8082/domain/47211a9d-5120-4862-ae7f-ed04415f4c09 2025-09-04 02:08:05,054 - DEBUG - Requesting: http://10.0.0.61:8082/project/0818e4ff-2cd5-4aa1-829d-589706486388 2025-09-04 02:08:05,124 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c8622d17-c683-4dc3-bcce-8542fad9f0b8 2025-09-04 02:08:05,133 - DEBUG - ==>Verifying data for policy with id: 73ebad18-a9b0-4fb4-809d-d2fe4b181a56, fqn: ['default-domain', 'ctest-TestBasicPolicy-16549317', 'ctest-policy-allow-all-74970724'] 2025-09-04 02:08:05,133 - INFO - VN ctest-vn-10070671 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 02:08:05,133 - DEBUG - Verifying the vn in opserver 2025-09-04 02:08:05,133 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-10070671 virtual network link through opserver 10.0.0.61 2025-09-04 02:08:05,133 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks 2025-09-04 02:08:05,464 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks 2025-09-04 02:08:05,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-10070671', 'href': 'http://10.0.0.61:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-10070671?flat'} 2025-09-04 02:08:05,518 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-10070671 is found in opserver 2025-09-04 02:08:05,527 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 02:08:05,531 - DEBUG - VRF ids for VN ctest-vn-10070671: {} 2025-09-04 02:08:05,531 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-09-04 02:08:05,536 - DEBUG - Requesting: http://10.0.0.61:8082/domain/47211a9d-5120-4862-ae7f-ed04415f4c09 2025-09-04 02:08:05,547 - DEBUG - Requesting: http://10.0.0.61:8082/project/0818e4ff-2cd5-4aa1-829d-589706486388 2025-09-04 02:08:05,613 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c711386c-ca97-4fd3-b6e9-c14a0e8d035c 2025-09-04 02:08:05,626 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c711386c-ca97-4fd3-b6e9-c14a0e8d035c 2025-09-04 02:08:05,636 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/4b20912b-ac7d-4e3f-aaf0-dbef8400b2bf 2025-09-04 02:08:05,645 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/4b20912b-ac7d-4e3f-aaf0-dbef8400b2bf 2025-09-04 02:08:05,654 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/dac45c43-52e4-45bc-8697-a99784cd3043 2025-09-04 02:08:05,661 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 02:08:05,661 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c711386c-ca97-4fd3-b6e9-c14a0e8d035c 2025-09-04 02:08:05,670 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/4b20912b-ac7d-4e3f-aaf0-dbef8400b2bf 2025-09-04 02:08:05,684 - INFO - Verified VN network id 12 for VN c711386c-ca97-4fd3-b6e9-c14a0e8d035c 2025-09-04 02:08:05,684 - INFO - Verifications in API Server for VN ctest-vn-07161264 passed 2025-09-04 02:08:05,684 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c711386c-ca97-4fd3-b6e9-c14a0e8d035c 2025-09-04 02:08:05,691 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/4b20912b-ac7d-4e3f-aaf0-dbef8400b2bf 2025-09-04 02:08:05,697 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/4b20912b-ac7d-4e3f-aaf0-dbef8400b2bf 2025-09-04 02:08:05,703 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/dac45c43-52e4-45bc-8697-a99784cd3043 2025-09-04 02:08:05,712 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-07161264', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16549317', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14344308328058277843', 'uuid-lslong': '13180278308292330332'}, 'enable': 'true', 'created': '2025-09-04T02:08:03', 'last-modified': '2025-09-04T02:08:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390326'} 2025-09-04 02:08:05,718 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 02:08:05,718 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07161264 passed 2025-09-04 02:08:05,718 - DEBUG - ====Verifying policy data for ctest-vn-07161264 in API_Server ====== 2025-09-04 02:08:05,718 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-09-04 02:08:05,723 - DEBUG - Requesting: http://10.0.0.61:8082/domain/47211a9d-5120-4862-ae7f-ed04415f4c09 2025-09-04 02:08:05,732 - DEBUG - Requesting: http://10.0.0.61:8082/project/0818e4ff-2cd5-4aa1-829d-589706486388 2025-09-04 02:08:05,799 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/c711386c-ca97-4fd3-b6e9-c14a0e8d035c 2025-09-04 02:08:05,808 - DEBUG - ==>Verifying data for policy with id: 73ebad18-a9b0-4fb4-809d-d2fe4b181a56, fqn: ['default-domain', 'ctest-TestBasicPolicy-16549317', 'ctest-policy-allow-all-74970724'] 2025-09-04 02:08:05,809 - INFO - VN ctest-vn-07161264 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 02:08:05,809 - DEBUG - Verifying the vn in opserver 2025-09-04 02:08:05,809 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-07161264 virtual network link through opserver 10.0.0.61 2025-09-04 02:08:05,809 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks 2025-09-04 02:08:05,818 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-07161264', 'href': 'http://10.0.0.61:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-07161264?flat'} 2025-09-04 02:08:05,818 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-07161264 is found in opserver 2025-09-04 02:08:05,827 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 02:08:05,831 - DEBUG - VRF ids for VN ctest-vn-07161264: {} 2025-09-04 02:08:05,891 - DEBUG - Services list from nova: [, , ] 2025-09-04 02:08:07,004 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4011-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4011-1) 2025-09-04 02:08:08,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4011-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4011-1) 2025-09-04 02:08:08,246 - INFO - Waiting for VM ctest-TestBasicPolicy-16549317-85406648 to be up.. 2025-09-04 02:08:08,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 02:08:13,407 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:08:13,407 - INFO - VM name : ctest-TestBasicPolicy-16549317-85406648 2025-09-04 02:08:13,478 - DEBUG - VM ctest-TestBasicPolicy-16549317-85406648 ID is 760670cb-2345-421f-aa91-8b1673730164 2025-09-04 02:08:13,497 - DEBUG - VM ctest-TestBasicPolicy-16549317-85406648 launched on Node cn-jenkins-deploy-platform-ansible-os-4011-1 2025-09-04 02:08:13,570 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/760670cb-2345-421f-aa91-8b1673730164 2025-09-04 02:08:13,577 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/c76a6309-b70e-4359-a5d6-d5a609324151 2025-09-04 02:08:16,815 - 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 1006ms') 2025-09-04 02:08:16,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16549317-85406648 failed! 2025-09-04 02:08:16,872 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16549317:ctest-vn-10070671 is 203.231.9.193 and allocation pool is NOT set 2025-09-04 02:08:18,938 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.43 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 = 2.427/6.479/10.531/4.052 ms') 2025-09-04 02:08:18,938 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16549317-85406648 passed 2025-09-04 02:08:19,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:08:19,087 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16549317-85406648, IP 203.231.9.195, Port 22 2025-09-04 02:08:19,243 - DEBUG - VM ctest-TestBasicPolicy-16549317-85406648 is ready for SSH connections 2025-09-04 02:08:19,243 - INFO - Waiting for VM ctest-TestBasicPolicy-16549317-60365894 to be up.. 2025-09-04 02:08:19,315 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:08:19,315 - INFO - VM name : ctest-TestBasicPolicy-16549317-60365894 2025-09-04 02:08:19,386 - DEBUG - VM ctest-TestBasicPolicy-16549317-60365894 ID is e55b4c91-d8d8-4880-86e0-ca5adea51015 2025-09-04 02:08:19,386 - DEBUG - VM ctest-TestBasicPolicy-16549317-60365894 launched on Node cn-jenkins-deploy-platform-ansible-os-4011-1 2025-09-04 02:08:19,458 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/e55b4c91-d8d8-4880-86e0-ca5adea51015 2025-09-04 02:08:19,465 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/ced875e8-3a60-4f62-bc72-5d369afc858c 2025-09-04 02:08:20,700 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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.006/2.157/3.309/1.151 ms') 2025-09-04 02:08:20,700 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16549317-60365894 passed 2025-09-04 02:08:20,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:08:20,848 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16549317-60365894, IP 217.125.143.3, Port 22 2025-09-04 02:08:21,003 - DEBUG - VM ctest-TestBasicPolicy-16549317-60365894 is ready for SSH connections 2025-09-04 02:08:21,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:08:21,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.125.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-09-04 02:08:21,003 - DEBUG - ping -s 56 -c 3 -W 1 217.125.143.3 2025-09-04 02:08:25,049 - DEBUG - PING 217.125.143.3 (217.125.143.3): 56 data bytes 64 bytes from 217.125.143.3: seq=0 ttl=63 time=3.548 ms 64 bytes from 217.125.143.3: seq=1 ttl=63 time=0.909 ms 64 bytes from 217.125.143.3: seq=2 ttl=63 time=0.803 ms --- 217.125.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/1.753/3.548 ms 2025-09-04 02:08:25,049 - INFO - Ping to IP 217.125.143.3 from VM ctest-TestBasicPolicy-16549317-85406648 passed 2025-09-04 02:08:25,223 - DEBUG - Policy Update Response {"network-policy": {"uuid": "73ebad18-a9b0-4fb4-809d-d2fe4b181a56", "href": "http://10.0.0.61:8082/network-policy/73ebad18-a9b0-4fb4-809d-d2fe4b181a56"}} 2025-09-04 02:08:25,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:08:25,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.125.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-09-04 02:08:25,223 - DEBUG - ping -s 56 -c 3 -W 1 217.125.143.3 2025-09-04 02:08:28,445 - DEBUG - PING 217.125.143.3 (217.125.143.3): 56 data bytes --- 217.125.143.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 02:08:28,445 - WARNING - Ping to IP 217.125.143.3 from VM ctest-TestBasicPolicy-16549317-85406648 failed 2025-09-04 02:08:28,445 - INFO - Deleting VM ctest-TestBasicPolicy-16549317-60365894 2025-09-04 02:08:28,522 - INFO - Deleting VM ctest-TestBasicPolicy-16549317-85406648 2025-09-04 02:08:28,884 - INFO - Deleted policy ctest-policy-allow-all-74970724 2025-09-04 02:08:28,884 - INFO - Deleting VN ctest-vn-07161264 2025-09-04 02:08:28,918 - DEBUG - VN c711386c-ca97-4fd3-b6e9-c14a0e8d035c still in use: Unable to complete operation on network c711386c-ca97-4fd3-b6e9-c14a0e8d035c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4892293e-d294-4f75-8d2e-c71fe472443b'] 2025-09-04 02:08:28,918 - WARNING - Deleting VN ctest-vn-07161264 failed..Will retry 2025-09-04 02:08:31,014 - DEBUG - Response for deleting network () 2025-09-04 02:08:31,015 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/4b20912b-ac7d-4e3f-aaf0-dbef8400b2bf 2025-09-04 02:08:31,020 - DEBUG - Response Code: 404 2025-09-04 02:08:31,020 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-09-04 02:08:31,025 - DEBUG - Requesting: http://10.0.0.61:8082/domain/47211a9d-5120-4862-ae7f-ed04415f4c09 2025-09-04 02:08:31,080 - DEBUG - Requesting: http://10.0.0.61:8082/project/0818e4ff-2cd5-4aa1-829d-589706486388 2025-09-04 02:08:31,154 - INFO - Validated that VN ctest-vn-07161264 is not found in API Server 2025-09-04 02:08:31,164 - DEBUG - VN ctest-vn-07161264 is not present in Agent 10.0.0.61 2025-09-04 02:08:31,164 - INFO - Validated that VN ctest-vn-07161264 is not in any agent 2025-09-04 02:08:31,176 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07161264 info 2025-09-04 02:08:31,176 - INFO - Deleting VN ctest-vn-10070671 2025-09-04 02:08:31,277 - DEBUG - Response for deleting network () 2025-09-04 02:08:31,277 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/b9f69907-0852-47ee-aee7-3f711128aa0c 2025-09-04 02:08:31,282 - DEBUG - Response Code: 404 2025-09-04 02:08:31,282 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-09-04 02:08:31,287 - DEBUG - Requesting: http://10.0.0.61:8082/domain/47211a9d-5120-4862-ae7f-ed04415f4c09 2025-09-04 02:08:31,340 - DEBUG - Requesting: http://10.0.0.61:8082/project/0818e4ff-2cd5-4aa1-829d-589706486388 2025-09-04 02:08:31,409 - INFO - Validated that VN ctest-vn-10070671 is not found in API Server 2025-09-04 02:08:31,418 - DEBUG - VN ctest-vn-10070671 is not present in Agent 10.0.0.61 2025-09-04 02:08:31,418 - INFO - Validated that VN ctest-vn-10070671 is not in any agent 2025-09-04 02:08:31,431 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10070671 info 2025-09-04 02:08:31,684 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 02:08:31,684 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-04 02:08:31,684 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:08:32,395 - INFO - Deleted project: ctest-TestBasicPolicy-16549317, ID : 0818e4ff-2cd5-4aa1-829d-589706486388