2025-10-30 22:23:22,647 - INFO - Domain Default found not creating 2025-10-30 22:23:22,778 - INFO - Project ctest-TestBasicPolicy-05184612 not found, creating it 2025-10-30 22:23:23,194 - INFO - Created Project:ctest-TestBasicPolicy-05184612, ID : 15686415-9d65-47d5-b2aa-d37edaab1b79 2025-10-30 22:23:24,549 - INFO - ================================================================================ 2025-10-30 22:23:24,549 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 22:23:24,550 - 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-10-30 22:23:24,810 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.153': '0'}} with 2025-10-30 22:23:24,810 - INFO - Initial checks done. Running the testcase now 2025-10-30 22:23:24,811 - INFO - 2025-10-30 22:23:25,330 - DEBUG - Response for create_network : {'network': {'id': '5d04fb2f-7932-4e20-9e9e-18bbfd353f31', 'name': 'ctest-vn-41294607', 'tenant_id': '156864159d6547d5b2aad37edaab1b79', 'project_id': '156864159d6547d5b2aad37edaab1b79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05184612', 'ctest-vn-41294607'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:23:25,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '04d83dd7-9415-44e1-9cdc-dd5a6615064e', 'name': '', 'tenant_id': '156864159d6547d5b2aad37edaab1b79', 'network_id': '5d04fb2f-7932-4e20-9e9e-18bbfd353f31', 'ip_version': 4, 'cidr': '25.138.20.128/26', 'allocation_pools': [{'start': '25.138.20.130', 'end': '25.138.20.190'}], 'gateway_ip': '25.138.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.138.20.130', 'tags': [], 'project_id': '156864159d6547d5b2aad37edaab1b79'}} 2025-10-30 22:23:25,517 - INFO - Created VN ctest-vn-41294607 2025-10-30 22:23:25,568 - DEBUG - VN ctest-vn-41294607 UUID is 5d04fb2f-7932-4e20-9e9e-18bbfd353f31 2025-10-30 22:23:25,890 - DEBUG - Response for create_network : {'network': {'id': 'ce3c1a25-22d9-40b5-9b65-509938d5d21e', 'name': 'ctest-vn-52356938', 'tenant_id': '156864159d6547d5b2aad37edaab1b79', 'project_id': '156864159d6547d5b2aad37edaab1b79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05184612', 'ctest-vn-52356938'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:23:26,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bd60c7f-8bca-413c-948c-420796d9c9db', 'name': '', 'tenant_id': '156864159d6547d5b2aad37edaab1b79', 'network_id': 'ce3c1a25-22d9-40b5-9b65-509938d5d21e', 'ip_version': 4, 'cidr': '28.94.138.0/26', 'allocation_pools': [{'start': '28.94.138.2', 'end': '28.94.138.62'}], 'gateway_ip': '28.94.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.94.138.2', 'tags': [], 'project_id': '156864159d6547d5b2aad37edaab1b79'}} 2025-10-30 22:23:26,101 - INFO - Created VN ctest-vn-52356938 2025-10-30 22:23:26,156 - DEBUG - VN ctest-vn-52356938 UUID is ce3c1a25-22d9-40b5-9b65-509938d5d21e 2025-10-30 22:23:26,304 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-41294607, 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-05184612:ctest-vn-52356938, 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-10-30 22:23:26,582 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d04fb2f-7932-4e20-9e9e-18bbfd353f31', 'name': 'ctest-vn-41294607', 'tenant_id': '156864159d6547d5b2aad37edaab1b79', 'project_id': '156864159d6547d5b2aad37edaab1b79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['04d83dd7-9415-44e1-9cdc-dd5a6615064e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05184612', 'ctest-vn-41294607'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05184612', 'ctest-policy-allow-all-76341462']], 'subnet_ipam': [{'subnet_cidr': '25.138.20.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:23:26,797 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce3c1a25-22d9-40b5-9b65-509938d5d21e', 'name': 'ctest-vn-52356938', 'tenant_id': '156864159d6547d5b2aad37edaab1b79', 'project_id': '156864159d6547d5b2aad37edaab1b79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0bd60c7f-8bca-413c-948c-420796d9c9db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05184612', 'ctest-vn-52356938'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05184612', 'ctest-policy-allow-all-76341462']], 'subnet_ipam': [{'subnet_cidr': '28.94.138.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:23:26,912 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 22:23:27,206 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 22:23:27,233 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ce87f7e5-e2d5-4a4b-9d51-34ba94d3a13f 2025-10-30 22:23:27,243 - DEBUG - Requesting: http://10.0.0.242:8082/project/15686415-9d65-47d5-b2aa-d37edaab1b79 2025-10-30 22:23:27,312 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d04fb2f-7932-4e20-9e9e-18bbfd353f31 2025-10-30 22:23:27,322 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d04fb2f-7932-4e20-9e9e-18bbfd353f31 2025-10-30 22:23:27,330 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6536c93f-3686-4c19-8279-d85281ca9a69 2025-10-30 22:23:27,335 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6536c93f-3686-4c19-8279-d85281ca9a69 2025-10-30 22:23:27,340 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/66cfe349-6a3d-4ecb-9b2b-9601cb42845a 2025-10-30 22:23:27,344 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 22:23:27,344 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d04fb2f-7932-4e20-9e9e-18bbfd353f31 2025-10-30 22:23:27,351 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6536c93f-3686-4c19-8279-d85281ca9a69 2025-10-30 22:23:27,361 - INFO - Verified VN network id 12 for VN 5d04fb2f-7932-4e20-9e9e-18bbfd353f31 2025-10-30 22:23:27,362 - INFO - Verifications in API Server for VN ctest-vn-41294607 passed 2025-10-30 22:23:27,362 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d04fb2f-7932-4e20-9e9e-18bbfd353f31 2025-10-30 22:23:27,368 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6536c93f-3686-4c19-8279-d85281ca9a69 2025-10-30 22:23:27,374 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6536c93f-3686-4c19-8279-d85281ca9a69 2025-10-30 22:23:27,379 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/66cfe349-6a3d-4ecb-9b2b-9601cb42845a 2025-10-30 22:23:27,388 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-41294607', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05184612', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6702758326749515296', 'uuid-lslong': '11429600099998973745'}, 'enable': 'true', 'created': '2025-10-30T22:23:25', 'last-modified': '2025-10-30T22:23:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.827666'} 2025-10-30 22:23:27,392 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 22:23:27,393 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41294607 passed 2025-10-30 22:23:27,393 - DEBUG - ====Verifying policy data for ctest-vn-41294607 in API_Server ====== 2025-10-30 22:23:27,393 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 22:23:27,397 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ce87f7e5-e2d5-4a4b-9d51-34ba94d3a13f 2025-10-30 22:23:27,405 - DEBUG - Requesting: http://10.0.0.242:8082/project/15686415-9d65-47d5-b2aa-d37edaab1b79 2025-10-30 22:23:27,473 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d04fb2f-7932-4e20-9e9e-18bbfd353f31 2025-10-30 22:23:27,481 - DEBUG - ==>Verifying data for policy with id: f0b9a6f6-a947-43d4-977d-cd0878143296, fqn: ['default-domain', 'ctest-TestBasicPolicy-05184612', 'ctest-policy-allow-all-76341462'] 2025-10-30 22:23:27,481 - INFO - VN ctest-vn-41294607 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 22:23:27,481 - DEBUG - Verifying the vn in opserver 2025-10-30 22:23:27,481 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-41294607 virtual network link through opserver 10.0.0.242 2025-10-30 22:23:27,481 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-30 22:23:27,767 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-30 22:23:27,814 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-41294607', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-41294607?flat'} 2025-10-30 22:23:27,814 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-41294607 is found in opserver 2025-10-30 22:23:27,823 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 22:23:27,826 - DEBUG - VRF ids for VN ctest-vn-41294607: {} 2025-10-30 22:23:27,826 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 22:23:27,831 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ce87f7e5-e2d5-4a4b-9d51-34ba94d3a13f 2025-10-30 22:23:27,841 - DEBUG - Requesting: http://10.0.0.242:8082/project/15686415-9d65-47d5-b2aa-d37edaab1b79 2025-10-30 22:23:27,910 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ce3c1a25-22d9-40b5-9b65-509938d5d21e 2025-10-30 22:23:27,921 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ce3c1a25-22d9-40b5-9b65-509938d5d21e 2025-10-30 22:23:27,931 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8c6d3289-6e3c-4260-8d9b-6c298285d933 2025-10-30 22:23:27,937 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8c6d3289-6e3c-4260-8d9b-6c298285d933 2025-10-30 22:23:27,943 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/de082d91-ef5f-4ea3-adf6-4e0b308f95e4 2025-10-30 22:23:27,949 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 22:23:27,949 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ce3c1a25-22d9-40b5-9b65-509938d5d21e 2025-10-30 22:23:27,957 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8c6d3289-6e3c-4260-8d9b-6c298285d933 2025-10-30 22:23:27,968 - INFO - Verified VN network id 13 for VN ce3c1a25-22d9-40b5-9b65-509938d5d21e 2025-10-30 22:23:27,968 - INFO - Verifications in API Server for VN ctest-vn-52356938 passed 2025-10-30 22:23:27,968 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ce3c1a25-22d9-40b5-9b65-509938d5d21e 2025-10-30 22:23:27,975 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8c6d3289-6e3c-4260-8d9b-6c298285d933 2025-10-30 22:23:27,981 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8c6d3289-6e3c-4260-8d9b-6c298285d933 2025-10-30 22:23:27,986 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/de082d91-ef5f-4ea3-adf6-4e0b308f95e4 2025-10-30 22:23:27,996 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-52356938', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05184612', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14860781617216569525', 'uuid-lslong': '11197444667540361758'}, 'enable': 'true', 'created': '2025-10-30T22:23:25', 'last-modified': '2025-10-30T22:23:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.217957'} 2025-10-30 22:23:28,001 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 22:23:28,001 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52356938 passed 2025-10-30 22:23:28,001 - DEBUG - ====Verifying policy data for ctest-vn-52356938 in API_Server ====== 2025-10-30 22:23:28,001 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 22:23:28,007 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ce87f7e5-e2d5-4a4b-9d51-34ba94d3a13f 2025-10-30 22:23:28,016 - DEBUG - Requesting: http://10.0.0.242:8082/project/15686415-9d65-47d5-b2aa-d37edaab1b79 2025-10-30 22:23:28,098 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ce3c1a25-22d9-40b5-9b65-509938d5d21e 2025-10-30 22:23:28,107 - DEBUG - ==>Verifying data for policy with id: f0b9a6f6-a947-43d4-977d-cd0878143296, fqn: ['default-domain', 'ctest-TestBasicPolicy-05184612', 'ctest-policy-allow-all-76341462'] 2025-10-30 22:23:28,107 - INFO - VN ctest-vn-52356938 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 22:23:28,107 - DEBUG - Verifying the vn in opserver 2025-10-30 22:23:28,107 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-52356938 virtual network link through opserver 10.0.0.242 2025-10-30 22:23:28,107 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-30 22:23:28,117 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-52356938', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-52356938?flat'} 2025-10-30 22:23:28,117 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-52356938 is found in opserver 2025-10-30 22:23:28,125 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 22:23:28,128 - DEBUG - VRF ids for VN ctest-vn-52356938: {} 2025-10-30 22:23:28,177 - DEBUG - Services list from nova: [, , ] 2025-10-30 22:23:29,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4561-1) 2025-10-30 22:23:30,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4561-1) 2025-10-30 22:23:30,257 - INFO - Waiting for VM ctest-TestBasicPolicy-05184612-14695969 to be up.. 2025-10-30 22:23:30,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 22:23:35,408 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:23:35,408 - INFO - VM name : ctest-TestBasicPolicy-05184612-14695969 2025-10-30 22:23:35,473 - DEBUG - VM ctest-TestBasicPolicy-05184612-14695969 ID is 40aacd19-8b2a-4f06-a720-f9bf5a48a152 2025-10-30 22:23:35,489 - DEBUG - VM ctest-TestBasicPolicy-05184612-14695969 launched on Node cn-jenkins-deploy-platform-ansible-os-4561-1 2025-10-30 22:23:35,551 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/40aacd19-8b2a-4f06-a720-f9bf5a48a152 2025-10-30 22:23:35,558 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f43cc99c-c51b-4dc4-8844-5f2f91c21fd1 2025-10-30 22:23:38,794 - 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-10-30 22:23:38,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05184612-14695969 failed! 2025-10-30 22:23:38,848 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05184612:ctest-vn-41294607 is 25.138.20.129 and allocation pool is NOT set 2025-10-30 22:23:40,910 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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 = 0.441/1.598/2.756/1.157 ms') 2025-10-30 22:23:40,911 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05184612-14695969 passed 2025-10-30 22:23:41,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:23:41,065 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05184612-14695969, IP 25.138.20.131, Port 22 2025-10-30 22:23:41,216 - DEBUG - VM ctest-TestBasicPolicy-05184612-14695969 is ready for SSH connections 2025-10-30 22:23:41,216 - INFO - Waiting for VM ctest-TestBasicPolicy-05184612-01201510 to be up.. 2025-10-30 22:23:41,282 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:23:41,283 - INFO - VM name : ctest-TestBasicPolicy-05184612-01201510 2025-10-30 22:23:41,345 - DEBUG - VM ctest-TestBasicPolicy-05184612-01201510 ID is a37ed5e4-fd35-417a-84dd-1a976d2ca2b1 2025-10-30 22:23:41,346 - DEBUG - VM ctest-TestBasicPolicy-05184612-01201510 launched on Node cn-jenkins-deploy-platform-ansible-os-4561-1 2025-10-30 22:23:41,414 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a37ed5e4-fd35-417a-84dd-1a976d2ca2b1 2025-10-30 22:23:41,422 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0a6ced1c-d17f-49f2-9d9c-9bc1fab3a59d 2025-10-30 22:23:42,652 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.591/2.762/1.170 ms') 2025-10-30 22:23:42,652 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05184612-01201510 passed 2025-10-30 22:23:42,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:23:42,801 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05184612-01201510, IP 28.94.138.3, Port 22 2025-10-30 22:23:42,951 - DEBUG - VM ctest-TestBasicPolicy-05184612-01201510 is ready for SSH connections 2025-10-30 22:23:42,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:23:42,952 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.94.138.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 22:23:42,952 - DEBUG - ping -s 56 -c 3 -W 1 28.94.138.3 2025-10-30 22:23:46,692 - DEBUG - PING 28.94.138.3 (28.94.138.3): 56 data bytes 64 bytes from 28.94.138.3: seq=0 ttl=63 time=4.722 ms 64 bytes from 28.94.138.3: seq=1 ttl=63 time=0.839 ms 64 bytes from 28.94.138.3: seq=2 ttl=63 time=0.731 ms --- 28.94.138.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/2.097/4.722 ms 2025-10-30 22:23:46,692 - INFO - Ping to IP 28.94.138.3 from VM ctest-TestBasicPolicy-05184612-14695969 passed 2025-10-30 22:23:46,872 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f0b9a6f6-a947-43d4-977d-cd0878143296", "href": "http://10.0.0.242:8082/network-policy/f0b9a6f6-a947-43d4-977d-cd0878143296"}} 2025-10-30 22:23:46,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:23:46,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.94.138.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 22:23:46,873 - DEBUG - ping -s 56 -c 3 -W 1 28.94.138.3 2025-10-30 22:23:50,079 - DEBUG - PING 28.94.138.3 (28.94.138.3): 56 data bytes --- 28.94.138.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 22:23:50,079 - WARNING - Ping to IP 28.94.138.3 from VM ctest-TestBasicPolicy-05184612-14695969 failed 2025-10-30 22:23:50,079 - INFO - Deleting VM ctest-TestBasicPolicy-05184612-01201510 2025-10-30 22:23:50,142 - INFO - Deleting VM ctest-TestBasicPolicy-05184612-14695969 2025-10-30 22:23:50,488 - INFO - Deleted policy ctest-policy-allow-all-76341462 2025-10-30 22:23:50,488 - INFO - Deleting VN ctest-vn-52356938 2025-10-30 22:23:50,525 - DEBUG - VN ce3c1a25-22d9-40b5-9b65-509938d5d21e still in use: Unable to complete operation on network ce3c1a25-22d9-40b5-9b65-509938d5d21e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-881adfc5-2e31-49fd-b662-4363b7579667'] 2025-10-30 22:23:50,525 - WARNING - Deleting VN ctest-vn-52356938 failed..Will retry 2025-10-30 22:23:52,617 - DEBUG - Response for deleting network () 2025-10-30 22:23:52,617 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8c6d3289-6e3c-4260-8d9b-6c298285d933 2025-10-30 22:23:52,621 - DEBUG - Response Code: 404 2025-10-30 22:23:52,622 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 22:23:52,626 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ce87f7e5-e2d5-4a4b-9d51-34ba94d3a13f 2025-10-30 22:23:52,678 - DEBUG - Requesting: http://10.0.0.242:8082/project/15686415-9d65-47d5-b2aa-d37edaab1b79 2025-10-30 22:23:52,744 - INFO - Validated that VN ctest-vn-52356938 is not found in API Server 2025-10-30 22:23:52,753 - DEBUG - VN ctest-vn-52356938 is not present in Agent 10.0.0.242 2025-10-30 22:23:52,753 - INFO - Validated that VN ctest-vn-52356938 is not in any agent 2025-10-30 22:23:52,764 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52356938 info 2025-10-30 22:23:52,764 - INFO - Deleting VN ctest-vn-41294607 2025-10-30 22:23:52,856 - DEBUG - Response for deleting network () 2025-10-30 22:23:52,856 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6536c93f-3686-4c19-8279-d85281ca9a69 2025-10-30 22:23:52,861 - DEBUG - Response Code: 404 2025-10-30 22:23:52,861 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-30 22:23:52,865 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ce87f7e5-e2d5-4a4b-9d51-34ba94d3a13f 2025-10-30 22:23:52,918 - DEBUG - Requesting: http://10.0.0.242:8082/project/15686415-9d65-47d5-b2aa-d37edaab1b79 2025-10-30 22:23:52,984 - INFO - Validated that VN ctest-vn-41294607 is not found in API Server 2025-10-30 22:23:52,993 - DEBUG - VN ctest-vn-41294607 is not present in Agent 10.0.0.242 2025-10-30 22:23:52,993 - INFO - Validated that VN ctest-vn-41294607 is not in any agent 2025-10-30 22:23:53,005 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41294607 info 2025-10-30 22:23:53,257 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 22:23:53,257 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-30 22:23:53,257 - INFO - -------------------------------------------------------------------------------- 2025-10-30 22:23:53,901 - INFO - Deleted project: ctest-TestBasicPolicy-05184612, ID : 15686415-9d65-47d5-b2aa-d37edaab1b79