2025-07-31 12:51:28,619 - INFO - Domain Default found not creating 2025-07-31 12:51:28,779 - INFO - Project ctest-TestBasicPolicy-28473246 not found, creating it 2025-07-31 12:51:29,259 - INFO - Created Project:ctest-TestBasicPolicy-28473246, ID : f8826201-36c2-40ae-897c-e0c142b07437 2025-07-31 12:51:30,723 - INFO - ================================================================================ 2025-07-31 12:51:30,724 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-31 12:51:30,724 - 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-07-31 12:51:30,996 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-07-31 12:51:30,996 - INFO - Initial checks done. Running the testcase now 2025-07-31 12:51:30,996 - INFO - 2025-07-31 12:51:31,575 - DEBUG - Response for create_network : {'network': {'id': '767235fc-e757-48f6-b2fa-5cf52907f6e9', 'name': 'ctest-vn-25965994', 'tenant_id': 'f882620136c240ae897ce0c142b07437', 'project_id': 'f882620136c240ae897ce0c142b07437', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28473246', 'ctest-vn-25965994'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:51:31,812 - DEBUG - Response for create_subnet : {'subnet': {'id': '78ab3a1e-b53f-41f5-bf96-4d60eff7fe1f', 'name': '', 'tenant_id': 'f882620136c240ae897ce0c142b07437', 'network_id': '767235fc-e757-48f6-b2fa-5cf52907f6e9', 'ip_version': 4, 'cidr': '84.31.101.128/26', 'allocation_pools': [{'start': '84.31.101.130', 'end': '84.31.101.190'}], 'gateway_ip': '84.31.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.31.101.130', 'tags': [], 'project_id': 'f882620136c240ae897ce0c142b07437'}} 2025-07-31 12:51:31,832 - INFO - Created VN ctest-vn-25965994 2025-07-31 12:51:31,886 - DEBUG - VN ctest-vn-25965994 UUID is 767235fc-e757-48f6-b2fa-5cf52907f6e9 2025-07-31 12:51:32,177 - DEBUG - Response for create_network : {'network': {'id': '40ed048b-c793-41c7-bbce-c0a12cb6b070', 'name': 'ctest-vn-43438943', 'tenant_id': 'f882620136c240ae897ce0c142b07437', 'project_id': 'f882620136c240ae897ce0c142b07437', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28473246', 'ctest-vn-43438943'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:51:32,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '502061f1-2162-442d-93c7-edb78fa93f30', 'name': '', 'tenant_id': 'f882620136c240ae897ce0c142b07437', 'network_id': '40ed048b-c793-41c7-bbce-c0a12cb6b070', 'ip_version': 4, 'cidr': '20.157.251.64/26', 'allocation_pools': [{'start': '20.157.251.66', 'end': '20.157.251.126'}], 'gateway_ip': '20.157.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.157.251.66', 'tags': [], 'project_id': 'f882620136c240ae897ce0c142b07437'}} 2025-07-31 12:51:32,373 - INFO - Created VN ctest-vn-43438943 2025-07-31 12:51:32,426 - DEBUG - VN ctest-vn-43438943 UUID is 40ed048b-c793-41c7-bbce-c0a12cb6b070 2025-07-31 12:51:32,549 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-25965994, 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-28473246:ctest-vn-43438943, 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-07-31 12:51:32,857 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '767235fc-e757-48f6-b2fa-5cf52907f6e9', 'name': 'ctest-vn-25965994', 'tenant_id': 'f882620136c240ae897ce0c142b07437', 'project_id': 'f882620136c240ae897ce0c142b07437', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78ab3a1e-b53f-41f5-bf96-4d60eff7fe1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28473246', 'ctest-vn-25965994'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28473246', 'ctest-policy-allow-all-08489601']], 'subnet_ipam': [{'subnet_cidr': '84.31.101.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:51:33,099 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '40ed048b-c793-41c7-bbce-c0a12cb6b070', 'name': 'ctest-vn-43438943', 'tenant_id': 'f882620136c240ae897ce0c142b07437', 'project_id': 'f882620136c240ae897ce0c142b07437', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['502061f1-2162-442d-93c7-edb78fa93f30'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28473246', 'ctest-vn-43438943'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28473246', 'ctest-policy-allow-all-08489601']], 'subnet_ipam': [{'subnet_cidr': '20.157.251.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:51:33,262 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-31 12:51:33,556 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-31 12:51:33,588 - DEBUG - Requesting: http://10.0.0.50:8082/domain/87a790ac-c1b1-4085-ae5c-c5018b1e875d 2025-07-31 12:51:33,602 - DEBUG - Requesting: http://10.0.0.50:8082/project/f8826201-36c2-40ae-897c-e0c142b07437 2025-07-31 12:51:33,676 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/767235fc-e757-48f6-b2fa-5cf52907f6e9 2025-07-31 12:51:33,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/767235fc-e757-48f6-b2fa-5cf52907f6e9 2025-07-31 12:51:33,699 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/90db58f5-9f51-40aa-be09-17b2da4ab582 2025-07-31 12:51:33,706 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/90db58f5-9f51-40aa-be09-17b2da4ab582 2025-07-31 12:51:33,713 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b5ed5d2-5b95-4628-9196-3db18dc9c477 2025-07-31 12:51:33,720 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-31 12:51:33,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/767235fc-e757-48f6-b2fa-5cf52907f6e9 2025-07-31 12:51:33,730 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/90db58f5-9f51-40aa-be09-17b2da4ab582 2025-07-31 12:51:33,746 - INFO - Verified VN network id 11 for VN 767235fc-e757-48f6-b2fa-5cf52907f6e9 2025-07-31 12:51:33,746 - INFO - Verifications in API Server for VN ctest-vn-25965994 passed 2025-07-31 12:51:33,746 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/767235fc-e757-48f6-b2fa-5cf52907f6e9 2025-07-31 12:51:33,756 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/90db58f5-9f51-40aa-be09-17b2da4ab582 2025-07-31 12:51:33,764 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/90db58f5-9f51-40aa-be09-17b2da4ab582 2025-07-31 12:51:33,772 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b5ed5d2-5b95-4628-9196-3db18dc9c477 2025-07-31 12:51:33,784 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-25965994', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28473246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8534943604149799158', 'uuid-lslong': '12896722690953967337'}, 'enable': 'true', 'created': '2025-07-31T12:51:31', 'last-modified': '2025-07-31T12:51:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954171'} 2025-07-31 12:51:33,790 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-31 12:51:33,791 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25965994 passed 2025-07-31 12:51:33,791 - DEBUG - ====Verifying policy data for ctest-vn-25965994 in API_Server ====== 2025-07-31 12:51:33,791 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-31 12:51:33,797 - DEBUG - Requesting: http://10.0.0.50:8082/domain/87a790ac-c1b1-4085-ae5c-c5018b1e875d 2025-07-31 12:51:33,809 - DEBUG - Requesting: http://10.0.0.50:8082/project/f8826201-36c2-40ae-897c-e0c142b07437 2025-07-31 12:51:33,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/767235fc-e757-48f6-b2fa-5cf52907f6e9 2025-07-31 12:51:33,897 - DEBUG - ==>Verifying data for policy with id: 6fbc60d5-9118-4d25-a21a-979a28c87c60, fqn: ['default-domain', 'ctest-TestBasicPolicy-28473246', 'ctest-policy-allow-all-08489601'] 2025-07-31 12:51:33,897 - INFO - VN ctest-vn-25965994 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-31 12:51:33,897 - DEBUG - Verifying the vn in opserver 2025-07-31 12:51:33,897 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-25965994 virtual network link through opserver 10.0.0.50 2025-07-31 12:51:33,897 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-31 12:51:34,188 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-31 12:51:34,271 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-25965994', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-25965994?flat'} 2025-07-31 12:51:34,271 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-25965994 is found in opserver 2025-07-31 12:51:34,283 - DEBUG - Do not have enough data to verify VN in agent 2025-07-31 12:51:34,288 - DEBUG - VRF ids for VN ctest-vn-25965994: {} 2025-07-31 12:51:34,288 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-31 12:51:34,294 - DEBUG - Requesting: http://10.0.0.50:8082/domain/87a790ac-c1b1-4085-ae5c-c5018b1e875d 2025-07-31 12:51:34,307 - DEBUG - Requesting: http://10.0.0.50:8082/project/f8826201-36c2-40ae-897c-e0c142b07437 2025-07-31 12:51:34,377 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ed048b-c793-41c7-bbce-c0a12cb6b070 2025-07-31 12:51:34,391 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ed048b-c793-41c7-bbce-c0a12cb6b070 2025-07-31 12:51:34,404 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8fbca8e-a3bb-42ad-b8d3-e5ed82ee782e 2025-07-31 12:51:34,414 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8fbca8e-a3bb-42ad-b8d3-e5ed82ee782e 2025-07-31 12:51:34,422 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a1004f5-e15a-4acf-b138-5a00af7d49c5 2025-07-31 12:51:34,430 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-31 12:51:34,430 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ed048b-c793-41c7-bbce-c0a12cb6b070 2025-07-31 12:51:34,440 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8fbca8e-a3bb-42ad-b8d3-e5ed82ee782e 2025-07-31 12:51:34,455 - INFO - Verified VN network id 12 for VN 40ed048b-c793-41c7-bbce-c0a12cb6b070 2025-07-31 12:51:34,456 - INFO - Verifications in API Server for VN ctest-vn-43438943 passed 2025-07-31 12:51:34,456 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ed048b-c793-41c7-bbce-c0a12cb6b070 2025-07-31 12:51:34,468 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8fbca8e-a3bb-42ad-b8d3-e5ed82ee782e 2025-07-31 12:51:34,476 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8fbca8e-a3bb-42ad-b8d3-e5ed82ee782e 2025-07-31 12:51:34,485 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a1004f5-e15a-4acf-b138-5a00af7d49c5 2025-07-31 12:51:34,498 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-43438943', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28473246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4678400586303095239', 'uuid-lslong': '13532965728767357040'}, 'enable': 'true', 'created': '2025-07-31T12:51:32', 'last-modified': '2025-07-31T12:51:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.419924'} 2025-07-31 12:51:34,505 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-31 12:51:34,505 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43438943 passed 2025-07-31 12:51:34,505 - DEBUG - ====Verifying policy data for ctest-vn-43438943 in API_Server ====== 2025-07-31 12:51:34,505 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-31 12:51:34,511 - DEBUG - Requesting: http://10.0.0.50:8082/domain/87a790ac-c1b1-4085-ae5c-c5018b1e875d 2025-07-31 12:51:34,525 - DEBUG - Requesting: http://10.0.0.50:8082/project/f8826201-36c2-40ae-897c-e0c142b07437 2025-07-31 12:51:34,598 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ed048b-c793-41c7-bbce-c0a12cb6b070 2025-07-31 12:51:34,607 - DEBUG - ==>Verifying data for policy with id: 6fbc60d5-9118-4d25-a21a-979a28c87c60, fqn: ['default-domain', 'ctest-TestBasicPolicy-28473246', 'ctest-policy-allow-all-08489601'] 2025-07-31 12:51:34,608 - INFO - VN ctest-vn-43438943 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-31 12:51:34,608 - DEBUG - Verifying the vn in opserver 2025-07-31 12:51:34,608 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-43438943 virtual network link through opserver 10.0.0.50 2025-07-31 12:51:34,608 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-31 12:51:34,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-43438943', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-43438943?flat'} 2025-07-31 12:51:34,620 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-43438943 is found in opserver 2025-07-31 12:51:34,635 - DEBUG - Do not have enough data to verify VN in agent 2025-07-31 12:51:34,641 - DEBUG - VRF ids for VN ctest-vn-43438943: {} 2025-07-31 12:51:34,701 - DEBUG - Services list from nova: [, , ] 2025-07-31 12:51:35,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3735-1) 2025-07-31 12:51:36,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3735-1) 2025-07-31 12:51:36,962 - INFO - Waiting for VM ctest-TestBasicPolicy-28473246-76580949 to be up.. 2025-07-31 12:51:37,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 12:51:42,130 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:51:42,130 - INFO - VM name : ctest-TestBasicPolicy-28473246-76580949 2025-07-31 12:51:42,203 - DEBUG - VM ctest-TestBasicPolicy-28473246-76580949 ID is 8a4a134e-fb7e-4ead-8729-9a8d6ebe62c8 2025-07-31 12:51:42,222 - DEBUG - VM ctest-TestBasicPolicy-28473246-76580949 launched on Node cn-jenkins-deploy-platform-ansible-os-3735-1 2025-07-31 12:51:42,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8a4a134e-fb7e-4ead-8729-9a8d6ebe62c8 2025-07-31 12:51:42,305 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2f5ecf75-705b-4e7b-88d6-5d6d4c4d3d4b 2025-07-31 12:51:45,536 - 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-07-31 12:51:45,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28473246-76580949 failed! 2025-07-31 12:51:45,598 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28473246:ctest-vn-25965994 is 84.31.101.129 and allocation pool is NOT set 2025-07-31 12:51:47,662 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.258 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.258/3.315/6.373/3.057 ms') 2025-07-31 12:51:47,662 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28473246-76580949 passed 2025-07-31 12:51:47,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:51:47,811 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28473246-76580949, IP 84.31.101.131, Port 22 2025-07-31 12:51:47,977 - DEBUG - VM ctest-TestBasicPolicy-28473246-76580949 is ready for SSH connections 2025-07-31 12:51:47,977 - INFO - Waiting for VM ctest-TestBasicPolicy-28473246-56895660 to be up.. 2025-07-31 12:51:48,060 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:51:48,061 - INFO - VM name : ctest-TestBasicPolicy-28473246-56895660 2025-07-31 12:51:48,142 - DEBUG - VM ctest-TestBasicPolicy-28473246-56895660 ID is a8b0652b-3711-4fb4-9626-a337a402944c 2025-07-31 12:51:48,142 - DEBUG - VM ctest-TestBasicPolicy-28473246-56895660 launched on Node cn-jenkins-deploy-platform-ansible-os-3735-1 2025-07-31 12:51:48,221 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a8b0652b-3711-4fb4-9626-a337a402944c 2025-07-31 12:51:48,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7224cf5a-5aab-49a5-a95f-1ecac427fa31 2025-07-31 12:51:49,477 - 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=3.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/2.119/3.758/1.639 ms') 2025-07-31 12:51:49,477 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28473246-56895660 passed 2025-07-31 12:51:49,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:51:49,634 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28473246-56895660, IP 20.157.251.67, Port 22 2025-07-31 12:51:49,790 - DEBUG - VM ctest-TestBasicPolicy-28473246-56895660 is ready for SSH connections 2025-07-31 12:51:49,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:51:49,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.157.251.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 12:51:49,790 - DEBUG - ping -s 56 -c 3 -W 1 20.157.251.67 2025-07-31 12:51:53,830 - DEBUG - PING 20.157.251.67 (20.157.251.67): 56 data bytes 64 bytes from 20.157.251.67: seq=0 ttl=63 time=5.044 ms 64 bytes from 20.157.251.67: seq=1 ttl=63 time=0.963 ms 64 bytes from 20.157.251.67: seq=2 ttl=63 time=0.965 ms --- 20.157.251.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/2.324/5.044 ms 2025-07-31 12:51:53,830 - INFO - Ping to IP 20.157.251.67 from VM ctest-TestBasicPolicy-28473246-76580949 passed 2025-07-31 12:51:54,006 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6fbc60d5-9118-4d25-a21a-979a28c87c60", "href": "http://10.0.0.50:8082/network-policy/6fbc60d5-9118-4d25-a21a-979a28c87c60"}} 2025-07-31 12:51:54,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:51:54,006 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.157.251.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 12:51:54,007 - DEBUG - ping -s 56 -c 3 -W 1 20.157.251.67 2025-07-31 12:51:57,218 - DEBUG - PING 20.157.251.67 (20.157.251.67): 56 data bytes --- 20.157.251.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-31 12:51:57,218 - WARNING - Ping to IP 20.157.251.67 from VM ctest-TestBasicPolicy-28473246-76580949 failed 2025-07-31 12:51:57,218 - INFO - Deleting VM ctest-TestBasicPolicy-28473246-56895660 2025-07-31 12:51:57,286 - INFO - Deleting VM ctest-TestBasicPolicy-28473246-76580949 2025-07-31 12:51:57,713 - INFO - Deleted policy ctest-policy-allow-all-08489601 2025-07-31 12:51:57,713 - INFO - Deleting VN ctest-vn-43438943 2025-07-31 12:51:57,755 - DEBUG - VN 40ed048b-c793-41c7-bbce-c0a12cb6b070 still in use: Unable to complete operation on network 40ed048b-c793-41c7-bbce-c0a12cb6b070. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a739db7d-7e9c-448c-b8c6-7b21273f9c91'] 2025-07-31 12:51:57,755 - WARNING - Deleting VN ctest-vn-43438943 failed..Will retry 2025-07-31 12:51:59,869 - DEBUG - Response for deleting network () 2025-07-31 12:51:59,869 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8fbca8e-a3bb-42ad-b8d3-e5ed82ee782e 2025-07-31 12:51:59,877 - DEBUG - Response Code: 404 2025-07-31 12:51:59,877 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-31 12:51:59,883 - DEBUG - Requesting: http://10.0.0.50:8082/domain/87a790ac-c1b1-4085-ae5c-c5018b1e875d 2025-07-31 12:51:59,942 - DEBUG - Requesting: http://10.0.0.50:8082/project/f8826201-36c2-40ae-897c-e0c142b07437 2025-07-31 12:52:00,022 - INFO - Validated that VN ctest-vn-43438943 is not found in API Server 2025-07-31 12:52:00,033 - DEBUG - VN ctest-vn-43438943 is not present in Agent 10.0.0.50 2025-07-31 12:52:00,033 - INFO - Validated that VN ctest-vn-43438943 is not in any agent 2025-07-31 12:52:00,047 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43438943 info 2025-07-31 12:52:00,048 - INFO - Deleting VN ctest-vn-25965994 2025-07-31 12:52:00,162 - DEBUG - Response for deleting network () 2025-07-31 12:52:00,162 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/90db58f5-9f51-40aa-be09-17b2da4ab582 2025-07-31 12:52:00,168 - DEBUG - Response Code: 404 2025-07-31 12:52:00,169 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-31 12:52:00,176 - DEBUG - Requesting: http://10.0.0.50:8082/domain/87a790ac-c1b1-4085-ae5c-c5018b1e875d 2025-07-31 12:52:00,233 - DEBUG - Requesting: http://10.0.0.50:8082/project/f8826201-36c2-40ae-897c-e0c142b07437 2025-07-31 12:52:00,313 - INFO - Validated that VN ctest-vn-25965994 is not found in API Server 2025-07-31 12:52:00,324 - DEBUG - VN ctest-vn-25965994 is not present in Agent 10.0.0.50 2025-07-31 12:52:00,324 - INFO - Validated that VN ctest-vn-25965994 is not in any agent 2025-07-31 12:52:00,340 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25965994 info 2025-07-31 12:52:00,618 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 12:52:00,618 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-31 12:52:00,618 - INFO - -------------------------------------------------------------------------------- 2025-07-31 12:52:01,350 - INFO - Deleted project: ctest-TestBasicPolicy-28473246, ID : f8826201-36c2-40ae-897c-e0c142b07437