2025-06-12 02:19:55,840 - INFO - Domain Default found not creating 2025-06-12 02:19:55,990 - INFO - Project ctest-TestBasicPolicy-26647523 not found, creating it 2025-06-12 02:19:56,447 - INFO - Created Project:ctest-TestBasicPolicy-26647523, ID : 946e9a3e-8e1b-457f-84ca-3ef4a638a372 2025-06-12 02:19:57,931 - INFO - ================================================================================ 2025-06-12 02:19:57,931 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-12 02:19:57,931 - 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-06-12 02:19:58,186 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.202': '0'}} with 2025-06-12 02:19:58,186 - INFO - Initial checks done. Running the testcase now 2025-06-12 02:19:58,186 - INFO - 2025-06-12 02:19:58,727 - DEBUG - Response for create_network : {'network': {'id': '909d5d06-d75b-48d8-ba86-3e9eada47f72', 'name': 'ctest-vn-90466088', 'tenant_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'project_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26647523', 'ctest-vn-90466088'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:19:58,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '515c086a-ea36-477b-98c2-112ac1e4467b', 'name': '', 'tenant_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'network_id': '909d5d06-d75b-48d8-ba86-3e9eada47f72', 'ip_version': 4, 'cidr': '36.35.225.0/26', 'allocation_pools': [{'start': '36.35.225.2', 'end': '36.35.225.62'}], 'gateway_ip': '36.35.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.35.225.2', 'tags': [], 'project_id': '946e9a3e8e1b457f84ca3ef4a638a372'}} 2025-06-12 02:19:58,953 - INFO - Created VN ctest-vn-90466088 2025-06-12 02:19:59,008 - DEBUG - VN ctest-vn-90466088 UUID is 909d5d06-d75b-48d8-ba86-3e9eada47f72 2025-06-12 02:19:59,300 - DEBUG - Response for create_network : {'network': {'id': '1121e462-ab15-4146-b817-326401c248f8', 'name': 'ctest-vn-20906711', 'tenant_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'project_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26647523', 'ctest-vn-20906711'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:19:59,462 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a91b2fa2-d5da-4de5-8c4d-8336f59588d9', 'name': '', 'tenant_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'network_id': '1121e462-ab15-4146-b817-326401c248f8', 'ip_version': 4, 'cidr': '146.226.137.128/26', 'allocation_pools': [{'start': '146.226.137.130', 'end': '146.226.137.190'}], 'gateway_ip': '146.226.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.226.137.130', 'tags': [], 'project_id': '946e9a3e8e1b457f84ca3ef4a638a372'}} 2025-06-12 02:19:59,481 - INFO - Created VN ctest-vn-20906711 2025-06-12 02:19:59,535 - DEBUG - VN ctest-vn-20906711 UUID is 1121e462-ab15-4146-b817-326401c248f8 2025-06-12 02:19:59,651 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-90466088, 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-26647523:ctest-vn-20906711, 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-06-12 02:19:59,973 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '909d5d06-d75b-48d8-ba86-3e9eada47f72', 'name': 'ctest-vn-90466088', 'tenant_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'project_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['515c086a-ea36-477b-98c2-112ac1e4467b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26647523', 'ctest-vn-90466088'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26647523', 'ctest-policy-allow-all-32045757']], 'subnet_ipam': [{'subnet_cidr': '36.35.225.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:20:00,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1121e462-ab15-4146-b817-326401c248f8', 'name': 'ctest-vn-20906711', 'tenant_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'project_id': '946e9a3e8e1b457f84ca3ef4a638a372', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a91b2fa2-d5da-4de5-8c4d-8336f59588d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26647523', 'ctest-vn-20906711'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26647523', 'ctest-policy-allow-all-32045757']], 'subnet_ipam': [{'subnet_cidr': '146.226.137.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:20:00,407 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-12 02:20:00,713 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-12 02:20:00,749 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0d574b80-4e7f-4a9e-9842-4f35956bf8a2 2025-06-12 02:20:00,766 - DEBUG - Requesting: http://10.0.0.254:8082/project/946e9a3e-8e1b-457f-84ca-3ef4a638a372 2025-06-12 02:20:00,844 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/909d5d06-d75b-48d8-ba86-3e9eada47f72 2025-06-12 02:20:00,858 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/909d5d06-d75b-48d8-ba86-3e9eada47f72 2025-06-12 02:20:00,872 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cd6c061a-cc18-4c26-85ca-99a2fc716294 2025-06-12 02:20:00,881 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cd6c061a-cc18-4c26-85ca-99a2fc716294 2025-06-12 02:20:00,891 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6546bb9-3499-4359-8760-fcb29461d819 2025-06-12 02:20:00,899 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-12 02:20:00,899 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/909d5d06-d75b-48d8-ba86-3e9eada47f72 2025-06-12 02:20:00,911 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cd6c061a-cc18-4c26-85ca-99a2fc716294 2025-06-12 02:20:00,938 - INFO - Verified VN network id 8 for VN 909d5d06-d75b-48d8-ba86-3e9eada47f72 2025-06-12 02:20:00,938 - INFO - Verifications in API Server for VN ctest-vn-90466088 passed 2025-06-12 02:20:00,938 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/909d5d06-d75b-48d8-ba86-3e9eada47f72 2025-06-12 02:20:00,954 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cd6c061a-cc18-4c26-85ca-99a2fc716294 2025-06-12 02:20:00,964 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cd6c061a-cc18-4c26-85ca-99a2fc716294 2025-06-12 02:20:00,972 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6546bb9-3499-4359-8760-fcb29461d819 2025-06-12 02:20:00,988 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-90466088', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26647523', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10420587396769466584', 'uuid-lslong': '13440498989172817778'}, 'enable': 'true', 'created': '2025-06-12T02:19:58', 'last-modified': '2025-06-12T02:19:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.046658'} 2025-06-12 02:20:00,997 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-12 02:20:00,997 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90466088 passed 2025-06-12 02:20:00,997 - DEBUG - ====Verifying policy data for ctest-vn-90466088 in API_Server ====== 2025-06-12 02:20:00,998 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-12 02:20:01,005 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0d574b80-4e7f-4a9e-9842-4f35956bf8a2 2025-06-12 02:20:01,018 - DEBUG - Requesting: http://10.0.0.254:8082/project/946e9a3e-8e1b-457f-84ca-3ef4a638a372 2025-06-12 02:20:01,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/909d5d06-d75b-48d8-ba86-3e9eada47f72 2025-06-12 02:20:01,127 - DEBUG - ==>Verifying data for policy with id: 83d34a50-0662-4e4b-ac6d-2b7b10118368, fqn: ['default-domain', 'ctest-TestBasicPolicy-26647523', 'ctest-policy-allow-all-32045757'] 2025-06-12 02:20:01,127 - INFO - VN ctest-vn-90466088 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-12 02:20:01,128 - DEBUG - Verifying the vn in opserver 2025-06-12 02:20:01,128 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-90466088 virtual network link through opserver 10.0.0.254 2025-06-12 02:20:01,128 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-12 02:20:01,429 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-12 02:20:01,491 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-90466088', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-90466088?flat'} 2025-06-12 02:20:01,491 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-90466088 is found in opserver 2025-06-12 02:20:01,504 - DEBUG - Do not have enough data to verify VN in agent 2025-06-12 02:20:01,510 - DEBUG - VRF ids for VN ctest-vn-90466088: {} 2025-06-12 02:20:01,510 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-12 02:20:01,517 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0d574b80-4e7f-4a9e-9842-4f35956bf8a2 2025-06-12 02:20:01,531 - DEBUG - Requesting: http://10.0.0.254:8082/project/946e9a3e-8e1b-457f-84ca-3ef4a638a372 2025-06-12 02:20:01,614 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1121e462-ab15-4146-b817-326401c248f8 2025-06-12 02:20:01,629 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1121e462-ab15-4146-b817-326401c248f8 2025-06-12 02:20:01,640 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5c1e4506-f71e-4682-bbba-cc90e437f50a 2025-06-12 02:20:01,649 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5c1e4506-f71e-4682-bbba-cc90e437f50a 2025-06-12 02:20:01,658 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e27146ac-1f30-4741-8d74-41fd748d9789 2025-06-12 02:20:01,666 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-12 02:20:01,666 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1121e462-ab15-4146-b817-326401c248f8 2025-06-12 02:20:01,675 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5c1e4506-f71e-4682-bbba-cc90e437f50a 2025-06-12 02:20:01,692 - INFO - Verified VN network id 9 for VN 1121e462-ab15-4146-b817-326401c248f8 2025-06-12 02:20:01,692 - INFO - Verifications in API Server for VN ctest-vn-20906711 passed 2025-06-12 02:20:01,692 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1121e462-ab15-4146-b817-326401c248f8 2025-06-12 02:20:01,706 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5c1e4506-f71e-4682-bbba-cc90e437f50a 2025-06-12 02:20:01,716 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5c1e4506-f71e-4682-bbba-cc90e437f50a 2025-06-12 02:20:01,726 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e27146ac-1f30-4741-8d74-41fd748d9789 2025-06-12 02:20:01,742 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-20906711', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26647523', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1234518885304451398', 'uuid-lslong': '13265126632550713592'}, 'enable': 'true', 'created': '2025-06-12T02:19:59', 'last-modified': '2025-06-12T02:20:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.534704'} 2025-06-12 02:20:01,749 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-12 02:20:01,749 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20906711 passed 2025-06-12 02:20:01,749 - DEBUG - ====Verifying policy data for ctest-vn-20906711 in API_Server ====== 2025-06-12 02:20:01,749 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-12 02:20:01,756 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0d574b80-4e7f-4a9e-9842-4f35956bf8a2 2025-06-12 02:20:01,769 - DEBUG - Requesting: http://10.0.0.254:8082/project/946e9a3e-8e1b-457f-84ca-3ef4a638a372 2025-06-12 02:20:01,853 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1121e462-ab15-4146-b817-326401c248f8 2025-06-12 02:20:01,868 - DEBUG - ==>Verifying data for policy with id: 83d34a50-0662-4e4b-ac6d-2b7b10118368, fqn: ['default-domain', 'ctest-TestBasicPolicy-26647523', 'ctest-policy-allow-all-32045757'] 2025-06-12 02:20:01,868 - INFO - VN ctest-vn-20906711 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-12 02:20:01,868 - DEBUG - Verifying the vn in opserver 2025-06-12 02:20:01,869 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-20906711 virtual network link through opserver 10.0.0.254 2025-06-12 02:20:01,869 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-12 02:20:01,884 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-20906711', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-20906711?flat'} 2025-06-12 02:20:01,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-20906711 is found in opserver 2025-06-12 02:20:01,904 - DEBUG - Do not have enough data to verify VN in agent 2025-06-12 02:20:01,912 - DEBUG - VRF ids for VN ctest-vn-20906711: {} 2025-06-12 02:20:01,987 - DEBUG - Services list from nova: [, , ] 2025-06-12 02:20:03,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3450-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3450-1) 2025-06-12 02:20:04,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3450-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3450-1) 2025-06-12 02:20:04,319 - INFO - Waiting for VM ctest-TestBasicPolicy-26647523-11838240 to be up.. 2025-06-12 02:20:04,408 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-12 02:20:09,491 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:20:09,491 - INFO - VM name : ctest-TestBasicPolicy-26647523-11838240 2025-06-12 02:20:09,575 - DEBUG - VM ctest-TestBasicPolicy-26647523-11838240 ID is b3b89f60-f2a3-4c75-9678-55eb8269c688 2025-06-12 02:20:09,595 - DEBUG - VM ctest-TestBasicPolicy-26647523-11838240 launched on Node cn-jenkins-deploy-platform-ansible-os-3450-1 2025-06-12 02:20:09,692 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b3b89f60-f2a3-4c75-9678-55eb8269c688 2025-06-12 02:20:09,702 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a26da513-0b6c-4337-8d9a-9cef3f52e633 2025-06-12 02:20:12,977 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-06-12 02:20:12,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26647523-11838240 failed! 2025-06-12 02:20:13,031 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26647523:ctest-vn-90466088 is 36.35.225.1 and allocation pool is NOT set 2025-06-12 02:20:15,094 - 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=7.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.602 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 = 0.602/4.292/7.983/3.690 ms') 2025-06-12 02:20:15,095 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26647523-11838240 passed 2025-06-12 02:20:15,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:20:15,264 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26647523-11838240, IP 36.35.225.3, Port 22 2025-06-12 02:20:15,434 - DEBUG - VM ctest-TestBasicPolicy-26647523-11838240 is ready for SSH connections 2025-06-12 02:20:15,434 - INFO - Waiting for VM ctest-TestBasicPolicy-26647523-48323996 to be up.. 2025-06-12 02:20:15,520 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:20:15,520 - INFO - VM name : ctest-TestBasicPolicy-26647523-48323996 2025-06-12 02:20:15,598 - DEBUG - VM ctest-TestBasicPolicy-26647523-48323996 ID is d58c3c43-a33d-455b-9b3b-fe6071763c69 2025-06-12 02:20:15,598 - DEBUG - VM ctest-TestBasicPolicy-26647523-48323996 launched on Node cn-jenkins-deploy-platform-ansible-os-3450-1 2025-06-12 02:20:15,699 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d58c3c43-a33d-455b-9b3b-fe6071763c69 2025-06-12 02:20:15,708 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/af66a00e-411a-4302-b1b6-5acb560fa2ff 2025-06-12 02:20:16,953 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.555 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.555/1.841/3.127/1.286 ms') 2025-06-12 02:20:16,953 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26647523-48323996 passed 2025-06-12 02:20:17,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:20:17,111 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26647523-48323996, IP 146.226.137.131, Port 22 2025-06-12 02:20:17,285 - DEBUG - VM ctest-TestBasicPolicy-26647523-48323996 is ready for SSH connections 2025-06-12 02:20:17,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:20:17,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.226.137.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-12 02:20:17,286 - DEBUG - ping -s 56 -c 3 -W 1 146.226.137.131 2025-06-12 02:20:20,957 - DEBUG - PING 146.226.137.131 (146.226.137.131): 56 data bytes 64 bytes from 146.226.137.131: seq=0 ttl=63 time=3.931 ms 64 bytes from 146.226.137.131: seq=1 ttl=63 time=1.093 ms 64 bytes from 146.226.137.131: seq=2 ttl=63 time=0.778 ms --- 146.226.137.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.934/3.931 ms 2025-06-12 02:20:20,957 - INFO - Ping to IP 146.226.137.131 from VM ctest-TestBasicPolicy-26647523-11838240 passed 2025-06-12 02:20:21,135 - DEBUG - Policy Update Response {"network-policy": {"uuid": "83d34a50-0662-4e4b-ac6d-2b7b10118368", "href": "http://10.0.0.254:8082/network-policy/83d34a50-0662-4e4b-ac6d-2b7b10118368"}} 2025-06-12 02:20:21,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:20:21,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.226.137.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-12 02:20:21,136 - DEBUG - ping -s 56 -c 3 -W 1 146.226.137.131 2025-06-12 02:20:24,350 - DEBUG - PING 146.226.137.131 (146.226.137.131): 56 data bytes --- 146.226.137.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-12 02:20:24,350 - WARNING - Ping to IP 146.226.137.131 from VM ctest-TestBasicPolicy-26647523-11838240 failed 2025-06-12 02:20:24,350 - INFO - Deleting VM ctest-TestBasicPolicy-26647523-48323996 2025-06-12 02:20:24,416 - INFO - Deleting VM ctest-TestBasicPolicy-26647523-11838240 2025-06-12 02:20:24,784 - INFO - Deleted policy ctest-policy-allow-all-32045757 2025-06-12 02:20:24,784 - INFO - Deleting VN ctest-vn-20906711 2025-06-12 02:20:24,825 - DEBUG - VN 1121e462-ab15-4146-b817-326401c248f8 still in use: Unable to complete operation on network 1121e462-ab15-4146-b817-326401c248f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6fad697-fbe9-4cef-b9fb-788e0022bb3a'] 2025-06-12 02:20:24,825 - WARNING - Deleting VN ctest-vn-20906711 failed..Will retry 2025-06-12 02:20:26,935 - DEBUG - Response for deleting network () 2025-06-12 02:20:26,935 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5c1e4506-f71e-4682-bbba-cc90e437f50a 2025-06-12 02:20:26,944 - DEBUG - Response Code: 404 2025-06-12 02:20:26,944 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-12 02:20:26,950 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0d574b80-4e7f-4a9e-9842-4f35956bf8a2 2025-06-12 02:20:27,011 - DEBUG - Requesting: http://10.0.0.254:8082/project/946e9a3e-8e1b-457f-84ca-3ef4a638a372 2025-06-12 02:20:27,086 - INFO - Validated that VN ctest-vn-20906711 is not found in API Server 2025-06-12 02:20:27,097 - DEBUG - VN ctest-vn-20906711 is not present in Agent 10.0.0.254 2025-06-12 02:20:27,098 - INFO - Validated that VN ctest-vn-20906711 is not in any agent 2025-06-12 02:20:27,114 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20906711 info 2025-06-12 02:20:27,114 - INFO - Deleting VN ctest-vn-90466088 2025-06-12 02:20:27,230 - DEBUG - Response for deleting network () 2025-06-12 02:20:27,230 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cd6c061a-cc18-4c26-85ca-99a2fc716294 2025-06-12 02:20:27,236 - DEBUG - Response Code: 404 2025-06-12 02:20:27,237 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-12 02:20:27,243 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0d574b80-4e7f-4a9e-9842-4f35956bf8a2 2025-06-12 02:20:27,301 - DEBUG - Requesting: http://10.0.0.254:8082/project/946e9a3e-8e1b-457f-84ca-3ef4a638a372 2025-06-12 02:20:27,378 - INFO - Validated that VN ctest-vn-90466088 is not found in API Server 2025-06-12 02:20:27,389 - DEBUG - VN ctest-vn-90466088 is not present in Agent 10.0.0.254 2025-06-12 02:20:27,389 - INFO - Validated that VN ctest-vn-90466088 is not in any agent 2025-06-12 02:20:27,406 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90466088 info 2025-06-12 02:20:27,662 - DEBUG - No XMPP flaps were noticed during the test 2025-06-12 02:20:27,662 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-12 02:20:27,662 - INFO - -------------------------------------------------------------------------------- 2025-06-12 02:20:28,969 - INFO - Deleted project: ctest-TestBasicPolicy-26647523, ID : 946e9a3e-8e1b-457f-84ca-3ef4a638a372