2025-06-18 09:12:50,309 - INFO - Domain Default found not creating 2025-06-18 09:12:50,473 - INFO - Project ctest-TestBasicPolicy-37101760 not found, creating it 2025-06-18 09:12:50,963 - INFO - Created Project:ctest-TestBasicPolicy-37101760, ID : f5da53bd-6887-43f5-b6bc-f84ffb720b16 2025-06-18 09:12:52,459 - INFO - ================================================================================ 2025-06-18 09:12:52,459 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-18 09:12:52,460 - 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 09:12:52,714 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-06-18 09:12:52,714 - INFO - Initial checks done. Running the testcase now 2025-06-18 09:12:52,714 - INFO - 2025-06-18 09:12:53,265 - DEBUG - Response for create_network : {'network': {'id': 'e13432c3-be15-4971-bef1-52a3c501d7df', 'name': 'ctest-vn-66836349', 'tenant_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'project_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37101760', 'ctest-vn-66836349'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:12:53,429 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef6de037-9300-46f1-a0d7-fa1d8aefabc1', 'name': '', 'tenant_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'network_id': 'e13432c3-be15-4971-bef1-52a3c501d7df', 'ip_version': 4, 'cidr': '144.104.33.128/26', 'allocation_pools': [{'start': '144.104.33.130', 'end': '144.104.33.190'}], 'gateway_ip': '144.104.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.104.33.130', 'tags': [], 'project_id': 'f5da53bd688743f5b6bcf84ffb720b16'}} 2025-06-18 09:12:53,450 - INFO - Created VN ctest-vn-66836349 2025-06-18 09:12:53,506 - DEBUG - VN ctest-vn-66836349 UUID is e13432c3-be15-4971-bef1-52a3c501d7df 2025-06-18 09:12:53,797 - DEBUG - Response for create_network : {'network': {'id': '119d0ee4-0291-4de0-8393-40c690a064e1', 'name': 'ctest-vn-20499175', 'tenant_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'project_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37101760', 'ctest-vn-20499175'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:12:53,963 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a71df2c-3e89-4816-b61d-0ff9fe28ae5b', 'name': '', 'tenant_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'network_id': '119d0ee4-0291-4de0-8393-40c690a064e1', 'ip_version': 4, 'cidr': '77.26.141.64/26', 'allocation_pools': [{'start': '77.26.141.66', 'end': '77.26.141.126'}], 'gateway_ip': '77.26.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.26.141.66', 'tags': [], 'project_id': 'f5da53bd688743f5b6bcf84ffb720b16'}} 2025-06-18 09:12:53,982 - INFO - Created VN ctest-vn-20499175 2025-06-18 09:12:54,034 - DEBUG - VN ctest-vn-20499175 UUID is 119d0ee4-0291-4de0-8393-40c690a064e1 2025-06-18 09:12:54,159 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-66836349, 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-37101760:ctest-vn-20499175, 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 09:12:54,453 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e13432c3-be15-4971-bef1-52a3c501d7df', 'name': 'ctest-vn-66836349', 'tenant_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'project_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef6de037-9300-46f1-a0d7-fa1d8aefabc1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37101760', 'ctest-vn-66836349'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37101760', 'ctest-policy-allow-all-36330647']], 'subnet_ipam': [{'subnet_cidr': '144.104.33.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:12:54,679 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '119d0ee4-0291-4de0-8393-40c690a064e1', 'name': 'ctest-vn-20499175', 'tenant_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'project_id': 'f5da53bd688743f5b6bcf84ffb720b16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a71df2c-3e89-4816-b61d-0ff9fe28ae5b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37101760', 'ctest-vn-20499175'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37101760', 'ctest-policy-allow-all-36330647']], 'subnet_ipam': [{'subnet_cidr': '77.26.141.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:12:54,850 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 09:12:55,158 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 09:12:55,185 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c50a142b-f675-49a3-bfe2-692afc50ba00 2025-06-18 09:12:55,199 - DEBUG - Requesting: http://10.0.0.254:8082/project/f5da53bd-6887-43f5-b6bc-f84ffb720b16 2025-06-18 09:12:55,282 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e13432c3-be15-4971-bef1-52a3c501d7df 2025-06-18 09:12:55,293 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e13432c3-be15-4971-bef1-52a3c501d7df 2025-06-18 09:12:55,302 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28f40cd5-db0f-4ce0-9c8d-5146a447fd05 2025-06-18 09:12:55,311 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28f40cd5-db0f-4ce0-9c8d-5146a447fd05 2025-06-18 09:12:55,318 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/19cfa127-edfb-4afe-a0b4-a11204f7d45a 2025-06-18 09:12:55,325 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 09:12:55,325 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e13432c3-be15-4971-bef1-52a3c501d7df 2025-06-18 09:12:55,335 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28f40cd5-db0f-4ce0-9c8d-5146a447fd05 2025-06-18 09:12:55,351 - INFO - Verified VN network id 8 for VN e13432c3-be15-4971-bef1-52a3c501d7df 2025-06-18 09:12:55,351 - INFO - Verifications in API Server for VN ctest-vn-66836349 passed 2025-06-18 09:12:55,351 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e13432c3-be15-4971-bef1-52a3c501d7df 2025-06-18 09:12:55,363 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28f40cd5-db0f-4ce0-9c8d-5146a447fd05 2025-06-18 09:12:55,373 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28f40cd5-db0f-4ce0-9c8d-5146a447fd05 2025-06-18 09:12:55,381 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/19cfa127-edfb-4afe-a0b4-a11204f7d45a 2025-06-18 09:12:55,395 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-66836349', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37101760', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16227651173611817329', 'uuid-lslong': '13758869199931955167'}, 'enable': 'true', 'created': '2025-06-18T09:12:53', 'last-modified': '2025-06-18T09:12:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967936'} 2025-06-18 09:12:55,404 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 09:12:55,404 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66836349 passed 2025-06-18 09:12:55,404 - DEBUG - ====Verifying policy data for ctest-vn-66836349 in API_Server ====== 2025-06-18 09:12:55,404 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 09:12:55,411 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c50a142b-f675-49a3-bfe2-692afc50ba00 2025-06-18 09:12:55,424 - DEBUG - Requesting: http://10.0.0.254:8082/project/f5da53bd-6887-43f5-b6bc-f84ffb720b16 2025-06-18 09:12:55,509 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e13432c3-be15-4971-bef1-52a3c501d7df 2025-06-18 09:12:55,520 - DEBUG - ==>Verifying data for policy with id: aca01590-5f24-4243-be08-7ead5e0c666c, fqn: ['default-domain', 'ctest-TestBasicPolicy-37101760', 'ctest-policy-allow-all-36330647'] 2025-06-18 09:12:55,520 - INFO - VN ctest-vn-66836349 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 09:12:55,520 - DEBUG - Verifying the vn in opserver 2025-06-18 09:12:55,520 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-66836349 virtual network link through opserver 10.0.0.254 2025-06-18 09:12:55,520 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 09:12:55,810 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 09:12:55,869 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-66836349', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-66836349?flat'} 2025-06-18 09:12:55,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-66836349 is found in opserver 2025-06-18 09:12:55,881 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 09:12:55,886 - DEBUG - VRF ids for VN ctest-vn-66836349: {} 2025-06-18 09:12:55,886 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 09:12:55,891 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c50a142b-f675-49a3-bfe2-692afc50ba00 2025-06-18 09:12:55,902 - DEBUG - Requesting: http://10.0.0.254:8082/project/f5da53bd-6887-43f5-b6bc-f84ffb720b16 2025-06-18 09:12:55,986 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/119d0ee4-0291-4de0-8393-40c690a064e1 2025-06-18 09:12:56,002 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/119d0ee4-0291-4de0-8393-40c690a064e1 2025-06-18 09:12:56,014 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0c2730e1-9b9a-41ed-bb66-4195d2e76f8c 2025-06-18 09:12:56,022 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0c2730e1-9b9a-41ed-bb66-4195d2e76f8c 2025-06-18 09:12:56,029 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/84bfc395-62c9-4704-a453-845a4310f4af 2025-06-18 09:12:56,036 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 09:12:56,036 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/119d0ee4-0291-4de0-8393-40c690a064e1 2025-06-18 09:12:56,045 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0c2730e1-9b9a-41ed-bb66-4195d2e76f8c 2025-06-18 09:12:56,059 - INFO - Verified VN network id 9 for VN 119d0ee4-0291-4de0-8393-40c690a064e1 2025-06-18 09:12:56,059 - INFO - Verifications in API Server for VN ctest-vn-20499175 passed 2025-06-18 09:12:56,059 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/119d0ee4-0291-4de0-8393-40c690a064e1 2025-06-18 09:12:56,070 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0c2730e1-9b9a-41ed-bb66-4195d2e76f8c 2025-06-18 09:12:56,079 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0c2730e1-9b9a-41ed-bb66-4195d2e76f8c 2025-06-18 09:12:56,088 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/84bfc395-62c9-4704-a453-845a4310f4af 2025-06-18 09:12:56,103 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-20499175', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37101760', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1269187042446757344', 'uuid-lslong': '9480992862119159009'}, 'enable': 'true', 'created': '2025-06-18T09:12:53', 'last-modified': '2025-06-18T09:12:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.451038'} 2025-06-18 09:12:56,111 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 09:12:56,111 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20499175 passed 2025-06-18 09:12:56,111 - DEBUG - ====Verifying policy data for ctest-vn-20499175 in API_Server ====== 2025-06-18 09:12:56,111 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 09:12:56,119 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c50a142b-f675-49a3-bfe2-692afc50ba00 2025-06-18 09:12:56,133 - DEBUG - Requesting: http://10.0.0.254:8082/project/f5da53bd-6887-43f5-b6bc-f84ffb720b16 2025-06-18 09:12:56,211 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/119d0ee4-0291-4de0-8393-40c690a064e1 2025-06-18 09:12:56,221 - DEBUG - ==>Verifying data for policy with id: aca01590-5f24-4243-be08-7ead5e0c666c, fqn: ['default-domain', 'ctest-TestBasicPolicy-37101760', 'ctest-policy-allow-all-36330647'] 2025-06-18 09:12:56,221 - INFO - VN ctest-vn-20499175 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 09:12:56,221 - DEBUG - Verifying the vn in opserver 2025-06-18 09:12:56,221 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-20499175 virtual network link through opserver 10.0.0.254 2025-06-18 09:12:56,221 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 09:12:56,232 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-20499175', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-20499175?flat'} 2025-06-18 09:12:56,232 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-20499175 is found in opserver 2025-06-18 09:12:56,245 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 09:12:56,252 - DEBUG - VRF ids for VN ctest-vn-20499175: {} 2025-06-18 09:12:56,314 - DEBUG - Services list from nova: [, , ] 2025-06-18 09:12:57,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3470-1) 2025-06-18 09:12:58,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3470-1) 2025-06-18 09:12:58,602 - INFO - Waiting for VM ctest-TestBasicPolicy-37101760-78330016 to be up.. 2025-06-18 09:12:58,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 09:13:03,768 - DEBUG - VM is in ACTIVE state now 2025-06-18 09:13:03,768 - INFO - VM name : ctest-TestBasicPolicy-37101760-78330016 2025-06-18 09:13:03,847 - DEBUG - VM ctest-TestBasicPolicy-37101760-78330016 ID is e933236d-910b-43d1-ba37-56c0f093c63f 2025-06-18 09:13:03,866 - DEBUG - VM ctest-TestBasicPolicy-37101760-78330016 launched on Node cn-jenkins-deploy-platform-ansible-os-3470-1 2025-06-18 09:13:03,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e933236d-910b-43d1-ba37-56c0f093c63f 2025-06-18 09:13:03,969 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e305a7b5-e82d-46ea-9ad7-3056b1125213 2025-06-18 09:13:07,198 - 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 09:13:07,198 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37101760-78330016 failed! 2025-06-18 09:13:07,254 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37101760:ctest-vn-66836349 is 144.104.33.129 and allocation pool is NOT set 2025-06-18 09:13:09,318 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.87 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.868/5.371/8.875/3.503 ms') 2025-06-18 09:13:09,318 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37101760-78330016 passed 2025-06-18 09:13:09,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:13:09,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37101760-78330016, IP 144.104.33.131, Port 22 2025-06-18 09:13:09,626 - DEBUG - VM ctest-TestBasicPolicy-37101760-78330016 is ready for SSH connections 2025-06-18 09:13:09,626 - INFO - Waiting for VM ctest-TestBasicPolicy-37101760-62866633 to be up.. 2025-06-18 09:13:09,717 - DEBUG - VM is in ACTIVE state now 2025-06-18 09:13:09,717 - INFO - VM name : ctest-TestBasicPolicy-37101760-62866633 2025-06-18 09:13:09,802 - DEBUG - VM ctest-TestBasicPolicy-37101760-62866633 ID is 9d939506-a571-4e8d-ae35-a5aacdbe5ff5 2025-06-18 09:13:09,802 - DEBUG - VM ctest-TestBasicPolicy-37101760-62866633 launched on Node cn-jenkins-deploy-platform-ansible-os-3470-1 2025-06-18 09:13:09,884 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9d939506-a571-4e8d-ae35-a5aacdbe5ff5 2025-06-18 09:13:09,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/474a694c-8775-4508-9ec9-7dca286b4b1b 2025-06-18 09:13:11,126 - 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.779 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.779/1.882/2.985/1.103 ms') 2025-06-18 09:13:11,126 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37101760-62866633 passed 2025-06-18 09:13:11,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:13:11,274 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37101760-62866633, IP 77.26.141.67, Port 22 2025-06-18 09:13:11,430 - DEBUG - VM ctest-TestBasicPolicy-37101760-62866633 is ready for SSH connections 2025-06-18 09:13:11,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:13:11,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.26.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 09:13:11,431 - DEBUG - ping -s 56 -c 3 -W 1 77.26.141.67 2025-06-18 09:13:15,382 - DEBUG - PING 77.26.141.67 (77.26.141.67): 56 data bytes 64 bytes from 77.26.141.67: seq=0 ttl=63 time=4.634 ms 64 bytes from 77.26.141.67: seq=1 ttl=63 time=0.744 ms 64 bytes from 77.26.141.67: seq=2 ttl=63 time=0.968 ms --- 77.26.141.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/2.115/4.634 ms 2025-06-18 09:13:15,382 - INFO - Ping to IP 77.26.141.67 from VM ctest-TestBasicPolicy-37101760-78330016 passed 2025-06-18 09:13:15,562 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aca01590-5f24-4243-be08-7ead5e0c666c", "href": "http://10.0.0.254:8082/network-policy/aca01590-5f24-4243-be08-7ead5e0c666c"}} 2025-06-18 09:13:15,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:13:15,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.26.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 09:13:15,563 - DEBUG - ping -s 56 -c 3 -W 1 77.26.141.67 2025-06-18 09:13:18,818 - DEBUG - PING 77.26.141.67 (77.26.141.67): 56 data bytes --- 77.26.141.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-18 09:13:18,818 - WARNING - Ping to IP 77.26.141.67 from VM ctest-TestBasicPolicy-37101760-78330016 failed 2025-06-18 09:13:18,818 - INFO - Deleting VM ctest-TestBasicPolicy-37101760-62866633 2025-06-18 09:13:18,883 - INFO - Deleting VM ctest-TestBasicPolicy-37101760-78330016 2025-06-18 09:13:19,271 - INFO - Deleted policy ctest-policy-allow-all-36330647 2025-06-18 09:13:19,271 - INFO - Deleting VN ctest-vn-20499175 2025-06-18 09:13:19,309 - DEBUG - VN 119d0ee4-0291-4de0-8393-40c690a064e1 still in use: Unable to complete operation on network 119d0ee4-0291-4de0-8393-40c690a064e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ac76068-881c-4931-8d96-c6da0ba73e4d'] 2025-06-18 09:13:19,310 - WARNING - Deleting VN ctest-vn-20499175 failed..Will retry 2025-06-18 09:13:21,419 - DEBUG - Response for deleting network () 2025-06-18 09:13:21,420 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0c2730e1-9b9a-41ed-bb66-4195d2e76f8c 2025-06-18 09:13:21,425 - DEBUG - Response Code: 404 2025-06-18 09:13:21,425 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 09:13:21,435 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c50a142b-f675-49a3-bfe2-692afc50ba00 2025-06-18 09:13:21,492 - DEBUG - Requesting: http://10.0.0.254:8082/project/f5da53bd-6887-43f5-b6bc-f84ffb720b16 2025-06-18 09:13:21,573 - INFO - Validated that VN ctest-vn-20499175 is not found in API Server 2025-06-18 09:13:21,586 - DEBUG - VN ctest-vn-20499175 is not present in Agent 10.0.0.254 2025-06-18 09:13:21,586 - INFO - Validated that VN ctest-vn-20499175 is not in any agent 2025-06-18 09:13:21,603 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20499175 info 2025-06-18 09:13:21,603 - INFO - Deleting VN ctest-vn-66836349 2025-06-18 09:13:21,720 - DEBUG - Response for deleting network () 2025-06-18 09:13:21,721 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28f40cd5-db0f-4ce0-9c8d-5146a447fd05 2025-06-18 09:13:21,728 - DEBUG - Response Code: 404 2025-06-18 09:13:21,729 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 09:13:21,738 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c50a142b-f675-49a3-bfe2-692afc50ba00 2025-06-18 09:13:21,792 - DEBUG - Requesting: http://10.0.0.254:8082/project/f5da53bd-6887-43f5-b6bc-f84ffb720b16 2025-06-18 09:13:21,864 - INFO - Validated that VN ctest-vn-66836349 is not found in API Server 2025-06-18 09:13:21,876 - DEBUG - VN ctest-vn-66836349 is not present in Agent 10.0.0.254 2025-06-18 09:13:21,876 - INFO - Validated that VN ctest-vn-66836349 is not in any agent 2025-06-18 09:13:21,893 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66836349 info 2025-06-18 09:13:22,149 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 09:13:22,149 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-18 09:13:22,149 - INFO - -------------------------------------------------------------------------------- 2025-06-18 09:13:22,834 - INFO - Deleted project: ctest-TestBasicPolicy-37101760, ID : f5da53bd-6887-43f5-b6bc-f84ffb720b16