2026-06-18 03:19:08,438 - INFO - Domain Default found not creating 2026-06-18 03:19:08,631 - INFO - Project ctest-TestBasicPolicy-86663188 not found, creating it 2026-06-18 03:19:09,114 - INFO - Created Project:ctest-TestBasicPolicy-86663188, ID : c44c792e-8645-488d-aa33-631c72eeab11 2026-06-18 03:19:10,809 - INFO - ================================================================================ 2026-06-18 03:19:10,809 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 03:19:10,810 - 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-18 03:19:11,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-06-18 03:19:11,082 - INFO - Initial checks done. Running the testcase now 2026-06-18 03:19:11,082 - INFO - 2026-06-18 03:19:11,708 - DEBUG - Response for create_network : {'network': {'id': '21eee40f-b21f-4f1b-a9d5-549f7fd69fe8', 'name': 'ctest-vn-35589189', 'tenant_id': 'c44c792e8645488daa33631c72eeab11', 'project_id': 'c44c792e8645488daa33631c72eeab11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86663188', 'ctest-vn-35589189'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 03:19:11,877 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e81fb1c1-237f-49f8-8974-ffca3921859c', 'name': '', 'tenant_id': 'c44c792e8645488daa33631c72eeab11', 'network_id': '21eee40f-b21f-4f1b-a9d5-549f7fd69fe8', 'ip_version': 4, 'cidr': '19.47.35.0/26', 'allocation_pools': [{'start': '19.47.35.2', 'end': '19.47.35.62'}], 'gateway_ip': '19.47.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.47.35.2', 'tags': [], 'project_id': 'c44c792e8645488daa33631c72eeab11'}} 2026-06-18 03:19:11,894 - INFO - Created VN ctest-vn-35589189 2026-06-18 03:19:11,947 - DEBUG - VN ctest-vn-35589189 UUID is 21eee40f-b21f-4f1b-a9d5-549f7fd69fe8 2026-06-18 03:19:12,281 - DEBUG - Response for create_network : {'network': {'id': 'f0055762-4870-46a2-a6c8-745b70435e6b', 'name': 'ctest-vn-83677951', 'tenant_id': 'c44c792e8645488daa33631c72eeab11', 'project_id': 'c44c792e8645488daa33631c72eeab11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86663188', 'ctest-vn-83677951'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 03:19:12,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e6fa203-15b7-4d1b-b19e-2dbb0e2d2540', 'name': '', 'tenant_id': 'c44c792e8645488daa33631c72eeab11', 'network_id': 'f0055762-4870-46a2-a6c8-745b70435e6b', 'ip_version': 4, 'cidr': '103.114.155.64/26', 'allocation_pools': [{'start': '103.114.155.66', 'end': '103.114.155.126'}], 'gateway_ip': '103.114.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.114.155.66', 'tags': [], 'project_id': 'c44c792e8645488daa33631c72eeab11'}} 2026-06-18 03:19:12,519 - INFO - Created VN ctest-vn-83677951 2026-06-18 03:19:12,575 - DEBUG - VN ctest-vn-83677951 UUID is f0055762-4870-46a2-a6c8-745b70435e6b 2026-06-18 03:19:12,727 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-35589189, 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-86663188:ctest-vn-83677951, 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-18 03:19:13,026 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21eee40f-b21f-4f1b-a9d5-549f7fd69fe8', 'name': 'ctest-vn-35589189', 'tenant_id': 'c44c792e8645488daa33631c72eeab11', 'project_id': 'c44c792e8645488daa33631c72eeab11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e81fb1c1-237f-49f8-8974-ffca3921859c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86663188', 'ctest-vn-35589189'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86663188', 'ctest-policy-allow-all-41310462']], 'subnet_ipam': [{'subnet_cidr': '19.47.35.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 03:19:13,263 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0055762-4870-46a2-a6c8-745b70435e6b', 'name': 'ctest-vn-83677951', 'tenant_id': 'c44c792e8645488daa33631c72eeab11', 'project_id': 'c44c792e8645488daa33631c72eeab11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8e6fa203-15b7-4d1b-b19e-2dbb0e2d2540'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86663188', 'ctest-vn-83677951'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86663188', 'ctest-policy-allow-all-41310462']], 'subnet_ipam': [{'subnet_cidr': '103.114.155.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 03:19:13,439 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-18 03:19:13,804 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-18 03:19:13,830 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9369bf0e-5631-4873-8f80-d9800c422993 2026-06-18 03:19:13,842 - DEBUG - Requesting: http://10.0.0.22:8082/project/c44c792e-8645-488d-aa33-631c72eeab11 2026-06-18 03:19:13,919 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/21eee40f-b21f-4f1b-a9d5-549f7fd69fe8 2026-06-18 03:19:13,931 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/21eee40f-b21f-4f1b-a9d5-549f7fd69fe8 2026-06-18 03:19:13,940 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5287c7b9-e236-4b64-bfc8-c6ed3bd84baa 2026-06-18 03:19:13,948 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5287c7b9-e236-4b64-bfc8-c6ed3bd84baa 2026-06-18 03:19:13,954 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a4b50df9-ba23-4e8c-88a4-735f62055f47 2026-06-18 03:19:13,961 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 03:19:13,961 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/21eee40f-b21f-4f1b-a9d5-549f7fd69fe8 2026-06-18 03:19:13,969 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5287c7b9-e236-4b64-bfc8-c6ed3bd84baa 2026-06-18 03:19:13,983 - INFO - Verified VN network id 10 for VN 21eee40f-b21f-4f1b-a9d5-549f7fd69fe8 2026-06-18 03:19:13,984 - INFO - Verifications in API Server for VN ctest-vn-35589189 passed 2026-06-18 03:19:13,984 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/21eee40f-b21f-4f1b-a9d5-549f7fd69fe8 2026-06-18 03:19:13,993 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5287c7b9-e236-4b64-bfc8-c6ed3bd84baa 2026-06-18 03:19:14,002 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5287c7b9-e236-4b64-bfc8-c6ed3bd84baa 2026-06-18 03:19:14,010 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a4b50df9-ba23-4e8c-88a4-735f62055f47 2026-06-18 03:19:14,025 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-35589189', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86663188', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2445142403772796699', 'uuid-lslong': '12237780606470496232'}, 'enable': 'true', 'created': '2026-06-18T03:19:11', 'last-modified': '2026-06-18T03:19:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.026678'} 2026-06-18 03:19:14,032 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 03:19:14,032 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35589189 passed 2026-06-18 03:19:14,033 - DEBUG - ====Verifying policy data for ctest-vn-35589189 in API_Server ====== 2026-06-18 03:19:14,033 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-18 03:19:14,039 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9369bf0e-5631-4873-8f80-d9800c422993 2026-06-18 03:19:14,049 - DEBUG - Requesting: http://10.0.0.22:8082/project/c44c792e-8645-488d-aa33-631c72eeab11 2026-06-18 03:19:14,128 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/21eee40f-b21f-4f1b-a9d5-549f7fd69fe8 2026-06-18 03:19:14,139 - DEBUG - ==>Verifying data for policy with id: 7d7590f0-edbf-4f08-8169-00fd32b4d399, fqn: ['default-domain', 'ctest-TestBasicPolicy-86663188', 'ctest-policy-allow-all-41310462'] 2026-06-18 03:19:14,139 - INFO - VN ctest-vn-35589189 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 03:19:14,139 - DEBUG - Verifying the vn in opserver 2026-06-18 03:19:14,139 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-35589189 virtual network link through opserver 10.0.0.22 2026-06-18 03:19:14,139 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-18 03:19:14,509 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-18 03:19:14,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-35589189', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-35589189?flat'} 2026-06-18 03:19:14,562 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-35589189 is found in opserver 2026-06-18 03:19:14,573 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 03:19:14,580 - DEBUG - VRF ids for VN ctest-vn-35589189: {} 2026-06-18 03:19:14,580 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-18 03:19:14,587 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9369bf0e-5631-4873-8f80-d9800c422993 2026-06-18 03:19:14,602 - DEBUG - Requesting: http://10.0.0.22:8082/project/c44c792e-8645-488d-aa33-631c72eeab11 2026-06-18 03:19:14,673 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0055762-4870-46a2-a6c8-745b70435e6b 2026-06-18 03:19:14,687 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0055762-4870-46a2-a6c8-745b70435e6b 2026-06-18 03:19:14,700 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d50505c5-c448-41d0-afcf-42735225fd4b 2026-06-18 03:19:14,710 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d50505c5-c448-41d0-afcf-42735225fd4b 2026-06-18 03:19:14,719 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7bda8308-5a34-4ce3-a91c-a0309a663da9 2026-06-18 03:19:14,726 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 03:19:14,726 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0055762-4870-46a2-a6c8-745b70435e6b 2026-06-18 03:19:14,735 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d50505c5-c448-41d0-afcf-42735225fd4b 2026-06-18 03:19:14,750 - INFO - Verified VN network id 11 for VN f0055762-4870-46a2-a6c8-745b70435e6b 2026-06-18 03:19:14,750 - INFO - Verifications in API Server for VN ctest-vn-83677951 passed 2026-06-18 03:19:14,750 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0055762-4870-46a2-a6c8-745b70435e6b 2026-06-18 03:19:14,760 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d50505c5-c448-41d0-afcf-42735225fd4b 2026-06-18 03:19:14,767 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d50505c5-c448-41d0-afcf-42735225fd4b 2026-06-18 03:19:14,777 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7bda8308-5a34-4ce3-a91c-a0309a663da9 2026-06-18 03:19:14,795 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-83677951', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86663188', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17295326023619987106', 'uuid-lslong': '12017983541712477803'}, 'enable': 'true', 'created': '2026-06-18T03:19:12', 'last-modified': '2026-06-18T03:19:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.555041'} 2026-06-18 03:19:14,802 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 03:19:14,802 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83677951 passed 2026-06-18 03:19:14,803 - DEBUG - ====Verifying policy data for ctest-vn-83677951 in API_Server ====== 2026-06-18 03:19:14,803 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-18 03:19:14,811 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9369bf0e-5631-4873-8f80-d9800c422993 2026-06-18 03:19:14,825 - DEBUG - Requesting: http://10.0.0.22:8082/project/c44c792e-8645-488d-aa33-631c72eeab11 2026-06-18 03:19:14,897 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f0055762-4870-46a2-a6c8-745b70435e6b 2026-06-18 03:19:14,909 - DEBUG - ==>Verifying data for policy with id: 7d7590f0-edbf-4f08-8169-00fd32b4d399, fqn: ['default-domain', 'ctest-TestBasicPolicy-86663188', 'ctest-policy-allow-all-41310462'] 2026-06-18 03:19:14,909 - INFO - VN ctest-vn-83677951 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 03:19:14,909 - DEBUG - Verifying the vn in opserver 2026-06-18 03:19:14,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-83677951 virtual network link through opserver 10.0.0.22 2026-06-18 03:19:14,909 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-18 03:19:14,920 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-83677951', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-83677951?flat'} 2026-06-18 03:19:14,920 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-83677951 is found in opserver 2026-06-18 03:19:14,930 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 03:19:14,934 - DEBUG - VRF ids for VN ctest-vn-83677951: {} 2026-06-18 03:19:14,992 - DEBUG - Services list from nova: [, , ] 2026-06-18 03:19:16,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5975-1) 2026-06-18 03:19:17,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5975-1) 2026-06-18 03:19:17,510 - INFO - Waiting for VM ctest-TestBasicPolicy-86663188-15054661 to be up.. 2026-06-18 03:19:17,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 03:19:22,659 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 03:19:27,754 - DEBUG - VM is in ACTIVE state now 2026-06-18 03:19:27,754 - INFO - VM name : ctest-TestBasicPolicy-86663188-15054661 2026-06-18 03:19:27,831 - DEBUG - VM ctest-TestBasicPolicy-86663188-15054661 ID is 8986877f-d3dd-4490-b3c1-63acb4c2ec47 2026-06-18 03:19:27,852 - DEBUG - VM ctest-TestBasicPolicy-86663188-15054661 launched on Node cn-jenkins-deploy-platform-ansible-os-5975-1 2026-06-18 03:19:27,926 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8986877f-d3dd-4490-b3c1-63acb4c2ec47 2026-06-18 03:19:27,944 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5b4ae4b4-e77b-4722-b2fa-ea4488cde8a7 2026-06-18 03:19:31,206 - 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 1016ms') 2026-06-18 03:19:31,206 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86663188-15054661 failed! 2026-06-18 03:19:31,259 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86663188:ctest-vn-35589189 is 19.47.35.1 and allocation pool is NOT set 2026-06-18 03:19:33,329 - 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=8.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 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.416/5.305/8.195/2.889 ms') 2026-06-18 03:19:33,329 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86663188-15054661 passed 2026-06-18 03:19:33,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 03:19:33,476 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86663188-15054661, IP 19.47.35.3, Port 22 2026-06-18 03:19:33,542 - 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-18 03:19:33,614 - DEBUG - VM ctest-TestBasicPolicy-86663188-15054661 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 03:19:38,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 03:19:38,615 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86663188-15054661, IP 19.47.35.3, Port 22 2026-06-18 03:19:38,770 - DEBUG - VM ctest-TestBasicPolicy-86663188-15054661 is ready for SSH connections 2026-06-18 03:19:38,770 - INFO - Waiting for VM ctest-TestBasicPolicy-86663188-59258143 to be up.. 2026-06-18 03:19:38,857 - DEBUG - VM is in ACTIVE state now 2026-06-18 03:19:38,857 - INFO - VM name : ctest-TestBasicPolicy-86663188-59258143 2026-06-18 03:19:38,932 - DEBUG - VM ctest-TestBasicPolicy-86663188-59258143 ID is 322b062b-083b-49a0-9383-c8f9983909a9 2026-06-18 03:19:38,932 - DEBUG - VM ctest-TestBasicPolicy-86663188-59258143 launched on Node cn-jenkins-deploy-platform-ansible-os-5975-1 2026-06-18 03:19:39,017 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/322b062b-083b-49a0-9383-c8f9983909a9 2026-06-18 03:19:39,027 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fa557252-75db-4427-9982-d7a66a9c54e4 2026-06-18 03:19:40,275 - 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=4.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.479/2.671/4.863/2.192 ms') 2026-06-18 03:19:40,275 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86663188-59258143 passed 2026-06-18 03:19:40,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 03:19:40,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86663188-59258143, IP 103.114.155.67, Port 22 2026-06-18 03:19:40,586 - DEBUG - VM ctest-TestBasicPolicy-86663188-59258143 is ready for SSH connections 2026-06-18 03:19:40,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 03:19:40,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.114.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-18 03:19:40,587 - DEBUG - ping -s 56 -c 3 -W 1 103.114.155.67 2026-06-18 03:19:44,658 - DEBUG - PING 103.114.155.67 (103.114.155.67): 56 data bytes 64 bytes from 103.114.155.67: seq=0 ttl=63 time=4.473 ms 64 bytes from 103.114.155.67: seq=1 ttl=63 time=1.316 ms 64 bytes from 103.114.155.67: seq=2 ttl=63 time=0.940 ms --- 103.114.155.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.940/2.243/4.473 ms 2026-06-18 03:19:44,658 - INFO - Ping to IP 103.114.155.67 from VM ctest-TestBasicPolicy-86663188-15054661 passed 2026-06-18 03:19:44,843 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d7590f0-edbf-4f08-8169-00fd32b4d399", "href": "http://10.0.0.22:8082/network-policy/7d7590f0-edbf-4f08-8169-00fd32b4d399"}} 2026-06-18 03:19:44,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 03:19:44,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.114.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-18 03:19:44,843 - DEBUG - ping -s 56 -c 3 -W 1 103.114.155.67 2026-06-18 03:19:47,970 - DEBUG - PING 103.114.155.67 (103.114.155.67): 56 data bytes 64 bytes from 103.114.155.67: seq=0 ttl=63 time=1.652 ms --- 103.114.155.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.652/1.652/1.652 ms 2026-06-18 03:19:47,970 - WARNING - Ping to IP 103.114.155.67 from VM ctest-TestBasicPolicy-86663188-15054661 failed 2026-06-18 03:19:47,970 - INFO - Deleting VM ctest-TestBasicPolicy-86663188-59258143 2026-06-18 03:19:48,060 - INFO - Deleting VM ctest-TestBasicPolicy-86663188-15054661 2026-06-18 03:19:48,435 - INFO - Deleted policy ctest-policy-allow-all-41310462 2026-06-18 03:19:48,435 - INFO - Deleting VN ctest-vn-83677951 2026-06-18 03:19:48,467 - DEBUG - VN f0055762-4870-46a2-a6c8-745b70435e6b still in use: Unable to complete operation on network f0055762-4870-46a2-a6c8-745b70435e6b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7838060-9e6a-4397-9772-edc2f586af82'] 2026-06-18 03:19:48,467 - WARNING - Deleting VN ctest-vn-83677951 failed..Will retry 2026-06-18 03:19:50,589 - DEBUG - Response for deleting network () 2026-06-18 03:19:50,589 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d50505c5-c448-41d0-afcf-42735225fd4b 2026-06-18 03:19:50,597 - DEBUG - Response Code: 404 2026-06-18 03:19:50,597 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-18 03:19:50,602 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9369bf0e-5631-4873-8f80-d9800c422993 2026-06-18 03:19:50,654 - DEBUG - Requesting: http://10.0.0.22:8082/project/c44c792e-8645-488d-aa33-631c72eeab11 2026-06-18 03:19:50,729 - INFO - Validated that VN ctest-vn-83677951 is not found in API Server 2026-06-18 03:19:50,740 - DEBUG - VN ctest-vn-83677951 is not present in Agent 10.0.0.22 2026-06-18 03:19:50,740 - INFO - Validated that VN ctest-vn-83677951 is not in any agent 2026-06-18 03:19:50,754 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83677951 info 2026-06-18 03:19:50,754 - INFO - Deleting VN ctest-vn-35589189 2026-06-18 03:19:50,866 - DEBUG - Response for deleting network () 2026-06-18 03:19:50,866 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5287c7b9-e236-4b64-bfc8-c6ed3bd84baa 2026-06-18 03:19:50,871 - DEBUG - Response Code: 404 2026-06-18 03:19:50,872 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-18 03:19:50,879 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9369bf0e-5631-4873-8f80-d9800c422993 2026-06-18 03:19:50,936 - DEBUG - Requesting: http://10.0.0.22:8082/project/c44c792e-8645-488d-aa33-631c72eeab11 2026-06-18 03:19:51,009 - INFO - Validated that VN ctest-vn-35589189 is not found in API Server 2026-06-18 03:19:51,021 - DEBUG - VN ctest-vn-35589189 is not present in Agent 10.0.0.22 2026-06-18 03:19:51,021 - INFO - Validated that VN ctest-vn-35589189 is not in any agent 2026-06-18 03:19:51,036 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35589189 info 2026-06-18 03:19:51,311 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 03:19:51,311 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41]
2026-06-18 03:19:51,312 - INFO - -------------------------------------------------------------------------------- 2026-06-18 03:19:52,122 - INFO - Deleted project: ctest-TestBasicPolicy-86663188, ID : c44c792e-8645-488d-aa33-631c72eeab11