2025-02-20 00:19:23,274 - INFO - Domain Default found not creating 2025-02-20 00:19:23,436 - INFO - Project ctest-TestBasicPolicy-35307469 not found, creating it 2025-02-20 00:19:23,962 - INFO - Created Project:ctest-TestBasicPolicy-35307469, ID : 2d5876da-6979-4d53-a99f-2f84d9243be0 2025-02-20 00:19:25,595 - INFO - ================================================================================ 2025-02-20 00:19:25,596 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-20 00:19:25,596 - 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-02-20 00:19:25,851 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.8': '0'}} with 2025-02-20 00:19:25,852 - INFO - Initial checks done. Running the testcase now 2025-02-20 00:19:25,852 - INFO - 2025-02-20 00:19:26,835 - DEBUG - Response for create_network : {'network': {'id': '2597ed6c-60c8-4ef1-9645-afeca57bb62b', 'name': 'ctest-vn-71020259', 'tenant_id': '2d5876da69794d53a99f2f84d9243be0', 'project_id': '2d5876da69794d53a99f2f84d9243be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35307469', 'ctest-vn-71020259'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 00:19:27,261 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf9eebb8-c703-4c67-b0bc-e3576c395a6b', 'name': '', 'tenant_id': '2d5876da69794d53a99f2f84d9243be0', 'network_id': '2597ed6c-60c8-4ef1-9645-afeca57bb62b', 'ip_version': 4, 'cidr': '216.34.4.0/26', 'allocation_pools': [{'start': '216.34.4.2', 'end': '216.34.4.62'}], 'gateway_ip': '216.34.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.34.4.2', 'tags': [], 'project_id': '2d5876da69794d53a99f2f84d9243be0'}} 2025-02-20 00:19:27,292 - INFO - Created VN ctest-vn-71020259 2025-02-20 00:19:27,349 - DEBUG - VN ctest-vn-71020259 UUID is 2597ed6c-60c8-4ef1-9645-afeca57bb62b 2025-02-20 00:19:27,677 - DEBUG - Response for create_network : {'network': {'id': '79107826-e594-434a-831e-1b158c6dbd03', 'name': 'ctest-vn-52331706', 'tenant_id': '2d5876da69794d53a99f2f84d9243be0', 'project_id': '2d5876da69794d53a99f2f84d9243be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35307469', 'ctest-vn-52331706'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 00:19:27,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '847ed036-3ac4-4101-a169-96e28bc60a3c', 'name': '', 'tenant_id': '2d5876da69794d53a99f2f84d9243be0', 'network_id': '79107826-e594-434a-831e-1b158c6dbd03', 'ip_version': 4, 'cidr': '39.189.177.128/26', 'allocation_pools': [{'start': '39.189.177.130', 'end': '39.189.177.190'}], 'gateway_ip': '39.189.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.189.177.130', 'tags': [], 'project_id': '2d5876da69794d53a99f2f84d9243be0'}} 2025-02-20 00:19:27,916 - INFO - Created VN ctest-vn-52331706 2025-02-20 00:19:27,977 - DEBUG - VN ctest-vn-52331706 UUID is 79107826-e594-434a-831e-1b158c6dbd03 2025-02-20 00:19:28,106 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-71020259, 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-35307469:ctest-vn-52331706, 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-02-20 00:19:28,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2597ed6c-60c8-4ef1-9645-afeca57bb62b', 'name': 'ctest-vn-71020259', 'tenant_id': '2d5876da69794d53a99f2f84d9243be0', 'project_id': '2d5876da69794d53a99f2f84d9243be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf9eebb8-c703-4c67-b0bc-e3576c395a6b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35307469', 'ctest-vn-71020259'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35307469', 'ctest-policy-allow-all-87229230']], 'subnet_ipam': [{'subnet_cidr': '216.34.4.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-20 00:19:28,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79107826-e594-434a-831e-1b158c6dbd03', 'name': 'ctest-vn-52331706', 'tenant_id': '2d5876da69794d53a99f2f84d9243be0', 'project_id': '2d5876da69794d53a99f2f84d9243be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['847ed036-3ac4-4101-a169-96e28bc60a3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35307469', 'ctest-vn-52331706'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35307469', 'ctest-policy-allow-all-87229230']], 'subnet_ipam': [{'subnet_cidr': '39.189.177.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-20 00:19:28,893 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-20 00:19:29,240 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-20 00:19:29,272 - DEBUG - Requesting: http://10.0.0.17:8082/domain/053008e2-80af-47d7-be1e-03d003b763c3 2025-02-20 00:19:29,289 - DEBUG - Requesting: http://10.0.0.17:8082/project/2d5876da-6979-4d53-a99f-2f84d9243be0 2025-02-20 00:19:29,372 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2597ed6c-60c8-4ef1-9645-afeca57bb62b 2025-02-20 00:19:29,385 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2597ed6c-60c8-4ef1-9645-afeca57bb62b 2025-02-20 00:19:29,397 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/482ed2fd-a461-4454-9bb4-4cbfaeda2e9a 2025-02-20 00:19:29,406 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/482ed2fd-a461-4454-9bb4-4cbfaeda2e9a 2025-02-20 00:19:29,416 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/79c04009-d08d-450b-8ecf-b15f59ba727a 2025-02-20 00:19:29,424 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-20 00:19:29,424 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2597ed6c-60c8-4ef1-9645-afeca57bb62b 2025-02-20 00:19:29,438 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/482ed2fd-a461-4454-9bb4-4cbfaeda2e9a 2025-02-20 00:19:29,458 - INFO - Verified VN network id 9 for VN 2597ed6c-60c8-4ef1-9645-afeca57bb62b 2025-02-20 00:19:29,459 - INFO - Verifications in API Server for VN ctest-vn-71020259 passed 2025-02-20 00:19:29,459 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2597ed6c-60c8-4ef1-9645-afeca57bb62b 2025-02-20 00:19:29,472 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/482ed2fd-a461-4454-9bb4-4cbfaeda2e9a 2025-02-20 00:19:29,482 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/482ed2fd-a461-4454-9bb4-4cbfaeda2e9a 2025-02-20 00:19:29,490 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/79c04009-d08d-450b-8ecf-b15f59ba727a 2025-02-20 00:19:29,505 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-71020259', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35307469', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2708894750622633713', 'uuid-lslong': '10828254310005716523'}, 'enable': 'true', 'created': '2025-02-20T00:19:26', 'last-modified': '2025-02-20T00:19:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.084246'} 2025-02-20 00:19:29,513 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-20 00:19:29,513 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71020259 passed 2025-02-20 00:19:29,513 - DEBUG - ====Verifying policy data for ctest-vn-71020259 in API_Server ====== 2025-02-20 00:19:29,513 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-20 00:19:29,521 - DEBUG - Requesting: http://10.0.0.17:8082/domain/053008e2-80af-47d7-be1e-03d003b763c3 2025-02-20 00:19:29,536 - DEBUG - Requesting: http://10.0.0.17:8082/project/2d5876da-6979-4d53-a99f-2f84d9243be0 2025-02-20 00:19:29,613 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/2597ed6c-60c8-4ef1-9645-afeca57bb62b 2025-02-20 00:19:29,629 - DEBUG - ==>Verifying data for policy with id: 8a11b294-5b09-4c7c-80b3-41f8114ed381, fqn: ['default-domain', 'ctest-TestBasicPolicy-35307469', 'ctest-policy-allow-all-87229230'] 2025-02-20 00:19:29,629 - INFO - VN ctest-vn-71020259 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-20 00:19:29,629 - DEBUG - Verifying the vn in opserver 2025-02-20 00:19:29,629 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-71020259 virtual network link through opserver 10.0.0.17 2025-02-20 00:19:29,629 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-02-20 00:19:29,967 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-02-20 00:19:30,034 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-71020259', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-71020259?flat'} 2025-02-20 00:19:30,034 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-71020259 is found in opserver 2025-02-20 00:19:30,047 - DEBUG - Do not have enough data to verify VN in agent 2025-02-20 00:19:30,053 - DEBUG - VRF ids for VN ctest-vn-71020259: {} 2025-02-20 00:19:30,053 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-20 00:19:30,060 - DEBUG - Requesting: http://10.0.0.17:8082/domain/053008e2-80af-47d7-be1e-03d003b763c3 2025-02-20 00:19:30,073 - DEBUG - Requesting: http://10.0.0.17:8082/project/2d5876da-6979-4d53-a99f-2f84d9243be0 2025-02-20 00:19:30,151 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/79107826-e594-434a-831e-1b158c6dbd03 2025-02-20 00:19:30,164 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/79107826-e594-434a-831e-1b158c6dbd03 2025-02-20 00:19:30,174 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2791fb08-61b9-4797-9d59-f93bf0b490a7 2025-02-20 00:19:30,183 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2791fb08-61b9-4797-9d59-f93bf0b490a7 2025-02-20 00:19:30,191 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/4eca5b5b-890d-40bb-84dd-9c695e5b6768 2025-02-20 00:19:30,198 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-20 00:19:30,198 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/79107826-e594-434a-831e-1b158c6dbd03 2025-02-20 00:19:30,210 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2791fb08-61b9-4797-9d59-f93bf0b490a7 2025-02-20 00:19:30,227 - INFO - Verified VN network id 10 for VN 79107826-e594-434a-831e-1b158c6dbd03 2025-02-20 00:19:30,228 - INFO - Verifications in API Server for VN ctest-vn-52331706 passed 2025-02-20 00:19:30,228 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/79107826-e594-434a-831e-1b158c6dbd03 2025-02-20 00:19:30,239 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2791fb08-61b9-4797-9d59-f93bf0b490a7 2025-02-20 00:19:30,248 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2791fb08-61b9-4797-9d59-f93bf0b490a7 2025-02-20 00:19:30,256 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/4eca5b5b-890d-40bb-84dd-9c695e5b6768 2025-02-20 00:19:30,273 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-52331706', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35307469', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8723604586672440138', 'uuid-lslong': '9448018847634144515'}, 'enable': 'true', 'created': '2025-02-20T00:19:27', 'last-modified': '2025-02-20T00:19:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.598570'} 2025-02-20 00:19:30,281 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-20 00:19:30,281 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52331706 passed 2025-02-20 00:19:30,281 - DEBUG - ====Verifying policy data for ctest-vn-52331706 in API_Server ====== 2025-02-20 00:19:30,281 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-20 00:19:30,288 - DEBUG - Requesting: http://10.0.0.17:8082/domain/053008e2-80af-47d7-be1e-03d003b763c3 2025-02-20 00:19:30,302 - DEBUG - Requesting: http://10.0.0.17:8082/project/2d5876da-6979-4d53-a99f-2f84d9243be0 2025-02-20 00:19:30,385 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/79107826-e594-434a-831e-1b158c6dbd03 2025-02-20 00:19:30,398 - DEBUG - ==>Verifying data for policy with id: 8a11b294-5b09-4c7c-80b3-41f8114ed381, fqn: ['default-domain', 'ctest-TestBasicPolicy-35307469', 'ctest-policy-allow-all-87229230'] 2025-02-20 00:19:30,399 - INFO - VN ctest-vn-52331706 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-20 00:19:30,399 - DEBUG - Verifying the vn in opserver 2025-02-20 00:19:30,399 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-52331706 virtual network link through opserver 10.0.0.17 2025-02-20 00:19:30,399 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-02-20 00:19:30,413 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-52331706', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-52331706?flat'} 2025-02-20 00:19:30,413 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-52331706 is found in opserver 2025-02-20 00:19:30,427 - DEBUG - Do not have enough data to verify VN in agent 2025-02-20 00:19:30,433 - DEBUG - VRF ids for VN ctest-vn-52331706: {} 2025-02-20 00:19:30,494 - DEBUG - Services list from nova: [, , ] 2025-02-20 00:19:31,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2747-1) 2025-02-20 00:19:33,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2747-1) 2025-02-20 00:19:33,243 - INFO - Waiting for VM ctest-TestBasicPolicy-35307469-59835395 to be up.. 2025-02-20 00:19:33,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-20 00:19:38,427 - DEBUG - VM is in ACTIVE state now 2025-02-20 00:19:38,427 - INFO - VM name : ctest-TestBasicPolicy-35307469-59835395 2025-02-20 00:19:38,505 - DEBUG - VM ctest-TestBasicPolicy-35307469-59835395 ID is 42b847fc-883c-4c3d-9d7d-5663fb03f70a 2025-02-20 00:19:38,525 - DEBUG - VM ctest-TestBasicPolicy-35307469-59835395 launched on Node cn-jenkins-deploy-platform-ansible-os-2747-1 2025-02-20 00:19:38,603 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/42b847fc-883c-4c3d-9d7d-5663fb03f70a 2025-02-20 00:19:38,613 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/55bb03c5-af3d-4d9e-916c-751ae28ac268 2025-02-20 00:19:41,884 - 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 1024ms') 2025-02-20 00:19:41,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35307469-59835395 failed! 2025-02-20 00:19:41,941 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35307469:ctest-vn-71020259 is 216.34.4.1 and allocation pool is NOT set 2025-02-20 00:19:44,001 - 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=3.77 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 = 3.767/7.106/10.445/3.339 ms') 2025-02-20 00:19:44,001 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35307469-59835395 passed 2025-02-20 00:19:44,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:19:44,157 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35307469-59835395, IP 216.34.4.3, Port 22 2025-02-20 00:19:44,312 - DEBUG - VM ctest-TestBasicPolicy-35307469-59835395 is ready for SSH connections 2025-02-20 00:19:44,313 - INFO - Waiting for VM ctest-TestBasicPolicy-35307469-77631209 to be up.. 2025-02-20 00:19:44,398 - DEBUG - VM is in ACTIVE state now 2025-02-20 00:19:44,398 - INFO - VM name : ctest-TestBasicPolicy-35307469-77631209 2025-02-20 00:19:44,488 - DEBUG - VM ctest-TestBasicPolicy-35307469-77631209 ID is b00b9478-c354-457e-b675-cd41f9cc40da 2025-02-20 00:19:44,488 - DEBUG - VM ctest-TestBasicPolicy-35307469-77631209 launched on Node cn-jenkins-deploy-platform-ansible-os-2747-1 2025-02-20 00:19:44,573 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/b00b9478-c354-457e-b675-cd41f9cc40da 2025-02-20 00:19:44,583 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/1a118e6d-dc38-4bea-85f8-67dfb860c2d0 2025-02-20 00:19:45,834 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.26 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 = 1.263/2.934/4.605/1.671 ms') 2025-02-20 00:19:45,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35307469-77631209 passed 2025-02-20 00:19:45,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:19:45,993 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35307469-77631209, IP 39.189.177.131, Port 22 2025-02-20 00:19:46,148 - DEBUG - VM ctest-TestBasicPolicy-35307469-77631209 is ready for SSH connections 2025-02-20 00:19:46,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:19:46,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.189.177.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-20 00:19:46,148 - DEBUG - ping -s 56 -c 3 -W 1 39.189.177.131 2025-02-20 00:19:50,265 - DEBUG - PING 39.189.177.131 (39.189.177.131): 56 data bytes 64 bytes from 39.189.177.131: seq=0 ttl=63 time=4.873 ms 64 bytes from 39.189.177.131: seq=1 ttl=63 time=0.875 ms 64 bytes from 39.189.177.131: seq=2 ttl=63 time=1.009 ms --- 39.189.177.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/2.252/4.873 ms 2025-02-20 00:19:50,266 - INFO - Ping to IP 39.189.177.131 from VM ctest-TestBasicPolicy-35307469-59835395 passed 2025-02-20 00:19:50,453 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8a11b294-5b09-4c7c-80b3-41f8114ed381", "href": "http://10.0.0.17:8082/network-policy/8a11b294-5b09-4c7c-80b3-41f8114ed381"}} 2025-02-20 00:19:50,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:19:50,453 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.189.177.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-20 00:19:50,453 - DEBUG - ping -s 56 -c 3 -W 1 39.189.177.131 2025-02-20 00:19:53,676 - DEBUG - PING 39.189.177.131 (39.189.177.131): 56 data bytes 64 bytes from 39.189.177.131: seq=0 ttl=63 time=1.426 ms --- 39.189.177.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.426/1.426/1.426 ms 2025-02-20 00:19:53,676 - WARNING - Ping to IP 39.189.177.131 from VM ctest-TestBasicPolicy-35307469-59835395 failed 2025-02-20 00:19:53,676 - INFO - Deleting VM ctest-TestBasicPolicy-35307469-77631209 2025-02-20 00:19:53,776 - INFO - Deleting VM ctest-TestBasicPolicy-35307469-59835395 2025-02-20 00:19:54,253 - INFO - Deleted policy ctest-policy-allow-all-87229230 2025-02-20 00:19:54,253 - INFO - Deleting VN ctest-vn-52331706 2025-02-20 00:19:54,304 - DEBUG - VN 79107826-e594-434a-831e-1b158c6dbd03 still in use: Unable to complete operation on network 79107826-e594-434a-831e-1b158c6dbd03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7bd6ecd-1464-4ff2-81ec-7f97e906e725'] 2025-02-20 00:19:54,304 - WARNING - Deleting VN ctest-vn-52331706 failed..Will retry 2025-02-20 00:19:56,412 - DEBUG - Response for deleting network () 2025-02-20 00:19:56,413 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2791fb08-61b9-4797-9d59-f93bf0b490a7 2025-02-20 00:19:56,423 - DEBUG - Response Code: 404 2025-02-20 00:19:56,424 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-20 00:19:56,431 - DEBUG - Requesting: http://10.0.0.17:8082/domain/053008e2-80af-47d7-be1e-03d003b763c3 2025-02-20 00:19:56,487 - DEBUG - Requesting: http://10.0.0.17:8082/project/2d5876da-6979-4d53-a99f-2f84d9243be0 2025-02-20 00:19:56,560 - INFO - Validated that VN ctest-vn-52331706 is not found in API Server 2025-02-20 00:19:56,574 - DEBUG - VN ctest-vn-52331706 is not present in Agent 10.0.0.17 2025-02-20 00:19:56,574 - INFO - Validated that VN ctest-vn-52331706 is not in any agent 2025-02-20 00:19:56,590 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52331706 info 2025-02-20 00:19:56,590 - INFO - Deleting VN ctest-vn-71020259 2025-02-20 00:19:56,703 - DEBUG - Response for deleting network () 2025-02-20 00:19:56,703 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/482ed2fd-a461-4454-9bb4-4cbfaeda2e9a 2025-02-20 00:19:56,708 - DEBUG - Response Code: 404 2025-02-20 00:19:56,708 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-20 00:19:56,715 - DEBUG - Requesting: http://10.0.0.17:8082/domain/053008e2-80af-47d7-be1e-03d003b763c3 2025-02-20 00:19:56,771 - DEBUG - Requesting: http://10.0.0.17:8082/project/2d5876da-6979-4d53-a99f-2f84d9243be0 2025-02-20 00:19:56,846 - INFO - Validated that VN ctest-vn-71020259 is not found in API Server 2025-02-20 00:19:56,859 - DEBUG - VN ctest-vn-71020259 is not present in Agent 10.0.0.17 2025-02-20 00:19:56,859 - INFO - Validated that VN ctest-vn-71020259 is not in any agent 2025-02-20 00:19:56,877 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71020259 info 2025-02-20 00:19:57,131 - DEBUG - No XMPP flaps were noticed during the test 2025-02-20 00:19:57,131 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2025-02-20 00:19:57,131 - INFO - -------------------------------------------------------------------------------- 2025-02-20 00:19:57,846 - INFO - Deleted project: ctest-TestBasicPolicy-35307469, ID : 2d5876da-6979-4d53-a99f-2f84d9243be0