2025-12-08 20:19:45,989 - INFO - Domain Default found not creating 2025-12-08 20:19:46,182 - INFO - Project ctest-TestBasicPolicy-31929867 not found, creating it 2025-12-08 20:19:46,675 - INFO - Created Project:ctest-TestBasicPolicy-31929867, ID : 5c2a8a4c-0e6b-48dd-8599-3394b97a127a 2025-12-08 20:19:48,267 - INFO - ================================================================================ 2025-12-08 20:19:48,267 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-08 20:19:48,267 - 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-08 20:19:48,541 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-12-08 20:19:48,541 - INFO - Initial checks done. Running the testcase now 2025-12-08 20:19:48,541 - INFO - 2025-12-08 20:19:49,136 - DEBUG - Response for create_network : {'network': {'id': '9b5c6b0f-45e0-4f95-a58d-85b010192827', 'name': 'ctest-vn-80981107', 'tenant_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'project_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31929867', 'ctest-vn-80981107'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 20:19:49,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '616ba911-2de1-4e98-bc28-4a79b3db5416', 'name': '', 'tenant_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'network_id': '9b5c6b0f-45e0-4f95-a58d-85b010192827', 'ip_version': 4, 'cidr': '20.11.251.192/26', 'allocation_pools': [{'start': '20.11.251.194', 'end': '20.11.251.254'}], 'gateway_ip': '20.11.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.11.251.194', 'tags': [], 'project_id': '5c2a8a4c0e6b48dd85993394b97a127a'}} 2025-12-08 20:19:49,355 - INFO - Created VN ctest-vn-80981107 2025-12-08 20:19:49,409 - DEBUG - VN ctest-vn-80981107 UUID is 9b5c6b0f-45e0-4f95-a58d-85b010192827 2025-12-08 20:19:49,719 - DEBUG - Response for create_network : {'network': {'id': '65f8d6d5-9352-4fda-9d1d-51a7c1c889d5', 'name': 'ctest-vn-46930802', 'tenant_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'project_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31929867', 'ctest-vn-46930802'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 20:19:49,881 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7c4cf22-cbac-4b10-aa77-bfe6ae8e3ec3', 'name': '', 'tenant_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'network_id': '65f8d6d5-9352-4fda-9d1d-51a7c1c889d5', 'ip_version': 4, 'cidr': '81.19.137.0/26', 'allocation_pools': [{'start': '81.19.137.2', 'end': '81.19.137.62'}], 'gateway_ip': '81.19.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.19.137.2', 'tags': [], 'project_id': '5c2a8a4c0e6b48dd85993394b97a127a'}} 2025-12-08 20:19:49,900 - INFO - Created VN ctest-vn-46930802 2025-12-08 20:19:49,953 - DEBUG - VN ctest-vn-46930802 UUID is 65f8d6d5-9352-4fda-9d1d-51a7c1c889d5 2025-12-08 20:19:50,075 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-80981107, 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-31929867:ctest-vn-46930802, 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-08 20:19:50,395 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b5c6b0f-45e0-4f95-a58d-85b010192827', 'name': 'ctest-vn-80981107', 'tenant_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'project_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['616ba911-2de1-4e98-bc28-4a79b3db5416'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31929867', 'ctest-vn-80981107'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31929867', 'ctest-policy-allow-all-49648782']], 'subnet_ipam': [{'subnet_cidr': '20.11.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 20:19:50,676 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65f8d6d5-9352-4fda-9d1d-51a7c1c889d5', 'name': 'ctest-vn-46930802', 'tenant_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'project_id': '5c2a8a4c0e6b48dd85993394b97a127a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c7c4cf22-cbac-4b10-aa77-bfe6ae8e3ec3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31929867', 'ctest-vn-46930802'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31929867', 'ctest-policy-allow-all-49648782']], 'subnet_ipam': [{'subnet_cidr': '81.19.137.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 20:19:50,825 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 20:19:51,135 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 20:19:51,170 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1fddce28-7986-4d00-9389-720e4acb85d9 2025-12-08 20:19:51,185 - DEBUG - Requesting: http://10.0.0.33:8082/project/5c2a8a4c-0e6b-48dd-8599-3394b97a127a 2025-12-08 20:19:51,264 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b5c6b0f-45e0-4f95-a58d-85b010192827 2025-12-08 20:19:51,275 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b5c6b0f-45e0-4f95-a58d-85b010192827 2025-12-08 20:19:51,285 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aba17ec5-dd62-4433-a12f-c3eac99951f9 2025-12-08 20:19:51,293 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aba17ec5-dd62-4433-a12f-c3eac99951f9 2025-12-08 20:19:51,300 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4f58bfdf-e81c-4d45-a6fe-abce8c13f700 2025-12-08 20:19:51,308 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 20:19:51,308 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b5c6b0f-45e0-4f95-a58d-85b010192827 2025-12-08 20:19:51,317 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aba17ec5-dd62-4433-a12f-c3eac99951f9 2025-12-08 20:19:51,333 - INFO - Verified VN network id 11 for VN 9b5c6b0f-45e0-4f95-a58d-85b010192827 2025-12-08 20:19:51,333 - INFO - Verifications in API Server for VN ctest-vn-80981107 passed 2025-12-08 20:19:51,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b5c6b0f-45e0-4f95-a58d-85b010192827 2025-12-08 20:19:51,342 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aba17ec5-dd62-4433-a12f-c3eac99951f9 2025-12-08 20:19:51,350 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aba17ec5-dd62-4433-a12f-c3eac99951f9 2025-12-08 20:19:51,357 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4f58bfdf-e81c-4d45-a6fe-abce8c13f700 2025-12-08 20:19:51,370 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-80981107', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31929867', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11194940487077220245', 'uuid-lslong': '11929337979205134375'}, 'enable': 'true', 'created': '2025-12-08T20:19:49', 'last-modified': '2025-12-08T20:19:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006771'} 2025-12-08 20:19:51,376 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 20:19:51,376 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80981107 passed 2025-12-08 20:19:51,376 - DEBUG - ====Verifying policy data for ctest-vn-80981107 in API_Server ====== 2025-12-08 20:19:51,376 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 20:19:51,383 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1fddce28-7986-4d00-9389-720e4acb85d9 2025-12-08 20:19:51,394 - DEBUG - Requesting: http://10.0.0.33:8082/project/5c2a8a4c-0e6b-48dd-8599-3394b97a127a 2025-12-08 20:19:51,461 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b5c6b0f-45e0-4f95-a58d-85b010192827 2025-12-08 20:19:51,471 - DEBUG - ==>Verifying data for policy with id: 89236178-aa1c-47c4-a34b-b4518569bd8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-31929867', 'ctest-policy-allow-all-49648782'] 2025-12-08 20:19:51,471 - INFO - VN ctest-vn-80981107 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 20:19:51,471 - DEBUG - Verifying the vn in opserver 2025-12-08 20:19:51,471 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-80981107 virtual network link through opserver 10.0.0.33 2025-12-08 20:19:51,471 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-08 20:19:51,775 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-08 20:19:51,859 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-80981107', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-80981107?flat'} 2025-12-08 20:19:51,859 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-80981107 is found in opserver 2025-12-08 20:19:51,871 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 20:19:51,877 - DEBUG - VRF ids for VN ctest-vn-80981107: {} 2025-12-08 20:19:51,877 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 20:19:51,892 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1fddce28-7986-4d00-9389-720e4acb85d9 2025-12-08 20:19:51,905 - DEBUG - Requesting: http://10.0.0.33:8082/project/5c2a8a4c-0e6b-48dd-8599-3394b97a127a 2025-12-08 20:19:51,978 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f8d6d5-9352-4fda-9d1d-51a7c1c889d5 2025-12-08 20:19:51,995 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f8d6d5-9352-4fda-9d1d-51a7c1c889d5 2025-12-08 20:19:52,004 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f23fc5f5-c09b-4e9b-a8ac-4db3b7aeed7c 2025-12-08 20:19:52,012 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f23fc5f5-c09b-4e9b-a8ac-4db3b7aeed7c 2025-12-08 20:19:52,021 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8ccfb36b-902c-42cb-ac2a-edc7d41cfa84 2025-12-08 20:19:52,028 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 20:19:52,028 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f8d6d5-9352-4fda-9d1d-51a7c1c889d5 2025-12-08 20:19:52,038 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f23fc5f5-c09b-4e9b-a8ac-4db3b7aeed7c 2025-12-08 20:19:52,055 - INFO - Verified VN network id 12 for VN 65f8d6d5-9352-4fda-9d1d-51a7c1c889d5 2025-12-08 20:19:52,055 - INFO - Verifications in API Server for VN ctest-vn-46930802 passed 2025-12-08 20:19:52,055 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f8d6d5-9352-4fda-9d1d-51a7c1c889d5 2025-12-08 20:19:52,064 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f23fc5f5-c09b-4e9b-a8ac-4db3b7aeed7c 2025-12-08 20:19:52,073 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f23fc5f5-c09b-4e9b-a8ac-4db3b7aeed7c 2025-12-08 20:19:52,081 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8ccfb36b-902c-42cb-ac2a-edc7d41cfa84 2025-12-08 20:19:52,094 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-46930802', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31929867', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7347859004842987482', 'uuid-lslong': '11321294819231828437'}, 'enable': 'true', 'created': '2025-12-08T20:19:49', 'last-modified': '2025-12-08T20:19:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.494489'} 2025-12-08 20:19:52,100 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 20:19:52,100 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46930802 passed 2025-12-08 20:19:52,100 - DEBUG - ====Verifying policy data for ctest-vn-46930802 in API_Server ====== 2025-12-08 20:19:52,101 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 20:19:52,107 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1fddce28-7986-4d00-9389-720e4acb85d9 2025-12-08 20:19:52,118 - DEBUG - Requesting: http://10.0.0.33:8082/project/5c2a8a4c-0e6b-48dd-8599-3394b97a127a 2025-12-08 20:19:52,185 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f8d6d5-9352-4fda-9d1d-51a7c1c889d5 2025-12-08 20:19:52,196 - DEBUG - ==>Verifying data for policy with id: 89236178-aa1c-47c4-a34b-b4518569bd8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-31929867', 'ctest-policy-allow-all-49648782'] 2025-12-08 20:19:52,196 - INFO - VN ctest-vn-46930802 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 20:19:52,197 - DEBUG - Verifying the vn in opserver 2025-12-08 20:19:52,197 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-46930802 virtual network link through opserver 10.0.0.33 2025-12-08 20:19:52,197 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-08 20:19:52,207 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-46930802', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-46930802?flat'} 2025-12-08 20:19:52,207 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-46930802 is found in opserver 2025-12-08 20:19:52,218 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 20:19:52,223 - DEBUG - VRF ids for VN ctest-vn-46930802: {} 2025-12-08 20:19:52,289 - DEBUG - Services list from nova: [, , ] 2025-12-08 20:19:53,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4860-1) 2025-12-08 20:19:54,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4860-1) 2025-12-08 20:19:54,623 - INFO - Waiting for VM ctest-TestBasicPolicy-31929867-39158705 to be up.. 2025-12-08 20:19:54,717 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 20:19:59,803 - DEBUG - VM is in ACTIVE state now 2025-12-08 20:19:59,803 - INFO - VM name : ctest-TestBasicPolicy-31929867-39158705 2025-12-08 20:19:59,884 - DEBUG - VM ctest-TestBasicPolicy-31929867-39158705 ID is 6cfcddbf-b702-41de-9970-721a86f2ff68 2025-12-08 20:19:59,906 - DEBUG - VM ctest-TestBasicPolicy-31929867-39158705 launched on Node cn-jenkins-deploy-platform-ansible-os-4860-1 2025-12-08 20:19:59,992 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6cfcddbf-b702-41de-9970-721a86f2ff68 2025-12-08 20:20:00,002 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2a6360e8-3cb9-41e2-9db2-2a38a6785fd7 2025-12-08 20:20:03,264 - 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 1005ms') 2025-12-08 20:20:03,264 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31929867-39158705 failed! 2025-12-08 20:20:03,321 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31929867:ctest-vn-80981107 is 20.11.251.193 and allocation pool is NOT set 2025-12-08 20:20:05,395 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.39 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 = 2.391/6.390/10.389/3.999 ms') 2025-12-08 20:20:05,395 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31929867-39158705 passed 2025-12-08 20:20:05,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:20:05,550 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31929867-39158705, IP 20.11.251.195, Port 22 2025-12-08 20:20:05,724 - DEBUG - VM ctest-TestBasicPolicy-31929867-39158705 is ready for SSH connections 2025-12-08 20:20:05,724 - INFO - Waiting for VM ctest-TestBasicPolicy-31929867-68822409 to be up.. 2025-12-08 20:20:05,835 - DEBUG - VM is in ACTIVE state now 2025-12-08 20:20:05,835 - INFO - VM name : ctest-TestBasicPolicy-31929867-68822409 2025-12-08 20:20:05,943 - DEBUG - VM ctest-TestBasicPolicy-31929867-68822409 ID is 6c584e55-6801-4a7e-ac76-753a65695324 2025-12-08 20:20:05,943 - DEBUG - VM ctest-TestBasicPolicy-31929867-68822409 launched on Node cn-jenkins-deploy-platform-ansible-os-4860-1 2025-12-08 20:20:06,036 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6c584e55-6801-4a7e-ac76-753a65695324 2025-12-08 20:20:06,046 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8782848c-9096-4425-9910-b77ae3267d09 2025-12-08 20:20:07,298 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.14 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.135/3.249/4.364/1.114 ms') 2025-12-08 20:20:07,298 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31929867-68822409 passed 2025-12-08 20:20:07,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:20:07,454 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31929867-68822409, IP 81.19.137.3, Port 22 2025-12-08 20:20:07,609 - DEBUG - VM ctest-TestBasicPolicy-31929867-68822409 is ready for SSH connections 2025-12-08 20:20:07,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:20:07,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.19.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 20:20:07,610 - DEBUG - ping -s 56 -c 3 -W 1 81.19.137.3 2025-12-08 20:20:11,753 - DEBUG - PING 81.19.137.3 (81.19.137.3): 56 data bytes 64 bytes from 81.19.137.3: seq=0 ttl=63 time=3.922 ms 64 bytes from 81.19.137.3: seq=1 ttl=63 time=1.076 ms 64 bytes from 81.19.137.3: seq=2 ttl=63 time=0.949 ms --- 81.19.137.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.949/1.982/3.922 ms 2025-12-08 20:20:11,753 - INFO - Ping to IP 81.19.137.3 from VM ctest-TestBasicPolicy-31929867-39158705 passed 2025-12-08 20:20:11,933 - DEBUG - Policy Update Response {"network-policy": {"uuid": "89236178-aa1c-47c4-a34b-b4518569bd8a", "href": "http://10.0.0.33:8082/network-policy/89236178-aa1c-47c4-a34b-b4518569bd8a"}} 2025-12-08 20:20:11,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:20:11,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.19.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 20:20:11,934 - DEBUG - ping -s 56 -c 3 -W 1 81.19.137.3 2025-12-08 20:20:15,179 - DEBUG - PING 81.19.137.3 (81.19.137.3): 56 data bytes --- 81.19.137.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 20:20:15,179 - WARNING - Ping to IP 81.19.137.3 from VM ctest-TestBasicPolicy-31929867-39158705 failed 2025-12-08 20:20:15,180 - INFO - Deleting VM ctest-TestBasicPolicy-31929867-68822409 2025-12-08 20:20:15,254 - INFO - Deleting VM ctest-TestBasicPolicy-31929867-39158705 2025-12-08 20:20:15,657 - INFO - Deleted policy ctest-policy-allow-all-49648782 2025-12-08 20:20:15,657 - INFO - Deleting VN ctest-vn-46930802 2025-12-08 20:20:15,699 - DEBUG - VN 65f8d6d5-9352-4fda-9d1d-51a7c1c889d5 still in use: Unable to complete operation on network 65f8d6d5-9352-4fda-9d1d-51a7c1c889d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-94ce31c3-5ed9-45ee-b64d-49f40af031d2'] 2025-12-08 20:20:15,699 - WARNING - Deleting VN ctest-vn-46930802 failed..Will retry 2025-12-08 20:20:17,824 - DEBUG - Response for deleting network () 2025-12-08 20:20:17,824 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f23fc5f5-c09b-4e9b-a8ac-4db3b7aeed7c 2025-12-08 20:20:17,831 - DEBUG - Response Code: 404 2025-12-08 20:20:17,831 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 20:20:17,838 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1fddce28-7986-4d00-9389-720e4acb85d9 2025-12-08 20:20:17,892 - DEBUG - Requesting: http://10.0.0.33:8082/project/5c2a8a4c-0e6b-48dd-8599-3394b97a127a 2025-12-08 20:20:17,970 - INFO - Validated that VN ctest-vn-46930802 is not found in API Server 2025-12-08 20:20:17,981 - DEBUG - VN ctest-vn-46930802 is not present in Agent 10.0.0.33 2025-12-08 20:20:17,981 - INFO - Validated that VN ctest-vn-46930802 is not in any agent 2025-12-08 20:20:17,997 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46930802 info 2025-12-08 20:20:17,997 - INFO - Deleting VN ctest-vn-80981107 2025-12-08 20:20:18,100 - DEBUG - Response for deleting network () 2025-12-08 20:20:18,100 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aba17ec5-dd62-4433-a12f-c3eac99951f9 2025-12-08 20:20:18,105 - DEBUG - Response Code: 404 2025-12-08 20:20:18,105 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-08 20:20:18,110 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1fddce28-7986-4d00-9389-720e4acb85d9 2025-12-08 20:20:18,167 - DEBUG - Requesting: http://10.0.0.33:8082/project/5c2a8a4c-0e6b-48dd-8599-3394b97a127a 2025-12-08 20:20:18,244 - INFO - Validated that VN ctest-vn-80981107 is not found in API Server 2025-12-08 20:20:18,254 - DEBUG - VN ctest-vn-80981107 is not present in Agent 10.0.0.33 2025-12-08 20:20:18,254 - INFO - Validated that VN ctest-vn-80981107 is not in any agent 2025-12-08 20:20:18,268 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80981107 info 2025-12-08 20:20:18,533 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 20:20:18,533 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-08 20:20:18,533 - INFO - -------------------------------------------------------------------------------- 2025-12-08 20:20:19,241 - INFO - Deleted project: ctest-TestBasicPolicy-31929867, ID : 5c2a8a4c-0e6b-48dd-8599-3394b97a127a