2025-08-26 08:06:50,689 - INFO - Domain Default found not creating 2025-08-26 08:06:50,843 - INFO - Project ctest-TestBasicPolicy-85724628 not found, creating it 2025-08-26 08:06:51,351 - INFO - Created Project:ctest-TestBasicPolicy-85724628, ID : 6edd674e-1195-4b80-bd87-072455458c51 2025-08-26 08:06:52,897 - INFO - ================================================================================ 2025-08-26 08:06:52,898 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-26 08:06:52,898 - 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-26 08:06:53,166 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-26 08:06:53,166 - INFO - Initial checks done. Running the testcase now 2025-08-26 08:06:53,166 - INFO - 2025-08-26 08:06:53,787 - DEBUG - Response for create_network : {'network': {'id': '8861960e-429b-4802-bdf7-2f44c9c2522f', 'name': 'ctest-vn-03333089', 'tenant_id': '6edd674e11954b80bd87072455458c51', 'project_id': '6edd674e11954b80bd87072455458c51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85724628', 'ctest-vn-03333089'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 08:06:54,038 - DEBUG - Response for create_subnet : {'subnet': {'id': '789e1d86-2f3e-4c75-a21d-f56aa445c5e4', 'name': '', 'tenant_id': '6edd674e11954b80bd87072455458c51', 'network_id': '8861960e-429b-4802-bdf7-2f44c9c2522f', 'ip_version': 4, 'cidr': '198.16.102.0/26', 'allocation_pools': [{'start': '198.16.102.2', 'end': '198.16.102.62'}], 'gateway_ip': '198.16.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.16.102.2', 'tags': [], 'project_id': '6edd674e11954b80bd87072455458c51'}} 2025-08-26 08:06:54,062 - INFO - Created VN ctest-vn-03333089 2025-08-26 08:06:54,115 - DEBUG - VN ctest-vn-03333089 UUID is 8861960e-429b-4802-bdf7-2f44c9c2522f 2025-08-26 08:06:54,455 - DEBUG - Response for create_network : {'network': {'id': '8c52198f-8514-48e8-a3d7-ded2669f89e9', 'name': 'ctest-vn-84588515', 'tenant_id': '6edd674e11954b80bd87072455458c51', 'project_id': '6edd674e11954b80bd87072455458c51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85724628', 'ctest-vn-84588515'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 08:06:54,640 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b5efbe0-2249-4baf-a64a-7491d2aed12a', 'name': '', 'tenant_id': '6edd674e11954b80bd87072455458c51', 'network_id': '8c52198f-8514-48e8-a3d7-ded2669f89e9', 'ip_version': 4, 'cidr': '88.177.14.192/26', 'allocation_pools': [{'start': '88.177.14.194', 'end': '88.177.14.254'}], 'gateway_ip': '88.177.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.177.14.194', 'tags': [], 'project_id': '6edd674e11954b80bd87072455458c51'}} 2025-08-26 08:06:54,664 - INFO - Created VN ctest-vn-84588515 2025-08-26 08:06:54,723 - DEBUG - VN ctest-vn-84588515 UUID is 8c52198f-8514-48e8-a3d7-ded2669f89e9 2025-08-26 08:06:54,849 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-03333089, 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-85724628:ctest-vn-84588515, 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-26 08:06:55,166 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8861960e-429b-4802-bdf7-2f44c9c2522f', 'name': 'ctest-vn-03333089', 'tenant_id': '6edd674e11954b80bd87072455458c51', 'project_id': '6edd674e11954b80bd87072455458c51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['789e1d86-2f3e-4c75-a21d-f56aa445c5e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85724628', 'ctest-vn-03333089'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85724628', 'ctest-policy-allow-all-10408876']], 'subnet_ipam': [{'subnet_cidr': '198.16.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 08:06:55,452 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c52198f-8514-48e8-a3d7-ded2669f89e9', 'name': 'ctest-vn-84588515', 'tenant_id': '6edd674e11954b80bd87072455458c51', 'project_id': '6edd674e11954b80bd87072455458c51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0b5efbe0-2249-4baf-a64a-7491d2aed12a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85724628', 'ctest-vn-84588515'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85724628', 'ctest-policy-allow-all-10408876']], 'subnet_ipam': [{'subnet_cidr': '88.177.14.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 08:06:55,611 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-26 08:06:55,914 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-26 08:06:55,944 - DEBUG - Requesting: http://10.0.0.50:8082/domain/342c02d5-2795-4e1c-82bc-cda74abc5ff4 2025-08-26 08:06:55,957 - DEBUG - Requesting: http://10.0.0.50:8082/project/6edd674e-1195-4b80-bd87-072455458c51 2025-08-26 08:06:56,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8861960e-429b-4802-bdf7-2f44c9c2522f 2025-08-26 08:06:56,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8861960e-429b-4802-bdf7-2f44c9c2522f 2025-08-26 08:06:56,062 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1541320b-fdd7-4ebd-870e-57f8c43e7290 2025-08-26 08:06:56,071 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1541320b-fdd7-4ebd-870e-57f8c43e7290 2025-08-26 08:06:56,083 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ae20144d-a640-4650-ba78-f73a776b482e 2025-08-26 08:06:56,091 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 08:06:56,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8861960e-429b-4802-bdf7-2f44c9c2522f 2025-08-26 08:06:56,102 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1541320b-fdd7-4ebd-870e-57f8c43e7290 2025-08-26 08:06:56,117 - INFO - Verified VN network id 11 for VN 8861960e-429b-4802-bdf7-2f44c9c2522f 2025-08-26 08:06:56,117 - INFO - Verifications in API Server for VN ctest-vn-03333089 passed 2025-08-26 08:06:56,118 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8861960e-429b-4802-bdf7-2f44c9c2522f 2025-08-26 08:06:56,129 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1541320b-fdd7-4ebd-870e-57f8c43e7290 2025-08-26 08:06:56,137 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1541320b-fdd7-4ebd-870e-57f8c43e7290 2025-08-26 08:06:56,144 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ae20144d-a640-4650-ba78-f73a776b482e 2025-08-26 08:06:56,158 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-03333089', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85724628', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9827300849890314242', 'uuid-lslong': '13688461564905148975'}, 'enable': 'true', 'created': '2025-08-26T08:06:53', 'last-modified': '2025-08-26T08:06:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021396'} 2025-08-26 08:06:56,166 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 08:06:56,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03333089 passed 2025-08-26 08:06:56,166 - DEBUG - ====Verifying policy data for ctest-vn-03333089 in API_Server ====== 2025-08-26 08:06:56,166 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-26 08:06:56,173 - DEBUG - Requesting: http://10.0.0.50:8082/domain/342c02d5-2795-4e1c-82bc-cda74abc5ff4 2025-08-26 08:06:56,187 - DEBUG - Requesting: http://10.0.0.50:8082/project/6edd674e-1195-4b80-bd87-072455458c51 2025-08-26 08:06:56,272 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8861960e-429b-4802-bdf7-2f44c9c2522f 2025-08-26 08:06:56,287 - DEBUG - ==>Verifying data for policy with id: 89d24473-4aa3-4c7f-a716-d71f2b92f7e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-85724628', 'ctest-policy-allow-all-10408876'] 2025-08-26 08:06:56,287 - INFO - VN ctest-vn-03333089 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 08:06:56,287 - DEBUG - Verifying the vn in opserver 2025-08-26 08:06:56,287 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-03333089 virtual network link through opserver 10.0.0.50 2025-08-26 08:06:56,287 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-26 08:06:56,579 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-26 08:06:56,644 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-03333089', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-03333089?flat'} 2025-08-26 08:06:56,644 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-03333089 is found in opserver 2025-08-26 08:06:56,659 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 08:06:56,664 - DEBUG - VRF ids for VN ctest-vn-03333089: {} 2025-08-26 08:06:56,664 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-26 08:06:56,671 - DEBUG - Requesting: http://10.0.0.50:8082/domain/342c02d5-2795-4e1c-82bc-cda74abc5ff4 2025-08-26 08:06:56,685 - DEBUG - Requesting: http://10.0.0.50:8082/project/6edd674e-1195-4b80-bd87-072455458c51 2025-08-26 08:06:56,759 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c52198f-8514-48e8-a3d7-ded2669f89e9 2025-08-26 08:06:56,776 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c52198f-8514-48e8-a3d7-ded2669f89e9 2025-08-26 08:06:56,789 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ae39e04-cb87-49b9-99dc-833c6278a901 2025-08-26 08:06:56,798 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ae39e04-cb87-49b9-99dc-833c6278a901 2025-08-26 08:06:56,808 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e9ee8c2c-7312-435c-b7a8-da35e8511c09 2025-08-26 08:06:56,816 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 08:06:56,816 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c52198f-8514-48e8-a3d7-ded2669f89e9 2025-08-26 08:06:56,828 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ae39e04-cb87-49b9-99dc-833c6278a901 2025-08-26 08:06:56,844 - INFO - Verified VN network id 12 for VN 8c52198f-8514-48e8-a3d7-ded2669f89e9 2025-08-26 08:06:56,844 - INFO - Verifications in API Server for VN ctest-vn-84588515 passed 2025-08-26 08:06:56,844 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c52198f-8514-48e8-a3d7-ded2669f89e9 2025-08-26 08:06:56,859 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ae39e04-cb87-49b9-99dc-833c6278a901 2025-08-26 08:06:56,867 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ae39e04-cb87-49b9-99dc-833c6278a901 2025-08-26 08:06:56,875 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e9ee8c2c-7312-435c-b7a8-da35e8511c09 2025-08-26 08:06:56,890 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-84588515', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85724628', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10111172217603901672', 'uuid-lslong': '11806149943421274601'}, 'enable': 'true', 'created': '2025-08-26T08:06:54', 'last-modified': '2025-08-26T08:06:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510479'} 2025-08-26 08:06:56,898 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 08:06:56,898 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84588515 passed 2025-08-26 08:06:56,899 - DEBUG - ====Verifying policy data for ctest-vn-84588515 in API_Server ====== 2025-08-26 08:06:56,899 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-26 08:06:56,906 - DEBUG - Requesting: http://10.0.0.50:8082/domain/342c02d5-2795-4e1c-82bc-cda74abc5ff4 2025-08-26 08:06:56,919 - DEBUG - Requesting: http://10.0.0.50:8082/project/6edd674e-1195-4b80-bd87-072455458c51 2025-08-26 08:06:57,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c52198f-8514-48e8-a3d7-ded2669f89e9 2025-08-26 08:06:57,016 - DEBUG - ==>Verifying data for policy with id: 89d24473-4aa3-4c7f-a716-d71f2b92f7e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-85724628', 'ctest-policy-allow-all-10408876'] 2025-08-26 08:06:57,016 - INFO - VN ctest-vn-84588515 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 08:06:57,016 - DEBUG - Verifying the vn in opserver 2025-08-26 08:06:57,016 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-84588515 virtual network link through opserver 10.0.0.50 2025-08-26 08:06:57,016 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-26 08:06:57,027 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-84588515', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-84588515?flat'} 2025-08-26 08:06:57,027 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-84588515 is found in opserver 2025-08-26 08:06:57,038 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 08:06:57,044 - DEBUG - VRF ids for VN ctest-vn-84588515: {} 2025-08-26 08:06:57,109 - DEBUG - Services list from nova: [, , ] 2025-08-26 08:06:58,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3937-1) 2025-08-26 08:06:59,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3937-1) 2025-08-26 08:06:59,345 - INFO - Waiting for VM ctest-TestBasicPolicy-85724628-80957308 to be up.. 2025-08-26 08:06:59,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 08:07:04,595 - DEBUG - VM is in ACTIVE state now 2025-08-26 08:07:04,595 - INFO - VM name : ctest-TestBasicPolicy-85724628-80957308 2025-08-26 08:07:04,701 - DEBUG - VM ctest-TestBasicPolicy-85724628-80957308 ID is 69d0f119-07ba-4752-9d20-bb7a395eb182 2025-08-26 08:07:04,722 - DEBUG - VM ctest-TestBasicPolicy-85724628-80957308 launched on Node cn-jenkins-deploy-platform-ansible-os-3937-1 2025-08-26 08:07:04,823 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/69d0f119-07ba-4752-9d20-bb7a395eb182 2025-08-26 08:07:04,832 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b039efea-8beb-43d4-a2bf-f338d35e8490 2025-08-26 08:07:08,088 - 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 1006ms') 2025-08-26 08:07:08,088 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85724628-80957308 failed! 2025-08-26 08:07:08,147 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85724628:ctest-vn-03333089 is 198.16.102.1 and allocation pool is NOT set 2025-08-26 08:07:10,213 - 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=8.79 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/4.566/8.790/4.223 ms') 2025-08-26 08:07:10,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85724628-80957308 passed 2025-08-26 08:07:10,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:07:10,371 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85724628-80957308, IP 198.16.102.3, Port 22 2025-08-26 08:07:10,526 - DEBUG - VM ctest-TestBasicPolicy-85724628-80957308 is ready for SSH connections 2025-08-26 08:07:10,526 - INFO - Waiting for VM ctest-TestBasicPolicy-85724628-16677888 to be up.. 2025-08-26 08:07:10,603 - DEBUG - VM is in ACTIVE state now 2025-08-26 08:07:10,603 - INFO - VM name : ctest-TestBasicPolicy-85724628-16677888 2025-08-26 08:07:10,678 - DEBUG - VM ctest-TestBasicPolicy-85724628-16677888 ID is 5e985fbb-55c6-4f5e-83ee-96af6e78ec3c 2025-08-26 08:07:10,678 - DEBUG - VM ctest-TestBasicPolicy-85724628-16677888 launched on Node cn-jenkins-deploy-platform-ansible-os-3937-1 2025-08-26 08:07:10,763 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5e985fbb-55c6-4f5e-83ee-96af6e78ec3c 2025-08-26 08:07:10,774 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9cbcd827-a0ac-4ace-acae-107887923860 2025-08-26 08:07:12,020 - 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=4.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.669 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.669/2.383/4.097/1.714 ms') 2025-08-26 08:07:12,021 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85724628-16677888 passed 2025-08-26 08:07:12,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:07:12,175 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85724628-16677888, IP 88.177.14.195, Port 22 2025-08-26 08:07:12,342 - DEBUG - VM ctest-TestBasicPolicy-85724628-16677888 is ready for SSH connections 2025-08-26 08:07:12,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:07:12,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.177.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-26 08:07:12,343 - DEBUG - ping -s 56 -c 3 -W 1 88.177.14.195 2025-08-26 08:07:16,052 - DEBUG - PING 88.177.14.195 (88.177.14.195): 56 data bytes 64 bytes from 88.177.14.195: seq=0 ttl=63 time=3.379 ms 64 bytes from 88.177.14.195: seq=1 ttl=63 time=0.923 ms 64 bytes from 88.177.14.195: seq=2 ttl=63 time=1.147 ms --- 88.177.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/1.816/3.379 ms 2025-08-26 08:07:16,052 - INFO - Ping to IP 88.177.14.195 from VM ctest-TestBasicPolicy-85724628-80957308 passed 2025-08-26 08:07:16,258 - DEBUG - Policy Update Response {"network-policy": {"uuid": "89d24473-4aa3-4c7f-a716-d71f2b92f7e5", "href": "http://10.0.0.50:8082/network-policy/89d24473-4aa3-4c7f-a716-d71f2b92f7e5"}} 2025-08-26 08:07:16,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:07:16,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.177.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-26 08:07:16,259 - DEBUG - ping -s 56 -c 3 -W 1 88.177.14.195 2025-08-26 08:07:19,471 - DEBUG - PING 88.177.14.195 (88.177.14.195): 56 data bytes --- 88.177.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 08:07:19,471 - WARNING - Ping to IP 88.177.14.195 from VM ctest-TestBasicPolicy-85724628-80957308 failed 2025-08-26 08:07:19,471 - INFO - Deleting VM ctest-TestBasicPolicy-85724628-16677888 2025-08-26 08:07:19,562 - INFO - Deleting VM ctest-TestBasicPolicy-85724628-80957308 2025-08-26 08:07:19,998 - INFO - Deleted policy ctest-policy-allow-all-10408876 2025-08-26 08:07:19,998 - INFO - Deleting VN ctest-vn-84588515 2025-08-26 08:07:20,051 - DEBUG - VN 8c52198f-8514-48e8-a3d7-ded2669f89e9 still in use: Unable to complete operation on network 8c52198f-8514-48e8-a3d7-ded2669f89e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3cfe6c25-6f53-4ff9-9c8e-b4ceca3e4476'] 2025-08-26 08:07:20,051 - WARNING - Deleting VN ctest-vn-84588515 failed..Will retry 2025-08-26 08:07:22,178 - DEBUG - Response for deleting network () 2025-08-26 08:07:22,178 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ae39e04-cb87-49b9-99dc-833c6278a901 2025-08-26 08:07:22,189 - DEBUG - Response Code: 404 2025-08-26 08:07:22,189 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-26 08:07:22,197 - DEBUG - Requesting: http://10.0.0.50:8082/domain/342c02d5-2795-4e1c-82bc-cda74abc5ff4 2025-08-26 08:07:22,257 - DEBUG - Requesting: http://10.0.0.50:8082/project/6edd674e-1195-4b80-bd87-072455458c51 2025-08-26 08:07:22,339 - INFO - Validated that VN ctest-vn-84588515 is not found in API Server 2025-08-26 08:07:22,354 - DEBUG - VN ctest-vn-84588515 is not present in Agent 10.0.0.50 2025-08-26 08:07:22,354 - INFO - Validated that VN ctest-vn-84588515 is not in any agent 2025-08-26 08:07:22,372 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84588515 info 2025-08-26 08:07:22,372 - INFO - Deleting VN ctest-vn-03333089 2025-08-26 08:07:22,487 - DEBUG - Response for deleting network () 2025-08-26 08:07:22,487 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1541320b-fdd7-4ebd-870e-57f8c43e7290 2025-08-26 08:07:22,492 - DEBUG - Response Code: 404 2025-08-26 08:07:22,492 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-26 08:07:22,497 - DEBUG - Requesting: http://10.0.0.50:8082/domain/342c02d5-2795-4e1c-82bc-cda74abc5ff4 2025-08-26 08:07:22,560 - DEBUG - Requesting: http://10.0.0.50:8082/project/6edd674e-1195-4b80-bd87-072455458c51 2025-08-26 08:07:22,635 - INFO - Validated that VN ctest-vn-03333089 is not found in API Server 2025-08-26 08:07:22,647 - DEBUG - VN ctest-vn-03333089 is not present in Agent 10.0.0.50 2025-08-26 08:07:22,647 - INFO - Validated that VN ctest-vn-03333089 is not in any agent 2025-08-26 08:07:22,665 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03333089 info 2025-08-26 08:07:22,921 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 08:07:22,921 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-26 08:07:22,921 - INFO - -------------------------------------------------------------------------------- 2025-08-26 08:07:23,617 - INFO - Deleted project: ctest-TestBasicPolicy-85724628, ID : 6edd674e-1195-4b80-bd87-072455458c51