2025-05-14 17:22:11,781 - INFO - Domain Default found not creating 2025-05-14 17:22:12,078 - INFO - Project ctest-TestBasicPolicy-78029856 not found, creating it 2025-05-14 17:22:12,856 - INFO - Created Project:ctest-TestBasicPolicy-78029856, ID : 3e435305-5022-47f5-adae-776dd97ff5db 2025-05-14 17:22:14,954 - INFO - ================================================================================ 2025-05-14 17:22:14,958 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-14 17:22:14,958 - 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-05-14 17:22:15,268 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-14 17:22:15,268 - INFO - Initial checks done. Running the testcase now 2025-05-14 17:22:15,268 - INFO - 2025-05-14 17:22:16,116 - DEBUG - Response for create_network : {'network': {'id': '22b34033-554b-4818-81bc-8daf72239647', 'name': 'ctest-vn-91393460', 'tenant_id': '3e435305502247f5adae776dd97ff5db', 'project_id': '3e435305502247f5adae776dd97ff5db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78029856', 'ctest-vn-91393460'], 'port_security_enabled': True, 'description': ''}} 2025-05-14 17:22:16,355 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbaf53dc-c902-444b-b39a-5debacda6349', 'name': '', 'tenant_id': '3e435305502247f5adae776dd97ff5db', 'network_id': '22b34033-554b-4818-81bc-8daf72239647', 'ip_version': 4, 'cidr': '125.11.37.64/26', 'allocation_pools': [{'start': '125.11.37.66', 'end': '125.11.37.126'}], 'gateway_ip': '125.11.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.11.37.66', 'tags': [], 'project_id': '3e435305502247f5adae776dd97ff5db'}} 2025-05-14 17:22:16,392 - INFO - Created VN ctest-vn-91393460 2025-05-14 17:22:16,457 - DEBUG - VN ctest-vn-91393460 UUID is 22b34033-554b-4818-81bc-8daf72239647 2025-05-14 17:22:16,968 - DEBUG - Response for create_network : {'network': {'id': 'd63cc249-3bfe-4fdf-badb-e06d0286e8e6', 'name': 'ctest-vn-05385790', 'tenant_id': '3e435305502247f5adae776dd97ff5db', 'project_id': '3e435305502247f5adae776dd97ff5db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78029856', 'ctest-vn-05385790'], 'port_security_enabled': True, 'description': ''}} 2025-05-14 17:22:17,199 - DEBUG - Response for create_subnet : {'subnet': {'id': '34ef40fd-cf72-4ac9-b8e0-339b7a3e4d7f', 'name': '', 'tenant_id': '3e435305502247f5adae776dd97ff5db', 'network_id': 'd63cc249-3bfe-4fdf-badb-e06d0286e8e6', 'ip_version': 4, 'cidr': '172.125.172.0/26', 'allocation_pools': [{'start': '172.125.172.2', 'end': '172.125.172.62'}], 'gateway_ip': '172.125.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.125.172.2', 'tags': [], 'project_id': '3e435305502247f5adae776dd97ff5db'}} 2025-05-14 17:22:17,219 - INFO - Created VN ctest-vn-05385790 2025-05-14 17:22:17,276 - DEBUG - VN ctest-vn-05385790 UUID is d63cc249-3bfe-4fdf-badb-e06d0286e8e6 2025-05-14 17:22:17,427 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-91393460, 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-78029856:ctest-vn-05385790, 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-05-14 17:22:17,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22b34033-554b-4818-81bc-8daf72239647', 'name': 'ctest-vn-91393460', 'tenant_id': '3e435305502247f5adae776dd97ff5db', 'project_id': '3e435305502247f5adae776dd97ff5db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bbaf53dc-c902-444b-b39a-5debacda6349'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78029856', 'ctest-vn-91393460'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78029856', 'ctest-policy-allow-all-58845031']], 'subnet_ipam': [{'subnet_cidr': '125.11.37.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-14 17:22:18,203 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd63cc249-3bfe-4fdf-badb-e06d0286e8e6', 'name': 'ctest-vn-05385790', 'tenant_id': '3e435305502247f5adae776dd97ff5db', 'project_id': '3e435305502247f5adae776dd97ff5db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34ef40fd-cf72-4ac9-b8e0-339b7a3e4d7f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78029856', 'ctest-vn-05385790'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78029856', 'ctest-policy-allow-all-58845031']], 'subnet_ipam': [{'subnet_cidr': '172.125.172.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-14 17:22:18,396 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 17:22:18,705 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 17:22:18,758 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ac941447-a2f9-4b7a-bd2e-665fe112e36a 2025-05-14 17:22:18,784 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e435305-5022-47f5-adae-776dd97ff5db 2025-05-14 17:22:18,895 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22b34033-554b-4818-81bc-8daf72239647 2025-05-14 17:22:18,926 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22b34033-554b-4818-81bc-8daf72239647 2025-05-14 17:22:18,949 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8adbacbb-42ff-409f-9181-eafc08a98482 2025-05-14 17:22:18,962 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8adbacbb-42ff-409f-9181-eafc08a98482 2025-05-14 17:22:18,975 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/118b4233-b2ee-49f9-a3c9-8584b199dae5 2025-05-14 17:22:18,995 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-14 17:22:18,995 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22b34033-554b-4818-81bc-8daf72239647 2025-05-14 17:22:19,031 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8adbacbb-42ff-409f-9181-eafc08a98482 2025-05-14 17:22:19,072 - INFO - Verified VN network id 8 for VN 22b34033-554b-4818-81bc-8daf72239647 2025-05-14 17:22:19,072 - INFO - Verifications in API Server for VN ctest-vn-91393460 passed 2025-05-14 17:22:19,072 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22b34033-554b-4818-81bc-8daf72239647 2025-05-14 17:22:19,100 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8adbacbb-42ff-409f-9181-eafc08a98482 2025-05-14 17:22:19,120 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8adbacbb-42ff-409f-9181-eafc08a98482 2025-05-14 17:22:19,145 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/118b4233-b2ee-49f9-a3c9-8584b199dae5 2025-05-14 17:22:19,194 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-91393460', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78029856', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2500412807339264024', 'uuid-lslong': '9348502711188035143'}, 'enable': 'true', 'created': '2025-05-14T17:22:16', 'last-modified': '2025-05-14T17:22:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.333173'} 2025-05-14 17:22:19,213 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-14 17:22:19,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91393460 passed 2025-05-14 17:22:19,214 - DEBUG - ====Verifying policy data for ctest-vn-91393460 in API_Server ====== 2025-05-14 17:22:19,214 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 17:22:19,227 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ac941447-a2f9-4b7a-bd2e-665fe112e36a 2025-05-14 17:22:19,271 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e435305-5022-47f5-adae-776dd97ff5db 2025-05-14 17:22:19,367 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/22b34033-554b-4818-81bc-8daf72239647 2025-05-14 17:22:19,386 - DEBUG - ==>Verifying data for policy with id: 366db7f6-caf1-4f61-9e2d-422623378fbc, fqn: ['default-domain', 'ctest-TestBasicPolicy-78029856', 'ctest-policy-allow-all-58845031'] 2025-05-14 17:22:19,386 - INFO - VN ctest-vn-91393460 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-14 17:22:19,386 - DEBUG - Verifying the vn in opserver 2025-05-14 17:22:19,387 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-91393460 virtual network link through opserver 10.0.0.50 2025-05-14 17:22:19,387 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-14 17:22:19,701 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-14 17:22:19,835 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-91393460', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-91393460?flat'} 2025-05-14 17:22:19,835 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-91393460 is found in opserver 2025-05-14 17:22:19,875 - DEBUG - Do not have enough data to verify VN in agent 2025-05-14 17:22:19,896 - DEBUG - VRF ids for VN ctest-vn-91393460: {} 2025-05-14 17:22:19,897 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 17:22:19,913 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ac941447-a2f9-4b7a-bd2e-665fe112e36a 2025-05-14 17:22:19,952 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e435305-5022-47f5-adae-776dd97ff5db 2025-05-14 17:22:20,079 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d63cc249-3bfe-4fdf-badb-e06d0286e8e6 2025-05-14 17:22:20,099 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d63cc249-3bfe-4fdf-badb-e06d0286e8e6 2025-05-14 17:22:20,116 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/77c18b61-ca73-4c98-89f8-8ecbc77d7587 2025-05-14 17:22:20,131 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/77c18b61-ca73-4c98-89f8-8ecbc77d7587 2025-05-14 17:22:20,149 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3e2b5ae5-a297-4499-b88e-7e74b0cc7ce7 2025-05-14 17:22:20,165 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-14 17:22:20,166 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d63cc249-3bfe-4fdf-badb-e06d0286e8e6 2025-05-14 17:22:20,198 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/77c18b61-ca73-4c98-89f8-8ecbc77d7587 2025-05-14 17:22:20,244 - INFO - Verified VN network id 9 for VN d63cc249-3bfe-4fdf-badb-e06d0286e8e6 2025-05-14 17:22:20,244 - INFO - Verifications in API Server for VN ctest-vn-05385790 passed 2025-05-14 17:22:20,245 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d63cc249-3bfe-4fdf-badb-e06d0286e8e6 2025-05-14 17:22:20,278 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/77c18b61-ca73-4c98-89f8-8ecbc77d7587 2025-05-14 17:22:20,299 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/77c18b61-ca73-4c98-89f8-8ecbc77d7587 2025-05-14 17:22:20,320 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3e2b5ae5-a297-4499-b88e-7e74b0cc7ce7 2025-05-14 17:22:20,360 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-05385790', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78029856', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15437427242514141151', 'uuid-lslong': '13464602269752682726'}, 'enable': 'true', 'created': '2025-05-14T17:22:16', 'last-modified': '2025-05-14T17:22:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.204238'} 2025-05-14 17:22:20,382 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-14 17:22:20,382 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05385790 passed 2025-05-14 17:22:20,383 - DEBUG - ====Verifying policy data for ctest-vn-05385790 in API_Server ====== 2025-05-14 17:22:20,383 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 17:22:20,400 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ac941447-a2f9-4b7a-bd2e-665fe112e36a 2025-05-14 17:22:20,441 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e435305-5022-47f5-adae-776dd97ff5db 2025-05-14 17:22:20,566 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d63cc249-3bfe-4fdf-badb-e06d0286e8e6 2025-05-14 17:22:20,594 - DEBUG - ==>Verifying data for policy with id: 366db7f6-caf1-4f61-9e2d-422623378fbc, fqn: ['default-domain', 'ctest-TestBasicPolicy-78029856', 'ctest-policy-allow-all-58845031'] 2025-05-14 17:22:20,594 - INFO - VN ctest-vn-05385790 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-14 17:22:20,594 - DEBUG - Verifying the vn in opserver 2025-05-14 17:22:20,595 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-05385790 virtual network link through opserver 10.0.0.50 2025-05-14 17:22:20,595 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-14 17:22:20,627 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-05385790', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-05385790?flat'} 2025-05-14 17:22:20,627 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-05385790 is found in opserver 2025-05-14 17:22:20,663 - DEBUG - Do not have enough data to verify VN in agent 2025-05-14 17:22:20,677 - DEBUG - VRF ids for VN ctest-vn-05385790: {} 2025-05-14 17:22:20,860 - DEBUG - Services list from nova: [, , ] 2025-05-14 17:22:22,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3310-1) 2025-05-14 17:22:24,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3310-1) 2025-05-14 17:22:24,045 - INFO - Waiting for VM ctest-TestBasicPolicy-78029856-80234642 to be up.. 2025-05-14 17:22:24,150 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-14 17:22:29,336 - DEBUG - VM is in ACTIVE state now 2025-05-14 17:22:29,337 - INFO - VM name : ctest-TestBasicPolicy-78029856-80234642 2025-05-14 17:22:29,471 - DEBUG - VM ctest-TestBasicPolicy-78029856-80234642 ID is 0258653e-ef7e-4ccb-a73b-48c8f1a08e26 2025-05-14 17:22:29,497 - DEBUG - VM ctest-TestBasicPolicy-78029856-80234642 launched on Node cn-jenkins-deploy-platform-ansible-os-3310-1 2025-05-14 17:22:29,616 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0258653e-ef7e-4ccb-a73b-48c8f1a08e26 2025-05-14 17:22:29,630 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/84182df5-31d4-455c-8b0e-9ddb9c142b74 2025-05-14 17:22:32,968 - 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 1020ms') 2025-05-14 17:22:32,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78029856-80234642 failed! 2025-05-14 17:22:33,048 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78029856:ctest-vn-91393460 is 125.11.37.65 and allocation pool is NOT set 2025-05-14 17:22:35,136 - 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=9.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.942/6.466/9.990/3.524 ms') 2025-05-14 17:22:35,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78029856-80234642 passed 2025-05-14 17:22:35,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 17:22:35,308 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78029856-80234642, IP 125.11.37.67, Port 22 2025-05-14 17:22:35,474 - DEBUG - VM ctest-TestBasicPolicy-78029856-80234642 is ready for SSH connections 2025-05-14 17:22:35,474 - INFO - Waiting for VM ctest-TestBasicPolicy-78029856-88582388 to be up.. 2025-05-14 17:22:35,589 - DEBUG - VM is in ACTIVE state now 2025-05-14 17:22:35,589 - INFO - VM name : ctest-TestBasicPolicy-78029856-88582388 2025-05-14 17:22:35,685 - DEBUG - VM ctest-TestBasicPolicy-78029856-88582388 ID is 665c5bb9-cd6d-4057-871f-b6a69257bb5c 2025-05-14 17:22:35,685 - DEBUG - VM ctest-TestBasicPolicy-78029856-88582388 launched on Node cn-jenkins-deploy-platform-ansible-os-3310-1 2025-05-14 17:22:35,804 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/665c5bb9-cd6d-4057-871f-b6a69257bb5c 2025-05-14 17:22:35,814 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ac4e776a-7d9f-4c70-9f7a-0a1683e9ee90 2025-05-14 17:22:37,070 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.68 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 = 3.112/3.395/3.679/0.283 ms') 2025-05-14 17:22:37,070 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78029856-88582388 passed 2025-05-14 17:22:37,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 17:22:37,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78029856-88582388, IP 172.125.172.3, Port 22 2025-05-14 17:22:37,411 - DEBUG - VM ctest-TestBasicPolicy-78029856-88582388 is ready for SSH connections 2025-05-14 17:22:37,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 17:22:37,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.125.172.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-14 17:22:37,412 - DEBUG - ping -s 56 -c 3 -W 1 172.125.172.3 2025-05-14 17:22:42,008 - DEBUG - PING 172.125.172.3 (172.125.172.3): 56 data bytes 64 bytes from 172.125.172.3: seq=0 ttl=63 time=5.207 ms 64 bytes from 172.125.172.3: seq=1 ttl=63 time=1.373 ms 64 bytes from 172.125.172.3: seq=2 ttl=63 time=2.013 ms --- 172.125.172.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.373/2.864/5.207 ms 2025-05-14 17:22:42,008 - INFO - Ping to IP 172.125.172.3 from VM ctest-TestBasicPolicy-78029856-80234642 passed 2025-05-14 17:22:42,276 - DEBUG - Policy Update Response {"network-policy": {"uuid": "366db7f6-caf1-4f61-9e2d-422623378fbc", "href": "http://10.0.0.50:8082/network-policy/366db7f6-caf1-4f61-9e2d-422623378fbc"}} 2025-05-14 17:22:42,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 17:22:42,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.125.172.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-14 17:22:42,277 - DEBUG - ping -s 56 -c 3 -W 1 172.125.172.3 2025-05-14 17:22:45,544 - DEBUG - PING 172.125.172.3 (172.125.172.3): 56 data bytes --- 172.125.172.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-14 17:22:45,545 - WARNING - Ping to IP 172.125.172.3 from VM ctest-TestBasicPolicy-78029856-80234642 failed 2025-05-14 17:22:45,546 - INFO - Deleting VM ctest-TestBasicPolicy-78029856-88582388 2025-05-14 17:22:45,696 - INFO - Deleting VM ctest-TestBasicPolicy-78029856-80234642 2025-05-14 17:22:46,244 - INFO - Deleted policy ctest-policy-allow-all-58845031 2025-05-14 17:22:46,244 - INFO - Deleting VN ctest-vn-05385790 2025-05-14 17:22:46,284 - DEBUG - VN d63cc249-3bfe-4fdf-badb-e06d0286e8e6 still in use: Unable to complete operation on network d63cc249-3bfe-4fdf-badb-e06d0286e8e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f4198b57-5eb0-4271-951f-1402409dae84'] 2025-05-14 17:22:46,284 - WARNING - Deleting VN ctest-vn-05385790 failed..Will retry 2025-05-14 17:22:48,563 - DEBUG - Response for deleting network () 2025-05-14 17:22:48,564 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/77c18b61-ca73-4c98-89f8-8ecbc77d7587 2025-05-14 17:22:48,586 - DEBUG - Response Code: 404 2025-05-14 17:22:48,586 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 17:22:48,596 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ac941447-a2f9-4b7a-bd2e-665fe112e36a 2025-05-14 17:22:48,623 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e435305-5022-47f5-adae-776dd97ff5db 2025-05-14 17:22:48,740 - INFO - Validated that VN ctest-vn-05385790 is not found in API Server 2025-05-14 17:22:48,755 - DEBUG - VN ctest-vn-05385790 is not present in Agent 10.0.0.50 2025-05-14 17:22:48,756 - INFO - Validated that VN ctest-vn-05385790 is not in any agent 2025-05-14 17:22:48,793 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05385790 info 2025-05-14 17:22:48,794 - INFO - Deleting VN ctest-vn-91393460 2025-05-14 17:22:49,036 - DEBUG - Response for deleting network () 2025-05-14 17:22:49,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8adbacbb-42ff-409f-9181-eafc08a98482 2025-05-14 17:22:49,044 - DEBUG - Response Code: 404 2025-05-14 17:22:49,045 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-14 17:22:49,054 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ac941447-a2f9-4b7a-bd2e-665fe112e36a 2025-05-14 17:22:49,072 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e435305-5022-47f5-adae-776dd97ff5db 2025-05-14 17:22:49,188 - INFO - Validated that VN ctest-vn-91393460 is not found in API Server 2025-05-14 17:22:49,207 - DEBUG - VN ctest-vn-91393460 is not present in Agent 10.0.0.50 2025-05-14 17:22:49,207 - INFO - Validated that VN ctest-vn-91393460 is not in any agent 2025-05-14 17:22:49,233 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91393460 info 2025-05-14 17:22:49,564 - DEBUG - No XMPP flaps were noticed during the test
2025-05-14 17:22:49,565 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-05-14 17:22:49,565 - INFO - -------------------------------------------------------------------------------- 2025-05-14 17:22:50,473 - INFO - Deleted project: ctest-TestBasicPolicy-78029856, ID : 3e435305-5022-47f5-adae-776dd97ff5db