2026-05-11 02:21:58,213 - INFO - Domain Default found not creating 2026-05-11 02:21:58,430 - INFO - Project ctest-TestBasicPolicy-31848546 not found, creating it 2026-05-11 02:21:58,956 - INFO - Created Project:ctest-TestBasicPolicy-31848546, ID : 7e0a48ce-819d-4e8e-b631-bbb66875cdaf 2026-05-11 02:22:00,701 - INFO - ================================================================================ 2026-05-11 02:22:00,701 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-11 02:22:00,701 - 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-05-11 02:22:00,977 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with 2026-05-11 02:22:00,977 - INFO - Initial checks done. Running the testcase now 2026-05-11 02:22:00,977 - INFO - 2026-05-11 02:22:01,725 - DEBUG - Response for create_network : {'network': {'id': 'a5d10ac4-0406-4603-b0d4-8208ac41ce0c', 'name': 'ctest-vn-00957795', 'tenant_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'project_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31848546', 'ctest-vn-00957795'], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:22:01,922 - DEBUG - Response for create_subnet : {'subnet': {'id': '853dc7bf-fd99-4cb9-b94f-3880f674a485', 'name': '', 'tenant_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'network_id': 'a5d10ac4-0406-4603-b0d4-8208ac41ce0c', 'ip_version': 4, 'cidr': '117.211.141.0/26', 'allocation_pools': [{'start': '117.211.141.2', 'end': '117.211.141.62'}], 'gateway_ip': '117.211.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.211.141.2', 'tags': [], 'project_id': '7e0a48ce819d4e8eb631bbb66875cdaf'}} 2026-05-11 02:22:01,947 - INFO - Created VN ctest-vn-00957795 2026-05-11 02:22:02,003 - DEBUG - VN ctest-vn-00957795 UUID is a5d10ac4-0406-4603-b0d4-8208ac41ce0c 2026-05-11 02:22:02,374 - DEBUG - Response for create_network : {'network': {'id': '9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4', 'name': 'ctest-vn-14412269', 'tenant_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'project_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31848546', 'ctest-vn-14412269'], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:22:02,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '10dfe9c5-7bc0-4a7b-82b3-8964e5fb90e3', 'name': '', 'tenant_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'network_id': '9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4', 'ip_version': 4, 'cidr': '85.236.33.192/26', 'allocation_pools': [{'start': '85.236.33.194', 'end': '85.236.33.254'}], 'gateway_ip': '85.236.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.236.33.194', 'tags': [], 'project_id': '7e0a48ce819d4e8eb631bbb66875cdaf'}} 2026-05-11 02:22:02,603 - INFO - Created VN ctest-vn-14412269 2026-05-11 02:22:02,659 - DEBUG - VN ctest-vn-14412269 UUID is 9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4 2026-05-11 02:22:02,794 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-00957795, 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-31848546:ctest-vn-14412269, 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-05-11 02:22:03,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a5d10ac4-0406-4603-b0d4-8208ac41ce0c', 'name': 'ctest-vn-00957795', 'tenant_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'project_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['853dc7bf-fd99-4cb9-b94f-3880f674a485'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31848546', 'ctest-vn-00957795'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31848546', 'ctest-policy-allow-all-39352207']], 'subnet_ipam': [{'subnet_cidr': '117.211.141.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:22:03,390 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4', 'name': 'ctest-vn-14412269', 'tenant_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'project_id': '7e0a48ce819d4e8eb631bbb66875cdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['10dfe9c5-7bc0-4a7b-82b3-8964e5fb90e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31848546', 'ctest-vn-14412269'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31848546', 'ctest-policy-allow-all-39352207']], 'subnet_ipam': [{'subnet_cidr': '85.236.33.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:22:03,563 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-11 02:22:03,877 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-11 02:22:03,926 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1181a205-8da4-43c3-b887-b572a4232164 2026-05-11 02:22:03,939 - DEBUG - Requesting: http://10.0.0.41:8082/project/7e0a48ce-819d-4e8e-b631-bbb66875cdaf 2026-05-11 02:22:04,016 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a5d10ac4-0406-4603-b0d4-8208ac41ce0c 2026-05-11 02:22:04,029 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a5d10ac4-0406-4603-b0d4-8208ac41ce0c 2026-05-11 02:22:04,039 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/905b566b-1103-42f4-969a-e34715c8ff60 2026-05-11 02:22:04,048 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/905b566b-1103-42f4-969a-e34715c8ff60 2026-05-11 02:22:04,056 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/992e8f5a-d0fe-464a-8551-a8df36c4b6c5 2026-05-11 02:22:04,063 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-11 02:22:04,063 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a5d10ac4-0406-4603-b0d4-8208ac41ce0c 2026-05-11 02:22:04,074 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/905b566b-1103-42f4-969a-e34715c8ff60 2026-05-11 02:22:04,091 - INFO - Verified VN network id 9 for VN a5d10ac4-0406-4603-b0d4-8208ac41ce0c 2026-05-11 02:22:04,091 - INFO - Verifications in API Server for VN ctest-vn-00957795 passed 2026-05-11 02:22:04,091 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a5d10ac4-0406-4603-b0d4-8208ac41ce0c 2026-05-11 02:22:04,102 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/905b566b-1103-42f4-969a-e34715c8ff60 2026-05-11 02:22:04,110 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/905b566b-1103-42f4-969a-e34715c8ff60 2026-05-11 02:22:04,120 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/992e8f5a-d0fe-464a-8551-a8df36c4b6c5 2026-05-11 02:22:04,135 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-00957795', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31848546', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11948343123388024323', 'uuid-lslong': '12741952219499318796'}, 'enable': 'true', 'created': '2026-05-11T02:22:01', 'last-modified': '2026-05-11T02:22:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021916'} 2026-05-11 02:22:04,142 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-11 02:22:04,142 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00957795 passed 2026-05-11 02:22:04,143 - DEBUG - ====Verifying policy data for ctest-vn-00957795 in API_Server ====== 2026-05-11 02:22:04,143 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-11 02:22:04,149 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1181a205-8da4-43c3-b887-b572a4232164 2026-05-11 02:22:04,163 - DEBUG - Requesting: http://10.0.0.41:8082/project/7e0a48ce-819d-4e8e-b631-bbb66875cdaf 2026-05-11 02:22:04,244 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a5d10ac4-0406-4603-b0d4-8208ac41ce0c 2026-05-11 02:22:04,255 - DEBUG - ==>Verifying data for policy with id: 8edcbea6-bd33-4166-998c-b3c3a92038e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-31848546', 'ctest-policy-allow-all-39352207'] 2026-05-11 02:22:04,255 - INFO - VN ctest-vn-00957795 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-11 02:22:04,256 - DEBUG - Verifying the vn in opserver 2026-05-11 02:22:04,256 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-00957795 virtual network link through opserver 10.0.0.41 2026-05-11 02:22:04,256 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-11 02:22:04,574 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-11 02:22:04,652 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-00957795', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-00957795?flat'} 2026-05-11 02:22:04,652 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-00957795 is found in opserver 2026-05-11 02:22:04,662 - DEBUG - Do not have enough data to verify VN in agent 2026-05-11 02:22:04,668 - DEBUG - VRF ids for VN ctest-vn-00957795: {} 2026-05-11 02:22:04,669 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-11 02:22:04,675 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1181a205-8da4-43c3-b887-b572a4232164 2026-05-11 02:22:04,687 - DEBUG - Requesting: http://10.0.0.41:8082/project/7e0a48ce-819d-4e8e-b631-bbb66875cdaf 2026-05-11 02:22:04,769 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4 2026-05-11 02:22:04,781 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4 2026-05-11 02:22:04,790 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/097e0379-bc47-4e3e-a6ef-69c0ced3e154 2026-05-11 02:22:04,798 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/097e0379-bc47-4e3e-a6ef-69c0ced3e154 2026-05-11 02:22:04,806 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8930d090-24a7-428e-9c9f-5c7ef4d7b733 2026-05-11 02:22:04,813 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-11 02:22:04,813 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4 2026-05-11 02:22:04,824 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/097e0379-bc47-4e3e-a6ef-69c0ced3e154 2026-05-11 02:22:04,842 - INFO - Verified VN network id 10 for VN 9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4 2026-05-11 02:22:04,843 - INFO - Verifications in API Server for VN ctest-vn-14412269 passed 2026-05-11 02:22:04,843 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4 2026-05-11 02:22:04,856 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/097e0379-bc47-4e3e-a6ef-69c0ced3e154 2026-05-11 02:22:04,864 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/097e0379-bc47-4e3e-a6ef-69c0ced3e154 2026-05-11 02:22:04,876 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8930d090-24a7-428e-9c9f-5c7ef4d7b733 2026-05-11 02:22:04,889 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-14412269', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31848546', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11164712213899071160', 'uuid-lslong': '11813987377367262948'}, 'enable': 'true', 'created': '2026-05-11T02:22:02', 'last-modified': '2026-05-11T02:22:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.525847'} 2026-05-11 02:22:04,895 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-11 02:22:04,895 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14412269 passed 2026-05-11 02:22:04,895 - DEBUG - ====Verifying policy data for ctest-vn-14412269 in API_Server ====== 2026-05-11 02:22:04,895 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-11 02:22:04,902 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1181a205-8da4-43c3-b887-b572a4232164 2026-05-11 02:22:04,914 - DEBUG - Requesting: http://10.0.0.41:8082/project/7e0a48ce-819d-4e8e-b631-bbb66875cdaf 2026-05-11 02:22:04,997 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4 2026-05-11 02:22:05,008 - DEBUG - ==>Verifying data for policy with id: 8edcbea6-bd33-4166-998c-b3c3a92038e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-31848546', 'ctest-policy-allow-all-39352207'] 2026-05-11 02:22:05,008 - INFO - VN ctest-vn-14412269 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-11 02:22:05,008 - DEBUG - Verifying the vn in opserver 2026-05-11 02:22:05,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-14412269 virtual network link through opserver 10.0.0.41 2026-05-11 02:22:05,008 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-11 02:22:05,023 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-14412269', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-14412269?flat'} 2026-05-11 02:22:05,023 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-14412269 is found in opserver 2026-05-11 02:22:05,033 - DEBUG - Do not have enough data to verify VN in agent 2026-05-11 02:22:05,038 - DEBUG - VRF ids for VN ctest-vn-14412269: {} 2026-05-11 02:22:05,112 - DEBUG - Services list from nova: [, , ] 2026-05-11 02:22:06,250 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5766-1) 2026-05-11 02:22:07,531 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5766-1) 2026-05-11 02:22:07,531 - INFO - Waiting for VM ctest-TestBasicPolicy-31848546-26116690 to be up.. 2026-05-11 02:22:07,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-11 02:22:12,719 - DEBUG - VM is in ACTIVE state now 2026-05-11 02:22:12,719 - INFO - VM name : ctest-TestBasicPolicy-31848546-26116690 2026-05-11 02:22:12,835 - DEBUG - VM ctest-TestBasicPolicy-31848546-26116690 ID is 39ba9809-6478-41f6-b974-1593e7acf3de 2026-05-11 02:22:12,859 - DEBUG - VM ctest-TestBasicPolicy-31848546-26116690 launched on Node cn-jenkins-deploy-platform-ansible-os-5766-1 2026-05-11 02:22:12,957 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/39ba9809-6478-41f6-b974-1593e7acf3de 2026-05-11 02:22:12,966 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e7145229-8d13-4923-ac56-c2c767875e93 2026-05-11 02:22:16,226 - 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-05-11 02:22:16,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31848546-26116690 failed! 2026-05-11 02:22:16,295 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31848546:ctest-vn-00957795 is 117.211.141.1 and allocation pool is NOT set 2026-05-11 02:22:18,365 - 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=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.102/6.512/10.922/4.410 ms') 2026-05-11 02:22:18,365 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31848546-26116690 passed 2026-05-11 02:22:18,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:22:18,519 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31848546-26116690, IP 117.211.141.3, Port 22 2026-05-11 02:22:18,585 - 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-05-11 02:22:18,703 - DEBUG - VM ctest-TestBasicPolicy-31848546-26116690 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 02:22:23,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:22:23,704 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31848546-26116690, IP 117.211.141.3, Port 22 2026-05-11 02:22:23,877 - DEBUG - VM ctest-TestBasicPolicy-31848546-26116690 is ready for SSH connections 2026-05-11 02:22:23,877 - INFO - Waiting for VM ctest-TestBasicPolicy-31848546-73011694 to be up.. 2026-05-11 02:22:23,972 - DEBUG - VM is in ACTIVE state now 2026-05-11 02:22:23,972 - INFO - VM name : ctest-TestBasicPolicy-31848546-73011694 2026-05-11 02:22:24,071 - DEBUG - VM ctest-TestBasicPolicy-31848546-73011694 ID is 2d984ea3-e0e1-40f0-89c0-38494ebc08a4 2026-05-11 02:22:24,071 - DEBUG - VM ctest-TestBasicPolicy-31848546-73011694 launched on Node cn-jenkins-deploy-platform-ansible-os-5766-1 2026-05-11 02:22:24,167 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2d984ea3-e0e1-40f0-89c0-38494ebc08a4 2026-05-11 02:22:24,176 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/253be34d-f1c4-473c-b7a0-1473d2579399 2026-05-11 02:22:25,424 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.518 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.518/1.871/3.225/1.353 ms') 2026-05-11 02:22:25,424 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31848546-73011694 passed 2026-05-11 02:22:25,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:22:25,575 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31848546-73011694, IP 85.236.33.195, Port 22 2026-05-11 02:22:25,742 - DEBUG - VM ctest-TestBasicPolicy-31848546-73011694 is ready for SSH connections 2026-05-11 02:22:25,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:22:25,742 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.236.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-11 02:22:25,742 - DEBUG - ping -s 56 -c 3 -W 1 85.236.33.195 2026-05-11 02:22:29,911 - DEBUG - PING 85.236.33.195 (85.236.33.195): 56 data bytes 64 bytes from 85.236.33.195: seq=0 ttl=63 time=4.056 ms 64 bytes from 85.236.33.195: seq=1 ttl=63 time=1.399 ms 64 bytes from 85.236.33.195: seq=2 ttl=63 time=1.879 ms --- 85.236.33.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.399/2.444/4.056 ms 2026-05-11 02:22:29,912 - INFO - Ping to IP 85.236.33.195 from VM ctest-TestBasicPolicy-31848546-26116690 passed 2026-05-11 02:22:30,095 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8edcbea6-bd33-4166-998c-b3c3a92038e6", "href": "http://10.0.0.41:8082/network-policy/8edcbea6-bd33-4166-998c-b3c3a92038e6"}} 2026-05-11 02:22:30,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:22:30,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.236.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-11 02:22:30,095 - DEBUG - ping -s 56 -c 3 -W 1 85.236.33.195 2026-05-11 02:22:33,316 - DEBUG - PING 85.236.33.195 (85.236.33.195): 56 data bytes --- 85.236.33.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-11 02:22:33,316 - WARNING - Ping to IP 85.236.33.195 from VM ctest-TestBasicPolicy-31848546-26116690 failed 2026-05-11 02:22:33,316 - INFO - Deleting VM ctest-TestBasicPolicy-31848546-73011694 2026-05-11 02:22:33,402 - INFO - Deleting VM ctest-TestBasicPolicy-31848546-26116690 2026-05-11 02:22:33,873 - INFO - Deleted policy ctest-policy-allow-all-39352207 2026-05-11 02:22:33,873 - INFO - Deleting VN ctest-vn-14412269 2026-05-11 02:22:33,929 - DEBUG - VN 9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4 still in use: Unable to complete operation on network 9af1069a-f8eb-4eb8-a3f3-b6ed30eca6e4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1fc7f171-1adb-424a-bf40-1899c9ef1598'] 2026-05-11 02:22:33,929 - WARNING - Deleting VN ctest-vn-14412269 failed..Will retry 2026-05-11 02:22:36,038 - DEBUG - Response for deleting network () 2026-05-11 02:22:36,038 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/097e0379-bc47-4e3e-a6ef-69c0ced3e154 2026-05-11 02:22:36,047 - DEBUG - Response Code: 404 2026-05-11 02:22:36,047 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-11 02:22:36,053 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1181a205-8da4-43c3-b887-b572a4232164 2026-05-11 02:22:36,109 - DEBUG - Requesting: http://10.0.0.41:8082/project/7e0a48ce-819d-4e8e-b631-bbb66875cdaf 2026-05-11 02:22:36,191 - INFO - Validated that VN ctest-vn-14412269 is not found in API Server 2026-05-11 02:22:36,202 - DEBUG - VN ctest-vn-14412269 is not present in Agent 10.0.0.41 2026-05-11 02:22:36,202 - INFO - Validated that VN ctest-vn-14412269 is not in any agent 2026-05-11 02:22:36,220 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14412269 info 2026-05-11 02:22:36,220 - INFO - Deleting VN ctest-vn-00957795 2026-05-11 02:22:36,336 - DEBUG - Response for deleting network () 2026-05-11 02:22:36,336 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/905b566b-1103-42f4-969a-e34715c8ff60 2026-05-11 02:22:36,343 - DEBUG - Response Code: 404 2026-05-11 02:22:36,344 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-11 02:22:36,349 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1181a205-8da4-43c3-b887-b572a4232164 2026-05-11 02:22:36,408 - DEBUG - Requesting: http://10.0.0.41:8082/project/7e0a48ce-819d-4e8e-b631-bbb66875cdaf 2026-05-11 02:22:36,484 - INFO - Validated that VN ctest-vn-00957795 is not found in API Server 2026-05-11 02:22:36,495 - DEBUG - VN ctest-vn-00957795 is not present in Agent 10.0.0.41 2026-05-11 02:22:36,495 - INFO - Validated that VN ctest-vn-00957795 is not in any agent 2026-05-11 02:22:36,511 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00957795 info 2026-05-11 02:22:36,783 - DEBUG - No XMPP flaps were noticed during the test
2026-05-11 02:22:36,783 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-05-11 02:22:36,783 - INFO - -------------------------------------------------------------------------------- 2026-05-11 02:22:37,539 - INFO - Deleted project: ctest-TestBasicPolicy-31848546, ID : 7e0a48ce-819d-4e8e-b631-bbb66875cdaf