2026-02-09 23:06:52,942 - INFO - Domain Default found not creating 2026-02-09 23:06:53,123 - INFO - Project ctest-TestBasicPolicy-09489411 not found, creating it 2026-02-09 23:06:53,590 - INFO - Created Project:ctest-TestBasicPolicy-09489411, ID : 2dee502a-6ad5-4db3-80b7-69c104edc8a7 2026-02-09 23:06:55,344 - INFO - ================================================================================ 2026-02-09 23:06:55,344 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 23:06:55,344 - 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-02-09 23:06:55,602 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.17': '0'}} with 2026-02-09 23:06:55,602 - INFO - Initial checks done. Running the testcase now 2026-02-09 23:06:55,602 - INFO - 2026-02-09 23:06:56,214 - DEBUG - Response for create_network : {'network': {'id': '3be8957c-a792-4dee-aa95-d29065819023', 'name': 'ctest-vn-26171805', 'tenant_id': '2dee502a6ad54db380b769c104edc8a7', 'project_id': '2dee502a6ad54db380b769c104edc8a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09489411', 'ctest-vn-26171805'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 23:06:56,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '229b0888-a5b7-414c-81af-5b1240656bc5', 'name': '', 'tenant_id': '2dee502a6ad54db380b769c104edc8a7', 'network_id': '3be8957c-a792-4dee-aa95-d29065819023', 'ip_version': 4, 'cidr': '159.120.138.128/26', 'allocation_pools': [{'start': '159.120.138.130', 'end': '159.120.138.190'}], 'gateway_ip': '159.120.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.120.138.130', 'tags': [], 'project_id': '2dee502a6ad54db380b769c104edc8a7'}} 2026-02-09 23:06:56,443 - INFO - Created VN ctest-vn-26171805 2026-02-09 23:06:56,496 - DEBUG - VN ctest-vn-26171805 UUID is 3be8957c-a792-4dee-aa95-d29065819023 2026-02-09 23:06:56,808 - DEBUG - Response for create_network : {'network': {'id': 'd93df8cf-490d-4cbd-bd23-af20ecad667a', 'name': 'ctest-vn-33895305', 'tenant_id': '2dee502a6ad54db380b769c104edc8a7', 'project_id': '2dee502a6ad54db380b769c104edc8a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09489411', 'ctest-vn-33895305'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 23:06:56,986 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd40f29e-40f2-4500-80d2-b51698c1622e', 'name': '', 'tenant_id': '2dee502a6ad54db380b769c104edc8a7', 'network_id': 'd93df8cf-490d-4cbd-bd23-af20ecad667a', 'ip_version': 4, 'cidr': '213.123.28.0/26', 'allocation_pools': [{'start': '213.123.28.2', 'end': '213.123.28.62'}], 'gateway_ip': '213.123.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.123.28.2', 'tags': [], 'project_id': '2dee502a6ad54db380b769c104edc8a7'}} 2026-02-09 23:06:57,008 - INFO - Created VN ctest-vn-33895305 2026-02-09 23:06:57,068 - DEBUG - VN ctest-vn-33895305 UUID is d93df8cf-490d-4cbd-bd23-af20ecad667a 2026-02-09 23:06:57,182 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-26171805, 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-09489411:ctest-vn-33895305, 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-02-09 23:06:57,533 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3be8957c-a792-4dee-aa95-d29065819023', 'name': 'ctest-vn-26171805', 'tenant_id': '2dee502a6ad54db380b769c104edc8a7', 'project_id': '2dee502a6ad54db380b769c104edc8a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['229b0888-a5b7-414c-81af-5b1240656bc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09489411', 'ctest-vn-26171805'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09489411', 'ctest-policy-allow-all-23218994']], 'subnet_ipam': [{'subnet_cidr': '159.120.138.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 23:06:57,757 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd93df8cf-490d-4cbd-bd23-af20ecad667a', 'name': 'ctest-vn-33895305', 'tenant_id': '2dee502a6ad54db380b769c104edc8a7', 'project_id': '2dee502a6ad54db380b769c104edc8a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd40f29e-40f2-4500-80d2-b51698c1622e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09489411', 'ctest-vn-33895305'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09489411', 'ctest-policy-allow-all-23218994']], 'subnet_ipam': [{'subnet_cidr': '213.123.28.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 23:06:57,952 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2026-02-09 23:06:58,298 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2026-02-09 23:06:58,332 - DEBUG - Requesting: http://10.0.0.40:8082/domain/71b280c5-2fb5-49fe-8d3c-63acfdcc2871 2026-02-09 23:06:58,345 - DEBUG - Requesting: http://10.0.0.40:8082/project/2dee502a-6ad5-4db3-80b7-69c104edc8a7 2026-02-09 23:06:58,426 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/3be8957c-a792-4dee-aa95-d29065819023 2026-02-09 23:06:58,438 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/3be8957c-a792-4dee-aa95-d29065819023 2026-02-09 23:06:58,448 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/df636c8e-198a-4c7a-bca1-9f80d29ca1a8 2026-02-09 23:06:58,456 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/df636c8e-198a-4c7a-bca1-9f80d29ca1a8 2026-02-09 23:06:58,463 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/a8bf3b81-0870-49dc-8401-16006467f952 2026-02-09 23:06:58,469 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 23:06:58,470 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/3be8957c-a792-4dee-aa95-d29065819023 2026-02-09 23:06:58,478 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/df636c8e-198a-4c7a-bca1-9f80d29ca1a8 2026-02-09 23:06:58,494 - INFO - Verified VN network id 11 for VN 3be8957c-a792-4dee-aa95-d29065819023 2026-02-09 23:06:58,494 - INFO - Verifications in API Server for VN ctest-vn-26171805 passed 2026-02-09 23:06:58,494 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/3be8957c-a792-4dee-aa95-d29065819023 2026-02-09 23:06:58,505 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/df636c8e-198a-4c7a-bca1-9f80d29ca1a8 2026-02-09 23:06:58,512 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/df636c8e-198a-4c7a-bca1-9f80d29ca1a8 2026-02-09 23:06:58,521 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/a8bf3b81-0870-49dc-8401-16006467f952 2026-02-09 23:06:58,534 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-26171805', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09489411', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4316864605454487022', 'uuid-lslong': '12291962275597750307'}, 'enable': 'true', 'created': '2026-02-09T23:06:56', 'last-modified': '2026-02-09T23:06:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047052'} 2026-02-09 23:06:58,540 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 23:06:58,540 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26171805 passed 2026-02-09 23:06:58,540 - DEBUG - ====Verifying policy data for ctest-vn-26171805 in API_Server ====== 2026-02-09 23:06:58,540 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2026-02-09 23:06:58,546 - DEBUG - Requesting: http://10.0.0.40:8082/domain/71b280c5-2fb5-49fe-8d3c-63acfdcc2871 2026-02-09 23:06:58,557 - DEBUG - Requesting: http://10.0.0.40:8082/project/2dee502a-6ad5-4db3-80b7-69c104edc8a7 2026-02-09 23:06:58,633 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/3be8957c-a792-4dee-aa95-d29065819023 2026-02-09 23:06:58,643 - DEBUG - ==>Verifying data for policy with id: 61fb0bae-b9d5-48c1-989d-19e03342e13d, fqn: ['default-domain', 'ctest-TestBasicPolicy-09489411', 'ctest-policy-allow-all-23218994'] 2026-02-09 23:06:58,643 - INFO - VN ctest-vn-26171805 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 23:06:58,643 - DEBUG - Verifying the vn in opserver 2026-02-09 23:06:58,643 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-26171805 virtual network link through opserver 10.0.0.40 2026-02-09 23:06:58,643 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2026-02-09 23:06:58,978 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2026-02-09 23:06:59,044 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-26171805', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-26171805?flat'} 2026-02-09 23:06:59,044 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-26171805 is found in opserver 2026-02-09 23:06:59,054 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 23:06:59,060 - DEBUG - VRF ids for VN ctest-vn-26171805: {} 2026-02-09 23:06:59,060 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2026-02-09 23:06:59,066 - DEBUG - Requesting: http://10.0.0.40:8082/domain/71b280c5-2fb5-49fe-8d3c-63acfdcc2871 2026-02-09 23:06:59,080 - DEBUG - Requesting: http://10.0.0.40:8082/project/2dee502a-6ad5-4db3-80b7-69c104edc8a7 2026-02-09 23:06:59,160 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/d93df8cf-490d-4cbd-bd23-af20ecad667a 2026-02-09 23:06:59,171 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/d93df8cf-490d-4cbd-bd23-af20ecad667a 2026-02-09 23:06:59,181 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/3cec04f9-8bdd-43c6-944a-75f4bf8a9504 2026-02-09 23:06:59,188 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/3cec04f9-8bdd-43c6-944a-75f4bf8a9504 2026-02-09 23:06:59,195 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/b737e675-6087-4f3c-8dcb-363dfe1b8c83 2026-02-09 23:06:59,202 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-09 23:06:59,202 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/d93df8cf-490d-4cbd-bd23-af20ecad667a 2026-02-09 23:06:59,212 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/3cec04f9-8bdd-43c6-944a-75f4bf8a9504 2026-02-09 23:06:59,226 - INFO - Verified VN network id 13 for VN d93df8cf-490d-4cbd-bd23-af20ecad667a 2026-02-09 23:06:59,226 - INFO - Verifications in API Server for VN ctest-vn-33895305 passed 2026-02-09 23:06:59,226 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/d93df8cf-490d-4cbd-bd23-af20ecad667a 2026-02-09 23:06:59,235 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/3cec04f9-8bdd-43c6-944a-75f4bf8a9504 2026-02-09 23:06:59,242 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/3cec04f9-8bdd-43c6-944a-75f4bf8a9504 2026-02-09 23:06:59,249 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/b737e675-6087-4f3c-8dcb-363dfe1b8c83 2026-02-09 23:06:59,260 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-33895305', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09489411', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15653941448977239229', 'uuid-lslong': '13628929453297854074'}, 'enable': 'true', 'created': '2026-02-09T23:06:56', 'last-modified': '2026-02-09T23:06:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.525056'} 2026-02-09 23:06:59,265 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-09 23:06:59,265 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33895305 passed 2026-02-09 23:06:59,266 - DEBUG - ====Verifying policy data for ctest-vn-33895305 in API_Server ====== 2026-02-09 23:06:59,266 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2026-02-09 23:06:59,271 - DEBUG - Requesting: http://10.0.0.40:8082/domain/71b280c5-2fb5-49fe-8d3c-63acfdcc2871 2026-02-09 23:06:59,282 - DEBUG - Requesting: http://10.0.0.40:8082/project/2dee502a-6ad5-4db3-80b7-69c104edc8a7 2026-02-09 23:06:59,361 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/d93df8cf-490d-4cbd-bd23-af20ecad667a 2026-02-09 23:06:59,370 - DEBUG - ==>Verifying data for policy with id: 61fb0bae-b9d5-48c1-989d-19e03342e13d, fqn: ['default-domain', 'ctest-TestBasicPolicy-09489411', 'ctest-policy-allow-all-23218994'] 2026-02-09 23:06:59,370 - INFO - VN ctest-vn-33895305 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 23:06:59,370 - DEBUG - Verifying the vn in opserver 2026-02-09 23:06:59,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-33895305 virtual network link through opserver 10.0.0.40 2026-02-09 23:06:59,370 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2026-02-09 23:06:59,381 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-33895305', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-33895305?flat'} 2026-02-09 23:06:59,381 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-33895305 is found in opserver 2026-02-09 23:06:59,392 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 23:06:59,397 - DEBUG - VRF ids for VN ctest-vn-33895305: {} 2026-02-09 23:06:59,458 - DEBUG - Services list from nova: [, , ] 2026-02-09 23:07:00,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5252-1) 2026-02-09 23:07:02,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5252-1) 2026-02-09 23:07:02,032 - INFO - Waiting for VM ctest-TestBasicPolicy-09489411-17691218 to be up.. 2026-02-09 23:07:02,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 23:07:07,219 - DEBUG - VM is in ACTIVE state now 2026-02-09 23:07:07,219 - INFO - VM name : ctest-TestBasicPolicy-09489411-17691218 2026-02-09 23:07:07,297 - DEBUG - VM ctest-TestBasicPolicy-09489411-17691218 ID is ccdc1e92-2269-4f9e-aef8-8294ba7cbdff 2026-02-09 23:07:07,317 - DEBUG - VM ctest-TestBasicPolicy-09489411-17691218 launched on Node cn-jenkins-deploy-platform-ansible-os-5252-1 2026-02-09 23:07:07,397 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/ccdc1e92-2269-4f9e-aef8-8294ba7cbdff 2026-02-09 23:07:07,406 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/ad5d167e-fe18-4181-96d1-fec53ad05986 2026-02-09 23:07:10,640 - 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 1002ms') 2026-02-09 23:07:10,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09489411-17691218 failed! 2026-02-09 23:07:10,696 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09489411:ctest-vn-26171805 is 159.120.138.129 and allocation pool is NOT set 2026-02-09 23:07:12,760 - 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=7.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.270 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 = 0.270/3.852/7.434/3.582 ms') 2026-02-09 23:07:12,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09489411-17691218 passed 2026-02-09 23:07:12,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 23:07:12,908 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09489411-17691218, IP 159.120.138.131, Port 22 2026-02-09 23:07:13,067 - DEBUG - VM ctest-TestBasicPolicy-09489411-17691218 is ready for SSH connections 2026-02-09 23:07:13,067 - INFO - Waiting for VM ctest-TestBasicPolicy-09489411-98174263 to be up.. 2026-02-09 23:07:13,145 - DEBUG - VM is in ACTIVE state now 2026-02-09 23:07:13,145 - INFO - VM name : ctest-TestBasicPolicy-09489411-98174263 2026-02-09 23:07:13,235 - DEBUG - VM ctest-TestBasicPolicy-09489411-98174263 ID is e499d7b7-3e44-47e1-b6c7-b4919db18b19 2026-02-09 23:07:13,235 - DEBUG - VM ctest-TestBasicPolicy-09489411-98174263 launched on Node cn-jenkins-deploy-platform-ansible-os-5252-1 2026-02-09 23:07:13,324 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/e499d7b7-3e44-47e1-b6c7-b4919db18b19 2026-02-09 23:07:13,334 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/9341ce13-3f3c-4068-8933-51d9405995ea 2026-02-09 23:07:14,577 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.45 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 = 2.447/3.292/4.137/0.845 ms') 2026-02-09 23:07:14,578 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09489411-98174263 passed 2026-02-09 23:07:14,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 23:07:14,732 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09489411-98174263, IP 213.123.28.3, Port 22 2026-02-09 23:07:14,889 - DEBUG - VM ctest-TestBasicPolicy-09489411-98174263 is ready for SSH connections 2026-02-09 23:07:14,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 23:07:14,889 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.123.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2026-02-09 23:07:14,889 - DEBUG - ping -s 56 -c 3 -W 1 213.123.28.3 2026-02-09 23:07:19,009 - DEBUG - PING 213.123.28.3 (213.123.28.3): 56 data bytes 64 bytes from 213.123.28.3: seq=0 ttl=63 time=4.310 ms 64 bytes from 213.123.28.3: seq=1 ttl=63 time=0.928 ms 64 bytes from 213.123.28.3: seq=2 ttl=63 time=0.880 ms --- 213.123.28.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/2.039/4.310 ms 2026-02-09 23:07:19,009 - INFO - Ping to IP 213.123.28.3 from VM ctest-TestBasicPolicy-09489411-17691218 passed 2026-02-09 23:07:19,188 - DEBUG - Policy Update Response {"network-policy": {"uuid": "61fb0bae-b9d5-48c1-989d-19e03342e13d", "href": "http://10.0.0.40:8082/network-policy/61fb0bae-b9d5-48c1-989d-19e03342e13d"}} 2026-02-09 23:07:19,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 23:07:19,188 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.123.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2026-02-09 23:07:19,188 - DEBUG - ping -s 56 -c 3 -W 1 213.123.28.3 2026-02-09 23:07:22,417 - DEBUG - PING 213.123.28.3 (213.123.28.3): 56 data bytes --- 213.123.28.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 23:07:22,418 - WARNING - Ping to IP 213.123.28.3 from VM ctest-TestBasicPolicy-09489411-17691218 failed 2026-02-09 23:07:22,418 - INFO - Deleting VM ctest-TestBasicPolicy-09489411-98174263 2026-02-09 23:07:22,489 - INFO - Deleting VM ctest-TestBasicPolicy-09489411-17691218 2026-02-09 23:07:22,904 - INFO - Deleted policy ctest-policy-allow-all-23218994 2026-02-09 23:07:22,904 - INFO - Deleting VN ctest-vn-33895305 2026-02-09 23:07:22,947 - DEBUG - VN d93df8cf-490d-4cbd-bd23-af20ecad667a still in use: Unable to complete operation on network d93df8cf-490d-4cbd-bd23-af20ecad667a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ffcc3b97-39a3-4e46-8aea-edf5b92fb765'] 2026-02-09 23:07:22,947 - WARNING - Deleting VN ctest-vn-33895305 failed..Will retry 2026-02-09 23:07:25,061 - DEBUG - Response for deleting network () 2026-02-09 23:07:25,061 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/3cec04f9-8bdd-43c6-944a-75f4bf8a9504 2026-02-09 23:07:25,075 - DEBUG - Response Code: 404 2026-02-09 23:07:25,075 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2026-02-09 23:07:25,080 - DEBUG - Requesting: http://10.0.0.40:8082/domain/71b280c5-2fb5-49fe-8d3c-63acfdcc2871 2026-02-09 23:07:25,137 - DEBUG - Requesting: http://10.0.0.40:8082/project/2dee502a-6ad5-4db3-80b7-69c104edc8a7 2026-02-09 23:07:25,206 - INFO - Validated that VN ctest-vn-33895305 is not found in API Server 2026-02-09 23:07:25,216 - DEBUG - VN ctest-vn-33895305 is not present in Agent 10.0.0.40 2026-02-09 23:07:25,216 - INFO - Validated that VN ctest-vn-33895305 is not in any agent 2026-02-09 23:07:25,229 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33895305 info 2026-02-09 23:07:25,230 - INFO - Deleting VN ctest-vn-26171805 2026-02-09 23:07:25,321 - DEBUG - Response for deleting network () 2026-02-09 23:07:25,321 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/df636c8e-198a-4c7a-bca1-9f80d29ca1a8 2026-02-09 23:07:25,330 - DEBUG - Response Code: 404 2026-02-09 23:07:25,330 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2026-02-09 23:07:25,336 - DEBUG - Requesting: http://10.0.0.40:8082/domain/71b280c5-2fb5-49fe-8d3c-63acfdcc2871 2026-02-09 23:07:25,389 - DEBUG - Requesting: http://10.0.0.40:8082/project/2dee502a-6ad5-4db3-80b7-69c104edc8a7 2026-02-09 23:07:25,463 - INFO - Validated that VN ctest-vn-26171805 is not found in API Server 2026-02-09 23:07:25,472 - DEBUG - VN ctest-vn-26171805 is not present in Agent 10.0.0.40 2026-02-09 23:07:25,473 - INFO - Validated that VN ctest-vn-26171805 is not in any agent 2026-02-09 23:07:25,487 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26171805 info 2026-02-09 23:07:25,742 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 23:07:25,742 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-02-09 23:07:25,742 - INFO - -------------------------------------------------------------------------------- 2026-02-09 23:07:26,472 - INFO - Deleted project: ctest-TestBasicPolicy-09489411, ID : 2dee502a-6ad5-4db3-80b7-69c104edc8a7