2026-04-23 02:05:34,727 - INFO - Domain Default found not creating 2026-04-23 02:05:34,907 - INFO - Project ctest-TestBasicPolicy-44101166 not found, creating it 2026-04-23 02:05:35,414 - INFO - Created Project:ctest-TestBasicPolicy-44101166, ID : 07b164c3-e26d-4873-b377-06548e8524ea 2026-04-23 02:05:36,980 - INFO - ================================================================================ 2026-04-23 02:05:36,980 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-23 02:05:36,980 - 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-04-23 02:05:37,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2026-04-23 02:05:37,242 - INFO - Initial checks done. Running the testcase now 2026-04-23 02:05:37,242 - INFO - 2026-04-23 02:05:37,820 - DEBUG - Response for create_network : {'network': {'id': '360cd617-d88b-42b0-b8ee-3655de226ccf', 'name': 'ctest-vn-04484054', 'tenant_id': '07b164c3e26d4873b37706548e8524ea', 'project_id': '07b164c3e26d4873b37706548e8524ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44101166', 'ctest-vn-04484054'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:05:37,965 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7d8c967-b607-4e51-83b8-2d236e5d9c07', 'name': '', 'tenant_id': '07b164c3e26d4873b37706548e8524ea', 'network_id': '360cd617-d88b-42b0-b8ee-3655de226ccf', 'ip_version': 4, 'cidr': '168.227.206.128/26', 'allocation_pools': [{'start': '168.227.206.130', 'end': '168.227.206.190'}], 'gateway_ip': '168.227.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.227.206.130', 'tags': [], 'project_id': '07b164c3e26d4873b37706548e8524ea'}} 2026-04-23 02:05:37,984 - INFO - Created VN ctest-vn-04484054 2026-04-23 02:05:38,035 - DEBUG - VN ctest-vn-04484054 UUID is 360cd617-d88b-42b0-b8ee-3655de226ccf 2026-04-23 02:05:38,362 - DEBUG - Response for create_network : {'network': {'id': '3d5f3e5e-1e18-417e-8d1a-7d6fe420be34', 'name': 'ctest-vn-67251116', 'tenant_id': '07b164c3e26d4873b37706548e8524ea', 'project_id': '07b164c3e26d4873b37706548e8524ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44101166', 'ctest-vn-67251116'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:05:38,550 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a783816b-65b2-4e68-b72e-d5a26f90a2d5', 'name': '', 'tenant_id': '07b164c3e26d4873b37706548e8524ea', 'network_id': '3d5f3e5e-1e18-417e-8d1a-7d6fe420be34', 'ip_version': 4, 'cidr': '122.236.102.0/26', 'allocation_pools': [{'start': '122.236.102.2', 'end': '122.236.102.62'}], 'gateway_ip': '122.236.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.236.102.2', 'tags': [], 'project_id': '07b164c3e26d4873b37706548e8524ea'}} 2026-04-23 02:05:38,570 - INFO - Created VN ctest-vn-67251116 2026-04-23 02:05:38,623 - DEBUG - VN ctest-vn-67251116 UUID is 3d5f3e5e-1e18-417e-8d1a-7d6fe420be34 2026-04-23 02:05:38,741 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-04484054, 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-44101166:ctest-vn-67251116, 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-04-23 02:05:39,049 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '360cd617-d88b-42b0-b8ee-3655de226ccf', 'name': 'ctest-vn-04484054', 'tenant_id': '07b164c3e26d4873b37706548e8524ea', 'project_id': '07b164c3e26d4873b37706548e8524ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7d8c967-b607-4e51-83b8-2d236e5d9c07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44101166', 'ctest-vn-04484054'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44101166', 'ctest-policy-allow-all-40450477']], 'subnet_ipam': [{'subnet_cidr': '168.227.206.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:05:39,279 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d5f3e5e-1e18-417e-8d1a-7d6fe420be34', 'name': 'ctest-vn-67251116', 'tenant_id': '07b164c3e26d4873b37706548e8524ea', 'project_id': '07b164c3e26d4873b37706548e8524ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a783816b-65b2-4e68-b72e-d5a26f90a2d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44101166', 'ctest-vn-67251116'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44101166', 'ctest-policy-allow-all-40450477']], 'subnet_ipam': [{'subnet_cidr': '122.236.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:05:39,411 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-04-23 02:05:39,714 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-04-23 02:05:39,752 - DEBUG - Requesting: http://10.0.0.65:8082/domain/80bd9db2-2b8e-4dfe-951a-366b305c1b55 2026-04-23 02:05:39,769 - DEBUG - Requesting: http://10.0.0.65:8082/project/07b164c3-e26d-4873-b377-06548e8524ea 2026-04-23 02:05:39,856 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/360cd617-d88b-42b0-b8ee-3655de226ccf 2026-04-23 02:05:39,872 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/360cd617-d88b-42b0-b8ee-3655de226ccf 2026-04-23 02:05:39,884 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a14c396b-4be4-45ac-afe7-08b25a1db267 2026-04-23 02:05:39,892 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a14c396b-4be4-45ac-afe7-08b25a1db267 2026-04-23 02:05:39,901 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/6894078a-36a2-44d6-94ce-fd2cfbb79155 2026-04-23 02:05:39,910 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-23 02:05:39,910 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/360cd617-d88b-42b0-b8ee-3655de226ccf 2026-04-23 02:05:39,922 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a14c396b-4be4-45ac-afe7-08b25a1db267 2026-04-23 02:05:39,939 - INFO - Verified VN network id 11 for VN 360cd617-d88b-42b0-b8ee-3655de226ccf 2026-04-23 02:05:39,939 - INFO - Verifications in API Server for VN ctest-vn-04484054 passed 2026-04-23 02:05:39,939 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/360cd617-d88b-42b0-b8ee-3655de226ccf 2026-04-23 02:05:39,951 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a14c396b-4be4-45ac-afe7-08b25a1db267 2026-04-23 02:05:39,974 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a14c396b-4be4-45ac-afe7-08b25a1db267 2026-04-23 02:05:39,989 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/6894078a-36a2-44d6-94ce-fd2cfbb79155 2026-04-23 02:05:40,003 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-04484054', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44101166', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3894723175674233520', 'uuid-lslong': '13325648089862794447'}, 'enable': 'true', 'created': '2026-04-23T02:05:37', 'last-modified': '2026-04-23T02:05:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981377'} 2026-04-23 02:05:40,012 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-23 02:05:40,012 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04484054 passed 2026-04-23 02:05:40,012 - DEBUG - ====Verifying policy data for ctest-vn-04484054 in API_Server ====== 2026-04-23 02:05:40,012 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-04-23 02:05:40,027 - DEBUG - Requesting: http://10.0.0.65:8082/domain/80bd9db2-2b8e-4dfe-951a-366b305c1b55 2026-04-23 02:05:40,071 - DEBUG - Requesting: http://10.0.0.65:8082/project/07b164c3-e26d-4873-b377-06548e8524ea 2026-04-23 02:05:40,184 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/360cd617-d88b-42b0-b8ee-3655de226ccf 2026-04-23 02:05:40,194 - DEBUG - ==>Verifying data for policy with id: 53287e58-75ac-4c39-bf49-b5945982ca1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-44101166', 'ctest-policy-allow-all-40450477'] 2026-04-23 02:05:40,194 - INFO - VN ctest-vn-04484054 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-23 02:05:40,194 - DEBUG - Verifying the vn in opserver 2026-04-23 02:05:40,194 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-04484054 virtual network link through opserver 10.0.0.65 2026-04-23 02:05:40,194 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-04-23 02:05:40,584 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-04-23 02:05:40,670 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-04484054', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-04484054?flat'} 2026-04-23 02:05:40,670 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-04484054 is found in opserver 2026-04-23 02:05:40,681 - DEBUG - Do not have enough data to verify VN in agent 2026-04-23 02:05:40,686 - DEBUG - VRF ids for VN ctest-vn-04484054: {} 2026-04-23 02:05:40,686 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-04-23 02:05:40,692 - DEBUG - Requesting: http://10.0.0.65:8082/domain/80bd9db2-2b8e-4dfe-951a-366b305c1b55 2026-04-23 02:05:40,707 - DEBUG - Requesting: http://10.0.0.65:8082/project/07b164c3-e26d-4873-b377-06548e8524ea 2026-04-23 02:05:40,788 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3d5f3e5e-1e18-417e-8d1a-7d6fe420be34 2026-04-23 02:05:40,800 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3d5f3e5e-1e18-417e-8d1a-7d6fe420be34 2026-04-23 02:05:40,809 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/092059c9-6064-40d6-bfb6-20552f49f7bc 2026-04-23 02:05:40,816 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/092059c9-6064-40d6-bfb6-20552f49f7bc 2026-04-23 02:05:40,824 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/595f4426-a965-4018-8f6e-f81185889fb9 2026-04-23 02:05:40,831 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-23 02:05:40,831 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3d5f3e5e-1e18-417e-8d1a-7d6fe420be34 2026-04-23 02:05:40,840 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/092059c9-6064-40d6-bfb6-20552f49f7bc 2026-04-23 02:05:40,854 - INFO - Verified VN network id 12 for VN 3d5f3e5e-1e18-417e-8d1a-7d6fe420be34 2026-04-23 02:05:40,854 - INFO - Verifications in API Server for VN ctest-vn-67251116 passed 2026-04-23 02:05:40,854 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3d5f3e5e-1e18-417e-8d1a-7d6fe420be34 2026-04-23 02:05:40,864 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/092059c9-6064-40d6-bfb6-20552f49f7bc 2026-04-23 02:05:40,872 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/092059c9-6064-40d6-bfb6-20552f49f7bc 2026-04-23 02:05:40,879 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/595f4426-a965-4018-8f6e-f81185889fb9 2026-04-23 02:05:40,891 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-67251116', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44101166', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4422321933053870462', 'uuid-lslong': '10167577028264508980'}, 'enable': 'true', 'created': '2026-04-23T02:05:38', 'last-modified': '2026-04-23T02:05:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.632904'} 2026-04-23 02:05:40,898 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-23 02:05:40,898 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67251116 passed 2026-04-23 02:05:40,898 - DEBUG - ====Verifying policy data for ctest-vn-67251116 in API_Server ====== 2026-04-23 02:05:40,898 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-04-23 02:05:40,904 - DEBUG - Requesting: http://10.0.0.65:8082/domain/80bd9db2-2b8e-4dfe-951a-366b305c1b55 2026-04-23 02:05:40,918 - DEBUG - Requesting: http://10.0.0.65:8082/project/07b164c3-e26d-4873-b377-06548e8524ea 2026-04-23 02:05:40,993 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/3d5f3e5e-1e18-417e-8d1a-7d6fe420be34 2026-04-23 02:05:41,004 - DEBUG - ==>Verifying data for policy with id: 53287e58-75ac-4c39-bf49-b5945982ca1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-44101166', 'ctest-policy-allow-all-40450477'] 2026-04-23 02:05:41,004 - INFO - VN ctest-vn-67251116 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-23 02:05:41,004 - DEBUG - Verifying the vn in opserver 2026-04-23 02:05:41,004 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-67251116 virtual network link through opserver 10.0.0.65 2026-04-23 02:05:41,004 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-04-23 02:05:41,016 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-67251116', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-67251116?flat'} 2026-04-23 02:05:41,016 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-67251116 is found in opserver 2026-04-23 02:05:41,025 - DEBUG - Do not have enough data to verify VN in agent 2026-04-23 02:05:41,030 - DEBUG - VRF ids for VN ctest-vn-67251116: {} 2026-04-23 02:05:41,087 - DEBUG - Services list from nova: [, , ] 2026-04-23 02:05:42,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5673-1) 2026-04-23 02:05:43,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5673-1) 2026-04-23 02:05:43,412 - INFO - Waiting for VM ctest-TestBasicPolicy-44101166-63401039 to be up.. 2026-04-23 02:05:43,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:05:48,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:05:53,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:05:58,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:06:03,855 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:06:03,855 - INFO - VM name : ctest-TestBasicPolicy-44101166-63401039 2026-04-23 02:06:03,943 - DEBUG - VM ctest-TestBasicPolicy-44101166-63401039 ID is d79bbb2d-7ba8-4e79-ac79-2e84f36c5deb 2026-04-23 02:06:03,965 - DEBUG - VM ctest-TestBasicPolicy-44101166-63401039 launched on Node cn-jenkins-deploy-platform-ansible-os-5673-1 2026-04-23 02:06:04,058 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d79bbb2d-7ba8-4e79-ac79-2e84f36c5deb 2026-04-23 02:06:04,068 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/288ae5b1-9325-45f0-bc7f-353ec8ec83e5 2026-04-23 02:06:07,295 - 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 1014ms') 2026-04-23 02:06:07,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44101166-63401039 failed! 2026-04-23 02:06:07,355 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44101166:ctest-vn-04484054 is 168.227.206.129 and allocation pool is NOT set 2026-04-23 02:06:09,422 - 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=9.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.72 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 = 1.721/5.566/9.411/3.845 ms') 2026-04-23 02:06:09,422 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44101166-63401039 passed 2026-04-23 02:06:09,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:06:09,583 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44101166-63401039, IP 168.227.206.131, Port 22 2026-04-23 02:06:09,649 - 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-04-23 02:06:09,777 - DEBUG - VM ctest-TestBasicPolicy-44101166-63401039 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-23 02:06:14,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:06:14,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44101166-63401039, IP 168.227.206.131, Port 22 2026-04-23 02:06:14,948 - DEBUG - VM ctest-TestBasicPolicy-44101166-63401039 is ready for SSH connections 2026-04-23 02:06:14,948 - INFO - Waiting for VM ctest-TestBasicPolicy-44101166-89453509 to be up.. 2026-04-23 02:06:15,049 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:06:15,049 - INFO - VM name : ctest-TestBasicPolicy-44101166-89453509 2026-04-23 02:06:15,127 - DEBUG - VM ctest-TestBasicPolicy-44101166-89453509 ID is cdab9cba-4249-4bbd-b7d5-3adb97e9cee1 2026-04-23 02:06:15,128 - DEBUG - VM ctest-TestBasicPolicy-44101166-89453509 launched on Node cn-jenkins-deploy-platform-ansible-os-5673-1 2026-04-23 02:06:15,210 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/cdab9cba-4249-4bbd-b7d5-3adb97e9cee1 2026-04-23 02:06:15,223 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/3327eef5-eb1f-4ba7-8494-bc728b6eb3c7 2026-04-23 02:06:16,464 - 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.83 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 1002ms\r\nrtt min/avg/max/mdev = 0.550/2.190/3.831/1.640 ms') 2026-04-23 02:06:16,465 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44101166-89453509 passed 2026-04-23 02:06:16,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:06:16,619 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44101166-89453509, IP 122.236.102.3, Port 22 2026-04-23 02:06:16,800 - DEBUG - VM ctest-TestBasicPolicy-44101166-89453509 is ready for SSH connections 2026-04-23 02:06:16,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:06:16,801 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.236.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-04-23 02:06:16,801 - DEBUG - ping -s 56 -c 3 -W 1 122.236.102.3 2026-04-23 02:06:20,860 - DEBUG - PING 122.236.102.3 (122.236.102.3): 56 data bytes 64 bytes from 122.236.102.3: seq=0 ttl=63 time=4.498 ms 64 bytes from 122.236.102.3: seq=1 ttl=63 time=0.991 ms 64 bytes from 122.236.102.3: seq=2 ttl=63 time=1.376 ms --- 122.236.102.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.991/2.288/4.498 ms 2026-04-23 02:06:20,860 - INFO - Ping to IP 122.236.102.3 from VM ctest-TestBasicPolicy-44101166-63401039 passed 2026-04-23 02:06:21,070 - DEBUG - Policy Update Response {"network-policy": {"uuid": "53287e58-75ac-4c39-bf49-b5945982ca1f", "href": "http://10.0.0.65:8082/network-policy/53287e58-75ac-4c39-bf49-b5945982ca1f"}} 2026-04-23 02:06:21,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:06:21,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.236.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-04-23 02:06:21,071 - DEBUG - ping -s 56 -c 3 -W 1 122.236.102.3 2026-04-23 02:06:24,294 - DEBUG - PING 122.236.102.3 (122.236.102.3): 56 data bytes --- 122.236.102.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-23 02:06:24,294 - WARNING - Ping to IP 122.236.102.3 from VM ctest-TestBasicPolicy-44101166-63401039 failed 2026-04-23 02:06:24,294 - INFO - Deleting VM ctest-TestBasicPolicy-44101166-89453509 2026-04-23 02:06:24,377 - INFO - Deleting VM ctest-TestBasicPolicy-44101166-63401039 2026-04-23 02:06:24,809 - INFO - Deleted policy ctest-policy-allow-all-40450477 2026-04-23 02:06:24,809 - INFO - Deleting VN ctest-vn-67251116 2026-04-23 02:06:24,856 - DEBUG - VN 3d5f3e5e-1e18-417e-8d1a-7d6fe420be34 still in use: Unable to complete operation on network 3d5f3e5e-1e18-417e-8d1a-7d6fe420be34. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9768201-4589-4a63-b1ad-0c4bdc316fa5'] 2026-04-23 02:06:24,856 - WARNING - Deleting VN ctest-vn-67251116 failed..Will retry 2026-04-23 02:06:26,975 - DEBUG - Response for deleting network () 2026-04-23 02:06:26,976 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/092059c9-6064-40d6-bfb6-20552f49f7bc 2026-04-23 02:06:26,982 - DEBUG - Response Code: 404 2026-04-23 02:06:26,983 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-04-23 02:06:26,989 - DEBUG - Requesting: http://10.0.0.65:8082/domain/80bd9db2-2b8e-4dfe-951a-366b305c1b55 2026-04-23 02:06:27,044 - DEBUG - Requesting: http://10.0.0.65:8082/project/07b164c3-e26d-4873-b377-06548e8524ea 2026-04-23 02:06:27,116 - INFO - Validated that VN ctest-vn-67251116 is not found in API Server 2026-04-23 02:06:27,126 - DEBUG - VN ctest-vn-67251116 is not present in Agent 10.0.0.65 2026-04-23 02:06:27,126 - INFO - Validated that VN ctest-vn-67251116 is not in any agent 2026-04-23 02:06:27,143 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67251116 info 2026-04-23 02:06:27,143 - INFO - Deleting VN ctest-vn-04484054 2026-04-23 02:06:27,261 - DEBUG - Response for deleting network () 2026-04-23 02:06:27,261 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a14c396b-4be4-45ac-afe7-08b25a1db267 2026-04-23 02:06:27,274 - DEBUG - Response Code: 404 2026-04-23 02:06:27,274 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-04-23 02:06:27,282 - DEBUG - Requesting: http://10.0.0.65:8082/domain/80bd9db2-2b8e-4dfe-951a-366b305c1b55 2026-04-23 02:06:27,336 - DEBUG - Requesting: http://10.0.0.65:8082/project/07b164c3-e26d-4873-b377-06548e8524ea 2026-04-23 02:06:27,409 - INFO - Validated that VN ctest-vn-04484054 is not found in API Server 2026-04-23 02:06:27,419 - DEBUG - VN ctest-vn-04484054 is not present in Agent 10.0.0.65 2026-04-23 02:06:27,419 - INFO - Validated that VN ctest-vn-04484054 is not in any agent 2026-04-23 02:06:27,432 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04484054 info 2026-04-23 02:06:27,692 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 02:06:27,692 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:51]
2026-04-23 02:06:27,692 - INFO - -------------------------------------------------------------------------------- 2026-04-23 02:06:28,450 - INFO - Deleted project: ctest-TestBasicPolicy-44101166, ID : 07b164c3-e26d-4873-b377-06548e8524ea