2025-04-22 17:30:26,800 - INFO - Domain Default found not creating 2025-04-22 17:30:26,927 - INFO - Project ctest-TestBasicPolicy-06796598 not found, creating it 2025-04-22 17:30:27,374 - INFO - Created Project:ctest-TestBasicPolicy-06796598, ID : a29df98c-d584-4aca-9672-475b97201b20 2025-04-22 17:30:28,730 - INFO - ================================================================================ 2025-04-22 17:30:28,730 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 17:30:28,730 - 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-04-22 17:30:28,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-04-22 17:30:28,985 - INFO - Initial checks done. Running the testcase now 2025-04-22 17:30:28,985 - INFO - 2025-04-22 17:30:29,526 - DEBUG - Response for create_network : {'network': {'id': '07fbe2f2-4166-4e79-aa63-cb8b62284e14', 'name': 'ctest-vn-97576751', 'tenant_id': 'a29df98cd5844aca9672475b97201b20', 'project_id': 'a29df98cd5844aca9672475b97201b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06796598', 'ctest-vn-97576751'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:30:29,710 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7955f38-99fc-4c30-a32c-6fd5121dd637', 'name': '', 'tenant_id': 'a29df98cd5844aca9672475b97201b20', 'network_id': '07fbe2f2-4166-4e79-aa63-cb8b62284e14', 'ip_version': 4, 'cidr': '69.156.211.0/26', 'allocation_pools': [{'start': '69.156.211.2', 'end': '69.156.211.62'}], 'gateway_ip': '69.156.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.156.211.2', 'tags': [], 'project_id': 'a29df98cd5844aca9672475b97201b20'}} 2025-04-22 17:30:29,727 - INFO - Created VN ctest-vn-97576751 2025-04-22 17:30:29,780 - DEBUG - VN ctest-vn-97576751 UUID is 07fbe2f2-4166-4e79-aa63-cb8b62284e14 2025-04-22 17:30:30,101 - DEBUG - Response for create_network : {'network': {'id': 'e9db07c1-ab1e-49a5-a174-5a00328126f6', 'name': 'ctest-vn-56260175', 'tenant_id': 'a29df98cd5844aca9672475b97201b20', 'project_id': 'a29df98cd5844aca9672475b97201b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06796598', 'ctest-vn-56260175'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:30:30,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '9436ece3-8579-4181-8202-b14c23e6a8fa', 'name': '', 'tenant_id': 'a29df98cd5844aca9672475b97201b20', 'network_id': 'e9db07c1-ab1e-49a5-a174-5a00328126f6', 'ip_version': 4, 'cidr': '180.68.107.64/26', 'allocation_pools': [{'start': '180.68.107.66', 'end': '180.68.107.126'}], 'gateway_ip': '180.68.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.68.107.66', 'tags': [], 'project_id': 'a29df98cd5844aca9672475b97201b20'}} 2025-04-22 17:30:30,347 - INFO - Created VN ctest-vn-56260175 2025-04-22 17:30:30,404 - DEBUG - VN ctest-vn-56260175 UUID is e9db07c1-ab1e-49a5-a174-5a00328126f6 2025-04-22 17:30:30,551 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-97576751, 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-06796598:ctest-vn-56260175, 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-04-22 17:30:30,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07fbe2f2-4166-4e79-aa63-cb8b62284e14', 'name': 'ctest-vn-97576751', 'tenant_id': 'a29df98cd5844aca9672475b97201b20', 'project_id': 'a29df98cd5844aca9672475b97201b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e7955f38-99fc-4c30-a32c-6fd5121dd637'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06796598', 'ctest-vn-97576751'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06796598', 'ctest-policy-allow-all-33634695']], 'subnet_ipam': [{'subnet_cidr': '69.156.211.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:30:31,054 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9db07c1-ab1e-49a5-a174-5a00328126f6', 'name': 'ctest-vn-56260175', 'tenant_id': 'a29df98cd5844aca9672475b97201b20', 'project_id': 'a29df98cd5844aca9672475b97201b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9436ece3-8579-4181-8202-b14c23e6a8fa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06796598', 'ctest-vn-56260175'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06796598', 'ctest-policy-allow-all-33634695']], 'subnet_ipam': [{'subnet_cidr': '180.68.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:30:31,216 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 17:30:31,510 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 17:30:31,535 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecf64c5e-07ff-448e-af26-ab39696b80d5 2025-04-22 17:30:31,546 - DEBUG - Requesting: http://10.0.0.38:8082/project/a29df98c-d584-4aca-9672-475b97201b20 2025-04-22 17:30:31,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07fbe2f2-4166-4e79-aa63-cb8b62284e14 2025-04-22 17:30:31,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07fbe2f2-4166-4e79-aa63-cb8b62284e14 2025-04-22 17:30:31,640 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1deecf02-f0ea-4e5a-a65b-f9d0d22977b0 2025-04-22 17:30:31,646 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1deecf02-f0ea-4e5a-a65b-f9d0d22977b0 2025-04-22 17:30:31,652 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/036d450d-187a-4f5a-964f-689c3d9337af 2025-04-22 17:30:31,658 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 17:30:31,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07fbe2f2-4166-4e79-aa63-cb8b62284e14 2025-04-22 17:30:31,667 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1deecf02-f0ea-4e5a-a65b-f9d0d22977b0 2025-04-22 17:30:31,678 - INFO - Verified VN network id 7 for VN 07fbe2f2-4166-4e79-aa63-cb8b62284e14 2025-04-22 17:30:31,679 - INFO - Verifications in API Server for VN ctest-vn-97576751 passed 2025-04-22 17:30:31,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07fbe2f2-4166-4e79-aa63-cb8b62284e14 2025-04-22 17:30:31,687 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1deecf02-f0ea-4e5a-a65b-f9d0d22977b0 2025-04-22 17:30:31,694 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1deecf02-f0ea-4e5a-a65b-f9d0d22977b0 2025-04-22 17:30:31,700 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/036d450d-187a-4f5a-964f-689c3d9337af 2025-04-22 17:30:31,711 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-97576751', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06796598', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '575302907527057017', 'uuid-lslong': '12277880808649805332'}, 'enable': 'true', 'created': '2025-04-22T17:30:29', 'last-modified': '2025-04-22T17:30:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.885106'} 2025-04-22 17:30:31,716 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 17:30:31,717 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97576751 passed 2025-04-22 17:30:31,717 - DEBUG - ====Verifying policy data for ctest-vn-97576751 in API_Server ====== 2025-04-22 17:30:31,717 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 17:30:31,721 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecf64c5e-07ff-448e-af26-ab39696b80d5 2025-04-22 17:30:31,731 - DEBUG - Requesting: http://10.0.0.38:8082/project/a29df98c-d584-4aca-9672-475b97201b20 2025-04-22 17:30:31,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07fbe2f2-4166-4e79-aa63-cb8b62284e14 2025-04-22 17:30:31,811 - DEBUG - ==>Verifying data for policy with id: db036b1e-4235-430c-8831-87a3bbeb17f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-06796598', 'ctest-policy-allow-all-33634695'] 2025-04-22 17:30:31,811 - INFO - VN ctest-vn-97576751 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 17:30:31,811 - DEBUG - Verifying the vn in opserver 2025-04-22 17:30:31,811 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-97576751 virtual network link through opserver 10.0.0.38 2025-04-22 17:30:31,812 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-22 17:30:32,100 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-22 17:30:32,151 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-97576751', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-97576751?flat'} 2025-04-22 17:30:32,151 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-97576751 is found in opserver 2025-04-22 17:30:32,166 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 17:30:32,170 - DEBUG - VRF ids for VN ctest-vn-97576751: {} 2025-04-22 17:30:32,171 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 17:30:32,176 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecf64c5e-07ff-448e-af26-ab39696b80d5 2025-04-22 17:30:32,186 - DEBUG - Requesting: http://10.0.0.38:8082/project/a29df98c-d584-4aca-9672-475b97201b20 2025-04-22 17:30:32,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e9db07c1-ab1e-49a5-a174-5a00328126f6 2025-04-22 17:30:32,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e9db07c1-ab1e-49a5-a174-5a00328126f6 2025-04-22 17:30:32,282 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f7dc1be-80cf-439b-a093-9f39023d1e15 2025-04-22 17:30:32,289 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f7dc1be-80cf-439b-a093-9f39023d1e15 2025-04-22 17:30:32,296 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ef7cf583-ade3-4e1c-a1b6-21addcfa00dd 2025-04-22 17:30:32,303 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 17:30:32,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e9db07c1-ab1e-49a5-a174-5a00328126f6 2025-04-22 17:30:32,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f7dc1be-80cf-439b-a093-9f39023d1e15 2025-04-22 17:30:32,332 - INFO - Verified VN network id 8 for VN e9db07c1-ab1e-49a5-a174-5a00328126f6 2025-04-22 17:30:32,333 - INFO - Verifications in API Server for VN ctest-vn-56260175 passed 2025-04-22 17:30:32,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e9db07c1-ab1e-49a5-a174-5a00328126f6 2025-04-22 17:30:32,341 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f7dc1be-80cf-439b-a093-9f39023d1e15 2025-04-22 17:30:32,347 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f7dc1be-80cf-439b-a093-9f39023d1e15 2025-04-22 17:30:32,353 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ef7cf583-ade3-4e1c-a1b6-21addcfa00dd 2025-04-22 17:30:32,364 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-56260175', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06796598', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16851070959117814181', 'uuid-lslong': '11634022694298658550'}, 'enable': 'true', 'created': '2025-04-22T17:30:30', 'last-modified': '2025-04-22T17:30:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.326350'} 2025-04-22 17:30:32,370 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 17:30:32,370 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56260175 passed 2025-04-22 17:30:32,370 - DEBUG - ====Verifying policy data for ctest-vn-56260175 in API_Server ====== 2025-04-22 17:30:32,370 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 17:30:32,375 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecf64c5e-07ff-448e-af26-ab39696b80d5 2025-04-22 17:30:32,386 - DEBUG - Requesting: http://10.0.0.38:8082/project/a29df98c-d584-4aca-9672-475b97201b20 2025-04-22 17:30:32,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e9db07c1-ab1e-49a5-a174-5a00328126f6 2025-04-22 17:30:32,467 - DEBUG - ==>Verifying data for policy with id: db036b1e-4235-430c-8831-87a3bbeb17f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-06796598', 'ctest-policy-allow-all-33634695'] 2025-04-22 17:30:32,467 - INFO - VN ctest-vn-56260175 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 17:30:32,467 - DEBUG - Verifying the vn in opserver 2025-04-22 17:30:32,467 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-56260175 virtual network link through opserver 10.0.0.38 2025-04-22 17:30:32,467 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-22 17:30:32,477 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-56260175', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-56260175?flat'} 2025-04-22 17:30:32,477 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-56260175 is found in opserver 2025-04-22 17:30:32,487 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 17:30:32,492 - DEBUG - VRF ids for VN ctest-vn-56260175: {} 2025-04-22 17:30:32,540 - DEBUG - Services list from nova: [, , ] 2025-04-22 17:30:33,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3168-1) 2025-04-22 17:30:34,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3168-1) 2025-04-22 17:30:34,660 - INFO - Waiting for VM ctest-TestBasicPolicy-06796598-90314687 to be up.. 2025-04-22 17:30:34,732 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 17:30:39,803 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:30:39,804 - INFO - VM name : ctest-TestBasicPolicy-06796598-90314687 2025-04-22 17:30:39,864 - DEBUG - VM ctest-TestBasicPolicy-06796598-90314687 ID is 5870856c-efc2-440e-9cbc-91cabd8fe04d 2025-04-22 17:30:39,880 - DEBUG - VM ctest-TestBasicPolicy-06796598-90314687 launched on Node cn-jenkins-deploy-platform-ansible-os-3168-1 2025-04-22 17:30:39,947 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5870856c-efc2-440e-9cbc-91cabd8fe04d 2025-04-22 17:30:39,955 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/90da7a84-d533-4755-8e5f-c44db5fdbbcd 2025-04-22 17:30:43,228 - 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-04-22 17:30:43,228 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06796598-90314687 failed! 2025-04-22 17:30:43,284 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06796598:ctest-vn-97576751 is 69.156.211.1 and allocation pool is NOT set 2025-04-22 17:30:45,342 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.479 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.479/1.649/2.819/1.170 ms') 2025-04-22 17:30:45,342 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06796598-90314687 passed 2025-04-22 17:30:45,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:30:45,496 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06796598-90314687, IP 69.156.211.3, Port 22 2025-04-22 17:30:45,651 - DEBUG - VM ctest-TestBasicPolicy-06796598-90314687 is ready for SSH connections 2025-04-22 17:30:45,651 - INFO - Waiting for VM ctest-TestBasicPolicy-06796598-97523210 to be up.. 2025-04-22 17:30:45,725 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:30:45,725 - INFO - VM name : ctest-TestBasicPolicy-06796598-97523210 2025-04-22 17:30:45,801 - DEBUG - VM ctest-TestBasicPolicy-06796598-97523210 ID is f196522c-c5b1-481b-b3b8-c6ee7274b3f4 2025-04-22 17:30:45,801 - DEBUG - VM ctest-TestBasicPolicy-06796598-97523210 launched on Node cn-jenkins-deploy-platform-ansible-os-3168-1 2025-04-22 17:30:45,865 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f196522c-c5b1-481b-b3b8-c6ee7274b3f4 2025-04-22 17:30:45,873 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0e648464-6dac-4b07-b894-42d791fa536e 2025-04-22 17:30:47,117 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.600/2.827/1.226 ms') 2025-04-22 17:30:47,117 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06796598-97523210 passed 2025-04-22 17:30:47,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:30:47,272 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06796598-97523210, IP 180.68.107.67, Port 22 2025-04-22 17:30:47,431 - DEBUG - VM ctest-TestBasicPolicy-06796598-97523210 is ready for SSH connections 2025-04-22 17:30:47,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:30:47,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.68.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-22 17:30:47,432 - DEBUG - ping -s 56 -c 3 -W 1 180.68.107.67 2025-04-22 17:30:51,079 - DEBUG - PING 180.68.107.67 (180.68.107.67): 56 data bytes 64 bytes from 180.68.107.67: seq=0 ttl=63 time=3.476 ms 64 bytes from 180.68.107.67: seq=1 ttl=63 time=0.813 ms 64 bytes from 180.68.107.67: seq=2 ttl=63 time=0.828 ms --- 180.68.107.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.705/3.476 ms 2025-04-22 17:30:51,079 - INFO - Ping to IP 180.68.107.67 from VM ctest-TestBasicPolicy-06796598-90314687 passed 2025-04-22 17:30:51,251 - DEBUG - Policy Update Response {"network-policy": {"uuid": "db036b1e-4235-430c-8831-87a3bbeb17f4", "href": "http://10.0.0.38:8082/network-policy/db036b1e-4235-430c-8831-87a3bbeb17f4"}} 2025-04-22 17:30:51,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:30:51,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.68.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-22 17:30:51,252 - DEBUG - ping -s 56 -c 3 -W 1 180.68.107.67 2025-04-22 17:30:54,461 - DEBUG - PING 180.68.107.67 (180.68.107.67): 56 data bytes --- 180.68.107.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-22 17:30:54,461 - WARNING - Ping to IP 180.68.107.67 from VM ctest-TestBasicPolicy-06796598-90314687 failed 2025-04-22 17:30:54,461 - INFO - Deleting VM ctest-TestBasicPolicy-06796598-97523210 2025-04-22 17:30:54,516 - INFO - Deleting VM ctest-TestBasicPolicy-06796598-90314687 2025-04-22 17:30:54,883 - INFO - Deleted policy ctest-policy-allow-all-33634695 2025-04-22 17:30:54,883 - INFO - Deleting VN ctest-vn-56260175 2025-04-22 17:30:54,915 - DEBUG - VN e9db07c1-ab1e-49a5-a174-5a00328126f6 still in use: Unable to complete operation on network e9db07c1-ab1e-49a5-a174-5a00328126f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8bb230f-8dd5-46e6-9729-ddcdb83ec57e'] 2025-04-22 17:30:54,916 - WARNING - Deleting VN ctest-vn-56260175 failed..Will retry 2025-04-22 17:30:57,020 - DEBUG - Response for deleting network () 2025-04-22 17:30:57,020 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f7dc1be-80cf-439b-a093-9f39023d1e15 2025-04-22 17:30:57,026 - DEBUG - Response Code: 404 2025-04-22 17:30:57,026 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 17:30:57,032 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecf64c5e-07ff-448e-af26-ab39696b80d5 2025-04-22 17:30:57,085 - DEBUG - Requesting: http://10.0.0.38:8082/project/a29df98c-d584-4aca-9672-475b97201b20 2025-04-22 17:30:57,158 - INFO - Validated that VN ctest-vn-56260175 is not found in API Server 2025-04-22 17:30:57,169 - DEBUG - VN ctest-vn-56260175 is not present in Agent 10.0.0.38 2025-04-22 17:30:57,169 - INFO - Validated that VN ctest-vn-56260175 is not in any agent 2025-04-22 17:30:57,184 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56260175 info 2025-04-22 17:30:57,184 - INFO - Deleting VN ctest-vn-97576751 2025-04-22 17:30:57,280 - DEBUG - Response for deleting network () 2025-04-22 17:30:57,280 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1deecf02-f0ea-4e5a-a65b-f9d0d22977b0 2025-04-22 17:30:57,288 - DEBUG - Response Code: 404 2025-04-22 17:30:57,288 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 17:30:57,293 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecf64c5e-07ff-448e-af26-ab39696b80d5 2025-04-22 17:30:57,345 - DEBUG - Requesting: http://10.0.0.38:8082/project/a29df98c-d584-4aca-9672-475b97201b20 2025-04-22 17:30:57,422 - INFO - Validated that VN ctest-vn-97576751 is not found in API Server 2025-04-22 17:30:57,432 - DEBUG - VN ctest-vn-97576751 is not present in Agent 10.0.0.38 2025-04-22 17:30:57,432 - INFO - Validated that VN ctest-vn-97576751 is not in any agent 2025-04-22 17:30:57,448 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97576751 info 2025-04-22 17:30:57,709 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 17:30:57,709 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-22 17:30:57,709 - INFO - -------------------------------------------------------------------------------- 2025-04-22 17:30:58,368 - INFO - Deleted project: ctest-TestBasicPolicy-06796598, ID : a29df98c-d584-4aca-9672-475b97201b20