2026-06-17 16:41:16,553 - INFO - Domain Default found not creating 2026-06-17 16:41:16,692 - INFO - Project ctest-TestBasicPolicy-90953880 not found, creating it 2026-06-17 16:41:17,150 - INFO - Created Project:ctest-TestBasicPolicy-90953880, ID : e85fd065-3268-4f92-8efe-7aa457ec60d9 2026-06-17 16:41:18,584 - INFO - ================================================================================ 2026-06-17 16:41:18,584 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-17 16:41:18,584 - 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-06-17 16:41:18,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-17 16:41:18,844 - INFO - Initial checks done. Running the testcase now 2026-06-17 16:41:18,845 - INFO - 2026-06-17 16:41:19,408 - DEBUG - Response for create_network : {'network': {'id': '37bcd510-a8a1-45d5-95cd-a6841abdd31e', 'name': 'ctest-vn-19489880', 'tenant_id': 'e85fd06532684f928efe7aa457ec60d9', 'project_id': 'e85fd06532684f928efe7aa457ec60d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90953880', 'ctest-vn-19489880'], 'port_security_enabled': True, 'description': ''}} 2026-06-17 16:41:19,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '18e530a5-5acb-4a15-9ab5-03a0b0d82584', 'name': '', 'tenant_id': 'e85fd06532684f928efe7aa457ec60d9', 'network_id': '37bcd510-a8a1-45d5-95cd-a6841abdd31e', 'ip_version': 4, 'cidr': '143.2.10.64/26', 'allocation_pools': [{'start': '143.2.10.66', 'end': '143.2.10.126'}], 'gateway_ip': '143.2.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.2.10.66', 'tags': [], 'project_id': 'e85fd06532684f928efe7aa457ec60d9'}} 2026-06-17 16:41:19,601 - INFO - Created VN ctest-vn-19489880 2026-06-17 16:41:19,654 - DEBUG - VN ctest-vn-19489880 UUID is 37bcd510-a8a1-45d5-95cd-a6841abdd31e 2026-06-17 16:41:19,953 - DEBUG - Response for create_network : {'network': {'id': '57bd4bb9-d5f2-4825-b07f-eaab9a938a84', 'name': 'ctest-vn-61624320', 'tenant_id': 'e85fd06532684f928efe7aa457ec60d9', 'project_id': 'e85fd06532684f928efe7aa457ec60d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90953880', 'ctest-vn-61624320'], 'port_security_enabled': True, 'description': ''}} 2026-06-17 16:41:20,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '112dafe7-d716-497a-a26f-1db8518026ca', 'name': '', 'tenant_id': 'e85fd06532684f928efe7aa457ec60d9', 'network_id': '57bd4bb9-d5f2-4825-b07f-eaab9a938a84', 'ip_version': 4, 'cidr': '132.110.31.64/26', 'allocation_pools': [{'start': '132.110.31.66', 'end': '132.110.31.126'}], 'gateway_ip': '132.110.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.110.31.66', 'tags': [], 'project_id': 'e85fd06532684f928efe7aa457ec60d9'}} 2026-06-17 16:41:20,123 - INFO - Created VN ctest-vn-61624320 2026-06-17 16:41:20,174 - DEBUG - VN ctest-vn-61624320 UUID is 57bd4bb9-d5f2-4825-b07f-eaab9a938a84 2026-06-17 16:41:20,314 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-19489880, 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-90953880:ctest-vn-61624320, 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-06-17 16:41:20,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '37bcd510-a8a1-45d5-95cd-a6841abdd31e', 'name': 'ctest-vn-19489880', 'tenant_id': 'e85fd06532684f928efe7aa457ec60d9', 'project_id': 'e85fd06532684f928efe7aa457ec60d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18e530a5-5acb-4a15-9ab5-03a0b0d82584'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90953880', 'ctest-vn-19489880'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90953880', 'ctest-policy-allow-all-10660059']], 'subnet_ipam': [{'subnet_cidr': '143.2.10.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-17 16:41:20,830 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57bd4bb9-d5f2-4825-b07f-eaab9a938a84', 'name': 'ctest-vn-61624320', 'tenant_id': 'e85fd06532684f928efe7aa457ec60d9', 'project_id': 'e85fd06532684f928efe7aa457ec60d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['112dafe7-d716-497a-a26f-1db8518026ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90953880', 'ctest-vn-61624320'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90953880', 'ctest-policy-allow-all-10660059']], 'subnet_ipam': [{'subnet_cidr': '132.110.31.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-17 16:41:20,986 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-17 16:41:21,303 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-17 16:41:21,325 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6dd884bc-3ee3-4c34-81a3-bd4ac144d700 2026-06-17 16:41:21,336 - DEBUG - Requesting: http://10.0.0.33:8082/project/e85fd065-3268-4f92-8efe-7aa457ec60d9 2026-06-17 16:41:21,402 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37bcd510-a8a1-45d5-95cd-a6841abdd31e 2026-06-17 16:41:21,413 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37bcd510-a8a1-45d5-95cd-a6841abdd31e 2026-06-17 16:41:21,421 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a9b45212-6a35-4c2f-bf12-615747de2f36 2026-06-17 16:41:21,428 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a9b45212-6a35-4c2f-bf12-615747de2f36 2026-06-17 16:41:21,435 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4990239f-6d45-4d36-bc8b-39941ff97a73 2026-06-17 16:41:21,440 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-17 16:41:21,440 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37bcd510-a8a1-45d5-95cd-a6841abdd31e 2026-06-17 16:41:21,449 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a9b45212-6a35-4c2f-bf12-615747de2f36 2026-06-17 16:41:21,462 - INFO - Verified VN network id 11 for VN 37bcd510-a8a1-45d5-95cd-a6841abdd31e 2026-06-17 16:41:21,462 - INFO - Verifications in API Server for VN ctest-vn-19489880 passed 2026-06-17 16:41:21,462 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37bcd510-a8a1-45d5-95cd-a6841abdd31e 2026-06-17 16:41:21,470 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a9b45212-6a35-4c2f-bf12-615747de2f36 2026-06-17 16:41:21,478 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a9b45212-6a35-4c2f-bf12-615747de2f36 2026-06-17 16:41:21,485 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4990239f-6d45-4d36-bc8b-39941ff97a73 2026-06-17 16:41:21,497 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-19489880', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90953880', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4016319235232974293', 'uuid-lslong': '10794466968191488798'}, 'enable': 'true', 'created': '2026-06-17T16:41:19', 'last-modified': '2026-06-17T16:41:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913114'} 2026-06-17 16:41:21,503 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-17 16:41:21,503 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19489880 passed 2026-06-17 16:41:21,503 - DEBUG - ====Verifying policy data for ctest-vn-19489880 in API_Server ====== 2026-06-17 16:41:21,503 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-17 16:41:21,508 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6dd884bc-3ee3-4c34-81a3-bd4ac144d700 2026-06-17 16:41:21,520 - DEBUG - Requesting: http://10.0.0.33:8082/project/e85fd065-3268-4f92-8efe-7aa457ec60d9 2026-06-17 16:41:21,590 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/37bcd510-a8a1-45d5-95cd-a6841abdd31e 2026-06-17 16:41:21,601 - DEBUG - ==>Verifying data for policy with id: efef8d3d-cba4-467a-8b65-2679e6b4bf59, fqn: ['default-domain', 'ctest-TestBasicPolicy-90953880', 'ctest-policy-allow-all-10660059'] 2026-06-17 16:41:21,601 - INFO - VN ctest-vn-19489880 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-17 16:41:21,601 - DEBUG - Verifying the vn in opserver 2026-06-17 16:41:21,601 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-19489880 virtual network link through opserver 10.0.0.33 2026-06-17 16:41:21,601 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-17 16:41:21,922 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-17 16:41:21,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-19489880', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-19489880?flat'} 2026-06-17 16:41:21,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-19489880 is found in opserver 2026-06-17 16:41:21,979 - DEBUG - Do not have enough data to verify VN in agent 2026-06-17 16:41:21,983 - DEBUG - VRF ids for VN ctest-vn-19489880: {} 2026-06-17 16:41:21,983 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-17 16:41:21,987 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6dd884bc-3ee3-4c34-81a3-bd4ac144d700 2026-06-17 16:41:21,998 - DEBUG - Requesting: http://10.0.0.33:8082/project/e85fd065-3268-4f92-8efe-7aa457ec60d9 2026-06-17 16:41:22,063 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57bd4bb9-d5f2-4825-b07f-eaab9a938a84 2026-06-17 16:41:22,074 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57bd4bb9-d5f2-4825-b07f-eaab9a938a84 2026-06-17 16:41:22,082 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/09139d2f-9969-410b-9dbb-066ebe2493b2 2026-06-17 16:41:22,089 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/09139d2f-9969-410b-9dbb-066ebe2493b2 2026-06-17 16:41:22,095 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1cedc6a5-a0dc-4326-b819-43c4ae69ddd4 2026-06-17 16:41:22,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-17 16:41:22,101 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57bd4bb9-d5f2-4825-b07f-eaab9a938a84 2026-06-17 16:41:22,109 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/09139d2f-9969-410b-9dbb-066ebe2493b2 2026-06-17 16:41:22,123 - INFO - Verified VN network id 12 for VN 57bd4bb9-d5f2-4825-b07f-eaab9a938a84 2026-06-17 16:41:22,123 - INFO - Verifications in API Server for VN ctest-vn-61624320 passed 2026-06-17 16:41:22,123 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57bd4bb9-d5f2-4825-b07f-eaab9a938a84 2026-06-17 16:41:22,131 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/09139d2f-9969-410b-9dbb-066ebe2493b2 2026-06-17 16:41:22,138 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/09139d2f-9969-410b-9dbb-066ebe2493b2 2026-06-17 16:41:22,144 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1cedc6a5-a0dc-4326-b819-43c4ae69ddd4 2026-06-17 16:41:22,155 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-61624320', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90953880', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6322292713428502565', 'uuid-lslong': '12718141895471237764'}, 'enable': 'true', 'created': '2026-06-17T16:41:19', 'last-modified': '2026-06-17T16:41:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343077'} 2026-06-17 16:41:22,160 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-17 16:41:22,160 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61624320 passed 2026-06-17 16:41:22,161 - DEBUG - ====Verifying policy data for ctest-vn-61624320 in API_Server ====== 2026-06-17 16:41:22,161 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-17 16:41:22,166 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6dd884bc-3ee3-4c34-81a3-bd4ac144d700 2026-06-17 16:41:22,175 - DEBUG - Requesting: http://10.0.0.33:8082/project/e85fd065-3268-4f92-8efe-7aa457ec60d9 2026-06-17 16:41:22,240 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57bd4bb9-d5f2-4825-b07f-eaab9a938a84 2026-06-17 16:41:22,249 - DEBUG - ==>Verifying data for policy with id: efef8d3d-cba4-467a-8b65-2679e6b4bf59, fqn: ['default-domain', 'ctest-TestBasicPolicy-90953880', 'ctest-policy-allow-all-10660059'] 2026-06-17 16:41:22,249 - INFO - VN ctest-vn-61624320 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-17 16:41:22,249 - DEBUG - Verifying the vn in opserver 2026-06-17 16:41:22,249 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-61624320 virtual network link through opserver 10.0.0.33 2026-06-17 16:41:22,249 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-17 16:41:22,257 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-61624320', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-61624320?flat'} 2026-06-17 16:41:22,257 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-61624320 is found in opserver 2026-06-17 16:41:22,266 - DEBUG - Do not have enough data to verify VN in agent 2026-06-17 16:41:22,270 - DEBUG - VRF ids for VN ctest-vn-61624320: {} 2026-06-17 16:41:22,321 - DEBUG - Services list from nova: [, , ] 2026-06-17 16:41:23,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5967-1) 2026-06-17 16:41:24,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5967-1) 2026-06-17 16:41:24,401 - INFO - Waiting for VM ctest-TestBasicPolicy-90953880-78706442 to be up.. 2026-06-17 16:41:24,443 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-17 16:41:29,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-17 16:41:34,589 - DEBUG - VM is in ACTIVE state now 2026-06-17 16:41:34,589 - INFO - VM name : ctest-TestBasicPolicy-90953880-78706442 2026-06-17 16:41:34,662 - DEBUG - VM ctest-TestBasicPolicy-90953880-78706442 ID is f64be2bc-4da5-4903-b40c-ce6b7c6d4c55 2026-06-17 16:41:34,683 - DEBUG - VM ctest-TestBasicPolicy-90953880-78706442 launched on Node cn-jenkins-deploy-platform-ansible-os-5967-1 2026-06-17 16:41:34,754 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f64be2bc-4da5-4903-b40c-ce6b7c6d4c55 2026-06-17 16:41:34,763 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e6405a6f-2ce8-46c3-ba00-59748ba099a1 2026-06-17 16:41:38,020 - 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 1027ms') 2026-06-17 16:41:38,020 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90953880-78706442 failed! 2026-06-17 16:41:38,074 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90953880:ctest-vn-19489880 is 143.2.10.65 and allocation pool is NOT set 2026-06-17 16:41:40,140 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.54 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 = 3.537/4.005/4.474/0.468 ms') 2026-06-17 16:41:40,141 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90953880-78706442 passed 2026-06-17 16:41:40,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 16:41:40,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90953880-78706442, IP 143.2.10.67, Port 22 2026-06-17 16:41:40,346 - 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-06-17 16:41:40,411 - DEBUG - VM ctest-TestBasicPolicy-90953880-78706442 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-17 16:41:45,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 16:41:45,411 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90953880-78706442, IP 143.2.10.67, Port 22 2026-06-17 16:41:45,566 - DEBUG - VM ctest-TestBasicPolicy-90953880-78706442 is ready for SSH connections 2026-06-17 16:41:45,566 - INFO - Waiting for VM ctest-TestBasicPolicy-90953880-22533193 to be up.. 2026-06-17 16:41:45,634 - DEBUG - VM is in ACTIVE state now 2026-06-17 16:41:45,634 - INFO - VM name : ctest-TestBasicPolicy-90953880-22533193 2026-06-17 16:41:45,695 - DEBUG - VM ctest-TestBasicPolicy-90953880-22533193 ID is 0e9e7cad-9d68-45a1-8628-5aa23a47048a 2026-06-17 16:41:45,695 - DEBUG - VM ctest-TestBasicPolicy-90953880-22533193 launched on Node cn-jenkins-deploy-platform-ansible-os-5967-1 2026-06-17 16:41:45,757 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0e9e7cad-9d68-45a1-8628-5aa23a47048a 2026-06-17 16:41:45,764 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/11a90cde-3844-4598-8ffe-341e0b2f280f 2026-06-17 16:41:47,003 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.509 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.509/1.775/3.042/1.266 ms') 2026-06-17 16:41:47,003 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90953880-22533193 passed 2026-06-17 16:41:47,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 16:41:47,150 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90953880-22533193, IP 132.110.31.67, Port 22 2026-06-17 16:41:47,301 - DEBUG - VM ctest-TestBasicPolicy-90953880-22533193 is ready for SSH connections 2026-06-17 16:41:47,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 16:41:47,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.110.31.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-17 16:41:47,302 - DEBUG - ping -s 56 -c 3 -W 1 132.110.31.67 2026-06-17 16:41:51,192 - DEBUG - PING 132.110.31.67 (132.110.31.67): 56 data bytes 64 bytes from 132.110.31.67: seq=0 ttl=63 time=4.721 ms 64 bytes from 132.110.31.67: seq=1 ttl=63 time=0.895 ms 64 bytes from 132.110.31.67: seq=2 ttl=63 time=0.953 ms --- 132.110.31.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/2.189/4.721 ms 2026-06-17 16:41:51,192 - INFO - Ping to IP 132.110.31.67 from VM ctest-TestBasicPolicy-90953880-78706442 passed 2026-06-17 16:41:51,366 - DEBUG - Policy Update Response {"network-policy": {"uuid": "efef8d3d-cba4-467a-8b65-2679e6b4bf59", "href": "http://10.0.0.33:8082/network-policy/efef8d3d-cba4-467a-8b65-2679e6b4bf59"}} 2026-06-17 16:41:51,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 16:41:51,366 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.110.31.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-17 16:41:51,366 - DEBUG - ping -s 56 -c 3 -W 1 132.110.31.67 2026-06-17 16:41:54,486 - DEBUG - PING 132.110.31.67 (132.110.31.67): 56 data bytes --- 132.110.31.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-17 16:41:54,486 - WARNING - Ping to IP 132.110.31.67 from VM ctest-TestBasicPolicy-90953880-78706442 failed 2026-06-17 16:41:54,486 - INFO - Deleting VM ctest-TestBasicPolicy-90953880-22533193 2026-06-17 16:41:54,553 - INFO - Deleting VM ctest-TestBasicPolicy-90953880-78706442 2026-06-17 16:41:54,860 - INFO - Deleted policy ctest-policy-allow-all-10660059 2026-06-17 16:41:54,860 - INFO - Deleting VN ctest-vn-61624320 2026-06-17 16:41:54,887 - DEBUG - VN 57bd4bb9-d5f2-4825-b07f-eaab9a938a84 still in use: Unable to complete operation on network 57bd4bb9-d5f2-4825-b07f-eaab9a938a84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d94d4cd2-7c56-4495-957a-08656cd6c53b'] 2026-06-17 16:41:54,887 - WARNING - Deleting VN ctest-vn-61624320 failed..Will retry 2026-06-17 16:41:56,969 - DEBUG - Response for deleting network () 2026-06-17 16:41:56,970 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/09139d2f-9969-410b-9dbb-066ebe2493b2 2026-06-17 16:41:56,976 - DEBUG - Response Code: 404 2026-06-17 16:41:56,976 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-17 16:41:56,981 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6dd884bc-3ee3-4c34-81a3-bd4ac144d700 2026-06-17 16:41:57,035 - DEBUG - Requesting: http://10.0.0.33:8082/project/e85fd065-3268-4f92-8efe-7aa457ec60d9 2026-06-17 16:41:57,099 - INFO - Validated that VN ctest-vn-61624320 is not found in API Server 2026-06-17 16:41:57,108 - DEBUG - VN ctest-vn-61624320 is not present in Agent 10.0.0.33 2026-06-17 16:41:57,108 - INFO - Validated that VN ctest-vn-61624320 is not in any agent 2026-06-17 16:41:57,121 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61624320 info 2026-06-17 16:41:57,121 - INFO - Deleting VN ctest-vn-19489880 2026-06-17 16:41:57,214 - DEBUG - Response for deleting network () 2026-06-17 16:41:57,214 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a9b45212-6a35-4c2f-bf12-615747de2f36 2026-06-17 16:41:57,220 - DEBUG - Response Code: 404 2026-06-17 16:41:57,220 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-17 16:41:57,224 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6dd884bc-3ee3-4c34-81a3-bd4ac144d700 2026-06-17 16:41:57,274 - DEBUG - Requesting: http://10.0.0.33:8082/project/e85fd065-3268-4f92-8efe-7aa457ec60d9 2026-06-17 16:41:57,343 - INFO - Validated that VN ctest-vn-19489880 is not found in API Server 2026-06-17 16:41:57,353 - DEBUG - VN ctest-vn-19489880 is not present in Agent 10.0.0.33 2026-06-17 16:41:57,353 - INFO - Validated that VN ctest-vn-19489880 is not in any agent 2026-06-17 16:41:57,372 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19489880 info 2026-06-17 16:41:57,626 - DEBUG - No XMPP flaps were noticed during the test 2026-06-17 16:41:57,626 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2026-06-17 16:41:57,627 - INFO - -------------------------------------------------------------------------------- 2026-06-17 16:41:58,309 - INFO - Deleted project: ctest-TestBasicPolicy-90953880, ID : e85fd065-3268-4f92-8efe-7aa457ec60d9