2025-08-11 07:40:58,289 - INFO - Domain Default found not creating 2025-08-11 07:40:58,408 - INFO - Project ctest-TestBasicPolicy-70146399 not found, creating it 2025-08-11 07:40:58,862 - INFO - Created Project:ctest-TestBasicPolicy-70146399, ID : 346e2d89-181c-45bd-b0a2-ac518737ae7c 2025-08-11 07:41:00,154 - INFO - ================================================================================ 2025-08-11 07:41:00,154 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 07:41:00,154 - 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-08-11 07:41:00,409 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 07:41:00,409 - INFO - Initial checks done. Running the testcase now 2025-08-11 07:41:00,409 - INFO - 2025-08-11 07:41:00,922 - DEBUG - Response for create_network : {'network': {'id': '04b60868-b7c5-4024-8ce3-49009226087c', 'name': 'ctest-vn-61789036', 'tenant_id': '346e2d89181c45bdb0a2ac518737ae7c', 'project_id': '346e2d89181c45bdb0a2ac518737ae7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70146399', 'ctest-vn-61789036'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 07:41:01,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '2683957f-2a9b-4203-bc59-201e60c7e61e', 'name': '', 'tenant_id': '346e2d89181c45bdb0a2ac518737ae7c', 'network_id': '04b60868-b7c5-4024-8ce3-49009226087c', 'ip_version': 4, 'cidr': '149.171.144.192/26', 'allocation_pools': [{'start': '149.171.144.194', 'end': '149.171.144.254'}], 'gateway_ip': '149.171.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.171.144.194', 'tags': [], 'project_id': '346e2d89181c45bdb0a2ac518737ae7c'}} 2025-08-11 07:41:01,156 - INFO - Created VN ctest-vn-61789036 2025-08-11 07:41:01,210 - DEBUG - VN ctest-vn-61789036 UUID is 04b60868-b7c5-4024-8ce3-49009226087c 2025-08-11 07:41:01,512 - DEBUG - Response for create_network : {'network': {'id': 'b32e9358-54fe-4fa3-8849-2b37509f4d27', 'name': 'ctest-vn-70376357', 'tenant_id': '346e2d89181c45bdb0a2ac518737ae7c', 'project_id': '346e2d89181c45bdb0a2ac518737ae7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70146399', 'ctest-vn-70376357'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 07:41:01,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '455b424c-3b5c-419a-9d0f-866d24e31518', 'name': '', 'tenant_id': '346e2d89181c45bdb0a2ac518737ae7c', 'network_id': 'b32e9358-54fe-4fa3-8849-2b37509f4d27', 'ip_version': 4, 'cidr': '78.91.155.128/26', 'allocation_pools': [{'start': '78.91.155.130', 'end': '78.91.155.190'}], 'gateway_ip': '78.91.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.91.155.130', 'tags': [], 'project_id': '346e2d89181c45bdb0a2ac518737ae7c'}} 2025-08-11 07:41:01,672 - INFO - Created VN ctest-vn-70376357 2025-08-11 07:41:01,726 - DEBUG - VN ctest-vn-70376357 UUID is b32e9358-54fe-4fa3-8849-2b37509f4d27 2025-08-11 07:41:01,866 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-61789036, 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-70146399:ctest-vn-70376357, 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-08-11 07:41:02,151 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04b60868-b7c5-4024-8ce3-49009226087c', 'name': 'ctest-vn-61789036', 'tenant_id': '346e2d89181c45bdb0a2ac518737ae7c', 'project_id': '346e2d89181c45bdb0a2ac518737ae7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2683957f-2a9b-4203-bc59-201e60c7e61e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70146399', 'ctest-vn-61789036'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70146399', 'ctest-policy-allow-all-25848494']], 'subnet_ipam': [{'subnet_cidr': '149.171.144.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 07:41:02,380 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b32e9358-54fe-4fa3-8849-2b37509f4d27', 'name': 'ctest-vn-70376357', 'tenant_id': '346e2d89181c45bdb0a2ac518737ae7c', 'project_id': '346e2d89181c45bdb0a2ac518737ae7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['455b424c-3b5c-419a-9d0f-866d24e31518'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70146399', 'ctest-vn-70376357'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70146399', 'ctest-policy-allow-all-25848494']], 'subnet_ipam': [{'subnet_cidr': '78.91.155.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 07:41:02,542 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 07:41:02,832 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 07:41:02,856 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b328bc76-276e-4db9-8317-eacaafad8778 2025-08-11 07:41:02,868 - DEBUG - Requesting: http://10.0.0.130:8082/project/346e2d89-181c-45bd-b0a2-ac518737ae7c 2025-08-11 07:41:02,935 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/04b60868-b7c5-4024-8ce3-49009226087c 2025-08-11 07:41:02,945 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/04b60868-b7c5-4024-8ce3-49009226087c 2025-08-11 07:41:02,954 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/cee56f58-af5b-45ec-8049-d6d28cb8bc3b 2025-08-11 07:41:02,960 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/cee56f58-af5b-45ec-8049-d6d28cb8bc3b 2025-08-11 07:41:02,966 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f1239793-927b-49a5-a00b-c9fb9c201fe1 2025-08-11 07:41:02,971 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 07:41:02,971 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/04b60868-b7c5-4024-8ce3-49009226087c 2025-08-11 07:41:02,979 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/cee56f58-af5b-45ec-8049-d6d28cb8bc3b 2025-08-11 07:41:02,991 - INFO - Verified VN network id 11 for VN 04b60868-b7c5-4024-8ce3-49009226087c 2025-08-11 07:41:02,991 - INFO - Verifications in API Server for VN ctest-vn-61789036 passed 2025-08-11 07:41:02,991 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/04b60868-b7c5-4024-8ce3-49009226087c 2025-08-11 07:41:03,000 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/cee56f58-af5b-45ec-8049-d6d28cb8bc3b 2025-08-11 07:41:03,005 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/cee56f58-af5b-45ec-8049-d6d28cb8bc3b 2025-08-11 07:41:03,011 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f1239793-927b-49a5-a00b-c9fb9c201fe1 2025-08-11 07:41:03,021 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-61789036', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70146399', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '339468067765829668', 'uuid-lslong': '10152038251824023676'}, 'enable': 'true', 'created': '2025-08-11T07:41:00', 'last-modified': '2025-08-11T07:41:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.892585'} 2025-08-11 07:41:03,027 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 07:41:03,027 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61789036 passed 2025-08-11 07:41:03,027 - DEBUG - ====Verifying policy data for ctest-vn-61789036 in API_Server ====== 2025-08-11 07:41:03,027 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 07:41:03,032 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b328bc76-276e-4db9-8317-eacaafad8778 2025-08-11 07:41:03,041 - DEBUG - Requesting: http://10.0.0.130:8082/project/346e2d89-181c-45bd-b0a2-ac518737ae7c 2025-08-11 07:41:03,111 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/04b60868-b7c5-4024-8ce3-49009226087c 2025-08-11 07:41:03,119 - DEBUG - ==>Verifying data for policy with id: 12ad7d30-b606-407c-9ba5-a00366e3c1f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-70146399', 'ctest-policy-allow-all-25848494'] 2025-08-11 07:41:03,120 - INFO - VN ctest-vn-61789036 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 07:41:03,120 - DEBUG - Verifying the vn in opserver 2025-08-11 07:41:03,120 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-61789036 virtual network link through opserver 10.0.0.130 2025-08-11 07:41:03,120 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-11 07:41:03,405 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-11 07:41:03,451 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-61789036', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-61789036?flat'} 2025-08-11 07:41:03,451 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-61789036 is found in opserver 2025-08-11 07:41:03,461 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 07:41:03,467 - DEBUG - VRF ids for VN ctest-vn-61789036: {} 2025-08-11 07:41:03,467 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 07:41:03,472 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b328bc76-276e-4db9-8317-eacaafad8778 2025-08-11 07:41:03,482 - DEBUG - Requesting: http://10.0.0.130:8082/project/346e2d89-181c-45bd-b0a2-ac518737ae7c 2025-08-11 07:41:03,551 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b32e9358-54fe-4fa3-8849-2b37509f4d27 2025-08-11 07:41:03,562 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b32e9358-54fe-4fa3-8849-2b37509f4d27 2025-08-11 07:41:03,572 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9b3d447f-7e9b-4915-a352-14231bdd28d9 2025-08-11 07:41:03,578 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9b3d447f-7e9b-4915-a352-14231bdd28d9 2025-08-11 07:41:03,584 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/442c192d-c8f5-4c39-a5ee-ceb692fd9313 2025-08-11 07:41:03,589 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 07:41:03,589 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b32e9358-54fe-4fa3-8849-2b37509f4d27 2025-08-11 07:41:03,597 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9b3d447f-7e9b-4915-a352-14231bdd28d9 2025-08-11 07:41:03,609 - INFO - Verified VN network id 12 for VN b32e9358-54fe-4fa3-8849-2b37509f4d27 2025-08-11 07:41:03,609 - INFO - Verifications in API Server for VN ctest-vn-70376357 passed 2025-08-11 07:41:03,609 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b32e9358-54fe-4fa3-8849-2b37509f4d27 2025-08-11 07:41:03,618 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9b3d447f-7e9b-4915-a352-14231bdd28d9 2025-08-11 07:41:03,624 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9b3d447f-7e9b-4915-a352-14231bdd28d9 2025-08-11 07:41:03,630 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/442c192d-c8f5-4c39-a5ee-ceb692fd9313 2025-08-11 07:41:03,640 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-70376357', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70146399', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12911419189310148515', 'uuid-lslong': '9820427979033890087'}, 'enable': 'true', 'created': '2025-08-11T07:41:01', 'last-modified': '2025-08-11T07:41:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281370'} 2025-08-11 07:41:03,646 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 07:41:03,646 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70376357 passed 2025-08-11 07:41:03,646 - DEBUG - ====Verifying policy data for ctest-vn-70376357 in API_Server ====== 2025-08-11 07:41:03,646 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 07:41:03,650 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b328bc76-276e-4db9-8317-eacaafad8778 2025-08-11 07:41:03,660 - DEBUG - Requesting: http://10.0.0.130:8082/project/346e2d89-181c-45bd-b0a2-ac518737ae7c 2025-08-11 07:41:03,732 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b32e9358-54fe-4fa3-8849-2b37509f4d27 2025-08-11 07:41:03,741 - DEBUG - ==>Verifying data for policy with id: 12ad7d30-b606-407c-9ba5-a00366e3c1f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-70146399', 'ctest-policy-allow-all-25848494'] 2025-08-11 07:41:03,741 - INFO - VN ctest-vn-70376357 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 07:41:03,741 - DEBUG - Verifying the vn in opserver 2025-08-11 07:41:03,741 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-70376357 virtual network link through opserver 10.0.0.130 2025-08-11 07:41:03,741 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-11 07:41:03,750 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-70376357', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-70376357?flat'} 2025-08-11 07:41:03,750 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-70376357 is found in opserver 2025-08-11 07:41:03,759 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 07:41:03,764 - DEBUG - VRF ids for VN ctest-vn-70376357: {} 2025-08-11 07:41:03,811 - DEBUG - Services list from nova: [, , ] 2025-08-11 07:41:04,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3800-1) 2025-08-11 07:41:05,769 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3800-1) 2025-08-11 07:41:05,769 - INFO - Waiting for VM ctest-TestBasicPolicy-70146399-98242043 to be up.. 2025-08-11 07:41:05,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 07:41:10,899 - DEBUG - VM is in ACTIVE state now 2025-08-11 07:41:10,899 - INFO - VM name : ctest-TestBasicPolicy-70146399-98242043 2025-08-11 07:41:10,955 - DEBUG - VM ctest-TestBasicPolicy-70146399-98242043 ID is 637cb495-35eb-4c49-b0fe-8328dec71847 2025-08-11 07:41:10,971 - DEBUG - VM ctest-TestBasicPolicy-70146399-98242043 launched on Node cn-jenkins-deploy-platform-ansible-os-3800-1 2025-08-11 07:41:11,029 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/637cb495-35eb-4c49-b0fe-8328dec71847 2025-08-11 07:41:11,036 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/801f226f-7378-4085-b130-ec7ab0a5754d 2025-08-11 07:41:14,295 - 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 1024ms') 2025-08-11 07:41:14,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70146399-98242043 failed! 2025-08-11 07:41:14,350 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70146399:ctest-vn-61789036 is 149.171.144.193 and allocation pool is NOT set 2025-08-11 07:41:16,414 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.356 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.356/1.548/2.741/1.192 ms') 2025-08-11 07:41:16,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70146399-98242043 passed 2025-08-11 07:41:16,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:41:16,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70146399-98242043, IP 149.171.144.195, Port 22 2025-08-11 07:41:16,714 - DEBUG - VM ctest-TestBasicPolicy-70146399-98242043 is ready for SSH connections 2025-08-11 07:41:16,714 - INFO - Waiting for VM ctest-TestBasicPolicy-70146399-90004605 to be up.. 2025-08-11 07:41:16,781 - DEBUG - VM is in ACTIVE state now 2025-08-11 07:41:16,781 - INFO - VM name : ctest-TestBasicPolicy-70146399-90004605 2025-08-11 07:41:16,850 - DEBUG - VM ctest-TestBasicPolicy-70146399-90004605 ID is eb381c5e-c0de-4e28-8950-55a33a64cc61 2025-08-11 07:41:16,850 - DEBUG - VM ctest-TestBasicPolicy-70146399-90004605 launched on Node cn-jenkins-deploy-platform-ansible-os-3800-1 2025-08-11 07:41:16,919 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/eb381c5e-c0de-4e28-8950-55a33a64cc61 2025-08-11 07:41:16,929 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c95ed504-60ca-4b3c-9964-38029c7c15bd 2025-08-11 07:41:18,160 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.307 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.307/1.438/2.569/1.131 ms') 2025-08-11 07:41:18,161 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70146399-90004605 passed 2025-08-11 07:41:18,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:41:18,302 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70146399-90004605, IP 78.91.155.131, Port 22 2025-08-11 07:41:18,473 - DEBUG - VM ctest-TestBasicPolicy-70146399-90004605 is ready for SSH connections 2025-08-11 07:41:18,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:41:18,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.91.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 07:41:18,473 - DEBUG - ping -s 56 -c 3 -W 1 78.91.155.131 2025-08-11 07:41:22,110 - DEBUG - PING 78.91.155.131 (78.91.155.131): 56 data bytes 64 bytes from 78.91.155.131: seq=0 ttl=63 time=3.010 ms 64 bytes from 78.91.155.131: seq=1 ttl=63 time=0.741 ms 64 bytes from 78.91.155.131: seq=2 ttl=63 time=0.716 ms --- 78.91.155.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.716/1.489/3.010 ms 2025-08-11 07:41:22,110 - INFO - Ping to IP 78.91.155.131 from VM ctest-TestBasicPolicy-70146399-98242043 passed 2025-08-11 07:41:22,278 - DEBUG - Policy Update Response {"network-policy": {"uuid": "12ad7d30-b606-407c-9ba5-a00366e3c1f8", "href": "http://10.0.0.130:8082/network-policy/12ad7d30-b606-407c-9ba5-a00366e3c1f8"}} 2025-08-11 07:41:22,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:41:22,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.91.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 07:41:22,278 - DEBUG - ping -s 56 -c 3 -W 1 78.91.155.131 2025-08-11 07:41:25,466 - DEBUG - PING 78.91.155.131 (78.91.155.131): 56 data bytes --- 78.91.155.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 07:41:25,466 - WARNING - Ping to IP 78.91.155.131 from VM ctest-TestBasicPolicy-70146399-98242043 failed 2025-08-11 07:41:25,466 - INFO - Deleting VM ctest-TestBasicPolicy-70146399-90004605 2025-08-11 07:41:25,523 - INFO - Deleting VM ctest-TestBasicPolicy-70146399-98242043 2025-08-11 07:41:25,851 - INFO - Deleted policy ctest-policy-allow-all-25848494 2025-08-11 07:41:25,851 - INFO - Deleting VN ctest-vn-70376357 2025-08-11 07:41:25,879 - DEBUG - VN b32e9358-54fe-4fa3-8849-2b37509f4d27 still in use: Unable to complete operation on network b32e9358-54fe-4fa3-8849-2b37509f4d27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d859815e-d33d-41dc-beef-8f8d95436fbb'] 2025-08-11 07:41:25,879 - WARNING - Deleting VN ctest-vn-70376357 failed..Will retry 2025-08-11 07:41:27,975 - DEBUG - Response for deleting network () 2025-08-11 07:41:27,975 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9b3d447f-7e9b-4915-a352-14231bdd28d9 2025-08-11 07:41:27,981 - DEBUG - Response Code: 404 2025-08-11 07:41:27,981 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 07:41:27,986 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b328bc76-276e-4db9-8317-eacaafad8778 2025-08-11 07:41:28,040 - DEBUG - Requesting: http://10.0.0.130:8082/project/346e2d89-181c-45bd-b0a2-ac518737ae7c 2025-08-11 07:41:28,110 - INFO - Validated that VN ctest-vn-70376357 is not found in API Server 2025-08-11 07:41:28,120 - DEBUG - VN ctest-vn-70376357 is not present in Agent 10.0.0.130 2025-08-11 07:41:28,120 - INFO - Validated that VN ctest-vn-70376357 is not in any agent 2025-08-11 07:41:28,134 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70376357 info 2025-08-11 07:41:28,134 - INFO - Deleting VN ctest-vn-61789036 2025-08-11 07:41:28,230 - DEBUG - Response for deleting network () 2025-08-11 07:41:28,230 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/cee56f58-af5b-45ec-8049-d6d28cb8bc3b 2025-08-11 07:41:28,236 - DEBUG - Response Code: 404 2025-08-11 07:41:28,237 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 07:41:28,242 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b328bc76-276e-4db9-8317-eacaafad8778 2025-08-11 07:41:28,295 - DEBUG - Requesting: http://10.0.0.130:8082/project/346e2d89-181c-45bd-b0a2-ac518737ae7c 2025-08-11 07:41:28,364 - INFO - Validated that VN ctest-vn-61789036 is not found in API Server 2025-08-11 07:41:28,375 - DEBUG - VN ctest-vn-61789036 is not present in Agent 10.0.0.130 2025-08-11 07:41:28,375 - INFO - Validated that VN ctest-vn-61789036 is not in any agent 2025-08-11 07:41:28,389 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61789036 info 2025-08-11 07:41:28,644 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 07:41:28,644 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-08-11 07:41:28,644 - INFO - -------------------------------------------------------------------------------- 2025-08-11 07:41:29,299 - INFO - Deleted project: ctest-TestBasicPolicy-70146399, ID : 346e2d89-181c-45bd-b0a2-ac518737ae7c