2025-09-10 16:48:54,766 - INFO - Domain Default found not creating 2025-09-10 16:48:54,900 - INFO - Project ctest-TestBasicPolicy-31576764 not found, creating it 2025-09-10 16:48:55,357 - INFO - Created Project:ctest-TestBasicPolicy-31576764, ID : 9554f1dd-c231-4dcd-8f3b-48f6b1b1c58d 2025-09-10 16:48:56,758 - INFO - ================================================================================ 2025-09-10 16:48:56,758 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-10 16:48:56,758 - 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-09-10 16:48:57,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-10 16:48:57,021 - INFO - Initial checks done. Running the testcase now 2025-09-10 16:48:57,021 - INFO - 2025-09-10 16:48:57,563 - DEBUG - Response for create_network : {'network': {'id': '9f12871f-1401-414d-b0c6-913b07fdb47a', 'name': 'ctest-vn-78002804', 'tenant_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'project_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31576764', 'ctest-vn-78002804'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:48:57,764 - DEBUG - Response for create_subnet : {'subnet': {'id': '61414720-9726-4ec4-8edc-e7feb6ae5d30', 'name': '', 'tenant_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'network_id': '9f12871f-1401-414d-b0c6-913b07fdb47a', 'ip_version': 4, 'cidr': '8.155.91.0/26', 'allocation_pools': [{'start': '8.155.91.2', 'end': '8.155.91.62'}], 'gateway_ip': '8.155.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.155.91.2', 'tags': [], 'project_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d'}} 2025-09-10 16:48:57,784 - INFO - Created VN ctest-vn-78002804 2025-09-10 16:48:57,835 - DEBUG - VN ctest-vn-78002804 UUID is 9f12871f-1401-414d-b0c6-913b07fdb47a 2025-09-10 16:48:58,128 - DEBUG - Response for create_network : {'network': {'id': 'b7a9c071-191f-4f12-aa28-8904eca20af8', 'name': 'ctest-vn-91124689', 'tenant_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'project_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31576764', 'ctest-vn-91124689'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:48:58,326 - DEBUG - Response for create_subnet : {'subnet': {'id': '93200e8a-80d4-4b1e-9d41-acc919bc8f69', 'name': '', 'tenant_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'network_id': 'b7a9c071-191f-4f12-aa28-8904eca20af8', 'ip_version': 4, 'cidr': '178.227.76.0/26', 'allocation_pools': [{'start': '178.227.76.2', 'end': '178.227.76.62'}], 'gateway_ip': '178.227.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.227.76.2', 'tags': [], 'project_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d'}} 2025-09-10 16:48:58,343 - INFO - Created VN ctest-vn-91124689 2025-09-10 16:48:58,395 - DEBUG - VN ctest-vn-91124689 UUID is b7a9c071-191f-4f12-aa28-8904eca20af8 2025-09-10 16:48:58,543 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-78002804, 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-31576764:ctest-vn-91124689, 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-09-10 16:48:58,829 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f12871f-1401-414d-b0c6-913b07fdb47a', 'name': 'ctest-vn-78002804', 'tenant_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'project_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61414720-9726-4ec4-8edc-e7feb6ae5d30'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31576764', 'ctest-vn-78002804'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31576764', 'ctest-policy-allow-all-86456671']], 'subnet_ipam': [{'subnet_cidr': '8.155.91.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:48:59,064 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b7a9c071-191f-4f12-aa28-8904eca20af8', 'name': 'ctest-vn-91124689', 'tenant_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'project_id': '9554f1ddc2314dcd8f3b48f6b1b1c58d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93200e8a-80d4-4b1e-9d41-acc919bc8f69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31576764', 'ctest-vn-91124689'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31576764', 'ctest-policy-allow-all-86456671']], 'subnet_ipam': [{'subnet_cidr': '178.227.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:48:59,215 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-10 16:48:59,516 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-10 16:48:59,542 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bfc7b387-c8ba-427d-acaf-188347cac98e 2025-09-10 16:48:59,553 - DEBUG - Requesting: http://10.0.0.254:8082/project/9554f1dd-c231-4dcd-8f3b-48f6b1b1c58d 2025-09-10 16:48:59,622 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f12871f-1401-414d-b0c6-913b07fdb47a 2025-09-10 16:48:59,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f12871f-1401-414d-b0c6-913b07fdb47a 2025-09-10 16:48:59,644 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/042af523-b914-4c15-ba35-ac075591722b 2025-09-10 16:48:59,652 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/042af523-b914-4c15-ba35-ac075591722b 2025-09-10 16:48:59,659 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/80671b84-f2fd-45b9-9d9d-454036cf8563 2025-09-10 16:48:59,665 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-10 16:48:59,665 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f12871f-1401-414d-b0c6-913b07fdb47a 2025-09-10 16:48:59,676 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/042af523-b914-4c15-ba35-ac075591722b 2025-09-10 16:48:59,691 - INFO - Verified VN network id 12 for VN 9f12871f-1401-414d-b0c6-913b07fdb47a 2025-09-10 16:48:59,691 - INFO - Verifications in API Server for VN ctest-vn-78002804 passed 2025-09-10 16:48:59,691 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f12871f-1401-414d-b0c6-913b07fdb47a 2025-09-10 16:48:59,700 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/042af523-b914-4c15-ba35-ac075591722b 2025-09-10 16:48:59,707 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/042af523-b914-4c15-ba35-ac075591722b 2025-09-10 16:48:59,714 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/80671b84-f2fd-45b9-9d9d-454036cf8563 2025-09-10 16:48:59,725 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-78002804', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31576764', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11462372569160696141', 'uuid-lslong': '12738028278787191930'}, 'enable': 'true', 'created': '2025-09-10T16:48:57', 'last-modified': '2025-09-10T16:48:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915681'} 2025-09-10 16:48:59,730 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-10 16:48:59,730 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78002804 passed 2025-09-10 16:48:59,730 - DEBUG - ====Verifying policy data for ctest-vn-78002804 in API_Server ====== 2025-09-10 16:48:59,730 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-10 16:48:59,735 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bfc7b387-c8ba-427d-acaf-188347cac98e 2025-09-10 16:48:59,746 - DEBUG - Requesting: http://10.0.0.254:8082/project/9554f1dd-c231-4dcd-8f3b-48f6b1b1c58d 2025-09-10 16:48:59,817 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f12871f-1401-414d-b0c6-913b07fdb47a 2025-09-10 16:48:59,828 - DEBUG - ==>Verifying data for policy with id: f524e252-83f7-4485-bf14-485fb1beceb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-31576764', 'ctest-policy-allow-all-86456671'] 2025-09-10 16:48:59,828 - INFO - VN ctest-vn-78002804 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-10 16:48:59,828 - DEBUG - Verifying the vn in opserver 2025-09-10 16:48:59,828 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-78002804 virtual network link through opserver 10.0.0.254 2025-09-10 16:48:59,828 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-10 16:49:00,131 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-10 16:49:00,189 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-78002804', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-78002804?flat'} 2025-09-10 16:49:00,189 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-78002804 is found in opserver 2025-09-10 16:49:00,199 - DEBUG - Do not have enough data to verify VN in agent 2025-09-10 16:49:00,204 - DEBUG - VRF ids for VN ctest-vn-78002804: {} 2025-09-10 16:49:00,204 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-10 16:49:00,209 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bfc7b387-c8ba-427d-acaf-188347cac98e 2025-09-10 16:49:00,220 - DEBUG - Requesting: http://10.0.0.254:8082/project/9554f1dd-c231-4dcd-8f3b-48f6b1b1c58d 2025-09-10 16:49:00,287 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b7a9c071-191f-4f12-aa28-8904eca20af8 2025-09-10 16:49:00,298 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b7a9c071-191f-4f12-aa28-8904eca20af8 2025-09-10 16:49:00,306 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/feb9608d-a4d3-4f59-a526-a3441552bdd3 2025-09-10 16:49:00,313 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/feb9608d-a4d3-4f59-a526-a3441552bdd3 2025-09-10 16:49:00,319 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/19b982bb-415c-4109-8367-89008bb95886 2025-09-10 16:49:00,325 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-10 16:49:00,325 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b7a9c071-191f-4f12-aa28-8904eca20af8 2025-09-10 16:49:00,332 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/feb9608d-a4d3-4f59-a526-a3441552bdd3 2025-09-10 16:49:00,347 - INFO - Verified VN network id 13 for VN b7a9c071-191f-4f12-aa28-8904eca20af8 2025-09-10 16:49:00,347 - INFO - Verifications in API Server for VN ctest-vn-91124689 passed 2025-09-10 16:49:00,348 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b7a9c071-191f-4f12-aa28-8904eca20af8 2025-09-10 16:49:00,357 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/feb9608d-a4d3-4f59-a526-a3441552bdd3 2025-09-10 16:49:00,363 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/feb9608d-a4d3-4f59-a526-a3441552bdd3 2025-09-10 16:49:00,370 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/19b982bb-415c-4109-8367-89008bb95886 2025-09-10 16:49:00,381 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-91124689', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31576764', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13234320571990232850', 'uuid-lslong': '12261200639759092472'}, 'enable': 'true', 'created': '2025-09-10T16:48:58', 'last-modified': '2025-09-10T16:48:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337260'} 2025-09-10 16:49:00,387 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-10 16:49:00,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91124689 passed 2025-09-10 16:49:00,387 - DEBUG - ====Verifying policy data for ctest-vn-91124689 in API_Server ====== 2025-09-10 16:49:00,387 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-10 16:49:00,392 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bfc7b387-c8ba-427d-acaf-188347cac98e 2025-09-10 16:49:00,402 - DEBUG - Requesting: http://10.0.0.254:8082/project/9554f1dd-c231-4dcd-8f3b-48f6b1b1c58d 2025-09-10 16:49:00,469 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b7a9c071-191f-4f12-aa28-8904eca20af8 2025-09-10 16:49:00,480 - DEBUG - ==>Verifying data for policy with id: f524e252-83f7-4485-bf14-485fb1beceb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-31576764', 'ctest-policy-allow-all-86456671'] 2025-09-10 16:49:00,480 - INFO - VN ctest-vn-91124689 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-10 16:49:00,480 - DEBUG - Verifying the vn in opserver 2025-09-10 16:49:00,480 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-91124689 virtual network link through opserver 10.0.0.254 2025-09-10 16:49:00,480 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-10 16:49:00,489 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-91124689', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-91124689?flat'} 2025-09-10 16:49:00,489 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-91124689 is found in opserver 2025-09-10 16:49:00,498 - DEBUG - Do not have enough data to verify VN in agent 2025-09-10 16:49:00,502 - DEBUG - VRF ids for VN ctest-vn-91124689: {} 2025-09-10 16:49:00,558 - DEBUG - Services list from nova: [, , ] 2025-09-10 16:49:01,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4073-1) 2025-09-10 16:49:02,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4073-1) 2025-09-10 16:49:02,836 - INFO - Waiting for VM ctest-TestBasicPolicy-31576764-60938558 to be up.. 2025-09-10 16:49:02,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-10 16:49:07,995 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:49:07,995 - INFO - VM name : ctest-TestBasicPolicy-31576764-60938558 2025-09-10 16:49:08,071 - DEBUG - VM ctest-TestBasicPolicy-31576764-60938558 ID is a6ae39fa-823b-4571-879b-356013111706 2025-09-10 16:49:08,091 - DEBUG - VM ctest-TestBasicPolicy-31576764-60938558 launched on Node cn-jenkins-deploy-platform-ansible-os-4073-1 2025-09-10 16:49:08,166 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a6ae39fa-823b-4571-879b-356013111706 2025-09-10 16:49:08,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/08c27944-7955-4b4b-ae89-c8d3d148c9a7 2025-09-10 16:49:11,417 - 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 1007ms') 2025-09-10 16:49:11,417 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31576764-60938558 failed! 2025-09-10 16:49:11,471 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31576764:ctest-vn-78002804 is 8.155.91.1 and allocation pool is NOT set 2025-09-10 16:49:13,534 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 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.426/3.926/7.427/3.500 ms') 2025-09-10 16:49:13,534 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31576764-60938558 passed 2025-09-10 16:49:13,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:49:13,683 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31576764-60938558, IP 8.155.91.3, Port 22 2025-09-10 16:49:13,850 - DEBUG - VM ctest-TestBasicPolicy-31576764-60938558 is ready for SSH connections 2025-09-10 16:49:13,850 - INFO - Waiting for VM ctest-TestBasicPolicy-31576764-53147803 to be up.. 2025-09-10 16:49:13,920 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:49:13,921 - INFO - VM name : ctest-TestBasicPolicy-31576764-53147803 2025-09-10 16:49:14,000 - DEBUG - VM ctest-TestBasicPolicy-31576764-53147803 ID is d02f5eec-36e5-4a04-8913-8e64076b1b75 2025-09-10 16:49:14,000 - DEBUG - VM ctest-TestBasicPolicy-31576764-53147803 launched on Node cn-jenkins-deploy-platform-ansible-os-4073-1 2025-09-10 16:49:14,075 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d02f5eec-36e5-4a04-8913-8e64076b1b75 2025-09-10 16:49:14,084 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/39edd60d-d161-42fe-8e06-53fe6e6b5c73 2025-09-10 16:49:15,321 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 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.556/1.837/3.118/1.281 ms') 2025-09-10 16:49:15,321 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31576764-53147803 passed 2025-09-10 16:49:15,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:49:15,471 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31576764-53147803, IP 178.227.76.3, Port 22 2025-09-10 16:49:15,627 - DEBUG - VM ctest-TestBasicPolicy-31576764-53147803 is ready for SSH connections 2025-09-10 16:49:15,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:49:15,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.227.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-10 16:49:15,627 - DEBUG - ping -s 56 -c 3 -W 1 178.227.76.3 2025-09-10 16:49:19,679 - DEBUG - PING 178.227.76.3 (178.227.76.3): 56 data bytes 64 bytes from 178.227.76.3: seq=0 ttl=63 time=3.582 ms 64 bytes from 178.227.76.3: seq=1 ttl=63 time=0.972 ms 64 bytes from 178.227.76.3: seq=2 ttl=63 time=1.920 ms --- 178.227.76.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/2.158/3.582 ms 2025-09-10 16:49:19,679 - INFO - Ping to IP 178.227.76.3 from VM ctest-TestBasicPolicy-31576764-60938558 passed 2025-09-10 16:49:19,855 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f524e252-83f7-4485-bf14-485fb1beceb7", "href": "http://10.0.0.254:8082/network-policy/f524e252-83f7-4485-bf14-485fb1beceb7"}} 2025-09-10 16:49:19,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:49:19,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.227.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-10 16:49:19,855 - DEBUG - ping -s 56 -c 3 -W 1 178.227.76.3 2025-09-10 16:49:23,080 - DEBUG - PING 178.227.76.3 (178.227.76.3): 56 data bytes --- 178.227.76.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-10 16:49:23,080 - WARNING - Ping to IP 178.227.76.3 from VM ctest-TestBasicPolicy-31576764-60938558 failed 2025-09-10 16:49:23,080 - INFO - Deleting VM ctest-TestBasicPolicy-31576764-53147803 2025-09-10 16:49:23,154 - INFO - Deleting VM ctest-TestBasicPolicy-31576764-60938558 2025-09-10 16:49:23,570 - INFO - Deleted policy ctest-policy-allow-all-86456671 2025-09-10 16:49:23,570 - INFO - Deleting VN ctest-vn-91124689 2025-09-10 16:49:23,607 - DEBUG - VN b7a9c071-191f-4f12-aa28-8904eca20af8 still in use: Unable to complete operation on network b7a9c071-191f-4f12-aa28-8904eca20af8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7015d52a-a084-4e62-ae2b-591aa9f237cb'] 2025-09-10 16:49:23,607 - WARNING - Deleting VN ctest-vn-91124689 failed..Will retry 2025-09-10 16:49:25,724 - DEBUG - Response for deleting network () 2025-09-10 16:49:25,725 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/feb9608d-a4d3-4f59-a526-a3441552bdd3 2025-09-10 16:49:25,732 - DEBUG - Response Code: 404 2025-09-10 16:49:25,732 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-10 16:49:25,737 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bfc7b387-c8ba-427d-acaf-188347cac98e 2025-09-10 16:49:25,789 - DEBUG - Requesting: http://10.0.0.254:8082/project/9554f1dd-c231-4dcd-8f3b-48f6b1b1c58d 2025-09-10 16:49:25,857 - INFO - Validated that VN ctest-vn-91124689 is not found in API Server 2025-09-10 16:49:25,868 - DEBUG - VN ctest-vn-91124689 is not present in Agent 10.0.0.254 2025-09-10 16:49:25,868 - INFO - Validated that VN ctest-vn-91124689 is not in any agent 2025-09-10 16:49:25,882 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91124689 info 2025-09-10 16:49:25,882 - INFO - Deleting VN ctest-vn-78002804 2025-09-10 16:49:25,986 - DEBUG - Response for deleting network () 2025-09-10 16:49:25,986 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/042af523-b914-4c15-ba35-ac075591722b 2025-09-10 16:49:25,992 - DEBUG - Response Code: 404 2025-09-10 16:49:25,992 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-10 16:49:25,997 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bfc7b387-c8ba-427d-acaf-188347cac98e 2025-09-10 16:49:26,049 - DEBUG - Requesting: http://10.0.0.254:8082/project/9554f1dd-c231-4dcd-8f3b-48f6b1b1c58d 2025-09-10 16:49:26,126 - INFO - Validated that VN ctest-vn-78002804 is not found in API Server 2025-09-10 16:49:26,136 - DEBUG - VN ctest-vn-78002804 is not present in Agent 10.0.0.254 2025-09-10 16:49:26,136 - INFO - Validated that VN ctest-vn-78002804 is not in any agent 2025-09-10 16:49:26,150 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78002804 info 2025-09-10 16:49:26,416 - DEBUG - No XMPP flaps were noticed during the test 2025-09-10 16:49:26,416 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-10 16:49:26,417 - INFO - -------------------------------------------------------------------------------- 2025-09-10 16:49:27,069 - INFO - Deleted project: ctest-TestBasicPolicy-31576764, ID : 9554f1dd-c231-4dcd-8f3b-48f6b1b1c58d