2025-06-19 08:54:49,610 - INFO - Domain Default found not creating 2025-06-19 08:54:49,761 - INFO - Project ctest-TestBasicPolicy-09441752 not found, creating it 2025-06-19 08:54:50,229 - INFO - Created Project:ctest-TestBasicPolicy-09441752, ID : 10502713-6287-4129-ae8f-4658099cfce5 2025-06-19 08:54:51,723 - INFO - ================================================================================ 2025-06-19 08:54:51,723 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 08:54:51,723 - 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-06-19 08:54:51,980 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-06-19 08:54:51,980 - INFO - Initial checks done. Running the testcase now 2025-06-19 08:54:51,980 - INFO - 2025-06-19 08:54:52,564 - DEBUG - Response for create_network : {'network': {'id': 'e17f897f-21ea-4c2d-81ce-cbd8b14eb108', 'name': 'ctest-vn-00969727', 'tenant_id': '1050271362874129ae8f4658099cfce5', 'project_id': '1050271362874129ae8f4658099cfce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09441752', 'ctest-vn-00969727'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:54:52,762 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad5ede92-9c69-415d-843d-62348181af84', 'name': '', 'tenant_id': '1050271362874129ae8f4658099cfce5', 'network_id': 'e17f897f-21ea-4c2d-81ce-cbd8b14eb108', 'ip_version': 4, 'cidr': '153.145.199.64/26', 'allocation_pools': [{'start': '153.145.199.66', 'end': '153.145.199.126'}], 'gateway_ip': '153.145.199.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.145.199.66', 'tags': [], 'project_id': '1050271362874129ae8f4658099cfce5'}} 2025-06-19 08:54:52,786 - INFO - Created VN ctest-vn-00969727 2025-06-19 08:54:52,838 - DEBUG - VN ctest-vn-00969727 UUID is e17f897f-21ea-4c2d-81ce-cbd8b14eb108 2025-06-19 08:54:53,171 - DEBUG - Response for create_network : {'network': {'id': 'cd642651-20eb-4906-99bf-8519ee266e40', 'name': 'ctest-vn-75495961', 'tenant_id': '1050271362874129ae8f4658099cfce5', 'project_id': '1050271362874129ae8f4658099cfce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09441752', 'ctest-vn-75495961'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:54:53,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '135799cb-01bb-4be8-9be2-6d60cbcd5ca4', 'name': '', 'tenant_id': '1050271362874129ae8f4658099cfce5', 'network_id': 'cd642651-20eb-4906-99bf-8519ee266e40', 'ip_version': 4, 'cidr': '84.213.249.128/26', 'allocation_pools': [{'start': '84.213.249.130', 'end': '84.213.249.190'}], 'gateway_ip': '84.213.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.213.249.130', 'tags': [], 'project_id': '1050271362874129ae8f4658099cfce5'}} 2025-06-19 08:54:53,403 - INFO - Created VN ctest-vn-75495961 2025-06-19 08:54:53,458 - DEBUG - VN ctest-vn-75495961 UUID is cd642651-20eb-4906-99bf-8519ee266e40 2025-06-19 08:54:53,575 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-00969727, 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-09441752:ctest-vn-75495961, 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-06-19 08:54:53,888 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e17f897f-21ea-4c2d-81ce-cbd8b14eb108', 'name': 'ctest-vn-00969727', 'tenant_id': '1050271362874129ae8f4658099cfce5', 'project_id': '1050271362874129ae8f4658099cfce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad5ede92-9c69-415d-843d-62348181af84'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09441752', 'ctest-vn-00969727'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09441752', 'ctest-policy-allow-all-11559272']], 'subnet_ipam': [{'subnet_cidr': '153.145.199.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:54:54,127 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd642651-20eb-4906-99bf-8519ee266e40', 'name': 'ctest-vn-75495961', 'tenant_id': '1050271362874129ae8f4658099cfce5', 'project_id': '1050271362874129ae8f4658099cfce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['135799cb-01bb-4be8-9be2-6d60cbcd5ca4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09441752', 'ctest-vn-75495961'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09441752', 'ctest-policy-allow-all-11559272']], 'subnet_ipam': [{'subnet_cidr': '84.213.249.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:54:54,306 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-19 08:54:54,610 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-19 08:54:54,639 - DEBUG - Requesting: http://10.0.0.19:8082/domain/408dd32d-7c76-46bb-a50e-934977827d89 2025-06-19 08:54:54,653 - DEBUG - Requesting: http://10.0.0.19:8082/project/10502713-6287-4129-ae8f-4658099cfce5 2025-06-19 08:54:54,729 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e17f897f-21ea-4c2d-81ce-cbd8b14eb108 2025-06-19 08:54:54,742 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e17f897f-21ea-4c2d-81ce-cbd8b14eb108 2025-06-19 08:54:54,753 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/706f0334-5e65-4fc8-a09a-ece420b0b341 2025-06-19 08:54:54,761 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/706f0334-5e65-4fc8-a09a-ece420b0b341 2025-06-19 08:54:54,769 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/080f087a-677a-455c-86c0-2bea8fdcbc29 2025-06-19 08:54:54,777 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 08:54:54,777 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e17f897f-21ea-4c2d-81ce-cbd8b14eb108 2025-06-19 08:54:54,787 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/706f0334-5e65-4fc8-a09a-ece420b0b341 2025-06-19 08:54:54,803 - INFO - Verified VN network id 8 for VN e17f897f-21ea-4c2d-81ce-cbd8b14eb108 2025-06-19 08:54:54,803 - INFO - Verifications in API Server for VN ctest-vn-00969727 passed 2025-06-19 08:54:54,803 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e17f897f-21ea-4c2d-81ce-cbd8b14eb108 2025-06-19 08:54:54,813 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/706f0334-5e65-4fc8-a09a-ece420b0b341 2025-06-19 08:54:54,821 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/706f0334-5e65-4fc8-a09a-ece420b0b341 2025-06-19 08:54:54,828 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/080f087a-677a-455c-86c0-2bea8fdcbc29 2025-06-19 08:54:54,843 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-00969727', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09441752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16248857159698893869', 'uuid-lslong': '9353637607643197704'}, 'enable': 'true', 'created': '2025-06-19T08:54:52', 'last-modified': '2025-06-19T08:54:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987354'} 2025-06-19 08:54:54,850 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 08:54:54,850 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00969727 passed 2025-06-19 08:54:54,850 - DEBUG - ====Verifying policy data for ctest-vn-00969727 in API_Server ====== 2025-06-19 08:54:54,851 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-19 08:54:54,857 - DEBUG - Requesting: http://10.0.0.19:8082/domain/408dd32d-7c76-46bb-a50e-934977827d89 2025-06-19 08:54:54,872 - DEBUG - Requesting: http://10.0.0.19:8082/project/10502713-6287-4129-ae8f-4658099cfce5 2025-06-19 08:54:54,946 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e17f897f-21ea-4c2d-81ce-cbd8b14eb108 2025-06-19 08:54:54,957 - DEBUG - ==>Verifying data for policy with id: fe2d89e8-315e-4362-8d7b-6c3b71335e90, fqn: ['default-domain', 'ctest-TestBasicPolicy-09441752', 'ctest-policy-allow-all-11559272'] 2025-06-19 08:54:54,957 - INFO - VN ctest-vn-00969727 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 08:54:54,957 - DEBUG - Verifying the vn in opserver 2025-06-19 08:54:54,957 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-00969727 virtual network link through opserver 10.0.0.19 2025-06-19 08:54:54,957 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-19 08:54:55,249 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-19 08:54:55,315 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-00969727', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-00969727?flat'} 2025-06-19 08:54:55,315 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-00969727 is found in opserver 2025-06-19 08:54:55,328 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 08:54:55,334 - DEBUG - VRF ids for VN ctest-vn-00969727: {} 2025-06-19 08:54:55,334 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-19 08:54:55,347 - DEBUG - Requesting: http://10.0.0.19:8082/domain/408dd32d-7c76-46bb-a50e-934977827d89 2025-06-19 08:54:55,362 - DEBUG - Requesting: http://10.0.0.19:8082/project/10502713-6287-4129-ae8f-4658099cfce5 2025-06-19 08:54:55,442 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cd642651-20eb-4906-99bf-8519ee266e40 2025-06-19 08:54:55,455 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cd642651-20eb-4906-99bf-8519ee266e40 2025-06-19 08:54:55,465 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/38cd3aa0-a5c9-494c-a842-965e23d31ae0 2025-06-19 08:54:55,474 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/38cd3aa0-a5c9-494c-a842-965e23d31ae0 2025-06-19 08:54:55,483 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/59776a51-9bb8-4fe2-aef4-9ac0c755374d 2025-06-19 08:54:55,490 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 08:54:55,491 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cd642651-20eb-4906-99bf-8519ee266e40 2025-06-19 08:54:55,504 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/38cd3aa0-a5c9-494c-a842-965e23d31ae0 2025-06-19 08:54:55,521 - INFO - Verified VN network id 9 for VN cd642651-20eb-4906-99bf-8519ee266e40 2025-06-19 08:54:55,521 - INFO - Verifications in API Server for VN ctest-vn-75495961 passed 2025-06-19 08:54:55,522 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cd642651-20eb-4906-99bf-8519ee266e40 2025-06-19 08:54:55,532 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/38cd3aa0-a5c9-494c-a842-965e23d31ae0 2025-06-19 08:54:55,542 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/38cd3aa0-a5c9-494c-a842-965e23d31ae0 2025-06-19 08:54:55,551 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/59776a51-9bb8-4fe2-aef4-9ac0c755374d 2025-06-19 08:54:55,567 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-75495961', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09441752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14799996405332789510', 'uuid-lslong': '11078719954770882112'}, 'enable': 'true', 'created': '2025-06-19T08:54:53', 'last-modified': '2025-06-19T08:54:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.465896'} 2025-06-19 08:54:55,575 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 08:54:55,575 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75495961 passed 2025-06-19 08:54:55,575 - DEBUG - ====Verifying policy data for ctest-vn-75495961 in API_Server ====== 2025-06-19 08:54:55,575 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-19 08:54:55,582 - DEBUG - Requesting: http://10.0.0.19:8082/domain/408dd32d-7c76-46bb-a50e-934977827d89 2025-06-19 08:54:55,596 - DEBUG - Requesting: http://10.0.0.19:8082/project/10502713-6287-4129-ae8f-4658099cfce5 2025-06-19 08:54:55,668 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cd642651-20eb-4906-99bf-8519ee266e40 2025-06-19 08:54:55,682 - DEBUG - ==>Verifying data for policy with id: fe2d89e8-315e-4362-8d7b-6c3b71335e90, fqn: ['default-domain', 'ctest-TestBasicPolicy-09441752', 'ctest-policy-allow-all-11559272'] 2025-06-19 08:54:55,682 - INFO - VN ctest-vn-75495961 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 08:54:55,682 - DEBUG - Verifying the vn in opserver 2025-06-19 08:54:55,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-75495961 virtual network link through opserver 10.0.0.19 2025-06-19 08:54:55,683 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-19 08:54:55,696 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-75495961', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-75495961?flat'} 2025-06-19 08:54:55,696 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-75495961 is found in opserver 2025-06-19 08:54:55,711 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 08:54:55,719 - DEBUG - VRF ids for VN ctest-vn-75495961: {} 2025-06-19 08:54:55,784 - DEBUG - Services list from nova: [, , ] 2025-06-19 08:54:56,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3487-1) 2025-06-19 08:54:58,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3487-1) 2025-06-19 08:54:58,089 - INFO - Waiting for VM ctest-TestBasicPolicy-09441752-46894123 to be up.. 2025-06-19 08:54:58,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 08:55:03,256 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:55:03,256 - INFO - VM name : ctest-TestBasicPolicy-09441752-46894123 2025-06-19 08:55:03,336 - DEBUG - VM ctest-TestBasicPolicy-09441752-46894123 ID is edda5bcd-1b23-4488-b731-78df90df7ff5 2025-06-19 08:55:03,357 - DEBUG - VM ctest-TestBasicPolicy-09441752-46894123 launched on Node cn-jenkins-deploy-platform-ansible-os-3487-1 2025-06-19 08:55:03,442 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/edda5bcd-1b23-4488-b731-78df90df7ff5 2025-06-19 08:55:03,452 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ca11bcc7-723e-49a7-a950-7d668e1bb0c4 2025-06-19 08:55:06,704 - 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 1002ms') 2025-06-19 08:55:06,704 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09441752-46894123 failed! 2025-06-19 08:55:06,758 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09441752:ctest-vn-00969727 is 153.145.199.65 and allocation pool is NOT set 2025-06-19 08:55:08,817 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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 = 1.109/4.810/8.512/3.701 ms') 2025-06-19 08:55:08,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09441752-46894123 passed 2025-06-19 08:55:08,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:55:08,970 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09441752-46894123, IP 153.145.199.67, Port 22 2025-06-19 08:55:09,126 - DEBUG - VM ctest-TestBasicPolicy-09441752-46894123 is ready for SSH connections 2025-06-19 08:55:09,126 - INFO - Waiting for VM ctest-TestBasicPolicy-09441752-91134770 to be up.. 2025-06-19 08:55:09,206 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:55:09,206 - INFO - VM name : ctest-TestBasicPolicy-09441752-91134770 2025-06-19 08:55:09,287 - DEBUG - VM ctest-TestBasicPolicy-09441752-91134770 ID is a8ffc627-4801-477b-9116-8fe2db49c00d 2025-06-19 08:55:09,288 - DEBUG - VM ctest-TestBasicPolicy-09441752-91134770 launched on Node cn-jenkins-deploy-platform-ansible-os-3487-1 2025-06-19 08:55:09,369 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a8ffc627-4801-477b-9116-8fe2db49c00d 2025-06-19 08:55:09,378 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/6a897113-6546-4274-93b5-5a0756e4bdba 2025-06-19 08:55:10,625 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.609 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.609/1.753/2.897/1.144 ms') 2025-06-19 08:55:10,625 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09441752-91134770 passed 2025-06-19 08:55:10,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:55:10,774 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09441752-91134770, IP 84.213.249.131, Port 22 2025-06-19 08:55:10,951 - DEBUG - VM ctest-TestBasicPolicy-09441752-91134770 is ready for SSH connections 2025-06-19 08:55:10,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:55:10,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.213.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-19 08:55:10,951 - DEBUG - ping -s 56 -c 3 -W 1 84.213.249.131 2025-06-19 08:55:14,618 - DEBUG - PING 84.213.249.131 (84.213.249.131): 56 data bytes 64 bytes from 84.213.249.131: seq=0 ttl=63 time=4.157 ms 64 bytes from 84.213.249.131: seq=1 ttl=63 time=0.947 ms 64 bytes from 84.213.249.131: seq=2 ttl=63 time=0.792 ms --- 84.213.249.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.965/4.157 ms 2025-06-19 08:55:14,618 - INFO - Ping to IP 84.213.249.131 from VM ctest-TestBasicPolicy-09441752-46894123 passed 2025-06-19 08:55:14,793 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fe2d89e8-315e-4362-8d7b-6c3b71335e90", "href": "http://10.0.0.19:8082/network-policy/fe2d89e8-315e-4362-8d7b-6c3b71335e90"}} 2025-06-19 08:55:14,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:55:14,794 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.213.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-19 08:55:14,794 - DEBUG - ping -s 56 -c 3 -W 1 84.213.249.131 2025-06-19 08:55:18,025 - DEBUG - PING 84.213.249.131 (84.213.249.131): 56 data bytes --- 84.213.249.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-19 08:55:18,025 - WARNING - Ping to IP 84.213.249.131 from VM ctest-TestBasicPolicy-09441752-46894123 failed 2025-06-19 08:55:18,025 - INFO - Deleting VM ctest-TestBasicPolicy-09441752-91134770 2025-06-19 08:55:18,096 - INFO - Deleting VM ctest-TestBasicPolicy-09441752-46894123 2025-06-19 08:55:18,600 - INFO - Deleted policy ctest-policy-allow-all-11559272 2025-06-19 08:55:18,601 - INFO - Deleting VN ctest-vn-75495961 2025-06-19 08:55:18,650 - DEBUG - VN cd642651-20eb-4906-99bf-8519ee266e40 still in use: Unable to complete operation on network cd642651-20eb-4906-99bf-8519ee266e40. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a26850a2-9638-4372-b246-46e9caf13e88'] 2025-06-19 08:55:18,650 - WARNING - Deleting VN ctest-vn-75495961 failed..Will retry 2025-06-19 08:55:20,750 - DEBUG - Response for deleting network () 2025-06-19 08:55:20,750 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/38cd3aa0-a5c9-494c-a842-965e23d31ae0 2025-06-19 08:55:20,759 - DEBUG - Response Code: 404 2025-06-19 08:55:20,759 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-19 08:55:20,765 - DEBUG - Requesting: http://10.0.0.19:8082/domain/408dd32d-7c76-46bb-a50e-934977827d89 2025-06-19 08:55:20,821 - DEBUG - Requesting: http://10.0.0.19:8082/project/10502713-6287-4129-ae8f-4658099cfce5 2025-06-19 08:55:20,901 - INFO - Validated that VN ctest-vn-75495961 is not found in API Server 2025-06-19 08:55:20,911 - DEBUG - VN ctest-vn-75495961 is not present in Agent 10.0.0.19 2025-06-19 08:55:20,911 - INFO - Validated that VN ctest-vn-75495961 is not in any agent 2025-06-19 08:55:20,927 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75495961 info 2025-06-19 08:55:20,927 - INFO - Deleting VN ctest-vn-00969727 2025-06-19 08:55:21,043 - DEBUG - Response for deleting network () 2025-06-19 08:55:21,043 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/706f0334-5e65-4fc8-a09a-ece420b0b341 2025-06-19 08:55:21,050 - DEBUG - Response Code: 404 2025-06-19 08:55:21,050 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-19 08:55:21,055 - DEBUG - Requesting: http://10.0.0.19:8082/domain/408dd32d-7c76-46bb-a50e-934977827d89 2025-06-19 08:55:21,112 - DEBUG - Requesting: http://10.0.0.19:8082/project/10502713-6287-4129-ae8f-4658099cfce5 2025-06-19 08:55:21,187 - INFO - Validated that VN ctest-vn-00969727 is not found in API Server 2025-06-19 08:55:21,199 - DEBUG - VN ctest-vn-00969727 is not present in Agent 10.0.0.19 2025-06-19 08:55:21,199 - INFO - Validated that VN ctest-vn-00969727 is not in any agent 2025-06-19 08:55:21,219 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00969727 info 2025-06-19 08:55:21,472 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 08:55:21,472 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-19 08:55:21,473 - INFO - -------------------------------------------------------------------------------- 2025-06-19 08:55:22,149 - INFO - Deleted project: ctest-TestBasicPolicy-09441752, ID : 10502713-6287-4129-ae8f-4658099cfce5