2025-09-16 20:13:47,973 - INFO - Domain Default found not creating 2025-09-16 20:13:48,116 - INFO - Project ctest-TestBasicPolicy-69537646 not found, creating it 2025-09-16 20:13:48,545 - INFO - Created Project:ctest-TestBasicPolicy-69537646, ID : 82906495-f4c5-464b-81bc-e7f5d10da1ff 2025-09-16 20:13:49,995 - INFO - ================================================================================ 2025-09-16 20:13:49,995 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-16 20:13:49,996 - 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-09-16 20:13:50,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-16 20:13:50,274 - INFO - Initial checks done. Running the testcase now 2025-09-16 20:13:50,274 - INFO - 2025-09-16 20:13:50,802 - DEBUG - Response for create_network : {'network': {'id': '278cf45b-1b65-457e-8ca6-94d3b05829e8', 'name': 'ctest-vn-63227478', 'tenant_id': '82906495f4c5464b81bce7f5d10da1ff', 'project_id': '82906495f4c5464b81bce7f5d10da1ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69537646', 'ctest-vn-63227478'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:13:50,968 - DEBUG - Response for create_subnet : {'subnet': {'id': '449121a8-9f37-4c97-af5b-6cbb8e4acc37', 'name': '', 'tenant_id': '82906495f4c5464b81bce7f5d10da1ff', 'network_id': '278cf45b-1b65-457e-8ca6-94d3b05829e8', 'ip_version': 4, 'cidr': '132.186.22.192/26', 'allocation_pools': [{'start': '132.186.22.194', 'end': '132.186.22.254'}], 'gateway_ip': '132.186.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.186.22.194', 'tags': [], 'project_id': '82906495f4c5464b81bce7f5d10da1ff'}} 2025-09-16 20:13:50,983 - INFO - Created VN ctest-vn-63227478 2025-09-16 20:13:51,032 - DEBUG - VN ctest-vn-63227478 UUID is 278cf45b-1b65-457e-8ca6-94d3b05829e8 2025-09-16 20:13:51,353 - DEBUG - Response for create_network : {'network': {'id': '41b32335-b18b-4dc7-85d9-d8e80137a872', 'name': 'ctest-vn-78499760', 'tenant_id': '82906495f4c5464b81bce7f5d10da1ff', 'project_id': '82906495f4c5464b81bce7f5d10da1ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69537646', 'ctest-vn-78499760'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:13:51,548 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dd07186-dfa0-4d46-b2a6-7a45c8649544', 'name': '', 'tenant_id': '82906495f4c5464b81bce7f5d10da1ff', 'network_id': '41b32335-b18b-4dc7-85d9-d8e80137a872', 'ip_version': 4, 'cidr': '57.111.74.192/26', 'allocation_pools': [{'start': '57.111.74.194', 'end': '57.111.74.254'}], 'gateway_ip': '57.111.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.111.74.194', 'tags': [], 'project_id': '82906495f4c5464b81bce7f5d10da1ff'}} 2025-09-16 20:13:51,563 - INFO - Created VN ctest-vn-78499760 2025-09-16 20:13:51,616 - DEBUG - VN ctest-vn-78499760 UUID is 41b32335-b18b-4dc7-85d9-d8e80137a872 2025-09-16 20:13:51,764 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-63227478, 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-69537646:ctest-vn-78499760, 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-09-16 20:13:52,044 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '278cf45b-1b65-457e-8ca6-94d3b05829e8', 'name': 'ctest-vn-63227478', 'tenant_id': '82906495f4c5464b81bce7f5d10da1ff', 'project_id': '82906495f4c5464b81bce7f5d10da1ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['449121a8-9f37-4c97-af5b-6cbb8e4acc37'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69537646', 'ctest-vn-63227478'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69537646', 'ctest-policy-allow-all-05931089']], 'subnet_ipam': [{'subnet_cidr': '132.186.22.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:13:52,257 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41b32335-b18b-4dc7-85d9-d8e80137a872', 'name': 'ctest-vn-78499760', 'tenant_id': '82906495f4c5464b81bce7f5d10da1ff', 'project_id': '82906495f4c5464b81bce7f5d10da1ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0dd07186-dfa0-4d46-b2a6-7a45c8649544'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69537646', 'ctest-vn-78499760'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69537646', 'ctest-policy-allow-all-05931089']], 'subnet_ipam': [{'subnet_cidr': '57.111.74.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:13:52,404 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 20:13:52,697 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 20:13:52,724 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a010d4b5-1922-41b6-a773-b9ce83ec6bd3 2025-09-16 20:13:52,735 - DEBUG - Requesting: http://10.0.0.22:8082/project/82906495-f4c5-464b-81bc-e7f5d10da1ff 2025-09-16 20:13:52,804 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/278cf45b-1b65-457e-8ca6-94d3b05829e8 2025-09-16 20:13:52,814 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/278cf45b-1b65-457e-8ca6-94d3b05829e8 2025-09-16 20:13:52,822 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13a9dc24-80a5-493a-b8f2-cc846fa9876e 2025-09-16 20:13:52,829 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13a9dc24-80a5-493a-b8f2-cc846fa9876e 2025-09-16 20:13:52,834 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d92d6ef9-7c71-42f3-9d5b-a5071e61c732 2025-09-16 20:13:52,839 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 20:13:52,839 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/278cf45b-1b65-457e-8ca6-94d3b05829e8 2025-09-16 20:13:52,846 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13a9dc24-80a5-493a-b8f2-cc846fa9876e 2025-09-16 20:13:52,858 - INFO - Verified VN network id 9 for VN 278cf45b-1b65-457e-8ca6-94d3b05829e8 2025-09-16 20:13:52,858 - INFO - Verifications in API Server for VN ctest-vn-63227478 passed 2025-09-16 20:13:52,858 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/278cf45b-1b65-457e-8ca6-94d3b05829e8 2025-09-16 20:13:52,865 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13a9dc24-80a5-493a-b8f2-cc846fa9876e 2025-09-16 20:13:52,871 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13a9dc24-80a5-493a-b8f2-cc846fa9876e 2025-09-16 20:13:52,876 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d92d6ef9-7c71-42f3-9d5b-a5071e61c732 2025-09-16 20:13:52,886 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-63227478', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69537646', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2849921336357504382', 'uuid-lslong': '10134951648361458152'}, 'enable': 'true', 'created': '2025-09-16T20:13:50', 'last-modified': '2025-09-16T20:13:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.860168'} 2025-09-16 20:13:52,891 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 20:13:52,891 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63227478 passed 2025-09-16 20:13:52,891 - DEBUG - ====Verifying policy data for ctest-vn-63227478 in API_Server ====== 2025-09-16 20:13:52,891 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 20:13:52,896 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a010d4b5-1922-41b6-a773-b9ce83ec6bd3 2025-09-16 20:13:52,906 - DEBUG - Requesting: http://10.0.0.22:8082/project/82906495-f4c5-464b-81bc-e7f5d10da1ff 2025-09-16 20:13:52,979 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/278cf45b-1b65-457e-8ca6-94d3b05829e8 2025-09-16 20:13:52,989 - DEBUG - ==>Verifying data for policy with id: 4c0374a4-1a81-4d28-a1e3-ade802dfd976, fqn: ['default-domain', 'ctest-TestBasicPolicy-69537646', 'ctest-policy-allow-all-05931089'] 2025-09-16 20:13:52,989 - INFO - VN ctest-vn-63227478 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 20:13:52,989 - DEBUG - Verifying the vn in opserver 2025-09-16 20:13:52,989 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-63227478 virtual network link through opserver 10.0.0.22 2025-09-16 20:13:52,989 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-16 20:13:53,279 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-16 20:13:53,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-63227478', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-63227478?flat'} 2025-09-16 20:13:53,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-63227478 is found in opserver 2025-09-16 20:13:53,352 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 20:13:53,356 - DEBUG - VRF ids for VN ctest-vn-63227478: {} 2025-09-16 20:13:53,356 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 20:13:53,361 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a010d4b5-1922-41b6-a773-b9ce83ec6bd3 2025-09-16 20:13:53,371 - DEBUG - Requesting: http://10.0.0.22:8082/project/82906495-f4c5-464b-81bc-e7f5d10da1ff 2025-09-16 20:13:53,438 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b32335-b18b-4dc7-85d9-d8e80137a872 2025-09-16 20:13:53,449 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b32335-b18b-4dc7-85d9-d8e80137a872 2025-09-16 20:13:53,458 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/491048eb-376f-4886-bbf5-f24c8193e3b5 2025-09-16 20:13:53,465 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/491048eb-376f-4886-bbf5-f24c8193e3b5 2025-09-16 20:13:53,470 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6281a729-4bd0-4b74-bfee-afb0b4fb0ac4 2025-09-16 20:13:53,475 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 20:13:53,475 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b32335-b18b-4dc7-85d9-d8e80137a872 2025-09-16 20:13:53,482 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/491048eb-376f-4886-bbf5-f24c8193e3b5 2025-09-16 20:13:53,492 - INFO - Verified VN network id 10 for VN 41b32335-b18b-4dc7-85d9-d8e80137a872 2025-09-16 20:13:53,492 - INFO - Verifications in API Server for VN ctest-vn-78499760 passed 2025-09-16 20:13:53,493 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b32335-b18b-4dc7-85d9-d8e80137a872 2025-09-16 20:13:53,500 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/491048eb-376f-4886-bbf5-f24c8193e3b5 2025-09-16 20:13:53,506 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/491048eb-376f-4886-bbf5-f24c8193e3b5 2025-09-16 20:13:53,511 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6281a729-4bd0-4b74-bfee-afb0b4fb0ac4 2025-09-16 20:13:53,520 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-78499760', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69537646', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4734166346815458759', 'uuid-lslong': '9644978567955064946'}, 'enable': 'true', 'created': '2025-09-16T20:13:51', 'last-modified': '2025-09-16T20:13:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.280322'} 2025-09-16 20:13:53,525 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 20:13:53,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78499760 passed 2025-09-16 20:13:53,526 - DEBUG - ====Verifying policy data for ctest-vn-78499760 in API_Server ====== 2025-09-16 20:13:53,526 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 20:13:53,531 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a010d4b5-1922-41b6-a773-b9ce83ec6bd3 2025-09-16 20:13:53,540 - DEBUG - Requesting: http://10.0.0.22:8082/project/82906495-f4c5-464b-81bc-e7f5d10da1ff 2025-09-16 20:13:53,608 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b32335-b18b-4dc7-85d9-d8e80137a872 2025-09-16 20:13:53,615 - DEBUG - ==>Verifying data for policy with id: 4c0374a4-1a81-4d28-a1e3-ade802dfd976, fqn: ['default-domain', 'ctest-TestBasicPolicy-69537646', 'ctest-policy-allow-all-05931089'] 2025-09-16 20:13:53,615 - INFO - VN ctest-vn-78499760 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 20:13:53,615 - DEBUG - Verifying the vn in opserver 2025-09-16 20:13:53,615 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-78499760 virtual network link through opserver 10.0.0.22 2025-09-16 20:13:53,616 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-16 20:13:53,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-78499760', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-78499760?flat'} 2025-09-16 20:13:53,624 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-78499760 is found in opserver 2025-09-16 20:13:53,635 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 20:13:53,640 - DEBUG - VRF ids for VN ctest-vn-78499760: {} 2025-09-16 20:13:53,700 - DEBUG - Services list from nova: [, , ] 2025-09-16 20:13:54,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4126-1) 2025-09-16 20:13:55,858 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4126-1) 2025-09-16 20:13:55,860 - INFO - Waiting for VM ctest-TestBasicPolicy-69537646-94269424 to be up.. 2025-09-16 20:13:55,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 20:14:01,007 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:14:01,007 - INFO - VM name : ctest-TestBasicPolicy-69537646-94269424 2025-09-16 20:14:01,084 - DEBUG - VM ctest-TestBasicPolicy-69537646-94269424 ID is 26deb62f-a9dd-4459-8af0-d6956383d551 2025-09-16 20:14:01,104 - DEBUG - VM ctest-TestBasicPolicy-69537646-94269424 launched on Node cn-jenkins-deploy-platform-ansible-os-4126-1 2025-09-16 20:14:01,175 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/26deb62f-a9dd-4459-8af0-d6956383d551 2025-09-16 20:14:01,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/378712b7-4f90-4f89-be4f-3dfb1b6d7b11 2025-09-16 20:14:04,403 - 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-09-16 20:14:04,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69537646-94269424 failed! 2025-09-16 20:14:04,456 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69537646:ctest-vn-63227478 is 132.186.22.193 and allocation pool is NOT set 2025-09-16 20:14:06,518 - 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=2.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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 = 0.446/1.515/2.584/1.069 ms') 2025-09-16 20:14:06,518 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69537646-94269424 passed 2025-09-16 20:14:06,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:14:06,664 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69537646-94269424, IP 132.186.22.195, Port 22 2025-09-16 20:14:06,820 - DEBUG - VM ctest-TestBasicPolicy-69537646-94269424 is ready for SSH connections 2025-09-16 20:14:06,820 - INFO - Waiting for VM ctest-TestBasicPolicy-69537646-28264373 to be up.. 2025-09-16 20:14:06,898 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:14:06,898 - INFO - VM name : ctest-TestBasicPolicy-69537646-28264373 2025-09-16 20:14:06,976 - DEBUG - VM ctest-TestBasicPolicy-69537646-28264373 ID is eabb87bb-e2f3-4924-939f-ad1a93e99d51 2025-09-16 20:14:06,977 - DEBUG - VM ctest-TestBasicPolicy-69537646-28264373 launched on Node cn-jenkins-deploy-platform-ansible-os-4126-1 2025-09-16 20:14:07,052 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eabb87bb-e2f3-4924-939f-ad1a93e99d51 2025-09-16 20:14:07,060 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ca936cbe-3048-419c-847a-9a8ddf7bd82e 2025-09-16 20:14:08,298 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/1.585/2.702/1.117 ms') 2025-09-16 20:14:08,298 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69537646-28264373 passed 2025-09-16 20:14:08,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:14:08,452 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69537646-28264373, IP 57.111.74.195, Port 22 2025-09-16 20:14:08,607 - DEBUG - VM ctest-TestBasicPolicy-69537646-28264373 is ready for SSH connections 2025-09-16 20:14:08,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:14:08,607 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.111.74.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-16 20:14:08,607 - DEBUG - ping -s 56 -c 3 -W 1 57.111.74.195 2025-09-16 20:14:12,295 - DEBUG - PING 57.111.74.195 (57.111.74.195): 56 data bytes 64 bytes from 57.111.74.195: seq=0 ttl=63 time=3.509 ms 64 bytes from 57.111.74.195: seq=1 ttl=63 time=0.931 ms 64 bytes from 57.111.74.195: seq=2 ttl=63 time=1.347 ms --- 57.111.74.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/1.929/3.509 ms 2025-09-16 20:14:12,295 - INFO - Ping to IP 57.111.74.195 from VM ctest-TestBasicPolicy-69537646-94269424 passed 2025-09-16 20:14:12,464 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4c0374a4-1a81-4d28-a1e3-ade802dfd976", "href": "http://10.0.0.22:8082/network-policy/4c0374a4-1a81-4d28-a1e3-ade802dfd976"}} 2025-09-16 20:14:12,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:14:12,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.111.74.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-16 20:14:12,464 - DEBUG - ping -s 56 -c 3 -W 1 57.111.74.195 2025-09-16 20:14:15,662 - DEBUG - PING 57.111.74.195 (57.111.74.195): 56 data bytes --- 57.111.74.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 20:14:15,662 - WARNING - Ping to IP 57.111.74.195 from VM ctest-TestBasicPolicy-69537646-94269424 failed 2025-09-16 20:14:15,663 - INFO - Deleting VM ctest-TestBasicPolicy-69537646-28264373 2025-09-16 20:14:15,724 - INFO - Deleting VM ctest-TestBasicPolicy-69537646-94269424 2025-09-16 20:14:16,060 - INFO - Deleted policy ctest-policy-allow-all-05931089 2025-09-16 20:14:16,060 - INFO - Deleting VN ctest-vn-78499760 2025-09-16 20:14:16,092 - DEBUG - VN 41b32335-b18b-4dc7-85d9-d8e80137a872 still in use: Unable to complete operation on network 41b32335-b18b-4dc7-85d9-d8e80137a872. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c3d0ad1-51c1-4364-b95d-6bf0d11d3245'] 2025-09-16 20:14:16,092 - WARNING - Deleting VN ctest-vn-78499760 failed..Will retry 2025-09-16 20:14:18,183 - DEBUG - Response for deleting network () 2025-09-16 20:14:18,183 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/491048eb-376f-4886-bbf5-f24c8193e3b5 2025-09-16 20:14:18,194 - DEBUG - Response Code: 404 2025-09-16 20:14:18,194 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 20:14:18,199 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a010d4b5-1922-41b6-a773-b9ce83ec6bd3 2025-09-16 20:14:18,252 - DEBUG - Requesting: http://10.0.0.22:8082/project/82906495-f4c5-464b-81bc-e7f5d10da1ff 2025-09-16 20:14:18,323 - INFO - Validated that VN ctest-vn-78499760 is not found in API Server 2025-09-16 20:14:18,333 - DEBUG - VN ctest-vn-78499760 is not present in Agent 10.0.0.22 2025-09-16 20:14:18,333 - INFO - Validated that VN ctest-vn-78499760 is not in any agent 2025-09-16 20:14:18,344 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78499760 info 2025-09-16 20:14:18,344 - INFO - Deleting VN ctest-vn-63227478 2025-09-16 20:14:18,450 - DEBUG - Response for deleting network () 2025-09-16 20:14:18,451 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/13a9dc24-80a5-493a-b8f2-cc846fa9876e 2025-09-16 20:14:18,455 - DEBUG - Response Code: 404 2025-09-16 20:14:18,455 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 20:14:18,459 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a010d4b5-1922-41b6-a773-b9ce83ec6bd3 2025-09-16 20:14:18,513 - DEBUG - Requesting: http://10.0.0.22:8082/project/82906495-f4c5-464b-81bc-e7f5d10da1ff 2025-09-16 20:14:18,581 - INFO - Validated that VN ctest-vn-63227478 is not found in API Server 2025-09-16 20:14:18,589 - DEBUG - VN ctest-vn-63227478 is not present in Agent 10.0.0.22 2025-09-16 20:14:18,589 - INFO - Validated that VN ctest-vn-63227478 is not in any agent 2025-09-16 20:14:18,602 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63227478 info 2025-09-16 20:14:18,856 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 20:14:18,856 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-16 20:14:18,856 - INFO - -------------------------------------------------------------------------------- 2025-09-16 20:14:19,518 - INFO - Deleted project: ctest-TestBasicPolicy-69537646, ID : 82906495-f4c5-464b-81bc-e7f5d10da1ff