2025-11-06 08:50:44,173 - INFO - Domain Default found not creating 2025-11-06 08:50:44,324 - INFO - Project ctest-TestBasicPolicy-52079135 not found, creating it 2025-11-06 08:50:44,776 - INFO - Created Project:ctest-TestBasicPolicy-52079135, ID : a7265684-88fa-431d-a4e1-8725b52406f5 2025-11-06 08:50:46,393 - INFO - ================================================================================ 2025-11-06 08:50:46,394 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-06 08:50:46,394 - 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-06 08:50:46,659 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-06 08:50:46,659 - INFO - Initial checks done. Running the testcase now 2025-11-06 08:50:46,659 - INFO - 2025-11-06 08:50:47,242 - DEBUG - Response for create_network : {'network': {'id': 'd1614d6a-a129-4942-a9eb-ca8792ffdbba', 'name': 'ctest-vn-78707136', 'tenant_id': 'a726568488fa431da4e18725b52406f5', 'project_id': 'a726568488fa431da4e18725b52406f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52079135', 'ctest-vn-78707136'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 08:50:47,438 - DEBUG - Response for create_subnet : {'subnet': {'id': '99c06c96-0c4c-4843-9310-4e7065e774f6', 'name': '', 'tenant_id': 'a726568488fa431da4e18725b52406f5', 'network_id': 'd1614d6a-a129-4942-a9eb-ca8792ffdbba', 'ip_version': 4, 'cidr': '69.49.138.64/26', 'allocation_pools': [{'start': '69.49.138.66', 'end': '69.49.138.126'}], 'gateway_ip': '69.49.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.49.138.66', 'tags': [], 'project_id': 'a726568488fa431da4e18725b52406f5'}} 2025-11-06 08:50:47,456 - INFO - Created VN ctest-vn-78707136 2025-11-06 08:50:47,509 - DEBUG - VN ctest-vn-78707136 UUID is d1614d6a-a129-4942-a9eb-ca8792ffdbba 2025-11-06 08:50:47,834 - DEBUG - Response for create_network : {'network': {'id': '6d7fccac-873a-4294-b9f9-a961decdd6c1', 'name': 'ctest-vn-28795113', 'tenant_id': 'a726568488fa431da4e18725b52406f5', 'project_id': 'a726568488fa431da4e18725b52406f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52079135', 'ctest-vn-28795113'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 08:50:48,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '50155b17-161c-4d24-b62f-b4ac37ee3369', 'name': '', 'tenant_id': 'a726568488fa431da4e18725b52406f5', 'network_id': '6d7fccac-873a-4294-b9f9-a961decdd6c1', 'ip_version': 4, 'cidr': '116.220.53.0/26', 'allocation_pools': [{'start': '116.220.53.2', 'end': '116.220.53.62'}], 'gateway_ip': '116.220.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.220.53.2', 'tags': [], 'project_id': 'a726568488fa431da4e18725b52406f5'}} 2025-11-06 08:50:48,083 - INFO - Created VN ctest-vn-28795113 2025-11-06 08:50:48,136 - DEBUG - VN ctest-vn-28795113 UUID is 6d7fccac-873a-4294-b9f9-a961decdd6c1 2025-11-06 08:50:48,251 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-78707136, 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-52079135:ctest-vn-28795113, 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-06 08:50:48,552 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1614d6a-a129-4942-a9eb-ca8792ffdbba', 'name': 'ctest-vn-78707136', 'tenant_id': 'a726568488fa431da4e18725b52406f5', 'project_id': 'a726568488fa431da4e18725b52406f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['99c06c96-0c4c-4843-9310-4e7065e774f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52079135', 'ctest-vn-78707136'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52079135', 'ctest-policy-allow-all-45299504']], 'subnet_ipam': [{'subnet_cidr': '69.49.138.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 08:50:48,795 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d7fccac-873a-4294-b9f9-a961decdd6c1', 'name': 'ctest-vn-28795113', 'tenant_id': 'a726568488fa431da4e18725b52406f5', 'project_id': 'a726568488fa431da4e18725b52406f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50155b17-161c-4d24-b62f-b4ac37ee3369'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52079135', 'ctest-vn-28795113'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52079135', 'ctest-policy-allow-all-45299504']], 'subnet_ipam': [{'subnet_cidr': '116.220.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 08:50:48,972 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 08:50:49,312 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 08:50:49,339 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd2fc3ff-8240-4fbd-a6d1-860150bbabad 2025-11-06 08:50:49,350 - DEBUG - Requesting: http://10.0.0.38:8082/project/a7265684-88fa-431d-a4e1-8725b52406f5 2025-11-06 08:50:49,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1614d6a-a129-4942-a9eb-ca8792ffdbba 2025-11-06 08:50:49,430 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1614d6a-a129-4942-a9eb-ca8792ffdbba 2025-11-06 08:50:49,442 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bd95800-6f43-4986-af85-6380118401df 2025-11-06 08:50:49,450 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bd95800-6f43-4986-af85-6380118401df 2025-11-06 08:50:49,458 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/05d51719-e58a-4b83-b0d4-8ace00516456 2025-11-06 08:50:49,466 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 08:50:49,466 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1614d6a-a129-4942-a9eb-ca8792ffdbba 2025-11-06 08:50:49,478 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bd95800-6f43-4986-af85-6380118401df 2025-11-06 08:50:49,494 - INFO - Verified VN network id 11 for VN d1614d6a-a129-4942-a9eb-ca8792ffdbba 2025-11-06 08:50:49,495 - INFO - Verifications in API Server for VN ctest-vn-78707136 passed 2025-11-06 08:50:49,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1614d6a-a129-4942-a9eb-ca8792ffdbba 2025-11-06 08:50:49,504 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bd95800-6f43-4986-af85-6380118401df 2025-11-06 08:50:49,510 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bd95800-6f43-4986-af85-6380118401df 2025-11-06 08:50:49,518 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/05d51719-e58a-4b83-b0d4-8ace00516456 2025-11-06 08:50:49,528 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-78707136', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52079135', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15087425347033581890', 'uuid-lslong': '12244102695572462522'}, 'enable': 'true', 'created': '2025-11-06T08:50:47', 'last-modified': '2025-11-06T08:50:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.004512'} 2025-11-06 08:50:49,533 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 08:50:49,533 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78707136 passed 2025-11-06 08:50:49,534 - DEBUG - ====Verifying policy data for ctest-vn-78707136 in API_Server ====== 2025-11-06 08:50:49,534 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 08:50:49,539 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd2fc3ff-8240-4fbd-a6d1-860150bbabad 2025-11-06 08:50:49,549 - DEBUG - Requesting: http://10.0.0.38:8082/project/a7265684-88fa-431d-a4e1-8725b52406f5 2025-11-06 08:50:49,618 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d1614d6a-a129-4942-a9eb-ca8792ffdbba 2025-11-06 08:50:49,627 - DEBUG - ==>Verifying data for policy with id: 06430444-3d76-4daa-bfbc-2904956c8c7e, fqn: ['default-domain', 'ctest-TestBasicPolicy-52079135', 'ctest-policy-allow-all-45299504'] 2025-11-06 08:50:49,627 - INFO - VN ctest-vn-78707136 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 08:50:49,627 - DEBUG - Verifying the vn in opserver 2025-11-06 08:50:49,627 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-78707136 virtual network link through opserver 10.0.0.38 2025-11-06 08:50:49,627 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-06 08:50:49,961 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-06 08:50:50,016 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-78707136', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-78707136?flat'} 2025-11-06 08:50:50,016 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-78707136 is found in opserver 2025-11-06 08:50:50,026 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 08:50:50,031 - DEBUG - VRF ids for VN ctest-vn-78707136: {} 2025-11-06 08:50:50,031 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 08:50:50,037 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd2fc3ff-8240-4fbd-a6d1-860150bbabad 2025-11-06 08:50:50,049 - DEBUG - Requesting: http://10.0.0.38:8082/project/a7265684-88fa-431d-a4e1-8725b52406f5 2025-11-06 08:50:50,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d7fccac-873a-4294-b9f9-a961decdd6c1 2025-11-06 08:50:50,129 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d7fccac-873a-4294-b9f9-a961decdd6c1 2025-11-06 08:50:50,141 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d784cd6-29e4-4b83-9bc7-e8899bbbe88c 2025-11-06 08:50:50,150 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d784cd6-29e4-4b83-9bc7-e8899bbbe88c 2025-11-06 08:50:50,158 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/208204d6-ff72-43bc-ac02-dd631c069eec 2025-11-06 08:50:50,166 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 08:50:50,166 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d7fccac-873a-4294-b9f9-a961decdd6c1 2025-11-06 08:50:50,177 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d784cd6-29e4-4b83-9bc7-e8899bbbe88c 2025-11-06 08:50:50,194 - INFO - Verified VN network id 12 for VN 6d7fccac-873a-4294-b9f9-a961decdd6c1 2025-11-06 08:50:50,194 - INFO - Verifications in API Server for VN ctest-vn-28795113 passed 2025-11-06 08:50:50,194 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d7fccac-873a-4294-b9f9-a961decdd6c1 2025-11-06 08:50:50,205 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d784cd6-29e4-4b83-9bc7-e8899bbbe88c 2025-11-06 08:50:50,213 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d784cd6-29e4-4b83-9bc7-e8899bbbe88c 2025-11-06 08:50:50,222 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/208204d6-ff72-43bc-ac02-dd631c069eec 2025-11-06 08:50:50,236 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-28795113', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52079135', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7890250113551581844', 'uuid-lslong': '13400928404032575169'}, 'enable': 'true', 'created': '2025-11-06T08:50:47', 'last-modified': '2025-11-06T08:50:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468347'} 2025-11-06 08:50:50,243 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 08:50:50,243 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28795113 passed 2025-11-06 08:50:50,243 - DEBUG - ====Verifying policy data for ctest-vn-28795113 in API_Server ====== 2025-11-06 08:50:50,244 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 08:50:50,250 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd2fc3ff-8240-4fbd-a6d1-860150bbabad 2025-11-06 08:50:50,262 - DEBUG - Requesting: http://10.0.0.38:8082/project/a7265684-88fa-431d-a4e1-8725b52406f5 2025-11-06 08:50:50,336 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d7fccac-873a-4294-b9f9-a961decdd6c1 2025-11-06 08:50:50,347 - DEBUG - ==>Verifying data for policy with id: 06430444-3d76-4daa-bfbc-2904956c8c7e, fqn: ['default-domain', 'ctest-TestBasicPolicy-52079135', 'ctest-policy-allow-all-45299504'] 2025-11-06 08:50:50,347 - INFO - VN ctest-vn-28795113 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 08:50:50,347 - DEBUG - Verifying the vn in opserver 2025-11-06 08:50:50,347 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-28795113 virtual network link through opserver 10.0.0.38 2025-11-06 08:50:50,347 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-06 08:50:50,358 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-28795113', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-28795113?flat'} 2025-11-06 08:50:50,358 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-28795113 is found in opserver 2025-11-06 08:50:50,368 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 08:50:50,373 - DEBUG - VRF ids for VN ctest-vn-28795113: {} 2025-11-06 08:50:50,434 - DEBUG - Services list from nova: [, , ] 2025-11-06 08:50:51,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4666-1) 2025-11-06 08:50:52,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4666-1) 2025-11-06 08:50:52,786 - INFO - Waiting for VM ctest-TestBasicPolicy-52079135-11115078 to be up.. 2025-11-06 08:50:52,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 08:50:58,023 - DEBUG - VM is in ACTIVE state now 2025-11-06 08:50:58,023 - INFO - VM name : ctest-TestBasicPolicy-52079135-11115078 2025-11-06 08:50:58,108 - DEBUG - VM ctest-TestBasicPolicy-52079135-11115078 ID is 4efd41ec-3a60-462b-9437-4ceaad26f6e1 2025-11-06 08:50:58,129 - DEBUG - VM ctest-TestBasicPolicy-52079135-11115078 launched on Node cn-jenkins-deploy-platform-ansible-os-4666-1 2025-11-06 08:50:58,203 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4efd41ec-3a60-462b-9437-4ceaad26f6e1 2025-11-06 08:50:58,211 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9c950110-de6c-4dcc-9c61-c64c2472fd47 2025-11-06 08:51:01,457 - 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 1014ms') 2025-11-06 08:51:01,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52079135-11115078 failed! 2025-11-06 08:51:01,516 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52079135:ctest-vn-78707136 is 69.49.138.65 and allocation pool is NOT set 2025-11-06 08:51:03,574 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.558 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.558/5.465/10.373/4.907 ms') 2025-11-06 08:51:03,574 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52079135-11115078 passed 2025-11-06 08:51:03,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:51:03,721 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52079135-11115078, IP 69.49.138.67, Port 22 2025-11-06 08:51:03,888 - DEBUG - VM ctest-TestBasicPolicy-52079135-11115078 is ready for SSH connections 2025-11-06 08:51:03,888 - INFO - Waiting for VM ctest-TestBasicPolicy-52079135-51530385 to be up.. 2025-11-06 08:51:03,969 - DEBUG - VM is in ACTIVE state now 2025-11-06 08:51:03,969 - INFO - VM name : ctest-TestBasicPolicy-52079135-51530385 2025-11-06 08:51:04,051 - DEBUG - VM ctest-TestBasicPolicy-52079135-51530385 ID is e4929556-cbcf-4d5e-b03d-4d8c5317f707 2025-11-06 08:51:04,051 - DEBUG - VM ctest-TestBasicPolicy-52079135-51530385 launched on Node cn-jenkins-deploy-platform-ansible-os-4666-1 2025-11-06 08:51:04,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e4929556-cbcf-4d5e-b03d-4d8c5317f707 2025-11-06 08:51:04,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a17042a8-b101-4fa1-a450-0dd9ce0bb033 2025-11-06 08:51:05,405 - 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=4.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.943 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.943/2.479/4.016/1.536 ms') 2025-11-06 08:51:05,405 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52079135-51530385 passed 2025-11-06 08:51:05,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:51:05,561 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52079135-51530385, IP 116.220.53.3, Port 22 2025-11-06 08:51:05,726 - DEBUG - VM ctest-TestBasicPolicy-52079135-51530385 is ready for SSH connections 2025-11-06 08:51:05,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:51:05,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.220.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 08:51:05,727 - DEBUG - ping -s 56 -c 3 -W 1 116.220.53.3 2025-11-06 08:51:09,894 - DEBUG - PING 116.220.53.3 (116.220.53.3): 56 data bytes 64 bytes from 116.220.53.3: seq=0 ttl=63 time=5.198 ms 64 bytes from 116.220.53.3: seq=1 ttl=63 time=1.017 ms 64 bytes from 116.220.53.3: seq=2 ttl=63 time=0.848 ms --- 116.220.53.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/2.354/5.198 ms 2025-11-06 08:51:09,894 - INFO - Ping to IP 116.220.53.3 from VM ctest-TestBasicPolicy-52079135-11115078 passed 2025-11-06 08:51:10,068 - DEBUG - Policy Update Response {"network-policy": {"uuid": "06430444-3d76-4daa-bfbc-2904956c8c7e", "href": "http://10.0.0.38:8082/network-policy/06430444-3d76-4daa-bfbc-2904956c8c7e"}} 2025-11-06 08:51:10,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:51:10,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.220.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 08:51:10,069 - DEBUG - ping -s 56 -c 3 -W 1 116.220.53.3 2025-11-06 08:51:13,305 - DEBUG - PING 116.220.53.3 (116.220.53.3): 56 data bytes --- 116.220.53.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-06 08:51:13,305 - WARNING - Ping to IP 116.220.53.3 from VM ctest-TestBasicPolicy-52079135-11115078 failed 2025-11-06 08:51:13,305 - INFO - Deleting VM ctest-TestBasicPolicy-52079135-51530385 2025-11-06 08:51:13,377 - INFO - Deleting VM ctest-TestBasicPolicy-52079135-11115078 2025-11-06 08:51:13,792 - INFO - Deleted policy ctest-policy-allow-all-45299504 2025-11-06 08:51:13,792 - INFO - Deleting VN ctest-vn-28795113 2025-11-06 08:51:13,834 - DEBUG - VN 6d7fccac-873a-4294-b9f9-a961decdd6c1 still in use: Unable to complete operation on network 6d7fccac-873a-4294-b9f9-a961decdd6c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc959c0a-f944-42d7-bf2d-9be97c76d6a9'] 2025-11-06 08:51:13,834 - WARNING - Deleting VN ctest-vn-28795113 failed..Will retry 2025-11-06 08:51:15,942 - DEBUG - Response for deleting network () 2025-11-06 08:51:15,942 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d784cd6-29e4-4b83-9bc7-e8899bbbe88c 2025-11-06 08:51:15,948 - DEBUG - Response Code: 404 2025-11-06 08:51:15,948 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 08:51:15,953 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd2fc3ff-8240-4fbd-a6d1-860150bbabad 2025-11-06 08:51:16,007 - DEBUG - Requesting: http://10.0.0.38:8082/project/a7265684-88fa-431d-a4e1-8725b52406f5 2025-11-06 08:51:16,079 - INFO - Validated that VN ctest-vn-28795113 is not found in API Server 2025-11-06 08:51:16,089 - DEBUG - VN ctest-vn-28795113 is not present in Agent 10.0.0.38 2025-11-06 08:51:16,089 - INFO - Validated that VN ctest-vn-28795113 is not in any agent 2025-11-06 08:51:16,103 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28795113 info 2025-11-06 08:51:16,103 - INFO - Deleting VN ctest-vn-78707136 2025-11-06 08:51:16,212 - DEBUG - Response for deleting network () 2025-11-06 08:51:16,213 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bd95800-6f43-4986-af85-6380118401df 2025-11-06 08:51:16,221 - DEBUG - Response Code: 404 2025-11-06 08:51:16,221 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-06 08:51:16,228 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd2fc3ff-8240-4fbd-a6d1-860150bbabad 2025-11-06 08:51:16,281 - DEBUG - Requesting: http://10.0.0.38:8082/project/a7265684-88fa-431d-a4e1-8725b52406f5 2025-11-06 08:51:16,351 - INFO - Validated that VN ctest-vn-78707136 is not found in API Server 2025-11-06 08:51:16,362 - DEBUG - VN ctest-vn-78707136 is not present in Agent 10.0.0.38 2025-11-06 08:51:16,362 - INFO - Validated that VN ctest-vn-78707136 is not in any agent 2025-11-06 08:51:16,376 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78707136 info 2025-11-06 08:51:16,635 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 08:51:16,635 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-06 08:51:16,635 - INFO - -------------------------------------------------------------------------------- 2025-11-06 08:51:17,345 - INFO - Deleted project: ctest-TestBasicPolicy-52079135, ID : a7265684-88fa-431d-a4e1-8725b52406f5