2025-08-07 02:15:33,902 - INFO - Domain Default found not creating 2025-08-07 02:15:34,442 - INFO - Project ctest-TestBasicPolicy-53064882 not found, creating it 2025-08-07 02:15:34,942 - INFO - Created Project:ctest-TestBasicPolicy-53064882, ID : 63bc0579-0e93-4447-831f-566dfc54f9f3 2025-08-07 02:15:36,493 - INFO - ================================================================================ 2025-08-07 02:15:36,493 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-07 02:15:36,493 - 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-08-07 02:15:36,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-07 02:15:36,748 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:15:36,748 - INFO - 2025-08-07 02:15:37,339 - DEBUG - Response for create_network : {'network': {'id': 'a1b205d2-22f9-48ad-aa1c-697a4afd8a5d', 'name': 'ctest-vn-87068582', 'tenant_id': '63bc05790e934447831f566dfc54f9f3', 'project_id': '63bc05790e934447831f566dfc54f9f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53064882', 'ctest-vn-87068582'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:15:37,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d9af104-f934-469a-a8a5-220f2f0f7bb8', 'name': '', 'tenant_id': '63bc05790e934447831f566dfc54f9f3', 'network_id': 'a1b205d2-22f9-48ad-aa1c-697a4afd8a5d', 'ip_version': 4, 'cidr': '129.233.152.128/26', 'allocation_pools': [{'start': '129.233.152.130', 'end': '129.233.152.190'}], 'gateway_ip': '129.233.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.233.152.130', 'tags': [], 'project_id': '63bc05790e934447831f566dfc54f9f3'}} 2025-08-07 02:15:37,521 - INFO - Created VN ctest-vn-87068582 2025-08-07 02:15:37,574 - DEBUG - VN ctest-vn-87068582 UUID is a1b205d2-22f9-48ad-aa1c-697a4afd8a5d 2025-08-07 02:15:37,868 - DEBUG - Response for create_network : {'network': {'id': '874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6', 'name': 'ctest-vn-06112716', 'tenant_id': '63bc05790e934447831f566dfc54f9f3', 'project_id': '63bc05790e934447831f566dfc54f9f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53064882', 'ctest-vn-06112716'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:15:38,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '472018fe-f2a6-447f-a7dd-79e2265df2e1', 'name': '', 'tenant_id': '63bc05790e934447831f566dfc54f9f3', 'network_id': '874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6', 'ip_version': 4, 'cidr': '13.245.130.64/26', 'allocation_pools': [{'start': '13.245.130.66', 'end': '13.245.130.126'}], 'gateway_ip': '13.245.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.245.130.66', 'tags': [], 'project_id': '63bc05790e934447831f566dfc54f9f3'}} 2025-08-07 02:15:38,101 - INFO - Created VN ctest-vn-06112716 2025-08-07 02:15:38,158 - DEBUG - VN ctest-vn-06112716 UUID is 874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6 2025-08-07 02:15:38,310 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-87068582, 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-53064882:ctest-vn-06112716, 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-08-07 02:15:38,619 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1b205d2-22f9-48ad-aa1c-697a4afd8a5d', 'name': 'ctest-vn-87068582', 'tenant_id': '63bc05790e934447831f566dfc54f9f3', 'project_id': '63bc05790e934447831f566dfc54f9f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d9af104-f934-469a-a8a5-220f2f0f7bb8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53064882', 'ctest-vn-87068582'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53064882', 'ctest-policy-allow-all-17221527']], 'subnet_ipam': [{'subnet_cidr': '129.233.152.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:15:38,860 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6', 'name': 'ctest-vn-06112716', 'tenant_id': '63bc05790e934447831f566dfc54f9f3', 'project_id': '63bc05790e934447831f566dfc54f9f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['472018fe-f2a6-447f-a7dd-79e2265df2e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53064882', 'ctest-vn-06112716'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53064882', 'ctest-policy-allow-all-17221527']], 'subnet_ipam': [{'subnet_cidr': '13.245.130.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:15:39,026 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 02:15:39,361 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 02:15:39,390 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c4343cb1-ebd0-41e3-b2ae-b8249da9524d 2025-08-07 02:15:39,402 - DEBUG - Requesting: http://10.0.0.254:8082/project/63bc0579-0e93-4447-831f-566dfc54f9f3 2025-08-07 02:15:39,476 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1b205d2-22f9-48ad-aa1c-697a4afd8a5d 2025-08-07 02:15:39,489 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1b205d2-22f9-48ad-aa1c-697a4afd8a5d 2025-08-07 02:15:39,500 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e18cab1-9694-4998-8857-5b33b7428324 2025-08-07 02:15:39,508 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e18cab1-9694-4998-8857-5b33b7428324 2025-08-07 02:15:39,515 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1bbc0164-8c56-4ca2-93a5-3b4923dacab5 2025-08-07 02:15:39,521 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 02:15:39,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1b205d2-22f9-48ad-aa1c-697a4afd8a5d 2025-08-07 02:15:39,530 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e18cab1-9694-4998-8857-5b33b7428324 2025-08-07 02:15:39,544 - INFO - Verified VN network id 10 for VN a1b205d2-22f9-48ad-aa1c-697a4afd8a5d 2025-08-07 02:15:39,544 - INFO - Verifications in API Server for VN ctest-vn-87068582 passed 2025-08-07 02:15:39,544 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1b205d2-22f9-48ad-aa1c-697a4afd8a5d 2025-08-07 02:15:39,554 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e18cab1-9694-4998-8857-5b33b7428324 2025-08-07 02:15:39,562 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e18cab1-9694-4998-8857-5b33b7428324 2025-08-07 02:15:39,569 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1bbc0164-8c56-4ca2-93a5-3b4923dacab5 2025-08-07 02:15:39,581 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-87068582', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53064882', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11651381586048927917', 'uuid-lslong': '12257788259760704093'}, 'enable': 'true', 'created': '2025-08-07T02:15:37', 'last-modified': '2025-08-07T02:15:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987873'} 2025-08-07 02:15:39,587 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 02:15:39,588 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87068582 passed 2025-08-07 02:15:39,588 - DEBUG - ====Verifying policy data for ctest-vn-87068582 in API_Server ====== 2025-08-07 02:15:39,588 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 02:15:39,593 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c4343cb1-ebd0-41e3-b2ae-b8249da9524d 2025-08-07 02:15:39,605 - DEBUG - Requesting: http://10.0.0.254:8082/project/63bc0579-0e93-4447-831f-566dfc54f9f3 2025-08-07 02:15:39,678 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1b205d2-22f9-48ad-aa1c-697a4afd8a5d 2025-08-07 02:15:39,689 - DEBUG - ==>Verifying data for policy with id: 00f36e49-2196-459c-9dd7-74a9dc5c3db0, fqn: ['default-domain', 'ctest-TestBasicPolicy-53064882', 'ctest-policy-allow-all-17221527'] 2025-08-07 02:15:39,689 - INFO - VN ctest-vn-87068582 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 02:15:39,689 - DEBUG - Verifying the vn in opserver 2025-08-07 02:15:39,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-87068582 virtual network link through opserver 10.0.0.254 2025-08-07 02:15:39,689 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-07 02:15:40,022 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-07 02:15:40,075 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-87068582', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-87068582?flat'} 2025-08-07 02:15:40,075 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-87068582 is found in opserver 2025-08-07 02:15:40,088 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 02:15:40,093 - DEBUG - VRF ids for VN ctest-vn-87068582: {} 2025-08-07 02:15:40,093 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 02:15:40,099 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c4343cb1-ebd0-41e3-b2ae-b8249da9524d 2025-08-07 02:15:40,112 - DEBUG - Requesting: http://10.0.0.254:8082/project/63bc0579-0e93-4447-831f-566dfc54f9f3 2025-08-07 02:15:40,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6 2025-08-07 02:15:40,197 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6 2025-08-07 02:15:40,209 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1fccba75-9d83-40de-9967-73269713e951 2025-08-07 02:15:40,217 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1fccba75-9d83-40de-9967-73269713e951 2025-08-07 02:15:40,224 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e0208a1d-1daf-475a-893c-887009c25ae6 2025-08-07 02:15:40,231 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 02:15:40,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6 2025-08-07 02:15:40,242 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1fccba75-9d83-40de-9967-73269713e951 2025-08-07 02:15:40,258 - INFO - Verified VN network id 11 for VN 874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6 2025-08-07 02:15:40,258 - INFO - Verifications in API Server for VN ctest-vn-06112716 passed 2025-08-07 02:15:40,258 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6 2025-08-07 02:15:40,268 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1fccba75-9d83-40de-9967-73269713e951 2025-08-07 02:15:40,274 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1fccba75-9d83-40de-9967-73269713e951 2025-08-07 02:15:40,282 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e0208a1d-1daf-475a-893c-887009c25ae6 2025-08-07 02:15:40,294 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-06112716', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53064882', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9749066936588846307', 'uuid-lslong': '12008421644389920934'}, 'enable': 'true', 'created': '2025-08-07T02:15:37', 'last-modified': '2025-08-07T02:15:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458799'} 2025-08-07 02:15:40,301 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 02:15:40,301 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06112716 passed 2025-08-07 02:15:40,301 - DEBUG - ====Verifying policy data for ctest-vn-06112716 in API_Server ====== 2025-08-07 02:15:40,301 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 02:15:40,306 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c4343cb1-ebd0-41e3-b2ae-b8249da9524d 2025-08-07 02:15:40,317 - DEBUG - Requesting: http://10.0.0.254:8082/project/63bc0579-0e93-4447-831f-566dfc54f9f3 2025-08-07 02:15:40,399 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6 2025-08-07 02:15:40,410 - DEBUG - ==>Verifying data for policy with id: 00f36e49-2196-459c-9dd7-74a9dc5c3db0, fqn: ['default-domain', 'ctest-TestBasicPolicy-53064882', 'ctest-policy-allow-all-17221527'] 2025-08-07 02:15:40,410 - INFO - VN ctest-vn-06112716 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 02:15:40,410 - DEBUG - Verifying the vn in opserver 2025-08-07 02:15:40,410 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-06112716 virtual network link through opserver 10.0.0.254 2025-08-07 02:15:40,410 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-07 02:15:40,421 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-06112716', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-06112716?flat'} 2025-08-07 02:15:40,421 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-06112716 is found in opserver 2025-08-07 02:15:40,432 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 02:15:40,438 - DEBUG - VRF ids for VN ctest-vn-06112716: {} 2025-08-07 02:15:40,495 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:15:41,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3764-1) 2025-08-07 02:15:42,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3764-1) 2025-08-07 02:15:42,867 - INFO - Waiting for VM ctest-TestBasicPolicy-53064882-62823260 to be up.. 2025-08-07 02:15:42,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:15:48,042 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:15:48,042 - INFO - VM name : ctest-TestBasicPolicy-53064882-62823260 2025-08-07 02:15:48,117 - DEBUG - VM ctest-TestBasicPolicy-53064882-62823260 ID is ea9ec3e5-9d6e-4903-a7cb-d48d06cdaeb8 2025-08-07 02:15:48,137 - DEBUG - VM ctest-TestBasicPolicy-53064882-62823260 launched on Node cn-jenkins-deploy-platform-ansible-os-3764-1 2025-08-07 02:15:48,208 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ea9ec3e5-9d6e-4903-a7cb-d48d06cdaeb8 2025-08-07 02:15:48,217 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/50a36943-f817-4d6c-8ccc-e73bdac47eeb 2025-08-07 02:15:51,483 - 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 1020ms') 2025-08-07 02:15:51,483 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53064882-62823260 failed! 2025-08-07 02:15:51,538 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53064882:ctest-vn-87068582 is 129.233.152.129 and allocation pool is NOT set 2025-08-07 02:15:53,603 - 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=6.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 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 = 0.376/3.284/6.192/2.908 ms') 2025-08-07 02:15:53,603 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53064882-62823260 passed 2025-08-07 02:15:53,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:53,754 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53064882-62823260, IP 129.233.152.131, Port 22 2025-08-07 02:15:53,920 - DEBUG - VM ctest-TestBasicPolicy-53064882-62823260 is ready for SSH connections 2025-08-07 02:15:53,920 - INFO - Waiting for VM ctest-TestBasicPolicy-53064882-70021066 to be up.. 2025-08-07 02:15:53,995 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:15:53,996 - INFO - VM name : ctest-TestBasicPolicy-53064882-70021066 2025-08-07 02:15:54,074 - DEBUG - VM ctest-TestBasicPolicy-53064882-70021066 ID is e5157c95-6abd-4ed8-b8fd-e21284cf2ffb 2025-08-07 02:15:54,074 - DEBUG - VM ctest-TestBasicPolicy-53064882-70021066 launched on Node cn-jenkins-deploy-platform-ansible-os-3764-1 2025-08-07 02:15:54,149 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e5157c95-6abd-4ed8-b8fd-e21284cf2ffb 2025-08-07 02:15:54,158 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6248b840-cc5e-4567-9a9c-203ba240e0d8 2025-08-07 02:15:55,407 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.592/2.770/1.177 ms') 2025-08-07 02:15:55,407 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53064882-70021066 passed 2025-08-07 02:15:55,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:55,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53064882-70021066, IP 13.245.130.67, Port 22 2025-08-07 02:15:55,722 - DEBUG - VM ctest-TestBasicPolicy-53064882-70021066 is ready for SSH connections 2025-08-07 02:15:55,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:55,722 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.245.130.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 02:15:55,722 - DEBUG - ping -s 56 -c 3 -W 1 13.245.130.67 2025-08-07 02:15:59,788 - DEBUG - PING 13.245.130.67 (13.245.130.67): 56 data bytes 64 bytes from 13.245.130.67: seq=0 ttl=63 time=3.639 ms 64 bytes from 13.245.130.67: seq=1 ttl=63 time=0.904 ms 64 bytes from 13.245.130.67: seq=2 ttl=63 time=0.829 ms --- 13.245.130.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/1.790/3.639 ms 2025-08-07 02:15:59,788 - INFO - Ping to IP 13.245.130.67 from VM ctest-TestBasicPolicy-53064882-62823260 passed 2025-08-07 02:15:59,970 - DEBUG - Policy Update Response {"network-policy": {"uuid": "00f36e49-2196-459c-9dd7-74a9dc5c3db0", "href": "http://10.0.0.254:8082/network-policy/00f36e49-2196-459c-9dd7-74a9dc5c3db0"}} 2025-08-07 02:15:59,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:59,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.245.130.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 02:15:59,970 - DEBUG - ping -s 56 -c 3 -W 1 13.245.130.67 2025-08-07 02:16:03,187 - DEBUG - PING 13.245.130.67 (13.245.130.67): 56 data bytes --- 13.245.130.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 02:16:03,187 - WARNING - Ping to IP 13.245.130.67 from VM ctest-TestBasicPolicy-53064882-62823260 failed 2025-08-07 02:16:03,188 - INFO - Deleting VM ctest-TestBasicPolicy-53064882-70021066 2025-08-07 02:16:03,258 - INFO - Deleting VM ctest-TestBasicPolicy-53064882-62823260 2025-08-07 02:16:03,649 - INFO - Deleted policy ctest-policy-allow-all-17221527 2025-08-07 02:16:03,650 - INFO - Deleting VN ctest-vn-06112716 2025-08-07 02:16:03,684 - DEBUG - VN 874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6 still in use: Unable to complete operation on network 874ba4b9-dee2-44e3-a6a6-7bdcbaf930a6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-afeec690-cd70-465e-a57b-81b53a0c08f4'] 2025-08-07 02:16:03,684 - WARNING - Deleting VN ctest-vn-06112716 failed..Will retry 2025-08-07 02:16:05,794 - DEBUG - Response for deleting network () 2025-08-07 02:16:05,794 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1fccba75-9d83-40de-9967-73269713e951 2025-08-07 02:16:05,802 - DEBUG - Response Code: 404 2025-08-07 02:16:05,803 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 02:16:05,808 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c4343cb1-ebd0-41e3-b2ae-b8249da9524d 2025-08-07 02:16:05,864 - DEBUG - Requesting: http://10.0.0.254:8082/project/63bc0579-0e93-4447-831f-566dfc54f9f3 2025-08-07 02:16:05,938 - INFO - Validated that VN ctest-vn-06112716 is not found in API Server 2025-08-07 02:16:05,952 - DEBUG - VN ctest-vn-06112716 is not present in Agent 10.0.0.254 2025-08-07 02:16:05,952 - INFO - Validated that VN ctest-vn-06112716 is not in any agent 2025-08-07 02:16:05,969 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06112716 info 2025-08-07 02:16:05,969 - INFO - Deleting VN ctest-vn-87068582 2025-08-07 02:16:06,074 - DEBUG - Response for deleting network () 2025-08-07 02:16:06,074 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e18cab1-9694-4998-8857-5b33b7428324 2025-08-07 02:16:06,080 - DEBUG - Response Code: 404 2025-08-07 02:16:06,080 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-07 02:16:06,087 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c4343cb1-ebd0-41e3-b2ae-b8249da9524d 2025-08-07 02:16:06,144 - DEBUG - Requesting: http://10.0.0.254:8082/project/63bc0579-0e93-4447-831f-566dfc54f9f3 2025-08-07 02:16:06,222 - INFO - Validated that VN ctest-vn-87068582 is not found in API Server 2025-08-07 02:16:06,236 - DEBUG - VN ctest-vn-87068582 is not present in Agent 10.0.0.254 2025-08-07 02:16:06,236 - INFO - Validated that VN ctest-vn-87068582 is not in any agent 2025-08-07 02:16:06,258 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87068582 info 2025-08-07 02:16:06,518 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 02:16:06,519 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-07 02:16:06,519 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:16:07,249 - INFO - Deleted project: ctest-TestBasicPolicy-53064882, ID : 63bc0579-0e93-4447-831f-566dfc54f9f3