2025-10-22 06:08:21,615 - INFO - Domain Default found not creating 2025-10-22 06:08:21,749 - INFO - Project ctest-TestBasicPolicy-53148255 not found, creating it 2025-10-22 06:08:22,178 - INFO - Created Project:ctest-TestBasicPolicy-53148255, ID : d14c21c3-c13a-43c8-9067-55d5b33be853 2025-10-22 06:08:23,561 - INFO - ================================================================================ 2025-10-22 06:08:23,562 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 06:08:23,562 - 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 2025-10-22 06:08:23,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 06:08:23,819 - INFO - Initial checks done. Running the testcase now 2025-10-22 06:08:23,819 - INFO - 2025-10-22 06:08:24,337 - DEBUG - Response for create_network : {'network': {'id': 'a8e6489f-d429-4a4b-8143-c402ce001845', 'name': 'ctest-vn-87539014', 'tenant_id': 'd14c21c3c13a43c8906755d5b33be853', 'project_id': 'd14c21c3c13a43c8906755d5b33be853', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53148255', 'ctest-vn-87539014'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:08:24,539 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e23fdf6d-d133-49cd-9876-c40b7734b911', 'name': '', 'tenant_id': 'd14c21c3c13a43c8906755d5b33be853', 'network_id': 'a8e6489f-d429-4a4b-8143-c402ce001845', 'ip_version': 4, 'cidr': '11.84.111.0/26', 'allocation_pools': [{'start': '11.84.111.2', 'end': '11.84.111.62'}], 'gateway_ip': '11.84.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.84.111.2', 'tags': [], 'project_id': 'd14c21c3c13a43c8906755d5b33be853'}} 2025-10-22 06:08:24,556 - INFO - Created VN ctest-vn-87539014 2025-10-22 06:08:24,609 - DEBUG - VN ctest-vn-87539014 UUID is a8e6489f-d429-4a4b-8143-c402ce001845 2025-10-22 06:08:24,913 - DEBUG - Response for create_network : {'network': {'id': 'f77c15c1-2d8f-4a46-8e07-496b1e0b02b8', 'name': 'ctest-vn-50301178', 'tenant_id': 'd14c21c3c13a43c8906755d5b33be853', 'project_id': 'd14c21c3c13a43c8906755d5b33be853', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53148255', 'ctest-vn-50301178'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:08:25,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '7690d2de-cd03-437c-873f-8ee92a703265', 'name': '', 'tenant_id': 'd14c21c3c13a43c8906755d5b33be853', 'network_id': 'f77c15c1-2d8f-4a46-8e07-496b1e0b02b8', 'ip_version': 4, 'cidr': '95.199.244.128/26', 'allocation_pools': [{'start': '95.199.244.130', 'end': '95.199.244.190'}], 'gateway_ip': '95.199.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.199.244.130', 'tags': [], 'project_id': 'd14c21c3c13a43c8906755d5b33be853'}} 2025-10-22 06:08:25,113 - INFO - Created VN ctest-vn-50301178 2025-10-22 06:08:25,165 - DEBUG - VN ctest-vn-50301178 UUID is f77c15c1-2d8f-4a46-8e07-496b1e0b02b8 2025-10-22 06:08:25,313 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-87539014, 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-53148255:ctest-vn-50301178, 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] 2025-10-22 06:08:25,600 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8e6489f-d429-4a4b-8143-c402ce001845', 'name': 'ctest-vn-87539014', 'tenant_id': 'd14c21c3c13a43c8906755d5b33be853', 'project_id': 'd14c21c3c13a43c8906755d5b33be853', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e23fdf6d-d133-49cd-9876-c40b7734b911'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53148255', 'ctest-vn-87539014'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53148255', 'ctest-policy-allow-all-38607757']], 'subnet_ipam': [{'subnet_cidr': '11.84.111.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:08:25,822 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f77c15c1-2d8f-4a46-8e07-496b1e0b02b8', 'name': 'ctest-vn-50301178', 'tenant_id': 'd14c21c3c13a43c8906755d5b33be853', 'project_id': 'd14c21c3c13a43c8906755d5b33be853', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7690d2de-cd03-437c-873f-8ee92a703265'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53148255', 'ctest-vn-50301178'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53148255', 'ctest-policy-allow-all-38607757']], 'subnet_ipam': [{'subnet_cidr': '95.199.244.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:08:25,989 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 06:08:26,279 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 06:08:26,306 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1d874f2c-89f6-444b-9223-fe94ba4918d1 2025-10-22 06:08:26,319 - DEBUG - Requesting: http://10.0.0.254:8082/project/d14c21c3-c13a-43c8-9067-55d5b33be853 2025-10-22 06:08:26,389 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8e6489f-d429-4a4b-8143-c402ce001845 2025-10-22 06:08:26,398 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8e6489f-d429-4a4b-8143-c402ce001845 2025-10-22 06:08:26,406 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1b3c28ea-ff34-471d-8a9c-cee0a5dab076 2025-10-22 06:08:26,412 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1b3c28ea-ff34-471d-8a9c-cee0a5dab076 2025-10-22 06:08:26,417 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2c2f12ee-6b40-4c6c-9b4e-1247d29b05e7 2025-10-22 06:08:26,422 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 06:08:26,422 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8e6489f-d429-4a4b-8143-c402ce001845 2025-10-22 06:08:26,429 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1b3c28ea-ff34-471d-8a9c-cee0a5dab076 2025-10-22 06:08:26,441 - INFO - Verified VN network id 12 for VN a8e6489f-d429-4a4b-8143-c402ce001845 2025-10-22 06:08:26,441 - INFO - Verifications in API Server for VN ctest-vn-87539014 passed 2025-10-22 06:08:26,441 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8e6489f-d429-4a4b-8143-c402ce001845 2025-10-22 06:08:26,448 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1b3c28ea-ff34-471d-8a9c-cee0a5dab076 2025-10-22 06:08:26,453 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1b3c28ea-ff34-471d-8a9c-cee0a5dab076 2025-10-22 06:08:26,459 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2c2f12ee-6b40-4c6c-9b4e-1247d29b05e7 2025-10-22 06:08:26,468 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-87539014', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53148255', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12170494894311819851', 'uuid-lslong': '9314503970657409093'}, 'enable': 'true', 'created': '2025-10-22T06:08:24', 'last-modified': '2025-10-22T06:08:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890790'} 2025-10-22 06:08:26,473 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 06:08:26,473 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87539014 passed 2025-10-22 06:08:26,473 - DEBUG - ====Verifying policy data for ctest-vn-87539014 in API_Server ====== 2025-10-22 06:08:26,473 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 06:08:26,477 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1d874f2c-89f6-444b-9223-fe94ba4918d1 2025-10-22 06:08:26,488 - DEBUG - Requesting: http://10.0.0.254:8082/project/d14c21c3-c13a-43c8-9067-55d5b33be853 2025-10-22 06:08:26,553 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8e6489f-d429-4a4b-8143-c402ce001845 2025-10-22 06:08:26,561 - DEBUG - ==>Verifying data for policy with id: 1b4f39aa-ec64-4226-84af-b19d846b82e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-53148255', 'ctest-policy-allow-all-38607757'] 2025-10-22 06:08:26,561 - INFO - VN ctest-vn-87539014 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 06:08:26,561 - DEBUG - Verifying the vn in opserver 2025-10-22 06:08:26,561 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-87539014 virtual network link through opserver 10.0.0.254 2025-10-22 06:08:26,561 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 06:08:26,852 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 06:08:26,903 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-87539014', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-87539014?flat'} 2025-10-22 06:08:26,903 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-87539014 is found in opserver 2025-10-22 06:08:26,913 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 06:08:26,917 - DEBUG - VRF ids for VN ctest-vn-87539014: {} 2025-10-22 06:08:26,917 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 06:08:26,923 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1d874f2c-89f6-444b-9223-fe94ba4918d1 2025-10-22 06:08:26,936 - DEBUG - Requesting: http://10.0.0.254:8082/project/d14c21c3-c13a-43c8-9067-55d5b33be853 2025-10-22 06:08:27,007 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f77c15c1-2d8f-4a46-8e07-496b1e0b02b8 2025-10-22 06:08:27,017 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f77c15c1-2d8f-4a46-8e07-496b1e0b02b8 2025-10-22 06:08:27,024 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7cdb3505-6986-470f-b565-d38975dc588c 2025-10-22 06:08:27,030 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7cdb3505-6986-470f-b565-d38975dc588c 2025-10-22 06:08:27,034 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/25e54a48-4266-489b-a0dd-91be5863cff2 2025-10-22 06:08:27,039 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 06:08:27,039 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f77c15c1-2d8f-4a46-8e07-496b1e0b02b8 2025-10-22 06:08:27,046 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7cdb3505-6986-470f-b565-d38975dc588c 2025-10-22 06:08:27,056 - INFO - Verified VN network id 13 for VN f77c15c1-2d8f-4a46-8e07-496b1e0b02b8 2025-10-22 06:08:27,056 - INFO - Verifications in API Server for VN ctest-vn-50301178 passed 2025-10-22 06:08:27,057 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f77c15c1-2d8f-4a46-8e07-496b1e0b02b8 2025-10-22 06:08:27,064 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7cdb3505-6986-470f-b565-d38975dc588c 2025-10-22 06:08:27,069 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7cdb3505-6986-470f-b565-d38975dc588c 2025-10-22 06:08:27,074 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/25e54a48-4266-489b-a0dd-91be5863cff2 2025-10-22 06:08:27,083 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-50301178', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53148255', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17833152543917558342', 'uuid-lslong': '10234229402637107896'}, 'enable': 'true', 'created': '2025-10-22T06:08:24', 'last-modified': '2025-10-22T06:08:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.282546'} 2025-10-22 06:08:27,088 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 06:08:27,088 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50301178 passed 2025-10-22 06:08:27,088 - DEBUG - ====Verifying policy data for ctest-vn-50301178 in API_Server ====== 2025-10-22 06:08:27,088 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 06:08:27,092 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1d874f2c-89f6-444b-9223-fe94ba4918d1 2025-10-22 06:08:27,102 - DEBUG - Requesting: http://10.0.0.254:8082/project/d14c21c3-c13a-43c8-9067-55d5b33be853 2025-10-22 06:08:27,171 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f77c15c1-2d8f-4a46-8e07-496b1e0b02b8 2025-10-22 06:08:27,180 - DEBUG - ==>Verifying data for policy with id: 1b4f39aa-ec64-4226-84af-b19d846b82e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-53148255', 'ctest-policy-allow-all-38607757'] 2025-10-22 06:08:27,180 - INFO - VN ctest-vn-50301178 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 06:08:27,180 - DEBUG - Verifying the vn in opserver 2025-10-22 06:08:27,180 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-50301178 virtual network link through opserver 10.0.0.254 2025-10-22 06:08:27,180 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 06:08:27,189 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-50301178', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-50301178?flat'} 2025-10-22 06:08:27,189 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-50301178 is found in opserver 2025-10-22 06:08:27,197 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 06:08:27,201 - DEBUG - VRF ids for VN ctest-vn-50301178: {} 2025-10-22 06:08:27,254 - DEBUG - Services list from nova: [, , ] 2025-10-22 06:08:28,259 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4411-1) 2025-10-22 06:08:29,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4411-1) 2025-10-22 06:08:29,326 - INFO - Waiting for VM ctest-TestBasicPolicy-53148255-82059569 to be up.. 2025-10-22 06:08:29,410 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 06:08:34,485 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:08:34,485 - INFO - VM name : ctest-TestBasicPolicy-53148255-82059569 2025-10-22 06:08:34,560 - DEBUG - VM ctest-TestBasicPolicy-53148255-82059569 ID is 31c1b656-6d5a-4b7b-b42d-3ade0cfdf587 2025-10-22 06:08:34,580 - DEBUG - VM ctest-TestBasicPolicy-53148255-82059569 launched on Node cn-jenkins-deploy-platform-ansible-os-4411-1 2025-10-22 06:08:34,647 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/31c1b656-6d5a-4b7b-b42d-3ade0cfdf587 2025-10-22 06:08:34,655 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8fa76faf-2405-4346-bccd-5a8e09097e43 2025-10-22 06:08:37,896 - 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 1011ms') 2025-10-22 06:08:37,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53148255-82059569 failed! 2025-10-22 06:08:37,949 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53148255:ctest-vn-87539014 is 11.84.111.1 and allocation pool is NOT set 2025-10-22 06:08:40,013 - 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=1.77 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 = 1.771/3.122/4.474/1.351 ms') 2025-10-22 06:08:40,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53148255-82059569 passed 2025-10-22 06:08:40,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:08:40,161 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53148255-82059569, IP 11.84.111.3, Port 22 2025-10-22 06:08:40,317 - DEBUG - VM ctest-TestBasicPolicy-53148255-82059569 is ready for SSH connections 2025-10-22 06:08:40,317 - INFO - Waiting for VM ctest-TestBasicPolicy-53148255-56608678 to be up.. 2025-10-22 06:08:40,382 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:08:40,382 - INFO - VM name : ctest-TestBasicPolicy-53148255-56608678 2025-10-22 06:08:40,454 - DEBUG - VM ctest-TestBasicPolicy-53148255-56608678 ID is 0c6ba8a1-1546-4c02-b0b1-f0411f164c54 2025-10-22 06:08:40,454 - DEBUG - VM ctest-TestBasicPolicy-53148255-56608678 launched on Node cn-jenkins-deploy-platform-ansible-os-4411-1 2025-10-22 06:08:40,625 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0c6ba8a1-1546-4c02-b0b1-f0411f164c54 2025-10-22 06:08:40,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bf35421a-19a7-46b6-a6cb-4b3b9fabaa6e 2025-10-22 06:08:41,865 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.845/3.246/1.401 ms') 2025-10-22 06:08:41,865 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53148255-56608678 passed 2025-10-22 06:08:42,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:08:42,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53148255-56608678, IP 95.199.244.131, Port 22 2025-10-22 06:08:42,173 - DEBUG - VM ctest-TestBasicPolicy-53148255-56608678 is ready for SSH connections 2025-10-22 06:08:42,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:08:42,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.199.244.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 06:08:42,173 - DEBUG - ping -s 56 -c 3 -W 1 95.199.244.131 2025-10-22 06:08:45,872 - DEBUG - PING 95.199.244.131 (95.199.244.131): 56 data bytes 64 bytes from 95.199.244.131: seq=0 ttl=63 time=3.348 ms 64 bytes from 95.199.244.131: seq=1 ttl=63 time=0.820 ms 64 bytes from 95.199.244.131: seq=2 ttl=63 time=0.756 ms --- 95.199.244.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/1.641/3.348 ms 2025-10-22 06:08:45,872 - INFO - Ping to IP 95.199.244.131 from VM ctest-TestBasicPolicy-53148255-82059569 passed 2025-10-22 06:08:46,045 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1b4f39aa-ec64-4226-84af-b19d846b82e3", "href": "http://10.0.0.254:8082/network-policy/1b4f39aa-ec64-4226-84af-b19d846b82e3"}} 2025-10-22 06:08:46,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:08:46,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.199.244.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 06:08:46,045 - DEBUG - ping -s 56 -c 3 -W 1 95.199.244.131 2025-10-22 06:08:49,257 - DEBUG - PING 95.199.244.131 (95.199.244.131): 56 data bytes --- 95.199.244.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 06:08:49,257 - WARNING - Ping to IP 95.199.244.131 from VM ctest-TestBasicPolicy-53148255-82059569 failed 2025-10-22 06:08:49,257 - INFO - Deleting VM ctest-TestBasicPolicy-53148255-56608678 2025-10-22 06:08:49,318 - INFO - Deleting VM ctest-TestBasicPolicy-53148255-82059569 2025-10-22 06:08:49,650 - INFO - Deleted policy ctest-policy-allow-all-38607757 2025-10-22 06:08:49,650 - INFO - Deleting VN ctest-vn-50301178 2025-10-22 06:08:49,684 - DEBUG - VN f77c15c1-2d8f-4a46-8e07-496b1e0b02b8 still in use: Unable to complete operation on network f77c15c1-2d8f-4a46-8e07-496b1e0b02b8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c530f496-6aa4-49d9-849c-7c8a756c511e'] 2025-10-22 06:08:49,684 - WARNING - Deleting VN ctest-vn-50301178 failed..Will retry 2025-10-22 06:08:51,780 - DEBUG - Response for deleting network () 2025-10-22 06:08:51,780 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7cdb3505-6986-470f-b565-d38975dc588c 2025-10-22 06:08:51,785 - DEBUG - Response Code: 404 2025-10-22 06:08:51,785 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 06:08:51,798 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1d874f2c-89f6-444b-9223-fe94ba4918d1 2025-10-22 06:08:51,851 - DEBUG - Requesting: http://10.0.0.254:8082/project/d14c21c3-c13a-43c8-9067-55d5b33be853 2025-10-22 06:08:51,918 - INFO - Validated that VN ctest-vn-50301178 is not found in API Server 2025-10-22 06:08:51,929 - DEBUG - VN ctest-vn-50301178 is not present in Agent 10.0.0.254 2025-10-22 06:08:51,929 - INFO - Validated that VN ctest-vn-50301178 is not in any agent 2025-10-22 06:08:51,944 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50301178 info 2025-10-22 06:08:51,944 - INFO - Deleting VN ctest-vn-87539014 2025-10-22 06:08:52,055 - DEBUG - Response for deleting network () 2025-10-22 06:08:52,055 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1b3c28ea-ff34-471d-8a9c-cee0a5dab076 2025-10-22 06:08:52,059 - DEBUG - Response Code: 404 2025-10-22 06:08:52,059 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 06:08:52,064 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1d874f2c-89f6-444b-9223-fe94ba4918d1 2025-10-22 06:08:52,114 - DEBUG - Requesting: http://10.0.0.254:8082/project/d14c21c3-c13a-43c8-9067-55d5b33be853 2025-10-22 06:08:52,181 - INFO - Validated that VN ctest-vn-87539014 is not found in API Server 2025-10-22 06:08:52,192 - DEBUG - VN ctest-vn-87539014 is not present in Agent 10.0.0.254 2025-10-22 06:08:52,192 - INFO - Validated that VN ctest-vn-87539014 is not in any agent 2025-10-22 06:08:52,207 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87539014 info 2025-10-22 06:08:52,466 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 06:08:52,466 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-22 06:08:52,466 - INFO - -------------------------------------------------------------------------------- 2025-10-22 06:08:53,122 - INFO - Deleted project: ctest-TestBasicPolicy-53148255, ID : d14c21c3-c13a-43c8-9067-55d5b33be853