2026-08-20 16:28:53,614 - INFO - Domain Default found not creating 2026-08-20 16:28:53,778 - INFO - Project ctest-TestBasicPolicy-75220511 not found, creating it 2026-08-20 16:28:54,266 - INFO - Created Project:ctest-TestBasicPolicy-75220511, ID : 424547c8-8ee3-4967-a783-c58f83b18c7c 2026-08-20 16:28:56,056 - INFO - ================================================================================ 2026-08-20 16:28:56,056 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-20 16:28:56,057 - 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-08-20 16:28:56,328 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-08-20 16:28:56,328 - INFO - Initial checks done. Running the testcase now 2026-08-20 16:28:56,330 - INFO - 2026-08-20 16:28:57,019 - DEBUG - Response for create_network : {'network': {'id': '30a48e3a-f21e-4d51-b151-b3185170869e', 'name': 'ctest-vn-22779262', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'project_id': '424547c88ee34967a783c58f83b18c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-vn-22779262'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 16:28:57,228 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b20cf93a-b94c-401f-a1ef-29cf51e47680', 'name': '', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'network_id': '30a48e3a-f21e-4d51-b151-b3185170869e', 'ip_version': 4, 'cidr': '73.91.141.128/26', 'allocation_pools': [{'start': '73.91.141.130', 'end': '73.91.141.190'}], 'gateway_ip': '73.91.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.91.141.130', 'tags': [], 'project_id': '424547c88ee34967a783c58f83b18c7c'}} 2026-08-20 16:28:57,249 - INFO - Created VN ctest-vn-22779262 2026-08-20 16:28:57,303 - DEBUG - VN ctest-vn-22779262 UUID is 30a48e3a-f21e-4d51-b151-b3185170869e 2026-08-20 16:28:57,617 - DEBUG - Response for create_network : {'network': {'id': 'dd872794-5b0d-4d15-9f7a-6ab909ecc803', 'name': 'ctest-vn-90997524', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'project_id': '424547c88ee34967a783c58f83b18c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-vn-90997524'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 16:28:57,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '6033893e-f5c6-43c2-aa6f-5a1231a7e304', 'name': '', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'network_id': 'dd872794-5b0d-4d15-9f7a-6ab909ecc803', 'ip_version': 4, 'cidr': '146.248.220.128/26', 'allocation_pools': [{'start': '146.248.220.130', 'end': '146.248.220.190'}], 'gateway_ip': '146.248.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.248.220.130', 'tags': [], 'project_id': '424547c88ee34967a783c58f83b18c7c'}} 2026-08-20 16:28:57,857 - INFO - Created VN ctest-vn-90997524 2026-08-20 16:28:57,911 - DEBUG - VN ctest-vn-90997524 UUID is dd872794-5b0d-4d15-9f7a-6ab909ecc803 2026-08-20 16:28:58,036 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262, 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-75220511:ctest-vn-90997524, 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-08-20 16:28:58,372 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30a48e3a-f21e-4d51-b151-b3185170869e', 'name': 'ctest-vn-22779262', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'project_id': '424547c88ee34967a783c58f83b18c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b20cf93a-b94c-401f-a1ef-29cf51e47680'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-vn-22779262'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-policy-allow-all-96428719']], 'subnet_ipam': [{'subnet_cidr': '73.91.141.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 16:28:58,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dd872794-5b0d-4d15-9f7a-6ab909ecc803', 'name': 'ctest-vn-90997524', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'project_id': '424547c88ee34967a783c58f83b18c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6033893e-f5c6-43c2-aa6f-5a1231a7e304'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-vn-90997524'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-policy-allow-all-96428719']], 'subnet_ipam': [{'subnet_cidr': '146.248.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 16:28:58,835 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 16:28:59,217 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 16:28:59,256 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281 2026-08-20 16:28:59,270 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c 2026-08-20 16:28:59,358 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e 2026-08-20 16:28:59,376 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e 2026-08-20 16:28:59,389 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31 2026-08-20 16:28:59,399 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31 2026-08-20 16:28:59,410 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/109cd5f1-6ba7-46d5-8c4b-a5acc355249d 2026-08-20 16:28:59,422 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 16:28:59,422 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e 2026-08-20 16:28:59,437 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31 2026-08-20 16:28:59,460 - INFO - Verified VN network id 11 for VN 30a48e3a-f21e-4d51-b151-b3185170869e 2026-08-20 16:28:59,460 - INFO - Verifications in API Server for VN ctest-vn-22779262 passed 2026-08-20 16:28:59,460 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e 2026-08-20 16:28:59,472 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31 2026-08-20 16:28:59,481 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31 2026-08-20 16:28:59,490 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/109cd5f1-6ba7-46d5-8c4b-a5acc355249d 2026-08-20 16:28:59,508 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75220511', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3505082793822408017', 'uuid-lslong': '12777190534853723806'}, 'enable': 'true', 'created': '2026-08-20T16:28:56', 'last-modified': '2026-08-20T16:28:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.160260'} 2026-08-20 16:28:59,520 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 16:28:59,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22779262 passed 2026-08-20 16:28:59,520 - DEBUG - ====Verifying policy data for ctest-vn-22779262 in API_Server ====== 2026-08-20 16:28:59,520 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 16:28:59,529 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281 2026-08-20 16:28:59,542 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c 2026-08-20 16:28:59,625 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e 2026-08-20 16:28:59,642 - DEBUG - ==>Verifying data for policy with id: 05e2893b-8b7a-4d28-a521-14561889dad2, fqn: ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-policy-allow-all-96428719'] 2026-08-20 16:28:59,642 - INFO - VN ctest-vn-22779262 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 16:28:59,642 - DEBUG - Verifying the vn in opserver 2026-08-20 16:28:59,642 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262 virtual network link through opserver 10.0.0.50 2026-08-20 16:28:59,643 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-20 16:29:00,028 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-20 16:29:00,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262?flat'} 2026-08-20 16:29:00,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262 is found in opserver 2026-08-20 16:29:00,099 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 16:29:00,104 - DEBUG - VRF ids for VN ctest-vn-22779262: {} 2026-08-20 16:29:00,105 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 16:29:00,111 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281 2026-08-20 16:29:00,125 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c 2026-08-20 16:29:00,215 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803 2026-08-20 16:29:00,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803 2026-08-20 16:29:00,243 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac 2026-08-20 16:29:00,253 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac 2026-08-20 16:29:00,264 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9666b789-8f6c-4fc6-9cd8-a9e301ee0e84 2026-08-20 16:29:00,271 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 16:29:00,271 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803 2026-08-20 16:29:00,282 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac 2026-08-20 16:29:00,303 - INFO - Verified VN network id 12 for VN dd872794-5b0d-4d15-9f7a-6ab909ecc803 2026-08-20 16:29:00,303 - INFO - Verifications in API Server for VN ctest-vn-90997524 passed 2026-08-20 16:29:00,303 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803 2026-08-20 16:29:00,315 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac 2026-08-20 16:29:00,326 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac 2026-08-20 16:29:00,335 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9666b789-8f6c-4fc6-9cd8-a9e301ee0e84 2026-08-20 16:29:00,351 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75220511', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15962770922374253845', 'uuid-lslong': '11491614742157248515'}, 'enable': 'true', 'created': '2026-08-20T16:28:57', 'last-modified': '2026-08-20T16:28:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.725200'} 2026-08-20 16:29:00,362 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 16:29:00,362 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90997524 passed 2026-08-20 16:29:00,362 - DEBUG - ====Verifying policy data for ctest-vn-90997524 in API_Server ====== 2026-08-20 16:29:00,362 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 16:29:00,369 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281 2026-08-20 16:29:00,382 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c 2026-08-20 16:29:00,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803 2026-08-20 16:29:00,481 - DEBUG - ==>Verifying data for policy with id: 05e2893b-8b7a-4d28-a521-14561889dad2, fqn: ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-policy-allow-all-96428719'] 2026-08-20 16:29:00,481 - INFO - VN ctest-vn-90997524 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 16:29:00,481 - DEBUG - Verifying the vn in opserver 2026-08-20 16:29:00,481 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524 virtual network link through opserver 10.0.0.50 2026-08-20 16:29:00,481 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-20 16:29:00,492 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524?flat'} 2026-08-20 16:29:00,492 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524 is found in opserver 2026-08-20 16:29:00,503 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 16:29:00,508 - DEBUG - VRF ids for VN ctest-vn-90997524: {} 2026-08-20 16:29:00,574 - DEBUG - Services list from nova: [, , ] 2026-08-20 16:29:01,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6192-1) 2026-08-20 16:29:01,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6192-1) 2026-08-20 16:29:01,484 - INFO - Waiting for VM ctest-TestBasicPolicy-75220511-93728019 to be up.. 2026-08-20 16:29:01,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:29:06,616 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:29:11,701 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:29:16,795 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:29:21,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:29:26,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:29:32,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:29:37,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:29:42,259 - DEBUG - VM is in ACTIVE state now 2026-08-20 16:29:42,259 - INFO - VM name : ctest-TestBasicPolicy-75220511-93728019 2026-08-20 16:29:42,357 - DEBUG - VM ctest-TestBasicPolicy-75220511-93728019 ID is ff7837eb-6687-4053-a671-2db1ddb72600 2026-08-20 16:29:42,387 - DEBUG - VM ctest-TestBasicPolicy-75220511-93728019 launched on Node cn-jenkins-deploy-platform-ansible-os-6192-1 2026-08-20 16:29:42,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ff7837eb-6687-4053-a671-2db1ddb72600 2026-08-20 16:29:42,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8797a400-a465-4957-a92b-5d05a83fd285 2026-08-20 16:29:45,744 - 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 1001ms') 2026-08-20 16:29:45,745 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75220511-93728019 failed! 2026-08-20 16:29:45,803 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262 is 73.91.141.129 and allocation pool is NOT set 2026-08-20 16:29:47,862 - 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.90 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 1001ms\r\nrtt min/avg/max/mdev = 0.803/2.352/3.901/1.549 ms') 2026-08-20 16:29:47,862 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75220511-93728019 passed 2026-08-20 16:29:48,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 16:29:48,015 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75220511-93728019, IP 73.91.141.131, Port 22 2026-08-20 16:29:48,186 - DEBUG - VM ctest-TestBasicPolicy-75220511-93728019 is ready for SSH connections 2026-08-20 16:29:48,186 - INFO - Waiting for VM ctest-TestBasicPolicy-75220511-18704438 to be up.. 2026-08-20 16:29:48,278 - DEBUG - VM is in ACTIVE state now 2026-08-20 16:29:48,279 - INFO - VM name : ctest-TestBasicPolicy-75220511-18704438 2026-08-20 16:29:48,369 - DEBUG - VM ctest-TestBasicPolicy-75220511-18704438 ID is d1af02f9-35e5-480c-b711-1530ad95a07c 2026-08-20 16:29:48,369 - DEBUG - VM ctest-TestBasicPolicy-75220511-18704438 launched on Node cn-jenkins-deploy-platform-ansible-os-6192-1 2026-08-20 16:29:48,460 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d1af02f9-35e5-480c-b711-1530ad95a07c 2026-08-20 16:29:48,471 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4bb09845-fc69-41ab-8fa0-1a58f90fdfed 2026-08-20 16:29:51,733 - 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=2 ttl=63 time=7.77 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 7.767/7.767/7.767/0.000 ms') 2026-08-20 16:29:51,734 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75220511-18704438 passed 2026-08-20 16:29:51,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 16:29:51,891 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75220511-18704438, IP 146.248.220.131, Port 22 2026-08-20 16:29:51,958 - 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-08-20 16:29:52,043 - DEBUG - VM ctest-TestBasicPolicy-75220511-18704438 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-20 16:29:57,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 16:29:57,044 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75220511-18704438, IP 146.248.220.131, Port 22 2026-08-20 16:29:57,209 - DEBUG - VM ctest-TestBasicPolicy-75220511-18704438 is ready for SSH connections 2026-08-20 16:29:57,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 16:29:57,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.248.220.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-20 16:29:57,209 - DEBUG - ping -s 56 -c 3 -W 1 146.248.220.131 2026-08-20 16:30:01,216 - DEBUG - PING 146.248.220.131 (146.248.220.131): 56 data bytes 64 bytes from 146.248.220.131: seq=0 ttl=63 time=4.410 ms 64 bytes from 146.248.220.131: seq=1 ttl=63 time=1.109 ms 64 bytes from 146.248.220.131: seq=2 ttl=63 time=1.323 ms --- 146.248.220.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.109/2.280/4.410 ms 2026-08-20 16:30:01,216 - INFO - Ping to IP 146.248.220.131 from VM ctest-TestBasicPolicy-75220511-93728019 passed 2026-08-20 16:30:01,411 - DEBUG - Policy Update Response {"network-policy": {"uuid": "05e2893b-8b7a-4d28-a521-14561889dad2", "href": "http://10.0.0.50:8082/network-policy/05e2893b-8b7a-4d28-a521-14561889dad2"}} 2026-08-20 16:30:01,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 16:30:01,411 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.248.220.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-20 16:30:01,411 - DEBUG - ping -s 56 -c 3 -W 1 146.248.220.131 2026-08-20 16:30:04,555 - DEBUG - PING 146.248.220.131 (146.248.220.131): 56 data bytes 64 bytes from 146.248.220.131: seq=0 ttl=63 time=1.579 ms --- 146.248.220.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.579/1.579/1.579 ms 2026-08-20 16:30:04,555 - WARNING - Ping to IP 146.248.220.131 from VM ctest-TestBasicPolicy-75220511-93728019 failed 2026-08-20 16:30:04,556 - INFO - Deleting VM ctest-TestBasicPolicy-75220511-18704438 2026-08-20 16:30:04,639 - INFO - Deleting VM ctest-TestBasicPolicy-75220511-93728019 2026-08-20 16:30:05,051 - INFO - Deleted policy ctest-policy-allow-all-96428719 2026-08-20 16:30:05,052 - INFO - Deleting VN ctest-vn-90997524 2026-08-20 16:30:05,087 - DEBUG - VN dd872794-5b0d-4d15-9f7a-6ab909ecc803 still in use: Unable to complete operation on network dd872794-5b0d-4d15-9f7a-6ab909ecc803. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c4325b8-1c0a-46ad-be6f-f20b3d125689'] 2026-08-20 16:30:05,087 - WARNING - Deleting VN ctest-vn-90997524 failed..Will retry 2026-08-20 16:30:07,231 - DEBUG - Response for deleting network () 2026-08-20 16:30:07,231 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac 2026-08-20 16:30:07,237 - DEBUG - Response Code: 404 2026-08-20 16:30:07,238 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 16:30:07,253 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281 2026-08-20 16:30:07,310 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c 2026-08-20 16:30:07,393 - INFO - Validated that VN ctest-vn-90997524 is not found in API Server 2026-08-20 16:30:07,414 - DEBUG - VN ctest-vn-90997524 is not present in Agent 10.0.0.50 2026-08-20 16:30:07,414 - INFO - Validated that VN ctest-vn-90997524 is not in any agent 2026-08-20 16:30:07,443 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90997524 info 2026-08-20 16:30:07,443 - INFO - Deleting VN ctest-vn-22779262 2026-08-20 16:30:07,575 - DEBUG - Response for deleting network () 2026-08-20 16:30:07,576 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31 2026-08-20 16:30:07,592 - DEBUG - Response Code: 404 2026-08-20 16:30:07,593 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-20 16:30:07,601 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281 2026-08-20 16:30:07,657 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c 2026-08-20 16:30:07,733 - INFO - Validated that VN ctest-vn-22779262 is not found in API Server 2026-08-20 16:30:07,743 - DEBUG - VN ctest-vn-22779262 is not present in Agent 10.0.0.50 2026-08-20 16:30:07,743 - INFO - Validated that VN ctest-vn-22779262 is not in any agent 2026-08-20 16:30:07,760 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22779262 info 2026-08-20 16:30:08,029 - DEBUG - No XMPP flaps were noticed during the test 2026-08-20 16:30:08,029 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-08-20 16:30:08,029 - INFO - -------------------------------------------------------------------------------- 2026-08-20 16:30:08,880 - INFO - Deleted project: ctest-TestBasicPolicy-75220511, ID : 424547c8-8ee3-4967-a783-c58f83b18c7c