2025-10-09 14:56:56,464 - INFO - Domain Default found not creating 2025-10-09 14:56:56,614 - INFO - Project ctest-TestBasicPolicy-90914698 not found, creating it 2025-10-09 14:56:57,057 - INFO - Created Project:ctest-TestBasicPolicy-90914698, ID : 72aa5d39-e009-419d-b0b6-6464d3916514 2025-10-09 14:56:58,576 - INFO - ================================================================================ 2025-10-09 14:56:58,576 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 14:56:58,576 - 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-09 14:56:58,829 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with 2025-10-09 14:56:58,829 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:56:58,829 - INFO - 2025-10-09 14:56:59,368 - DEBUG - Response for create_network : {'network': {'id': 'f2cead0b-dae3-4016-8408-6a992169e555', 'name': 'ctest-vn-14928687', 'tenant_id': '72aa5d39e009419db0b66464d3916514', 'project_id': '72aa5d39e009419db0b66464d3916514', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90914698', 'ctest-vn-14928687'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:56:59,556 - DEBUG - Response for create_subnet : {'subnet': {'id': '537efb11-db16-4664-b2bf-01ad30f5aaa5', 'name': '', 'tenant_id': '72aa5d39e009419db0b66464d3916514', 'network_id': 'f2cead0b-dae3-4016-8408-6a992169e555', 'ip_version': 4, 'cidr': '191.253.107.192/26', 'allocation_pools': [{'start': '191.253.107.194', 'end': '191.253.107.254'}], 'gateway_ip': '191.253.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.253.107.194', 'tags': [], 'project_id': '72aa5d39e009419db0b66464d3916514'}} 2025-10-09 14:56:59,572 - INFO - Created VN ctest-vn-14928687 2025-10-09 14:56:59,623 - DEBUG - VN ctest-vn-14928687 UUID is f2cead0b-dae3-4016-8408-6a992169e555 2025-10-09 14:56:59,957 - DEBUG - Response for create_network : {'network': {'id': '9bf61b81-2405-4c2e-b386-16ab1275f0c2', 'name': 'ctest-vn-59644586', 'tenant_id': '72aa5d39e009419db0b66464d3916514', 'project_id': '72aa5d39e009419db0b66464d3916514', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90914698', 'ctest-vn-59644586'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:57:00,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '268eae71-dd98-4398-832d-d4e16844b629', 'name': '', 'tenant_id': '72aa5d39e009419db0b66464d3916514', 'network_id': '9bf61b81-2405-4c2e-b386-16ab1275f0c2', 'ip_version': 4, 'cidr': '206.125.108.128/26', 'allocation_pools': [{'start': '206.125.108.130', 'end': '206.125.108.190'}], 'gateway_ip': '206.125.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.125.108.130', 'tags': [], 'project_id': '72aa5d39e009419db0b66464d3916514'}} 2025-10-09 14:57:00,164 - INFO - Created VN ctest-vn-59644586 2025-10-09 14:57:00,215 - DEBUG - VN ctest-vn-59644586 UUID is 9bf61b81-2405-4c2e-b386-16ab1275f0c2 2025-10-09 14:57:00,326 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-14928687, 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-90914698:ctest-vn-59644586, 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-09 14:57:00,619 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2cead0b-dae3-4016-8408-6a992169e555', 'name': 'ctest-vn-14928687', 'tenant_id': '72aa5d39e009419db0b66464d3916514', 'project_id': '72aa5d39e009419db0b66464d3916514', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['537efb11-db16-4664-b2bf-01ad30f5aaa5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90914698', 'ctest-vn-14928687'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90914698', 'ctest-policy-allow-all-42896795']], 'subnet_ipam': [{'subnet_cidr': '191.253.107.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:57:00,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9bf61b81-2405-4c2e-b386-16ab1275f0c2', 'name': 'ctest-vn-59644586', 'tenant_id': '72aa5d39e009419db0b66464d3916514', 'project_id': '72aa5d39e009419db0b66464d3916514', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['268eae71-dd98-4398-832d-d4e16844b629'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90914698', 'ctest-vn-59644586'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90914698', 'ctest-policy-allow-all-42896795']], 'subnet_ipam': [{'subnet_cidr': '206.125.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:57:01,051 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-09 14:57:01,350 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-09 14:57:01,387 - DEBUG - Requesting: http://10.0.0.41:8082/domain/66199fcc-9340-4cc1-a28c-5d2a41fd4874 2025-10-09 14:57:01,399 - DEBUG - Requesting: http://10.0.0.41:8082/project/72aa5d39-e009-419d-b0b6-6464d3916514 2025-10-09 14:57:01,543 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f2cead0b-dae3-4016-8408-6a992169e555 2025-10-09 14:57:01,563 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f2cead0b-dae3-4016-8408-6a992169e555 2025-10-09 14:57:01,584 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ce2c4667-f2ff-45e4-ac9f-7e5fe9964cf9 2025-10-09 14:57:01,593 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ce2c4667-f2ff-45e4-ac9f-7e5fe9964cf9 2025-10-09 14:57:01,601 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/692bbfcd-ed12-4b35-baa5-3b461a68d6df 2025-10-09 14:57:01,609 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 14:57:01,609 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f2cead0b-dae3-4016-8408-6a992169e555 2025-10-09 14:57:01,625 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ce2c4667-f2ff-45e4-ac9f-7e5fe9964cf9 2025-10-09 14:57:01,653 - INFO - Verified VN network id 9 for VN f2cead0b-dae3-4016-8408-6a992169e555 2025-10-09 14:57:01,653 - INFO - Verifications in API Server for VN ctest-vn-14928687 passed 2025-10-09 14:57:01,653 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f2cead0b-dae3-4016-8408-6a992169e555 2025-10-09 14:57:01,670 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ce2c4667-f2ff-45e4-ac9f-7e5fe9964cf9 2025-10-09 14:57:01,690 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ce2c4667-f2ff-45e4-ac9f-7e5fe9964cf9 2025-10-09 14:57:01,710 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/692bbfcd-ed12-4b35-baa5-3b461a68d6df 2025-10-09 14:57:01,727 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-14928687', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90914698', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17496111868809527318', 'uuid-lslong': '9513971418743301461'}, 'enable': 'true', 'created': '2025-10-09T14:56:59', 'last-modified': '2025-10-09T14:57:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.127453'} 2025-10-09 14:57:01,741 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 14:57:01,741 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14928687 passed 2025-10-09 14:57:01,741 - DEBUG - ====Verifying policy data for ctest-vn-14928687 in API_Server ====== 2025-10-09 14:57:01,741 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-09 14:57:01,751 - DEBUG - Requesting: http://10.0.0.41:8082/domain/66199fcc-9340-4cc1-a28c-5d2a41fd4874 2025-10-09 14:57:01,822 - DEBUG - Requesting: http://10.0.0.41:8082/project/72aa5d39-e009-419d-b0b6-6464d3916514 2025-10-09 14:57:01,931 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f2cead0b-dae3-4016-8408-6a992169e555 2025-10-09 14:57:01,943 - DEBUG - ==>Verifying data for policy with id: 3c369d13-18a1-43be-9066-80e3ff82249d, fqn: ['default-domain', 'ctest-TestBasicPolicy-90914698', 'ctest-policy-allow-all-42896795'] 2025-10-09 14:57:01,943 - INFO - VN ctest-vn-14928687 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 14:57:01,944 - DEBUG - Verifying the vn in opserver 2025-10-09 14:57:01,944 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-14928687 virtual network link through opserver 10.0.0.41 2025-10-09 14:57:01,944 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-09 14:57:02,260 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-09 14:57:02,314 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-14928687', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-14928687?flat'} 2025-10-09 14:57:02,314 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-14928687 is found in opserver 2025-10-09 14:57:02,322 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 14:57:02,326 - DEBUG - VRF ids for VN ctest-vn-14928687: {} 2025-10-09 14:57:02,326 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-09 14:57:02,331 - DEBUG - Requesting: http://10.0.0.41:8082/domain/66199fcc-9340-4cc1-a28c-5d2a41fd4874 2025-10-09 14:57:02,341 - DEBUG - Requesting: http://10.0.0.41:8082/project/72aa5d39-e009-419d-b0b6-6464d3916514 2025-10-09 14:57:02,412 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9bf61b81-2405-4c2e-b386-16ab1275f0c2 2025-10-09 14:57:02,422 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9bf61b81-2405-4c2e-b386-16ab1275f0c2 2025-10-09 14:57:02,431 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb3d8289-06b5-4660-b489-9c8c9849fc3f 2025-10-09 14:57:02,437 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb3d8289-06b5-4660-b489-9c8c9849fc3f 2025-10-09 14:57:02,443 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/1b826322-0dfe-4c4a-af82-400e0696bb95 2025-10-09 14:57:02,449 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 14:57:02,449 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9bf61b81-2405-4c2e-b386-16ab1275f0c2 2025-10-09 14:57:02,457 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb3d8289-06b5-4660-b489-9c8c9849fc3f 2025-10-09 14:57:02,470 - INFO - Verified VN network id 10 for VN 9bf61b81-2405-4c2e-b386-16ab1275f0c2 2025-10-09 14:57:02,470 - INFO - Verifications in API Server for VN ctest-vn-59644586 passed 2025-10-09 14:57:02,470 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9bf61b81-2405-4c2e-b386-16ab1275f0c2 2025-10-09 14:57:02,479 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb3d8289-06b5-4660-b489-9c8c9849fc3f 2025-10-09 14:57:02,486 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb3d8289-06b5-4660-b489-9c8c9849fc3f 2025-10-09 14:57:02,493 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/1b826322-0dfe-4c4a-af82-400e0696bb95 2025-10-09 14:57:02,504 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-59644586', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90914698', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11238200161618709550', 'uuid-lslong': '12936051903673266370'}, 'enable': 'true', 'created': '2025-10-09T14:56:59', 'last-modified': '2025-10-09T14:57:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.680203'} 2025-10-09 14:57:02,510 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 14:57:02,510 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59644586 passed 2025-10-09 14:57:02,511 - DEBUG - ====Verifying policy data for ctest-vn-59644586 in API_Server ====== 2025-10-09 14:57:02,511 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-09 14:57:02,517 - DEBUG - Requesting: http://10.0.0.41:8082/domain/66199fcc-9340-4cc1-a28c-5d2a41fd4874 2025-10-09 14:57:02,527 - DEBUG - Requesting: http://10.0.0.41:8082/project/72aa5d39-e009-419d-b0b6-6464d3916514 2025-10-09 14:57:02,597 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9bf61b81-2405-4c2e-b386-16ab1275f0c2 2025-10-09 14:57:02,605 - DEBUG - ==>Verifying data for policy with id: 3c369d13-18a1-43be-9066-80e3ff82249d, fqn: ['default-domain', 'ctest-TestBasicPolicy-90914698', 'ctest-policy-allow-all-42896795'] 2025-10-09 14:57:02,605 - INFO - VN ctest-vn-59644586 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 14:57:02,605 - DEBUG - Verifying the vn in opserver 2025-10-09 14:57:02,605 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-59644586 virtual network link through opserver 10.0.0.41 2025-10-09 14:57:02,605 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-09 14:57:02,614 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-59644586', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-59644586?flat'} 2025-10-09 14:57:02,614 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-59644586 is found in opserver 2025-10-09 14:57:02,623 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 14:57:02,627 - DEBUG - VRF ids for VN ctest-vn-59644586: {} 2025-10-09 14:57:02,684 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:57:03,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4265-1) 2025-10-09 14:57:04,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4265-1) 2025-10-09 14:57:04,774 - INFO - Waiting for VM ctest-TestBasicPolicy-90914698-64328843 to be up.. 2025-10-09 14:57:04,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:57:09,923 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:57:09,923 - INFO - VM name : ctest-TestBasicPolicy-90914698-64328843 2025-10-09 14:57:09,992 - DEBUG - VM ctest-TestBasicPolicy-90914698-64328843 ID is 1685faa6-6fab-4cc9-ad8c-efefe8474b35 2025-10-09 14:57:10,011 - DEBUG - VM ctest-TestBasicPolicy-90914698-64328843 launched on Node cn-jenkins-deploy-platform-ansible-os-4265-1 2025-10-09 14:57:10,097 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/1685faa6-6fab-4cc9-ad8c-efefe8474b35 2025-10-09 14:57:10,107 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1e778165-7a3d-4b3e-b40d-06dc57ac32b3 2025-10-09 14:57:13,379 - 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 1031ms') 2025-10-09 14:57:13,379 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90914698-64328843 failed! 2025-10-09 14:57:13,435 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90914698:ctest-vn-14928687 is 191.253.107.193 and allocation pool is NOT set 2025-10-09 14:57:15,499 - 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=6.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 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 = 2.566/4.759/6.952/2.193 ms') 2025-10-09 14:57:15,499 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90914698-64328843 passed 2025-10-09 14:57:15,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:57:15,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90914698-64328843, IP 191.253.107.195, Port 22 2025-10-09 14:57:15,817 - DEBUG - VM ctest-TestBasicPolicy-90914698-64328843 is ready for SSH connections 2025-10-09 14:57:15,817 - INFO - Waiting for VM ctest-TestBasicPolicy-90914698-39195910 to be up.. 2025-10-09 14:57:15,890 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:57:15,890 - INFO - VM name : ctest-TestBasicPolicy-90914698-39195910 2025-10-09 14:57:15,963 - DEBUG - VM ctest-TestBasicPolicy-90914698-39195910 ID is 08eaa548-cf46-4131-a90c-4099cf9f522a 2025-10-09 14:57:15,963 - DEBUG - VM ctest-TestBasicPolicy-90914698-39195910 launched on Node cn-jenkins-deploy-platform-ansible-os-4265-1 2025-10-09 14:57:16,047 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/08eaa548-cf46-4131-a90c-4099cf9f522a 2025-10-09 14:57:16,056 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b2fc6faa-ef1e-4180-83cd-e2cbcd80ba8c 2025-10-09 14:57:17,299 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.649/2.865/1.215 ms') 2025-10-09 14:57:17,300 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90914698-39195910 passed 2025-10-09 14:57:17,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:57:17,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90914698-39195910, IP 206.125.108.131, Port 22 2025-10-09 14:57:17,606 - DEBUG - VM ctest-TestBasicPolicy-90914698-39195910 is ready for SSH connections 2025-10-09 14:57:17,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:57:17,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.125.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 14:57:17,607 - DEBUG - ping -s 56 -c 3 -W 1 206.125.108.131 2025-10-09 14:57:21,595 - DEBUG - PING 206.125.108.131 (206.125.108.131): 56 data bytes 64 bytes from 206.125.108.131: seq=0 ttl=63 time=3.249 ms 64 bytes from 206.125.108.131: seq=1 ttl=63 time=0.788 ms 64 bytes from 206.125.108.131: seq=2 ttl=63 time=0.717 ms --- 206.125.108.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.717/1.584/3.249 ms 2025-10-09 14:57:21,595 - INFO - Ping to IP 206.125.108.131 from VM ctest-TestBasicPolicy-90914698-64328843 passed 2025-10-09 14:57:21,771 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3c369d13-18a1-43be-9066-80e3ff82249d", "href": "http://10.0.0.41:8082/network-policy/3c369d13-18a1-43be-9066-80e3ff82249d"}} 2025-10-09 14:57:21,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:57:21,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.125.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-09 14:57:21,771 - DEBUG - ping -s 56 -c 3 -W 1 206.125.108.131 2025-10-09 14:57:24,985 - DEBUG - PING 206.125.108.131 (206.125.108.131): 56 data bytes --- 206.125.108.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 14:57:24,985 - WARNING - Ping to IP 206.125.108.131 from VM ctest-TestBasicPolicy-90914698-64328843 failed 2025-10-09 14:57:24,985 - INFO - Deleting VM ctest-TestBasicPolicy-90914698-39195910 2025-10-09 14:57:25,071 - INFO - Deleting VM ctest-TestBasicPolicy-90914698-64328843 2025-10-09 14:57:25,429 - INFO - Deleted policy ctest-policy-allow-all-42896795 2025-10-09 14:57:25,429 - INFO - Deleting VN ctest-vn-59644586 2025-10-09 14:57:25,470 - DEBUG - VN 9bf61b81-2405-4c2e-b386-16ab1275f0c2 still in use: Unable to complete operation on network 9bf61b81-2405-4c2e-b386-16ab1275f0c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0556a5db-3d1f-4bd3-b0d8-c594dc3b5f01'] 2025-10-09 14:57:25,470 - WARNING - Deleting VN ctest-vn-59644586 failed..Will retry 2025-10-09 14:57:27,571 - DEBUG - Response for deleting network () 2025-10-09 14:57:27,571 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb3d8289-06b5-4660-b489-9c8c9849fc3f 2025-10-09 14:57:27,577 - DEBUG - Response Code: 404 2025-10-09 14:57:27,577 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-09 14:57:27,582 - DEBUG - Requesting: http://10.0.0.41:8082/domain/66199fcc-9340-4cc1-a28c-5d2a41fd4874 2025-10-09 14:57:27,632 - DEBUG - Requesting: http://10.0.0.41:8082/project/72aa5d39-e009-419d-b0b6-6464d3916514 2025-10-09 14:57:27,700 - INFO - Validated that VN ctest-vn-59644586 is not found in API Server 2025-10-09 14:57:27,709 - DEBUG - VN ctest-vn-59644586 is not present in Agent 10.0.0.41 2025-10-09 14:57:27,709 - INFO - Validated that VN ctest-vn-59644586 is not in any agent 2025-10-09 14:57:27,721 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59644586 info 2025-10-09 14:57:27,722 - INFO - Deleting VN ctest-vn-14928687 2025-10-09 14:57:27,819 - DEBUG - Response for deleting network () 2025-10-09 14:57:27,819 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ce2c4667-f2ff-45e4-ac9f-7e5fe9964cf9 2025-10-09 14:57:27,826 - DEBUG - Response Code: 404 2025-10-09 14:57:27,826 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-09 14:57:27,832 - DEBUG - Requesting: http://10.0.0.41:8082/domain/66199fcc-9340-4cc1-a28c-5d2a41fd4874 2025-10-09 14:57:27,884 - DEBUG - Requesting: http://10.0.0.41:8082/project/72aa5d39-e009-419d-b0b6-6464d3916514 2025-10-09 14:57:27,962 - INFO - Validated that VN ctest-vn-14928687 is not found in API Server 2025-10-09 14:57:27,970 - DEBUG - VN ctest-vn-14928687 is not present in Agent 10.0.0.41 2025-10-09 14:57:27,970 - INFO - Validated that VN ctest-vn-14928687 is not in any agent 2025-10-09 14:57:27,984 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14928687 info 2025-10-09 14:57:28,236 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 14:57:28,236 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-09 14:57:28,236 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:57:28,909 - INFO - Deleted project: ctest-TestBasicPolicy-90914698, ID : 72aa5d39-e009-419d-b0b6-6464d3916514