2025-05-12 02:24:25,413 - INFO - Domain Default found not creating 2025-05-12 02:24:25,556 - INFO - Project ctest-TestBasicPolicy-07113907 not found, creating it 2025-05-12 02:24:26,005 - INFO - Created Project:ctest-TestBasicPolicy-07113907, ID : e319e47d-e8ac-40d2-9da8-d500ede09bd1 2025-05-12 02:24:27,459 - INFO - ================================================================================ 2025-05-12 02:24:27,460 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-12 02:24:27,460 - 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-05-12 02:24:27,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-05-12 02:24:27,720 - INFO - Initial checks done. Running the testcase now 2025-05-12 02:24:27,720 - INFO - 2025-05-12 02:24:28,271 - DEBUG - Response for create_network : {'network': {'id': '50da6d91-ad47-4889-8856-56b42fee9ae2', 'name': 'ctest-vn-99072495', 'tenant_id': 'e319e47de8ac40d29da8d500ede09bd1', 'project_id': 'e319e47de8ac40d29da8d500ede09bd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07113907', 'ctest-vn-99072495'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 02:24:28,506 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac2c8318-eef4-4ace-a951-f8060b80100f', 'name': '', 'tenant_id': 'e319e47de8ac40d29da8d500ede09bd1', 'network_id': '50da6d91-ad47-4889-8856-56b42fee9ae2', 'ip_version': 4, 'cidr': '217.151.146.192/26', 'allocation_pools': [{'start': '217.151.146.194', 'end': '217.151.146.254'}], 'gateway_ip': '217.151.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.151.146.194', 'tags': [], 'project_id': 'e319e47de8ac40d29da8d500ede09bd1'}} 2025-05-12 02:24:28,529 - INFO - Created VN ctest-vn-99072495 2025-05-12 02:24:28,587 - DEBUG - VN ctest-vn-99072495 UUID is 50da6d91-ad47-4889-8856-56b42fee9ae2 2025-05-12 02:24:28,930 - DEBUG - Response for create_network : {'network': {'id': 'deff5fe6-c8d5-4dd2-b512-af8655d40634', 'name': 'ctest-vn-39778103', 'tenant_id': 'e319e47de8ac40d29da8d500ede09bd1', 'project_id': 'e319e47de8ac40d29da8d500ede09bd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07113907', 'ctest-vn-39778103'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 02:24:29,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acdc4b1f-eb09-40ef-a007-9b99f5d73726', 'name': '', 'tenant_id': 'e319e47de8ac40d29da8d500ede09bd1', 'network_id': 'deff5fe6-c8d5-4dd2-b512-af8655d40634', 'ip_version': 4, 'cidr': '106.255.111.64/26', 'allocation_pools': [{'start': '106.255.111.66', 'end': '106.255.111.126'}], 'gateway_ip': '106.255.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.255.111.66', 'tags': [], 'project_id': 'e319e47de8ac40d29da8d500ede09bd1'}} 2025-05-12 02:24:29,110 - INFO - Created VN ctest-vn-39778103 2025-05-12 02:24:29,163 - DEBUG - VN ctest-vn-39778103 UUID is deff5fe6-c8d5-4dd2-b512-af8655d40634 2025-05-12 02:24:29,281 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-99072495, 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-07113907:ctest-vn-39778103, 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-05-12 02:24:29,590 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50da6d91-ad47-4889-8856-56b42fee9ae2', 'name': 'ctest-vn-99072495', 'tenant_id': 'e319e47de8ac40d29da8d500ede09bd1', 'project_id': 'e319e47de8ac40d29da8d500ede09bd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac2c8318-eef4-4ace-a951-f8060b80100f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07113907', 'ctest-vn-99072495'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07113907', 'ctest-policy-allow-all-41821219']], 'subnet_ipam': [{'subnet_cidr': '217.151.146.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-12 02:24:29,829 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'deff5fe6-c8d5-4dd2-b512-af8655d40634', 'name': 'ctest-vn-39778103', 'tenant_id': 'e319e47de8ac40d29da8d500ede09bd1', 'project_id': 'e319e47de8ac40d29da8d500ede09bd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['acdc4b1f-eb09-40ef-a007-9b99f5d73726'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07113907', 'ctest-vn-39778103'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07113907', 'ctest-policy-allow-all-41821219']], 'subnet_ipam': [{'subnet_cidr': '106.255.111.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-12 02:24:29,995 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-05-12 02:24:30,290 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-05-12 02:24:30,318 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9c365a99-b5a8-4c08-be5b-436469bb93d9 2025-05-12 02:24:30,333 - DEBUG - Requesting: http://10.0.0.19:8082/project/e319e47d-e8ac-40d2-9da8-d500ede09bd1 2025-05-12 02:24:30,405 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/50da6d91-ad47-4889-8856-56b42fee9ae2 2025-05-12 02:24:30,415 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/50da6d91-ad47-4889-8856-56b42fee9ae2 2025-05-12 02:24:30,425 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b3ac21a7-d3a8-4762-b11f-2c493f7cd406 2025-05-12 02:24:30,432 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b3ac21a7-d3a8-4762-b11f-2c493f7cd406 2025-05-12 02:24:30,438 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6e303063-2316-4a40-aad6-625198ca7abb 2025-05-12 02:24:30,444 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-12 02:24:30,445 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/50da6d91-ad47-4889-8856-56b42fee9ae2 2025-05-12 02:24:30,454 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b3ac21a7-d3a8-4762-b11f-2c493f7cd406 2025-05-12 02:24:30,468 - INFO - Verified VN network id 8 for VN 50da6d91-ad47-4889-8856-56b42fee9ae2 2025-05-12 02:24:30,468 - INFO - Verifications in API Server for VN ctest-vn-99072495 passed 2025-05-12 02:24:30,468 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/50da6d91-ad47-4889-8856-56b42fee9ae2 2025-05-12 02:24:30,478 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b3ac21a7-d3a8-4762-b11f-2c493f7cd406 2025-05-12 02:24:30,485 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b3ac21a7-d3a8-4762-b11f-2c493f7cd406 2025-05-12 02:24:30,493 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6e303063-2316-4a40-aad6-625198ca7abb 2025-05-12 02:24:30,506 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-99072495', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07113907', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5826089540401973385', 'uuid-lslong': '9824134969053584098'}, 'enable': 'true', 'created': '2025-05-12T02:24:28', 'last-modified': '2025-05-12T02:24:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945714'} 2025-05-12 02:24:30,512 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-12 02:24:30,512 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99072495 passed 2025-05-12 02:24:30,513 - DEBUG - ====Verifying policy data for ctest-vn-99072495 in API_Server ====== 2025-05-12 02:24:30,513 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-05-12 02:24:30,518 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9c365a99-b5a8-4c08-be5b-436469bb93d9 2025-05-12 02:24:30,529 - DEBUG - Requesting: http://10.0.0.19:8082/project/e319e47d-e8ac-40d2-9da8-d500ede09bd1 2025-05-12 02:24:30,601 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/50da6d91-ad47-4889-8856-56b42fee9ae2 2025-05-12 02:24:30,610 - DEBUG - ==>Verifying data for policy with id: 749b9a9c-3532-4a77-b8b3-6e45a0dfeb2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-07113907', 'ctest-policy-allow-all-41821219'] 2025-05-12 02:24:30,610 - INFO - VN ctest-vn-99072495 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-12 02:24:30,610 - DEBUG - Verifying the vn in opserver 2025-05-12 02:24:30,610 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-99072495 virtual network link through opserver 10.0.0.19 2025-05-12 02:24:30,611 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-05-12 02:24:30,906 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-05-12 02:24:30,961 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-99072495', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-99072495?flat'} 2025-05-12 02:24:30,961 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-99072495 is found in opserver 2025-05-12 02:24:30,972 - DEBUG - Do not have enough data to verify VN in agent 2025-05-12 02:24:30,978 - DEBUG - VRF ids for VN ctest-vn-99072495: {} 2025-05-12 02:24:30,978 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-05-12 02:24:30,984 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9c365a99-b5a8-4c08-be5b-436469bb93d9 2025-05-12 02:24:30,996 - DEBUG - Requesting: http://10.0.0.19:8082/project/e319e47d-e8ac-40d2-9da8-d500ede09bd1 2025-05-12 02:24:31,068 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/deff5fe6-c8d5-4dd2-b512-af8655d40634 2025-05-12 02:24:31,080 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/deff5fe6-c8d5-4dd2-b512-af8655d40634 2025-05-12 02:24:31,090 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d72de2ff-5388-47ac-b463-602591c9747c 2025-05-12 02:24:31,097 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d72de2ff-5388-47ac-b463-602591c9747c 2025-05-12 02:24:31,104 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9a9cd475-d987-4b8e-8e03-13652b443324 2025-05-12 02:24:31,111 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-12 02:24:31,111 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/deff5fe6-c8d5-4dd2-b512-af8655d40634 2025-05-12 02:24:31,121 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d72de2ff-5388-47ac-b463-602591c9747c 2025-05-12 02:24:31,137 - INFO - Verified VN network id 9 for VN deff5fe6-c8d5-4dd2-b512-af8655d40634 2025-05-12 02:24:31,138 - INFO - Verifications in API Server for VN ctest-vn-39778103 passed 2025-05-12 02:24:31,138 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/deff5fe6-c8d5-4dd2-b512-af8655d40634 2025-05-12 02:24:31,149 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d72de2ff-5388-47ac-b463-602591c9747c 2025-05-12 02:24:31,157 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d72de2ff-5388-47ac-b463-602591c9747c 2025-05-12 02:24:31,165 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9a9cd475-d987-4b8e-8e03-13652b443324 2025-05-12 02:24:31,180 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-39778103', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07113907', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16068667440297758162', 'uuid-lslong': '13047684061946185268'}, 'enable': 'true', 'created': '2025-05-12T02:24:28', 'last-modified': '2025-05-12T02:24:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.367890'} 2025-05-12 02:24:31,191 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-12 02:24:31,191 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39778103 passed 2025-05-12 02:24:31,191 - DEBUG - ====Verifying policy data for ctest-vn-39778103 in API_Server ====== 2025-05-12 02:24:31,191 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-05-12 02:24:31,203 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9c365a99-b5a8-4c08-be5b-436469bb93d9 2025-05-12 02:24:31,216 - DEBUG - Requesting: http://10.0.0.19:8082/project/e319e47d-e8ac-40d2-9da8-d500ede09bd1 2025-05-12 02:24:31,293 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/deff5fe6-c8d5-4dd2-b512-af8655d40634 2025-05-12 02:24:31,305 - DEBUG - ==>Verifying data for policy with id: 749b9a9c-3532-4a77-b8b3-6e45a0dfeb2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-07113907', 'ctest-policy-allow-all-41821219'] 2025-05-12 02:24:31,305 - INFO - VN ctest-vn-39778103 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-12 02:24:31,305 - DEBUG - Verifying the vn in opserver 2025-05-12 02:24:31,305 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-39778103 virtual network link through opserver 10.0.0.19 2025-05-12 02:24:31,305 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-05-12 02:24:31,317 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-39778103', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-39778103?flat'} 2025-05-12 02:24:31,317 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-39778103 is found in opserver 2025-05-12 02:24:31,329 - DEBUG - Do not have enough data to verify VN in agent 2025-05-12 02:24:31,335 - DEBUG - VRF ids for VN ctest-vn-39778103: {} 2025-05-12 02:24:31,397 - DEBUG - Services list from nova: [, , ] 2025-05-12 02:24:32,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3297-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3297-1) 2025-05-12 02:24:33,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3297-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3297-1) 2025-05-12 02:24:33,688 - INFO - Waiting for VM ctest-TestBasicPolicy-07113907-31993878 to be up.. 2025-05-12 02:24:33,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-12 02:24:38,847 - DEBUG - VM is in ACTIVE state now 2025-05-12 02:24:38,848 - INFO - VM name : ctest-TestBasicPolicy-07113907-31993878 2025-05-12 02:24:38,922 - DEBUG - VM ctest-TestBasicPolicy-07113907-31993878 ID is 29de452d-bf8a-452a-a4f0-09a7d4d0e5d8 2025-05-12 02:24:38,939 - DEBUG - VM ctest-TestBasicPolicy-07113907-31993878 launched on Node cn-jenkins-deploy-platform-ansible-os-3297-1 2025-05-12 02:24:39,014 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/29de452d-bf8a-452a-a4f0-09a7d4d0e5d8 2025-05-12 02:24:39,023 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c73acbd5-c477-4922-be14-e1b8dcd8befb 2025-05-12 02:24:42,264 - 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 1008ms') 2025-05-12 02:24:42,264 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07113907-31993878 failed! 2025-05-12 02:24:42,323 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07113907:ctest-vn-99072495 is 217.151.146.193 and allocation pool is NOT set 2025-05-12 02:24:44,387 - 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=3.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.514 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.514/2.155/3.797/1.641 ms') 2025-05-12 02:24:44,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07113907-31993878 passed 2025-05-12 02:24:44,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:24:44,539 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07113907-31993878, IP 217.151.146.195, Port 22 2025-05-12 02:24:44,694 - DEBUG - VM ctest-TestBasicPolicy-07113907-31993878 is ready for SSH connections 2025-05-12 02:24:44,694 - INFO - Waiting for VM ctest-TestBasicPolicy-07113907-59388127 to be up.. 2025-05-12 02:24:44,770 - DEBUG - VM is in ACTIVE state now 2025-05-12 02:24:44,770 - INFO - VM name : ctest-TestBasicPolicy-07113907-59388127 2025-05-12 02:24:44,844 - DEBUG - VM ctest-TestBasicPolicy-07113907-59388127 ID is 5ccd12f1-4246-4181-b76a-4800d1378bc2 2025-05-12 02:24:44,844 - DEBUG - VM ctest-TestBasicPolicy-07113907-59388127 launched on Node cn-jenkins-deploy-platform-ansible-os-3297-1 2025-05-12 02:24:44,918 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/5ccd12f1-4246-4181-b76a-4800d1378bc2 2025-05-12 02:24:44,926 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/64c528d4-4c07-4199-ba63-e8921f17c1f8 2025-05-12 02:24:46,177 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.601/2.843/1.242 ms') 2025-05-12 02:24:46,177 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07113907-59388127 passed 2025-05-12 02:24:46,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:24:46,331 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07113907-59388127, IP 106.255.111.67, Port 22 2025-05-12 02:24:46,487 - DEBUG - VM ctest-TestBasicPolicy-07113907-59388127 is ready for SSH connections 2025-05-12 02:24:46,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:24:46,487 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.255.111.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-05-12 02:24:46,487 - DEBUG - ping -s 56 -c 3 -W 1 106.255.111.67 2025-05-12 02:24:50,217 - DEBUG - PING 106.255.111.67 (106.255.111.67): 56 data bytes 64 bytes from 106.255.111.67: seq=0 ttl=63 time=3.861 ms 64 bytes from 106.255.111.67: seq=1 ttl=63 time=0.688 ms 64 bytes from 106.255.111.67: seq=2 ttl=63 time=0.684 ms --- 106.255.111.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.684/1.744/3.861 ms 2025-05-12 02:24:50,217 - INFO - Ping to IP 106.255.111.67 from VM ctest-TestBasicPolicy-07113907-31993878 passed 2025-05-12 02:24:50,399 - DEBUG - Policy Update Response {"network-policy": {"uuid": "749b9a9c-3532-4a77-b8b3-6e45a0dfeb2e", "href": "http://10.0.0.19:8082/network-policy/749b9a9c-3532-4a77-b8b3-6e45a0dfeb2e"}} 2025-05-12 02:24:50,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:24:50,399 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.255.111.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-05-12 02:24:50,399 - DEBUG - ping -s 56 -c 3 -W 1 106.255.111.67 2025-05-12 02:24:53,592 - DEBUG - PING 106.255.111.67 (106.255.111.67): 56 data bytes --- 106.255.111.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-12 02:24:53,593 - WARNING - Ping to IP 106.255.111.67 from VM ctest-TestBasicPolicy-07113907-31993878 failed 2025-05-12 02:24:53,593 - INFO - Deleting VM ctest-TestBasicPolicy-07113907-59388127 2025-05-12 02:24:53,666 - INFO - Deleting VM ctest-TestBasicPolicy-07113907-31993878 2025-05-12 02:24:54,088 - INFO - Deleted policy ctest-policy-allow-all-41821219 2025-05-12 02:24:54,089 - INFO - Deleting VN ctest-vn-39778103 2025-05-12 02:24:54,127 - DEBUG - VN deff5fe6-c8d5-4dd2-b512-af8655d40634 still in use: Unable to complete operation on network deff5fe6-c8d5-4dd2-b512-af8655d40634. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0fd0a919-982d-422d-b2ae-cd5a798368eb'] 2025-05-12 02:24:54,128 - WARNING - Deleting VN ctest-vn-39778103 failed..Will retry 2025-05-12 02:24:56,244 - DEBUG - Response for deleting network () 2025-05-12 02:24:56,244 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/d72de2ff-5388-47ac-b463-602591c9747c 2025-05-12 02:24:56,255 - DEBUG - Response Code: 404 2025-05-12 02:24:56,255 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-05-12 02:24:56,261 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9c365a99-b5a8-4c08-be5b-436469bb93d9 2025-05-12 02:24:56,320 - DEBUG - Requesting: http://10.0.0.19:8082/project/e319e47d-e8ac-40d2-9da8-d500ede09bd1 2025-05-12 02:24:56,396 - INFO - Validated that VN ctest-vn-39778103 is not found in API Server 2025-05-12 02:24:56,406 - DEBUG - VN ctest-vn-39778103 is not present in Agent 10.0.0.19 2025-05-12 02:24:56,406 - INFO - Validated that VN ctest-vn-39778103 is not in any agent 2025-05-12 02:24:56,425 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39778103 info 2025-05-12 02:24:56,426 - INFO - Deleting VN ctest-vn-99072495 2025-05-12 02:24:56,523 - DEBUG - Response for deleting network () 2025-05-12 02:24:56,523 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b3ac21a7-d3a8-4762-b11f-2c493f7cd406 2025-05-12 02:24:56,531 - DEBUG - Response Code: 404 2025-05-12 02:24:56,531 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-05-12 02:24:56,540 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9c365a99-b5a8-4c08-be5b-436469bb93d9 2025-05-12 02:24:56,596 - DEBUG - Requesting: http://10.0.0.19:8082/project/e319e47d-e8ac-40d2-9da8-d500ede09bd1 2025-05-12 02:24:56,677 - INFO - Validated that VN ctest-vn-99072495 is not found in API Server 2025-05-12 02:24:56,688 - DEBUG - VN ctest-vn-99072495 is not present in Agent 10.0.0.19 2025-05-12 02:24:56,688 - INFO - Validated that VN ctest-vn-99072495 is not in any agent 2025-05-12 02:24:56,704 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99072495 info 2025-05-12 02:24:56,958 - DEBUG - No XMPP flaps were noticed during the test 2025-05-12 02:24:56,958 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-12 02:24:56,958 - INFO - -------------------------------------------------------------------------------- 2025-05-12 02:24:57,632 - INFO - Deleted project: ctest-TestBasicPolicy-07113907, ID : e319e47d-e8ac-40d2-9da8-d500ede09bd1