2026-09-14 18:07:36,284 - INFO - Domain Default found not creating 2026-09-14 18:07:36,518 - INFO - Project ctest-TestBasicPolicy-15977505 not found, creating it 2026-09-14 18:07:37,075 - INFO - Created Project:ctest-TestBasicPolicy-15977505, ID : 218a31c8-2f48-4a3f-bf7e-d53dcfad1147 2026-09-14 18:07:38,847 - INFO - ================================================================================ 2026-09-14 18:07:38,848 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-14 18:07:38,848 - 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 2026-09-14 18:07:39,118 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-09-14 18:07:39,118 - INFO - Initial checks done. Running the testcase now 2026-09-14 18:07:39,118 - INFO - 2026-09-14 18:07:39,781 - DEBUG - Response for create_network : {'network': {'id': 'a4e72c46-987c-49e0-8d23-af6945f990ab', 'name': 'ctest-vn-12389740', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'project_id': '218a31c82f484a3fbf7ed53dcfad1147', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-vn-12389740'], 'port_security_enabled': True, 'description': ''}} 2026-09-14 18:07:40,033 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0b319e9-97e1-46f0-9f55-3fe46a89589e', 'name': '', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'network_id': 'a4e72c46-987c-49e0-8d23-af6945f990ab', 'ip_version': 4, 'cidr': '69.63.143.0/26', 'allocation_pools': [{'start': '69.63.143.2', 'end': '69.63.143.62'}], 'gateway_ip': '69.63.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.63.143.2', 'tags': [], 'project_id': '218a31c82f484a3fbf7ed53dcfad1147'}} 2026-09-14 18:07:40,051 - INFO - Created VN ctest-vn-12389740 2026-09-14 18:07:40,104 - DEBUG - VN ctest-vn-12389740 UUID is a4e72c46-987c-49e0-8d23-af6945f990ab 2026-09-14 18:07:40,435 - DEBUG - Response for create_network : {'network': {'id': '58a2bc7c-17e2-4326-b17d-d1120bd11718', 'name': 'ctest-vn-79228352', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'project_id': '218a31c82f484a3fbf7ed53dcfad1147', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-vn-79228352'], 'port_security_enabled': True, 'description': ''}} 2026-09-14 18:07:40,633 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7ee9d89-bb10-44c9-b9bc-43e697e71aa3', 'name': '', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'network_id': '58a2bc7c-17e2-4326-b17d-d1120bd11718', 'ip_version': 4, 'cidr': '29.81.204.64/26', 'allocation_pools': [{'start': '29.81.204.66', 'end': '29.81.204.126'}], 'gateway_ip': '29.81.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.81.204.66', 'tags': [], 'project_id': '218a31c82f484a3fbf7ed53dcfad1147'}} 2026-09-14 18:07:40,654 - INFO - Created VN ctest-vn-79228352 2026-09-14 18:07:40,712 - DEBUG - VN ctest-vn-79228352 UUID is 58a2bc7c-17e2-4326-b17d-d1120bd11718 2026-09-14 18:07:40,835 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740, 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-15977505:ctest-vn-79228352, 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] 2026-09-14 18:07:41,197 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4e72c46-987c-49e0-8d23-af6945f990ab', 'name': 'ctest-vn-12389740', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'project_id': '218a31c82f484a3fbf7ed53dcfad1147', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e0b319e9-97e1-46f0-9f55-3fe46a89589e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-vn-12389740'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-policy-allow-all-75156162']], 'subnet_ipam': [{'subnet_cidr': '69.63.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-14 18:07:41,457 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58a2bc7c-17e2-4326-b17d-d1120bd11718', 'name': 'ctest-vn-79228352', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'project_id': '218a31c82f484a3fbf7ed53dcfad1147', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e7ee9d89-bb10-44c9-b9bc-43e697e71aa3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-vn-79228352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-policy-allow-all-75156162']], 'subnet_ipam': [{'subnet_cidr': '29.81.204.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-14 18:07:41,640 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-14 18:07:41,991 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-14 18:07:42,029 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d 2026-09-14 18:07:42,045 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147 2026-09-14 18:07:42,131 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab 2026-09-14 18:07:42,148 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab 2026-09-14 18:07:42,159 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7 2026-09-14 18:07:42,169 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7 2026-09-14 18:07:42,179 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d8aff14-a82e-4c39-9c14-5e5cdd23e89e 2026-09-14 18:07:42,187 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-14 18:07:42,187 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab 2026-09-14 18:07:42,199 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7 2026-09-14 18:07:42,218 - INFO - Verified VN network id 12 for VN a4e72c46-987c-49e0-8d23-af6945f990ab 2026-09-14 18:07:42,218 - INFO - Verifications in API Server for VN ctest-vn-12389740 passed 2026-09-14 18:07:42,218 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab 2026-09-14 18:07:42,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7 2026-09-14 18:07:42,240 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7 2026-09-14 18:07:42,251 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d8aff14-a82e-4c39-9c14-5e5cdd23e89e 2026-09-14 18:07:42,268 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15977505', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11882514823557958112', 'uuid-lslong': '10170165250213122219'}, 'enable': 'true', 'created': '2026-09-14T18:07:39', 'last-modified': '2026-09-14T18:07:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.110488'} 2026-09-14 18:07:42,277 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-14 18:07:42,277 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12389740 passed 2026-09-14 18:07:42,277 - DEBUG - ====Verifying policy data for ctest-vn-12389740 in API_Server ====== 2026-09-14 18:07:42,277 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-14 18:07:42,284 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d 2026-09-14 18:07:42,298 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147 2026-09-14 18:07:42,389 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab 2026-09-14 18:07:42,401 - DEBUG - ==>Verifying data for policy with id: a4fdd47b-9761-4512-9b78-dbe793e30096, fqn: ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-policy-allow-all-75156162'] 2026-09-14 18:07:42,401 - INFO - VN ctest-vn-12389740 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-14 18:07:42,401 - DEBUG - Verifying the vn in opserver 2026-09-14 18:07:42,401 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740 virtual network link through opserver 10.0.0.50 2026-09-14 18:07:42,402 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-14 18:07:42,749 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-14 18:07:42,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740?flat'} 2026-09-14 18:07:42,825 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740 is found in opserver 2026-09-14 18:07:42,839 - DEBUG - Do not have enough data to verify VN in agent 2026-09-14 18:07:42,847 - DEBUG - VRF ids for VN ctest-vn-12389740: {} 2026-09-14 18:07:42,847 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-14 18:07:42,855 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d 2026-09-14 18:07:42,869 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147 2026-09-14 18:07:42,956 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718 2026-09-14 18:07:42,972 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718 2026-09-14 18:07:42,984 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a 2026-09-14 18:07:42,994 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a 2026-09-14 18:07:43,004 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5b6c191f-aadc-40a1-896d-01eed5b98e96 2026-09-14 18:07:43,013 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-14 18:07:43,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718 2026-09-14 18:07:43,028 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a 2026-09-14 18:07:43,051 - INFO - Verified VN network id 13 for VN 58a2bc7c-17e2-4326-b17d-d1120bd11718 2026-09-14 18:07:43,051 - INFO - Verifications in API Server for VN ctest-vn-79228352 passed 2026-09-14 18:07:43,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718 2026-09-14 18:07:43,066 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a 2026-09-14 18:07:43,076 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a 2026-09-14 18:07:43,085 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5b6c191f-aadc-40a1-896d-01eed5b98e96 2026-09-14 18:07:43,103 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15977505', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6386874462727455526', 'uuid-lslong': '12789608392239945496'}, 'enable': 'true', 'created': '2026-09-14T18:07:40', 'last-modified': '2026-09-14T18:07:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.675588'} 2026-09-14 18:07:43,111 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-14 18:07:43,111 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79228352 passed 2026-09-14 18:07:43,111 - DEBUG - ====Verifying policy data for ctest-vn-79228352 in API_Server ====== 2026-09-14 18:07:43,111 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-14 18:07:43,119 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d 2026-09-14 18:07:43,133 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147 2026-09-14 18:07:43,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718 2026-09-14 18:07:43,244 - DEBUG - ==>Verifying data for policy with id: a4fdd47b-9761-4512-9b78-dbe793e30096, fqn: ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-policy-allow-all-75156162'] 2026-09-14 18:07:43,245 - INFO - VN ctest-vn-79228352 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-14 18:07:43,245 - DEBUG - Verifying the vn in opserver 2026-09-14 18:07:43,245 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352 virtual network link through opserver 10.0.0.50 2026-09-14 18:07:43,245 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-14 18:07:43,258 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352?flat'} 2026-09-14 18:07:43,258 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352 is found in opserver 2026-09-14 18:07:43,274 - DEBUG - Do not have enough data to verify VN in agent 2026-09-14 18:07:43,281 - DEBUG - VRF ids for VN ctest-vn-79228352: {} 2026-09-14 18:07:43,364 - DEBUG - Services list from nova: [, , ] 2026-09-14 18:07:43,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6282-1) 2026-09-14 18:07:44,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6282-1) 2026-09-14 18:07:44,393 - INFO - Waiting for VM ctest-TestBasicPolicy-15977505-53914762 to be up.. 2026-09-14 18:07:44,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 18:07:49,528 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 18:07:54,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 18:07:59,721 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 18:08:04,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 18:08:09,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 18:08:15,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 18:08:20,130 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 18:08:25,224 - DEBUG - VM is in ACTIVE state now 2026-09-14 18:08:25,224 - INFO - VM name : ctest-TestBasicPolicy-15977505-53914762 2026-09-14 18:08:25,311 - DEBUG - VM ctest-TestBasicPolicy-15977505-53914762 ID is 737b247c-96fd-43b0-a180-a81b8982029f 2026-09-14 18:08:25,334 - DEBUG - VM ctest-TestBasicPolicy-15977505-53914762 launched on Node cn-jenkins-deploy-platform-ansible-os-6282-1 2026-09-14 18:08:25,419 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/737b247c-96fd-43b0-a180-a81b8982029f 2026-09-14 18:08:25,428 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/58bf7138-7d44-4745-9015-c471e75f3b53 2026-09-14 18:08:28,689 - 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 1005ms') 2026-09-14 18:08:28,689 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15977505-53914762 failed! 2026-09-14 18:08:28,744 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740 is 69.63.143.1 and allocation pool is NOT set 2026-09-14 18:08:30,811 - 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=4.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.803 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.803/2.698/4.593/1.895 ms') 2026-09-14 18:08:30,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15977505-53914762 passed 2026-09-14 18:08:30,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-14 18:08:30,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15977505-53914762, IP 69.63.143.3, Port 22 2026-09-14 18:08:31,120 - DEBUG - VM ctest-TestBasicPolicy-15977505-53914762 is ready for SSH connections 2026-09-14 18:08:31,120 - INFO - Waiting for VM ctest-TestBasicPolicy-15977505-07012201 to be up.. 2026-09-14 18:08:31,214 - DEBUG - VM is in ACTIVE state now 2026-09-14 18:08:31,214 - INFO - VM name : ctest-TestBasicPolicy-15977505-07012201 2026-09-14 18:08:31,296 - DEBUG - VM ctest-TestBasicPolicy-15977505-07012201 ID is a043dbfc-d00d-44be-8c0d-3364abd4b92e 2026-09-14 18:08:31,296 - DEBUG - VM ctest-TestBasicPolicy-15977505-07012201 launched on Node cn-jenkins-deploy-platform-ansible-os-6282-1 2026-09-14 18:08:31,372 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a043dbfc-d00d-44be-8c0d-3364abd4b92e 2026-09-14 18:08:31,383 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8e9efbf6-8e3d-45c2-8aab-a5a3025b2707 2026-09-14 18:08:32,635 - 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=8.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.53 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.527/5.122/8.717/3.595 ms') 2026-09-14 18:08:32,636 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15977505-07012201 passed 2026-09-14 18:08:32,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-14 18:08:32,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15977505-07012201, IP 29.81.204.67, Port 22 2026-09-14 18:08:32,858 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-14 18:08:32,944 - DEBUG - VM ctest-TestBasicPolicy-15977505-07012201 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-14 18:08:37,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-14 18:08:37,945 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15977505-07012201, IP 29.81.204.67, Port 22 2026-09-14 18:08:38,118 - DEBUG - VM ctest-TestBasicPolicy-15977505-07012201 is ready for SSH connections 2026-09-14 18:08:38,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-14 18:08:38,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.81.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-14 18:08:38,119 - DEBUG - ping -s 56 -c 3 -W 1 29.81.204.67 2026-09-14 18:08:42,318 - DEBUG - PING 29.81.204.67 (29.81.204.67): 56 data bytes 64 bytes from 29.81.204.67: seq=0 ttl=63 time=4.690 ms 64 bytes from 29.81.204.67: seq=1 ttl=63 time=1.566 ms 64 bytes from 29.81.204.67: seq=2 ttl=63 time=1.368 ms --- 29.81.204.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.368/2.541/4.690 ms 2026-09-14 18:08:42,318 - INFO - Ping to IP 29.81.204.67 from VM ctest-TestBasicPolicy-15977505-53914762 passed 2026-09-14 18:08:42,516 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a4fdd47b-9761-4512-9b78-dbe793e30096", "href": "http://10.0.0.50:8082/network-policy/a4fdd47b-9761-4512-9b78-dbe793e30096"}} 2026-09-14 18:08:42,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-14 18:08:42,516 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.81.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-14 18:08:42,516 - DEBUG - ping -s 56 -c 3 -W 1 29.81.204.67 2026-09-14 18:08:45,668 - DEBUG - PING 29.81.204.67 (29.81.204.67): 56 data bytes 64 bytes from 29.81.204.67: seq=0 ttl=63 time=2.094 ms --- 29.81.204.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.094/2.094/2.094 ms 2026-09-14 18:08:45,669 - WARNING - Ping to IP 29.81.204.67 from VM ctest-TestBasicPolicy-15977505-53914762 failed 2026-09-14 18:08:45,669 - INFO - Deleting VM ctest-TestBasicPolicy-15977505-07012201 2026-09-14 18:08:45,765 - INFO - Deleting VM ctest-TestBasicPolicy-15977505-53914762 2026-09-14 18:08:46,220 - INFO - Deleted policy ctest-policy-allow-all-75156162 2026-09-14 18:08:46,220 - INFO - Deleting VN ctest-vn-79228352 2026-09-14 18:08:46,260 - DEBUG - VN 58a2bc7c-17e2-4326-b17d-d1120bd11718 still in use: Unable to complete operation on network 58a2bc7c-17e2-4326-b17d-d1120bd11718. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-78c0a5a1-bb05-4333-bbb0-ecf4904467bd'] 2026-09-14 18:08:46,261 - WARNING - Deleting VN ctest-vn-79228352 failed..Will retry 2026-09-14 18:08:48,408 - DEBUG - Response for deleting network () 2026-09-14 18:08:48,408 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a 2026-09-14 18:08:48,417 - DEBUG - Response Code: 404 2026-09-14 18:08:48,417 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-14 18:08:48,424 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d 2026-09-14 18:08:48,484 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147 2026-09-14 18:08:48,568 - INFO - Validated that VN ctest-vn-79228352 is not found in API Server 2026-09-14 18:08:48,582 - DEBUG - VN ctest-vn-79228352 is not present in Agent 10.0.0.50 2026-09-14 18:08:48,582 - INFO - Validated that VN ctest-vn-79228352 is not in any agent 2026-09-14 18:08:48,603 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79228352 info 2026-09-14 18:08:48,603 - INFO - Deleting VN ctest-vn-12389740 2026-09-14 18:08:48,749 - DEBUG - Response for deleting network () 2026-09-14 18:08:48,750 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7 2026-09-14 18:08:48,758 - DEBUG - Response Code: 404 2026-09-14 18:08:48,758 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-14 18:08:48,764 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d 2026-09-14 18:08:48,818 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147 2026-09-14 18:08:48,898 - INFO - Validated that VN ctest-vn-12389740 is not found in API Server 2026-09-14 18:08:48,910 - DEBUG - VN ctest-vn-12389740 is not present in Agent 10.0.0.50 2026-09-14 18:08:48,910 - INFO - Validated that VN ctest-vn-12389740 is not in any agent 2026-09-14 18:08:48,932 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12389740 info 2026-09-14 18:08:49,202 - DEBUG - No XMPP flaps were noticed during the test
2026-09-14 18:08:49,202 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-09-14 18:08:49,202 - INFO - -------------------------------------------------------------------------------- 2026-09-14 18:08:49,969 - INFO - Deleted project: ctest-TestBasicPolicy-15977505, ID : 218a31c8-2f48-4a3f-bf7e-d53dcfad1147