2025-09-24 11:07:30,323 - INFO - Domain Default found not creating 2025-09-24 11:07:30,473 - INFO - Project ctest-TestBasicPolicy-78384531 not found, creating it 2025-09-24 11:07:30,935 - INFO - Created Project:ctest-TestBasicPolicy-78384531, ID : 29b1dc29-90dd-4685-abc5-ee18eb923956 2025-09-24 11:07:32,485 - INFO - ================================================================================ 2025-09-24 11:07:32,486 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-24 11:07:32,486 - 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-09-24 11:07:32,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 11:07:32,741 - INFO - Initial checks done. Running the testcase now 2025-09-24 11:07:32,741 - INFO - 2025-09-24 11:07:33,326 - DEBUG - Response for create_network : {'network': {'id': 'fbae0c8b-3adf-4bc7-adb1-37b301dec7c7', 'name': 'ctest-vn-69194087', 'tenant_id': '29b1dc2990dd4685abc5ee18eb923956', 'project_id': '29b1dc2990dd4685abc5ee18eb923956', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78384531', 'ctest-vn-69194087'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 11:07:33,498 - DEBUG - Response for create_subnet : {'subnet': {'id': '0db5be6c-57ce-41ae-b367-26a0ac90a1f4', 'name': '', 'tenant_id': '29b1dc2990dd4685abc5ee18eb923956', 'network_id': 'fbae0c8b-3adf-4bc7-adb1-37b301dec7c7', 'ip_version': 4, 'cidr': '167.147.153.64/26', 'allocation_pools': [{'start': '167.147.153.66', 'end': '167.147.153.126'}], 'gateway_ip': '167.147.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.147.153.66', 'tags': [], 'project_id': '29b1dc2990dd4685abc5ee18eb923956'}} 2025-09-24 11:07:33,539 - INFO - Created VN ctest-vn-69194087 2025-09-24 11:07:33,594 - DEBUG - VN ctest-vn-69194087 UUID is fbae0c8b-3adf-4bc7-adb1-37b301dec7c7 2025-09-24 11:07:33,922 - DEBUG - Response for create_network : {'network': {'id': 'b712ecdc-1070-42cd-8a86-a1dfe6229b4e', 'name': 'ctest-vn-34548816', 'tenant_id': '29b1dc2990dd4685abc5ee18eb923956', 'project_id': '29b1dc2990dd4685abc5ee18eb923956', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78384531', 'ctest-vn-34548816'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 11:07:34,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b9f9476-a083-4e3e-b60a-ee59f9f5834d', 'name': '', 'tenant_id': '29b1dc2990dd4685abc5ee18eb923956', 'network_id': 'b712ecdc-1070-42cd-8a86-a1dfe6229b4e', 'ip_version': 4, 'cidr': '45.93.250.192/26', 'allocation_pools': [{'start': '45.93.250.194', 'end': '45.93.250.254'}], 'gateway_ip': '45.93.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.93.250.194', 'tags': [], 'project_id': '29b1dc2990dd4685abc5ee18eb923956'}} 2025-09-24 11:07:34,125 - INFO - Created VN ctest-vn-34548816 2025-09-24 11:07:34,178 - DEBUG - VN ctest-vn-34548816 UUID is b712ecdc-1070-42cd-8a86-a1dfe6229b4e 2025-09-24 11:07:34,297 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-69194087, 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-78384531:ctest-vn-34548816, 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-09-24 11:07:34,601 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbae0c8b-3adf-4bc7-adb1-37b301dec7c7', 'name': 'ctest-vn-69194087', 'tenant_id': '29b1dc2990dd4685abc5ee18eb923956', 'project_id': '29b1dc2990dd4685abc5ee18eb923956', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0db5be6c-57ce-41ae-b367-26a0ac90a1f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78384531', 'ctest-vn-69194087'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78384531', 'ctest-policy-allow-all-39249627']], 'subnet_ipam': [{'subnet_cidr': '167.147.153.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-24 11:07:34,821 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b712ecdc-1070-42cd-8a86-a1dfe6229b4e', 'name': 'ctest-vn-34548816', 'tenant_id': '29b1dc2990dd4685abc5ee18eb923956', 'project_id': '29b1dc2990dd4685abc5ee18eb923956', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b9f9476-a083-4e3e-b60a-ee59f9f5834d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78384531', 'ctest-vn-34548816'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78384531', 'ctest-policy-allow-all-39249627']], 'subnet_ipam': [{'subnet_cidr': '45.93.250.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-24 11:07:34,990 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 11:07:35,326 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 11:07:35,357 - DEBUG - Requesting: http://10.0.0.57:8082/domain/2dfe3689-9f60-45a1-82b4-a62ffe58aa8c 2025-09-24 11:07:35,369 - DEBUG - Requesting: http://10.0.0.57:8082/project/29b1dc29-90dd-4685-abc5-ee18eb923956 2025-09-24 11:07:35,449 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fbae0c8b-3adf-4bc7-adb1-37b301dec7c7 2025-09-24 11:07:35,460 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fbae0c8b-3adf-4bc7-adb1-37b301dec7c7 2025-09-24 11:07:35,469 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/30f0ed3a-3643-4023-9e35-f2fb9271df20 2025-09-24 11:07:35,476 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/30f0ed3a-3643-4023-9e35-f2fb9271df20 2025-09-24 11:07:35,484 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/4f250b4b-1e67-4ab8-8cf6-7c4d75b501a9 2025-09-24 11:07:35,490 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-24 11:07:35,490 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fbae0c8b-3adf-4bc7-adb1-37b301dec7c7 2025-09-24 11:07:35,498 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/30f0ed3a-3643-4023-9e35-f2fb9271df20 2025-09-24 11:07:35,511 - INFO - Verified VN network id 11 for VN fbae0c8b-3adf-4bc7-adb1-37b301dec7c7 2025-09-24 11:07:35,511 - INFO - Verifications in API Server for VN ctest-vn-69194087 passed 2025-09-24 11:07:35,511 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fbae0c8b-3adf-4bc7-adb1-37b301dec7c7 2025-09-24 11:07:35,519 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/30f0ed3a-3643-4023-9e35-f2fb9271df20 2025-09-24 11:07:35,525 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/30f0ed3a-3643-4023-9e35-f2fb9271df20 2025-09-24 11:07:35,531 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/4f250b4b-1e67-4ab8-8cf6-7c4d75b501a9 2025-09-24 11:07:35,541 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-69194087', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78384531', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18135446541595265991', 'uuid-lslong': '12515846081409370055'}, 'enable': 'true', 'created': '2025-09-24T11:07:33', 'last-modified': '2025-09-24T11:07:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962962'} 2025-09-24 11:07:35,550 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-24 11:07:35,550 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69194087 passed 2025-09-24 11:07:35,550 - DEBUG - ====Verifying policy data for ctest-vn-69194087 in API_Server ====== 2025-09-24 11:07:35,550 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 11:07:35,556 - DEBUG - Requesting: http://10.0.0.57:8082/domain/2dfe3689-9f60-45a1-82b4-a62ffe58aa8c 2025-09-24 11:07:35,568 - DEBUG - Requesting: http://10.0.0.57:8082/project/29b1dc29-90dd-4685-abc5-ee18eb923956 2025-09-24 11:07:35,638 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fbae0c8b-3adf-4bc7-adb1-37b301dec7c7 2025-09-24 11:07:35,647 - DEBUG - ==>Verifying data for policy with id: 07c234b4-3728-42a4-90be-e45a1e2a8c16, fqn: ['default-domain', 'ctest-TestBasicPolicy-78384531', 'ctest-policy-allow-all-39249627'] 2025-09-24 11:07:35,647 - INFO - VN ctest-vn-69194087 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-24 11:07:35,647 - DEBUG - Verifying the vn in opserver 2025-09-24 11:07:35,647 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-69194087 virtual network link through opserver 10.0.0.57 2025-09-24 11:07:35,647 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-24 11:07:35,984 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-24 11:07:36,045 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-69194087', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-69194087?flat'} 2025-09-24 11:07:36,045 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-69194087 is found in opserver 2025-09-24 11:07:36,055 - DEBUG - Do not have enough data to verify VN in agent 2025-09-24 11:07:36,059 - DEBUG - VRF ids for VN ctest-vn-69194087: {} 2025-09-24 11:07:36,059 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 11:07:36,066 - DEBUG - Requesting: http://10.0.0.57:8082/domain/2dfe3689-9f60-45a1-82b4-a62ffe58aa8c 2025-09-24 11:07:36,076 - DEBUG - Requesting: http://10.0.0.57:8082/project/29b1dc29-90dd-4685-abc5-ee18eb923956 2025-09-24 11:07:36,159 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b712ecdc-1070-42cd-8a86-a1dfe6229b4e 2025-09-24 11:07:36,174 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b712ecdc-1070-42cd-8a86-a1dfe6229b4e 2025-09-24 11:07:36,183 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0cba5cbe-1011-4128-ae57-1c3215fd3259 2025-09-24 11:07:36,190 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0cba5cbe-1011-4128-ae57-1c3215fd3259 2025-09-24 11:07:36,197 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/0aecb5c0-f6d3-4f05-b8ad-9ef41260eaa8 2025-09-24 11:07:36,204 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-24 11:07:36,204 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b712ecdc-1070-42cd-8a86-a1dfe6229b4e 2025-09-24 11:07:36,214 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0cba5cbe-1011-4128-ae57-1c3215fd3259 2025-09-24 11:07:36,227 - INFO - Verified VN network id 12 for VN b712ecdc-1070-42cd-8a86-a1dfe6229b4e 2025-09-24 11:07:36,227 - INFO - Verifications in API Server for VN ctest-vn-34548816 passed 2025-09-24 11:07:36,227 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b712ecdc-1070-42cd-8a86-a1dfe6229b4e 2025-09-24 11:07:36,237 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0cba5cbe-1011-4128-ae57-1c3215fd3259 2025-09-24 11:07:36,244 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0cba5cbe-1011-4128-ae57-1c3215fd3259 2025-09-24 11:07:36,250 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/0aecb5c0-f6d3-4f05-b8ad-9ef41260eaa8 2025-09-24 11:07:36,261 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-34548816', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78384531', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13191866688434356941', 'uuid-lslong': '9981843607124089678'}, 'enable': 'true', 'created': '2025-09-24T11:07:33', 'last-modified': '2025-09-24T11:07:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.459920'} 2025-09-24 11:07:36,266 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-24 11:07:36,266 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34548816 passed 2025-09-24 11:07:36,266 - DEBUG - ====Verifying policy data for ctest-vn-34548816 in API_Server ====== 2025-09-24 11:07:36,266 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 11:07:36,271 - DEBUG - Requesting: http://10.0.0.57:8082/domain/2dfe3689-9f60-45a1-82b4-a62ffe58aa8c 2025-09-24 11:07:36,280 - DEBUG - Requesting: http://10.0.0.57:8082/project/29b1dc29-90dd-4685-abc5-ee18eb923956 2025-09-24 11:07:36,348 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b712ecdc-1070-42cd-8a86-a1dfe6229b4e 2025-09-24 11:07:36,359 - DEBUG - ==>Verifying data for policy with id: 07c234b4-3728-42a4-90be-e45a1e2a8c16, fqn: ['default-domain', 'ctest-TestBasicPolicy-78384531', 'ctest-policy-allow-all-39249627'] 2025-09-24 11:07:36,359 - INFO - VN ctest-vn-34548816 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-24 11:07:36,360 - DEBUG - Verifying the vn in opserver 2025-09-24 11:07:36,360 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-34548816 virtual network link through opserver 10.0.0.57 2025-09-24 11:07:36,360 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-24 11:07:36,369 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-34548816', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-34548816?flat'} 2025-09-24 11:07:36,369 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-34548816 is found in opserver 2025-09-24 11:07:36,380 - DEBUG - Do not have enough data to verify VN in agent 2025-09-24 11:07:36,386 - DEBUG - VRF ids for VN ctest-vn-34548816: {} 2025-09-24 11:07:36,450 - DEBUG - Services list from nova: [, , ] 2025-09-24 11:07:37,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4182-1) 2025-09-24 11:07:38,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4182-1) 2025-09-24 11:07:38,788 - INFO - Waiting for VM ctest-TestBasicPolicy-78384531-45827915 to be up.. 2025-09-24 11:07:38,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-24 11:07:43,959 - DEBUG - VM is in ACTIVE state now 2025-09-24 11:07:43,959 - INFO - VM name : ctest-TestBasicPolicy-78384531-45827915 2025-09-24 11:07:44,037 - DEBUG - VM ctest-TestBasicPolicy-78384531-45827915 ID is bd20e9c6-8e03-4176-8a07-93fb3e8dc585 2025-09-24 11:07:44,059 - DEBUG - VM ctest-TestBasicPolicy-78384531-45827915 launched on Node cn-jenkins-deploy-platform-ansible-os-4182-1 2025-09-24 11:07:44,138 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/bd20e9c6-8e03-4176-8a07-93fb3e8dc585 2025-09-24 11:07:44,148 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/25d52f46-5b51-4552-9ad8-fd6ccc1389fd 2025-09-24 11:07:47,407 - 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 1022ms') 2025-09-24 11:07:47,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78384531-45827915 failed! 2025-09-24 11:07:47,462 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78384531:ctest-vn-69194087 is 167.147.153.65 and allocation pool is NOT set 2025-09-24 11:07:49,529 - 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=9.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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 = 2.364/6.008/9.653/3.644 ms') 2025-09-24 11:07:49,529 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78384531-45827915 passed 2025-09-24 11:07:49,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:07:49,682 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78384531-45827915, IP 167.147.153.67, Port 22 2025-09-24 11:07:49,852 - DEBUG - VM ctest-TestBasicPolicy-78384531-45827915 is ready for SSH connections 2025-09-24 11:07:49,852 - INFO - Waiting for VM ctest-TestBasicPolicy-78384531-15663159 to be up.. 2025-09-24 11:07:49,944 - DEBUG - VM is in ACTIVE state now 2025-09-24 11:07:49,944 - INFO - VM name : ctest-TestBasicPolicy-78384531-15663159 2025-09-24 11:07:50,019 - DEBUG - VM ctest-TestBasicPolicy-78384531-15663159 ID is 04f9c4f9-e8fb-43b1-91be-b05ed0be24c2 2025-09-24 11:07:50,019 - DEBUG - VM ctest-TestBasicPolicy-78384531-15663159 launched on Node cn-jenkins-deploy-platform-ansible-os-4182-1 2025-09-24 11:07:50,103 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/04f9c4f9-e8fb-43b1-91be-b05ed0be24c2 2025-09-24 11:07:50,113 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/94c0d05b-b335-4b41-a18d-226d403e30bb 2025-09-24 11:07:51,351 - 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=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/1.864/3.176/1.312 ms') 2025-09-24 11:07:51,351 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78384531-15663159 passed 2025-09-24 11:07:51,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:07:51,498 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78384531-15663159, IP 45.93.250.195, Port 22 2025-09-24 11:07:51,666 - DEBUG - VM ctest-TestBasicPolicy-78384531-15663159 is ready for SSH connections 2025-09-24 11:07:51,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:07:51,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.93.250.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 11:07:51,666 - DEBUG - ping -s 56 -c 3 -W 1 45.93.250.195 2025-09-24 11:07:55,856 - DEBUG - PING 45.93.250.195 (45.93.250.195): 56 data bytes 64 bytes from 45.93.250.195: seq=0 ttl=63 time=4.091 ms 64 bytes from 45.93.250.195: seq=1 ttl=63 time=0.844 ms 64 bytes from 45.93.250.195: seq=2 ttl=63 time=0.933 ms --- 45.93.250.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.956/4.091 ms 2025-09-24 11:07:55,857 - INFO - Ping to IP 45.93.250.195 from VM ctest-TestBasicPolicy-78384531-45827915 passed 2025-09-24 11:07:56,034 - DEBUG - Policy Update Response {"network-policy": {"uuid": "07c234b4-3728-42a4-90be-e45a1e2a8c16", "href": "http://10.0.0.57:8082/network-policy/07c234b4-3728-42a4-90be-e45a1e2a8c16"}} 2025-09-24 11:07:56,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:07:56,034 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.93.250.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 11:07:56,034 - DEBUG - ping -s 56 -c 3 -W 1 45.93.250.195 2025-09-24 11:07:59,268 - DEBUG - PING 45.93.250.195 (45.93.250.195): 56 data bytes --- 45.93.250.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 11:07:59,268 - WARNING - Ping to IP 45.93.250.195 from VM ctest-TestBasicPolicy-78384531-45827915 failed 2025-09-24 11:07:59,268 - INFO - Deleting VM ctest-TestBasicPolicy-78384531-15663159 2025-09-24 11:07:59,353 - INFO - Deleting VM ctest-TestBasicPolicy-78384531-45827915 2025-09-24 11:07:59,718 - INFO - Deleted policy ctest-policy-allow-all-39249627 2025-09-24 11:07:59,719 - INFO - Deleting VN ctest-vn-34548816 2025-09-24 11:07:59,758 - DEBUG - VN b712ecdc-1070-42cd-8a86-a1dfe6229b4e still in use: Unable to complete operation on network b712ecdc-1070-42cd-8a86-a1dfe6229b4e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af6f9744-a183-4820-a0f3-5ac83b4a65b1'] 2025-09-24 11:07:59,758 - WARNING - Deleting VN ctest-vn-34548816 failed..Will retry 2025-09-24 11:08:01,868 - DEBUG - Response for deleting network () 2025-09-24 11:08:01,868 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0cba5cbe-1011-4128-ae57-1c3215fd3259 2025-09-24 11:08:01,877 - DEBUG - Response Code: 404 2025-09-24 11:08:01,877 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 11:08:01,883 - DEBUG - Requesting: http://10.0.0.57:8082/domain/2dfe3689-9f60-45a1-82b4-a62ffe58aa8c 2025-09-24 11:08:01,940 - DEBUG - Requesting: http://10.0.0.57:8082/project/29b1dc29-90dd-4685-abc5-ee18eb923956 2025-09-24 11:08:02,013 - INFO - Validated that VN ctest-vn-34548816 is not found in API Server 2025-09-24 11:08:02,023 - DEBUG - VN ctest-vn-34548816 is not present in Agent 10.0.0.57 2025-09-24 11:08:02,023 - INFO - Validated that VN ctest-vn-34548816 is not in any agent 2025-09-24 11:08:02,037 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34548816 info 2025-09-24 11:08:02,037 - INFO - Deleting VN ctest-vn-69194087 2025-09-24 11:08:02,134 - DEBUG - Response for deleting network () 2025-09-24 11:08:02,134 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/30f0ed3a-3643-4023-9e35-f2fb9271df20 2025-09-24 11:08:02,145 - DEBUG - Response Code: 404 2025-09-24 11:08:02,145 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 11:08:02,152 - DEBUG - Requesting: http://10.0.0.57:8082/domain/2dfe3689-9f60-45a1-82b4-a62ffe58aa8c 2025-09-24 11:08:02,207 - DEBUG - Requesting: http://10.0.0.57:8082/project/29b1dc29-90dd-4685-abc5-ee18eb923956 2025-09-24 11:08:02,281 - INFO - Validated that VN ctest-vn-69194087 is not found in API Server 2025-09-24 11:08:02,291 - DEBUG - VN ctest-vn-69194087 is not present in Agent 10.0.0.57 2025-09-24 11:08:02,291 - INFO - Validated that VN ctest-vn-69194087 is not in any agent 2025-09-24 11:08:02,304 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69194087 info 2025-09-24 11:08:02,563 - DEBUG - No XMPP flaps were noticed during the test 2025-09-24 11:08:02,563 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-24 11:08:02,564 - INFO - -------------------------------------------------------------------------------- 2025-09-24 11:08:03,297 - INFO - Deleted project: ctest-TestBasicPolicy-78384531, ID : 29b1dc29-90dd-4685-abc5-ee18eb923956