2025-09-11 15:38:14,610 - INFO - Domain Default found not creating 2025-09-11 15:38:14,769 - INFO - Project ctest-TestBasicPolicy-63397067 not found, creating it 2025-09-11 15:38:15,239 - INFO - Created Project:ctest-TestBasicPolicy-63397067, ID : 7a74c13b-06ac-4a56-b533-dc790c52658b 2025-09-11 15:38:17,341 - INFO - ================================================================================ 2025-09-11 15:38:17,341 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 15:38:17,341 - 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-11 15:38:17,617 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 15:38:17,617 - INFO - Initial checks done. Running the testcase now 2025-09-11 15:38:17,617 - INFO - 2025-09-11 15:38:18,180 - DEBUG - Response for create_network : {'network': {'id': '949cc8a9-36f1-46b4-a2cc-ee083600690f', 'name': 'ctest-vn-09430757', 'tenant_id': '7a74c13b06ac4a56b533dc790c52658b', 'project_id': '7a74c13b06ac4a56b533dc790c52658b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63397067', 'ctest-vn-09430757'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:38:18,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d067152-b7ec-4c12-91d7-5dcd37b78656', 'name': '', 'tenant_id': '7a74c13b06ac4a56b533dc790c52658b', 'network_id': '949cc8a9-36f1-46b4-a2cc-ee083600690f', 'ip_version': 4, 'cidr': '32.15.16.128/26', 'allocation_pools': [{'start': '32.15.16.130', 'end': '32.15.16.190'}], 'gateway_ip': '32.15.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.15.16.130', 'tags': [], 'project_id': '7a74c13b06ac4a56b533dc790c52658b'}} 2025-09-11 15:38:18,369 - INFO - Created VN ctest-vn-09430757 2025-09-11 15:38:18,422 - DEBUG - VN ctest-vn-09430757 UUID is 949cc8a9-36f1-46b4-a2cc-ee083600690f 2025-09-11 15:38:18,708 - DEBUG - Response for create_network : {'network': {'id': 'a5a934b4-583c-487a-88ee-3484fb5bed38', 'name': 'ctest-vn-45393573', 'tenant_id': '7a74c13b06ac4a56b533dc790c52658b', 'project_id': '7a74c13b06ac4a56b533dc790c52658b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63397067', 'ctest-vn-45393573'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:38:18,937 - DEBUG - Response for create_subnet : {'subnet': {'id': '38295700-5a8a-498a-b868-b7ad02fcca5b', 'name': '', 'tenant_id': '7a74c13b06ac4a56b533dc790c52658b', 'network_id': 'a5a934b4-583c-487a-88ee-3484fb5bed38', 'ip_version': 4, 'cidr': '11.82.152.192/26', 'allocation_pools': [{'start': '11.82.152.194', 'end': '11.82.152.254'}], 'gateway_ip': '11.82.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.82.152.194', 'tags': [], 'project_id': '7a74c13b06ac4a56b533dc790c52658b'}} 2025-09-11 15:38:18,955 - INFO - Created VN ctest-vn-45393573 2025-09-11 15:38:19,006 - DEBUG - VN ctest-vn-45393573 UUID is a5a934b4-583c-487a-88ee-3484fb5bed38 2025-09-11 15:38:19,158 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-09430757, 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-63397067:ctest-vn-45393573, 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-11 15:38:19,448 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '949cc8a9-36f1-46b4-a2cc-ee083600690f', 'name': 'ctest-vn-09430757', 'tenant_id': '7a74c13b06ac4a56b533dc790c52658b', 'project_id': '7a74c13b06ac4a56b533dc790c52658b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d067152-b7ec-4c12-91d7-5dcd37b78656'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63397067', 'ctest-vn-09430757'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63397067', 'ctest-policy-allow-all-95206683']], 'subnet_ipam': [{'subnet_cidr': '32.15.16.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:38:19,679 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a5a934b4-583c-487a-88ee-3484fb5bed38', 'name': 'ctest-vn-45393573', 'tenant_id': '7a74c13b06ac4a56b533dc790c52658b', 'project_id': '7a74c13b06ac4a56b533dc790c52658b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['38295700-5a8a-498a-b868-b7ad02fcca5b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63397067', 'ctest-vn-45393573'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63397067', 'ctest-policy-allow-all-95206683']], 'subnet_ipam': [{'subnet_cidr': '11.82.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:38:19,842 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 15:38:20,137 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 15:38:20,165 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b51e17f8-b020-45bc-89db-83df02a5b2c7 2025-09-11 15:38:20,177 - DEBUG - Requesting: http://10.0.0.254:8082/project/7a74c13b-06ac-4a56-b533-dc790c52658b 2025-09-11 15:38:20,250 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/949cc8a9-36f1-46b4-a2cc-ee083600690f 2025-09-11 15:38:20,260 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/949cc8a9-36f1-46b4-a2cc-ee083600690f 2025-09-11 15:38:20,269 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7534f848-3bda-4243-88d9-25546c78ebb1 2025-09-11 15:38:20,275 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7534f848-3bda-4243-88d9-25546c78ebb1 2025-09-11 15:38:20,283 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/38759518-1f27-4383-96c4-12181e530104 2025-09-11 15:38:20,290 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 15:38:20,290 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/949cc8a9-36f1-46b4-a2cc-ee083600690f 2025-09-11 15:38:20,298 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7534f848-3bda-4243-88d9-25546c78ebb1 2025-09-11 15:38:20,313 - INFO - Verified VN network id 11 for VN 949cc8a9-36f1-46b4-a2cc-ee083600690f 2025-09-11 15:38:20,313 - INFO - Verifications in API Server for VN ctest-vn-09430757 passed 2025-09-11 15:38:20,313 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/949cc8a9-36f1-46b4-a2cc-ee083600690f 2025-09-11 15:38:20,323 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7534f848-3bda-4243-88d9-25546c78ebb1 2025-09-11 15:38:20,330 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7534f848-3bda-4243-88d9-25546c78ebb1 2025-09-11 15:38:20,336 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/38759518-1f27-4383-96c4-12181e530104 2025-09-11 15:38:20,349 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-09430757', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63397067', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10708654643077007028', 'uuid-lslong': '11731012848426445071'}, 'enable': 'true', 'created': '2025-09-11T15:38:18', 'last-modified': '2025-09-11T15:38:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918376'} 2025-09-11 15:38:20,355 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 15:38:20,355 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09430757 passed 2025-09-11 15:38:20,356 - DEBUG - ====Verifying policy data for ctest-vn-09430757 in API_Server ====== 2025-09-11 15:38:20,356 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 15:38:20,362 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b51e17f8-b020-45bc-89db-83df02a5b2c7 2025-09-11 15:38:20,373 - DEBUG - Requesting: http://10.0.0.254:8082/project/7a74c13b-06ac-4a56-b533-dc790c52658b 2025-09-11 15:38:20,442 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/949cc8a9-36f1-46b4-a2cc-ee083600690f 2025-09-11 15:38:20,451 - DEBUG - ==>Verifying data for policy with id: cc14b11c-b4ad-442f-96ce-45b793ab489c, fqn: ['default-domain', 'ctest-TestBasicPolicy-63397067', 'ctest-policy-allow-all-95206683'] 2025-09-11 15:38:20,452 - INFO - VN ctest-vn-09430757 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 15:38:20,452 - DEBUG - Verifying the vn in opserver 2025-09-11 15:38:20,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-09430757 virtual network link through opserver 10.0.0.254 2025-09-11 15:38:20,452 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 15:38:20,754 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 15:38:20,814 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-09430757', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-09430757?flat'} 2025-09-11 15:38:20,814 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-09430757 is found in opserver 2025-09-11 15:38:20,824 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 15:38:20,829 - DEBUG - VRF ids for VN ctest-vn-09430757: {} 2025-09-11 15:38:20,829 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 15:38:20,835 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b51e17f8-b020-45bc-89db-83df02a5b2c7 2025-09-11 15:38:20,848 - DEBUG - Requesting: http://10.0.0.254:8082/project/7a74c13b-06ac-4a56-b533-dc790c52658b 2025-09-11 15:38:20,919 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a5a934b4-583c-487a-88ee-3484fb5bed38 2025-09-11 15:38:20,931 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a5a934b4-583c-487a-88ee-3484fb5bed38 2025-09-11 15:38:20,940 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0234e3dd-b8a7-443a-b802-8c4c8d2e35f9 2025-09-11 15:38:20,947 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0234e3dd-b8a7-443a-b802-8c4c8d2e35f9 2025-09-11 15:38:20,953 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0a64dba1-d2d6-4cc1-921b-999405fb4c26 2025-09-11 15:38:20,960 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 15:38:20,960 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a5a934b4-583c-487a-88ee-3484fb5bed38 2025-09-11 15:38:20,969 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0234e3dd-b8a7-443a-b802-8c4c8d2e35f9 2025-09-11 15:38:20,983 - INFO - Verified VN network id 12 for VN a5a934b4-583c-487a-88ee-3484fb5bed38 2025-09-11 15:38:20,983 - INFO - Verifications in API Server for VN ctest-vn-45393573 passed 2025-09-11 15:38:20,983 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a5a934b4-583c-487a-88ee-3484fb5bed38 2025-09-11 15:38:20,995 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0234e3dd-b8a7-443a-b802-8c4c8d2e35f9 2025-09-11 15:38:21,004 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0234e3dd-b8a7-443a-b802-8c4c8d2e35f9 2025-09-11 15:38:21,012 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0a64dba1-d2d6-4cc1-921b-999405fb4c26 2025-09-11 15:38:21,026 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-45393573', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63397067', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11937130236501313658', 'uuid-lslong': '9866881579372768568'}, 'enable': 'true', 'created': '2025-09-11T15:38:18', 'last-modified': '2025-09-11T15:38:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.369433'} 2025-09-11 15:38:21,033 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 15:38:21,033 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45393573 passed 2025-09-11 15:38:21,033 - DEBUG - ====Verifying policy data for ctest-vn-45393573 in API_Server ====== 2025-09-11 15:38:21,033 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 15:38:21,039 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b51e17f8-b020-45bc-89db-83df02a5b2c7 2025-09-11 15:38:21,050 - DEBUG - Requesting: http://10.0.0.254:8082/project/7a74c13b-06ac-4a56-b533-dc790c52658b 2025-09-11 15:38:21,118 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a5a934b4-583c-487a-88ee-3484fb5bed38 2025-09-11 15:38:21,127 - DEBUG - ==>Verifying data for policy with id: cc14b11c-b4ad-442f-96ce-45b793ab489c, fqn: ['default-domain', 'ctest-TestBasicPolicy-63397067', 'ctest-policy-allow-all-95206683'] 2025-09-11 15:38:21,127 - INFO - VN ctest-vn-45393573 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 15:38:21,127 - DEBUG - Verifying the vn in opserver 2025-09-11 15:38:21,127 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-45393573 virtual network link through opserver 10.0.0.254 2025-09-11 15:38:21,127 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 15:38:21,137 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-45393573', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-45393573?flat'} 2025-09-11 15:38:21,137 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-45393573 is found in opserver 2025-09-11 15:38:21,146 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 15:38:21,150 - DEBUG - VRF ids for VN ctest-vn-45393573: {} 2025-09-11 15:38:21,209 - DEBUG - Services list from nova: [, , ] 2025-09-11 15:38:22,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1) 2025-09-11 15:38:23,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1) 2025-09-11 15:38:23,404 - INFO - Waiting for VM ctest-TestBasicPolicy-63397067-79970574 to be up.. 2025-09-11 15:38:23,487 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 15:38:28,571 - DEBUG - VM is in ACTIVE state now 2025-09-11 15:38:28,571 - INFO - VM name : ctest-TestBasicPolicy-63397067-79970574 2025-09-11 15:38:28,665 - DEBUG - VM ctest-TestBasicPolicy-63397067-79970574 ID is de503e44-b1a7-4d76-9046-4fe65d27fa5e 2025-09-11 15:38:28,685 - DEBUG - VM ctest-TestBasicPolicy-63397067-79970574 launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1 2025-09-11 15:38:28,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/de503e44-b1a7-4d76-9046-4fe65d27fa5e 2025-09-11 15:38:28,779 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/520a8497-bd68-4efc-886e-e3b419b51f98 2025-09-11 15:38:31,997 - 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-11 15:38:31,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63397067-79970574 failed! 2025-09-11 15:38:32,050 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63397067:ctest-vn-09430757 is 32.15.16.129 and allocation pool is NOT set 2025-09-11 15:38:34,116 - 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=8.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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.358/5.469/8.580/3.111 ms') 2025-09-11 15:38:34,116 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63397067-79970574 passed 2025-09-11 15:38:34,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:38:34,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63397067-79970574, IP 32.15.16.131, Port 22 2025-09-11 15:38:34,436 - DEBUG - VM ctest-TestBasicPolicy-63397067-79970574 is ready for SSH connections 2025-09-11 15:38:34,436 - INFO - Waiting for VM ctest-TestBasicPolicy-63397067-92486709 to be up.. 2025-09-11 15:38:34,533 - DEBUG - VM is in ACTIVE state now 2025-09-11 15:38:34,534 - INFO - VM name : ctest-TestBasicPolicy-63397067-92486709 2025-09-11 15:38:34,619 - DEBUG - VM ctest-TestBasicPolicy-63397067-92486709 ID is 5e72b446-daf4-4058-95ff-9aff1feac4eb 2025-09-11 15:38:34,619 - DEBUG - VM ctest-TestBasicPolicy-63397067-92486709 launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1 2025-09-11 15:38:34,693 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5e72b446-daf4-4058-95ff-9aff1feac4eb 2025-09-11 15:38:34,702 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/812916fa-9ce6-4405-bc7d-3132c5c119c8 2025-09-11 15:38:35,948 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.713/2.990/1.277 ms') 2025-09-11 15:38:35,948 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63397067-92486709 passed 2025-09-11 15:38:36,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:38:36,098 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63397067-92486709, IP 11.82.152.195, Port 22 2025-09-11 15:38:36,258 - DEBUG - VM ctest-TestBasicPolicy-63397067-92486709 is ready for SSH connections 2025-09-11 15:38:36,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:38:36,258 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.82.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 15:38:36,258 - DEBUG - ping -s 56 -c 3 -W 1 11.82.152.195 2025-09-11 15:38:40,319 - DEBUG - PING 11.82.152.195 (11.82.152.195): 56 data bytes 64 bytes from 11.82.152.195: seq=0 ttl=63 time=3.685 ms 64 bytes from 11.82.152.195: seq=1 ttl=63 time=0.875 ms 64 bytes from 11.82.152.195: seq=2 ttl=63 time=0.972 ms --- 11.82.152.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/1.844/3.685 ms 2025-09-11 15:38:40,319 - INFO - Ping to IP 11.82.152.195 from VM ctest-TestBasicPolicy-63397067-79970574 passed 2025-09-11 15:38:40,494 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cc14b11c-b4ad-442f-96ce-45b793ab489c", "href": "http://10.0.0.254:8082/network-policy/cc14b11c-b4ad-442f-96ce-45b793ab489c"}} 2025-09-11 15:38:40,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:38:40,494 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.82.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 15:38:40,494 - DEBUG - ping -s 56 -c 3 -W 1 11.82.152.195 2025-09-11 15:38:43,718 - DEBUG - PING 11.82.152.195 (11.82.152.195): 56 data bytes --- 11.82.152.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 15:38:43,718 - WARNING - Ping to IP 11.82.152.195 from VM ctest-TestBasicPolicy-63397067-79970574 failed 2025-09-11 15:38:43,718 - INFO - Deleting VM ctest-TestBasicPolicy-63397067-92486709 2025-09-11 15:38:43,792 - INFO - Deleting VM ctest-TestBasicPolicy-63397067-79970574 2025-09-11 15:38:44,194 - INFO - Deleted policy ctest-policy-allow-all-95206683 2025-09-11 15:38:44,194 - INFO - Deleting VN ctest-vn-45393573 2025-09-11 15:38:44,241 - DEBUG - VN a5a934b4-583c-487a-88ee-3484fb5bed38 still in use: Unable to complete operation on network a5a934b4-583c-487a-88ee-3484fb5bed38. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-660ce40b-77e3-4a1f-ae64-5c75940f8360'] 2025-09-11 15:38:44,241 - WARNING - Deleting VN ctest-vn-45393573 failed..Will retry 2025-09-11 15:38:46,357 - DEBUG - Response for deleting network () 2025-09-11 15:38:46,358 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0234e3dd-b8a7-443a-b802-8c4c8d2e35f9 2025-09-11 15:38:46,363 - DEBUG - Response Code: 404 2025-09-11 15:38:46,363 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 15:38:46,368 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b51e17f8-b020-45bc-89db-83df02a5b2c7 2025-09-11 15:38:46,419 - DEBUG - Requesting: http://10.0.0.254:8082/project/7a74c13b-06ac-4a56-b533-dc790c52658b 2025-09-11 15:38:46,487 - INFO - Validated that VN ctest-vn-45393573 is not found in API Server 2025-09-11 15:38:46,496 - DEBUG - VN ctest-vn-45393573 is not present in Agent 10.0.0.254 2025-09-11 15:38:46,496 - INFO - Validated that VN ctest-vn-45393573 is not in any agent 2025-09-11 15:38:46,510 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45393573 info 2025-09-11 15:38:46,510 - INFO - Deleting VN ctest-vn-09430757 2025-09-11 15:38:46,604 - DEBUG - Response for deleting network () 2025-09-11 15:38:46,604 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7534f848-3bda-4243-88d9-25546c78ebb1 2025-09-11 15:38:46,609 - DEBUG - Response Code: 404 2025-09-11 15:38:46,609 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 15:38:46,613 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b51e17f8-b020-45bc-89db-83df02a5b2c7 2025-09-11 15:38:46,667 - DEBUG - Requesting: http://10.0.0.254:8082/project/7a74c13b-06ac-4a56-b533-dc790c52658b 2025-09-11 15:38:46,741 - INFO - Validated that VN ctest-vn-09430757 is not found in API Server 2025-09-11 15:38:46,750 - DEBUG - VN ctest-vn-09430757 is not present in Agent 10.0.0.254 2025-09-11 15:38:46,750 - INFO - Validated that VN ctest-vn-09430757 is not in any agent 2025-09-11 15:38:46,763 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09430757 info 2025-09-11 15:38:47,019 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 15:38:47,019 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-09-11 15:38:47,019 - INFO - -------------------------------------------------------------------------------- 2025-09-11 15:38:47,727 - INFO - Deleted project: ctest-TestBasicPolicy-63397067, ID : 7a74c13b-06ac-4a56-b533-dc790c52658b