2025-11-13 12:33:48,987 - INFO - Domain Default found not creating 2025-11-13 12:33:49,142 - INFO - Project ctest-TestBasicPolicy-74221662 not found, creating it 2025-11-13 12:33:49,666 - INFO - Created Project:ctest-TestBasicPolicy-74221662, ID : 0a920d78-fc7c-4cbb-892a-03a43698003c 2025-11-13 12:33:51,233 - INFO - ================================================================================ 2025-11-13 12:33:51,233 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-13 12:33:51,233 - 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-13 12:33:51,487 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-13 12:33:51,487 - INFO - Initial checks done. Running the testcase now 2025-11-13 12:33:51,487 - INFO - 2025-11-13 12:33:52,217 - DEBUG - Response for create_network : {'network': {'id': '4b0ecc6f-d9f0-4f89-8167-928308f8a310', 'name': 'ctest-vn-00493581', 'tenant_id': '0a920d78fc7c4cbb892a03a43698003c', 'project_id': '0a920d78fc7c4cbb892a03a43698003c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74221662', 'ctest-vn-00493581'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:33:52,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ed2b0bc-3f6d-4f90-8cb9-f7f8d94a3209', 'name': '', 'tenant_id': '0a920d78fc7c4cbb892a03a43698003c', 'network_id': '4b0ecc6f-d9f0-4f89-8167-928308f8a310', 'ip_version': 4, 'cidr': '31.238.15.64/26', 'allocation_pools': [{'start': '31.238.15.66', 'end': '31.238.15.126'}], 'gateway_ip': '31.238.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.238.15.66', 'tags': [], 'project_id': '0a920d78fc7c4cbb892a03a43698003c'}} 2025-11-13 12:33:52,400 - INFO - Created VN ctest-vn-00493581 2025-11-13 12:33:52,454 - DEBUG - VN ctest-vn-00493581 UUID is 4b0ecc6f-d9f0-4f89-8167-928308f8a310 2025-11-13 12:33:52,752 - DEBUG - Response for create_network : {'network': {'id': '2a835c16-74fa-4583-b282-ef15bd716e06', 'name': 'ctest-vn-15711755', 'tenant_id': '0a920d78fc7c4cbb892a03a43698003c', 'project_id': '0a920d78fc7c4cbb892a03a43698003c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74221662', 'ctest-vn-15711755'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:33:52,952 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c4ee132-8d97-44a2-82e3-59b106f7119a', 'name': '', 'tenant_id': '0a920d78fc7c4cbb892a03a43698003c', 'network_id': '2a835c16-74fa-4583-b282-ef15bd716e06', 'ip_version': 4, 'cidr': '124.5.233.64/26', 'allocation_pools': [{'start': '124.5.233.66', 'end': '124.5.233.126'}], 'gateway_ip': '124.5.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.5.233.66', 'tags': [], 'project_id': '0a920d78fc7c4cbb892a03a43698003c'}} 2025-11-13 12:33:52,969 - INFO - Created VN ctest-vn-15711755 2025-11-13 12:33:53,021 - DEBUG - VN ctest-vn-15711755 UUID is 2a835c16-74fa-4583-b282-ef15bd716e06 2025-11-13 12:33:53,173 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-00493581, 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-74221662:ctest-vn-15711755, 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-13 12:33:53,471 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b0ecc6f-d9f0-4f89-8167-928308f8a310', 'name': 'ctest-vn-00493581', 'tenant_id': '0a920d78fc7c4cbb892a03a43698003c', 'project_id': '0a920d78fc7c4cbb892a03a43698003c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4ed2b0bc-3f6d-4f90-8cb9-f7f8d94a3209'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74221662', 'ctest-vn-00493581'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74221662', 'ctest-policy-allow-all-42361704']], 'subnet_ipam': [{'subnet_cidr': '31.238.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:33:53,713 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a835c16-74fa-4583-b282-ef15bd716e06', 'name': 'ctest-vn-15711755', 'tenant_id': '0a920d78fc7c4cbb892a03a43698003c', 'project_id': '0a920d78fc7c4cbb892a03a43698003c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c4ee132-8d97-44a2-82e3-59b106f7119a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74221662', 'ctest-vn-15711755'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74221662', 'ctest-policy-allow-all-42361704']], 'subnet_ipam': [{'subnet_cidr': '124.5.233.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:33:53,878 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 12:33:54,207 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 12:33:54,239 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d9fb8260-1dc8-4878-808f-c45b262a8892 2025-11-13 12:33:54,251 - DEBUG - Requesting: http://10.0.0.22:8082/project/0a920d78-fc7c-4cbb-892a-03a43698003c 2025-11-13 12:33:54,328 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4b0ecc6f-d9f0-4f89-8167-928308f8a310 2025-11-13 12:33:54,339 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4b0ecc6f-d9f0-4f89-8167-928308f8a310 2025-11-13 12:33:54,348 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/df540cfd-6b3b-456e-953c-d314b507a471 2025-11-13 12:33:54,355 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/df540cfd-6b3b-456e-953c-d314b507a471 2025-11-13 12:33:54,363 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/67e4b9c0-a835-4740-8335-38645f7e7ac2 2025-11-13 12:33:54,371 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 12:33:54,371 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4b0ecc6f-d9f0-4f89-8167-928308f8a310 2025-11-13 12:33:54,382 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/df540cfd-6b3b-456e-953c-d314b507a471 2025-11-13 12:33:54,397 - INFO - Verified VN network id 12 for VN 4b0ecc6f-d9f0-4f89-8167-928308f8a310 2025-11-13 12:33:54,397 - INFO - Verifications in API Server for VN ctest-vn-00493581 passed 2025-11-13 12:33:54,397 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4b0ecc6f-d9f0-4f89-8167-928308f8a310 2025-11-13 12:33:54,407 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/df540cfd-6b3b-456e-953c-d314b507a471 2025-11-13 12:33:54,415 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/df540cfd-6b3b-456e-953c-d314b507a471 2025-11-13 12:33:54,424 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/67e4b9c0-a835-4740-8335-38645f7e7ac2 2025-11-13 12:33:54,437 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-00493581', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74221662', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5408484983288385417', 'uuid-lslong': '9324582644982784784'}, 'enable': 'true', 'created': '2025-11-13T12:33:52', 'last-modified': '2025-11-13T12:33:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984649'} 2025-11-13 12:33:54,443 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 12:33:54,443 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00493581 passed 2025-11-13 12:33:54,443 - DEBUG - ====Verifying policy data for ctest-vn-00493581 in API_Server ====== 2025-11-13 12:33:54,443 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 12:33:54,449 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d9fb8260-1dc8-4878-808f-c45b262a8892 2025-11-13 12:33:54,461 - DEBUG - Requesting: http://10.0.0.22:8082/project/0a920d78-fc7c-4cbb-892a-03a43698003c 2025-11-13 12:33:54,533 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4b0ecc6f-d9f0-4f89-8167-928308f8a310 2025-11-13 12:33:54,542 - DEBUG - ==>Verifying data for policy with id: 5b6d3441-71ee-4a38-82ba-2cc5e21f088b, fqn: ['default-domain', 'ctest-TestBasicPolicy-74221662', 'ctest-policy-allow-all-42361704'] 2025-11-13 12:33:54,542 - INFO - VN ctest-vn-00493581 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 12:33:54,542 - DEBUG - Verifying the vn in opserver 2025-11-13 12:33:54,542 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-00493581 virtual network link through opserver 10.0.0.22 2025-11-13 12:33:54,543 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-13 12:33:54,863 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-13 12:33:54,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-00493581', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-00493581?flat'} 2025-11-13 12:33:54,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-00493581 is found in opserver 2025-11-13 12:33:54,939 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 12:33:54,944 - DEBUG - VRF ids for VN ctest-vn-00493581: {} 2025-11-13 12:33:54,944 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 12:33:54,951 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d9fb8260-1dc8-4878-808f-c45b262a8892 2025-11-13 12:33:54,968 - DEBUG - Requesting: http://10.0.0.22:8082/project/0a920d78-fc7c-4cbb-892a-03a43698003c 2025-11-13 12:33:55,051 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a835c16-74fa-4583-b282-ef15bd716e06 2025-11-13 12:33:55,066 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a835c16-74fa-4583-b282-ef15bd716e06 2025-11-13 12:33:55,077 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c0a90f49-7acd-4c3c-a39b-21415094903f 2025-11-13 12:33:55,085 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c0a90f49-7acd-4c3c-a39b-21415094903f 2025-11-13 12:33:55,093 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8cec0e0c-005a-4f3b-8b62-c2ab993ac69c 2025-11-13 12:33:55,100 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 12:33:55,100 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a835c16-74fa-4583-b282-ef15bd716e06 2025-11-13 12:33:55,110 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c0a90f49-7acd-4c3c-a39b-21415094903f 2025-11-13 12:33:55,127 - INFO - Verified VN network id 13 for VN 2a835c16-74fa-4583-b282-ef15bd716e06 2025-11-13 12:33:55,127 - INFO - Verifications in API Server for VN ctest-vn-15711755 passed 2025-11-13 12:33:55,127 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a835c16-74fa-4583-b282-ef15bd716e06 2025-11-13 12:33:55,138 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c0a90f49-7acd-4c3c-a39b-21415094903f 2025-11-13 12:33:55,149 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c0a90f49-7acd-4c3c-a39b-21415094903f 2025-11-13 12:33:55,159 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8cec0e0c-005a-4f3b-8b62-c2ab993ac69c 2025-11-13 12:33:55,174 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-15711755', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74221662', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3063393423063664003', 'uuid-lslong': '12863106362375237126'}, 'enable': 'true', 'created': '2025-11-13T12:33:52', 'last-modified': '2025-11-13T12:33:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488056'} 2025-11-13 12:33:55,181 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 12:33:55,181 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15711755 passed 2025-11-13 12:33:55,181 - DEBUG - ====Verifying policy data for ctest-vn-15711755 in API_Server ====== 2025-11-13 12:33:55,181 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 12:33:55,188 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d9fb8260-1dc8-4878-808f-c45b262a8892 2025-11-13 12:33:55,199 - DEBUG - Requesting: http://10.0.0.22:8082/project/0a920d78-fc7c-4cbb-892a-03a43698003c 2025-11-13 12:33:55,277 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2a835c16-74fa-4583-b282-ef15bd716e06 2025-11-13 12:33:55,286 - DEBUG - ==>Verifying data for policy with id: 5b6d3441-71ee-4a38-82ba-2cc5e21f088b, fqn: ['default-domain', 'ctest-TestBasicPolicy-74221662', 'ctest-policy-allow-all-42361704'] 2025-11-13 12:33:55,286 - INFO - VN ctest-vn-15711755 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 12:33:55,286 - DEBUG - Verifying the vn in opserver 2025-11-13 12:33:55,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-15711755 virtual network link through opserver 10.0.0.22 2025-11-13 12:33:55,287 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-13 12:33:55,297 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-15711755', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-15711755?flat'} 2025-11-13 12:33:55,297 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-15711755 is found in opserver 2025-11-13 12:33:55,306 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 12:33:55,311 - DEBUG - VRF ids for VN ctest-vn-15711755: {} 2025-11-13 12:33:55,371 - DEBUG - Services list from nova: [, , ] 2025-11-13 12:33:56,448 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4720-1) 2025-11-13 12:33:57,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4720-1) 2025-11-13 12:33:57,603 - INFO - Waiting for VM ctest-TestBasicPolicy-74221662-73213845 to be up.. 2025-11-13 12:33:57,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 12:34:02,754 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:34:02,754 - INFO - VM name : ctest-TestBasicPolicy-74221662-73213845 2025-11-13 12:34:02,828 - DEBUG - VM ctest-TestBasicPolicy-74221662-73213845 ID is 2d3474a2-efad-4afe-9b2e-2dddeebaeff1 2025-11-13 12:34:02,848 - DEBUG - VM ctest-TestBasicPolicy-74221662-73213845 launched on Node cn-jenkins-deploy-platform-ansible-os-4720-1 2025-11-13 12:34:02,921 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2d3474a2-efad-4afe-9b2e-2dddeebaeff1 2025-11-13 12:34:02,930 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e4bfd45d-c775-47f6-81a0-47274d2b2e67 2025-11-13 12:34:06,139 - 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 1015ms') 2025-11-13 12:34:06,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74221662-73213845 failed! 2025-11-13 12:34:06,194 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74221662:ctest-vn-00493581 is 31.238.15.65 and allocation pool is NOT set 2025-11-13 12:34:08,252 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.479 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.479/1.796/3.113/1.317 ms') 2025-11-13 12:34:08,252 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74221662-73213845 passed 2025-11-13 12:34:08,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:34:08,402 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74221662-73213845, IP 31.238.15.67, Port 22 2025-11-13 12:34:08,557 - DEBUG - VM ctest-TestBasicPolicy-74221662-73213845 is ready for SSH connections 2025-11-13 12:34:08,557 - INFO - Waiting for VM ctest-TestBasicPolicy-74221662-89191982 to be up.. 2025-11-13 12:34:08,633 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:34:08,633 - INFO - VM name : ctest-TestBasicPolicy-74221662-89191982 2025-11-13 12:34:08,704 - DEBUG - VM ctest-TestBasicPolicy-74221662-89191982 ID is 7fbdac65-8d01-460a-8a4c-84eecc81efb8 2025-11-13 12:34:08,705 - DEBUG - VM ctest-TestBasicPolicy-74221662-89191982 launched on Node cn-jenkins-deploy-platform-ansible-os-4720-1 2025-11-13 12:34:08,773 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7fbdac65-8d01-460a-8a4c-84eecc81efb8 2025-11-13 12:34:08,782 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/50be522c-f05f-4a55-a123-80097f498b2b 2025-11-13 12:34:10,026 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.561 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.561/2.234/3.907/1.673 ms') 2025-11-13 12:34:10,026 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74221662-89191982 passed 2025-11-13 12:34:10,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:34:10,174 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74221662-89191982, IP 124.5.233.67, Port 22 2025-11-13 12:34:10,333 - DEBUG - VM ctest-TestBasicPolicy-74221662-89191982 is ready for SSH connections 2025-11-13 12:34:10,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:34:10,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.5.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 12:34:10,333 - DEBUG - ping -s 56 -c 3 -W 1 124.5.233.67 2025-11-13 12:34:13,986 - DEBUG - PING 124.5.233.67 (124.5.233.67): 56 data bytes 64 bytes from 124.5.233.67: seq=0 ttl=63 time=3.672 ms 64 bytes from 124.5.233.67: seq=1 ttl=63 time=0.900 ms 64 bytes from 124.5.233.67: seq=2 ttl=63 time=0.854 ms --- 124.5.233.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/1.808/3.672 ms 2025-11-13 12:34:13,986 - INFO - Ping to IP 124.5.233.67 from VM ctest-TestBasicPolicy-74221662-73213845 passed 2025-11-13 12:34:14,161 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5b6d3441-71ee-4a38-82ba-2cc5e21f088b", "href": "http://10.0.0.22:8082/network-policy/5b6d3441-71ee-4a38-82ba-2cc5e21f088b"}} 2025-11-13 12:34:14,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:34:14,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.5.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 12:34:14,161 - DEBUG - ping -s 56 -c 3 -W 1 124.5.233.67 2025-11-13 12:34:17,293 - DEBUG - PING 124.5.233.67 (124.5.233.67): 56 data bytes 64 bytes from 124.5.233.67: seq=0 ttl=63 time=1.512 ms --- 124.5.233.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.512/1.512/1.512 ms 2025-11-13 12:34:17,293 - WARNING - Ping to IP 124.5.233.67 from VM ctest-TestBasicPolicy-74221662-73213845 failed 2025-11-13 12:34:17,293 - INFO - Deleting VM ctest-TestBasicPolicy-74221662-89191982 2025-11-13 12:34:17,356 - INFO - Deleting VM ctest-TestBasicPolicy-74221662-73213845 2025-11-13 12:34:17,717 - INFO - Deleted policy ctest-policy-allow-all-42361704 2025-11-13 12:34:17,718 - INFO - Deleting VN ctest-vn-15711755 2025-11-13 12:34:17,751 - DEBUG - VN 2a835c16-74fa-4583-b282-ef15bd716e06 still in use: Unable to complete operation on network 2a835c16-74fa-4583-b282-ef15bd716e06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8cc9ed76-aede-4016-a53c-f297645933a7'] 2025-11-13 12:34:17,751 - WARNING - Deleting VN ctest-vn-15711755 failed..Will retry 2025-11-13 12:34:19,845 - DEBUG - Response for deleting network () 2025-11-13 12:34:19,845 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c0a90f49-7acd-4c3c-a39b-21415094903f 2025-11-13 12:34:19,851 - DEBUG - Response Code: 404 2025-11-13 12:34:19,851 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 12:34:19,857 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d9fb8260-1dc8-4878-808f-c45b262a8892 2025-11-13 12:34:19,911 - DEBUG - Requesting: http://10.0.0.22:8082/project/0a920d78-fc7c-4cbb-892a-03a43698003c 2025-11-13 12:34:19,995 - INFO - Validated that VN ctest-vn-15711755 is not found in API Server 2025-11-13 12:34:20,007 - DEBUG - VN ctest-vn-15711755 is not present in Agent 10.0.0.22 2025-11-13 12:34:20,007 - INFO - Validated that VN ctest-vn-15711755 is not in any agent 2025-11-13 12:34:20,020 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15711755 info 2025-11-13 12:34:20,021 - INFO - Deleting VN ctest-vn-00493581 2025-11-13 12:34:20,116 - DEBUG - Response for deleting network () 2025-11-13 12:34:20,116 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/df540cfd-6b3b-456e-953c-d314b507a471 2025-11-13 12:34:20,125 - DEBUG - Response Code: 404 2025-11-13 12:34:20,126 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 12:34:20,132 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d9fb8260-1dc8-4878-808f-c45b262a8892 2025-11-13 12:34:20,187 - DEBUG - Requesting: http://10.0.0.22:8082/project/0a920d78-fc7c-4cbb-892a-03a43698003c 2025-11-13 12:34:20,259 - INFO - Validated that VN ctest-vn-00493581 is not found in API Server 2025-11-13 12:34:20,268 - DEBUG - VN ctest-vn-00493581 is not present in Agent 10.0.0.22 2025-11-13 12:34:20,268 - INFO - Validated that VN ctest-vn-00493581 is not in any agent 2025-11-13 12:34:20,281 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00493581 info 2025-11-13 12:34:20,535 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 12:34:20,535 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-13 12:34:20,535 - INFO - -------------------------------------------------------------------------------- 2025-11-13 12:34:21,243 - INFO - Deleted project: ctest-TestBasicPolicy-74221662, ID : 0a920d78-fc7c-4cbb-892a-03a43698003c