2025-11-07 09:33:28,342 - INFO - Domain Default found not creating 2025-11-07 09:33:28,478 - INFO - Project ctest-TestBasicPolicy-61985890 not found, creating it 2025-11-07 09:33:28,911 - INFO - Created Project:ctest-TestBasicPolicy-61985890, ID : bc978cd4-a3f1-4549-b547-1cb61a3de17f 2025-11-07 09:33:30,306 - INFO - ================================================================================ 2025-11-07 09:33:30,306 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-07 09:33:30,306 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-07 09:33:30,566 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-11-07 09:33:30,566 - INFO - Initial checks done. Running the testcase now 2025-11-07 09:33:30,566 - INFO - 2025-11-07 09:33:31,119 - DEBUG - Response for create_network : {'network': {'id': '5866ee9f-8140-484a-a182-ad7e9183ddf0', 'name': 'ctest-vn-00962531', 'tenant_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'project_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61985890', 'ctest-vn-00962531'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 09:33:31,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '4abcd5fe-6d04-4598-8f62-8960c2ebe8d0', 'name': '', 'tenant_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'network_id': '5866ee9f-8140-484a-a182-ad7e9183ddf0', 'ip_version': 4, 'cidr': '99.224.76.192/26', 'allocation_pools': [{'start': '99.224.76.194', 'end': '99.224.76.254'}], 'gateway_ip': '99.224.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.224.76.194', 'tags': [], 'project_id': 'bc978cd4a3f14549b5471cb61a3de17f'}} 2025-11-07 09:33:31,351 - INFO - Created VN ctest-vn-00962531 2025-11-07 09:33:31,404 - DEBUG - VN ctest-vn-00962531 UUID is 5866ee9f-8140-484a-a182-ad7e9183ddf0 2025-11-07 09:33:31,673 - DEBUG - Response for create_network : {'network': {'id': '09686713-4651-4b31-90dc-aa2ba9865747', 'name': 'ctest-vn-97037734', 'tenant_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'project_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61985890', 'ctest-vn-97037734'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 09:33:31,855 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b813a1ef-b6e9-47d6-acd2-dc8944f594f8', 'name': '', 'tenant_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'network_id': '09686713-4651-4b31-90dc-aa2ba9865747', 'ip_version': 4, 'cidr': '126.255.237.128/26', 'allocation_pools': [{'start': '126.255.237.130', 'end': '126.255.237.190'}], 'gateway_ip': '126.255.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.255.237.130', 'tags': [], 'project_id': 'bc978cd4a3f14549b5471cb61a3de17f'}} 2025-11-07 09:33:31,872 - INFO - Created VN ctest-vn-97037734 2025-11-07 09:33:31,925 - DEBUG - VN ctest-vn-97037734 UUID is 09686713-4651-4b31-90dc-aa2ba9865747 2025-11-07 09:33:32,038 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-00962531, 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-61985890:ctest-vn-97037734, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-07 09:33:32,338 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5866ee9f-8140-484a-a182-ad7e9183ddf0', 'name': 'ctest-vn-00962531', 'tenant_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'project_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4abcd5fe-6d04-4598-8f62-8960c2ebe8d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61985890', 'ctest-vn-00962531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61985890', 'ctest-policy-allow-all-55178349']], 'subnet_ipam': [{'subnet_cidr': '99.224.76.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 09:33:32,575 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '09686713-4651-4b31-90dc-aa2ba9865747', 'name': 'ctest-vn-97037734', 'tenant_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'project_id': 'bc978cd4a3f14549b5471cb61a3de17f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b813a1ef-b6e9-47d6-acd2-dc8944f594f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61985890', 'ctest-vn-97037734'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61985890', 'ctest-policy-allow-all-55178349']], 'subnet_ipam': [{'subnet_cidr': '126.255.237.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 09:33:32,740 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-07 09:33:33,237 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-07 09:33:33,273 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e75be550-1cc2-4097-be55-e97adebf17f3 2025-11-07 09:33:33,288 - DEBUG - Requesting: http://10.0.0.249:8082/project/bc978cd4-a3f1-4549-b547-1cb61a3de17f 2025-11-07 09:33:33,363 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5866ee9f-8140-484a-a182-ad7e9183ddf0 2025-11-07 09:33:33,375 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5866ee9f-8140-484a-a182-ad7e9183ddf0 2025-11-07 09:33:33,386 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/441533bc-c38c-4d9c-8449-b4a1172b891a 2025-11-07 09:33:33,394 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/441533bc-c38c-4d9c-8449-b4a1172b891a 2025-11-07 09:33:33,402 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a93ea769-c4f7-4841-b17f-5315ae674c96 2025-11-07 09:33:33,410 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 09:33:33,410 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5866ee9f-8140-484a-a182-ad7e9183ddf0 2025-11-07 09:33:33,420 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/441533bc-c38c-4d9c-8449-b4a1172b891a 2025-11-07 09:33:33,434 - INFO - Verified VN network id 12 for VN 5866ee9f-8140-484a-a182-ad7e9183ddf0 2025-11-07 09:33:33,434 - INFO - Verifications in API Server for VN ctest-vn-00962531 passed 2025-11-07 09:33:33,434 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5866ee9f-8140-484a-a182-ad7e9183ddf0 2025-11-07 09:33:33,443 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/441533bc-c38c-4d9c-8449-b4a1172b891a 2025-11-07 09:33:33,450 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/441533bc-c38c-4d9c-8449-b4a1172b891a 2025-11-07 09:33:33,456 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a93ea769-c4f7-4841-b17f-5315ae674c96 2025-11-07 09:33:33,467 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-00962531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61985890', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6370041091797829706', 'uuid-lslong': '11638055146197605872'}, 'enable': 'true', 'created': '2025-11-07T09:33:31', 'last-modified': '2025-11-07T09:33:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.157397'} 2025-11-07 09:33:33,474 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 09:33:33,474 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00962531 passed 2025-11-07 09:33:33,474 - DEBUG - ====Verifying policy data for ctest-vn-00962531 in API_Server ====== 2025-11-07 09:33:33,474 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-07 09:33:33,479 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e75be550-1cc2-4097-be55-e97adebf17f3 2025-11-07 09:33:33,491 - DEBUG - Requesting: http://10.0.0.249:8082/project/bc978cd4-a3f1-4549-b547-1cb61a3de17f 2025-11-07 09:33:33,560 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5866ee9f-8140-484a-a182-ad7e9183ddf0 2025-11-07 09:33:33,569 - DEBUG - ==>Verifying data for policy with id: 74b00a9c-c42e-44ec-b74b-36561bc698f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-61985890', 'ctest-policy-allow-all-55178349'] 2025-11-07 09:33:33,569 - INFO - VN ctest-vn-00962531 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 09:33:33,569 - DEBUG - Verifying the vn in opserver 2025-11-07 09:33:33,569 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-00962531 virtual network link through opserver 10.0.0.249 2025-11-07 09:33:33,569 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-07 09:33:33,874 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-07 09:33:33,942 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-00962531', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-00962531?flat'} 2025-11-07 09:33:33,942 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-00962531 is found in opserver 2025-11-07 09:33:33,951 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 09:33:33,956 - DEBUG - VRF ids for VN ctest-vn-00962531: {} 2025-11-07 09:33:33,956 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-07 09:33:33,960 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e75be550-1cc2-4097-be55-e97adebf17f3 2025-11-07 09:33:33,970 - DEBUG - Requesting: http://10.0.0.249:8082/project/bc978cd4-a3f1-4549-b547-1cb61a3de17f 2025-11-07 09:33:34,039 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/09686713-4651-4b31-90dc-aa2ba9865747 2025-11-07 09:33:34,050 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/09686713-4651-4b31-90dc-aa2ba9865747 2025-11-07 09:33:34,058 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2983f4f-aa35-4a44-9b02-5ddbd308040e 2025-11-07 09:33:34,064 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2983f4f-aa35-4a44-9b02-5ddbd308040e 2025-11-07 09:33:34,070 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9761a2c4-4de7-4305-83c8-97de1b741a4e 2025-11-07 09:33:34,075 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 09:33:34,075 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/09686713-4651-4b31-90dc-aa2ba9865747 2025-11-07 09:33:34,083 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2983f4f-aa35-4a44-9b02-5ddbd308040e 2025-11-07 09:33:34,095 - INFO - Verified VN network id 13 for VN 09686713-4651-4b31-90dc-aa2ba9865747 2025-11-07 09:33:34,095 - INFO - Verifications in API Server for VN ctest-vn-97037734 passed 2025-11-07 09:33:34,095 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/09686713-4651-4b31-90dc-aa2ba9865747 2025-11-07 09:33:34,103 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2983f4f-aa35-4a44-9b02-5ddbd308040e 2025-11-07 09:33:34,109 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2983f4f-aa35-4a44-9b02-5ddbd308040e 2025-11-07 09:33:34,114 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9761a2c4-4de7-4305-83c8-97de1b741a4e 2025-11-07 09:33:34,123 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-97037734', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61985890', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '677905076401031985', 'uuid-lslong': '10438405140842436423'}, 'enable': 'true', 'created': '2025-11-07T09:33:31', 'last-modified': '2025-11-07T09:33:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.575565'} 2025-11-07 09:33:34,129 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 09:33:34,129 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97037734 passed 2025-11-07 09:33:34,129 - DEBUG - ====Verifying policy data for ctest-vn-97037734 in API_Server ====== 2025-11-07 09:33:34,129 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-07 09:33:34,135 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e75be550-1cc2-4097-be55-e97adebf17f3 2025-11-07 09:33:34,146 - DEBUG - Requesting: http://10.0.0.249:8082/project/bc978cd4-a3f1-4549-b547-1cb61a3de17f 2025-11-07 09:33:34,212 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/09686713-4651-4b31-90dc-aa2ba9865747 2025-11-07 09:33:34,220 - DEBUG - ==>Verifying data for policy with id: 74b00a9c-c42e-44ec-b74b-36561bc698f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-61985890', 'ctest-policy-allow-all-55178349'] 2025-11-07 09:33:34,220 - INFO - VN ctest-vn-97037734 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 09:33:34,220 - DEBUG - Verifying the vn in opserver 2025-11-07 09:33:34,220 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-97037734 virtual network link through opserver 10.0.0.249 2025-11-07 09:33:34,220 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-07 09:33:34,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-97037734', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-97037734?flat'} 2025-11-07 09:33:34,229 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-97037734 is found in opserver 2025-11-07 09:33:34,237 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 09:33:34,241 - DEBUG - VRF ids for VN ctest-vn-97037734: {} 2025-11-07 09:33:34,297 - DEBUG - Services list from nova: [, , ] 2025-11-07 09:33:35,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1) 2025-11-07 09:33:36,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1) 2025-11-07 09:33:36,397 - INFO - Waiting for VM ctest-TestBasicPolicy-61985890-37218476 to be up.. 2025-11-07 09:33:36,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 09:33:41,564 - DEBUG - VM is in ACTIVE state now 2025-11-07 09:33:41,564 - INFO - VM name : ctest-TestBasicPolicy-61985890-37218476 2025-11-07 09:33:41,638 - DEBUG - VM ctest-TestBasicPolicy-61985890-37218476 ID is 707dd443-5831-45c2-bd6f-72d8aeac62f8 2025-11-07 09:33:41,658 - DEBUG - VM ctest-TestBasicPolicy-61985890-37218476 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1 2025-11-07 09:33:41,732 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/707dd443-5831-45c2-bd6f-72d8aeac62f8 2025-11-07 09:33:41,741 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/700c6bb6-9e9a-485c-9975-d1b3034c74a8 2025-11-07 09:33:45,022 - 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 1031ms') 2025-11-07 09:33:45,022 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61985890-37218476 failed! 2025-11-07 09:33:45,076 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61985890:ctest-vn-00962531 is 99.224.76.193 and allocation pool is NOT set 2025-11-07 09:33:47,136 - 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=9.96 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 1001ms\r\nrtt min/avg/max/mdev = 2.355/6.157/9.959/3.802 ms') 2025-11-07 09:33:47,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61985890-37218476 passed 2025-11-07 09:33:47,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:33:47,285 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61985890-37218476, IP 99.224.76.195, Port 22 2025-11-07 09:33:47,440 - DEBUG - VM ctest-TestBasicPolicy-61985890-37218476 is ready for SSH connections 2025-11-07 09:33:47,440 - INFO - Waiting for VM ctest-TestBasicPolicy-61985890-94489480 to be up.. 2025-11-07 09:33:47,507 - DEBUG - VM is in ACTIVE state now 2025-11-07 09:33:47,507 - INFO - VM name : ctest-TestBasicPolicy-61985890-94489480 2025-11-07 09:33:47,572 - DEBUG - VM ctest-TestBasicPolicy-61985890-94489480 ID is cd00edbe-0766-49c5-8ecc-3c7b443dd3af 2025-11-07 09:33:47,573 - DEBUG - VM ctest-TestBasicPolicy-61985890-94489480 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1 2025-11-07 09:33:47,641 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/cd00edbe-0766-49c5-8ecc-3c7b443dd3af 2025-11-07 09:33:47,647 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/139a0ee8-65f0-4987-afa0-c5ccef9bf645 2025-11-07 09:33:48,887 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.559/2.734/1.174 ms') 2025-11-07 09:33:48,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61985890-94489480 passed 2025-11-07 09:33:49,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:33:49,041 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61985890-94489480, IP 126.255.237.131, Port 22 2025-11-07 09:33:49,196 - DEBUG - VM ctest-TestBasicPolicy-61985890-94489480 is ready for SSH connections 2025-11-07 09:33:49,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:33:49,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.255.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-07 09:33:49,197 - DEBUG - ping -s 56 -c 3 -W 1 126.255.237.131 2025-11-07 09:33:52,901 - DEBUG - PING 126.255.237.131 (126.255.237.131): 56 data bytes 64 bytes from 126.255.237.131: seq=0 ttl=63 time=3.402 ms 64 bytes from 126.255.237.131: seq=1 ttl=63 time=0.835 ms 64 bytes from 126.255.237.131: seq=2 ttl=63 time=0.860 ms --- 126.255.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.699/3.402 ms 2025-11-07 09:33:52,901 - INFO - Ping to IP 126.255.237.131 from VM ctest-TestBasicPolicy-61985890-37218476 passed 2025-11-07 09:33:53,080 - DEBUG - Policy Update Response {"network-policy": {"uuid": "74b00a9c-c42e-44ec-b74b-36561bc698f3", "href": "http://10.0.0.249:8082/network-policy/74b00a9c-c42e-44ec-b74b-36561bc698f3"}} 2025-11-07 09:33:53,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:33:53,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.255.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-07 09:33:53,081 - DEBUG - ping -s 56 -c 3 -W 1 126.255.237.131 2025-11-07 09:33:56,313 - DEBUG - PING 126.255.237.131 (126.255.237.131): 56 data bytes --- 126.255.237.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 09:33:56,313 - WARNING - Ping to IP 126.255.237.131 from VM ctest-TestBasicPolicy-61985890-37218476 failed 2025-11-07 09:33:56,313 - INFO - Deleting VM ctest-TestBasicPolicy-61985890-94489480 2025-11-07 09:33:56,379 - INFO - Deleting VM ctest-TestBasicPolicy-61985890-37218476 2025-11-07 09:33:56,692 - INFO - Deleted policy ctest-policy-allow-all-55178349 2025-11-07 09:33:56,692 - INFO - Deleting VN ctest-vn-97037734 2025-11-07 09:33:56,734 - DEBUG - VN 09686713-4651-4b31-90dc-aa2ba9865747 still in use: Unable to complete operation on network 09686713-4651-4b31-90dc-aa2ba9865747. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e4fcb5ae-5b95-48dc-b085-b1b3d0aaf949'] 2025-11-07 09:33:56,734 - WARNING - Deleting VN ctest-vn-97037734 failed..Will retry 2025-11-07 09:33:58,827 - DEBUG - Response for deleting network () 2025-11-07 09:33:58,828 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2983f4f-aa35-4a44-9b02-5ddbd308040e 2025-11-07 09:33:58,834 - DEBUG - Response Code: 404 2025-11-07 09:33:58,834 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-07 09:33:58,839 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e75be550-1cc2-4097-be55-e97adebf17f3 2025-11-07 09:33:58,893 - DEBUG - Requesting: http://10.0.0.249:8082/project/bc978cd4-a3f1-4549-b547-1cb61a3de17f 2025-11-07 09:33:58,963 - INFO - Validated that VN ctest-vn-97037734 is not found in API Server 2025-11-07 09:33:58,972 - DEBUG - VN ctest-vn-97037734 is not present in Agent 10.0.0.249 2025-11-07 09:33:58,972 - INFO - Validated that VN ctest-vn-97037734 is not in any agent 2025-11-07 09:33:58,984 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97037734 info 2025-11-07 09:33:58,984 - INFO - Deleting VN ctest-vn-00962531 2025-11-07 09:33:59,079 - DEBUG - Response for deleting network () 2025-11-07 09:33:59,079 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/441533bc-c38c-4d9c-8449-b4a1172b891a 2025-11-07 09:33:59,087 - DEBUG - Response Code: 404 2025-11-07 09:33:59,087 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-07 09:33:59,092 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e75be550-1cc2-4097-be55-e97adebf17f3 2025-11-07 09:33:59,146 - DEBUG - Requesting: http://10.0.0.249:8082/project/bc978cd4-a3f1-4549-b547-1cb61a3de17f 2025-11-07 09:33:59,245 - INFO - Validated that VN ctest-vn-00962531 is not found in API Server 2025-11-07 09:33:59,253 - DEBUG - VN ctest-vn-00962531 is not present in Agent 10.0.0.249 2025-11-07 09:33:59,253 - INFO - Validated that VN ctest-vn-00962531 is not in any agent 2025-11-07 09:33:59,267 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00962531 info 2025-11-07 09:33:59,522 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 09:33:59,522 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-07 09:33:59,522 - INFO - -------------------------------------------------------------------------------- 2025-11-07 09:34:00,172 - INFO - Deleted project: ctest-TestBasicPolicy-61985890, ID : bc978cd4-a3f1-4549-b547-1cb61a3de17f