2026-08-17 09:46:32,420 - INFO - Domain Default found not creating 2026-08-17 09:46:32,596 - INFO - Project ctest-TestBasicPolicy-78826287 not found, creating it 2026-08-17 09:46:33,075 - INFO - Created Project:ctest-TestBasicPolicy-78826287, ID : 2b42f08d-1bf2-4475-95cd-929927a9d409 2026-08-17 09:46:34,882 - INFO - ================================================================================ 2026-08-17 09:46:34,882 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-17 09:46:34,882 - 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-17 09:46:35,148 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.254': '0'}} with 2026-08-17 09:46:35,148 - INFO - Initial checks done. Running the testcase now 2026-08-17 09:46:35,148 - INFO - 2026-08-17 09:46:35,880 - DEBUG - Response for create_network : {'network': {'id': 'b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2', 'name': 'ctest-vn-64300710', 'tenant_id': '2b42f08d1bf2447595cd929927a9d409', 'project_id': '2b42f08d1bf2447595cd929927a9d409', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78826287', 'ctest-vn-64300710'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 09:46:36,076 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cef0cc5c-5f4d-4c49-bea7-4ee25e6aaa90', 'name': '', 'tenant_id': '2b42f08d1bf2447595cd929927a9d409', 'network_id': 'b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2', 'ip_version': 4, 'cidr': '59.58.185.192/26', 'allocation_pools': [{'start': '59.58.185.194', 'end': '59.58.185.254'}], 'gateway_ip': '59.58.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.58.185.194', 'tags': [], 'project_id': '2b42f08d1bf2447595cd929927a9d409'}} 2026-08-17 09:46:36,096 - INFO - Created VN ctest-vn-64300710 2026-08-17 09:46:36,152 - DEBUG - VN ctest-vn-64300710 UUID is b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2 2026-08-17 09:46:36,489 - DEBUG - Response for create_network : {'network': {'id': 'b5cbcd35-77c8-43a6-bab1-09cc8b06ac08', 'name': 'ctest-vn-48746180', 'tenant_id': '2b42f08d1bf2447595cd929927a9d409', 'project_id': '2b42f08d1bf2447595cd929927a9d409', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78826287', 'ctest-vn-48746180'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 09:46:36,723 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d1be7a4-fc3a-49aa-a2d3-b8e27be92ee6', 'name': '', 'tenant_id': '2b42f08d1bf2447595cd929927a9d409', 'network_id': 'b5cbcd35-77c8-43a6-bab1-09cc8b06ac08', 'ip_version': 4, 'cidr': '105.44.164.0/26', 'allocation_pools': [{'start': '105.44.164.2', 'end': '105.44.164.62'}], 'gateway_ip': '105.44.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.44.164.2', 'tags': [], 'project_id': '2b42f08d1bf2447595cd929927a9d409'}} 2026-08-17 09:46:36,744 - INFO - Created VN ctest-vn-48746180 2026-08-17 09:46:36,800 - DEBUG - VN ctest-vn-48746180 UUID is b5cbcd35-77c8-43a6-bab1-09cc8b06ac08 2026-08-17 09:46:36,922 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-64300710, 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-78826287:ctest-vn-48746180, 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-17 09:46:37,258 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2', 'name': 'ctest-vn-64300710', 'tenant_id': '2b42f08d1bf2447595cd929927a9d409', 'project_id': '2b42f08d1bf2447595cd929927a9d409', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cef0cc5c-5f4d-4c49-bea7-4ee25e6aaa90'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78826287', 'ctest-vn-64300710'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78826287', 'ctest-policy-allow-all-82608668']], 'subnet_ipam': [{'subnet_cidr': '59.58.185.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 09:46:37,492 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5cbcd35-77c8-43a6-bab1-09cc8b06ac08', 'name': 'ctest-vn-48746180', 'tenant_id': '2b42f08d1bf2447595cd929927a9d409', 'project_id': '2b42f08d1bf2447595cd929927a9d409', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d1be7a4-fc3a-49aa-a2d3-b8e27be92ee6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78826287', 'ctest-vn-48746180'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78826287', 'ctest-policy-allow-all-82608668']], 'subnet_ipam': [{'subnet_cidr': '105.44.164.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 09:46:37,676 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 09:46:38,054 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 09:46:38,082 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c0a87636-2201-40fd-8987-a049dbaf0e1e 2026-08-17 09:46:38,095 - DEBUG - Requesting: http://10.0.0.161:8082/project/2b42f08d-1bf2-4475-95cd-929927a9d409 2026-08-17 09:46:38,175 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2 2026-08-17 09:46:38,188 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2 2026-08-17 09:46:38,199 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/cd43660a-87d3-4a7e-8c97-dca1194b1b4f 2026-08-17 09:46:38,206 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/cd43660a-87d3-4a7e-8c97-dca1194b1b4f 2026-08-17 09:46:38,214 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f6a931fc-a06c-4013-a5b1-6efec7928d3c 2026-08-17 09:46:38,221 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 09:46:38,221 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2 2026-08-17 09:46:38,230 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/cd43660a-87d3-4a7e-8c97-dca1194b1b4f 2026-08-17 09:46:38,247 - INFO - Verified VN network id 11 for VN b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2 2026-08-17 09:46:38,248 - INFO - Verifications in API Server for VN ctest-vn-64300710 passed 2026-08-17 09:46:38,248 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2 2026-08-17 09:46:38,258 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/cd43660a-87d3-4a7e-8c97-dca1194b1b4f 2026-08-17 09:46:38,266 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/cd43660a-87d3-4a7e-8c97-dca1194b1b4f 2026-08-17 09:46:38,276 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f6a931fc-a06c-4013-a5b1-6efec7928d3c 2026-08-17 09:46:38,291 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-64300710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78826287', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13385465246076390718', 'uuid-lslong': '12210104967586130898'}, 'enable': 'true', 'created': '2026-08-17T09:46:35', 'last-modified': '2026-08-17T09:46:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.071867'} 2026-08-17 09:46:38,298 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 09:46:38,299 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64300710 passed 2026-08-17 09:46:38,299 - DEBUG - ====Verifying policy data for ctest-vn-64300710 in API_Server ====== 2026-08-17 09:46:38,299 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 09:46:38,305 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c0a87636-2201-40fd-8987-a049dbaf0e1e 2026-08-17 09:46:38,319 - DEBUG - Requesting: http://10.0.0.161:8082/project/2b42f08d-1bf2-4475-95cd-929927a9d409 2026-08-17 09:46:38,401 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b9c2b9b8-d9b8-4d3e-a973-01c6af342bd2 2026-08-17 09:46:38,413 - DEBUG - ==>Verifying data for policy with id: 5e5d9618-5e9f-4959-b233-64abd7650837, fqn: ['default-domain', 'ctest-TestBasicPolicy-78826287', 'ctest-policy-allow-all-82608668'] 2026-08-17 09:46:38,413 - INFO - VN ctest-vn-64300710 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 09:46:38,413 - DEBUG - Verifying the vn in opserver 2026-08-17 09:46:38,413 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-64300710 virtual network link through opserver 10.0.0.161 2026-08-17 09:46:38,413 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-17 09:46:38,784 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-17 09:46:38,845 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-64300710', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-64300710?flat'} 2026-08-17 09:46:38,845 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-64300710 is found in opserver 2026-08-17 09:46:38,856 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 09:46:38,861 - DEBUG - VRF ids for VN ctest-vn-64300710: {} 2026-08-17 09:46:38,861 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 09:46:38,867 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c0a87636-2201-40fd-8987-a049dbaf0e1e 2026-08-17 09:46:38,878 - DEBUG - Requesting: http://10.0.0.161:8082/project/2b42f08d-1bf2-4475-95cd-929927a9d409 2026-08-17 09:46:38,955 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b5cbcd35-77c8-43a6-bab1-09cc8b06ac08 2026-08-17 09:46:38,967 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b5cbcd35-77c8-43a6-bab1-09cc8b06ac08 2026-08-17 09:46:38,978 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/452bdf03-660c-4348-be9c-8eea39da2e0f 2026-08-17 09:46:38,987 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/452bdf03-660c-4348-be9c-8eea39da2e0f 2026-08-17 09:46:38,996 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/fada0dde-d019-4c3e-9022-4eaddb0ef978 2026-08-17 09:46:39,006 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 09:46:39,006 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b5cbcd35-77c8-43a6-bab1-09cc8b06ac08 2026-08-17 09:46:39,016 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/452bdf03-660c-4348-be9c-8eea39da2e0f 2026-08-17 09:46:39,032 - INFO - Verified VN network id 12 for VN b5cbcd35-77c8-43a6-bab1-09cc8b06ac08 2026-08-17 09:46:39,033 - INFO - Verifications in API Server for VN ctest-vn-48746180 passed 2026-08-17 09:46:39,033 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b5cbcd35-77c8-43a6-bab1-09cc8b06ac08 2026-08-17 09:46:39,042 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/452bdf03-660c-4348-be9c-8eea39da2e0f 2026-08-17 09:46:39,049 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/452bdf03-660c-4348-be9c-8eea39da2e0f 2026-08-17 09:46:39,060 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/fada0dde-d019-4c3e-9022-4eaddb0ef978 2026-08-17 09:46:39,073 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-48746180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78826287', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13099789570663793574', 'uuid-lslong': '13452544336042830856'}, 'enable': 'true', 'created': '2026-08-17T09:46:36', 'last-modified': '2026-08-17T09:46:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.605237'} 2026-08-17 09:46:39,081 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 09:46:39,081 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48746180 passed 2026-08-17 09:46:39,081 - DEBUG - ====Verifying policy data for ctest-vn-48746180 in API_Server ====== 2026-08-17 09:46:39,081 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 09:46:39,088 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c0a87636-2201-40fd-8987-a049dbaf0e1e 2026-08-17 09:46:39,100 - DEBUG - Requesting: http://10.0.0.161:8082/project/2b42f08d-1bf2-4475-95cd-929927a9d409 2026-08-17 09:46:39,177 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b5cbcd35-77c8-43a6-bab1-09cc8b06ac08 2026-08-17 09:46:39,190 - DEBUG - ==>Verifying data for policy with id: 5e5d9618-5e9f-4959-b233-64abd7650837, fqn: ['default-domain', 'ctest-TestBasicPolicy-78826287', 'ctest-policy-allow-all-82608668'] 2026-08-17 09:46:39,190 - INFO - VN ctest-vn-48746180 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 09:46:39,190 - DEBUG - Verifying the vn in opserver 2026-08-17 09:46:39,190 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-48746180 virtual network link through opserver 10.0.0.161 2026-08-17 09:46:39,190 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-17 09:46:39,202 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-48746180', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-48746180?flat'} 2026-08-17 09:46:39,202 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-48746180 is found in opserver 2026-08-17 09:46:39,217 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 09:46:39,224 - DEBUG - VRF ids for VN ctest-vn-48746180: {} 2026-08-17 09:46:39,291 - DEBUG - Services list from nova: [, , ] 2026-08-17 09:46:39,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6171-1) 2026-08-17 09:46:40,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6171-1) 2026-08-17 09:46:40,159 - INFO - Waiting for VM ctest-TestBasicPolicy-78826287-97358049 to be up.. 2026-08-17 09:46:40,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:46:45,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:46:50,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:46:55,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:47:00,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:47:05,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:47:10,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:47:15,850 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 09:47:20,943 - DEBUG - VM is in ACTIVE state now 2026-08-17 09:47:20,943 - INFO - VM name : ctest-TestBasicPolicy-78826287-97358049 2026-08-17 09:47:21,068 - DEBUG - VM ctest-TestBasicPolicy-78826287-97358049 ID is 051dc3e8-218b-40a1-8777-9f5ddc758f16 2026-08-17 09:47:21,096 - DEBUG - VM ctest-TestBasicPolicy-78826287-97358049 launched on Node cn-jenkins-deploy-platform-ansible-os-6171-1 2026-08-17 09:47:21,191 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/051dc3e8-218b-40a1-8777-9f5ddc758f16 2026-08-17 09:47:21,203 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/45121d65-d0cb-4f19-b58a-76921430093d 2026-08-17 09:47:24,473 - 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 1007ms') 2026-08-17 09:47:24,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78826287-97358049 failed! 2026-08-17 09:47:24,528 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-64300710 is 59.58.185.193 and allocation pool is NOT set 2026-08-17 09:47:26,598 - 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=5.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.507 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.507/2.948/5.389/2.441 ms') 2026-08-17 09:47:26,598 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78826287-97358049 passed 2026-08-17 09:47:26,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 09:47:26,760 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78826287-97358049, IP 59.58.185.195, Port 22 2026-08-17 09:47:26,926 - DEBUG - VM ctest-TestBasicPolicy-78826287-97358049 is ready for SSH connections 2026-08-17 09:47:26,926 - INFO - Waiting for VM ctest-TestBasicPolicy-78826287-85612934 to be up.. 2026-08-17 09:47:27,014 - DEBUG - VM is in ACTIVE state now 2026-08-17 09:47:27,014 - INFO - VM name : ctest-TestBasicPolicy-78826287-85612934 2026-08-17 09:47:27,113 - DEBUG - VM ctest-TestBasicPolicy-78826287-85612934 ID is 389fbb5e-2448-4a02-a5ea-4fc039cdb8ac 2026-08-17 09:47:27,113 - DEBUG - VM ctest-TestBasicPolicy-78826287-85612934 launched on Node cn-jenkins-deploy-platform-ansible-os-6171-1 2026-08-17 09:47:27,196 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/389fbb5e-2448-4a02-a5ea-4fc039cdb8ac 2026-08-17 09:47:27,209 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/c2092dd2-aa85-45d6-9066-0f4d3c61c084 2026-08-17 09:47:30,483 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1000ms') 2026-08-17 09:47:30,483 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78826287-85612934 failed! 2026-08-17 09:47:30,540 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78826287:ctest-vn-48746180 is 105.44.164.1 and allocation pool is NOT set 2026-08-17 09:47:32,608 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.550 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.550/2.180/3.810/1.630 ms') 2026-08-17 09:47:32,608 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78826287-85612934 passed 2026-08-17 09:47:32,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 09:47:32,761 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78826287-85612934, IP 105.44.164.3, Port 22 2026-08-17 09:47:32,927 - DEBUG - VM ctest-TestBasicPolicy-78826287-85612934 is ready for SSH connections 2026-08-17 09:47:32,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 09:47:32,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.44.164.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-17 09:47:32,927 - DEBUG - ping -s 56 -c 3 -W 1 105.44.164.3 2026-08-17 09:47:37,089 - DEBUG - PING 105.44.164.3 (105.44.164.3): 56 data bytes 64 bytes from 105.44.164.3: seq=0 ttl=63 time=6.314 ms 64 bytes from 105.44.164.3: seq=1 ttl=63 time=1.087 ms 64 bytes from 105.44.164.3: seq=2 ttl=63 time=1.117 ms --- 105.44.164.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.087/2.839/6.314 ms 2026-08-17 09:47:37,089 - INFO - Ping to IP 105.44.164.3 from VM ctest-TestBasicPolicy-78826287-97358049 passed 2026-08-17 09:47:37,276 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5e5d9618-5e9f-4959-b233-64abd7650837", "href": "http://10.0.0.161:8082/network-policy/5e5d9618-5e9f-4959-b233-64abd7650837"}} 2026-08-17 09:47:37,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 09:47:37,276 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.44.164.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-17 09:47:37,276 - DEBUG - ping -s 56 -c 3 -W 1 105.44.164.3 2026-08-17 09:47:40,409 - DEBUG - PING 105.44.164.3 (105.44.164.3): 56 data bytes 64 bytes from 105.44.164.3: seq=0 ttl=63 time=4.804 ms --- 105.44.164.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 4.804/4.804/4.804 ms 2026-08-17 09:47:40,409 - WARNING - Ping to IP 105.44.164.3 from VM ctest-TestBasicPolicy-78826287-97358049 failed 2026-08-17 09:47:40,409 - INFO - Deleting VM ctest-TestBasicPolicy-78826287-85612934 2026-08-17 09:47:40,496 - INFO - Deleting VM ctest-TestBasicPolicy-78826287-97358049 2026-08-17 09:47:40,906 - INFO - Deleted policy ctest-policy-allow-all-82608668 2026-08-17 09:47:40,907 - INFO - Deleting VN ctest-vn-48746180 2026-08-17 09:47:40,947 - DEBUG - VN b5cbcd35-77c8-43a6-bab1-09cc8b06ac08 still in use: Unable to complete operation on network b5cbcd35-77c8-43a6-bab1-09cc8b06ac08. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf12029e-9b64-418c-bfb9-141b61619e36'] 2026-08-17 09:47:40,947 - WARNING - Deleting VN ctest-vn-48746180 failed..Will retry 2026-08-17 09:47:43,080 - DEBUG - Response for deleting network () 2026-08-17 09:47:43,080 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/452bdf03-660c-4348-be9c-8eea39da2e0f 2026-08-17 09:47:43,090 - DEBUG - Response Code: 404 2026-08-17 09:47:43,091 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 09:47:43,099 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c0a87636-2201-40fd-8987-a049dbaf0e1e 2026-08-17 09:47:43,158 - DEBUG - Requesting: http://10.0.0.161:8082/project/2b42f08d-1bf2-4475-95cd-929927a9d409 2026-08-17 09:47:43,239 - INFO - Validated that VN ctest-vn-48746180 is not found in API Server 2026-08-17 09:47:43,254 - DEBUG - VN ctest-vn-48746180 is not present in Agent 10.0.0.161 2026-08-17 09:47:43,254 - INFO - Validated that VN ctest-vn-48746180 is not in any agent 2026-08-17 09:47:43,281 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48746180 info 2026-08-17 09:47:43,281 - INFO - Deleting VN ctest-vn-64300710 2026-08-17 09:47:43,407 - DEBUG - Response for deleting network () 2026-08-17 09:47:43,407 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/cd43660a-87d3-4a7e-8c97-dca1194b1b4f 2026-08-17 09:47:43,418 - DEBUG - Response Code: 404 2026-08-17 09:47:43,418 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 09:47:43,424 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c0a87636-2201-40fd-8987-a049dbaf0e1e 2026-08-17 09:47:43,478 - DEBUG - Requesting: http://10.0.0.161:8082/project/2b42f08d-1bf2-4475-95cd-929927a9d409 2026-08-17 09:47:43,563 - INFO - Validated that VN ctest-vn-64300710 is not found in API Server 2026-08-17 09:47:43,575 - DEBUG - VN ctest-vn-64300710 is not present in Agent 10.0.0.161 2026-08-17 09:47:43,575 - INFO - Validated that VN ctest-vn-64300710 is not in any agent 2026-08-17 09:47:43,593 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64300710 info 2026-08-17 09:47:43,861 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 09:47:43,861 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-08-17 09:47:43,861 - INFO - -------------------------------------------------------------------------------- 2026-08-17 09:47:44,696 - INFO - Deleted project: ctest-TestBasicPolicy-78826287, ID : 2b42f08d-1bf2-4475-95cd-929927a9d409