2025-06-18 14:24:47,295 - INFO - Domain Default found not creating 2025-06-18 14:24:47,561 - INFO - Project ctest-TestBasicPolicy-77599544 not found, creating it 2025-06-18 14:24:48,051 - INFO - Created Project:ctest-TestBasicPolicy-77599544, ID : ed0e1048-7131-49a0-b701-3d4dc86b941f 2025-06-18 14:24:49,579 - INFO - ================================================================================ 2025-06-18 14:24:49,580 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-18 14:24:49,580 - 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-06-18 14:24:49,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-18 14:24:49,836 - INFO - Initial checks done. Running the testcase now 2025-06-18 14:24:49,837 - INFO - 2025-06-18 14:24:50,389 - DEBUG - Response for create_network : {'network': {'id': '9840951d-92db-4c08-a265-d9fdcea064ce', 'name': 'ctest-vn-38022686', 'tenant_id': 'ed0e1048713149a0b7013d4dc86b941f', 'project_id': 'ed0e1048713149a0b7013d4dc86b941f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77599544', 'ctest-vn-38022686'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 14:24:50,554 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b97bb890-568b-46ee-8547-20e8f38a15a1', 'name': '', 'tenant_id': 'ed0e1048713149a0b7013d4dc86b941f', 'network_id': '9840951d-92db-4c08-a265-d9fdcea064ce', 'ip_version': 4, 'cidr': '123.174.87.0/26', 'allocation_pools': [{'start': '123.174.87.2', 'end': '123.174.87.62'}], 'gateway_ip': '123.174.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.174.87.2', 'tags': [], 'project_id': 'ed0e1048713149a0b7013d4dc86b941f'}} 2025-06-18 14:24:50,573 - INFO - Created VN ctest-vn-38022686 2025-06-18 14:24:50,627 - DEBUG - VN ctest-vn-38022686 UUID is 9840951d-92db-4c08-a265-d9fdcea064ce 2025-06-18 14:24:50,963 - DEBUG - Response for create_network : {'network': {'id': '0a13fd72-3deb-414a-a528-bf5dc90d7d3a', 'name': 'ctest-vn-02262224', 'tenant_id': 'ed0e1048713149a0b7013d4dc86b941f', 'project_id': 'ed0e1048713149a0b7013d4dc86b941f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77599544', 'ctest-vn-02262224'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 14:24:51,170 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4ebd993-72fd-4699-9548-67a4d28dd3d0', 'name': '', 'tenant_id': 'ed0e1048713149a0b7013d4dc86b941f', 'network_id': '0a13fd72-3deb-414a-a528-bf5dc90d7d3a', 'ip_version': 4, 'cidr': '34.104.197.0/26', 'allocation_pools': [{'start': '34.104.197.2', 'end': '34.104.197.62'}], 'gateway_ip': '34.104.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.104.197.2', 'tags': [], 'project_id': 'ed0e1048713149a0b7013d4dc86b941f'}} 2025-06-18 14:24:51,188 - INFO - Created VN ctest-vn-02262224 2025-06-18 14:24:51,243 - DEBUG - VN ctest-vn-02262224 UUID is 0a13fd72-3deb-414a-a528-bf5dc90d7d3a 2025-06-18 14:24:51,364 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-38022686, 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-77599544:ctest-vn-02262224, 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-06-18 14:24:51,668 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9840951d-92db-4c08-a265-d9fdcea064ce', 'name': 'ctest-vn-38022686', 'tenant_id': 'ed0e1048713149a0b7013d4dc86b941f', 'project_id': 'ed0e1048713149a0b7013d4dc86b941f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b97bb890-568b-46ee-8547-20e8f38a15a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77599544', 'ctest-vn-38022686'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77599544', 'ctest-policy-allow-all-49062482']], 'subnet_ipam': [{'subnet_cidr': '123.174.87.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 14:24:51,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a13fd72-3deb-414a-a528-bf5dc90d7d3a', 'name': 'ctest-vn-02262224', 'tenant_id': 'ed0e1048713149a0b7013d4dc86b941f', 'project_id': 'ed0e1048713149a0b7013d4dc86b941f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a4ebd993-72fd-4699-9548-67a4d28dd3d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77599544', 'ctest-vn-02262224'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77599544', 'ctest-policy-allow-all-49062482']], 'subnet_ipam': [{'subnet_cidr': '34.104.197.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 14:24:52,047 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 14:24:52,364 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 14:24:52,396 - DEBUG - Requesting: http://10.0.0.254:8082/domain/518d22b5-f3c3-4ab1-8538-722f619c8f23 2025-06-18 14:24:52,411 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed0e1048-7131-49a0-b701-3d4dc86b941f 2025-06-18 14:24:52,488 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9840951d-92db-4c08-a265-d9fdcea064ce 2025-06-18 14:24:52,503 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9840951d-92db-4c08-a265-d9fdcea064ce 2025-06-18 14:24:52,514 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/06b10e02-1991-4b82-b6d6-454811c0f421 2025-06-18 14:24:52,533 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/06b10e02-1991-4b82-b6d6-454811c0f421 2025-06-18 14:24:52,543 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/787b42ef-21fe-4d72-9769-ea2d7b7385c2 2025-06-18 14:24:52,551 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 14:24:52,551 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9840951d-92db-4c08-a265-d9fdcea064ce 2025-06-18 14:24:52,562 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/06b10e02-1991-4b82-b6d6-454811c0f421 2025-06-18 14:24:52,578 - INFO - Verified VN network id 8 for VN 9840951d-92db-4c08-a265-d9fdcea064ce 2025-06-18 14:24:52,578 - INFO - Verifications in API Server for VN ctest-vn-38022686 passed 2025-06-18 14:24:52,578 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9840951d-92db-4c08-a265-d9fdcea064ce 2025-06-18 14:24:52,589 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/06b10e02-1991-4b82-b6d6-454811c0f421 2025-06-18 14:24:52,600 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/06b10e02-1991-4b82-b6d6-454811c0f421 2025-06-18 14:24:52,608 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/787b42ef-21fe-4d72-9769-ea2d7b7385c2 2025-06-18 14:24:52,624 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-38022686', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77599544', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10970932646524963848', 'uuid-lslong': '11701998890908673230'}, 'enable': 'true', 'created': '2025-06-18T14:24:50', 'last-modified': '2025-06-18T14:24:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979018'} 2025-06-18 14:24:52,633 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 14:24:52,633 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38022686 passed 2025-06-18 14:24:52,634 - DEBUG - ====Verifying policy data for ctest-vn-38022686 in API_Server ====== 2025-06-18 14:24:52,634 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 14:24:52,641 - DEBUG - Requesting: http://10.0.0.254:8082/domain/518d22b5-f3c3-4ab1-8538-722f619c8f23 2025-06-18 14:24:52,656 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed0e1048-7131-49a0-b701-3d4dc86b941f 2025-06-18 14:24:52,735 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9840951d-92db-4c08-a265-d9fdcea064ce 2025-06-18 14:24:52,746 - DEBUG - ==>Verifying data for policy with id: 6fffaf99-3932-45d3-860a-a767040f8c86, fqn: ['default-domain', 'ctest-TestBasicPolicy-77599544', 'ctest-policy-allow-all-49062482'] 2025-06-18 14:24:52,747 - INFO - VN ctest-vn-38022686 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 14:24:52,747 - DEBUG - Verifying the vn in opserver 2025-06-18 14:24:52,747 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-38022686 virtual network link through opserver 10.0.0.254 2025-06-18 14:24:52,747 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 14:24:53,040 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 14:24:53,098 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-38022686', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-38022686?flat'} 2025-06-18 14:24:53,098 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-38022686 is found in opserver 2025-06-18 14:24:53,109 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 14:24:53,114 - DEBUG - VRF ids for VN ctest-vn-38022686: {} 2025-06-18 14:24:53,114 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 14:24:53,120 - DEBUG - Requesting: http://10.0.0.254:8082/domain/518d22b5-f3c3-4ab1-8538-722f619c8f23 2025-06-18 14:24:53,132 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed0e1048-7131-49a0-b701-3d4dc86b941f 2025-06-18 14:24:53,205 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a13fd72-3deb-414a-a528-bf5dc90d7d3a 2025-06-18 14:24:53,218 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a13fd72-3deb-414a-a528-bf5dc90d7d3a 2025-06-18 14:24:53,228 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81ebd172-2cbc-4e09-a50e-0467f87c90ff 2025-06-18 14:24:53,237 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81ebd172-2cbc-4e09-a50e-0467f87c90ff 2025-06-18 14:24:53,246 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/abd06a20-d384-4b0c-ab54-0429ae295481 2025-06-18 14:24:53,256 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 14:24:53,256 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a13fd72-3deb-414a-a528-bf5dc90d7d3a 2025-06-18 14:24:53,269 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81ebd172-2cbc-4e09-a50e-0467f87c90ff 2025-06-18 14:24:53,289 - INFO - Verified VN network id 9 for VN 0a13fd72-3deb-414a-a528-bf5dc90d7d3a 2025-06-18 14:24:53,290 - INFO - Verifications in API Server for VN ctest-vn-02262224 passed 2025-06-18 14:24:53,290 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a13fd72-3deb-414a-a528-bf5dc90d7d3a 2025-06-18 14:24:53,304 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81ebd172-2cbc-4e09-a50e-0467f87c90ff 2025-06-18 14:24:53,312 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81ebd172-2cbc-4e09-a50e-0467f87c90ff 2025-06-18 14:24:53,320 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/abd06a20-d384-4b0c-ab54-0429ae295481 2025-06-18 14:24:53,337 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-02262224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77599544', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '726202632043708746', 'uuid-lslong': '11900972424852503866'}, 'enable': 'true', 'created': '2025-06-18T14:24:50', 'last-modified': '2025-06-18T14:24:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.465105'} 2025-06-18 14:24:53,346 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 14:24:53,346 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02262224 passed 2025-06-18 14:24:53,346 - DEBUG - ====Verifying policy data for ctest-vn-02262224 in API_Server ====== 2025-06-18 14:24:53,346 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 14:24:53,353 - DEBUG - Requesting: http://10.0.0.254:8082/domain/518d22b5-f3c3-4ab1-8538-722f619c8f23 2025-06-18 14:24:53,366 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed0e1048-7131-49a0-b701-3d4dc86b941f 2025-06-18 14:24:53,444 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a13fd72-3deb-414a-a528-bf5dc90d7d3a 2025-06-18 14:24:53,455 - DEBUG - ==>Verifying data for policy with id: 6fffaf99-3932-45d3-860a-a767040f8c86, fqn: ['default-domain', 'ctest-TestBasicPolicy-77599544', 'ctest-policy-allow-all-49062482'] 2025-06-18 14:24:53,455 - INFO - VN ctest-vn-02262224 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 14:24:53,455 - DEBUG - Verifying the vn in opserver 2025-06-18 14:24:53,455 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-02262224 virtual network link through opserver 10.0.0.254 2025-06-18 14:24:53,455 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 14:24:53,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-02262224', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-02262224?flat'} 2025-06-18 14:24:53,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-02262224 is found in opserver 2025-06-18 14:24:53,477 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 14:24:53,483 - DEBUG - VRF ids for VN ctest-vn-02262224: {} 2025-06-18 14:24:53,540 - DEBUG - Services list from nova: [, , ] 2025-06-18 14:24:54,574 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3475-1) 2025-06-18 14:24:55,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3475-1) 2025-06-18 14:24:55,849 - INFO - Waiting for VM ctest-TestBasicPolicy-77599544-55676485 to be up.. 2025-06-18 14:24:55,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 14:25:01,030 - DEBUG - VM is in ACTIVE state now 2025-06-18 14:25:01,030 - INFO - VM name : ctest-TestBasicPolicy-77599544-55676485 2025-06-18 14:25:01,128 - DEBUG - VM ctest-TestBasicPolicy-77599544-55676485 ID is b57f85bf-d5fc-4da0-b6cf-0ce6033bd33e 2025-06-18 14:25:01,153 - DEBUG - VM ctest-TestBasicPolicy-77599544-55676485 launched on Node cn-jenkins-deploy-platform-ansible-os-3475-1 2025-06-18 14:25:01,239 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b57f85bf-d5fc-4da0-b6cf-0ce6033bd33e 2025-06-18 14:25:01,251 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a0730ec9-d5c9-4301-b07d-740e334fd982 2025-06-18 14:25:04,519 - 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-06-18 14:25:04,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77599544-55676485 failed! 2025-06-18 14:25:04,575 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77599544:ctest-vn-38022686 is 123.174.87.1 and allocation pool is NOT set 2025-06-18 14:25:06,640 - 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=7.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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 = 1.263/4.558/7.854/3.295 ms') 2025-06-18 14:25:06,640 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77599544-55676485 passed 2025-06-18 14:25:06,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 14:25:06,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77599544-55676485, IP 123.174.87.3, Port 22 2025-06-18 14:25:06,950 - DEBUG - VM ctest-TestBasicPolicy-77599544-55676485 is ready for SSH connections 2025-06-18 14:25:06,951 - INFO - Waiting for VM ctest-TestBasicPolicy-77599544-99420393 to be up.. 2025-06-18 14:25:07,054 - DEBUG - VM is in ACTIVE state now 2025-06-18 14:25:07,054 - INFO - VM name : ctest-TestBasicPolicy-77599544-99420393 2025-06-18 14:25:07,156 - DEBUG - VM ctest-TestBasicPolicy-77599544-99420393 ID is 37313f77-f717-4abc-88bd-38c1458961e9 2025-06-18 14:25:07,156 - DEBUG - VM ctest-TestBasicPolicy-77599544-99420393 launched on Node cn-jenkins-deploy-platform-ansible-os-3475-1 2025-06-18 14:25:07,267 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/37313f77-f717-4abc-88bd-38c1458961e9 2025-06-18 14:25:07,277 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/eb9c4307-36ee-42a5-91d5-0c4337a3f2ef 2025-06-18 14:25:08,529 - 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=4.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.158/2.988/4.818/1.830 ms') 2025-06-18 14:25:08,529 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77599544-99420393 passed 2025-06-18 14:25:08,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 14:25:08,679 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77599544-99420393, IP 34.104.197.3, Port 22 2025-06-18 14:25:08,842 - DEBUG - VM ctest-TestBasicPolicy-77599544-99420393 is ready for SSH connections 2025-06-18 14:25:08,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 14:25:08,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.104.197.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 14:25:08,843 - DEBUG - ping -s 56 -c 3 -W 1 34.104.197.3 2025-06-18 14:25:12,871 - DEBUG - PING 34.104.197.3 (34.104.197.3): 56 data bytes 64 bytes from 34.104.197.3: seq=0 ttl=63 time=3.844 ms 64 bytes from 34.104.197.3: seq=1 ttl=63 time=1.030 ms 64 bytes from 34.104.197.3: seq=2 ttl=63 time=1.401 ms --- 34.104.197.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.030/2.091/3.844 ms 2025-06-18 14:25:12,872 - INFO - Ping to IP 34.104.197.3 from VM ctest-TestBasicPolicy-77599544-55676485 passed 2025-06-18 14:25:13,055 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6fffaf99-3932-45d3-860a-a767040f8c86", "href": "http://10.0.0.254:8082/network-policy/6fffaf99-3932-45d3-860a-a767040f8c86"}} 2025-06-18 14:25:13,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 14:25:13,055 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.104.197.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 14:25:13,055 - DEBUG - ping -s 56 -c 3 -W 1 34.104.197.3 2025-06-18 14:25:16,279 - DEBUG - PING 34.104.197.3 (34.104.197.3): 56 data bytes --- 34.104.197.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-18 14:25:16,279 - WARNING - Ping to IP 34.104.197.3 from VM ctest-TestBasicPolicy-77599544-55676485 failed 2025-06-18 14:25:16,279 - INFO - Deleting VM ctest-TestBasicPolicy-77599544-99420393 2025-06-18 14:25:16,363 - INFO - Deleting VM ctest-TestBasicPolicy-77599544-55676485 2025-06-18 14:25:16,742 - INFO - Deleted policy ctest-policy-allow-all-49062482 2025-06-18 14:25:16,742 - INFO - Deleting VN ctest-vn-02262224 2025-06-18 14:25:16,786 - DEBUG - VN 0a13fd72-3deb-414a-a528-bf5dc90d7d3a still in use: Unable to complete operation on network 0a13fd72-3deb-414a-a528-bf5dc90d7d3a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36ffcaae-64fa-4bff-a07f-ba0676aaf2e3'] 2025-06-18 14:25:16,786 - WARNING - Deleting VN ctest-vn-02262224 failed..Will retry 2025-06-18 14:25:19,205 - DEBUG - Response for deleting network () 2025-06-18 14:25:19,206 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81ebd172-2cbc-4e09-a50e-0467f87c90ff 2025-06-18 14:25:19,221 - DEBUG - Response Code: 404 2025-06-18 14:25:19,221 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 14:25:19,229 - DEBUG - Requesting: http://10.0.0.254:8082/domain/518d22b5-f3c3-4ab1-8538-722f619c8f23 2025-06-18 14:25:19,295 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed0e1048-7131-49a0-b701-3d4dc86b941f 2025-06-18 14:25:19,370 - INFO - Validated that VN ctest-vn-02262224 is not found in API Server 2025-06-18 14:25:19,384 - DEBUG - VN ctest-vn-02262224 is not present in Agent 10.0.0.254 2025-06-18 14:25:19,384 - INFO - Validated that VN ctest-vn-02262224 is not in any agent 2025-06-18 14:25:19,405 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02262224 info 2025-06-18 14:25:19,405 - INFO - Deleting VN ctest-vn-38022686 2025-06-18 14:25:19,524 - DEBUG - Response for deleting network () 2025-06-18 14:25:19,524 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/06b10e02-1991-4b82-b6d6-454811c0f421 2025-06-18 14:25:19,530 - DEBUG - Response Code: 404 2025-06-18 14:25:19,530 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 14:25:19,538 - DEBUG - Requesting: http://10.0.0.254:8082/domain/518d22b5-f3c3-4ab1-8538-722f619c8f23 2025-06-18 14:25:19,592 - DEBUG - Requesting: http://10.0.0.254:8082/project/ed0e1048-7131-49a0-b701-3d4dc86b941f 2025-06-18 14:25:19,669 - INFO - Validated that VN ctest-vn-38022686 is not found in API Server 2025-06-18 14:25:19,686 - DEBUG - VN ctest-vn-38022686 is not present in Agent 10.0.0.254 2025-06-18 14:25:19,686 - INFO - Validated that VN ctest-vn-38022686 is not in any agent 2025-06-18 14:25:19,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38022686 info 2025-06-18 14:25:19,971 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 14:25:19,971 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-18 14:25:19,971 - INFO - -------------------------------------------------------------------------------- 2025-06-18 14:25:20,665 - INFO - Deleted project: ctest-TestBasicPolicy-77599544, ID : ed0e1048-7131-49a0-b701-3d4dc86b941f