2025-08-15 08:46:54,919 - INFO - Domain Default found not creating 2025-08-15 08:46:55,066 - INFO - Project ctest-TestBasicPolicy-67579925 not found, creating it 2025-08-15 08:46:55,861 - INFO - Created Project:ctest-TestBasicPolicy-67579925, ID : d240c05b-6090-4710-a5e6-da9b0705fc93 2025-08-15 08:46:57,511 - INFO - ================================================================================ 2025-08-15 08:46:57,511 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-15 08:46:57,511 - 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-15 08:46:57,768 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-15 08:46:57,768 - INFO - Initial checks done. Running the testcase now 2025-08-15 08:46:57,768 - INFO - 2025-08-15 08:46:58,350 - DEBUG - Response for create_network : {'network': {'id': '6011d653-76ce-410c-aa05-12dbbaa3e479', 'name': 'ctest-vn-40886292', 'tenant_id': 'd240c05b60904710a5e6da9b0705fc93', 'project_id': 'd240c05b60904710a5e6da9b0705fc93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67579925', 'ctest-vn-40886292'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:46:58,540 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acdae092-9139-4dbe-9169-c7667681c508', 'name': '', 'tenant_id': 'd240c05b60904710a5e6da9b0705fc93', 'network_id': '6011d653-76ce-410c-aa05-12dbbaa3e479', 'ip_version': 4, 'cidr': '75.209.45.192/26', 'allocation_pools': [{'start': '75.209.45.194', 'end': '75.209.45.254'}], 'gateway_ip': '75.209.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.209.45.194', 'tags': [], 'project_id': 'd240c05b60904710a5e6da9b0705fc93'}} 2025-08-15 08:46:58,557 - INFO - Created VN ctest-vn-40886292 2025-08-15 08:46:58,609 - DEBUG - VN ctest-vn-40886292 UUID is 6011d653-76ce-410c-aa05-12dbbaa3e479 2025-08-15 08:46:58,932 - DEBUG - Response for create_network : {'network': {'id': '0a7c908a-4e22-41a4-993f-20806b652a01', 'name': 'ctest-vn-33476537', 'tenant_id': 'd240c05b60904710a5e6da9b0705fc93', 'project_id': 'd240c05b60904710a5e6da9b0705fc93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67579925', 'ctest-vn-33476537'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:46:59,126 - DEBUG - Response for create_subnet : {'subnet': {'id': '18b5a429-e8d1-4df6-80fd-b7e0e09877d2', 'name': '', 'tenant_id': 'd240c05b60904710a5e6da9b0705fc93', 'network_id': '0a7c908a-4e22-41a4-993f-20806b652a01', 'ip_version': 4, 'cidr': '174.30.183.0/26', 'allocation_pools': [{'start': '174.30.183.2', 'end': '174.30.183.62'}], 'gateway_ip': '174.30.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.30.183.2', 'tags': [], 'project_id': 'd240c05b60904710a5e6da9b0705fc93'}} 2025-08-15 08:46:59,144 - INFO - Created VN ctest-vn-33476537 2025-08-15 08:46:59,197 - DEBUG - VN ctest-vn-33476537 UUID is 0a7c908a-4e22-41a4-993f-20806b652a01 2025-08-15 08:46:59,349 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-40886292, 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-67579925:ctest-vn-33476537, 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-15 08:46:59,637 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6011d653-76ce-410c-aa05-12dbbaa3e479', 'name': 'ctest-vn-40886292', 'tenant_id': 'd240c05b60904710a5e6da9b0705fc93', 'project_id': 'd240c05b60904710a5e6da9b0705fc93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['acdae092-9139-4dbe-9169-c7667681c508'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67579925', 'ctest-vn-40886292'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67579925', 'ctest-policy-allow-all-00591905']], 'subnet_ipam': [{'subnet_cidr': '75.209.45.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:46:59,908 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a7c908a-4e22-41a4-993f-20806b652a01', 'name': 'ctest-vn-33476537', 'tenant_id': 'd240c05b60904710a5e6da9b0705fc93', 'project_id': 'd240c05b60904710a5e6da9b0705fc93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18b5a429-e8d1-4df6-80fd-b7e0e09877d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67579925', 'ctest-vn-33476537'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67579925', 'ctest-policy-allow-all-00591905']], 'subnet_ipam': [{'subnet_cidr': '174.30.183.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:47:00,057 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 08:47:00,390 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 08:47:00,417 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8c49aed2-8c45-4d24-b617-0573a15ad76e 2025-08-15 08:47:00,430 - DEBUG - Requesting: http://10.0.0.254:8082/project/d240c05b-6090-4710-a5e6-da9b0705fc93 2025-08-15 08:47:00,505 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6011d653-76ce-410c-aa05-12dbbaa3e479 2025-08-15 08:47:00,516 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6011d653-76ce-410c-aa05-12dbbaa3e479 2025-08-15 08:47:00,525 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb3f324d-76d8-44eb-abce-017b57f58cfd 2025-08-15 08:47:00,532 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb3f324d-76d8-44eb-abce-017b57f58cfd 2025-08-15 08:47:00,539 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e1252615-a1cd-44dd-8048-80235daf36ba 2025-08-15 08:47:00,545 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 08:47:00,545 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6011d653-76ce-410c-aa05-12dbbaa3e479 2025-08-15 08:47:00,554 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb3f324d-76d8-44eb-abce-017b57f58cfd 2025-08-15 08:47:00,568 - INFO - Verified VN network id 9 for VN 6011d653-76ce-410c-aa05-12dbbaa3e479 2025-08-15 08:47:00,568 - INFO - Verifications in API Server for VN ctest-vn-40886292 passed 2025-08-15 08:47:00,568 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6011d653-76ce-410c-aa05-12dbbaa3e479 2025-08-15 08:47:00,577 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb3f324d-76d8-44eb-abce-017b57f58cfd 2025-08-15 08:47:00,585 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb3f324d-76d8-44eb-abce-017b57f58cfd 2025-08-15 08:47:00,592 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e1252615-a1cd-44dd-8048-80235daf36ba 2025-08-15 08:47:00,604 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-40886292', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67579925', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6922549756209021196', 'uuid-lslong': '12251219096269743225'}, 'enable': 'true', 'created': '2025-08-15T08:46:58', 'last-modified': '2025-08-15T08:46:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990459'} 2025-08-15 08:47:00,611 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 08:47:00,611 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40886292 passed 2025-08-15 08:47:00,611 - DEBUG - ====Verifying policy data for ctest-vn-40886292 in API_Server ====== 2025-08-15 08:47:00,611 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 08:47:00,617 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8c49aed2-8c45-4d24-b617-0573a15ad76e 2025-08-15 08:47:00,630 - DEBUG - Requesting: http://10.0.0.254:8082/project/d240c05b-6090-4710-a5e6-da9b0705fc93 2025-08-15 08:47:00,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6011d653-76ce-410c-aa05-12dbbaa3e479 2025-08-15 08:47:00,716 - DEBUG - ==>Verifying data for policy with id: 6f126a20-3773-44c0-9cdd-9759b0f32c1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-67579925', 'ctest-policy-allow-all-00591905'] 2025-08-15 08:47:00,716 - INFO - VN ctest-vn-40886292 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 08:47:00,716 - DEBUG - Verifying the vn in opserver 2025-08-15 08:47:00,716 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-40886292 virtual network link through opserver 10.0.0.254 2025-08-15 08:47:00,716 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 08:47:01,279 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 08:47:01,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-40886292', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-40886292?flat'} 2025-08-15 08:47:01,349 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-40886292 is found in opserver 2025-08-15 08:47:01,361 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 08:47:01,366 - DEBUG - VRF ids for VN ctest-vn-40886292: {} 2025-08-15 08:47:01,366 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 08:47:01,371 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8c49aed2-8c45-4d24-b617-0573a15ad76e 2025-08-15 08:47:01,383 - DEBUG - Requesting: http://10.0.0.254:8082/project/d240c05b-6090-4710-a5e6-da9b0705fc93 2025-08-15 08:47:01,459 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a7c908a-4e22-41a4-993f-20806b652a01 2025-08-15 08:47:01,472 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a7c908a-4e22-41a4-993f-20806b652a01 2025-08-15 08:47:01,482 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7aab052-fe25-4473-85eb-fad9d0e47c58 2025-08-15 08:47:01,489 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7aab052-fe25-4473-85eb-fad9d0e47c58 2025-08-15 08:47:01,495 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0655bfe9-b5ec-475c-8de9-3642129f6af3 2025-08-15 08:47:01,501 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 08:47:01,501 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a7c908a-4e22-41a4-993f-20806b652a01 2025-08-15 08:47:01,511 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7aab052-fe25-4473-85eb-fad9d0e47c58 2025-08-15 08:47:01,524 - INFO - Verified VN network id 10 for VN 0a7c908a-4e22-41a4-993f-20806b652a01 2025-08-15 08:47:01,524 - INFO - Verifications in API Server for VN ctest-vn-33476537 passed 2025-08-15 08:47:01,524 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a7c908a-4e22-41a4-993f-20806b652a01 2025-08-15 08:47:01,533 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7aab052-fe25-4473-85eb-fad9d0e47c58 2025-08-15 08:47:01,540 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7aab052-fe25-4473-85eb-fad9d0e47c58 2025-08-15 08:47:01,546 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0655bfe9-b5ec-475c-8de9-3642129f6af3 2025-08-15 08:47:01,558 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-33476537', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67579925', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '755637761182155172', 'uuid-lslong': '11042580547265440257'}, 'enable': 'true', 'created': '2025-08-15T08:46:58', 'last-modified': '2025-08-15T08:46:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.717487'} 2025-08-15 08:47:01,564 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 08:47:01,564 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33476537 passed 2025-08-15 08:47:01,565 - DEBUG - ====Verifying policy data for ctest-vn-33476537 in API_Server ====== 2025-08-15 08:47:01,565 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 08:47:01,570 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8c49aed2-8c45-4d24-b617-0573a15ad76e 2025-08-15 08:47:01,581 - DEBUG - Requesting: http://10.0.0.254:8082/project/d240c05b-6090-4710-a5e6-da9b0705fc93 2025-08-15 08:47:01,655 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0a7c908a-4e22-41a4-993f-20806b652a01 2025-08-15 08:47:01,667 - DEBUG - ==>Verifying data for policy with id: 6f126a20-3773-44c0-9cdd-9759b0f32c1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-67579925', 'ctest-policy-allow-all-00591905'] 2025-08-15 08:47:01,667 - INFO - VN ctest-vn-33476537 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 08:47:01,667 - DEBUG - Verifying the vn in opserver 2025-08-15 08:47:01,667 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-33476537 virtual network link through opserver 10.0.0.254 2025-08-15 08:47:01,667 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 08:47:01,683 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-33476537', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-33476537?flat'} 2025-08-15 08:47:01,683 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-33476537 is found in opserver 2025-08-15 08:47:01,695 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 08:47:01,700 - DEBUG - VRF ids for VN ctest-vn-33476537: {} 2025-08-15 08:47:01,756 - DEBUG - Services list from nova: [, , ] 2025-08-15 08:47:02,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3860-1) 2025-08-15 08:47:04,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3860-1) 2025-08-15 08:47:04,037 - INFO - Waiting for VM ctest-TestBasicPolicy-67579925-99130036 to be up.. 2025-08-15 08:47:04,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 08:47:09,214 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:47:09,214 - INFO - VM name : ctest-TestBasicPolicy-67579925-99130036 2025-08-15 08:47:09,288 - DEBUG - VM ctest-TestBasicPolicy-67579925-99130036 ID is 818726ad-584c-4166-8cd1-89020720e928 2025-08-15 08:47:09,307 - DEBUG - VM ctest-TestBasicPolicy-67579925-99130036 launched on Node cn-jenkins-deploy-platform-ansible-os-3860-1 2025-08-15 08:47:09,378 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/818726ad-584c-4166-8cd1-89020720e928 2025-08-15 08:47:09,389 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/214fe519-38e0-4640-af88-60fa13c9d21a 2025-08-15 08:47:12,638 - 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 1018ms') 2025-08-15 08:47:12,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67579925-99130036 failed! 2025-08-15 08:47:12,693 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67579925:ctest-vn-40886292 is 75.209.45.193 and allocation pool is NOT set 2025-08-15 08:47:14,756 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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 = 0.424/4.257/8.090/3.833 ms') 2025-08-15 08:47:14,756 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67579925-99130036 passed 2025-08-15 08:47:14,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:47:14,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67579925-99130036, IP 75.209.45.195, Port 22 2025-08-15 08:47:15,065 - DEBUG - VM ctest-TestBasicPolicy-67579925-99130036 is ready for SSH connections 2025-08-15 08:47:15,065 - INFO - Waiting for VM ctest-TestBasicPolicy-67579925-61061169 to be up.. 2025-08-15 08:47:15,150 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:47:15,151 - INFO - VM name : ctest-TestBasicPolicy-67579925-61061169 2025-08-15 08:47:15,228 - DEBUG - VM ctest-TestBasicPolicy-67579925-61061169 ID is 8ac2a11d-d2c3-494a-a950-dab245f1ffbe 2025-08-15 08:47:15,228 - DEBUG - VM ctest-TestBasicPolicy-67579925-61061169 launched on Node cn-jenkins-deploy-platform-ansible-os-3860-1 2025-08-15 08:47:15,303 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8ac2a11d-d2c3-494a-a950-dab245f1ffbe 2025-08-15 08:47:15,311 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ada9fb25-f64c-4c69-853c-1d034f976206 2025-08-15 08:47:16,552 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.728 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.728/1.946/3.165/1.218 ms') 2025-08-15 08:47:16,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67579925-61061169 passed 2025-08-15 08:47:16,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:47:16,705 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67579925-61061169, IP 174.30.183.3, Port 22 2025-08-15 08:47:16,860 - DEBUG - VM ctest-TestBasicPolicy-67579925-61061169 is ready for SSH connections 2025-08-15 08:47:16,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:47:16,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.30.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 08:47:16,861 - DEBUG - ping -s 56 -c 3 -W 1 174.30.183.3 2025-08-15 08:47:20,900 - DEBUG - PING 174.30.183.3 (174.30.183.3): 56 data bytes 64 bytes from 174.30.183.3: seq=0 ttl=63 time=3.470 ms 64 bytes from 174.30.183.3: seq=1 ttl=63 time=0.785 ms 64 bytes from 174.30.183.3: seq=2 ttl=63 time=0.836 ms --- 174.30.183.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/1.697/3.470 ms 2025-08-15 08:47:20,901 - INFO - Ping to IP 174.30.183.3 from VM ctest-TestBasicPolicy-67579925-99130036 passed 2025-08-15 08:47:21,085 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6f126a20-3773-44c0-9cdd-9759b0f32c1b", "href": "http://10.0.0.254:8082/network-policy/6f126a20-3773-44c0-9cdd-9759b0f32c1b"}} 2025-08-15 08:47:21,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:47:21,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.30.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 08:47:21,085 - DEBUG - ping -s 56 -c 3 -W 1 174.30.183.3 2025-08-15 08:47:24,300 - DEBUG - PING 174.30.183.3 (174.30.183.3): 56 data bytes --- 174.30.183.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 08:47:24,300 - WARNING - Ping to IP 174.30.183.3 from VM ctest-TestBasicPolicy-67579925-99130036 failed 2025-08-15 08:47:24,300 - INFO - Deleting VM ctest-TestBasicPolicy-67579925-61061169 2025-08-15 08:47:24,361 - INFO - Deleting VM ctest-TestBasicPolicy-67579925-99130036 2025-08-15 08:47:24,761 - INFO - Deleted policy ctest-policy-allow-all-00591905 2025-08-15 08:47:24,762 - INFO - Deleting VN ctest-vn-33476537 2025-08-15 08:47:24,797 - DEBUG - VN 0a7c908a-4e22-41a4-993f-20806b652a01 still in use: Unable to complete operation on network 0a7c908a-4e22-41a4-993f-20806b652a01. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ad8327d-37b3-4b20-9bc5-577b6deff528'] 2025-08-15 08:47:24,797 - WARNING - Deleting VN ctest-vn-33476537 failed..Will retry 2025-08-15 08:47:26,901 - DEBUG - Response for deleting network () 2025-08-15 08:47:26,901 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e7aab052-fe25-4473-85eb-fad9d0e47c58 2025-08-15 08:47:26,907 - DEBUG - Response Code: 404 2025-08-15 08:47:26,908 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 08:47:26,913 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8c49aed2-8c45-4d24-b617-0573a15ad76e 2025-08-15 08:47:26,966 - DEBUG - Requesting: http://10.0.0.254:8082/project/d240c05b-6090-4710-a5e6-da9b0705fc93 2025-08-15 08:47:27,035 - INFO - Validated that VN ctest-vn-33476537 is not found in API Server 2025-08-15 08:47:27,046 - DEBUG - VN ctest-vn-33476537 is not present in Agent 10.0.0.254 2025-08-15 08:47:27,047 - INFO - Validated that VN ctest-vn-33476537 is not in any agent 2025-08-15 08:47:27,062 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33476537 info 2025-08-15 08:47:27,063 - INFO - Deleting VN ctest-vn-40886292 2025-08-15 08:47:27,166 - DEBUG - Response for deleting network () 2025-08-15 08:47:27,166 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb3f324d-76d8-44eb-abce-017b57f58cfd 2025-08-15 08:47:27,172 - DEBUG - Response Code: 404 2025-08-15 08:47:27,172 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 08:47:27,179 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8c49aed2-8c45-4d24-b617-0573a15ad76e 2025-08-15 08:47:27,234 - DEBUG - Requesting: http://10.0.0.254:8082/project/d240c05b-6090-4710-a5e6-da9b0705fc93 2025-08-15 08:47:27,304 - INFO - Validated that VN ctest-vn-40886292 is not found in API Server 2025-08-15 08:47:27,315 - DEBUG - VN ctest-vn-40886292 is not present in Agent 10.0.0.254 2025-08-15 08:47:27,315 - INFO - Validated that VN ctest-vn-40886292 is not in any agent 2025-08-15 08:47:27,332 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40886292 info 2025-08-15 08:47:27,587 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 08:47:27,588 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-15 08:47:27,588 - INFO - -------------------------------------------------------------------------------- 2025-08-15 08:47:28,293 - INFO - Deleted project: ctest-TestBasicPolicy-67579925, ID : d240c05b-6090-4710-a5e6-da9b0705fc93