2026-09-02 06:10:16,573 - INFO - Domain Default found not creating 2026-09-02 06:10:16,762 - INFO - Project ctest-TestBasicPolicy-90300854 not found, creating it 2026-09-02 06:10:17,316 - INFO - Created Project:ctest-TestBasicPolicy-90300854, ID : 07b84a80-bfb5-481b-8119-f8a3485da082 2026-09-02 06:10:18,984 - INFO - ================================================================================ 2026-09-02 06:10:18,984 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-02 06:10:18,984 - 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-02 06:10:19,261 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with 2026-09-02 06:10:19,261 - INFO - Initial checks done. Running the testcase now 2026-09-02 06:10:19,261 - INFO - 2026-09-02 06:10:19,885 - DEBUG - Response for create_network : {'network': {'id': '87577810-c441-4acf-9765-4d7afa60cfbc', 'name': 'ctest-vn-79712130', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'project_id': '07b84a80bfb5481b8119f8a3485da082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-vn-79712130'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 06:10:20,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '65520d91-2b94-4e94-a1eb-eeeb708f5519', 'name': '', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'network_id': '87577810-c441-4acf-9765-4d7afa60cfbc', 'ip_version': 4, 'cidr': '192.108.88.192/26', 'allocation_pools': [{'start': '192.108.88.194', 'end': '192.108.88.254'}], 'gateway_ip': '192.108.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.108.88.194', 'tags': [], 'project_id': '07b84a80bfb5481b8119f8a3485da082'}} 2026-09-02 06:10:20,173 - INFO - Created VN ctest-vn-79712130 2026-09-02 06:10:20,231 - DEBUG - VN ctest-vn-79712130 UUID is 87577810-c441-4acf-9765-4d7afa60cfbc 2026-09-02 06:10:20,622 - DEBUG - Response for create_network : {'network': {'id': 'a0f0c634-f94e-4f00-b38d-d4556752c580', 'name': 'ctest-vn-92925985', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'project_id': '07b84a80bfb5481b8119f8a3485da082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-vn-92925985'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 06:10:20,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3cde340-1e7a-4b38-aa95-c0278b9dd483', 'name': '', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'network_id': 'a0f0c634-f94e-4f00-b38d-d4556752c580', 'ip_version': 4, 'cidr': '188.31.36.192/26', 'allocation_pools': [{'start': '188.31.36.194', 'end': '188.31.36.254'}], 'gateway_ip': '188.31.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.31.36.194', 'tags': [], 'project_id': '07b84a80bfb5481b8119f8a3485da082'}} 2026-09-02 06:10:20,869 - INFO - Created VN ctest-vn-92925985 2026-09-02 06:10:20,926 - DEBUG - VN ctest-vn-92925985 UUID is a0f0c634-f94e-4f00-b38d-d4556752c580 2026-09-02 06:10:21,041 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130, 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-90300854:ctest-vn-92925985, 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-02 06:10:21,383 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87577810-c441-4acf-9765-4d7afa60cfbc', 'name': 'ctest-vn-79712130', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'project_id': '07b84a80bfb5481b8119f8a3485da082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['65520d91-2b94-4e94-a1eb-eeeb708f5519'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-vn-79712130'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-policy-allow-all-64053987']], 'subnet_ipam': [{'subnet_cidr': '192.108.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 06:10:21,665 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0f0c634-f94e-4f00-b38d-d4556752c580', 'name': 'ctest-vn-92925985', 'tenant_id': '07b84a80bfb5481b8119f8a3485da082', 'project_id': '07b84a80bfb5481b8119f8a3485da082', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b3cde340-1e7a-4b38-aa95-c0278b9dd483'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-vn-92925985'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-policy-allow-all-64053987']], 'subnet_ipam': [{'subnet_cidr': '188.31.36.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 06:10:21,846 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-02 06:10:22,172 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-02 06:10:22,201 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c 2026-09-02 06:10:22,219 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082 2026-09-02 06:10:22,305 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc 2026-09-02 06:10:22,319 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc 2026-09-02 06:10:22,332 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd 2026-09-02 06:10:22,344 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd 2026-09-02 06:10:22,355 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/8d76c407-9478-49ac-af2c-8311c1190e50 2026-09-02 06:10:22,365 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 06:10:22,365 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc 2026-09-02 06:10:22,379 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd 2026-09-02 06:10:22,400 - INFO - Verified VN network id 12 for VN 87577810-c441-4acf-9765-4d7afa60cfbc 2026-09-02 06:10:22,401 - INFO - Verifications in API Server for VN ctest-vn-79712130 passed 2026-09-02 06:10:22,401 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc 2026-09-02 06:10:22,415 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd 2026-09-02 06:10:22,426 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd 2026-09-02 06:10:22,436 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/8d76c407-9478-49ac-af2c-8311c1190e50 2026-09-02 06:10:22,451 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90300854', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9752395531501521615', 'uuid-lslong': '10909210862956892092'}, 'enable': 'true', 'created': '2026-09-02T06:10:19', 'last-modified': '2026-09-02T06:10:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.105318'} 2026-09-02 06:10:22,460 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 06:10:22,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79712130 passed 2026-09-02 06:10:22,460 - DEBUG - ====Verifying policy data for ctest-vn-79712130 in API_Server ====== 2026-09-02 06:10:22,461 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-02 06:10:22,469 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c 2026-09-02 06:10:22,484 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082 2026-09-02 06:10:22,576 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/87577810-c441-4acf-9765-4d7afa60cfbc 2026-09-02 06:10:22,589 - DEBUG - ==>Verifying data for policy with id: c48eba7f-0c5c-4291-b80e-290db4db68d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-policy-allow-all-64053987'] 2026-09-02 06:10:22,589 - INFO - VN ctest-vn-79712130 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 06:10:22,589 - DEBUG - Verifying the vn in opserver 2026-09-02 06:10:22,589 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130 virtual network link through opserver 10.0.0.163 2026-09-02 06:10:22,590 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-09-02 06:10:22,930 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-09-02 06:10:23,001 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130?flat'} 2026-09-02 06:10:23,001 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130 is found in opserver 2026-09-02 06:10:23,017 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 06:10:23,023 - DEBUG - VRF ids for VN ctest-vn-79712130: {} 2026-09-02 06:10:23,023 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-02 06:10:23,030 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c 2026-09-02 06:10:23,047 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082 2026-09-02 06:10:23,134 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580 2026-09-02 06:10:23,160 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580 2026-09-02 06:10:23,171 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869 2026-09-02 06:10:23,182 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869 2026-09-02 06:10:23,191 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/2afef909-8644-4ed4-be0d-854efd868077 2026-09-02 06:10:23,201 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 06:10:23,201 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580 2026-09-02 06:10:23,212 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869 2026-09-02 06:10:23,230 - INFO - Verified VN network id 13 for VN a0f0c634-f94e-4f00-b38d-d4556752c580 2026-09-02 06:10:23,230 - INFO - Verifications in API Server for VN ctest-vn-92925985 passed 2026-09-02 06:10:23,230 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580 2026-09-02 06:10:23,242 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869 2026-09-02 06:10:23,250 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869 2026-09-02 06:10:23,260 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/2afef909-8644-4ed4-be0d-854efd868077 2026-09-02 06:10:23,274 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90300854', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11596986971302285056', 'uuid-lslong': '12938230767776089472'}, 'enable': 'true', 'created': '2026-09-02T06:10:20', 'last-modified': '2026-09-02T06:10:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.639012'} 2026-09-02 06:10:23,283 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 06:10:23,283 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92925985 passed 2026-09-02 06:10:23,283 - DEBUG - ====Verifying policy data for ctest-vn-92925985 in API_Server ====== 2026-09-02 06:10:23,283 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-02 06:10:23,291 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c 2026-09-02 06:10:23,305 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082 2026-09-02 06:10:23,411 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a0f0c634-f94e-4f00-b38d-d4556752c580 2026-09-02 06:10:23,424 - DEBUG - ==>Verifying data for policy with id: c48eba7f-0c5c-4291-b80e-290db4db68d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90300854', 'ctest-policy-allow-all-64053987'] 2026-09-02 06:10:23,424 - INFO - VN ctest-vn-92925985 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 06:10:23,424 - DEBUG - Verifying the vn in opserver 2026-09-02 06:10:23,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985 virtual network link through opserver 10.0.0.163 2026-09-02 06:10:23,424 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-09-02 06:10:23,436 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985?flat'} 2026-09-02 06:10:23,436 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-92925985 is found in opserver 2026-09-02 06:10:23,449 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 06:10:23,458 - DEBUG - VRF ids for VN ctest-vn-92925985: {} 2026-09-02 06:10:23,545 - DEBUG - Services list from nova: [, , ] 2026-09-02 06:10:24,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6247-1) 2026-09-02 06:10:24,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6247-1) 2026-09-02 06:10:24,626 - INFO - Waiting for VM ctest-TestBasicPolicy-90300854-31626872 to be up.. 2026-09-02 06:10:24,674 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:10:29,773 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:10:34,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:10:39,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:10:45,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:10:50,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:10:55,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:11:00,386 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:11:05,515 - DEBUG - VM is in ACTIVE state now 2026-09-02 06:11:05,515 - INFO - VM name : ctest-TestBasicPolicy-90300854-31626872 2026-09-02 06:11:05,626 - DEBUG - VM ctest-TestBasicPolicy-90300854-31626872 ID is 3c46a2b3-2f11-41c7-aa44-5f288b953514 2026-09-02 06:11:05,656 - DEBUG - VM ctest-TestBasicPolicy-90300854-31626872 launched on Node cn-jenkins-deploy-platform-ansible-os-6247-1 2026-09-02 06:11:05,762 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/3c46a2b3-2f11-41c7-aa44-5f288b953514 2026-09-02 06:11:05,776 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/5abf2a02-efa5-4b19-89b4-836f0fbe5b60 2026-09-02 06:11:09,072 - 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 1029ms') 2026-09-02 06:11:09,072 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90300854-31626872 failed! 2026-09-02 06:11:09,131 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90300854:ctest-vn-79712130 is 192.108.88.193 and allocation pool is NOT set 2026-09-02 06:11:11,193 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.595 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.595/2.146/3.697/1.551 ms') 2026-09-02 06:11:11,194 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90300854-31626872 passed 2026-09-02 06:11:11,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 06:11:11,351 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90300854-31626872, IP 192.108.88.195, Port 22 2026-09-02 06:11:11,521 - DEBUG - VM ctest-TestBasicPolicy-90300854-31626872 is ready for SSH connections 2026-09-02 06:11:11,521 - INFO - Waiting for VM ctest-TestBasicPolicy-90300854-05126332 to be up.. 2026-09-02 06:11:11,620 - DEBUG - VM is in ACTIVE state now 2026-09-02 06:11:11,620 - INFO - VM name : ctest-TestBasicPolicy-90300854-05126332 2026-09-02 06:11:11,714 - DEBUG - VM ctest-TestBasicPolicy-90300854-05126332 ID is 1ea27a72-a3c2-4736-be4e-745525394446 2026-09-02 06:11:11,714 - DEBUG - VM ctest-TestBasicPolicy-90300854-05126332 launched on Node cn-jenkins-deploy-platform-ansible-os-6247-1 2026-09-02 06:11:11,814 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/1ea27a72-a3c2-4736-be4e-745525394446 2026-09-02 06:11:11,824 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/1f4eb55a-4fe6-4ec6-b016-8d35321b4d66 2026-09-02 06:11:13,073 - 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=7.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.778 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.778/4.025/7.273/3.247 ms') 2026-09-02 06:11:13,073 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90300854-05126332 passed 2026-09-02 06:11:13,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 06:11:13,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90300854-05126332, IP 188.31.36.195, Port 22 2026-09-02 06:11:13,293 - 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-02 06:11:13,392 - DEBUG - VM ctest-TestBasicPolicy-90300854-05126332 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-02 06:11:18,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 06:11:18,392 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90300854-05126332, IP 188.31.36.195, Port 22 2026-09-02 06:11:18,564 - DEBUG - VM ctest-TestBasicPolicy-90300854-05126332 is ready for SSH connections 2026-09-02 06:11:18,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 06:11:18,564 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.31.36.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-09-02 06:11:18,564 - DEBUG - ping -s 56 -c 3 -W 1 188.31.36.195 2026-09-02 06:11:22,709 - DEBUG - PING 188.31.36.195 (188.31.36.195): 56 data bytes 64 bytes from 188.31.36.195: seq=0 ttl=63 time=4.536 ms 64 bytes from 188.31.36.195: seq=1 ttl=63 time=1.469 ms 64 bytes from 188.31.36.195: seq=2 ttl=63 time=1.443 ms --- 188.31.36.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.443/2.482/4.536 ms 2026-09-02 06:11:22,709 - INFO - Ping to IP 188.31.36.195 from VM ctest-TestBasicPolicy-90300854-31626872 passed 2026-09-02 06:11:22,910 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c48eba7f-0c5c-4291-b80e-290db4db68d6", "href": "http://10.0.0.163:8082/network-policy/c48eba7f-0c5c-4291-b80e-290db4db68d6"}} 2026-09-02 06:11:22,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 06:11:22,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.31.36.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-09-02 06:11:22,911 - DEBUG - ping -s 56 -c 3 -W 1 188.31.36.195 2026-09-02 06:11:26,058 - DEBUG - PING 188.31.36.195 (188.31.36.195): 56 data bytes 64 bytes from 188.31.36.195: seq=0 ttl=63 time=2.083 ms --- 188.31.36.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.083/2.083/2.083 ms 2026-09-02 06:11:26,058 - WARNING - Ping to IP 188.31.36.195 from VM ctest-TestBasicPolicy-90300854-31626872 failed 2026-09-02 06:11:26,058 - INFO - Deleting VM ctest-TestBasicPolicy-90300854-05126332 2026-09-02 06:11:26,163 - INFO - Deleting VM ctest-TestBasicPolicy-90300854-31626872 2026-09-02 06:11:26,655 - INFO - Deleted policy ctest-policy-allow-all-64053987 2026-09-02 06:11:26,655 - INFO - Deleting VN ctest-vn-92925985 2026-09-02 06:11:26,709 - DEBUG - VN a0f0c634-f94e-4f00-b38d-d4556752c580 still in use: Unable to complete operation on network a0f0c634-f94e-4f00-b38d-d4556752c580. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-80dd46b8-60d3-4797-80a4-834b5cfc988f'] 2026-09-02 06:11:26,709 - WARNING - Deleting VN ctest-vn-92925985 failed..Will retry 2026-09-02 06:11:28,845 - DEBUG - Response for deleting network () 2026-09-02 06:11:28,845 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/978bc022-d150-42a2-900e-cf8cdc404869 2026-09-02 06:11:28,851 - DEBUG - Response Code: 404 2026-09-02 06:11:28,851 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-02 06:11:28,857 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c 2026-09-02 06:11:28,913 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082 2026-09-02 06:11:28,995 - INFO - Validated that VN ctest-vn-92925985 is not found in API Server 2026-09-02 06:11:29,009 - DEBUG - VN ctest-vn-92925985 is not present in Agent 10.0.0.163 2026-09-02 06:11:29,009 - INFO - Validated that VN ctest-vn-92925985 is not in any agent 2026-09-02 06:11:29,029 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92925985 info 2026-09-02 06:11:29,029 - INFO - Deleting VN ctest-vn-79712130 2026-09-02 06:11:29,158 - DEBUG - Response for deleting network () 2026-09-02 06:11:29,158 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/7bd4015f-c972-4195-857c-de98bfcc6cdd 2026-09-02 06:11:29,164 - DEBUG - Response Code: 404 2026-09-02 06:11:29,164 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-02 06:11:29,174 - DEBUG - Requesting: http://10.0.0.163:8082/domain/316a517e-9c5f-4644-8dd5-5dbab89e726c 2026-09-02 06:11:29,229 - DEBUG - Requesting: http://10.0.0.163:8082/project/07b84a80-bfb5-481b-8119-f8a3485da082 2026-09-02 06:11:29,316 - INFO - Validated that VN ctest-vn-79712130 is not found in API Server 2026-09-02 06:11:29,329 - DEBUG - VN ctest-vn-79712130 is not present in Agent 10.0.0.163 2026-09-02 06:11:29,329 - INFO - Validated that VN ctest-vn-79712130 is not in any agent 2026-09-02 06:11:29,349 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79712130 info 2026-09-02 06:11:29,621 - DEBUG - No XMPP flaps were noticed during the test 2026-09-02 06:11:29,621 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11] 2026-09-02 06:11:29,621 - INFO - -------------------------------------------------------------------------------- 2026-09-02 06:11:30,401 - INFO - Deleted project: ctest-TestBasicPolicy-90300854, ID : 07b84a80-bfb5-481b-8119-f8a3485da082