2025-08-26 00:08:23,016 - INFO - Domain Default found not creating 2025-08-26 00:08:23,172 - INFO - Project ctest-TestBasicPolicy-98841381 not found, creating it 2025-08-26 00:08:23,671 - INFO - Created Project:ctest-TestBasicPolicy-98841381, ID : 7b946d5b-8dd8-4542-9924-68c196a19f48 2025-08-26 00:08:25,170 - INFO - ================================================================================ 2025-08-26 00:08:25,171 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-26 00:08:25,171 - 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-26 00:08:25,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with 2025-08-26 00:08:25,441 - INFO - Initial checks done. Running the testcase now 2025-08-26 00:08:25,441 - INFO - 2025-08-26 00:08:26,070 - DEBUG - Response for create_network : {'network': {'id': '874c2ba0-5b0f-41c5-8aa0-06dfdf430eea', 'name': 'ctest-vn-70681100', 'tenant_id': '7b946d5b8dd84542992468c196a19f48', 'project_id': '7b946d5b8dd84542992468c196a19f48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98841381', 'ctest-vn-70681100'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:08:26,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbbf8bee-c297-4140-bafe-b42d3cc63fa4', 'name': '', 'tenant_id': '7b946d5b8dd84542992468c196a19f48', 'network_id': '874c2ba0-5b0f-41c5-8aa0-06dfdf430eea', 'ip_version': 4, 'cidr': '174.52.10.0/26', 'allocation_pools': [{'start': '174.52.10.2', 'end': '174.52.10.62'}], 'gateway_ip': '174.52.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.52.10.2', 'tags': [], 'project_id': '7b946d5b8dd84542992468c196a19f48'}} 2025-08-26 00:08:26,293 - INFO - Created VN ctest-vn-70681100 2025-08-26 00:08:26,345 - DEBUG - VN ctest-vn-70681100 UUID is 874c2ba0-5b0f-41c5-8aa0-06dfdf430eea 2025-08-26 00:08:26,641 - DEBUG - Response for create_network : {'network': {'id': '9516af6c-6515-425b-a01b-007966574b5e', 'name': 'ctest-vn-04741216', 'tenant_id': '7b946d5b8dd84542992468c196a19f48', 'project_id': '7b946d5b8dd84542992468c196a19f48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98841381', 'ctest-vn-04741216'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:08:26,810 - DEBUG - Response for create_subnet : {'subnet': {'id': '2377bed3-a5ff-4dc5-9c8d-b5df7985c3e1', 'name': '', 'tenant_id': '7b946d5b8dd84542992468c196a19f48', 'network_id': '9516af6c-6515-425b-a01b-007966574b5e', 'ip_version': 4, 'cidr': '216.76.234.192/26', 'allocation_pools': [{'start': '216.76.234.194', 'end': '216.76.234.254'}], 'gateway_ip': '216.76.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.76.234.194', 'tags': [], 'project_id': '7b946d5b8dd84542992468c196a19f48'}} 2025-08-26 00:08:26,828 - INFO - Created VN ctest-vn-04741216 2025-08-26 00:08:26,881 - DEBUG - VN ctest-vn-04741216 UUID is 9516af6c-6515-425b-a01b-007966574b5e 2025-08-26 00:08:27,005 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-70681100, 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-98841381:ctest-vn-04741216, 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-26 00:08:27,311 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '874c2ba0-5b0f-41c5-8aa0-06dfdf430eea', 'name': 'ctest-vn-70681100', 'tenant_id': '7b946d5b8dd84542992468c196a19f48', 'project_id': '7b946d5b8dd84542992468c196a19f48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cbbf8bee-c297-4140-bafe-b42d3cc63fa4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98841381', 'ctest-vn-70681100'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98841381', 'ctest-policy-allow-all-87101186']], 'subnet_ipam': [{'subnet_cidr': '174.52.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:08:27,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9516af6c-6515-425b-a01b-007966574b5e', 'name': 'ctest-vn-04741216', 'tenant_id': '7b946d5b8dd84542992468c196a19f48', 'project_id': '7b946d5b8dd84542992468c196a19f48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2377bed3-a5ff-4dc5-9c8d-b5df7985c3e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98841381', 'ctest-vn-04741216'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98841381', 'ctest-policy-allow-all-87101186']], 'subnet_ipam': [{'subnet_cidr': '216.76.234.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:08:27,777 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-26 00:08:28,087 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-26 00:08:28,121 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4ef1fae8-73cb-4d23-a633-7ef3c9f6dfd7 2025-08-26 00:08:28,140 - DEBUG - Requesting: http://10.0.0.141:8082/project/7b946d5b-8dd8-4542-9924-68c196a19f48 2025-08-26 00:08:28,216 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/874c2ba0-5b0f-41c5-8aa0-06dfdf430eea 2025-08-26 00:08:28,229 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/874c2ba0-5b0f-41c5-8aa0-06dfdf430eea 2025-08-26 00:08:28,238 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/73649393-4da0-497b-b547-65b753c8044a 2025-08-26 00:08:28,245 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/73649393-4da0-497b-b547-65b753c8044a 2025-08-26 00:08:28,252 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/7cbde900-3692-4b83-8735-30fc8878fed1 2025-08-26 00:08:28,257 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 00:08:28,258 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/874c2ba0-5b0f-41c5-8aa0-06dfdf430eea 2025-08-26 00:08:28,266 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/73649393-4da0-497b-b547-65b753c8044a 2025-08-26 00:08:28,279 - INFO - Verified VN network id 12 for VN 874c2ba0-5b0f-41c5-8aa0-06dfdf430eea 2025-08-26 00:08:28,279 - INFO - Verifications in API Server for VN ctest-vn-70681100 passed 2025-08-26 00:08:28,279 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/874c2ba0-5b0f-41c5-8aa0-06dfdf430eea 2025-08-26 00:08:28,289 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/73649393-4da0-497b-b547-65b753c8044a 2025-08-26 00:08:28,296 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/73649393-4da0-497b-b547-65b753c8044a 2025-08-26 00:08:28,302 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/7cbde900-3692-4b83-8735-30fc8878fed1 2025-08-26 00:08:28,316 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-70681100', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98841381', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9749215261072769477', 'uuid-lslong': '9988991532100947690'}, 'enable': 'true', 'created': '2025-08-26T00:08:26', 'last-modified': '2025-08-26T00:08:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029591'} 2025-08-26 00:08:28,324 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 00:08:28,324 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70681100 passed 2025-08-26 00:08:28,324 - DEBUG - ====Verifying policy data for ctest-vn-70681100 in API_Server ====== 2025-08-26 00:08:28,324 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-26 00:08:28,331 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4ef1fae8-73cb-4d23-a633-7ef3c9f6dfd7 2025-08-26 00:08:28,342 - DEBUG - Requesting: http://10.0.0.141:8082/project/7b946d5b-8dd8-4542-9924-68c196a19f48 2025-08-26 00:08:28,413 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/874c2ba0-5b0f-41c5-8aa0-06dfdf430eea 2025-08-26 00:08:28,423 - DEBUG - ==>Verifying data for policy with id: 2294eca3-32f2-4cf9-9888-0ee4f3b928bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-98841381', 'ctest-policy-allow-all-87101186'] 2025-08-26 00:08:28,423 - INFO - VN ctest-vn-70681100 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 00:08:28,424 - DEBUG - Verifying the vn in opserver 2025-08-26 00:08:28,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-70681100 virtual network link through opserver 10.0.0.141 2025-08-26 00:08:28,424 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-26 00:08:28,721 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-26 00:08:28,779 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-70681100', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-70681100?flat'} 2025-08-26 00:08:28,779 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-70681100 is found in opserver 2025-08-26 00:08:28,791 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 00:08:28,796 - DEBUG - VRF ids for VN ctest-vn-70681100: {} 2025-08-26 00:08:28,796 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-26 00:08:28,802 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4ef1fae8-73cb-4d23-a633-7ef3c9f6dfd7 2025-08-26 00:08:28,814 - DEBUG - Requesting: http://10.0.0.141:8082/project/7b946d5b-8dd8-4542-9924-68c196a19f48 2025-08-26 00:08:28,896 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9516af6c-6515-425b-a01b-007966574b5e 2025-08-26 00:08:28,912 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9516af6c-6515-425b-a01b-007966574b5e 2025-08-26 00:08:28,922 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0643f4be-b5d1-4c9c-a6ac-30f2a4e39af2 2025-08-26 00:08:28,929 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0643f4be-b5d1-4c9c-a6ac-30f2a4e39af2 2025-08-26 00:08:28,936 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/1c7fd3c7-5fdd-4853-a9f3-9836c013a6e5 2025-08-26 00:08:28,942 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 00:08:28,943 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9516af6c-6515-425b-a01b-007966574b5e 2025-08-26 00:08:28,952 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0643f4be-b5d1-4c9c-a6ac-30f2a4e39af2 2025-08-26 00:08:28,965 - INFO - Verified VN network id 13 for VN 9516af6c-6515-425b-a01b-007966574b5e 2025-08-26 00:08:28,966 - INFO - Verifications in API Server for VN ctest-vn-04741216 passed 2025-08-26 00:08:28,966 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9516af6c-6515-425b-a01b-007966574b5e 2025-08-26 00:08:28,976 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0643f4be-b5d1-4c9c-a6ac-30f2a4e39af2 2025-08-26 00:08:28,983 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0643f4be-b5d1-4c9c-a6ac-30f2a4e39af2 2025-08-26 00:08:28,993 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/1c7fd3c7-5fdd-4853-a9f3-9836c013a6e5 2025-08-26 00:08:29,010 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-04741216', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98841381', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10742966841226117723', 'uuid-lslong': '11536815391847697246'}, 'enable': 'true', 'created': '2025-08-26T00:08:26', 'last-modified': '2025-08-26T00:08:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477202'} 2025-08-26 00:08:29,020 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 00:08:29,020 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04741216 passed 2025-08-26 00:08:29,020 - DEBUG - ====Verifying policy data for ctest-vn-04741216 in API_Server ====== 2025-08-26 00:08:29,020 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-26 00:08:29,026 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4ef1fae8-73cb-4d23-a633-7ef3c9f6dfd7 2025-08-26 00:08:29,040 - DEBUG - Requesting: http://10.0.0.141:8082/project/7b946d5b-8dd8-4542-9924-68c196a19f48 2025-08-26 00:08:29,112 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9516af6c-6515-425b-a01b-007966574b5e 2025-08-26 00:08:29,121 - DEBUG - ==>Verifying data for policy with id: 2294eca3-32f2-4cf9-9888-0ee4f3b928bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-98841381', 'ctest-policy-allow-all-87101186'] 2025-08-26 00:08:29,122 - INFO - VN ctest-vn-04741216 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 00:08:29,122 - DEBUG - Verifying the vn in opserver 2025-08-26 00:08:29,122 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-04741216 virtual network link through opserver 10.0.0.141 2025-08-26 00:08:29,122 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-26 00:08:29,134 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-04741216', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-04741216?flat'} 2025-08-26 00:08:29,134 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-04741216 is found in opserver 2025-08-26 00:08:29,144 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 00:08:29,148 - DEBUG - VRF ids for VN ctest-vn-04741216: {} 2025-08-26 00:08:29,203 - DEBUG - Services list from nova: [, , ] 2025-08-26 00:08:30,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3932-1) 2025-08-26 00:08:31,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3932-1) 2025-08-26 00:08:31,389 - INFO - Waiting for VM ctest-TestBasicPolicy-98841381-15956020 to be up.. 2025-08-26 00:08:31,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 00:08:36,562 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:08:36,562 - INFO - VM name : ctest-TestBasicPolicy-98841381-15956020 2025-08-26 00:08:36,640 - DEBUG - VM ctest-TestBasicPolicy-98841381-15956020 ID is fcb827fa-d55e-4efd-ba14-050eb2036d59 2025-08-26 00:08:36,661 - DEBUG - VM ctest-TestBasicPolicy-98841381-15956020 launched on Node cn-jenkins-deploy-platform-ansible-os-3932-1 2025-08-26 00:08:36,745 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/fcb827fa-d55e-4efd-ba14-050eb2036d59 2025-08-26 00:08:36,755 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/45be2ab8-967f-46ba-8022-b2955057a7f7 2025-08-26 00:08:39,979 - 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 1023ms') 2025-08-26 00:08:39,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98841381-15956020 failed! 2025-08-26 00:08:40,037 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98841381:ctest-vn-70681100 is 174.52.10.1 and allocation pool is NOT set 2025-08-26 00:08:42,102 - 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=4.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/2.552/4.746/2.193 ms') 2025-08-26 00:08:42,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98841381-15956020 passed 2025-08-26 00:08:42,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:08:42,269 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98841381-15956020, IP 174.52.10.3, Port 22 2025-08-26 00:08:42,428 - DEBUG - VM ctest-TestBasicPolicy-98841381-15956020 is ready for SSH connections 2025-08-26 00:08:42,429 - INFO - Waiting for VM ctest-TestBasicPolicy-98841381-65891080 to be up.. 2025-08-26 00:08:42,519 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:08:42,519 - INFO - VM name : ctest-TestBasicPolicy-98841381-65891080 2025-08-26 00:08:42,590 - DEBUG - VM ctest-TestBasicPolicy-98841381-65891080 ID is d0d7eb29-5b87-4127-8bee-d627e2f35319 2025-08-26 00:08:42,590 - DEBUG - VM ctest-TestBasicPolicy-98841381-65891080 launched on Node cn-jenkins-deploy-platform-ansible-os-3932-1 2025-08-26 00:08:42,748 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/d0d7eb29-5b87-4127-8bee-d627e2f35319 2025-08-26 00:08:42,756 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/cb8172ba-d611-4b56-a50c-8087bd6702ab 2025-08-26 00:08:44,001 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.845/3.289/1.444 ms') 2025-08-26 00:08:44,001 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98841381-65891080 passed 2025-08-26 00:08:44,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:08:44,157 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98841381-65891080, IP 216.76.234.195, Port 22 2025-08-26 00:08:44,312 - DEBUG - VM ctest-TestBasicPolicy-98841381-65891080 is ready for SSH connections 2025-08-26 00:08:44,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:08:44,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.76.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-26 00:08:44,313 - DEBUG - ping -s 56 -c 3 -W 1 216.76.234.195 2025-08-26 00:08:48,304 - DEBUG - PING 216.76.234.195 (216.76.234.195): 56 data bytes 64 bytes from 216.76.234.195: seq=0 ttl=63 time=3.737 ms 64 bytes from 216.76.234.195: seq=1 ttl=63 time=0.870 ms 64 bytes from 216.76.234.195: seq=2 ttl=63 time=1.405 ms --- 216.76.234.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/2.004/3.737 ms 2025-08-26 00:08:48,305 - INFO - Ping to IP 216.76.234.195 from VM ctest-TestBasicPolicy-98841381-15956020 passed 2025-08-26 00:08:48,477 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2294eca3-32f2-4cf9-9888-0ee4f3b928bd", "href": "http://10.0.0.141:8082/network-policy/2294eca3-32f2-4cf9-9888-0ee4f3b928bd"}} 2025-08-26 00:08:48,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:08:48,477 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.76.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-26 00:08:48,477 - DEBUG - ping -s 56 -c 3 -W 1 216.76.234.195 2025-08-26 00:08:51,689 - DEBUG - PING 216.76.234.195 (216.76.234.195): 56 data bytes --- 216.76.234.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 00:08:51,689 - WARNING - Ping to IP 216.76.234.195 from VM ctest-TestBasicPolicy-98841381-15956020 failed 2025-08-26 00:08:51,690 - INFO - Deleting VM ctest-TestBasicPolicy-98841381-65891080 2025-08-26 00:08:51,753 - INFO - Deleting VM ctest-TestBasicPolicy-98841381-15956020 2025-08-26 00:08:52,193 - INFO - Deleted policy ctest-policy-allow-all-87101186 2025-08-26 00:08:52,193 - INFO - Deleting VN ctest-vn-04741216 2025-08-26 00:08:52,228 - DEBUG - VN 9516af6c-6515-425b-a01b-007966574b5e still in use: Unable to complete operation on network 9516af6c-6515-425b-a01b-007966574b5e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1906edc9-5c7e-4deb-ab13-7da67a43d842'] 2025-08-26 00:08:52,228 - WARNING - Deleting VN ctest-vn-04741216 failed..Will retry 2025-08-26 00:08:54,333 - DEBUG - Response for deleting network () 2025-08-26 00:08:54,333 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0643f4be-b5d1-4c9c-a6ac-30f2a4e39af2 2025-08-26 00:08:54,340 - DEBUG - Response Code: 404 2025-08-26 00:08:54,341 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-26 00:08:54,346 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4ef1fae8-73cb-4d23-a633-7ef3c9f6dfd7 2025-08-26 00:08:54,399 - DEBUG - Requesting: http://10.0.0.141:8082/project/7b946d5b-8dd8-4542-9924-68c196a19f48 2025-08-26 00:08:54,477 - INFO - Validated that VN ctest-vn-04741216 is not found in API Server 2025-08-26 00:08:54,487 - DEBUG - VN ctest-vn-04741216 is not present in Agent 10.0.0.141 2025-08-26 00:08:54,487 - INFO - Validated that VN ctest-vn-04741216 is not in any agent 2025-08-26 00:08:54,502 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04741216 info 2025-08-26 00:08:54,502 - INFO - Deleting VN ctest-vn-70681100 2025-08-26 00:08:54,638 - DEBUG - Response for deleting network () 2025-08-26 00:08:54,638 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/73649393-4da0-497b-b547-65b753c8044a 2025-08-26 00:08:54,646 - DEBUG - Response Code: 404 2025-08-26 00:08:54,646 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-26 00:08:54,651 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4ef1fae8-73cb-4d23-a633-7ef3c9f6dfd7 2025-08-26 00:08:54,706 - DEBUG - Requesting: http://10.0.0.141:8082/project/7b946d5b-8dd8-4542-9924-68c196a19f48 2025-08-26 00:08:54,785 - INFO - Validated that VN ctest-vn-70681100 is not found in API Server 2025-08-26 00:08:54,796 - DEBUG - VN ctest-vn-70681100 is not present in Agent 10.0.0.141 2025-08-26 00:08:54,796 - INFO - Validated that VN ctest-vn-70681100 is not in any agent 2025-08-26 00:08:54,811 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70681100 info 2025-08-26 00:08:55,067 - DEBUG - No XMPP flaps were noticed during the test 2025-08-26 00:08:55,067 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-26 00:08:55,067 - INFO - -------------------------------------------------------------------------------- 2025-08-26 00:08:55,757 - INFO - Deleted project: ctest-TestBasicPolicy-98841381, ID : 7b946d5b-8dd8-4542-9924-68c196a19f48