2025-08-28 21:26:49,664 - INFO - Domain Default found not creating 2025-08-28 21:26:49,781 - INFO - Project ctest-TestBasicPolicy-95303327 not found, creating it 2025-08-28 21:26:50,225 - INFO - Created Project:ctest-TestBasicPolicy-95303327, ID : e4c24e78-1b56-4198-9040-a223d99b7aea 2025-08-28 21:26:51,544 - INFO - ================================================================================ 2025-08-28 21:26:51,544 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-28 21:26:51,544 - 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-28 21:26:51,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-08-28 21:26:51,800 - INFO - Initial checks done. Running the testcase now 2025-08-28 21:26:51,800 - INFO - 2025-08-28 21:26:52,316 - DEBUG - Response for create_network : {'network': {'id': '4509a7ec-e991-4174-b3ff-86828b5cd3dc', 'name': 'ctest-vn-57359767', 'tenant_id': 'e4c24e781b5641989040a223d99b7aea', 'project_id': 'e4c24e781b5641989040a223d99b7aea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95303327', 'ctest-vn-57359767'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:26:52,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '334e2ff7-608b-43b3-8bb5-d354bcda0c43', 'name': '', 'tenant_id': 'e4c24e781b5641989040a223d99b7aea', 'network_id': '4509a7ec-e991-4174-b3ff-86828b5cd3dc', 'ip_version': 4, 'cidr': '205.201.223.128/26', 'allocation_pools': [{'start': '205.201.223.130', 'end': '205.201.223.190'}], 'gateway_ip': '205.201.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.201.223.130', 'tags': [], 'project_id': 'e4c24e781b5641989040a223d99b7aea'}} 2025-08-28 21:26:52,496 - INFO - Created VN ctest-vn-57359767 2025-08-28 21:26:52,551 - DEBUG - VN ctest-vn-57359767 UUID is 4509a7ec-e991-4174-b3ff-86828b5cd3dc 2025-08-28 21:26:52,843 - DEBUG - Response for create_network : {'network': {'id': 'afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6', 'name': 'ctest-vn-90455175', 'tenant_id': 'e4c24e781b5641989040a223d99b7aea', 'project_id': 'e4c24e781b5641989040a223d99b7aea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95303327', 'ctest-vn-90455175'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:26:53,040 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb3fb2d5-f619-400a-85ca-f35316fd5e2d', 'name': '', 'tenant_id': 'e4c24e781b5641989040a223d99b7aea', 'network_id': 'afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6', 'ip_version': 4, 'cidr': '169.102.179.192/26', 'allocation_pools': [{'start': '169.102.179.194', 'end': '169.102.179.254'}], 'gateway_ip': '169.102.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.102.179.194', 'tags': [], 'project_id': 'e4c24e781b5641989040a223d99b7aea'}} 2025-08-28 21:26:53,055 - INFO - Created VN ctest-vn-90455175 2025-08-28 21:26:53,107 - DEBUG - VN ctest-vn-90455175 UUID is afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6 2025-08-28 21:26:53,254 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-57359767, 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-95303327:ctest-vn-90455175, 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-28 21:26:53,546 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4509a7ec-e991-4174-b3ff-86828b5cd3dc', 'name': 'ctest-vn-57359767', 'tenant_id': 'e4c24e781b5641989040a223d99b7aea', 'project_id': 'e4c24e781b5641989040a223d99b7aea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['334e2ff7-608b-43b3-8bb5-d354bcda0c43'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95303327', 'ctest-vn-57359767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95303327', 'ctest-policy-allow-all-67969717']], 'subnet_ipam': [{'subnet_cidr': '205.201.223.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:26:53,760 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6', 'name': 'ctest-vn-90455175', 'tenant_id': 'e4c24e781b5641989040a223d99b7aea', 'project_id': 'e4c24e781b5641989040a223d99b7aea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eb3fb2d5-f619-400a-85ca-f35316fd5e2d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95303327', 'ctest-vn-90455175'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95303327', 'ctest-policy-allow-all-67969717']], 'subnet_ipam': [{'subnet_cidr': '169.102.179.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:26:53,907 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-28 21:26:54,198 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-28 21:26:54,228 - DEBUG - Requesting: http://10.0.0.48:8082/domain/042e84a8-87ca-463c-aa69-7b66a83f7a51 2025-08-28 21:26:54,238 - DEBUG - Requesting: http://10.0.0.48:8082/project/e4c24e78-1b56-4198-9040-a223d99b7aea 2025-08-28 21:26:54,306 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4509a7ec-e991-4174-b3ff-86828b5cd3dc 2025-08-28 21:26:54,315 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4509a7ec-e991-4174-b3ff-86828b5cd3dc 2025-08-28 21:26:54,322 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9f7c744e-fde1-4cea-bd63-e9d480f1ffd5 2025-08-28 21:26:54,327 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9f7c744e-fde1-4cea-bd63-e9d480f1ffd5 2025-08-28 21:26:54,332 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/8233f5c9-3d70-4792-8f2c-0d9258e2d67e 2025-08-28 21:26:54,336 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 21:26:54,336 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4509a7ec-e991-4174-b3ff-86828b5cd3dc 2025-08-28 21:26:54,343 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9f7c744e-fde1-4cea-bd63-e9d480f1ffd5 2025-08-28 21:26:54,354 - INFO - Verified VN network id 12 for VN 4509a7ec-e991-4174-b3ff-86828b5cd3dc 2025-08-28 21:26:54,354 - INFO - Verifications in API Server for VN ctest-vn-57359767 passed 2025-08-28 21:26:54,354 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4509a7ec-e991-4174-b3ff-86828b5cd3dc 2025-08-28 21:26:54,361 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9f7c744e-fde1-4cea-bd63-e9d480f1ffd5 2025-08-28 21:26:54,366 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9f7c744e-fde1-4cea-bd63-e9d480f1ffd5 2025-08-28 21:26:54,371 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/8233f5c9-3d70-4792-8f2c-0d9258e2d67e 2025-08-28 21:26:54,380 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-57359767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95303327', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4974691899380154740', 'uuid-lslong': '12970233347092304860'}, 'enable': 'true', 'created': '2025-08-28T21:26:52', 'last-modified': '2025-08-28T21:26:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.859613'} 2025-08-28 21:26:54,385 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 21:26:54,385 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57359767 passed 2025-08-28 21:26:54,386 - DEBUG - ====Verifying policy data for ctest-vn-57359767 in API_Server ====== 2025-08-28 21:26:54,386 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-28 21:26:54,390 - DEBUG - Requesting: http://10.0.0.48:8082/domain/042e84a8-87ca-463c-aa69-7b66a83f7a51 2025-08-28 21:26:54,400 - DEBUG - Requesting: http://10.0.0.48:8082/project/e4c24e78-1b56-4198-9040-a223d99b7aea 2025-08-28 21:26:54,464 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4509a7ec-e991-4174-b3ff-86828b5cd3dc 2025-08-28 21:26:54,472 - DEBUG - ==>Verifying data for policy with id: 70373cf4-aed8-473c-9156-88c69a124976, fqn: ['default-domain', 'ctest-TestBasicPolicy-95303327', 'ctest-policy-allow-all-67969717'] 2025-08-28 21:26:54,472 - INFO - VN ctest-vn-57359767 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 21:26:54,472 - DEBUG - Verifying the vn in opserver 2025-08-28 21:26:54,472 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-57359767 virtual network link through opserver 10.0.0.48 2025-08-28 21:26:54,472 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-28 21:26:54,759 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-28 21:26:54,804 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-57359767', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-57359767?flat'} 2025-08-28 21:26:54,804 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-57359767 is found in opserver 2025-08-28 21:26:54,812 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 21:26:54,816 - DEBUG - VRF ids for VN ctest-vn-57359767: {} 2025-08-28 21:26:54,816 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-28 21:26:54,820 - DEBUG - Requesting: http://10.0.0.48:8082/domain/042e84a8-87ca-463c-aa69-7b66a83f7a51 2025-08-28 21:26:54,828 - DEBUG - Requesting: http://10.0.0.48:8082/project/e4c24e78-1b56-4198-9040-a223d99b7aea 2025-08-28 21:26:54,897 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6 2025-08-28 21:26:54,907 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6 2025-08-28 21:26:54,915 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/81d17b2f-a64a-4001-ae55-8944402542dc 2025-08-28 21:26:54,920 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/81d17b2f-a64a-4001-ae55-8944402542dc 2025-08-28 21:26:54,926 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/db5b8fbd-413a-4726-a52b-8730fe20b4de 2025-08-28 21:26:54,932 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 21:26:54,932 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6 2025-08-28 21:26:54,940 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/81d17b2f-a64a-4001-ae55-8944402542dc 2025-08-28 21:26:54,952 - INFO - Verified VN network id 13 for VN afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6 2025-08-28 21:26:54,952 - INFO - Verifications in API Server for VN ctest-vn-90455175 passed 2025-08-28 21:26:54,952 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6 2025-08-28 21:26:54,960 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/81d17b2f-a64a-4001-ae55-8944402542dc 2025-08-28 21:26:54,966 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/81d17b2f-a64a-4001-ae55-8944402542dc 2025-08-28 21:26:54,973 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/db5b8fbd-413a-4726-a52b-8730fe20b4de 2025-08-28 21:26:54,984 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-90455175', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95303327', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12670381185502105116', 'uuid-lslong': '10861095246611395782'}, 'enable': 'true', 'created': '2025-08-28T21:26:52', 'last-modified': '2025-08-28T21:26:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.243735'} 2025-08-28 21:26:54,989 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 21:26:54,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90455175 passed 2025-08-28 21:26:54,989 - DEBUG - ====Verifying policy data for ctest-vn-90455175 in API_Server ====== 2025-08-28 21:26:54,989 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-28 21:26:54,994 - DEBUG - Requesting: http://10.0.0.48:8082/domain/042e84a8-87ca-463c-aa69-7b66a83f7a51 2025-08-28 21:26:55,004 - DEBUG - Requesting: http://10.0.0.48:8082/project/e4c24e78-1b56-4198-9040-a223d99b7aea 2025-08-28 21:26:55,071 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6 2025-08-28 21:26:55,081 - DEBUG - ==>Verifying data for policy with id: 70373cf4-aed8-473c-9156-88c69a124976, fqn: ['default-domain', 'ctest-TestBasicPolicy-95303327', 'ctest-policy-allow-all-67969717'] 2025-08-28 21:26:55,081 - INFO - VN ctest-vn-90455175 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 21:26:55,081 - DEBUG - Verifying the vn in opserver 2025-08-28 21:26:55,081 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-90455175 virtual network link through opserver 10.0.0.48 2025-08-28 21:26:55,081 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-28 21:26:55,091 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-90455175', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-90455175?flat'} 2025-08-28 21:26:55,091 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-90455175 is found in opserver 2025-08-28 21:26:55,101 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 21:26:55,105 - DEBUG - VRF ids for VN ctest-vn-90455175: {} 2025-08-28 21:26:55,166 - DEBUG - Services list from nova: [, , ] 2025-08-28 21:26:56,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3967-1) 2025-08-28 21:26:57,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3967-1) 2025-08-28 21:26:57,191 - INFO - Waiting for VM ctest-TestBasicPolicy-95303327-00833495 to be up.. 2025-08-28 21:26:57,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 21:27:02,332 - DEBUG - VM is in ACTIVE state now 2025-08-28 21:27:02,332 - INFO - VM name : ctest-TestBasicPolicy-95303327-00833495 2025-08-28 21:27:02,392 - DEBUG - VM ctest-TestBasicPolicy-95303327-00833495 ID is cf878809-97dc-4811-b3c0-b1eba0da0c14 2025-08-28 21:27:02,409 - DEBUG - VM ctest-TestBasicPolicy-95303327-00833495 launched on Node cn-jenkins-deploy-platform-ansible-os-3967-1 2025-08-28 21:27:02,474 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cf878809-97dc-4811-b3c0-b1eba0da0c14 2025-08-28 21:27:02,481 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e77cc2e6-2b31-4e07-a58e-05439a09179a 2025-08-28 21:27:05,707 - 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 1004ms') 2025-08-28 21:27:05,707 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95303327-00833495 failed! 2025-08-28 21:27:05,763 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95303327:ctest-vn-57359767 is 205.201.223.129 and allocation pool is NOT set 2025-08-28 21:27:07,823 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.387/1.503/2.620/1.116 ms') 2025-08-28 21:27:07,824 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95303327-00833495 passed 2025-08-28 21:27:07,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:27:07,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95303327-00833495, IP 205.201.223.131, Port 22 2025-08-28 21:27:08,130 - DEBUG - VM ctest-TestBasicPolicy-95303327-00833495 is ready for SSH connections 2025-08-28 21:27:08,130 - INFO - Waiting for VM ctest-TestBasicPolicy-95303327-86754456 to be up.. 2025-08-28 21:27:08,193 - DEBUG - VM is in ACTIVE state now 2025-08-28 21:27:08,193 - INFO - VM name : ctest-TestBasicPolicy-95303327-86754456 2025-08-28 21:27:08,265 - DEBUG - VM ctest-TestBasicPolicy-95303327-86754456 ID is c74c811d-64ad-4f62-825f-a00bafa51518 2025-08-28 21:27:08,265 - DEBUG - VM ctest-TestBasicPolicy-95303327-86754456 launched on Node cn-jenkins-deploy-platform-ansible-os-3967-1 2025-08-28 21:27:08,340 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c74c811d-64ad-4f62-825f-a00bafa51518 2025-08-28 21:27:08,351 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/f6ea28af-1a80-426b-a3d6-8a63d731a2ec 2025-08-28 21:27:09,577 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.744/3.068/1.323 ms') 2025-08-28 21:27:09,577 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95303327-86754456 passed 2025-08-28 21:27:09,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:27:09,731 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95303327-86754456, IP 169.102.179.195, Port 22 2025-08-28 21:27:09,882 - DEBUG - VM ctest-TestBasicPolicy-95303327-86754456 is ready for SSH connections 2025-08-28 21:27:09,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:27:09,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.102.179.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-28 21:27:09,882 - DEBUG - ping -s 56 -c 3 -W 1 169.102.179.195 2025-08-28 21:27:13,834 - DEBUG - PING 169.102.179.195 (169.102.179.195): 56 data bytes 64 bytes from 169.102.179.195: seq=0 ttl=63 time=3.377 ms 64 bytes from 169.102.179.195: seq=1 ttl=63 time=0.761 ms 64 bytes from 169.102.179.195: seq=2 ttl=63 time=0.971 ms --- 169.102.179.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/1.703/3.377 ms 2025-08-28 21:27:13,834 - INFO - Ping to IP 169.102.179.195 from VM ctest-TestBasicPolicy-95303327-00833495 passed 2025-08-28 21:27:14,011 - DEBUG - Policy Update Response {"network-policy": {"uuid": "70373cf4-aed8-473c-9156-88c69a124976", "href": "http://10.0.0.48:8082/network-policy/70373cf4-aed8-473c-9156-88c69a124976"}} 2025-08-28 21:27:14,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:27:14,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.102.179.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-28 21:27:14,011 - DEBUG - ping -s 56 -c 3 -W 1 169.102.179.195 2025-08-28 21:27:17,211 - DEBUG - PING 169.102.179.195 (169.102.179.195): 56 data bytes 64 bytes from 169.102.179.195: seq=0 ttl=63 time=1.223 ms --- 169.102.179.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.223/1.223/1.223 ms 2025-08-28 21:27:17,211 - WARNING - Ping to IP 169.102.179.195 from VM ctest-TestBasicPolicy-95303327-00833495 failed 2025-08-28 21:27:17,211 - INFO - Deleting VM ctest-TestBasicPolicy-95303327-86754456 2025-08-28 21:27:17,275 - INFO - Deleting VM ctest-TestBasicPolicy-95303327-00833495 2025-08-28 21:27:17,610 - INFO - Deleted policy ctest-policy-allow-all-67969717 2025-08-28 21:27:17,610 - INFO - Deleting VN ctest-vn-90455175 2025-08-28 21:27:17,645 - DEBUG - VN afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6 still in use: Unable to complete operation on network afd63c8e-c2a5-4e1c-96ba-5c950df4b4c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2450318e-cdc5-40ec-b273-fd939c0c12b6'] 2025-08-28 21:27:17,645 - WARNING - Deleting VN ctest-vn-90455175 failed..Will retry 2025-08-28 21:27:19,739 - DEBUG - Response for deleting network () 2025-08-28 21:27:19,739 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/81d17b2f-a64a-4001-ae55-8944402542dc 2025-08-28 21:27:19,743 - DEBUG - Response Code: 404 2025-08-28 21:27:19,743 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-28 21:27:19,747 - DEBUG - Requesting: http://10.0.0.48:8082/domain/042e84a8-87ca-463c-aa69-7b66a83f7a51 2025-08-28 21:27:19,799 - DEBUG - Requesting: http://10.0.0.48:8082/project/e4c24e78-1b56-4198-9040-a223d99b7aea 2025-08-28 21:27:19,869 - INFO - Validated that VN ctest-vn-90455175 is not found in API Server 2025-08-28 21:27:19,877 - DEBUG - VN ctest-vn-90455175 is not present in Agent 10.0.0.48 2025-08-28 21:27:19,877 - INFO - Validated that VN ctest-vn-90455175 is not in any agent 2025-08-28 21:27:19,888 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90455175 info 2025-08-28 21:27:19,888 - INFO - Deleting VN ctest-vn-57359767 2025-08-28 21:27:19,970 - DEBUG - Response for deleting network () 2025-08-28 21:27:19,971 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9f7c744e-fde1-4cea-bd63-e9d480f1ffd5 2025-08-28 21:27:19,980 - DEBUG - Response Code: 404 2025-08-28 21:27:19,980 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-28 21:27:19,984 - DEBUG - Requesting: http://10.0.0.48:8082/domain/042e84a8-87ca-463c-aa69-7b66a83f7a51 2025-08-28 21:27:20,035 - DEBUG - Requesting: http://10.0.0.48:8082/project/e4c24e78-1b56-4198-9040-a223d99b7aea 2025-08-28 21:27:20,108 - INFO - Validated that VN ctest-vn-57359767 is not found in API Server 2025-08-28 21:27:20,117 - DEBUG - VN ctest-vn-57359767 is not present in Agent 10.0.0.48 2025-08-28 21:27:20,117 - INFO - Validated that VN ctest-vn-57359767 is not in any agent 2025-08-28 21:27:20,128 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57359767 info 2025-08-28 21:27:20,383 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 21:27:20,383 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-28 21:27:20,383 - INFO - -------------------------------------------------------------------------------- 2025-08-28 21:27:21,049 - INFO - Deleted project: ctest-TestBasicPolicy-95303327, ID : e4c24e78-1b56-4198-9040-a223d99b7aea