2025-10-27 20:07:53,815 - INFO - Domain Default found not creating 2025-10-27 20:07:53,967 - INFO - Project ctest-TestBasicPolicy-53661863 not found, creating it 2025-10-27 20:07:54,402 - INFO - Created Project:ctest-TestBasicPolicy-53661863, ID : 4d950760-6f3e-4cd1-bb0f-219f02dae31d 2025-10-27 20:07:55,853 - INFO - ================================================================================ 2025-10-27 20:07:55,853 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 20:07:55,853 - 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-10-27 20:07:56,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 20:07:56,112 - INFO - Initial checks done. Running the testcase now 2025-10-27 20:07:56,112 - INFO - 2025-10-27 20:07:56,663 - DEBUG - Response for create_network : {'network': {'id': '25256928-1999-4634-afb4-e76c06ec20ad', 'name': 'ctest-vn-81915558', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-vn-81915558'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:07:56,874 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e47ff369-8034-4408-b9c3-e5ba5cc5544d', 'name': '', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'network_id': '25256928-1999-4634-afb4-e76c06ec20ad', 'ip_version': 4, 'cidr': '36.243.222.128/26', 'allocation_pools': [{'start': '36.243.222.130', 'end': '36.243.222.190'}], 'gateway_ip': '36.243.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.243.222.130', 'tags': [], 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d'}} 2025-10-27 20:07:56,891 - INFO - Created VN ctest-vn-81915558 2025-10-27 20:07:56,941 - DEBUG - VN ctest-vn-81915558 UUID is 25256928-1999-4634-afb4-e76c06ec20ad 2025-10-27 20:07:57,221 - DEBUG - Response for create_network : {'network': {'id': 'c4277872-1648-43d6-829d-cee1b8ac2600', 'name': 'ctest-vn-73416450', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-vn-73416450'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:07:57,447 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0417e22-f038-4982-923f-196050c1ec46', 'name': '', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'network_id': 'c4277872-1648-43d6-829d-cee1b8ac2600', 'ip_version': 4, 'cidr': '111.232.182.64/26', 'allocation_pools': [{'start': '111.232.182.66', 'end': '111.232.182.126'}], 'gateway_ip': '111.232.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.232.182.66', 'tags': [], 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d'}} 2025-10-27 20:07:57,466 - INFO - Created VN ctest-vn-73416450 2025-10-27 20:07:57,517 - DEBUG - VN ctest-vn-73416450 UUID is c4277872-1648-43d6-829d-cee1b8ac2600 2025-10-27 20:07:57,669 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558, 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-53661863:ctest-vn-73416450, 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-10-27 20:07:57,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25256928-1999-4634-afb4-e76c06ec20ad', 'name': 'ctest-vn-81915558', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e47ff369-8034-4408-b9c3-e5ba5cc5544d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-vn-81915558'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-policy-allow-all-70647740']], 'subnet_ipam': [{'subnet_cidr': '36.243.222.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:07:58,228 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4277872-1648-43d6-829d-cee1b8ac2600', 'name': 'ctest-vn-73416450', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0417e22-f038-4982-923f-196050c1ec46'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-vn-73416450'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-policy-allow-all-70647740']], 'subnet_ipam': [{'subnet_cidr': '111.232.182.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:07:58,369 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:07:58,670 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:07:58,701 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f 2025-10-27 20:07:58,714 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d 2025-10-27 20:07:58,785 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad 2025-10-27 20:07:58,795 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad 2025-10-27 20:07:58,803 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc 2025-10-27 20:07:58,809 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc 2025-10-27 20:07:58,815 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0aea8c22-2430-4d39-9a17-f5a61dd74509 2025-10-27 20:07:58,820 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 20:07:58,820 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad 2025-10-27 20:07:58,828 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc 2025-10-27 20:07:58,842 - INFO - Verified VN network id 11 for VN 25256928-1999-4634-afb4-e76c06ec20ad 2025-10-27 20:07:58,842 - INFO - Verifications in API Server for VN ctest-vn-81915558 passed 2025-10-27 20:07:58,842 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad 2025-10-27 20:07:58,851 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc 2025-10-27 20:07:58,856 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc 2025-10-27 20:07:58,863 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0aea8c22-2430-4d39-9a17-f5a61dd74509 2025-10-27 20:07:58,873 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53661863', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2676661174490711604', 'uuid-lslong': '12660998903603929261'}, 'enable': 'true', 'created': '2025-10-27T20:07:56', 'last-modified': '2025-10-27T20:07:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936371'} 2025-10-27 20:07:58,879 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 20:07:58,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81915558 passed 2025-10-27 20:07:58,879 - DEBUG - ====Verifying policy data for ctest-vn-81915558 in API_Server ====== 2025-10-27 20:07:58,879 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:07:58,885 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f 2025-10-27 20:07:58,897 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d 2025-10-27 20:07:58,965 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad 2025-10-27 20:07:58,973 - DEBUG - ==>Verifying data for policy with id: a191d1e6-176e-4d03-9b50-26b47ce9fa40, fqn: ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-policy-allow-all-70647740'] 2025-10-27 20:07:58,974 - INFO - VN ctest-vn-81915558 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 20:07:58,974 - DEBUG - Verifying the vn in opserver 2025-10-27 20:07:58,974 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558 virtual network link through opserver 10.0.0.242 2025-10-27 20:07:58,974 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 20:07:59,265 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 20:07:59,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558?flat'} 2025-10-27 20:07:59,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558 is found in opserver 2025-10-27 20:07:59,330 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 20:07:59,340 - DEBUG - VRF ids for VN ctest-vn-81915558: {} 2025-10-27 20:07:59,340 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:07:59,345 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f 2025-10-27 20:07:59,356 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d 2025-10-27 20:07:59,431 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600 2025-10-27 20:07:59,445 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600 2025-10-27 20:07:59,457 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae 2025-10-27 20:07:59,467 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae 2025-10-27 20:07:59,474 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d52839d7-37f3-4c89-a9e5-3237c195e7ac 2025-10-27 20:07:59,481 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 20:07:59,481 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600 2025-10-27 20:07:59,490 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae 2025-10-27 20:07:59,505 - INFO - Verified VN network id 12 for VN c4277872-1648-43d6-829d-cee1b8ac2600 2025-10-27 20:07:59,505 - INFO - Verifications in API Server for VN ctest-vn-73416450 passed 2025-10-27 20:07:59,505 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600 2025-10-27 20:07:59,515 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae 2025-10-27 20:07:59,522 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae 2025-10-27 20:07:59,529 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d52839d7-37f3-4c89-a9e5-3237c195e7ac 2025-10-27 20:07:59,541 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53661863', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14134398386921030614', 'uuid-lslong': '9411906265135457792'}, 'enable': 'true', 'created': '2025-10-27T20:07:57', 'last-modified': '2025-10-27T20:07:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378023'} 2025-10-27 20:07:59,547 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 20:07:59,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73416450 passed 2025-10-27 20:07:59,547 - DEBUG - ====Verifying policy data for ctest-vn-73416450 in API_Server ====== 2025-10-27 20:07:59,547 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:07:59,553 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f 2025-10-27 20:07:59,563 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d 2025-10-27 20:07:59,633 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600 2025-10-27 20:07:59,643 - DEBUG - ==>Verifying data for policy with id: a191d1e6-176e-4d03-9b50-26b47ce9fa40, fqn: ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-policy-allow-all-70647740'] 2025-10-27 20:07:59,643 - INFO - VN ctest-vn-73416450 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 20:07:59,643 - DEBUG - Verifying the vn in opserver 2025-10-27 20:07:59,643 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450 virtual network link through opserver 10.0.0.242 2025-10-27 20:07:59,643 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 20:07:59,653 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450?flat'} 2025-10-27 20:07:59,653 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450 is found in opserver 2025-10-27 20:07:59,662 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 20:07:59,666 - DEBUG - VRF ids for VN ctest-vn-73416450: {} 2025-10-27 20:07:59,726 - DEBUG - Services list from nova: [, , ] 2025-10-27 20:08:00,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4510-1) 2025-10-27 20:08:02,014 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4510-1) 2025-10-27 20:08:02,014 - INFO - Waiting for VM ctest-TestBasicPolicy-53661863-67719576 to be up.. 2025-10-27 20:08:02,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 20:08:07,166 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:08:07,166 - INFO - VM name : ctest-TestBasicPolicy-53661863-67719576 2025-10-27 20:08:07,235 - DEBUG - VM ctest-TestBasicPolicy-53661863-67719576 ID is 9f32002f-02c3-4d34-807d-d81f6840d779 2025-10-27 20:08:07,253 - DEBUG - VM ctest-TestBasicPolicy-53661863-67719576 launched on Node cn-jenkins-deploy-platform-ansible-os-4510-1 2025-10-27 20:08:07,324 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9f32002f-02c3-4d34-807d-d81f6840d779 2025-10-27 20:08:07,333 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/82237eeb-f89e-4530-a4ef-3c0130b5da81 2025-10-27 20:08:10,595 - 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 1014ms') 2025-10-27 20:08:10,595 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53661863-67719576 failed! 2025-10-27 20:08:10,653 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558 is 36.243.222.129 and allocation pool is NOT set 2025-10-27 20:08:12,716 - 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=7.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.67 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 = 2.666/4.990/7.315/2.324 ms') 2025-10-27 20:08:12,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53661863-67719576 passed 2025-10-27 20:08:12,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:08:12,861 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53661863-67719576, IP 36.243.222.131, Port 22 2025-10-27 20:08:13,020 - DEBUG - VM ctest-TestBasicPolicy-53661863-67719576 is ready for SSH connections 2025-10-27 20:08:13,020 - INFO - Waiting for VM ctest-TestBasicPolicy-53661863-14735836 to be up.. 2025-10-27 20:08:13,093 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:08:13,093 - INFO - VM name : ctest-TestBasicPolicy-53661863-14735836 2025-10-27 20:08:13,158 - DEBUG - VM ctest-TestBasicPolicy-53661863-14735836 ID is 3d2b733a-1944-4d61-9b9e-e361319086ee 2025-10-27 20:08:13,158 - DEBUG - VM ctest-TestBasicPolicy-53661863-14735836 launched on Node cn-jenkins-deploy-platform-ansible-os-4510-1 2025-10-27 20:08:13,226 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3d2b733a-1944-4d61-9b9e-e361319086ee 2025-10-27 20:08:13,233 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ea238354-e45f-454e-8996-8bd24e8c12f9 2025-10-27 20:08:14,468 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.826 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 = 0.826/2.725/4.625/1.899 ms') 2025-10-27 20:08:14,468 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53661863-14735836 passed 2025-10-27 20:08:14,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:08:14,621 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53661863-14735836, IP 111.232.182.67, Port 22 2025-10-27 20:08:14,777 - DEBUG - VM ctest-TestBasicPolicy-53661863-14735836 is ready for SSH connections 2025-10-27 20:08:14,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:08:14,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.232.182.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:08:14,777 - DEBUG - ping -s 56 -c 3 -W 1 111.232.182.67 2025-10-27 20:08:18,799 - DEBUG - PING 111.232.182.67 (111.232.182.67): 56 data bytes 64 bytes from 111.232.182.67: seq=0 ttl=63 time=4.232 ms 64 bytes from 111.232.182.67: seq=1 ttl=63 time=0.846 ms 64 bytes from 111.232.182.67: seq=2 ttl=63 time=0.808 ms --- 111.232.182.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.962/4.232 ms 2025-10-27 20:08:18,799 - INFO - Ping to IP 111.232.182.67 from VM ctest-TestBasicPolicy-53661863-67719576 passed 2025-10-27 20:08:18,977 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a191d1e6-176e-4d03-9b50-26b47ce9fa40", "href": "http://10.0.0.242:8082/network-policy/a191d1e6-176e-4d03-9b50-26b47ce9fa40"}} 2025-10-27 20:08:18,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:08:18,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.232.182.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:08:18,977 - DEBUG - ping -s 56 -c 3 -W 1 111.232.182.67 2025-10-27 20:08:22,200 - DEBUG - PING 111.232.182.67 (111.232.182.67): 56 data bytes --- 111.232.182.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 20:08:22,200 - WARNING - Ping to IP 111.232.182.67 from VM ctest-TestBasicPolicy-53661863-67719576 failed 2025-10-27 20:08:22,200 - INFO - Deleting VM ctest-TestBasicPolicy-53661863-14735836 2025-10-27 20:08:22,271 - INFO - Deleting VM ctest-TestBasicPolicy-53661863-67719576 2025-10-27 20:08:22,638 - INFO - Deleted policy ctest-policy-allow-all-70647740 2025-10-27 20:08:22,638 - INFO - Deleting VN ctest-vn-73416450 2025-10-27 20:08:22,683 - DEBUG - VN c4277872-1648-43d6-829d-cee1b8ac2600 still in use: Unable to complete operation on network c4277872-1648-43d6-829d-cee1b8ac2600. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-53c6cc09-44a3-4057-925c-63396605fd5a'] 2025-10-27 20:08:22,684 - WARNING - Deleting VN ctest-vn-73416450 failed..Will retry 2025-10-27 20:08:24,780 - DEBUG - Response for deleting network () 2025-10-27 20:08:24,780 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae 2025-10-27 20:08:24,785 - DEBUG - Response Code: 404 2025-10-27 20:08:24,785 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:08:24,792 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f 2025-10-27 20:08:24,848 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d 2025-10-27 20:08:24,916 - INFO - Validated that VN ctest-vn-73416450 is not found in API Server 2025-10-27 20:08:24,927 - DEBUG - VN ctest-vn-73416450 is not present in Agent 10.0.0.242 2025-10-27 20:08:24,927 - INFO - Validated that VN ctest-vn-73416450 is not in any agent 2025-10-27 20:08:24,942 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73416450 info 2025-10-27 20:08:24,942 - INFO - Deleting VN ctest-vn-81915558 2025-10-27 20:08:25,043 - DEBUG - Response for deleting network () 2025-10-27 20:08:25,043 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc 2025-10-27 20:08:25,051 - DEBUG - Response Code: 404 2025-10-27 20:08:25,051 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:08:25,057 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f 2025-10-27 20:08:25,110 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d 2025-10-27 20:08:25,181 - INFO - Validated that VN ctest-vn-81915558 is not found in API Server 2025-10-27 20:08:25,192 - DEBUG - VN ctest-vn-81915558 is not present in Agent 10.0.0.242 2025-10-27 20:08:25,192 - INFO - Validated that VN ctest-vn-81915558 is not in any agent 2025-10-27 20:08:25,207 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81915558 info 2025-10-27 20:08:25,463 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 20:08:25,463 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-27 20:08:25,463 - INFO - -------------------------------------------------------------------------------- 2025-10-27 20:08:26,127 - INFO - Deleted project: ctest-TestBasicPolicy-53661863, ID : 4d950760-6f3e-4cd1-bb0f-219f02dae31d