2025-11-12 03:25:38,772 - INFO - Domain Default found not creating 2025-11-12 03:25:38,889 - INFO - Project ctest-TestBasicPolicy-61803306 not found, creating it 2025-11-12 03:25:39,360 - INFO - Created Project:ctest-TestBasicPolicy-61803306, ID : a069f617-a410-4697-a118-639fe3de0265 2025-11-12 03:25:40,703 - INFO - ================================================================================ 2025-11-12 03:25:40,703 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 03:25:40,703 - 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-12 03:25:40,959 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 03:25:40,959 - INFO - Initial checks done. Running the testcase now 2025-11-12 03:25:40,959 - INFO - 2025-11-12 03:25:41,469 - DEBUG - Response for create_network : {'network': {'id': '1d9ad724-2c3c-43a2-935d-d483977df9eb', 'name': 'ctest-vn-77170431', 'tenant_id': 'a069f617a4104697a118639fe3de0265', 'project_id': 'a069f617a4104697a118639fe3de0265', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61803306', 'ctest-vn-77170431'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:25:41,642 - DEBUG - Response for create_subnet : {'subnet': {'id': '19a0844b-4c86-42dc-a7c4-4a2e6d5ebe33', 'name': '', 'tenant_id': 'a069f617a4104697a118639fe3de0265', 'network_id': '1d9ad724-2c3c-43a2-935d-d483977df9eb', 'ip_version': 4, 'cidr': '108.37.211.0/26', 'allocation_pools': [{'start': '108.37.211.2', 'end': '108.37.211.62'}], 'gateway_ip': '108.37.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.37.211.2', 'tags': [], 'project_id': 'a069f617a4104697a118639fe3de0265'}} 2025-11-12 03:25:41,657 - INFO - Created VN ctest-vn-77170431 2025-11-12 03:25:41,707 - DEBUG - VN ctest-vn-77170431 UUID is 1d9ad724-2c3c-43a2-935d-d483977df9eb 2025-11-12 03:25:41,996 - DEBUG - Response for create_network : {'network': {'id': '44d22b8b-4862-40ef-b5ca-ab35f0a6fc73', 'name': 'ctest-vn-71443215', 'tenant_id': 'a069f617a4104697a118639fe3de0265', 'project_id': 'a069f617a4104697a118639fe3de0265', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61803306', 'ctest-vn-71443215'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:25:42,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d3aad4d-8ea3-4261-a627-955910f12ee1', 'name': '', 'tenant_id': 'a069f617a4104697a118639fe3de0265', 'network_id': '44d22b8b-4862-40ef-b5ca-ab35f0a6fc73', 'ip_version': 4, 'cidr': '156.0.142.64/26', 'allocation_pools': [{'start': '156.0.142.66', 'end': '156.0.142.126'}], 'gateway_ip': '156.0.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.0.142.66', 'tags': [], 'project_id': 'a069f617a4104697a118639fe3de0265'}} 2025-11-12 03:25:42,206 - INFO - Created VN ctest-vn-71443215 2025-11-12 03:25:42,259 - DEBUG - VN ctest-vn-71443215 UUID is 44d22b8b-4862-40ef-b5ca-ab35f0a6fc73 2025-11-12 03:25:42,399 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-77170431, 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-61803306:ctest-vn-71443215, 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-12 03:25:42,671 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1d9ad724-2c3c-43a2-935d-d483977df9eb', 'name': 'ctest-vn-77170431', 'tenant_id': 'a069f617a4104697a118639fe3de0265', 'project_id': 'a069f617a4104697a118639fe3de0265', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19a0844b-4c86-42dc-a7c4-4a2e6d5ebe33'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61803306', 'ctest-vn-77170431'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61803306', 'ctest-policy-allow-all-62939202']], 'subnet_ipam': [{'subnet_cidr': '108.37.211.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:25:42,910 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44d22b8b-4862-40ef-b5ca-ab35f0a6fc73', 'name': 'ctest-vn-71443215', 'tenant_id': 'a069f617a4104697a118639fe3de0265', 'project_id': 'a069f617a4104697a118639fe3de0265', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d3aad4d-8ea3-4261-a627-955910f12ee1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61803306', 'ctest-vn-71443215'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61803306', 'ctest-policy-allow-all-62939202']], 'subnet_ipam': [{'subnet_cidr': '156.0.142.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:25:43,051 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 03:25:43,342 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 03:25:43,365 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30d59b33-e0b0-49f3-9868-e063f4417af1 2025-11-12 03:25:43,376 - DEBUG - Requesting: http://10.0.0.38:8082/project/a069f617-a410-4697-a118-639fe3de0265 2025-11-12 03:25:43,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d9ad724-2c3c-43a2-935d-d483977df9eb 2025-11-12 03:25:43,453 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d9ad724-2c3c-43a2-935d-d483977df9eb 2025-11-12 03:25:43,461 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1032a-0e85-4f50-ad9f-d84a0a63cc7e 2025-11-12 03:25:43,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1032a-0e85-4f50-ad9f-d84a0a63cc7e 2025-11-12 03:25:43,474 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1ecdc361-5a3b-4280-bf58-b85f5810edba 2025-11-12 03:25:43,478 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 03:25:43,478 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d9ad724-2c3c-43a2-935d-d483977df9eb 2025-11-12 03:25:43,485 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1032a-0e85-4f50-ad9f-d84a0a63cc7e 2025-11-12 03:25:43,495 - INFO - Verified VN network id 12 for VN 1d9ad724-2c3c-43a2-935d-d483977df9eb 2025-11-12 03:25:43,495 - INFO - Verifications in API Server for VN ctest-vn-77170431 passed 2025-11-12 03:25:43,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d9ad724-2c3c-43a2-935d-d483977df9eb 2025-11-12 03:25:43,503 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1032a-0e85-4f50-ad9f-d84a0a63cc7e 2025-11-12 03:25:43,508 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1032a-0e85-4f50-ad9f-d84a0a63cc7e 2025-11-12 03:25:43,513 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1ecdc361-5a3b-4280-bf58-b85f5810edba 2025-11-12 03:25:43,521 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-77170431', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61803306', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2133253923874292642', 'uuid-lslong': '10618877158056917483'}, 'enable': 'true', 'created': '2025-11-12T03:25:41', 'last-modified': '2025-11-12T03:25:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.871808'} 2025-11-12 03:25:43,527 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 03:25:43,527 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77170431 passed 2025-11-12 03:25:43,527 - DEBUG - ====Verifying policy data for ctest-vn-77170431 in API_Server ====== 2025-11-12 03:25:43,527 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 03:25:43,531 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30d59b33-e0b0-49f3-9868-e063f4417af1 2025-11-12 03:25:43,540 - DEBUG - Requesting: http://10.0.0.38:8082/project/a069f617-a410-4697-a118-639fe3de0265 2025-11-12 03:25:43,607 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d9ad724-2c3c-43a2-935d-d483977df9eb 2025-11-12 03:25:43,614 - DEBUG - ==>Verifying data for policy with id: a0c166e9-6316-4c5d-b174-703a25ed351c, fqn: ['default-domain', 'ctest-TestBasicPolicy-61803306', 'ctest-policy-allow-all-62939202'] 2025-11-12 03:25:43,615 - INFO - VN ctest-vn-77170431 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 03:25:43,615 - DEBUG - Verifying the vn in opserver 2025-11-12 03:25:43,615 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-77170431 virtual network link through opserver 10.0.0.38 2025-11-12 03:25:43,615 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-12 03:25:43,902 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-12 03:25:43,953 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-77170431', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-77170431?flat'} 2025-11-12 03:25:43,953 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-77170431 is found in opserver 2025-11-12 03:25:43,961 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 03:25:43,965 - DEBUG - VRF ids for VN ctest-vn-77170431: {} 2025-11-12 03:25:43,965 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 03:25:43,970 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30d59b33-e0b0-49f3-9868-e063f4417af1 2025-11-12 03:25:43,979 - DEBUG - Requesting: http://10.0.0.38:8082/project/a069f617-a410-4697-a118-639fe3de0265 2025-11-12 03:25:44,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44d22b8b-4862-40ef-b5ca-ab35f0a6fc73 2025-11-12 03:25:44,055 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44d22b8b-4862-40ef-b5ca-ab35f0a6fc73 2025-11-12 03:25:44,063 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa85a8ee-de87-42ed-826e-40c70ddb7a0c 2025-11-12 03:25:44,070 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa85a8ee-de87-42ed-826e-40c70ddb7a0c 2025-11-12 03:25:44,076 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/05d8f977-bd9e-45be-bc7c-972204c97587 2025-11-12 03:25:44,082 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 03:25:44,082 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44d22b8b-4862-40ef-b5ca-ab35f0a6fc73 2025-11-12 03:25:44,090 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa85a8ee-de87-42ed-826e-40c70ddb7a0c 2025-11-12 03:25:44,102 - INFO - Verified VN network id 13 for VN 44d22b8b-4862-40ef-b5ca-ab35f0a6fc73 2025-11-12 03:25:44,102 - INFO - Verifications in API Server for VN ctest-vn-71443215 passed 2025-11-12 03:25:44,102 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44d22b8b-4862-40ef-b5ca-ab35f0a6fc73 2025-11-12 03:25:44,110 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa85a8ee-de87-42ed-826e-40c70ddb7a0c 2025-11-12 03:25:44,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa85a8ee-de87-42ed-826e-40c70ddb7a0c 2025-11-12 03:25:44,122 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/05d8f977-bd9e-45be-bc7c-972204c97587 2025-11-12 03:25:44,133 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-71443215', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61803306', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4959074016903184623', 'uuid-lslong': '13099470714319600755'}, 'enable': 'true', 'created': '2025-11-12T03:25:41', 'last-modified': '2025-11-12T03:25:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.268710'} 2025-11-12 03:25:44,138 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 03:25:44,138 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71443215 passed 2025-11-12 03:25:44,138 - DEBUG - ====Verifying policy data for ctest-vn-71443215 in API_Server ====== 2025-11-12 03:25:44,138 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 03:25:44,143 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30d59b33-e0b0-49f3-9868-e063f4417af1 2025-11-12 03:25:44,154 - DEBUG - Requesting: http://10.0.0.38:8082/project/a069f617-a410-4697-a118-639fe3de0265 2025-11-12 03:25:44,231 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44d22b8b-4862-40ef-b5ca-ab35f0a6fc73 2025-11-12 03:25:44,239 - DEBUG - ==>Verifying data for policy with id: a0c166e9-6316-4c5d-b174-703a25ed351c, fqn: ['default-domain', 'ctest-TestBasicPolicy-61803306', 'ctest-policy-allow-all-62939202'] 2025-11-12 03:25:44,239 - INFO - VN ctest-vn-71443215 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 03:25:44,240 - DEBUG - Verifying the vn in opserver 2025-11-12 03:25:44,240 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-71443215 virtual network link through opserver 10.0.0.38 2025-11-12 03:25:44,240 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-12 03:25:44,248 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-71443215', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-71443215?flat'} 2025-11-12 03:25:44,248 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-71443215 is found in opserver 2025-11-12 03:25:44,256 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 03:25:44,260 - DEBUG - VRF ids for VN ctest-vn-71443215: {} 2025-11-12 03:25:44,321 - DEBUG - Services list from nova: [, , ] 2025-11-12 03:25:45,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:25:46,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:25:46,357 - INFO - Waiting for VM ctest-TestBasicPolicy-61803306-85392896 to be up.. 2025-11-12 03:25:46,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 03:25:51,492 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:25:51,492 - INFO - VM name : ctest-TestBasicPolicy-61803306-85392896 2025-11-12 03:25:51,552 - DEBUG - VM ctest-TestBasicPolicy-61803306-85392896 ID is d862b683-af69-4511-81c3-8862eb7375ff 2025-11-12 03:25:51,569 - DEBUG - VM ctest-TestBasicPolicy-61803306-85392896 launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:25:51,629 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d862b683-af69-4511-81c3-8862eb7375ff 2025-11-12 03:25:51,636 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/292610da-9a4e-43eb-a01d-e4c27bb7d43d 2025-11-12 03:25:54,885 - 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 1023ms') 2025-11-12 03:25:54,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61803306-85392896 failed! 2025-11-12 03:25:54,939 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61803306:ctest-vn-77170431 is 108.37.211.1 and allocation pool is NOT set 2025-11-12 03:25:57,003 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.369 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.369/1.539/2.709/1.170 ms') 2025-11-12 03:25:57,003 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61803306-85392896 passed 2025-11-12 03:25:57,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:25:57,151 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61803306-85392896, IP 108.37.211.3, Port 22 2025-11-12 03:25:57,306 - DEBUG - VM ctest-TestBasicPolicy-61803306-85392896 is ready for SSH connections 2025-11-12 03:25:57,306 - INFO - Waiting for VM ctest-TestBasicPolicy-61803306-31654610 to be up.. 2025-11-12 03:25:57,368 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:25:57,368 - INFO - VM name : ctest-TestBasicPolicy-61803306-31654610 2025-11-12 03:25:57,430 - DEBUG - VM ctest-TestBasicPolicy-61803306-31654610 ID is 03fce1a5-c89b-415f-9a42-60fe82e3d290 2025-11-12 03:25:57,431 - DEBUG - VM ctest-TestBasicPolicy-61803306-31654610 launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:25:57,499 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/03fce1a5-c89b-415f-9a42-60fe82e3d290 2025-11-12 03:25:57,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/605b0a34-3543-4f21-9820-d70ec207a8ef 2025-11-12 03:25:58,731 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.510/2.606/1.096 ms') 2025-11-12 03:25:58,731 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61803306-31654610 passed 2025-11-12 03:25:58,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:25:58,879 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61803306-31654610, IP 156.0.142.67, Port 22 2025-11-12 03:25:59,030 - DEBUG - VM ctest-TestBasicPolicy-61803306-31654610 is ready for SSH connections 2025-11-12 03:25:59,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:25:59,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.0.142.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 03:25:59,030 - DEBUG - ping -s 56 -c 3 -W 1 156.0.142.67 2025-11-12 03:26:02,996 - DEBUG - PING 156.0.142.67 (156.0.142.67): 56 data bytes 64 bytes from 156.0.142.67: seq=0 ttl=63 time=3.141 ms 64 bytes from 156.0.142.67: seq=1 ttl=63 time=0.786 ms 64 bytes from 156.0.142.67: seq=2 ttl=63 time=0.731 ms --- 156.0.142.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/1.552/3.141 ms 2025-11-12 03:26:02,996 - INFO - Ping to IP 156.0.142.67 from VM ctest-TestBasicPolicy-61803306-85392896 passed 2025-11-12 03:26:03,171 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0c166e9-6316-4c5d-b174-703a25ed351c", "href": "http://10.0.0.38:8082/network-policy/a0c166e9-6316-4c5d-b174-703a25ed351c"}} 2025-11-12 03:26:03,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:26:03,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.0.142.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 03:26:03,171 - DEBUG - ping -s 56 -c 3 -W 1 156.0.142.67 2025-11-12 03:26:06,400 - DEBUG - PING 156.0.142.67 (156.0.142.67): 56 data bytes 64 bytes from 156.0.142.67: seq=0 ttl=63 time=1.283 ms --- 156.0.142.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.283/1.283/1.283 ms 2025-11-12 03:26:06,400 - WARNING - Ping to IP 156.0.142.67 from VM ctest-TestBasicPolicy-61803306-85392896 failed 2025-11-12 03:26:06,400 - INFO - Deleting VM ctest-TestBasicPolicy-61803306-31654610 2025-11-12 03:26:06,462 - INFO - Deleting VM ctest-TestBasicPolicy-61803306-85392896 2025-11-12 03:26:06,782 - INFO - Deleted policy ctest-policy-allow-all-62939202 2025-11-12 03:26:06,782 - INFO - Deleting VN ctest-vn-71443215 2025-11-12 03:26:06,818 - DEBUG - VN 44d22b8b-4862-40ef-b5ca-ab35f0a6fc73 still in use: Unable to complete operation on network 44d22b8b-4862-40ef-b5ca-ab35f0a6fc73. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7d5e34cf-ae70-4b95-ab00-9ab1d8947c57'] 2025-11-12 03:26:06,818 - WARNING - Deleting VN ctest-vn-71443215 failed..Will retry 2025-11-12 03:26:08,914 - DEBUG - Response for deleting network () 2025-11-12 03:26:08,914 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa85a8ee-de87-42ed-826e-40c70ddb7a0c 2025-11-12 03:26:08,919 - DEBUG - Response Code: 404 2025-11-12 03:26:08,920 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 03:26:08,923 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30d59b33-e0b0-49f3-9868-e063f4417af1 2025-11-12 03:26:08,977 - DEBUG - Requesting: http://10.0.0.38:8082/project/a069f617-a410-4697-a118-639fe3de0265 2025-11-12 03:26:09,050 - INFO - Validated that VN ctest-vn-71443215 is not found in API Server 2025-11-12 03:26:09,061 - DEBUG - VN ctest-vn-71443215 is not present in Agent 10.0.0.38 2025-11-12 03:26:09,062 - INFO - Validated that VN ctest-vn-71443215 is not in any agent 2025-11-12 03:26:09,075 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71443215 info 2025-11-12 03:26:09,075 - INFO - Deleting VN ctest-vn-77170431 2025-11-12 03:26:09,170 - DEBUG - Response for deleting network () 2025-11-12 03:26:09,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca1032a-0e85-4f50-ad9f-d84a0a63cc7e 2025-11-12 03:26:09,175 - DEBUG - Response Code: 404 2025-11-12 03:26:09,175 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 03:26:09,180 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30d59b33-e0b0-49f3-9868-e063f4417af1 2025-11-12 03:26:09,231 - DEBUG - Requesting: http://10.0.0.38:8082/project/a069f617-a410-4697-a118-639fe3de0265 2025-11-12 03:26:09,300 - INFO - Validated that VN ctest-vn-77170431 is not found in API Server 2025-11-12 03:26:09,309 - DEBUG - VN ctest-vn-77170431 is not present in Agent 10.0.0.38 2025-11-12 03:26:09,309 - INFO - Validated that VN ctest-vn-77170431 is not in any agent 2025-11-12 03:26:09,320 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77170431 info 2025-11-12 03:26:09,579 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 03:26:09,579 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-12 03:26:09,579 - INFO - -------------------------------------------------------------------------------- 2025-11-12 03:26:10,218 - INFO - Deleted project: ctest-TestBasicPolicy-61803306, ID : a069f617-a410-4697-a118-639fe3de0265