2025-12-18 23:54:51,794 - INFO - Domain Default found not creating 2025-12-18 23:54:51,964 - INFO - Project ctest-TestBasicPolicy-21162724 not found, creating it 2025-12-18 23:54:52,419 - INFO - Created Project:ctest-TestBasicPolicy-21162724, ID : 1b623a1f-9765-43ed-9d6b-330323ab78fc 2025-12-18 23:54:53,921 - INFO - ================================================================================ 2025-12-18 23:54:53,922 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-18 23:54:53,922 - 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-12-18 23:54:54,178 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-12-18 23:54:54,178 - INFO - Initial checks done. Running the testcase now 2025-12-18 23:54:54,178 - INFO - 2025-12-18 23:54:54,730 - DEBUG - Response for create_network : {'network': {'id': '7e2d5b46-c23b-4c74-997e-7f7e796eacea', 'name': 'ctest-vn-99555636', 'tenant_id': '1b623a1f976543ed9d6b330323ab78fc', 'project_id': '1b623a1f976543ed9d6b330323ab78fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21162724', 'ctest-vn-99555636'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 23:54:54,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '473b02ab-ea60-44f7-af4a-37f1078c6edf', 'name': '', 'tenant_id': '1b623a1f976543ed9d6b330323ab78fc', 'network_id': '7e2d5b46-c23b-4c74-997e-7f7e796eacea', 'ip_version': 4, 'cidr': '108.4.10.192/26', 'allocation_pools': [{'start': '108.4.10.194', 'end': '108.4.10.254'}], 'gateway_ip': '108.4.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.4.10.194', 'tags': [], 'project_id': '1b623a1f976543ed9d6b330323ab78fc'}} 2025-12-18 23:54:54,970 - INFO - Created VN ctest-vn-99555636 2025-12-18 23:54:55,020 - DEBUG - VN ctest-vn-99555636 UUID is 7e2d5b46-c23b-4c74-997e-7f7e796eacea 2025-12-18 23:54:55,337 - DEBUG - Response for create_network : {'network': {'id': '71ebe570-e716-495f-a736-900a464928bb', 'name': 'ctest-vn-75676486', 'tenant_id': '1b623a1f976543ed9d6b330323ab78fc', 'project_id': '1b623a1f976543ed9d6b330323ab78fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21162724', 'ctest-vn-75676486'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 23:54:55,570 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6aa1dec-3f2e-4972-9c67-132413c14631', 'name': '', 'tenant_id': '1b623a1f976543ed9d6b330323ab78fc', 'network_id': '71ebe570-e716-495f-a736-900a464928bb', 'ip_version': 4, 'cidr': '56.141.158.128/26', 'allocation_pools': [{'start': '56.141.158.130', 'end': '56.141.158.190'}], 'gateway_ip': '56.141.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.141.158.130', 'tags': [], 'project_id': '1b623a1f976543ed9d6b330323ab78fc'}} 2025-12-18 23:54:55,587 - INFO - Created VN ctest-vn-75676486 2025-12-18 23:54:55,636 - DEBUG - VN ctest-vn-75676486 UUID is 71ebe570-e716-495f-a736-900a464928bb 2025-12-18 23:54:55,757 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-99555636, 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-21162724:ctest-vn-75676486, 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-12-18 23:54:56,061 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7e2d5b46-c23b-4c74-997e-7f7e796eacea', 'name': 'ctest-vn-99555636', 'tenant_id': '1b623a1f976543ed9d6b330323ab78fc', 'project_id': '1b623a1f976543ed9d6b330323ab78fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['473b02ab-ea60-44f7-af4a-37f1078c6edf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21162724', 'ctest-vn-99555636'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21162724', 'ctest-policy-allow-all-18546852']], 'subnet_ipam': [{'subnet_cidr': '108.4.10.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 23:54:56,288 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '71ebe570-e716-495f-a736-900a464928bb', 'name': 'ctest-vn-75676486', 'tenant_id': '1b623a1f976543ed9d6b330323ab78fc', 'project_id': '1b623a1f976543ed9d6b330323ab78fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e6aa1dec-3f2e-4972-9c67-132413c14631'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21162724', 'ctest-vn-75676486'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21162724', 'ctest-policy-allow-all-18546852']], 'subnet_ipam': [{'subnet_cidr': '56.141.158.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 23:54:56,436 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 23:54:56,737 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 23:54:56,765 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f68ffbe-389c-4045-94db-46135c9146bd 2025-12-18 23:54:56,776 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b623a1f-9765-43ed-9d6b-330323ab78fc 2025-12-18 23:54:56,846 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e2d5b46-c23b-4c74-997e-7f7e796eacea 2025-12-18 23:54:56,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e2d5b46-c23b-4c74-997e-7f7e796eacea 2025-12-18 23:54:56,865 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f3133e6-1dc7-407b-8987-e0b108d20ce2 2025-12-18 23:54:56,872 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f3133e6-1dc7-407b-8987-e0b108d20ce2 2025-12-18 23:54:56,879 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ffcf3f43-aa20-4738-ac12-ddd4a196deb3 2025-12-18 23:54:56,885 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 23:54:56,886 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e2d5b46-c23b-4c74-997e-7f7e796eacea 2025-12-18 23:54:56,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f3133e6-1dc7-407b-8987-e0b108d20ce2 2025-12-18 23:54:56,909 - INFO - Verified VN network id 11 for VN 7e2d5b46-c23b-4c74-997e-7f7e796eacea 2025-12-18 23:54:56,909 - INFO - Verifications in API Server for VN ctest-vn-99555636 passed 2025-12-18 23:54:56,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e2d5b46-c23b-4c74-997e-7f7e796eacea 2025-12-18 23:54:56,917 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f3133e6-1dc7-407b-8987-e0b108d20ce2 2025-12-18 23:54:56,924 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f3133e6-1dc7-407b-8987-e0b108d20ce2 2025-12-18 23:54:56,931 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ffcf3f43-aa20-4738-ac12-ddd4a196deb3 2025-12-18 23:54:56,942 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-99555636', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21162724', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9092023582195403892', 'uuid-lslong': '11060417916048420074'}, 'enable': 'true', 'created': '2025-12-18T23:54:54', 'last-modified': '2025-12-18T23:54:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906702'} 2025-12-18 23:54:56,948 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 23:54:56,948 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99555636 passed 2025-12-18 23:54:56,949 - DEBUG - ====Verifying policy data for ctest-vn-99555636 in API_Server ====== 2025-12-18 23:54:56,949 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 23:54:56,953 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f68ffbe-389c-4045-94db-46135c9146bd 2025-12-18 23:54:56,963 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b623a1f-9765-43ed-9d6b-330323ab78fc 2025-12-18 23:54:57,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e2d5b46-c23b-4c74-997e-7f7e796eacea 2025-12-18 23:54:57,043 - DEBUG - ==>Verifying data for policy with id: f4607e1e-8c28-48e9-b8d3-e1fa3a1575cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-21162724', 'ctest-policy-allow-all-18546852'] 2025-12-18 23:54:57,043 - INFO - VN ctest-vn-99555636 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 23:54:57,043 - DEBUG - Verifying the vn in opserver 2025-12-18 23:54:57,043 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-99555636 virtual network link through opserver 10.0.0.38 2025-12-18 23:54:57,043 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-18 23:54:57,339 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-18 23:54:57,417 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-99555636', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-99555636?flat'} 2025-12-18 23:54:57,417 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-99555636 is found in opserver 2025-12-18 23:54:57,428 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 23:54:57,433 - DEBUG - VRF ids for VN ctest-vn-99555636: {} 2025-12-18 23:54:57,434 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 23:54:57,440 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f68ffbe-389c-4045-94db-46135c9146bd 2025-12-18 23:54:57,453 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b623a1f-9765-43ed-9d6b-330323ab78fc 2025-12-18 23:54:57,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71ebe570-e716-495f-a736-900a464928bb 2025-12-18 23:54:57,557 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71ebe570-e716-495f-a736-900a464928bb 2025-12-18 23:54:57,570 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe33e20e-8d6a-4696-9fbd-54648ca3f4c0 2025-12-18 23:54:57,579 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe33e20e-8d6a-4696-9fbd-54648ca3f4c0 2025-12-18 23:54:57,586 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5d80b6af-b323-49bc-aa0d-4ced8eaad9bc 2025-12-18 23:54:57,595 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 23:54:57,595 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71ebe570-e716-495f-a736-900a464928bb 2025-12-18 23:54:57,607 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe33e20e-8d6a-4696-9fbd-54648ca3f4c0 2025-12-18 23:54:57,625 - INFO - Verified VN network id 12 for VN 71ebe570-e716-495f-a736-900a464928bb 2025-12-18 23:54:57,626 - INFO - Verifications in API Server for VN ctest-vn-75676486 passed 2025-12-18 23:54:57,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71ebe570-e716-495f-a736-900a464928bb 2025-12-18 23:54:57,636 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe33e20e-8d6a-4696-9fbd-54648ca3f4c0 2025-12-18 23:54:57,647 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe33e20e-8d6a-4696-9fbd-54648ca3f4c0 2025-12-18 23:54:57,654 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5d80b6af-b323-49bc-aa0d-4ced8eaad9bc 2025-12-18 23:54:57,666 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-75676486', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21162724', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8208907018888956255', 'uuid-lslong': '12048976226879613115'}, 'enable': 'true', 'created': '2025-12-18T23:54:55', 'last-modified': '2025-12-18T23:54:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400275'} 2025-12-18 23:54:57,673 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 23:54:57,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75676486 passed 2025-12-18 23:54:57,674 - DEBUG - ====Verifying policy data for ctest-vn-75676486 in API_Server ====== 2025-12-18 23:54:57,674 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 23:54:57,683 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f68ffbe-389c-4045-94db-46135c9146bd 2025-12-18 23:54:57,701 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b623a1f-9765-43ed-9d6b-330323ab78fc 2025-12-18 23:54:57,787 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71ebe570-e716-495f-a736-900a464928bb 2025-12-18 23:54:57,798 - DEBUG - ==>Verifying data for policy with id: f4607e1e-8c28-48e9-b8d3-e1fa3a1575cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-21162724', 'ctest-policy-allow-all-18546852'] 2025-12-18 23:54:57,798 - INFO - VN ctest-vn-75676486 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 23:54:57,799 - DEBUG - Verifying the vn in opserver 2025-12-18 23:54:57,799 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-75676486 virtual network link through opserver 10.0.0.38 2025-12-18 23:54:57,799 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-18 23:54:57,809 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-75676486', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-75676486?flat'} 2025-12-18 23:54:57,809 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-75676486 is found in opserver 2025-12-18 23:54:57,820 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 23:54:57,825 - DEBUG - VRF ids for VN ctest-vn-75676486: {} 2025-12-18 23:54:57,882 - DEBUG - Services list from nova: [, , ] 2025-12-18 23:54:58,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4908-1) 2025-12-18 23:55:00,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4908-1) 2025-12-18 23:55:00,118 - INFO - Waiting for VM ctest-TestBasicPolicy-21162724-48262835 to be up.. 2025-12-18 23:55:00,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 23:55:05,291 - DEBUG - VM is in ACTIVE state now 2025-12-18 23:55:05,291 - INFO - VM name : ctest-TestBasicPolicy-21162724-48262835 2025-12-18 23:55:05,368 - DEBUG - VM ctest-TestBasicPolicy-21162724-48262835 ID is 435606f1-b05a-4cbc-83b0-e9d3a11ba868 2025-12-18 23:55:05,387 - DEBUG - VM ctest-TestBasicPolicy-21162724-48262835 launched on Node cn-jenkins-deploy-platform-ansible-os-4908-1 2025-12-18 23:55:05,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/435606f1-b05a-4cbc-83b0-e9d3a11ba868 2025-12-18 23:55:05,472 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/418d917b-d4d6-4f33-98c8-fc662f21f976 2025-12-18 23:55:08,706 - 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 1002ms') 2025-12-18 23:55:08,706 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21162724-48262835 failed! 2025-12-18 23:55:08,764 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21162724:ctest-vn-99555636 is 108.4.10.193 and allocation pool is NOT set 2025-12-18 23:55:10,827 - 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=9.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.398/5.223/9.049/3.825 ms') 2025-12-18 23:55:10,827 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21162724-48262835 passed 2025-12-18 23:55:10,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 23:55:10,976 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21162724-48262835, IP 108.4.10.195, Port 22 2025-12-18 23:55:11,147 - DEBUG - VM ctest-TestBasicPolicy-21162724-48262835 is ready for SSH connections 2025-12-18 23:55:11,147 - INFO - Waiting for VM ctest-TestBasicPolicy-21162724-21691393 to be up.. 2025-12-18 23:55:11,227 - DEBUG - VM is in ACTIVE state now 2025-12-18 23:55:11,227 - INFO - VM name : ctest-TestBasicPolicy-21162724-21691393 2025-12-18 23:55:11,312 - DEBUG - VM ctest-TestBasicPolicy-21162724-21691393 ID is 0c595824-590b-4f5c-bbb8-e2d6eee3399f 2025-12-18 23:55:11,312 - DEBUG - VM ctest-TestBasicPolicy-21162724-21691393 launched on Node cn-jenkins-deploy-platform-ansible-os-4908-1 2025-12-18 23:55:11,386 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0c595824-590b-4f5c-bbb8-e2d6eee3399f 2025-12-18 23:55:11,394 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57d8de7a-0161-4a23-a508-460f3cd65437 2025-12-18 23:55:12,628 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/1.798/3.066/1.268 ms') 2025-12-18 23:55:12,628 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21162724-21691393 passed 2025-12-18 23:55:12,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 23:55:12,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21162724-21691393, IP 56.141.158.131, Port 22 2025-12-18 23:55:12,935 - DEBUG - VM ctest-TestBasicPolicy-21162724-21691393 is ready for SSH connections 2025-12-18 23:55:12,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 23:55:12,936 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.141.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 23:55:12,936 - DEBUG - ping -s 56 -c 3 -W 1 56.141.158.131 2025-12-18 23:55:16,994 - DEBUG - PING 56.141.158.131 (56.141.158.131): 56 data bytes 64 bytes from 56.141.158.131: seq=0 ttl=63 time=4.711 ms 64 bytes from 56.141.158.131: seq=1 ttl=63 time=0.910 ms 64 bytes from 56.141.158.131: seq=2 ttl=63 time=0.958 ms --- 56.141.158.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.910/2.193/4.711 ms 2025-12-18 23:55:16,995 - INFO - Ping to IP 56.141.158.131 from VM ctest-TestBasicPolicy-21162724-48262835 passed 2025-12-18 23:55:17,184 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f4607e1e-8c28-48e9-b8d3-e1fa3a1575cd", "href": "http://10.0.0.38:8082/network-policy/f4607e1e-8c28-48e9-b8d3-e1fa3a1575cd"}} 2025-12-18 23:55:17,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 23:55:17,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.141.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 23:55:17,184 - DEBUG - ping -s 56 -c 3 -W 1 56.141.158.131 2025-12-18 23:55:20,393 - DEBUG - PING 56.141.158.131 (56.141.158.131): 56 data bytes --- 56.141.158.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 23:55:20,393 - WARNING - Ping to IP 56.141.158.131 from VM ctest-TestBasicPolicy-21162724-48262835 failed 2025-12-18 23:55:20,394 - INFO - Deleting VM ctest-TestBasicPolicy-21162724-21691393 2025-12-18 23:55:20,462 - INFO - Deleting VM ctest-TestBasicPolicy-21162724-48262835 2025-12-18 23:55:20,840 - INFO - Deleted policy ctest-policy-allow-all-18546852 2025-12-18 23:55:20,841 - INFO - Deleting VN ctest-vn-75676486 2025-12-18 23:55:20,881 - DEBUG - VN 71ebe570-e716-495f-a736-900a464928bb still in use: Unable to complete operation on network 71ebe570-e716-495f-a736-900a464928bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85b5ba03-c634-40c5-8b6a-ae4999bb4792'] 2025-12-18 23:55:20,881 - WARNING - Deleting VN ctest-vn-75676486 failed..Will retry 2025-12-18 23:55:22,977 - DEBUG - Response for deleting network () 2025-12-18 23:55:22,977 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe33e20e-8d6a-4696-9fbd-54648ca3f4c0 2025-12-18 23:55:22,983 - DEBUG - Response Code: 404 2025-12-18 23:55:22,983 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 23:55:22,990 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f68ffbe-389c-4045-94db-46135c9146bd 2025-12-18 23:55:23,042 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b623a1f-9765-43ed-9d6b-330323ab78fc 2025-12-18 23:55:23,109 - INFO - Validated that VN ctest-vn-75676486 is not found in API Server 2025-12-18 23:55:23,118 - DEBUG - VN ctest-vn-75676486 is not present in Agent 10.0.0.38 2025-12-18 23:55:23,118 - INFO - Validated that VN ctest-vn-75676486 is not in any agent 2025-12-18 23:55:23,133 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75676486 info 2025-12-18 23:55:23,133 - INFO - Deleting VN ctest-vn-99555636 2025-12-18 23:55:23,241 - DEBUG - Response for deleting network () 2025-12-18 23:55:23,241 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f3133e6-1dc7-407b-8987-e0b108d20ce2 2025-12-18 23:55:23,246 - DEBUG - Response Code: 404 2025-12-18 23:55:23,246 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-18 23:55:23,251 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f68ffbe-389c-4045-94db-46135c9146bd 2025-12-18 23:55:23,305 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b623a1f-9765-43ed-9d6b-330323ab78fc 2025-12-18 23:55:23,371 - INFO - Validated that VN ctest-vn-99555636 is not found in API Server 2025-12-18 23:55:23,381 - DEBUG - VN ctest-vn-99555636 is not present in Agent 10.0.0.38 2025-12-18 23:55:23,381 - INFO - Validated that VN ctest-vn-99555636 is not in any agent 2025-12-18 23:55:23,395 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99555636 info 2025-12-18 23:55:23,650 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 23:55:23,650 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-18 23:55:23,650 - INFO - -------------------------------------------------------------------------------- 2025-12-18 23:55:24,340 - INFO - Deleted project: ctest-TestBasicPolicy-21162724, ID : 1b623a1f-9765-43ed-9d6b-330323ab78fc