2025-08-18 09:46:18,782 - INFO - Domain Default found not creating 2025-08-18 09:46:18,897 - INFO - Project ctest-TestBasicPolicy-66668911 not found, creating it 2025-08-18 09:46:19,358 - INFO - Created Project:ctest-TestBasicPolicy-66668911, ID : d5b9225f-d7ea-45c5-9c20-0e22528678f9 2025-08-18 09:46:20,625 - INFO - ================================================================================ 2025-08-18 09:46:20,625 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-18 09:46:20,625 - 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-18 09:46:20,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-18 09:46:20,887 - INFO - Initial checks done. Running the testcase now 2025-08-18 09:46:20,887 - INFO - 2025-08-18 09:46:21,384 - DEBUG - Response for create_network : {'network': {'id': '180cb105-7311-48ac-a513-ee0ce20f7d3e', 'name': 'ctest-vn-26503963', 'tenant_id': 'd5b9225fd7ea45c59c200e22528678f9', 'project_id': 'd5b9225fd7ea45c59c200e22528678f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66668911', 'ctest-vn-26503963'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:46:21,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '10ce6096-751f-4d5d-983f-c592c6004719', 'name': '', 'tenant_id': 'd5b9225fd7ea45c59c200e22528678f9', 'network_id': '180cb105-7311-48ac-a513-ee0ce20f7d3e', 'ip_version': 4, 'cidr': '162.176.233.192/26', 'allocation_pools': [{'start': '162.176.233.194', 'end': '162.176.233.254'}], 'gateway_ip': '162.176.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.176.233.194', 'tags': [], 'project_id': 'd5b9225fd7ea45c59c200e22528678f9'}} 2025-08-18 09:46:21,541 - INFO - Created VN ctest-vn-26503963 2025-08-18 09:46:21,590 - DEBUG - VN ctest-vn-26503963 UUID is 180cb105-7311-48ac-a513-ee0ce20f7d3e 2025-08-18 09:46:21,876 - DEBUG - Response for create_network : {'network': {'id': '5da0e474-d9e2-4dd9-90df-af6740ce7e32', 'name': 'ctest-vn-49242350', 'tenant_id': 'd5b9225fd7ea45c59c200e22528678f9', 'project_id': 'd5b9225fd7ea45c59c200e22528678f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66668911', 'ctest-vn-49242350'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:46:22,039 - DEBUG - Response for create_subnet : {'subnet': {'id': '321bde48-9cbe-4cd9-83a9-6f20aeb9ec9c', 'name': '', 'tenant_id': 'd5b9225fd7ea45c59c200e22528678f9', 'network_id': '5da0e474-d9e2-4dd9-90df-af6740ce7e32', 'ip_version': 4, 'cidr': '120.71.50.192/26', 'allocation_pools': [{'start': '120.71.50.194', 'end': '120.71.50.254'}], 'gateway_ip': '120.71.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.71.50.194', 'tags': [], 'project_id': 'd5b9225fd7ea45c59c200e22528678f9'}} 2025-08-18 09:46:22,053 - INFO - Created VN ctest-vn-49242350 2025-08-18 09:46:22,102 - DEBUG - VN ctest-vn-49242350 UUID is 5da0e474-d9e2-4dd9-90df-af6740ce7e32 2025-08-18 09:46:22,234 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-26503963, 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-66668911:ctest-vn-49242350, 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-18 09:46:22,503 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '180cb105-7311-48ac-a513-ee0ce20f7d3e', 'name': 'ctest-vn-26503963', 'tenant_id': 'd5b9225fd7ea45c59c200e22528678f9', 'project_id': 'd5b9225fd7ea45c59c200e22528678f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['10ce6096-751f-4d5d-983f-c592c6004719'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66668911', 'ctest-vn-26503963'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66668911', 'ctest-policy-allow-all-32631084']], 'subnet_ipam': [{'subnet_cidr': '162.176.233.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:46:22,760 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5da0e474-d9e2-4dd9-90df-af6740ce7e32', 'name': 'ctest-vn-49242350', 'tenant_id': 'd5b9225fd7ea45c59c200e22528678f9', 'project_id': 'd5b9225fd7ea45c59c200e22528678f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['321bde48-9cbe-4cd9-83a9-6f20aeb9ec9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66668911', 'ctest-vn-49242350'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66668911', 'ctest-policy-allow-all-32631084']], 'subnet_ipam': [{'subnet_cidr': '120.71.50.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:46:22,906 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 09:46:23,197 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 09:46:23,225 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c411f047-41a6-4ee8-9b3f-c0155f1d56a0 2025-08-18 09:46:23,236 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5b9225f-d7ea-45c5-9c20-0e22528678f9 2025-08-18 09:46:23,302 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/180cb105-7311-48ac-a513-ee0ce20f7d3e 2025-08-18 09:46:23,311 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/180cb105-7311-48ac-a513-ee0ce20f7d3e 2025-08-18 09:46:23,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13ad22a8-a687-46b7-a15d-ebb041dc0b9b 2025-08-18 09:46:23,323 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13ad22a8-a687-46b7-a15d-ebb041dc0b9b 2025-08-18 09:46:23,328 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/754c87f6-b8ec-4925-bb21-be3ad19b40c6 2025-08-18 09:46:23,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 09:46:23,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/180cb105-7311-48ac-a513-ee0ce20f7d3e 2025-08-18 09:46:23,339 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13ad22a8-a687-46b7-a15d-ebb041dc0b9b 2025-08-18 09:46:23,349 - INFO - Verified VN network id 12 for VN 180cb105-7311-48ac-a513-ee0ce20f7d3e 2025-08-18 09:46:23,349 - INFO - Verifications in API Server for VN ctest-vn-26503963 passed 2025-08-18 09:46:23,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/180cb105-7311-48ac-a513-ee0ce20f7d3e 2025-08-18 09:46:23,357 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13ad22a8-a687-46b7-a15d-ebb041dc0b9b 2025-08-18 09:46:23,362 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13ad22a8-a687-46b7-a15d-ebb041dc0b9b 2025-08-18 09:46:23,366 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/754c87f6-b8ec-4925-bb21-be3ad19b40c6 2025-08-18 09:46:23,375 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-26503963', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66668911', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1732954593594263724', 'uuid-lslong': '11895112779915296062'}, 'enable': 'true', 'created': '2025-08-18T09:46:21', 'last-modified': '2025-08-18T09:46:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893298'} 2025-08-18 09:46:23,380 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 09:46:23,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26503963 passed 2025-08-18 09:46:23,381 - DEBUG - ====Verifying policy data for ctest-vn-26503963 in API_Server ====== 2025-08-18 09:46:23,381 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 09:46:23,385 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c411f047-41a6-4ee8-9b3f-c0155f1d56a0 2025-08-18 09:46:23,393 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5b9225f-d7ea-45c5-9c20-0e22528678f9 2025-08-18 09:46:23,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/180cb105-7311-48ac-a513-ee0ce20f7d3e 2025-08-18 09:46:23,470 - DEBUG - ==>Verifying data for policy with id: 64c20bc3-8f4b-4408-b16e-cd6b8fc7ab51, fqn: ['default-domain', 'ctest-TestBasicPolicy-66668911', 'ctest-policy-allow-all-32631084'] 2025-08-18 09:46:23,470 - INFO - VN ctest-vn-26503963 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 09:46:23,470 - DEBUG - Verifying the vn in opserver 2025-08-18 09:46:23,471 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-26503963 virtual network link through opserver 10.0.0.38 2025-08-18 09:46:23,471 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-18 09:46:23,755 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-18 09:46:23,802 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-26503963', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-26503963?flat'} 2025-08-18 09:46:23,802 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-26503963 is found in opserver 2025-08-18 09:46:23,811 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 09:46:23,814 - DEBUG - VRF ids for VN ctest-vn-26503963: {} 2025-08-18 09:46:23,815 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 09:46:23,819 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c411f047-41a6-4ee8-9b3f-c0155f1d56a0 2025-08-18 09:46:23,827 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5b9225f-d7ea-45c5-9c20-0e22528678f9 2025-08-18 09:46:23,894 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5da0e474-d9e2-4dd9-90df-af6740ce7e32 2025-08-18 09:46:23,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5da0e474-d9e2-4dd9-90df-af6740ce7e32 2025-08-18 09:46:23,911 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4d962e3-9f90-4c2a-9739-e56c6a459094 2025-08-18 09:46:23,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4d962e3-9f90-4c2a-9739-e56c6a459094 2025-08-18 09:46:23,920 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b4a467b0-a70a-46a5-9e56-945c6fd26195 2025-08-18 09:46:23,925 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 09:46:23,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5da0e474-d9e2-4dd9-90df-af6740ce7e32 2025-08-18 09:46:23,932 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4d962e3-9f90-4c2a-9739-e56c6a459094 2025-08-18 09:46:23,942 - INFO - Verified VN network id 13 for VN 5da0e474-d9e2-4dd9-90df-af6740ce7e32 2025-08-18 09:46:23,942 - INFO - Verifications in API Server for VN ctest-vn-49242350 passed 2025-08-18 09:46:23,942 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5da0e474-d9e2-4dd9-90df-af6740ce7e32 2025-08-18 09:46:23,949 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4d962e3-9f90-4c2a-9739-e56c6a459094 2025-08-18 09:46:23,955 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4d962e3-9f90-4c2a-9739-e56c6a459094 2025-08-18 09:46:23,960 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b4a467b0-a70a-46a5-9e56-945c6fd26195 2025-08-18 09:46:23,969 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-49242350', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66668911', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6746643432323829209', 'uuid-lslong': '10439255319271865906'}, 'enable': 'true', 'created': '2025-08-18T09:46:21', 'last-modified': '2025-08-18T09:46:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.271056'} 2025-08-18 09:46:23,974 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 09:46:23,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49242350 passed 2025-08-18 09:46:23,974 - DEBUG - ====Verifying policy data for ctest-vn-49242350 in API_Server ====== 2025-08-18 09:46:23,974 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 09:46:23,978 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c411f047-41a6-4ee8-9b3f-c0155f1d56a0 2025-08-18 09:46:23,987 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5b9225f-d7ea-45c5-9c20-0e22528678f9 2025-08-18 09:46:24,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5da0e474-d9e2-4dd9-90df-af6740ce7e32 2025-08-18 09:46:24,061 - DEBUG - ==>Verifying data for policy with id: 64c20bc3-8f4b-4408-b16e-cd6b8fc7ab51, fqn: ['default-domain', 'ctest-TestBasicPolicy-66668911', 'ctest-policy-allow-all-32631084'] 2025-08-18 09:46:24,061 - INFO - VN ctest-vn-49242350 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 09:46:24,061 - DEBUG - Verifying the vn in opserver 2025-08-18 09:46:24,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-49242350 virtual network link through opserver 10.0.0.38 2025-08-18 09:46:24,061 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-18 09:46:24,069 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-49242350', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-49242350?flat'} 2025-08-18 09:46:24,069 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-49242350 is found in opserver 2025-08-18 09:46:24,077 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 09:46:24,081 - DEBUG - VRF ids for VN ctest-vn-49242350: {} 2025-08-18 09:46:24,126 - DEBUG - Services list from nova: [, , ] 2025-08-18 09:46:25,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3876-1) 2025-08-18 09:46:26,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3876-1) 2025-08-18 09:46:26,057 - INFO - Waiting for VM ctest-TestBasicPolicy-66668911-61473489 to be up.. 2025-08-18 09:46:26,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 09:46:31,180 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:46:31,180 - INFO - VM name : ctest-TestBasicPolicy-66668911-61473489 2025-08-18 09:46:31,244 - DEBUG - VM ctest-TestBasicPolicy-66668911-61473489 ID is af2cd43f-2ab0-4112-99e5-9600d33a6f85 2025-08-18 09:46:31,261 - DEBUG - VM ctest-TestBasicPolicy-66668911-61473489 launched on Node cn-jenkins-deploy-platform-ansible-os-3876-1 2025-08-18 09:46:31,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/af2cd43f-2ab0-4112-99e5-9600d33a6f85 2025-08-18 09:46:31,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ddfc6a89-6c76-4923-9d18-f54b2f11b0a1 2025-08-18 09:46:34,592 - 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 1028ms') 2025-08-18 09:46:34,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66668911-61473489 failed! 2025-08-18 09:46:34,646 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66668911:ctest-vn-26503963 is 162.176.233.193 and allocation pool is NOT set 2025-08-18 09:46:36,707 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.325 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.325/1.417/2.510/1.092 ms') 2025-08-18 09:46:36,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66668911-61473489 passed 2025-08-18 09:46:36,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:46:36,854 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66668911-61473489, IP 162.176.233.195, Port 22 2025-08-18 09:46:37,005 - DEBUG - VM ctest-TestBasicPolicy-66668911-61473489 is ready for SSH connections 2025-08-18 09:46:37,006 - INFO - Waiting for VM ctest-TestBasicPolicy-66668911-66738517 to be up.. 2025-08-18 09:46:37,066 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:46:37,066 - INFO - VM name : ctest-TestBasicPolicy-66668911-66738517 2025-08-18 09:46:37,120 - DEBUG - VM ctest-TestBasicPolicy-66668911-66738517 ID is ded83fb7-da12-4a36-ab5a-9dffc2700d92 2025-08-18 09:46:37,120 - DEBUG - VM ctest-TestBasicPolicy-66668911-66738517 launched on Node cn-jenkins-deploy-platform-ansible-os-3876-1 2025-08-18 09:46:37,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ded83fb7-da12-4a36-ab5a-9dffc2700d92 2025-08-18 09:46:37,181 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4c0e3176-2cf0-4d79-ab01-52f4dbf0f6b5 2025-08-18 09:46:38,401 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 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.365/1.446/2.527/1.081 ms') 2025-08-18 09:46:38,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66668911-66738517 passed 2025-08-18 09:46:38,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:46:38,554 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66668911-66738517, IP 120.71.50.195, Port 22 2025-08-18 09:46:38,709 - DEBUG - VM ctest-TestBasicPolicy-66668911-66738517 is ready for SSH connections 2025-08-18 09:46:38,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:46:38,709 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.71.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 09:46:38,709 - DEBUG - ping -s 56 -c 3 -W 1 120.71.50.195 2025-08-18 09:46:42,372 - DEBUG - PING 120.71.50.195 (120.71.50.195): 56 data bytes 64 bytes from 120.71.50.195: seq=0 ttl=63 time=2.876 ms 64 bytes from 120.71.50.195: seq=1 ttl=63 time=0.611 ms 64 bytes from 120.71.50.195: seq=2 ttl=63 time=0.602 ms --- 120.71.50.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.602/1.363/2.876 ms 2025-08-18 09:46:42,373 - INFO - Ping to IP 120.71.50.195 from VM ctest-TestBasicPolicy-66668911-61473489 passed 2025-08-18 09:46:42,546 - DEBUG - Policy Update Response {"network-policy": {"uuid": "64c20bc3-8f4b-4408-b16e-cd6b8fc7ab51", "href": "http://10.0.0.38:8082/network-policy/64c20bc3-8f4b-4408-b16e-cd6b8fc7ab51"}} 2025-08-18 09:46:42,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:46:42,546 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.71.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 09:46:42,546 - DEBUG - ping -s 56 -c 3 -W 1 120.71.50.195 2025-08-18 09:46:45,756 - DEBUG - PING 120.71.50.195 (120.71.50.195): 56 data bytes 64 bytes from 120.71.50.195: seq=0 ttl=63 time=1.390 ms --- 120.71.50.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.390/1.390/1.390 ms 2025-08-18 09:46:45,756 - WARNING - Ping to IP 120.71.50.195 from VM ctest-TestBasicPolicy-66668911-61473489 failed 2025-08-18 09:46:45,757 - INFO - Deleting VM ctest-TestBasicPolicy-66668911-66738517 2025-08-18 09:46:45,812 - INFO - Deleting VM ctest-TestBasicPolicy-66668911-61473489 2025-08-18 09:46:46,119 - INFO - Deleted policy ctest-policy-allow-all-32631084 2025-08-18 09:46:46,120 - INFO - Deleting VN ctest-vn-49242350 2025-08-18 09:46:46,147 - DEBUG - VN 5da0e474-d9e2-4dd9-90df-af6740ce7e32 still in use: Unable to complete operation on network 5da0e474-d9e2-4dd9-90df-af6740ce7e32. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-56b18b83-ea23-45ba-a9a1-23e32be378b3'] 2025-08-18 09:46:46,147 - WARNING - Deleting VN ctest-vn-49242350 failed..Will retry 2025-08-18 09:46:48,236 - DEBUG - Response for deleting network () 2025-08-18 09:46:48,236 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4d962e3-9f90-4c2a-9739-e56c6a459094 2025-08-18 09:46:48,244 - DEBUG - Response Code: 404 2025-08-18 09:46:48,244 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 09:46:48,248 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c411f047-41a6-4ee8-9b3f-c0155f1d56a0 2025-08-18 09:46:48,300 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5b9225f-d7ea-45c5-9c20-0e22528678f9 2025-08-18 09:46:48,371 - INFO - Validated that VN ctest-vn-49242350 is not found in API Server 2025-08-18 09:46:48,380 - DEBUG - VN ctest-vn-49242350 is not present in Agent 10.0.0.38 2025-08-18 09:46:48,380 - INFO - Validated that VN ctest-vn-49242350 is not in any agent 2025-08-18 09:46:48,393 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49242350 info 2025-08-18 09:46:48,393 - INFO - Deleting VN ctest-vn-26503963 2025-08-18 09:46:48,478 - DEBUG - Response for deleting network () 2025-08-18 09:46:48,479 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13ad22a8-a687-46b7-a15d-ebb041dc0b9b 2025-08-18 09:46:48,485 - DEBUG - Response Code: 404 2025-08-18 09:46:48,486 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-18 09:46:48,490 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c411f047-41a6-4ee8-9b3f-c0155f1d56a0 2025-08-18 09:46:48,542 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5b9225f-d7ea-45c5-9c20-0e22528678f9 2025-08-18 09:46:48,609 - INFO - Validated that VN ctest-vn-26503963 is not found in API Server 2025-08-18 09:46:48,617 - DEBUG - VN ctest-vn-26503963 is not present in Agent 10.0.0.38 2025-08-18 09:46:48,617 - INFO - Validated that VN ctest-vn-26503963 is not in any agent 2025-08-18 09:46:48,630 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26503963 info 2025-08-18 09:46:48,878 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 09:46:48,878 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-08-18 09:46:48,878 - INFO - -------------------------------------------------------------------------------- 2025-08-18 09:46:49,506 - INFO - Deleted project: ctest-TestBasicPolicy-66668911, ID : d5b9225f-d7ea-45c5-9c20-0e22528678f9