2025-04-24 13:30:44,379 - INFO - Domain Default found not creating 2025-04-24 13:30:44,501 - INFO - Project ctest-TestBasicPolicy-10338487 not found, creating it 2025-04-24 13:30:44,964 - INFO - Created Project:ctest-TestBasicPolicy-10338487, ID : 4f1d8415-8c37-4292-ad2b-283a997a8426 2025-04-24 13:30:46,341 - INFO - ================================================================================ 2025-04-24 13:30:46,341 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-24 13:30:46,341 - 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-04-24 13:30:46,596 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-04-24 13:30:46,596 - INFO - Initial checks done. Running the testcase now 2025-04-24 13:30:46,596 - INFO - 2025-04-24 13:30:47,125 - DEBUG - Response for create_network : {'network': {'id': 'aeb958b8-faa9-49e3-91fa-ff61cd8a9b32', 'name': 'ctest-vn-45754782', 'tenant_id': '4f1d84158c374292ad2b283a997a8426', 'project_id': '4f1d84158c374292ad2b283a997a8426', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10338487', 'ctest-vn-45754782'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:30:47,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '35d09022-65ea-4e26-8ccc-3143f389cc4d', 'name': '', 'tenant_id': '4f1d84158c374292ad2b283a997a8426', 'network_id': 'aeb958b8-faa9-49e3-91fa-ff61cd8a9b32', 'ip_version': 4, 'cidr': '133.16.242.0/26', 'allocation_pools': [{'start': '133.16.242.2', 'end': '133.16.242.62'}], 'gateway_ip': '133.16.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.16.242.2', 'tags': [], 'project_id': '4f1d84158c374292ad2b283a997a8426'}} 2025-04-24 13:30:47,373 - INFO - Created VN ctest-vn-45754782 2025-04-24 13:30:47,426 - DEBUG - VN ctest-vn-45754782 UUID is aeb958b8-faa9-49e3-91fa-ff61cd8a9b32 2025-04-24 13:30:47,851 - DEBUG - Response for create_network : {'network': {'id': 'afb623ac-9d2f-4759-83d8-178c0ad623b4', 'name': 'ctest-vn-10939597', 'tenant_id': '4f1d84158c374292ad2b283a997a8426', 'project_id': '4f1d84158c374292ad2b283a997a8426', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10338487', 'ctest-vn-10939597'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:30:48,048 - DEBUG - Response for create_subnet : {'subnet': {'id': '89cbd568-e50f-427c-91bb-38c6eb29bb06', 'name': '', 'tenant_id': '4f1d84158c374292ad2b283a997a8426', 'network_id': 'afb623ac-9d2f-4759-83d8-178c0ad623b4', 'ip_version': 4, 'cidr': '57.185.10.0/26', 'allocation_pools': [{'start': '57.185.10.2', 'end': '57.185.10.62'}], 'gateway_ip': '57.185.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.185.10.2', 'tags': [], 'project_id': '4f1d84158c374292ad2b283a997a8426'}} 2025-04-24 13:30:48,063 - INFO - Created VN ctest-vn-10939597 2025-04-24 13:30:48,114 - DEBUG - VN ctest-vn-10939597 UUID is afb623ac-9d2f-4759-83d8-178c0ad623b4 2025-04-24 13:30:48,254 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-45754782, 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-10338487:ctest-vn-10939597, 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-04-24 13:30:48,537 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aeb958b8-faa9-49e3-91fa-ff61cd8a9b32', 'name': 'ctest-vn-45754782', 'tenant_id': '4f1d84158c374292ad2b283a997a8426', 'project_id': '4f1d84158c374292ad2b283a997a8426', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['35d09022-65ea-4e26-8ccc-3143f389cc4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10338487', 'ctest-vn-45754782'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10338487', 'ctest-policy-allow-all-24894391']], 'subnet_ipam': [{'subnet_cidr': '133.16.242.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:30:48,810 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afb623ac-9d2f-4759-83d8-178c0ad623b4', 'name': 'ctest-vn-10939597', 'tenant_id': '4f1d84158c374292ad2b283a997a8426', 'project_id': '4f1d84158c374292ad2b283a997a8426', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['89cbd568-e50f-427c-91bb-38c6eb29bb06'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10338487', 'ctest-vn-10939597'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10338487', 'ctest-policy-allow-all-24894391']], 'subnet_ipam': [{'subnet_cidr': '57.185.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:30:48,954 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 13:30:49,247 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 13:30:49,271 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf947ba0-44ee-4ab1-afc2-8a7862bbcab5 2025-04-24 13:30:49,283 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f1d8415-8c37-4292-ad2b-283a997a8426 2025-04-24 13:30:49,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aeb958b8-faa9-49e3-91fa-ff61cd8a9b32 2025-04-24 13:30:49,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aeb958b8-faa9-49e3-91fa-ff61cd8a9b32 2025-04-24 13:30:49,370 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b2ff994-6bb5-47b1-a4df-2b940d7b83c3 2025-04-24 13:30:49,376 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b2ff994-6bb5-47b1-a4df-2b940d7b83c3 2025-04-24 13:30:49,382 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e10b7366-1fa9-4578-808b-7b8830834a93 2025-04-24 13:30:49,388 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 13:30:49,388 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aeb958b8-faa9-49e3-91fa-ff61cd8a9b32 2025-04-24 13:30:49,396 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b2ff994-6bb5-47b1-a4df-2b940d7b83c3 2025-04-24 13:30:49,408 - INFO - Verified VN network id 8 for VN aeb958b8-faa9-49e3-91fa-ff61cd8a9b32 2025-04-24 13:30:49,408 - INFO - Verifications in API Server for VN ctest-vn-45754782 passed 2025-04-24 13:30:49,408 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aeb958b8-faa9-49e3-91fa-ff61cd8a9b32 2025-04-24 13:30:49,417 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b2ff994-6bb5-47b1-a4df-2b940d7b83c3 2025-04-24 13:30:49,423 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b2ff994-6bb5-47b1-a4df-2b940d7b83c3 2025-04-24 13:30:49,429 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e10b7366-1fa9-4578-808b-7b8830834a93 2025-04-24 13:30:49,440 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-45754782', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10338487', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12590191784793557475', 'uuid-lslong': '10519000675202538290'}, 'enable': 'true', 'created': '2025-04-24T13:30:47', 'last-modified': '2025-04-24T13:30:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920734'} 2025-04-24 13:30:49,446 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 13:30:49,446 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45754782 passed 2025-04-24 13:30:49,446 - DEBUG - ====Verifying policy data for ctest-vn-45754782 in API_Server ====== 2025-04-24 13:30:49,446 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 13:30:49,452 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf947ba0-44ee-4ab1-afc2-8a7862bbcab5 2025-04-24 13:30:49,463 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f1d8415-8c37-4292-ad2b-283a997a8426 2025-04-24 13:30:49,532 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aeb958b8-faa9-49e3-91fa-ff61cd8a9b32 2025-04-24 13:30:49,541 - DEBUG - ==>Verifying data for policy with id: 50a7d82c-8db0-47e2-9ce1-fdcca3c1858d, fqn: ['default-domain', 'ctest-TestBasicPolicy-10338487', 'ctest-policy-allow-all-24894391'] 2025-04-24 13:30:49,542 - INFO - VN ctest-vn-45754782 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 13:30:49,542 - DEBUG - Verifying the vn in opserver 2025-04-24 13:30:49,542 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-45754782 virtual network link through opserver 10.0.0.38 2025-04-24 13:30:49,542 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-24 13:30:49,839 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-24 13:30:49,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-45754782', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-45754782?flat'} 2025-04-24 13:30:49,893 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-45754782 is found in opserver 2025-04-24 13:30:49,904 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 13:30:49,909 - DEBUG - VRF ids for VN ctest-vn-45754782: {} 2025-04-24 13:30:49,909 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 13:30:49,916 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf947ba0-44ee-4ab1-afc2-8a7862bbcab5 2025-04-24 13:30:49,926 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f1d8415-8c37-4292-ad2b-283a997a8426 2025-04-24 13:30:50,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/afb623ac-9d2f-4759-83d8-178c0ad623b4 2025-04-24 13:30:50,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/afb623ac-9d2f-4759-83d8-178c0ad623b4 2025-04-24 13:30:50,031 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afce6e59-baa8-4302-8c9b-2fce750212af 2025-04-24 13:30:50,039 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afce6e59-baa8-4302-8c9b-2fce750212af 2025-04-24 13:30:50,045 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f73d2d7-0e7a-4520-88c1-4fffb76020fe 2025-04-24 13:30:50,050 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 13:30:50,050 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/afb623ac-9d2f-4759-83d8-178c0ad623b4 2025-04-24 13:30:50,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afce6e59-baa8-4302-8c9b-2fce750212af 2025-04-24 13:30:50,071 - INFO - Verified VN network id 9 for VN afb623ac-9d2f-4759-83d8-178c0ad623b4 2025-04-24 13:30:50,071 - INFO - Verifications in API Server for VN ctest-vn-10939597 passed 2025-04-24 13:30:50,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/afb623ac-9d2f-4759-83d8-178c0ad623b4 2025-04-24 13:30:50,079 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afce6e59-baa8-4302-8c9b-2fce750212af 2025-04-24 13:30:50,085 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afce6e59-baa8-4302-8c9b-2fce750212af 2025-04-24 13:30:50,091 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f73d2d7-0e7a-4520-88c1-4fffb76020fe 2025-04-24 13:30:50,102 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-10939597', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10338487', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12661346626677196633', 'uuid-lslong': '9500369304182727604'}, 'enable': 'true', 'created': '2025-04-24T13:30:47', 'last-modified': '2025-04-24T13:30:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358832'} 2025-04-24 13:30:50,107 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 13:30:50,107 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10939597 passed 2025-04-24 13:30:50,108 - DEBUG - ====Verifying policy data for ctest-vn-10939597 in API_Server ====== 2025-04-24 13:30:50,108 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 13:30:50,112 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf947ba0-44ee-4ab1-afc2-8a7862bbcab5 2025-04-24 13:30:50,122 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f1d8415-8c37-4292-ad2b-283a997a8426 2025-04-24 13:30:50,188 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/afb623ac-9d2f-4759-83d8-178c0ad623b4 2025-04-24 13:30:50,198 - DEBUG - ==>Verifying data for policy with id: 50a7d82c-8db0-47e2-9ce1-fdcca3c1858d, fqn: ['default-domain', 'ctest-TestBasicPolicy-10338487', 'ctest-policy-allow-all-24894391'] 2025-04-24 13:30:50,198 - INFO - VN ctest-vn-10939597 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 13:30:50,198 - DEBUG - Verifying the vn in opserver 2025-04-24 13:30:50,198 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-10939597 virtual network link through opserver 10.0.0.38 2025-04-24 13:30:50,198 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-24 13:30:50,207 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-10939597', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-10939597?flat'} 2025-04-24 13:30:50,207 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-10939597 is found in opserver 2025-04-24 13:30:50,217 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 13:30:50,221 - DEBUG - VRF ids for VN ctest-vn-10939597: {} 2025-04-24 13:30:50,270 - DEBUG - Services list from nova: [, , ] 2025-04-24 13:30:51,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3205-1) 2025-04-24 13:30:52,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3205-1) 2025-04-24 13:30:52,379 - INFO - Waiting for VM ctest-TestBasicPolicy-10338487-02829872 to be up.. 2025-04-24 13:30:52,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 13:30:57,527 - DEBUG - VM is in ACTIVE state now 2025-04-24 13:30:57,528 - INFO - VM name : ctest-TestBasicPolicy-10338487-02829872 2025-04-24 13:30:57,591 - DEBUG - VM ctest-TestBasicPolicy-10338487-02829872 ID is f9d4f21c-1ec5-4c42-98d6-ef2c73e6c64d 2025-04-24 13:30:57,610 - DEBUG - VM ctest-TestBasicPolicy-10338487-02829872 launched on Node cn-jenkins-deploy-platform-ansible-os-3205-1 2025-04-24 13:30:57,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f9d4f21c-1ec5-4c42-98d6-ef2c73e6c64d 2025-04-24 13:30:57,687 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cc8f76b6-a3a9-485a-b925-01d4415757e5 2025-04-24 13:31:00,936 - 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 1016ms') 2025-04-24 13:31:00,936 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10338487-02829872 failed! 2025-04-24 13:31:00,990 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10338487:ctest-vn-45754782 is 133.16.242.1 and allocation pool is NOT set 2025-04-24 13:31:03,054 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/1.517/2.632/1.115 ms') 2025-04-24 13:31:03,055 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10338487-02829872 passed 2025-04-24 13:31:03,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:31:03,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10338487-02829872, IP 133.16.242.3, Port 22 2025-04-24 13:31:03,353 - DEBUG - VM ctest-TestBasicPolicy-10338487-02829872 is ready for SSH connections 2025-04-24 13:31:03,353 - INFO - Waiting for VM ctest-TestBasicPolicy-10338487-31068270 to be up.. 2025-04-24 13:31:03,421 - DEBUG - VM is in ACTIVE state now 2025-04-24 13:31:03,421 - INFO - VM name : ctest-TestBasicPolicy-10338487-31068270 2025-04-24 13:31:03,487 - DEBUG - VM ctest-TestBasicPolicy-10338487-31068270 ID is bdd56d57-6712-4a95-9588-e98a16a1dbb1 2025-04-24 13:31:03,487 - DEBUG - VM ctest-TestBasicPolicy-10338487-31068270 launched on Node cn-jenkins-deploy-platform-ansible-os-3205-1 2025-04-24 13:31:03,559 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bdd56d57-6712-4a95-9588-e98a16a1dbb1 2025-04-24 13:31:03,569 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6dd95a04-8632-4666-b609-b3c509fc576d 2025-04-24 13:31:04,813 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.60 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.598/2.652/2.706/0.054 ms') 2025-04-24 13:31:04,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10338487-31068270 passed 2025-04-24 13:31:04,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:31:04,962 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10338487-31068270, IP 57.185.10.3, Port 22 2025-04-24 13:31:05,113 - DEBUG - VM ctest-TestBasicPolicy-10338487-31068270 is ready for SSH connections 2025-04-24 13:31:05,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:31:05,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.185.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-24 13:31:05,113 - DEBUG - ping -s 56 -c 3 -W 1 57.185.10.3 2025-04-24 13:31:08,792 - DEBUG - PING 57.185.10.3 (57.185.10.3): 56 data bytes 64 bytes from 57.185.10.3: seq=0 ttl=63 time=3.202 ms 64 bytes from 57.185.10.3: seq=1 ttl=63 time=0.717 ms 64 bytes from 57.185.10.3: seq=2 ttl=63 time=0.696 ms --- 57.185.10.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.696/1.538/3.202 ms 2025-04-24 13:31:08,792 - INFO - Ping to IP 57.185.10.3 from VM ctest-TestBasicPolicy-10338487-02829872 passed 2025-04-24 13:31:08,970 - DEBUG - Policy Update Response {"network-policy": {"uuid": "50a7d82c-8db0-47e2-9ce1-fdcca3c1858d", "href": "http://10.0.0.38:8082/network-policy/50a7d82c-8db0-47e2-9ce1-fdcca3c1858d"}} 2025-04-24 13:31:08,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:31:08,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.185.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-24 13:31:08,970 - DEBUG - ping -s 56 -c 3 -W 1 57.185.10.3 2025-04-24 13:31:12,165 - DEBUG - PING 57.185.10.3 (57.185.10.3): 56 data bytes 64 bytes from 57.185.10.3: seq=0 ttl=63 time=1.367 ms --- 57.185.10.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.367/1.367/1.367 ms 2025-04-24 13:31:12,165 - WARNING - Ping to IP 57.185.10.3 from VM ctest-TestBasicPolicy-10338487-02829872 failed 2025-04-24 13:31:12,165 - INFO - Deleting VM ctest-TestBasicPolicy-10338487-31068270 2025-04-24 13:31:12,220 - INFO - Deleting VM ctest-TestBasicPolicy-10338487-02829872 2025-04-24 13:31:12,617 - INFO - Deleted policy ctest-policy-allow-all-24894391 2025-04-24 13:31:12,617 - INFO - Deleting VN ctest-vn-10939597 2025-04-24 13:31:12,654 - DEBUG - VN afb623ac-9d2f-4759-83d8-178c0ad623b4 still in use: Unable to complete operation on network afb623ac-9d2f-4759-83d8-178c0ad623b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7856dab0-8fb5-4ce6-8a7b-a06980e77e96'] 2025-04-24 13:31:12,654 - WARNING - Deleting VN ctest-vn-10939597 failed..Will retry 2025-04-24 13:31:14,757 - DEBUG - Response for deleting network () 2025-04-24 13:31:14,757 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afce6e59-baa8-4302-8c9b-2fce750212af 2025-04-24 13:31:14,764 - DEBUG - Response Code: 404 2025-04-24 13:31:14,764 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 13:31:14,769 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf947ba0-44ee-4ab1-afc2-8a7862bbcab5 2025-04-24 13:31:14,823 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f1d8415-8c37-4292-ad2b-283a997a8426 2025-04-24 13:31:14,892 - INFO - Validated that VN ctest-vn-10939597 is not found in API Server 2025-04-24 13:31:14,903 - DEBUG - VN ctest-vn-10939597 is not present in Agent 10.0.0.38 2025-04-24 13:31:14,903 - INFO - Validated that VN ctest-vn-10939597 is not in any agent 2025-04-24 13:31:14,918 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10939597 info 2025-04-24 13:31:14,918 - INFO - Deleting VN ctest-vn-45754782 2025-04-24 13:31:15,016 - DEBUG - Response for deleting network () 2025-04-24 13:31:15,016 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b2ff994-6bb5-47b1-a4df-2b940d7b83c3 2025-04-24 13:31:15,022 - DEBUG - Response Code: 404 2025-04-24 13:31:15,022 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 13:31:15,033 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf947ba0-44ee-4ab1-afc2-8a7862bbcab5 2025-04-24 13:31:15,087 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f1d8415-8c37-4292-ad2b-283a997a8426 2025-04-24 13:31:15,159 - INFO - Validated that VN ctest-vn-45754782 is not found in API Server 2025-04-24 13:31:15,168 - DEBUG - VN ctest-vn-45754782 is not present in Agent 10.0.0.38 2025-04-24 13:31:15,168 - INFO - Validated that VN ctest-vn-45754782 is not in any agent 2025-04-24 13:31:15,182 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45754782 info 2025-04-24 13:31:15,435 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 13:31:15,435 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-24 13:31:15,435 - INFO - -------------------------------------------------------------------------------- 2025-04-24 13:31:16,079 - INFO - Deleted project: ctest-TestBasicPolicy-10338487, ID : 4f1d8415-8c37-4292-ad2b-283a997a8426