2026-02-19 02:17:42,926 - INFO - Domain Default found not creating 2026-02-19 02:17:43,104 - INFO - Project ctest-TestBasicPolicy-67845661 not found, creating it 2026-02-19 02:17:43,589 - INFO - Created Project:ctest-TestBasicPolicy-67845661, ID : b4cec3e1-ce42-4ae9-af6e-8fa275df1b28 2026-02-19 02:17:45,252 - INFO - ================================================================================ 2026-02-19 02:17:45,252 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-19 02:17:45,252 - 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-19 02:17:45,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.200': '0'}} with 2026-02-19 02:17:45,513 - INFO - Initial checks done. Running the testcase now 2026-02-19 02:17:45,513 - INFO - 2026-02-19 02:17:46,144 - DEBUG - Response for create_network : {'network': {'id': '106108f4-3ce1-41c8-9b42-226e63dfa0b0', 'name': 'ctest-vn-89116071', 'tenant_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'project_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67845661', 'ctest-vn-89116071'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:17:46,380 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9dcccb3-7ea8-4202-811d-b0f25073a3cf', 'name': '', 'tenant_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'network_id': '106108f4-3ce1-41c8-9b42-226e63dfa0b0', 'ip_version': 4, 'cidr': '139.84.192.0/26', 'allocation_pools': [{'start': '139.84.192.2', 'end': '139.84.192.62'}], 'gateway_ip': '139.84.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.84.192.2', 'tags': [], 'project_id': 'b4cec3e1ce424ae9af6e8fa275df1b28'}} 2026-02-19 02:17:46,401 - INFO - Created VN ctest-vn-89116071 2026-02-19 02:17:46,455 - DEBUG - VN ctest-vn-89116071 UUID is 106108f4-3ce1-41c8-9b42-226e63dfa0b0 2026-02-19 02:17:46,735 - DEBUG - Response for create_network : {'network': {'id': '513f7a94-99e6-4302-a20c-5e9e901c020d', 'name': 'ctest-vn-16293835', 'tenant_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'project_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67845661', 'ctest-vn-16293835'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:17:46,935 - DEBUG - Response for create_subnet : {'subnet': {'id': '43812a44-c121-4567-b3e8-693680b8c8d4', 'name': '', 'tenant_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'network_id': '513f7a94-99e6-4302-a20c-5e9e901c020d', 'ip_version': 4, 'cidr': '6.221.219.0/26', 'allocation_pools': [{'start': '6.221.219.2', 'end': '6.221.219.62'}], 'gateway_ip': '6.221.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.221.219.2', 'tags': [], 'project_id': 'b4cec3e1ce424ae9af6e8fa275df1b28'}} 2026-02-19 02:17:46,952 - INFO - Created VN ctest-vn-16293835 2026-02-19 02:17:47,003 - DEBUG - VN ctest-vn-16293835 UUID is 513f7a94-99e6-4302-a20c-5e9e901c020d 2026-02-19 02:17:47,114 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-89116071, 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-67845661:ctest-vn-16293835, 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-19 02:17:47,401 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '106108f4-3ce1-41c8-9b42-226e63dfa0b0', 'name': 'ctest-vn-89116071', 'tenant_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'project_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9dcccb3-7ea8-4202-811d-b0f25073a3cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67845661', 'ctest-vn-89116071'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67845661', 'ctest-policy-allow-all-92563424']], 'subnet_ipam': [{'subnet_cidr': '139.84.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:17:47,642 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '513f7a94-99e6-4302-a20c-5e9e901c020d', 'name': 'ctest-vn-16293835', 'tenant_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'project_id': 'b4cec3e1ce424ae9af6e8fa275df1b28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43812a44-c121-4567-b3e8-693680b8c8d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67845661', 'ctest-vn-16293835'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67845661', 'ctest-policy-allow-all-92563424']], 'subnet_ipam': [{'subnet_cidr': '6.221.219.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:17:47,791 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-19 02:17:48,131 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-19 02:17:48,169 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d8c9f0e0-2c92-452e-9375-1d23952d0ce8 2026-02-19 02:17:48,184 - DEBUG - Requesting: http://10.0.0.50:8082/project/b4cec3e1-ce42-4ae9-af6e-8fa275df1b28 2026-02-19 02:17:48,255 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/106108f4-3ce1-41c8-9b42-226e63dfa0b0 2026-02-19 02:17:48,266 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/106108f4-3ce1-41c8-9b42-226e63dfa0b0 2026-02-19 02:17:48,277 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/887890f3-39c9-4933-bf92-7eebfcb66799 2026-02-19 02:17:48,284 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/887890f3-39c9-4933-bf92-7eebfcb66799 2026-02-19 02:17:48,290 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f05b6cc7-ee18-45c7-b7d6-a2a3ae5d0af4 2026-02-19 02:17:48,296 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 02:17:48,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/106108f4-3ce1-41c8-9b42-226e63dfa0b0 2026-02-19 02:17:48,307 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/887890f3-39c9-4933-bf92-7eebfcb66799 2026-02-19 02:17:48,321 - INFO - Verified VN network id 11 for VN 106108f4-3ce1-41c8-9b42-226e63dfa0b0 2026-02-19 02:17:48,321 - INFO - Verifications in API Server for VN ctest-vn-89116071 passed 2026-02-19 02:17:48,321 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/106108f4-3ce1-41c8-9b42-226e63dfa0b0 2026-02-19 02:17:48,330 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/887890f3-39c9-4933-bf92-7eebfcb66799 2026-02-19 02:17:48,337 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/887890f3-39c9-4933-bf92-7eebfcb66799 2026-02-19 02:17:48,344 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f05b6cc7-ee18-45c7-b7d6-a2a3ae5d0af4 2026-02-19 02:17:48,356 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-89116071', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67845661', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1180234422434218440', 'uuid-lslong': '11187542281859080368'}, 'enable': 'true', 'created': '2026-02-19T02:17:46', 'last-modified': '2026-02-19T02:17:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973788'} 2026-02-19 02:17:48,362 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 02:17:48,362 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89116071 passed 2026-02-19 02:17:48,362 - DEBUG - ====Verifying policy data for ctest-vn-89116071 in API_Server ====== 2026-02-19 02:17:48,362 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-19 02:17:48,374 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d8c9f0e0-2c92-452e-9375-1d23952d0ce8 2026-02-19 02:17:48,387 - DEBUG - Requesting: http://10.0.0.50:8082/project/b4cec3e1-ce42-4ae9-af6e-8fa275df1b28 2026-02-19 02:17:48,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/106108f4-3ce1-41c8-9b42-226e63dfa0b0 2026-02-19 02:17:48,480 - DEBUG - ==>Verifying data for policy with id: 810df50c-f6b8-4692-804a-34ea366bf8f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-67845661', 'ctest-policy-allow-all-92563424'] 2026-02-19 02:17:48,480 - INFO - VN ctest-vn-89116071 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 02:17:48,480 - DEBUG - Verifying the vn in opserver 2026-02-19 02:17:48,480 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-89116071 virtual network link through opserver 10.0.0.50 2026-02-19 02:17:48,480 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-19 02:17:48,820 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-19 02:17:48,892 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-89116071', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-89116071?flat'} 2026-02-19 02:17:48,892 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-89116071 is found in opserver 2026-02-19 02:17:48,902 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 02:17:48,908 - DEBUG - VRF ids for VN ctest-vn-89116071: {} 2026-02-19 02:17:48,908 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-19 02:17:48,914 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d8c9f0e0-2c92-452e-9375-1d23952d0ce8 2026-02-19 02:17:48,925 - DEBUG - Requesting: http://10.0.0.50:8082/project/b4cec3e1-ce42-4ae9-af6e-8fa275df1b28 2026-02-19 02:17:48,991 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/513f7a94-99e6-4302-a20c-5e9e901c020d 2026-02-19 02:17:49,004 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/513f7a94-99e6-4302-a20c-5e9e901c020d 2026-02-19 02:17:49,013 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6696dd7c-bd1b-4a6c-b16a-8f0b2ed54eb0 2026-02-19 02:17:49,021 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6696dd7c-bd1b-4a6c-b16a-8f0b2ed54eb0 2026-02-19 02:17:49,029 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/92a77720-13f1-4d62-a615-3d208b4f4733 2026-02-19 02:17:49,036 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 02:17:49,036 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/513f7a94-99e6-4302-a20c-5e9e901c020d 2026-02-19 02:17:49,046 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6696dd7c-bd1b-4a6c-b16a-8f0b2ed54eb0 2026-02-19 02:17:49,060 - INFO - Verified VN network id 12 for VN 513f7a94-99e6-4302-a20c-5e9e901c020d 2026-02-19 02:17:49,061 - INFO - Verifications in API Server for VN ctest-vn-16293835 passed 2026-02-19 02:17:49,061 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/513f7a94-99e6-4302-a20c-5e9e901c020d 2026-02-19 02:17:49,070 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6696dd7c-bd1b-4a6c-b16a-8f0b2ed54eb0 2026-02-19 02:17:49,077 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6696dd7c-bd1b-4a6c-b16a-8f0b2ed54eb0 2026-02-19 02:17:49,084 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/92a77720-13f1-4d62-a615-3d208b4f4733 2026-02-19 02:17:49,098 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-16293835', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67845661', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5854532819260687106', 'uuid-lslong': '11676811968980451853'}, 'enable': 'true', 'created': '2026-02-19T02:17:46', 'last-modified': '2026-02-19T02:17:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.485524'} 2026-02-19 02:17:49,105 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 02:17:49,105 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16293835 passed 2026-02-19 02:17:49,105 - DEBUG - ====Verifying policy data for ctest-vn-16293835 in API_Server ====== 2026-02-19 02:17:49,105 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-19 02:17:49,111 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d8c9f0e0-2c92-452e-9375-1d23952d0ce8 2026-02-19 02:17:49,122 - DEBUG - Requesting: http://10.0.0.50:8082/project/b4cec3e1-ce42-4ae9-af6e-8fa275df1b28 2026-02-19 02:17:49,199 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/513f7a94-99e6-4302-a20c-5e9e901c020d 2026-02-19 02:17:49,209 - DEBUG - ==>Verifying data for policy with id: 810df50c-f6b8-4692-804a-34ea366bf8f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-67845661', 'ctest-policy-allow-all-92563424'] 2026-02-19 02:17:49,209 - INFO - VN ctest-vn-16293835 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 02:17:49,209 - DEBUG - Verifying the vn in opserver 2026-02-19 02:17:49,209 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-16293835 virtual network link through opserver 10.0.0.50 2026-02-19 02:17:49,209 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-19 02:17:49,219 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-16293835', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-16293835?flat'} 2026-02-19 02:17:49,219 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-16293835 is found in opserver 2026-02-19 02:17:49,229 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 02:17:49,234 - DEBUG - VRF ids for VN ctest-vn-16293835: {} 2026-02-19 02:17:49,292 - DEBUG - Services list from nova: [, , ] 2026-02-19 02:17:50,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5348-1) 2026-02-19 02:17:51,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5348-1) 2026-02-19 02:17:51,760 - INFO - Waiting for VM ctest-TestBasicPolicy-67845661-16473682 to be up.. 2026-02-19 02:17:51,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 02:17:56,968 - DEBUG - VM is in ACTIVE state now 2026-02-19 02:17:56,969 - INFO - VM name : ctest-TestBasicPolicy-67845661-16473682 2026-02-19 02:17:57,067 - DEBUG - VM ctest-TestBasicPolicy-67845661-16473682 ID is 5e3730a5-034b-434b-bb3b-307cd30d9ad6 2026-02-19 02:17:57,102 - DEBUG - VM ctest-TestBasicPolicy-67845661-16473682 launched on Node cn-jenkins-deploy-platform-ansible-os-5348-1 2026-02-19 02:17:57,237 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5e3730a5-034b-434b-bb3b-307cd30d9ad6 2026-02-19 02:17:57,252 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e5a0abaf-098e-4484-b8cf-bf173f3f7820 2026-02-19 02:18:00,532 - 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 1033ms') 2026-02-19 02:18:00,532 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67845661-16473682 failed! 2026-02-19 02:18:00,595 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67845661:ctest-vn-89116071 is 139.84.192.1 and allocation pool is NOT set 2026-02-19 02:18:02,661 - 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=12.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.29 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.287/7.132/11.977/4.845 ms') 2026-02-19 02:18:02,661 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67845661-16473682 passed 2026-02-19 02:18:02,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:18:02,815 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67845661-16473682, IP 139.84.192.3, Port 22 2026-02-19 02:18:02,885 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 02:18:02,972 - DEBUG - VM ctest-TestBasicPolicy-67845661-16473682 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 02:18:07,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:18:07,974 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67845661-16473682, IP 139.84.192.3, Port 22 2026-02-19 02:18:08,134 - DEBUG - VM ctest-TestBasicPolicy-67845661-16473682 is ready for SSH connections 2026-02-19 02:18:08,134 - INFO - Waiting for VM ctest-TestBasicPolicy-67845661-93071315 to be up.. 2026-02-19 02:18:08,214 - DEBUG - VM is in ACTIVE state now 2026-02-19 02:18:08,214 - INFO - VM name : ctest-TestBasicPolicy-67845661-93071315 2026-02-19 02:18:08,292 - DEBUG - VM ctest-TestBasicPolicy-67845661-93071315 ID is c771b498-ebf6-4ba4-922e-9ca90fa66535 2026-02-19 02:18:08,293 - DEBUG - VM ctest-TestBasicPolicy-67845661-93071315 launched on Node cn-jenkins-deploy-platform-ansible-os-5348-1 2026-02-19 02:18:08,371 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c771b498-ebf6-4ba4-922e-9ca90fa66535 2026-02-19 02:18:08,379 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d8d5d387-2d7d-43b5-b4e8-984687d3de00 2026-02-19 02:18:09,615 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.873/3.321/1.447 ms') 2026-02-19 02:18:09,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67845661-93071315 passed 2026-02-19 02:18:09,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:18:09,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67845661-93071315, IP 6.221.219.3, Port 22 2026-02-19 02:18:09,940 - DEBUG - VM ctest-TestBasicPolicy-67845661-93071315 is ready for SSH connections 2026-02-19 02:18:09,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:18:09,940 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.221.219.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-19 02:18:09,941 - DEBUG - ping -s 56 -c 3 -W 1 6.221.219.3 2026-02-19 02:18:14,070 - DEBUG - PING 6.221.219.3 (6.221.219.3): 56 data bytes 64 bytes from 6.221.219.3: seq=0 ttl=63 time=4.062 ms 64 bytes from 6.221.219.3: seq=1 ttl=63 time=0.966 ms 64 bytes from 6.221.219.3: seq=2 ttl=63 time=1.202 ms --- 6.221.219.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.966/2.076/4.062 ms 2026-02-19 02:18:14,070 - INFO - Ping to IP 6.221.219.3 from VM ctest-TestBasicPolicy-67845661-16473682 passed 2026-02-19 02:18:14,259 - DEBUG - Policy Update Response {"network-policy": {"uuid": "810df50c-f6b8-4692-804a-34ea366bf8f4", "href": "http://10.0.0.50:8082/network-policy/810df50c-f6b8-4692-804a-34ea366bf8f4"}} 2026-02-19 02:18:14,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:18:14,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.221.219.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-19 02:18:14,259 - DEBUG - ping -s 56 -c 3 -W 1 6.221.219.3 2026-02-19 02:18:17,507 - DEBUG - PING 6.221.219.3 (6.221.219.3): 56 data bytes --- 6.221.219.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-19 02:18:17,507 - WARNING - Ping to IP 6.221.219.3 from VM ctest-TestBasicPolicy-67845661-16473682 failed 2026-02-19 02:18:17,507 - INFO - Deleting VM ctest-TestBasicPolicy-67845661-93071315 2026-02-19 02:18:17,594 - INFO - Deleting VM ctest-TestBasicPolicy-67845661-16473682 2026-02-19 02:18:18,076 - INFO - Deleted policy ctest-policy-allow-all-92563424 2026-02-19 02:18:18,077 - INFO - Deleting VN ctest-vn-16293835 2026-02-19 02:18:18,121 - DEBUG - VN 513f7a94-99e6-4302-a20c-5e9e901c020d still in use: Unable to complete operation on network 513f7a94-99e6-4302-a20c-5e9e901c020d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67e7a2e2-d9f5-47ba-a67f-519564556c1d'] 2026-02-19 02:18:18,121 - WARNING - Deleting VN ctest-vn-16293835 failed..Will retry 2026-02-19 02:18:20,443 - DEBUG - Response for deleting network () 2026-02-19 02:18:20,443 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6696dd7c-bd1b-4a6c-b16a-8f0b2ed54eb0 2026-02-19 02:18:20,448 - DEBUG - Response Code: 404 2026-02-19 02:18:20,449 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-19 02:18:20,461 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d8c9f0e0-2c92-452e-9375-1d23952d0ce8 2026-02-19 02:18:20,529 - DEBUG - Requesting: http://10.0.0.50:8082/project/b4cec3e1-ce42-4ae9-af6e-8fa275df1b28 2026-02-19 02:18:20,631 - INFO - Validated that VN ctest-vn-16293835 is not found in API Server 2026-02-19 02:18:20,646 - DEBUG - VN ctest-vn-16293835 is not present in Agent 10.0.0.50 2026-02-19 02:18:20,646 - INFO - Validated that VN ctest-vn-16293835 is not in any agent 2026-02-19 02:18:20,666 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16293835 info 2026-02-19 02:18:20,667 - INFO - Deleting VN ctest-vn-89116071 2026-02-19 02:18:20,813 - DEBUG - Response for deleting network () 2026-02-19 02:18:20,813 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/887890f3-39c9-4933-bf92-7eebfcb66799 2026-02-19 02:18:20,819 - DEBUG - Response Code: 404 2026-02-19 02:18:20,820 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-19 02:18:20,827 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d8c9f0e0-2c92-452e-9375-1d23952d0ce8 2026-02-19 02:18:20,886 - DEBUG - Requesting: http://10.0.0.50:8082/project/b4cec3e1-ce42-4ae9-af6e-8fa275df1b28 2026-02-19 02:18:20,964 - INFO - Validated that VN ctest-vn-89116071 is not found in API Server 2026-02-19 02:18:20,975 - DEBUG - VN ctest-vn-89116071 is not present in Agent 10.0.0.50 2026-02-19 02:18:20,975 - INFO - Validated that VN ctest-vn-89116071 is not in any agent 2026-02-19 02:18:20,992 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89116071 info 2026-02-19 02:18:21,266 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 02:18:21,267 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-02-19 02:18:21,267 - INFO - -------------------------------------------------------------------------------- 2026-02-19 02:18:22,040 - INFO - Deleted project: ctest-TestBasicPolicy-67845661, ID : b4cec3e1-ce42-4ae9-af6e-8fa275df1b28