2025-08-04 02:23:53,818 - INFO - Domain Default found not creating 2025-08-04 02:23:53,989 - INFO - Project ctest-TestBasicPolicy-67191733 not found, creating it 2025-08-04 02:23:54,481 - INFO - Created Project:ctest-TestBasicPolicy-67191733, ID : 4b770f6c-70d8-41a6-abe7-14f2a7c3377f 2025-08-04 02:23:55,972 - INFO - ================================================================================ 2025-08-04 02:23:55,972 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-04 02:23:55,972 - 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-04 02:23:56,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-04 02:23:56,235 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:23:56,235 - INFO - 2025-08-04 02:23:56,869 - DEBUG - Response for create_network : {'network': {'id': '67052f4c-13c2-4d50-bb72-d5e40b163a6d', 'name': 'ctest-vn-45707467', 'tenant_id': '4b770f6c70d841a6abe714f2a7c3377f', 'project_id': '4b770f6c70d841a6abe714f2a7c3377f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67191733', 'ctest-vn-45707467'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:57,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '370f9843-2bb0-4605-90a1-df236d15c9a3', 'name': '', 'tenant_id': '4b770f6c70d841a6abe714f2a7c3377f', 'network_id': '67052f4c-13c2-4d50-bb72-d5e40b163a6d', 'ip_version': 4, 'cidr': '177.208.9.192/26', 'allocation_pools': [{'start': '177.208.9.194', 'end': '177.208.9.254'}], 'gateway_ip': '177.208.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.208.9.194', 'tags': [], 'project_id': '4b770f6c70d841a6abe714f2a7c3377f'}} 2025-08-04 02:23:57,120 - INFO - Created VN ctest-vn-45707467 2025-08-04 02:23:57,179 - DEBUG - VN ctest-vn-45707467 UUID is 67052f4c-13c2-4d50-bb72-d5e40b163a6d 2025-08-04 02:23:57,492 - DEBUG - Response for create_network : {'network': {'id': '58c6c132-5eda-43a8-8854-7c32efa949bf', 'name': 'ctest-vn-99914339', 'tenant_id': '4b770f6c70d841a6abe714f2a7c3377f', 'project_id': '4b770f6c70d841a6abe714f2a7c3377f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67191733', 'ctest-vn-99914339'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:57,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '59d23bf7-c3e0-499b-badc-71fafb3e3fed', 'name': '', 'tenant_id': '4b770f6c70d841a6abe714f2a7c3377f', 'network_id': '58c6c132-5eda-43a8-8854-7c32efa949bf', 'ip_version': 4, 'cidr': '84.67.78.64/26', 'allocation_pools': [{'start': '84.67.78.66', 'end': '84.67.78.126'}], 'gateway_ip': '84.67.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.67.78.66', 'tags': [], 'project_id': '4b770f6c70d841a6abe714f2a7c3377f'}} 2025-08-04 02:23:57,702 - INFO - Created VN ctest-vn-99914339 2025-08-04 02:23:57,755 - DEBUG - VN ctest-vn-99914339 UUID is 58c6c132-5eda-43a8-8854-7c32efa949bf 2025-08-04 02:23:57,869 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-45707467, 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-67191733:ctest-vn-99914339, 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-04 02:23:58,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67052f4c-13c2-4d50-bb72-d5e40b163a6d', 'name': 'ctest-vn-45707467', 'tenant_id': '4b770f6c70d841a6abe714f2a7c3377f', 'project_id': '4b770f6c70d841a6abe714f2a7c3377f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['370f9843-2bb0-4605-90a1-df236d15c9a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67191733', 'ctest-vn-45707467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67191733', 'ctest-policy-allow-all-81139180']], 'subnet_ipam': [{'subnet_cidr': '177.208.9.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:58,446 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58c6c132-5eda-43a8-8854-7c32efa949bf', 'name': 'ctest-vn-99914339', 'tenant_id': '4b770f6c70d841a6abe714f2a7c3377f', 'project_id': '4b770f6c70d841a6abe714f2a7c3377f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59d23bf7-c3e0-499b-badc-71fafb3e3fed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67191733', 'ctest-vn-99914339'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67191733', 'ctest-policy-allow-all-81139180']], 'subnet_ipam': [{'subnet_cidr': '84.67.78.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:58,619 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-04 02:23:58,920 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-04 02:23:58,951 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de97289b-119c-4aac-af38-8342922e6b9e 2025-08-04 02:23:58,965 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b770f6c-70d8-41a6-abe7-14f2a7c3377f 2025-08-04 02:23:59,046 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67052f4c-13c2-4d50-bb72-d5e40b163a6d 2025-08-04 02:23:59,059 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67052f4c-13c2-4d50-bb72-d5e40b163a6d 2025-08-04 02:23:59,071 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/abc0b9d4-7283-4d9c-802c-4701ed7e6894 2025-08-04 02:23:59,080 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/abc0b9d4-7283-4d9c-802c-4701ed7e6894 2025-08-04 02:23:59,088 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/2f8267bc-c03d-4d65-a9f8-faea69dfbfd7 2025-08-04 02:23:59,097 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 02:23:59,097 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67052f4c-13c2-4d50-bb72-d5e40b163a6d 2025-08-04 02:23:59,107 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/abc0b9d4-7283-4d9c-802c-4701ed7e6894 2025-08-04 02:23:59,125 - INFO - Verified VN network id 11 for VN 67052f4c-13c2-4d50-bb72-d5e40b163a6d 2025-08-04 02:23:59,125 - INFO - Verifications in API Server for VN ctest-vn-45707467 passed 2025-08-04 02:23:59,125 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67052f4c-13c2-4d50-bb72-d5e40b163a6d 2025-08-04 02:23:59,138 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/abc0b9d4-7283-4d9c-802c-4701ed7e6894 2025-08-04 02:23:59,149 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/abc0b9d4-7283-4d9c-802c-4701ed7e6894 2025-08-04 02:23:59,159 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/2f8267bc-c03d-4d65-a9f8-faea69dfbfd7 2025-08-04 02:23:59,173 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-45707467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67191733', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7423391564585651536', 'uuid-lslong': '13507093407852804717'}, 'enable': 'true', 'created': '2025-08-04T02:23:56', 'last-modified': '2025-08-04T02:23:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016918'} 2025-08-04 02:23:59,180 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 02:23:59,180 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45707467 passed 2025-08-04 02:23:59,180 - DEBUG - ====Verifying policy data for ctest-vn-45707467 in API_Server ====== 2025-08-04 02:23:59,180 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-04 02:23:59,186 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de97289b-119c-4aac-af38-8342922e6b9e 2025-08-04 02:23:59,198 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b770f6c-70d8-41a6-abe7-14f2a7c3377f 2025-08-04 02:23:59,275 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67052f4c-13c2-4d50-bb72-d5e40b163a6d 2025-08-04 02:23:59,285 - DEBUG - ==>Verifying data for policy with id: b6ebee36-b94f-4c99-9b92-c4656fd7a6d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-67191733', 'ctest-policy-allow-all-81139180'] 2025-08-04 02:23:59,285 - INFO - VN ctest-vn-45707467 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-04 02:23:59,285 - DEBUG - Verifying the vn in opserver 2025-08-04 02:23:59,285 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-45707467 virtual network link through opserver 10.0.0.249 2025-08-04 02:23:59,285 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-04 02:23:59,598 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-04 02:23:59,658 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-45707467', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-45707467?flat'} 2025-08-04 02:23:59,658 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-45707467 is found in opserver 2025-08-04 02:23:59,673 - DEBUG - Do not have enough data to verify VN in agent 2025-08-04 02:23:59,678 - DEBUG - VRF ids for VN ctest-vn-45707467: {} 2025-08-04 02:23:59,679 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-04 02:23:59,686 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de97289b-119c-4aac-af38-8342922e6b9e 2025-08-04 02:23:59,701 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b770f6c-70d8-41a6-abe7-14f2a7c3377f 2025-08-04 02:23:59,778 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58c6c132-5eda-43a8-8854-7c32efa949bf 2025-08-04 02:23:59,793 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58c6c132-5eda-43a8-8854-7c32efa949bf 2025-08-04 02:23:59,803 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7c6a6829-0b05-48b1-be32-390ceeb41f38 2025-08-04 02:23:59,811 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7c6a6829-0b05-48b1-be32-390ceeb41f38 2025-08-04 02:23:59,820 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c9bb3350-a0f7-47d9-addc-b7377abb7343 2025-08-04 02:23:59,828 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-04 02:23:59,828 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58c6c132-5eda-43a8-8854-7c32efa949bf 2025-08-04 02:23:59,839 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7c6a6829-0b05-48b1-be32-390ceeb41f38 2025-08-04 02:23:59,856 - INFO - Verified VN network id 12 for VN 58c6c132-5eda-43a8-8854-7c32efa949bf 2025-08-04 02:23:59,856 - INFO - Verifications in API Server for VN ctest-vn-99914339 passed 2025-08-04 02:23:59,856 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58c6c132-5eda-43a8-8854-7c32efa949bf 2025-08-04 02:23:59,870 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7c6a6829-0b05-48b1-be32-390ceeb41f38 2025-08-04 02:23:59,879 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7c6a6829-0b05-48b1-be32-390ceeb41f38 2025-08-04 02:23:59,887 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c9bb3350-a0f7-47d9-addc-b7377abb7343 2025-08-04 02:23:59,901 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-99914339', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67191733', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6397012742810256296', 'uuid-lslong': '9823613245412952511'}, 'enable': 'true', 'created': '2025-08-04T02:23:57', 'last-modified': '2025-08-04T02:23:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.481306'} 2025-08-04 02:23:59,909 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-04 02:23:59,909 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99914339 passed 2025-08-04 02:23:59,910 - DEBUG - ====Verifying policy data for ctest-vn-99914339 in API_Server ====== 2025-08-04 02:23:59,910 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-04 02:23:59,917 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de97289b-119c-4aac-af38-8342922e6b9e 2025-08-04 02:23:59,933 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b770f6c-70d8-41a6-abe7-14f2a7c3377f 2025-08-04 02:24:00,009 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58c6c132-5eda-43a8-8854-7c32efa949bf 2025-08-04 02:24:00,021 - DEBUG - ==>Verifying data for policy with id: b6ebee36-b94f-4c99-9b92-c4656fd7a6d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-67191733', 'ctest-policy-allow-all-81139180'] 2025-08-04 02:24:00,021 - INFO - VN ctest-vn-99914339 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-04 02:24:00,021 - DEBUG - Verifying the vn in opserver 2025-08-04 02:24:00,021 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-99914339 virtual network link through opserver 10.0.0.249 2025-08-04 02:24:00,021 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-04 02:24:00,035 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-99914339', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-99914339?flat'} 2025-08-04 02:24:00,035 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-99914339 is found in opserver 2025-08-04 02:24:00,047 - DEBUG - Do not have enough data to verify VN in agent 2025-08-04 02:24:00,053 - DEBUG - VRF ids for VN ctest-vn-99914339: {} 2025-08-04 02:24:00,113 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:24:01,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3749-1) 2025-08-04 02:24:02,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3749-1) 2025-08-04 02:24:02,499 - INFO - Waiting for VM ctest-TestBasicPolicy-67191733-95863073 to be up.. 2025-08-04 02:24:02,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:24:07,684 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:24:07,684 - INFO - VM name : ctest-TestBasicPolicy-67191733-95863073 2025-08-04 02:24:07,774 - DEBUG - VM ctest-TestBasicPolicy-67191733-95863073 ID is 44cfdf49-e81f-4ebd-ae37-cb5923937387 2025-08-04 02:24:07,798 - DEBUG - VM ctest-TestBasicPolicy-67191733-95863073 launched on Node cn-jenkins-deploy-platform-ansible-os-3749-1 2025-08-04 02:24:07,882 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/44cfdf49-e81f-4ebd-ae37-cb5923937387 2025-08-04 02:24:07,894 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/22f4cec7-f535-46f3-8d26-110349550cea 2025-08-04 02:24:11,147 - 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 1005ms') 2025-08-04 02:24:11,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67191733-95863073 failed! 2025-08-04 02:24:11,203 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67191733:ctest-vn-45707467 is 177.208.9.193 and allocation pool is NOT set 2025-08-04 02:24:13,260 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.968 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.968/5.750/10.533/4.782 ms') 2025-08-04 02:24:13,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67191733-95863073 passed 2025-08-04 02:24:13,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:13,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67191733-95863073, IP 177.208.9.195, Port 22 2025-08-04 02:24:13,592 - DEBUG - VM ctest-TestBasicPolicy-67191733-95863073 is ready for SSH connections 2025-08-04 02:24:13,592 - INFO - Waiting for VM ctest-TestBasicPolicy-67191733-98472370 to be up.. 2025-08-04 02:24:13,678 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:24:13,678 - INFO - VM name : ctest-TestBasicPolicy-67191733-98472370 2025-08-04 02:24:13,763 - DEBUG - VM ctest-TestBasicPolicy-67191733-98472370 ID is d9253786-b8f1-4610-b05d-4205e0cd38d0 2025-08-04 02:24:13,763 - DEBUG - VM ctest-TestBasicPolicy-67191733-98472370 launched on Node cn-jenkins-deploy-platform-ansible-os-3749-1 2025-08-04 02:24:13,871 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d9253786-b8f1-4610-b05d-4205e0cd38d0 2025-08-04 02:24:13,884 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0af8f31a-bcef-4269-92f0-18c51cc78578 2025-08-04 02:24:15,140 - 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=4.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.73 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 = 2.729/3.492/4.255/0.763 ms') 2025-08-04 02:24:15,141 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67191733-98472370 passed 2025-08-04 02:24:15,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:15,295 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67191733-98472370, IP 84.67.78.67, Port 22 2025-08-04 02:24:15,461 - DEBUG - VM ctest-TestBasicPolicy-67191733-98472370 is ready for SSH connections 2025-08-04 02:24:15,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:15,461 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.67.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-04 02:24:15,462 - DEBUG - ping -s 56 -c 3 -W 1 84.67.78.67 2025-08-04 02:24:19,571 - DEBUG - PING 84.67.78.67 (84.67.78.67): 56 data bytes 64 bytes from 84.67.78.67: seq=0 ttl=63 time=4.456 ms 64 bytes from 84.67.78.67: seq=1 ttl=63 time=0.819 ms 64 bytes from 84.67.78.67: seq=2 ttl=63 time=1.056 ms --- 84.67.78.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/2.110/4.456 ms 2025-08-04 02:24:19,571 - INFO - Ping to IP 84.67.78.67 from VM ctest-TestBasicPolicy-67191733-95863073 passed 2025-08-04 02:24:19,763 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b6ebee36-b94f-4c99-9b92-c4656fd7a6d4", "href": "http://10.0.0.249:8082/network-policy/b6ebee36-b94f-4c99-9b92-c4656fd7a6d4"}} 2025-08-04 02:24:19,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:19,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.67.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-04 02:24:19,763 - DEBUG - ping -s 56 -c 3 -W 1 84.67.78.67 2025-08-04 02:24:22,977 - DEBUG - PING 84.67.78.67 (84.67.78.67): 56 data bytes --- 84.67.78.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-04 02:24:22,977 - WARNING - Ping to IP 84.67.78.67 from VM ctest-TestBasicPolicy-67191733-95863073 failed 2025-08-04 02:24:22,977 - INFO - Deleting VM ctest-TestBasicPolicy-67191733-98472370 2025-08-04 02:24:23,050 - INFO - Deleting VM ctest-TestBasicPolicy-67191733-95863073 2025-08-04 02:24:23,476 - INFO - Deleted policy ctest-policy-allow-all-81139180 2025-08-04 02:24:23,476 - INFO - Deleting VN ctest-vn-99914339 2025-08-04 02:24:23,520 - DEBUG - VN 58c6c132-5eda-43a8-8854-7c32efa949bf still in use: Unable to complete operation on network 58c6c132-5eda-43a8-8854-7c32efa949bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9862429f-d05f-4d5f-8cee-dfdc0ef2cf26'] 2025-08-04 02:24:23,520 - WARNING - Deleting VN ctest-vn-99914339 failed..Will retry 2025-08-04 02:24:25,637 - DEBUG - Response for deleting network () 2025-08-04 02:24:25,638 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7c6a6829-0b05-48b1-be32-390ceeb41f38 2025-08-04 02:24:25,644 - DEBUG - Response Code: 404 2025-08-04 02:24:25,644 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-04 02:24:25,651 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de97289b-119c-4aac-af38-8342922e6b9e 2025-08-04 02:24:25,708 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b770f6c-70d8-41a6-abe7-14f2a7c3377f 2025-08-04 02:24:25,785 - INFO - Validated that VN ctest-vn-99914339 is not found in API Server 2025-08-04 02:24:25,797 - DEBUG - VN ctest-vn-99914339 is not present in Agent 10.0.0.249 2025-08-04 02:24:25,797 - INFO - Validated that VN ctest-vn-99914339 is not in any agent 2025-08-04 02:24:25,814 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99914339 info 2025-08-04 02:24:25,814 - INFO - Deleting VN ctest-vn-45707467 2025-08-04 02:24:25,924 - DEBUG - Response for deleting network () 2025-08-04 02:24:25,924 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/abc0b9d4-7283-4d9c-802c-4701ed7e6894 2025-08-04 02:24:25,931 - DEBUG - Response Code: 404 2025-08-04 02:24:25,931 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-04 02:24:25,937 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de97289b-119c-4aac-af38-8342922e6b9e 2025-08-04 02:24:25,993 - DEBUG - Requesting: http://10.0.0.249:8082/project/4b770f6c-70d8-41a6-abe7-14f2a7c3377f 2025-08-04 02:24:26,067 - INFO - Validated that VN ctest-vn-45707467 is not found in API Server 2025-08-04 02:24:26,080 - DEBUG - VN ctest-vn-45707467 is not present in Agent 10.0.0.249 2025-08-04 02:24:26,080 - INFO - Validated that VN ctest-vn-45707467 is not in any agent 2025-08-04 02:24:26,098 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45707467 info 2025-08-04 02:24:26,357 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 02:24:26,357 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-08-04 02:24:26,357 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:24:27,062 - INFO - Deleted project: ctest-TestBasicPolicy-67191733, ID : 4b770f6c-70d8-41a6-abe7-14f2a7c3377f