2026-10-28 12:48:03,462 - INFO - Domain Default found not creating 2026-10-28 12:48:03,675 - INFO - Project ctest-TestBasicPolicy-85139134 not found, creating it 2026-10-28 12:48:04,143 - INFO - Created Project:ctest-TestBasicPolicy-85139134, ID : 1ba6f6ec-bcf7-49ab-babd-8886d518d9f0 2026-10-28 12:48:06,002 - INFO - ================================================================================ 2026-10-28 12:48:06,002 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-28 12:48:06,003 - 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-10-28 12:48:06,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.31': '0'}} with 2026-10-28 12:48:06,275 - INFO - Initial checks done. Running the testcase now 2026-10-28 12:48:06,275 - INFO - 2026-10-28 12:48:06,930 - DEBUG - Response for create_network : {'network': {'id': 'eb7f104d-7caa-4877-9df0-539ac7fb32c6', 'name': 'ctest-vn-64820698', 'tenant_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'project_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85139134', 'ctest-vn-64820698'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 12:48:07,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '50c8fb18-4006-43a7-a2e6-0b595ae30980', 'name': '', 'tenant_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'network_id': 'eb7f104d-7caa-4877-9df0-539ac7fb32c6', 'ip_version': 4, 'cidr': '101.56.248.0/26', 'allocation_pools': [{'start': '101.56.248.2', 'end': '101.56.248.62'}], 'gateway_ip': '101.56.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.56.248.2', 'tags': [], 'project_id': '1ba6f6ecbcf749abbabd8886d518d9f0'}} 2026-10-28 12:48:07,168 - INFO - Created VN ctest-vn-64820698 2026-10-28 12:48:07,223 - DEBUG - VN ctest-vn-64820698 UUID is eb7f104d-7caa-4877-9df0-539ac7fb32c6 2026-10-28 12:48:07,541 - DEBUG - Response for create_network : {'network': {'id': 'fee75705-e38b-4610-93e7-f9e56f1b1e86', 'name': 'ctest-vn-28435865', 'tenant_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'project_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85139134', 'ctest-vn-28435865'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 12:48:07,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cdad0f2-6528-4d57-a507-db5aeaca99cb', 'name': '', 'tenant_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'network_id': 'fee75705-e38b-4610-93e7-f9e56f1b1e86', 'ip_version': 4, 'cidr': '2.47.106.64/26', 'allocation_pools': [{'start': '2.47.106.66', 'end': '2.47.106.126'}], 'gateway_ip': '2.47.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.47.106.66', 'tags': [], 'project_id': '1ba6f6ecbcf749abbabd8886d518d9f0'}} 2026-10-28 12:48:07,773 - INFO - Created VN ctest-vn-28435865 2026-10-28 12:48:07,831 - DEBUG - VN ctest-vn-28435865 UUID is fee75705-e38b-4610-93e7-f9e56f1b1e86 2026-10-28 12:48:07,983 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-64820698, 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-85139134:ctest-vn-28435865, 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-10-28 12:48:08,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb7f104d-7caa-4877-9df0-539ac7fb32c6', 'name': 'ctest-vn-64820698', 'tenant_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'project_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['50c8fb18-4006-43a7-a2e6-0b595ae30980'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85139134', 'ctest-vn-64820698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85139134', 'ctest-policy-allow-all-72988090']], 'subnet_ipam': [{'subnet_cidr': '101.56.248.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-28 12:48:08,533 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fee75705-e38b-4610-93e7-f9e56f1b1e86', 'name': 'ctest-vn-28435865', 'tenant_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'project_id': '1ba6f6ecbcf749abbabd8886d518d9f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2cdad0f2-6528-4d57-a507-db5aeaca99cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85139134', 'ctest-vn-28435865'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85139134', 'ctest-policy-allow-all-72988090']], 'subnet_ipam': [{'subnet_cidr': '2.47.106.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-28 12:48:08,715 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-10-28 12:48:09,083 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-10-28 12:48:09,112 - DEBUG - Requesting: http://10.0.0.249:8082/domain/55bd3a3f-fa96-4168-a8f7-915db1d9aef0 2026-10-28 12:48:09,126 - DEBUG - Requesting: http://10.0.0.249:8082/project/1ba6f6ec-bcf7-49ab-babd-8886d518d9f0 2026-10-28 12:48:09,204 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb7f104d-7caa-4877-9df0-539ac7fb32c6 2026-10-28 12:48:09,216 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb7f104d-7caa-4877-9df0-539ac7fb32c6 2026-10-28 12:48:09,227 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3cd27e82-e081-4fa1-9ac8-be3153eabadb 2026-10-28 12:48:09,236 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3cd27e82-e081-4fa1-9ac8-be3153eabadb 2026-10-28 12:48:09,244 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3695be3c-5ef7-4dee-ac01-338833c3edb6 2026-10-28 12:48:09,252 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-28 12:48:09,252 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb7f104d-7caa-4877-9df0-539ac7fb32c6 2026-10-28 12:48:09,264 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3cd27e82-e081-4fa1-9ac8-be3153eabadb 2026-10-28 12:48:09,279 - INFO - Verified VN network id 12 for VN eb7f104d-7caa-4877-9df0-539ac7fb32c6 2026-10-28 12:48:09,279 - INFO - Verifications in API Server for VN ctest-vn-64820698 passed 2026-10-28 12:48:09,279 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb7f104d-7caa-4877-9df0-539ac7fb32c6 2026-10-28 12:48:09,290 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3cd27e82-e081-4fa1-9ac8-be3153eabadb 2026-10-28 12:48:09,298 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3cd27e82-e081-4fa1-9ac8-be3153eabadb 2026-10-28 12:48:09,308 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3695be3c-5ef7-4dee-ac01-338833c3edb6 2026-10-28 12:48:09,323 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-64820698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85139134', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16969299845945378935', 'uuid-lslong': '11380688182610440902'}, 'enable': 'true', 'created': '2026-10-28T12:48:06', 'last-modified': '2026-10-28T12:48:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.052974'} 2026-10-28 12:48:09,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-28 12:48:09,332 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64820698 passed 2026-10-28 12:48:09,332 - DEBUG - ====Verifying policy data for ctest-vn-64820698 in API_Server ====== 2026-10-28 12:48:09,332 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-10-28 12:48:09,338 - DEBUG - Requesting: http://10.0.0.249:8082/domain/55bd3a3f-fa96-4168-a8f7-915db1d9aef0 2026-10-28 12:48:09,350 - DEBUG - Requesting: http://10.0.0.249:8082/project/1ba6f6ec-bcf7-49ab-babd-8886d518d9f0 2026-10-28 12:48:09,430 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb7f104d-7caa-4877-9df0-539ac7fb32c6 2026-10-28 12:48:09,440 - DEBUG - ==>Verifying data for policy with id: ee1d0cdd-392d-48d7-8856-a782899f28cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-85139134', 'ctest-policy-allow-all-72988090'] 2026-10-28 12:48:09,440 - INFO - VN ctest-vn-64820698 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-28 12:48:09,441 - DEBUG - Verifying the vn in opserver 2026-10-28 12:48:09,441 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-64820698 virtual network link through opserver 10.0.0.249 2026-10-28 12:48:09,441 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-10-28 12:48:09,805 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-10-28 12:48:09,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-64820698', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-64820698?flat'} 2026-10-28 12:48:09,866 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-64820698 is found in opserver 2026-10-28 12:48:09,877 - DEBUG - Do not have enough data to verify VN in agent 2026-10-28 12:48:09,883 - DEBUG - VRF ids for VN ctest-vn-64820698: {} 2026-10-28 12:48:09,883 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-10-28 12:48:09,889 - DEBUG - Requesting: http://10.0.0.249:8082/domain/55bd3a3f-fa96-4168-a8f7-915db1d9aef0 2026-10-28 12:48:09,901 - DEBUG - Requesting: http://10.0.0.249:8082/project/1ba6f6ec-bcf7-49ab-babd-8886d518d9f0 2026-10-28 12:48:09,976 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fee75705-e38b-4610-93e7-f9e56f1b1e86 2026-10-28 12:48:09,989 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fee75705-e38b-4610-93e7-f9e56f1b1e86 2026-10-28 12:48:09,999 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/718a1994-0de1-4539-8c11-9b14b8dd875a 2026-10-28 12:48:10,007 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/718a1994-0de1-4539-8c11-9b14b8dd875a 2026-10-28 12:48:10,014 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b1af695d-0c33-4430-8d4c-677f20a5ac2a 2026-10-28 12:48:10,021 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-28 12:48:10,021 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fee75705-e38b-4610-93e7-f9e56f1b1e86 2026-10-28 12:48:10,030 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/718a1994-0de1-4539-8c11-9b14b8dd875a 2026-10-28 12:48:10,043 - INFO - Verified VN network id 13 for VN fee75705-e38b-4610-93e7-f9e56f1b1e86 2026-10-28 12:48:10,044 - INFO - Verifications in API Server for VN ctest-vn-28435865 passed 2026-10-28 12:48:10,044 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fee75705-e38b-4610-93e7-f9e56f1b1e86 2026-10-28 12:48:10,053 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/718a1994-0de1-4539-8c11-9b14b8dd875a 2026-10-28 12:48:10,060 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/718a1994-0de1-4539-8c11-9b14b8dd875a 2026-10-28 12:48:10,067 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b1af695d-0c33-4430-8d4c-677f20a5ac2a 2026-10-28 12:48:10,082 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-28435865', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85139134', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18367745288057865744', 'uuid-lslong': '10657761807002443398'}, 'enable': 'true', 'created': '2026-10-28T12:48:07', 'last-modified': '2026-10-28T12:48:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.570691'} 2026-10-28 12:48:10,089 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-28 12:48:10,090 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28435865 passed 2026-10-28 12:48:10,090 - DEBUG - ====Verifying policy data for ctest-vn-28435865 in API_Server ====== 2026-10-28 12:48:10,090 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-10-28 12:48:10,096 - DEBUG - Requesting: http://10.0.0.249:8082/domain/55bd3a3f-fa96-4168-a8f7-915db1d9aef0 2026-10-28 12:48:10,108 - DEBUG - Requesting: http://10.0.0.249:8082/project/1ba6f6ec-bcf7-49ab-babd-8886d518d9f0 2026-10-28 12:48:10,184 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fee75705-e38b-4610-93e7-f9e56f1b1e86 2026-10-28 12:48:10,194 - DEBUG - ==>Verifying data for policy with id: ee1d0cdd-392d-48d7-8856-a782899f28cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-85139134', 'ctest-policy-allow-all-72988090'] 2026-10-28 12:48:10,194 - INFO - VN ctest-vn-28435865 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-28 12:48:10,195 - DEBUG - Verifying the vn in opserver 2026-10-28 12:48:10,195 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-28435865 virtual network link through opserver 10.0.0.249 2026-10-28 12:48:10,195 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-10-28 12:48:10,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-28435865', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-28435865?flat'} 2026-10-28 12:48:10,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-28435865 is found in opserver 2026-10-28 12:48:10,219 - DEBUG - Do not have enough data to verify VN in agent 2026-10-28 12:48:10,225 - DEBUG - VRF ids for VN ctest-vn-28435865: {} 2026-10-28 12:48:10,284 - DEBUG - Services list from nova: [, , ] 2026-10-28 12:48:10,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6433-1) 2026-10-28 12:48:11,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6433-1) 2026-10-28 12:48:11,257 - INFO - Waiting for VM ctest-TestBasicPolicy-85139134-79251429 to be up.. 2026-10-28 12:48:11,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:48:16,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:48:21,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:48:26,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:48:31,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:48:36,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:48:41,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:48:46,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:48:52,076 - DEBUG - VM is in ACTIVE state now 2026-10-28 12:48:52,077 - INFO - VM name : ctest-TestBasicPolicy-85139134-79251429 2026-10-28 12:48:52,171 - DEBUG - VM ctest-TestBasicPolicy-85139134-79251429 ID is f8e6e96c-7f73-4eaf-8887-7bf8361ce4db 2026-10-28 12:48:52,195 - DEBUG - VM ctest-TestBasicPolicy-85139134-79251429 launched on Node cn-jenkins-deploy-platform-ansible-os-6433-1 2026-10-28 12:48:52,293 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f8e6e96c-7f73-4eaf-8887-7bf8361ce4db 2026-10-28 12:48:52,304 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d84da5a3-9e34-4089-af5f-cd34ae123ec5 2026-10-28 12:48:55,585 - 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 1010ms') 2026-10-28 12:48:55,585 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85139134-79251429 failed! 2026-10-28 12:48:55,643 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85139134:ctest-vn-64820698 is 101.56.248.1 and allocation pool is NOT set 2026-10-28 12:48:57,711 - 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=11.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.74 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 = 2.744/7.232/11.720/4.488 ms') 2026-10-28 12:48:57,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85139134-79251429 passed 2026-10-28 12:48:57,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 12:48:57,863 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85139134-79251429, IP 101.56.248.3, Port 22 2026-10-28 12:48:57,934 - 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-10-28 12:48:58,016 - DEBUG - VM ctest-TestBasicPolicy-85139134-79251429 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-28 12:49:03,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 12:49:03,017 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85139134-79251429, IP 101.56.248.3, Port 22 2026-10-28 12:49:03,189 - DEBUG - VM ctest-TestBasicPolicy-85139134-79251429 is ready for SSH connections 2026-10-28 12:49:03,189 - INFO - Waiting for VM ctest-TestBasicPolicy-85139134-54396728 to be up.. 2026-10-28 12:49:03,278 - DEBUG - VM is in ACTIVE state now 2026-10-28 12:49:03,278 - INFO - VM name : ctest-TestBasicPolicy-85139134-54396728 2026-10-28 12:49:03,363 - DEBUG - VM ctest-TestBasicPolicy-85139134-54396728 ID is f7c8bb2a-b08a-480f-8c71-289ab1400fff 2026-10-28 12:49:03,363 - DEBUG - VM ctest-TestBasicPolicy-85139134-54396728 launched on Node cn-jenkins-deploy-platform-ansible-os-6433-1 2026-10-28 12:49:03,455 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f7c8bb2a-b08a-480f-8c71-289ab1400fff 2026-10-28 12:49:03,466 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8a1d4fa2-0e6e-4810-a1d0-7023be6e3904 2026-10-28 12:49:04,722 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/1.972/3.476/1.503 ms') 2026-10-28 12:49:04,722 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85139134-54396728 passed 2026-10-28 12:49:04,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 12:49:04,875 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85139134-54396728, IP 2.47.106.67, Port 22 2026-10-28 12:49:05,043 - DEBUG - VM ctest-TestBasicPolicy-85139134-54396728 is ready for SSH connections 2026-10-28 12:49:05,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 12:49:05,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.47.106.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-10-28 12:49:05,044 - DEBUG - ping -s 56 -c 3 -W 1 2.47.106.67 2026-10-28 12:49:09,123 - DEBUG - PING 2.47.106.67 (2.47.106.67): 56 data bytes 64 bytes from 2.47.106.67: seq=0 ttl=63 time=4.685 ms 64 bytes from 2.47.106.67: seq=1 ttl=63 time=1.042 ms 64 bytes from 2.47.106.67: seq=2 ttl=63 time=1.046 ms --- 2.47.106.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.042/2.257/4.685 ms 2026-10-28 12:49:09,123 - INFO - Ping to IP 2.47.106.67 from VM ctest-TestBasicPolicy-85139134-79251429 passed 2026-10-28 12:49:09,307 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ee1d0cdd-392d-48d7-8856-a782899f28cf", "href": "http://10.0.0.249:8082/network-policy/ee1d0cdd-392d-48d7-8856-a782899f28cf"}} 2026-10-28 12:49:09,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 12:49:09,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.47.106.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-10-28 12:49:09,307 - DEBUG - ping -s 56 -c 3 -W 1 2.47.106.67 2026-10-28 12:49:12,457 - DEBUG - PING 2.47.106.67 (2.47.106.67): 56 data bytes 64 bytes from 2.47.106.67: seq=0 ttl=63 time=1.545 ms --- 2.47.106.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.545/1.545/1.545 ms 2026-10-28 12:49:12,458 - WARNING - Ping to IP 2.47.106.67 from VM ctest-TestBasicPolicy-85139134-79251429 failed 2026-10-28 12:49:12,458 - INFO - Deleting VM ctest-TestBasicPolicy-85139134-54396728 2026-10-28 12:49:12,555 - INFO - Deleting VM ctest-TestBasicPolicy-85139134-79251429 2026-10-28 12:49:12,940 - INFO - Deleted policy ctest-policy-allow-all-72988090 2026-10-28 12:49:12,940 - INFO - Deleting VN ctest-vn-28435865 2026-10-28 12:49:12,982 - DEBUG - VN fee75705-e38b-4610-93e7-f9e56f1b1e86 still in use: Unable to complete operation on network fee75705-e38b-4610-93e7-f9e56f1b1e86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f159619a-52ee-4659-bd03-5c5863c9ca9d'] 2026-10-28 12:49:12,982 - WARNING - Deleting VN ctest-vn-28435865 failed..Will retry 2026-10-28 12:49:15,018 - DEBUG - VN fee75705-e38b-4610-93e7-f9e56f1b1e86 still in use: Unable to complete operation on network fee75705-e38b-4610-93e7-f9e56f1b1e86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72677e24-7158-4110-86d7-9a66764fc095'] 2026-10-28 12:49:15,018 - WARNING - Deleting VN ctest-vn-28435865 failed..Will retry 2026-10-28 12:49:17,154 - DEBUG - Response for deleting network () 2026-10-28 12:49:17,155 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/718a1994-0de1-4539-8c11-9b14b8dd875a 2026-10-28 12:49:17,161 - DEBUG - Response Code: 404 2026-10-28 12:49:17,161 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-10-28 12:49:17,170 - DEBUG - Requesting: http://10.0.0.249:8082/domain/55bd3a3f-fa96-4168-a8f7-915db1d9aef0 2026-10-28 12:49:17,230 - DEBUG - Requesting: http://10.0.0.249:8082/project/1ba6f6ec-bcf7-49ab-babd-8886d518d9f0 2026-10-28 12:49:17,318 - INFO - Validated that VN ctest-vn-28435865 is not found in API Server 2026-10-28 12:49:17,330 - DEBUG - VN ctest-vn-28435865 is not present in Agent 10.0.0.249 2026-10-28 12:49:17,330 - INFO - Validated that VN ctest-vn-28435865 is not in any agent 2026-10-28 12:49:17,352 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28435865 info 2026-10-28 12:49:17,352 - INFO - Deleting VN ctest-vn-64820698 2026-10-28 12:49:17,471 - DEBUG - Response for deleting network () 2026-10-28 12:49:17,471 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3cd27e82-e081-4fa1-9ac8-be3153eabadb 2026-10-28 12:49:17,478 - DEBUG - Response Code: 404 2026-10-28 12:49:17,478 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-10-28 12:49:17,491 - DEBUG - Requesting: http://10.0.0.249:8082/domain/55bd3a3f-fa96-4168-a8f7-915db1d9aef0 2026-10-28 12:49:17,553 - DEBUG - Requesting: http://10.0.0.249:8082/project/1ba6f6ec-bcf7-49ab-babd-8886d518d9f0 2026-10-28 12:49:17,632 - INFO - Validated that VN ctest-vn-64820698 is not found in API Server 2026-10-28 12:49:17,645 - DEBUG - VN ctest-vn-64820698 is not present in Agent 10.0.0.249 2026-10-28 12:49:17,645 - INFO - Validated that VN ctest-vn-64820698 is not in any agent 2026-10-28 12:49:17,666 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64820698 info 2026-10-28 12:49:17,940 - DEBUG - No XMPP flaps were noticed during the test
2026-10-28 12:49:17,940 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-10-28 12:49:17,940 - INFO - -------------------------------------------------------------------------------- 2026-10-28 12:49:18,726 - INFO - Deleted project: ctest-TestBasicPolicy-85139134, ID : 1ba6f6ec-bcf7-49ab-babd-8886d518d9f0