2025-11-20 01:55:01,246 - INFO - Domain Default found not creating 2025-11-20 01:55:01,421 - INFO - Project ctest-TestBasicPolicy-06993620 not found, creating it 2025-11-20 01:55:01,874 - INFO - Created Project:ctest-TestBasicPolicy-06993620, ID : c71ab748-6036-4ddb-a09a-641ddb281eca 2025-11-20 01:55:03,326 - INFO - ================================================================================ 2025-11-20 01:55:03,327 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-20 01:55:03,327 - 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-11-20 01:55:03,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.192': '0'}} with 2025-11-20 01:55:03,582 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:55:03,582 - INFO - 2025-11-20 01:55:04,117 - DEBUG - Response for create_network : {'network': {'id': '73919d71-8122-4ad5-8f7c-90825f06d389', 'name': 'ctest-vn-29344913', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'project_id': 'c71ab74860364ddba09a641ddb281eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-vn-29344913'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:55:04,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5362bb1-32c7-4742-a34d-f7757cc38932', 'name': '', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'network_id': '73919d71-8122-4ad5-8f7c-90825f06d389', 'ip_version': 4, 'cidr': '183.152.172.0/26', 'allocation_pools': [{'start': '183.152.172.2', 'end': '183.152.172.62'}], 'gateway_ip': '183.152.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.152.172.2', 'tags': [], 'project_id': 'c71ab74860364ddba09a641ddb281eca'}} 2025-11-20 01:55:04,303 - INFO - Created VN ctest-vn-29344913 2025-11-20 01:55:04,354 - DEBUG - VN ctest-vn-29344913 UUID is 73919d71-8122-4ad5-8f7c-90825f06d389 2025-11-20 01:55:04,670 - DEBUG - Response for create_network : {'network': {'id': '404f5b36-9858-4b43-a90d-7ca18bdde1b4', 'name': 'ctest-vn-55965384', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'project_id': 'c71ab74860364ddba09a641ddb281eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-vn-55965384'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:55:04,817 - DEBUG - Response for create_subnet : {'subnet': {'id': '16ac16f5-67bf-42be-8787-8dccc0c4b1c8', 'name': '', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'network_id': '404f5b36-9858-4b43-a90d-7ca18bdde1b4', 'ip_version': 4, 'cidr': '179.9.164.64/26', 'allocation_pools': [{'start': '179.9.164.66', 'end': '179.9.164.126'}], 'gateway_ip': '179.9.164.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.9.164.66', 'tags': [], 'project_id': 'c71ab74860364ddba09a641ddb281eca'}} 2025-11-20 01:55:04,833 - INFO - Created VN ctest-vn-55965384 2025-11-20 01:55:04,882 - DEBUG - VN ctest-vn-55965384 UUID is 404f5b36-9858-4b43-a90d-7ca18bdde1b4 2025-11-20 01:55:05,030 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913, 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-06993620:ctest-vn-55965384, 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-11-20 01:55:05,325 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73919d71-8122-4ad5-8f7c-90825f06d389', 'name': 'ctest-vn-29344913', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'project_id': 'c71ab74860364ddba09a641ddb281eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5362bb1-32c7-4742-a34d-f7757cc38932'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-vn-29344913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-policy-allow-all-32978746']], 'subnet_ipam': [{'subnet_cidr': '183.152.172.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:55:05,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '404f5b36-9858-4b43-a90d-7ca18bdde1b4', 'name': 'ctest-vn-55965384', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'project_id': 'c71ab74860364ddba09a641ddb281eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16ac16f5-67bf-42be-8787-8dccc0c4b1c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-vn-55965384'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-policy-allow-all-32978746']], 'subnet_ipam': [{'subnet_cidr': '179.9.164.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:55:05,735 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-20 01:55:06,035 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-20 01:55:06,063 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8 2025-11-20 01:55:06,074 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca 2025-11-20 01:55:06,143 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389 2025-11-20 01:55:06,152 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389 2025-11-20 01:55:06,160 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561 2025-11-20 01:55:06,166 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561 2025-11-20 01:55:06,171 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d1dcbdad-ad76-4bc8-9f9f-d7cbe20f3d8d 2025-11-20 01:55:06,176 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 01:55:06,176 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389 2025-11-20 01:55:06,184 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561 2025-11-20 01:55:06,196 - INFO - Verified VN network id 12 for VN 73919d71-8122-4ad5-8f7c-90825f06d389 2025-11-20 01:55:06,196 - INFO - Verifications in API Server for VN ctest-vn-29344913 passed 2025-11-20 01:55:06,196 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389 2025-11-20 01:55:06,204 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561 2025-11-20 01:55:06,209 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561 2025-11-20 01:55:06,216 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d1dcbdad-ad76-4bc8-9f9f-d7cbe20f3d8d 2025-11-20 01:55:06,226 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06993620', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8327610296808131285', 'uuid-lslong': '10339297734150247305'}, 'enable': 'true', 'created': '2025-11-20T01:55:04', 'last-modified': '2025-11-20T01:55:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925736'} 2025-11-20 01:55:06,231 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 01:55:06,232 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29344913 passed 2025-11-20 01:55:06,232 - DEBUG - ====Verifying policy data for ctest-vn-29344913 in API_Server ====== 2025-11-20 01:55:06,232 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-20 01:55:06,236 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8 2025-11-20 01:55:06,246 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca 2025-11-20 01:55:06,320 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389 2025-11-20 01:55:06,328 - DEBUG - ==>Verifying data for policy with id: abf617b3-6a6c-429e-87fd-3e72f02cd976, fqn: ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-policy-allow-all-32978746'] 2025-11-20 01:55:06,328 - INFO - VN ctest-vn-29344913 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 01:55:06,328 - DEBUG - Verifying the vn in opserver 2025-11-20 01:55:06,328 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913 virtual network link through opserver 10.0.0.65 2025-11-20 01:55:06,328 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-11-20 01:55:06,618 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-11-20 01:55:06,675 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913?flat'} 2025-11-20 01:55:06,676 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913 is found in opserver 2025-11-20 01:55:06,684 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 01:55:06,688 - DEBUG - VRF ids for VN ctest-vn-29344913: {} 2025-11-20 01:55:06,688 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-20 01:55:06,693 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8 2025-11-20 01:55:06,702 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca 2025-11-20 01:55:06,771 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4 2025-11-20 01:55:06,781 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4 2025-11-20 01:55:06,788 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1 2025-11-20 01:55:06,794 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1 2025-11-20 01:55:06,799 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7383a2e1-085e-4272-bb15-5a5622b6263a 2025-11-20 01:55:06,805 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 01:55:06,805 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4 2025-11-20 01:55:06,812 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1 2025-11-20 01:55:06,825 - INFO - Verified VN network id 13 for VN 404f5b36-9858-4b43-a90d-7ca18bdde1b4 2025-11-20 01:55:06,825 - INFO - Verifications in API Server for VN ctest-vn-55965384 passed 2025-11-20 01:55:06,825 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4 2025-11-20 01:55:06,833 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1 2025-11-20 01:55:06,839 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1 2025-11-20 01:55:06,844 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7383a2e1-085e-4272-bb15-5a5622b6263a 2025-11-20 01:55:06,854 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06993620', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4634022831629814595', 'uuid-lslong': '12181529600385212852'}, 'enable': 'true', 'created': '2025-11-20T01:55:04', 'last-modified': '2025-11-20T01:55:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331312'} 2025-11-20 01:55:06,859 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 01:55:06,859 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55965384 passed 2025-11-20 01:55:06,859 - DEBUG - ====Verifying policy data for ctest-vn-55965384 in API_Server ====== 2025-11-20 01:55:06,859 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-20 01:55:06,864 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8 2025-11-20 01:55:06,872 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca 2025-11-20 01:55:06,938 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4 2025-11-20 01:55:06,946 - DEBUG - ==>Verifying data for policy with id: abf617b3-6a6c-429e-87fd-3e72f02cd976, fqn: ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-policy-allow-all-32978746'] 2025-11-20 01:55:06,946 - INFO - VN ctest-vn-55965384 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 01:55:06,946 - DEBUG - Verifying the vn in opserver 2025-11-20 01:55:06,946 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384 virtual network link through opserver 10.0.0.65 2025-11-20 01:55:06,946 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-11-20 01:55:06,954 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384?flat'} 2025-11-20 01:55:06,954 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384 is found in opserver 2025-11-20 01:55:06,963 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 01:55:06,966 - DEBUG - VRF ids for VN ctest-vn-55965384: {} 2025-11-20 01:55:07,019 - DEBUG - Services list from nova: [, , ] 2025-11-20 01:55:08,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4769-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4769-1) 2025-11-20 01:55:09,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4769-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4769-1) 2025-11-20 01:55:09,114 - INFO - Waiting for VM ctest-TestBasicPolicy-06993620-79437311 to be up.. 2025-11-20 01:55:09,186 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 01:55:14,299 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:55:14,299 - INFO - VM name : ctest-TestBasicPolicy-06993620-79437311 2025-11-20 01:55:14,431 - DEBUG - VM ctest-TestBasicPolicy-06993620-79437311 ID is 43b45716-672b-43fb-8e5c-067b0c71e298 2025-11-20 01:55:14,457 - DEBUG - VM ctest-TestBasicPolicy-06993620-79437311 launched on Node cn-jenkins-deploy-platform-ansible-os-4769-1 2025-11-20 01:55:14,620 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/43b45716-672b-43fb-8e5c-067b0c71e298 2025-11-20 01:55:14,637 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/800eb80a-a571-44dd-ada8-281d104cd260 2025-11-20 01:55:17,947 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-11-20 01:55:17,947 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06993620-79437311 failed! 2025-11-20 01:55:18,003 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913 is 183.152.172.1 and allocation pool is NOT set 2025-11-20 01:55:20,068 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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 = 1.027/2.007/2.987/0.980 ms') 2025-11-20 01:55:20,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06993620-79437311 passed 2025-11-20 01:55:20,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:55:20,219 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06993620-79437311, IP 183.152.172.3, Port 22 2025-11-20 01:55:20,378 - DEBUG - VM ctest-TestBasicPolicy-06993620-79437311 is ready for SSH connections 2025-11-20 01:55:20,378 - INFO - Waiting for VM ctest-TestBasicPolicy-06993620-31871151 to be up.. 2025-11-20 01:55:20,450 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:55:20,450 - INFO - VM name : ctest-TestBasicPolicy-06993620-31871151 2025-11-20 01:55:20,518 - DEBUG - VM ctest-TestBasicPolicy-06993620-31871151 ID is 220e6c63-f6a9-41f5-a298-fbc5a6beb1ed 2025-11-20 01:55:20,518 - DEBUG - VM ctest-TestBasicPolicy-06993620-31871151 launched on Node cn-jenkins-deploy-platform-ansible-os-4769-1 2025-11-20 01:55:20,582 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/220e6c63-f6a9-41f5-a298-fbc5a6beb1ed 2025-11-20 01:55:20,589 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/883425c7-74cd-44b5-8d5e-06edfaf761ec 2025-11-20 01:55:21,826 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.537 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.537/1.664/2.792/1.127 ms') 2025-11-20 01:55:21,826 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06993620-31871151 passed 2025-11-20 01:55:21,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:55:21,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06993620-31871151, IP 179.9.164.67, Port 22 2025-11-20 01:55:22,145 - DEBUG - VM ctest-TestBasicPolicy-06993620-31871151 is ready for SSH connections 2025-11-20 01:55:22,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:55:22,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.9.164.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-20 01:55:22,145 - DEBUG - ping -s 56 -c 3 -W 1 179.9.164.67 2025-11-20 01:55:26,153 - DEBUG - PING 179.9.164.67 (179.9.164.67): 56 data bytes 64 bytes from 179.9.164.67: seq=0 ttl=63 time=3.579 ms 64 bytes from 179.9.164.67: seq=1 ttl=63 time=0.855 ms 64 bytes from 179.9.164.67: seq=2 ttl=63 time=0.879 ms --- 179.9.164.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/1.771/3.579 ms 2025-11-20 01:55:26,153 - INFO - Ping to IP 179.9.164.67 from VM ctest-TestBasicPolicy-06993620-79437311 passed 2025-11-20 01:55:26,322 - DEBUG - Policy Update Response {"network-policy": {"uuid": "abf617b3-6a6c-429e-87fd-3e72f02cd976", "href": "http://10.0.0.65:8082/network-policy/abf617b3-6a6c-429e-87fd-3e72f02cd976"}} 2025-11-20 01:55:26,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:55:26,323 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.9.164.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-20 01:55:26,323 - DEBUG - ping -s 56 -c 3 -W 1 179.9.164.67 2025-11-20 01:55:29,533 - DEBUG - PING 179.9.164.67 (179.9.164.67): 56 data bytes --- 179.9.164.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 01:55:29,533 - WARNING - Ping to IP 179.9.164.67 from VM ctest-TestBasicPolicy-06993620-79437311 failed 2025-11-20 01:55:29,534 - INFO - Deleting VM ctest-TestBasicPolicy-06993620-31871151 2025-11-20 01:55:29,606 - INFO - Deleting VM ctest-TestBasicPolicy-06993620-79437311 2025-11-20 01:55:29,981 - INFO - Deleted policy ctest-policy-allow-all-32978746 2025-11-20 01:55:29,981 - INFO - Deleting VN ctest-vn-55965384 2025-11-20 01:55:30,015 - DEBUG - VN 404f5b36-9858-4b43-a90d-7ca18bdde1b4 still in use: Unable to complete operation on network 404f5b36-9858-4b43-a90d-7ca18bdde1b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4621af5-1390-4a63-952f-acb1f0a9f312'] 2025-11-20 01:55:30,015 - WARNING - Deleting VN ctest-vn-55965384 failed..Will retry 2025-11-20 01:55:32,110 - DEBUG - Response for deleting network () 2025-11-20 01:55:32,110 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1 2025-11-20 01:55:32,116 - DEBUG - Response Code: 404 2025-11-20 01:55:32,116 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-20 01:55:32,125 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8 2025-11-20 01:55:32,181 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca 2025-11-20 01:55:32,247 - INFO - Validated that VN ctest-vn-55965384 is not found in API Server 2025-11-20 01:55:32,257 - DEBUG - VN ctest-vn-55965384 is not present in Agent 10.0.0.65 2025-11-20 01:55:32,257 - INFO - Validated that VN ctest-vn-55965384 is not in any agent 2025-11-20 01:55:32,270 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55965384 info 2025-11-20 01:55:32,271 - INFO - Deleting VN ctest-vn-29344913 2025-11-20 01:55:32,377 - DEBUG - Response for deleting network () 2025-11-20 01:55:32,377 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561 2025-11-20 01:55:32,383 - DEBUG - Response Code: 404 2025-11-20 01:55:32,383 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-11-20 01:55:32,387 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8 2025-11-20 01:55:32,439 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca 2025-11-20 01:55:32,508 - INFO - Validated that VN ctest-vn-29344913 is not found in API Server 2025-11-20 01:55:32,516 - DEBUG - VN ctest-vn-29344913 is not present in Agent 10.0.0.65 2025-11-20 01:55:32,516 - INFO - Validated that VN ctest-vn-29344913 is not in any agent 2025-11-20 01:55:32,529 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29344913 info 2025-11-20 01:55:32,791 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 01:55:32,791 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-20 01:55:32,791 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:55:33,473 - INFO - Deleted project: ctest-TestBasicPolicy-06993620, ID : c71ab748-6036-4ddb-a09a-641ddb281eca