2026-03-19 12:16:57,201 - INFO - Domain Default found not creating 2026-03-19 12:16:57,363 - INFO - Project ctest-TestBasicPolicy-55029068 not found, creating it 2026-03-19 12:16:57,826 - INFO - Created Project:ctest-TestBasicPolicy-55029068, ID : 2ff52c65-462e-4a0a-9c5b-78a494b5d4ab 2026-03-19 12:16:59,305 - INFO - ================================================================================ 2026-03-19 12:16:59,305 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 12:16:59,305 - 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-03-19 12:16:59,564 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-03-19 12:16:59,564 - INFO - Initial checks done. Running the testcase now 2026-03-19 12:16:59,564 - INFO - 2026-03-19 12:17:00,118 - DEBUG - Response for create_network : {'network': {'id': '1bc5b376-c345-4e6b-8ace-78554966d45e', 'name': 'ctest-vn-02982523', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-vn-02982523'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 12:17:00,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '47424ad5-12ca-443c-a85e-88ef22336161', 'name': '', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'network_id': '1bc5b376-c345-4e6b-8ace-78554966d45e', 'ip_version': 4, 'cidr': '180.165.60.128/26', 'allocation_pools': [{'start': '180.165.60.130', 'end': '180.165.60.190'}], 'gateway_ip': '180.165.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.165.60.130', 'tags': [], 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab'}} 2026-03-19 12:17:00,309 - INFO - Created VN ctest-vn-02982523 2026-03-19 12:17:00,363 - DEBUG - VN ctest-vn-02982523 UUID is 1bc5b376-c345-4e6b-8ace-78554966d45e 2026-03-19 12:17:00,649 - DEBUG - Response for create_network : {'network': {'id': '4d111f32-d3b7-4718-a31c-a3bf370a3fce', 'name': 'ctest-vn-78193307', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-vn-78193307'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 12:17:00,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d845e42-43b3-4f0e-b9ae-f066bb810331', 'name': '', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'network_id': '4d111f32-d3b7-4718-a31c-a3bf370a3fce', 'ip_version': 4, 'cidr': '93.249.44.64/26', 'allocation_pools': [{'start': '93.249.44.66', 'end': '93.249.44.126'}], 'gateway_ip': '93.249.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.249.44.66', 'tags': [], 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab'}} 2026-03-19 12:17:00,818 - INFO - Created VN ctest-vn-78193307 2026-03-19 12:17:00,871 - DEBUG - VN ctest-vn-78193307 UUID is 4d111f32-d3b7-4718-a31c-a3bf370a3fce 2026-03-19 12:17:01,023 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523, 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-55029068:ctest-vn-78193307, 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-03-19 12:17:01,307 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bc5b376-c345-4e6b-8ace-78554966d45e', 'name': 'ctest-vn-02982523', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47424ad5-12ca-443c-a85e-88ef22336161'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-vn-02982523'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-policy-allow-all-21188142']], 'subnet_ipam': [{'subnet_cidr': '180.165.60.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 12:17:01,536 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d111f32-d3b7-4718-a31c-a3bf370a3fce', 'name': 'ctest-vn-78193307', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d845e42-43b3-4f0e-b9ae-f066bb810331'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-vn-78193307'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-policy-allow-all-21188142']], 'subnet_ipam': [{'subnet_cidr': '93.249.44.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 12:17:01,683 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 12:17:01,985 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 12:17:02,017 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04 2026-03-19 12:17:02,030 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab 2026-03-19 12:17:02,101 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e 2026-03-19 12:17:02,114 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e 2026-03-19 12:17:02,123 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703 2026-03-19 12:17:02,131 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703 2026-03-19 12:17:02,139 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bee30421-3dca-4c3f-b74d-72498bebd863 2026-03-19 12:17:02,145 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 12:17:02,145 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e 2026-03-19 12:17:02,155 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703 2026-03-19 12:17:02,169 - INFO - Verified VN network id 11 for VN 1bc5b376-c345-4e6b-8ace-78554966d45e 2026-03-19 12:17:02,169 - INFO - Verifications in API Server for VN ctest-vn-02982523 passed 2026-03-19 12:17:02,169 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e 2026-03-19 12:17:02,181 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703 2026-03-19 12:17:02,189 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703 2026-03-19 12:17:02,195 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bee30421-3dca-4c3f-b74d-72498bebd863 2026-03-19 12:17:02,207 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55029068', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2001202932099665515', 'uuid-lslong': '10002064130135479390'}, 'enable': 'true', 'created': '2026-03-19T12:17:00', 'last-modified': '2026-03-19T12:17:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924898'} 2026-03-19 12:17:02,214 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 12:17:02,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02982523 passed 2026-03-19 12:17:02,214 - DEBUG - ====Verifying policy data for ctest-vn-02982523 in API_Server ====== 2026-03-19 12:17:02,214 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 12:17:02,219 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04 2026-03-19 12:17:02,230 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab 2026-03-19 12:17:02,300 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e 2026-03-19 12:17:02,310 - DEBUG - ==>Verifying data for policy with id: 66705eec-715b-4e12-8b3c-8de9beec278e, fqn: ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-policy-allow-all-21188142'] 2026-03-19 12:17:02,310 - INFO - VN ctest-vn-02982523 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 12:17:02,310 - DEBUG - Verifying the vn in opserver 2026-03-19 12:17:02,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523 virtual network link through opserver 10.0.0.141 2026-03-19 12:17:02,310 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-19 12:17:02,600 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-19 12:17:02,668 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523?flat'} 2026-03-19 12:17:02,668 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523 is found in opserver 2026-03-19 12:17:02,680 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 12:17:02,687 - DEBUG - VRF ids for VN ctest-vn-02982523: {} 2026-03-19 12:17:02,687 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 12:17:02,692 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04 2026-03-19 12:17:02,703 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab 2026-03-19 12:17:02,778 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce 2026-03-19 12:17:02,792 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce 2026-03-19 12:17:02,803 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2 2026-03-19 12:17:02,811 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2 2026-03-19 12:17:02,818 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f77aafb7-0bf5-4b7c-b4ba-1e826bf73a4b 2026-03-19 12:17:02,825 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 12:17:02,825 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce 2026-03-19 12:17:02,834 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2 2026-03-19 12:17:02,852 - INFO - Verified VN network id 12 for VN 4d111f32-d3b7-4718-a31c-a3bf370a3fce 2026-03-19 12:17:02,852 - INFO - Verifications in API Server for VN ctest-vn-78193307 passed 2026-03-19 12:17:02,852 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce 2026-03-19 12:17:02,863 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2 2026-03-19 12:17:02,874 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2 2026-03-19 12:17:02,881 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f77aafb7-0bf5-4b7c-b4ba-1e826bf73a4b 2026-03-19 12:17:02,893 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55029068', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5553254118685361944', 'uuid-lslong': '11753449169187651534'}, 'enable': 'true', 'created': '2026-03-19T12:17:00', 'last-modified': '2026-03-19T12:17:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375684'} 2026-03-19 12:17:02,899 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 12:17:02,899 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78193307 passed 2026-03-19 12:17:02,899 - DEBUG - ====Verifying policy data for ctest-vn-78193307 in API_Server ====== 2026-03-19 12:17:02,899 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 12:17:02,904 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04 2026-03-19 12:17:02,915 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab 2026-03-19 12:17:02,988 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce 2026-03-19 12:17:02,998 - DEBUG - ==>Verifying data for policy with id: 66705eec-715b-4e12-8b3c-8de9beec278e, fqn: ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-policy-allow-all-21188142'] 2026-03-19 12:17:02,998 - INFO - VN ctest-vn-78193307 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 12:17:02,998 - DEBUG - Verifying the vn in opserver 2026-03-19 12:17:02,998 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307 virtual network link through opserver 10.0.0.141 2026-03-19 12:17:02,998 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-19 12:17:03,009 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307?flat'} 2026-03-19 12:17:03,009 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307 is found in opserver 2026-03-19 12:17:03,019 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 12:17:03,023 - DEBUG - VRF ids for VN ctest-vn-78193307: {} 2026-03-19 12:17:03,082 - DEBUG - Services list from nova: [, , ] 2026-03-19 12:17:04,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5496-1) 2026-03-19 12:17:05,288 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5496-1) 2026-03-19 12:17:05,288 - INFO - Waiting for VM ctest-TestBasicPolicy-55029068-98772950 to be up.. 2026-03-19 12:17:05,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 12:17:10,441 - DEBUG - VM is in ACTIVE state now 2026-03-19 12:17:10,441 - INFO - VM name : ctest-TestBasicPolicy-55029068-98772950 2026-03-19 12:17:10,518 - DEBUG - VM ctest-TestBasicPolicy-55029068-98772950 ID is eae3b076-6e1e-4939-a4f4-18072e2f9c13 2026-03-19 12:17:10,536 - DEBUG - VM ctest-TestBasicPolicy-55029068-98772950 launched on Node cn-jenkins-deploy-platform-ansible-os-5496-1 2026-03-19 12:17:10,606 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/eae3b076-6e1e-4939-a4f4-18072e2f9c13 2026-03-19 12:17:10,614 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/fa347ece-ddd9-41b8-af29-d985a8f35085 2026-03-19 12:17:13,844 - 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 1003ms') 2026-03-19 12:17:13,844 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55029068-98772950 failed! 2026-03-19 12:17:13,895 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523 is 180.165.60.129 and allocation pool is NOT set 2026-03-19 12:17:15,956 - 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=2.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.343 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 = 0.343/1.538/2.734/1.195 ms') 2026-03-19 12:17:15,956 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55029068-98772950 passed 2026-03-19 12:17:16,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 12:17:16,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55029068-98772950, IP 180.165.60.131, Port 22 2026-03-19 12:17:16,258 - DEBUG - VM ctest-TestBasicPolicy-55029068-98772950 is ready for SSH connections 2026-03-19 12:17:16,258 - INFO - Waiting for VM ctest-TestBasicPolicy-55029068-73163222 to be up.. 2026-03-19 12:17:16,328 - DEBUG - VM is in ACTIVE state now 2026-03-19 12:17:16,328 - INFO - VM name : ctest-TestBasicPolicy-55029068-73163222 2026-03-19 12:17:16,394 - DEBUG - VM ctest-TestBasicPolicy-55029068-73163222 ID is d8ebb75d-6e0c-4e85-adb4-10345a610f0c 2026-03-19 12:17:16,395 - DEBUG - VM ctest-TestBasicPolicy-55029068-73163222 launched on Node cn-jenkins-deploy-platform-ansible-os-5496-1 2026-03-19 12:17:16,465 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/d8ebb75d-6e0c-4e85-adb4-10345a610f0c 2026-03-19 12:17:16,472 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0578006f-c1dd-4f76-8569-1b49d49a147f 2026-03-19 12:17:17,698 - 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.443 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.443/1.962/3.481/1.519 ms') 2026-03-19 12:17:17,698 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55029068-73163222 passed 2026-03-19 12:17:17,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 12:17:17,847 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55029068-73163222, IP 93.249.44.67, Port 22 2026-03-19 12:17:18,002 - DEBUG - VM ctest-TestBasicPolicy-55029068-73163222 is ready for SSH connections 2026-03-19 12:17:18,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 12:17:18,002 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.249.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-19 12:17:18,002 - DEBUG - ping -s 56 -c 3 -W 1 93.249.44.67 2026-03-19 12:17:22,146 - DEBUG - PING 93.249.44.67 (93.249.44.67): 56 data bytes 64 bytes from 93.249.44.67: seq=0 ttl=63 time=5.262 ms 64 bytes from 93.249.44.67: seq=1 ttl=63 time=1.456 ms 64 bytes from 93.249.44.67: seq=2 ttl=63 time=0.765 ms --- 93.249.44.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/2.494/5.262 ms 2026-03-19 12:17:22,146 - INFO - Ping to IP 93.249.44.67 from VM ctest-TestBasicPolicy-55029068-98772950 passed 2026-03-19 12:17:22,315 - DEBUG - Policy Update Response {"network-policy": {"uuid": "66705eec-715b-4e12-8b3c-8de9beec278e", "href": "http://10.0.0.141:8082/network-policy/66705eec-715b-4e12-8b3c-8de9beec278e"}} 2026-03-19 12:17:22,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 12:17:22,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.249.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-19 12:17:22,315 - DEBUG - ping -s 56 -c 3 -W 1 93.249.44.67 2026-03-19 12:17:25,543 - DEBUG - PING 93.249.44.67 (93.249.44.67): 56 data bytes --- 93.249.44.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-19 12:17:25,543 - WARNING - Ping to IP 93.249.44.67 from VM ctest-TestBasicPolicy-55029068-98772950 failed 2026-03-19 12:17:25,543 - INFO - Deleting VM ctest-TestBasicPolicy-55029068-73163222 2026-03-19 12:17:25,611 - INFO - Deleting VM ctest-TestBasicPolicy-55029068-98772950 2026-03-19 12:17:25,971 - INFO - Deleted policy ctest-policy-allow-all-21188142 2026-03-19 12:17:25,971 - INFO - Deleting VN ctest-vn-78193307 2026-03-19 12:17:26,013 - DEBUG - VN 4d111f32-d3b7-4718-a31c-a3bf370a3fce still in use: Unable to complete operation on network 4d111f32-d3b7-4718-a31c-a3bf370a3fce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae8a0166-c745-4d9d-89a3-b9a4d3b17cfa'] 2026-03-19 12:17:26,014 - WARNING - Deleting VN ctest-vn-78193307 failed..Will retry 2026-03-19 12:17:28,110 - DEBUG - Response for deleting network () 2026-03-19 12:17:28,110 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2 2026-03-19 12:17:28,115 - DEBUG - Response Code: 404 2026-03-19 12:17:28,115 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 12:17:28,120 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04 2026-03-19 12:17:28,172 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab 2026-03-19 12:17:28,238 - INFO - Validated that VN ctest-vn-78193307 is not found in API Server 2026-03-19 12:17:28,248 - DEBUG - VN ctest-vn-78193307 is not present in Agent 10.0.0.141 2026-03-19 12:17:28,249 - INFO - Validated that VN ctest-vn-78193307 is not in any agent 2026-03-19 12:17:28,262 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78193307 info 2026-03-19 12:17:28,262 - INFO - Deleting VN ctest-vn-02982523 2026-03-19 12:17:28,361 - DEBUG - Response for deleting network () 2026-03-19 12:17:28,362 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703 2026-03-19 12:17:28,367 - DEBUG - Response Code: 404 2026-03-19 12:17:28,367 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 12:17:28,372 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04 2026-03-19 12:17:28,423 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab 2026-03-19 12:17:28,494 - INFO - Validated that VN ctest-vn-02982523 is not found in API Server 2026-03-19 12:17:28,505 - DEBUG - VN ctest-vn-02982523 is not present in Agent 10.0.0.141 2026-03-19 12:17:28,505 - INFO - Validated that VN ctest-vn-02982523 is not in any agent 2026-03-19 12:17:28,519 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02982523 info 2026-03-19 12:17:28,772 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 12:17:28,772 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-19 12:17:28,772 - INFO - -------------------------------------------------------------------------------- 2026-03-19 12:17:29,457 - INFO - Deleted project: ctest-TestBasicPolicy-55029068, ID : 2ff52c65-462e-4a0a-9c5b-78a494b5d4ab