2025-08-14 14:14:09,800 - INFO - Domain Default found not creating 2025-08-14 14:14:09,962 - INFO - Project ctest-TestBasicPolicy-45353790 not found, creating it 2025-08-14 14:14:10,437 - INFO - Created Project:ctest-TestBasicPolicy-45353790, ID : 9991e5df-d195-49f0-9e82-7aeac0531c8d 2025-08-14 14:14:12,039 - INFO - ================================================================================ 2025-08-14 14:14:12,039 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-14 14:14:12,039 - 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-14 14:14:12,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-14 14:14:12,302 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:14:12,302 - INFO - 2025-08-14 14:14:12,898 - DEBUG - Response for create_network : {'network': {'id': 'cc87d13a-7c83-4b98-a1f7-c738d8f083fb', 'name': 'ctest-vn-96284123', 'tenant_id': '9991e5dfd19549f09e827aeac0531c8d', 'project_id': '9991e5dfd19549f09e827aeac0531c8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45353790', 'ctest-vn-96284123'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:14:13,055 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a50c09ad-088d-4b0d-8269-928d6ddbfa87', 'name': '', 'tenant_id': '9991e5dfd19549f09e827aeac0531c8d', 'network_id': 'cc87d13a-7c83-4b98-a1f7-c738d8f083fb', 'ip_version': 4, 'cidr': '106.60.223.64/26', 'allocation_pools': [{'start': '106.60.223.66', 'end': '106.60.223.126'}], 'gateway_ip': '106.60.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.60.223.66', 'tags': [], 'project_id': '9991e5dfd19549f09e827aeac0531c8d'}} 2025-08-14 14:14:13,074 - INFO - Created VN ctest-vn-96284123 2025-08-14 14:14:13,130 - DEBUG - VN ctest-vn-96284123 UUID is cc87d13a-7c83-4b98-a1f7-c738d8f083fb 2025-08-14 14:14:13,454 - DEBUG - Response for create_network : {'network': {'id': 'b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a', 'name': 'ctest-vn-54690861', 'tenant_id': '9991e5dfd19549f09e827aeac0531c8d', 'project_id': '9991e5dfd19549f09e827aeac0531c8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45353790', 'ctest-vn-54690861'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:14:13,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '00a1d9a0-4313-4b10-82e4-d49c4e0e70a4', 'name': '', 'tenant_id': '9991e5dfd19549f09e827aeac0531c8d', 'network_id': 'b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a', 'ip_version': 4, 'cidr': '155.183.201.0/26', 'allocation_pools': [{'start': '155.183.201.2', 'end': '155.183.201.62'}], 'gateway_ip': '155.183.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.183.201.2', 'tags': [], 'project_id': '9991e5dfd19549f09e827aeac0531c8d'}} 2025-08-14 14:14:13,667 - INFO - Created VN ctest-vn-54690861 2025-08-14 14:14:13,722 - DEBUG - VN ctest-vn-54690861 UUID is b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a 2025-08-14 14:14:13,844 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-96284123, 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-45353790:ctest-vn-54690861, 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-14 14:14:14,145 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc87d13a-7c83-4b98-a1f7-c738d8f083fb', 'name': 'ctest-vn-96284123', 'tenant_id': '9991e5dfd19549f09e827aeac0531c8d', 'project_id': '9991e5dfd19549f09e827aeac0531c8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a50c09ad-088d-4b0d-8269-928d6ddbfa87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45353790', 'ctest-vn-96284123'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45353790', 'ctest-policy-allow-all-54831830']], 'subnet_ipam': [{'subnet_cidr': '106.60.223.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:14:14,431 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a', 'name': 'ctest-vn-54690861', 'tenant_id': '9991e5dfd19549f09e827aeac0531c8d', 'project_id': '9991e5dfd19549f09e827aeac0531c8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['00a1d9a0-4313-4b10-82e4-d49c4e0e70a4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45353790', 'ctest-vn-54690861'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45353790', 'ctest-policy-allow-all-54831830']], 'subnet_ipam': [{'subnet_cidr': '155.183.201.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:14:14,583 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 14:14:14,949 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 14:14:15,000 - DEBUG - Requesting: http://10.0.0.38:8082/domain/de129236-0c26-46f5-915e-4c5c63d37cfa 2025-08-14 14:14:15,052 - DEBUG - Requesting: http://10.0.0.38:8082/project/9991e5df-d195-49f0-9e82-7aeac0531c8d 2025-08-14 14:14:15,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc87d13a-7c83-4b98-a1f7-c738d8f083fb 2025-08-14 14:14:15,225 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc87d13a-7c83-4b98-a1f7-c738d8f083fb 2025-08-14 14:14:15,242 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84241a0a-5f92-4c2f-a96b-46c83acb4446 2025-08-14 14:14:15,264 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84241a0a-5f92-4c2f-a96b-46c83acb4446 2025-08-14 14:14:15,276 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7d8e4681-3506-43eb-849e-c316cad58dbb 2025-08-14 14:14:15,296 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 14:14:15,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc87d13a-7c83-4b98-a1f7-c738d8f083fb 2025-08-14 14:14:15,310 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84241a0a-5f92-4c2f-a96b-46c83acb4446 2025-08-14 14:14:15,344 - INFO - Verified VN network id 12 for VN cc87d13a-7c83-4b98-a1f7-c738d8f083fb 2025-08-14 14:14:15,344 - INFO - Verifications in API Server for VN ctest-vn-96284123 passed 2025-08-14 14:14:15,345 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc87d13a-7c83-4b98-a1f7-c738d8f083fb 2025-08-14 14:14:15,359 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84241a0a-5f92-4c2f-a96b-46c83acb4446 2025-08-14 14:14:15,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84241a0a-5f92-4c2f-a96b-46c83acb4446 2025-08-14 14:14:15,388 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7d8e4681-3506-43eb-849e-c316cad58dbb 2025-08-14 14:14:15,404 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-96284123', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45353790', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14737978354720525208', 'uuid-lslong': '11671016006325666811'}, 'enable': 'true', 'created': '2025-08-14T14:14:12', 'last-modified': '2025-08-14T14:14:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281856'} 2025-08-14 14:14:15,411 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 14:14:15,412 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96284123 passed 2025-08-14 14:14:15,412 - DEBUG - ====Verifying policy data for ctest-vn-96284123 in API_Server ====== 2025-08-14 14:14:15,412 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 14:14:15,418 - DEBUG - Requesting: http://10.0.0.38:8082/domain/de129236-0c26-46f5-915e-4c5c63d37cfa 2025-08-14 14:14:15,435 - DEBUG - Requesting: http://10.0.0.38:8082/project/9991e5df-d195-49f0-9e82-7aeac0531c8d 2025-08-14 14:14:15,514 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc87d13a-7c83-4b98-a1f7-c738d8f083fb 2025-08-14 14:14:15,525 - DEBUG - ==>Verifying data for policy with id: 92e60ef2-9872-42b5-8a7d-ff10e58d4b15, fqn: ['default-domain', 'ctest-TestBasicPolicy-45353790', 'ctest-policy-allow-all-54831830'] 2025-08-14 14:14:15,525 - INFO - VN ctest-vn-96284123 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 14:14:15,525 - DEBUG - Verifying the vn in opserver 2025-08-14 14:14:15,525 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-96284123 virtual network link through opserver 10.0.0.38 2025-08-14 14:14:15,525 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-14 14:14:15,835 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-14 14:14:15,909 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-96284123', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-96284123?flat'} 2025-08-14 14:14:15,909 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-96284123 is found in opserver 2025-08-14 14:14:15,923 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 14:14:15,930 - DEBUG - VRF ids for VN ctest-vn-96284123: {} 2025-08-14 14:14:15,931 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 14:14:15,938 - DEBUG - Requesting: http://10.0.0.38:8082/domain/de129236-0c26-46f5-915e-4c5c63d37cfa 2025-08-14 14:14:15,952 - DEBUG - Requesting: http://10.0.0.38:8082/project/9991e5df-d195-49f0-9e82-7aeac0531c8d 2025-08-14 14:14:16,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a 2025-08-14 14:14:16,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a 2025-08-14 14:14:16,060 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/081c4a70-fb5a-476f-9d97-7664ef78ed70 2025-08-14 14:14:16,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/081c4a70-fb5a-476f-9d97-7664ef78ed70 2025-08-14 14:14:16,083 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3f524b2f-90d5-4dd7-b7d7-a012d58acca3 2025-08-14 14:14:16,095 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 14:14:16,095 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a 2025-08-14 14:14:16,109 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/081c4a70-fb5a-476f-9d97-7664ef78ed70 2025-08-14 14:14:16,132 - INFO - Verified VN network id 13 for VN b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a 2025-08-14 14:14:16,132 - INFO - Verifications in API Server for VN ctest-vn-54690861 passed 2025-08-14 14:14:16,132 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a 2025-08-14 14:14:16,145 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/081c4a70-fb5a-476f-9d97-7664ef78ed70 2025-08-14 14:14:16,156 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/081c4a70-fb5a-476f-9d97-7664ef78ed70 2025-08-14 14:14:16,166 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3f524b2f-90d5-4dd7-b7d7-a012d58acca3 2025-08-14 14:14:16,185 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-54690861', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45353790', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12910147831158555590', 'uuid-lslong': '11852978966264429898'}, 'enable': 'true', 'created': '2025-08-14T14:14:13', 'last-modified': '2025-08-14T14:14:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.820612'} 2025-08-14 14:14:16,192 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 14:14:16,192 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54690861 passed 2025-08-14 14:14:16,193 - DEBUG - ====Verifying policy data for ctest-vn-54690861 in API_Server ====== 2025-08-14 14:14:16,193 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 14:14:16,199 - DEBUG - Requesting: http://10.0.0.38:8082/domain/de129236-0c26-46f5-915e-4c5c63d37cfa 2025-08-14 14:14:16,214 - DEBUG - Requesting: http://10.0.0.38:8082/project/9991e5df-d195-49f0-9e82-7aeac0531c8d 2025-08-14 14:14:16,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a 2025-08-14 14:14:16,300 - DEBUG - ==>Verifying data for policy with id: 92e60ef2-9872-42b5-8a7d-ff10e58d4b15, fqn: ['default-domain', 'ctest-TestBasicPolicy-45353790', 'ctest-policy-allow-all-54831830'] 2025-08-14 14:14:16,300 - INFO - VN ctest-vn-54690861 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 14:14:16,300 - DEBUG - Verifying the vn in opserver 2025-08-14 14:14:16,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-54690861 virtual network link through opserver 10.0.0.38 2025-08-14 14:14:16,300 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-14 14:14:16,312 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-54690861', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-54690861?flat'} 2025-08-14 14:14:16,312 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-54690861 is found in opserver 2025-08-14 14:14:16,326 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 14:14:16,334 - DEBUG - VRF ids for VN ctest-vn-54690861: {} 2025-08-14 14:14:16,409 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:14:17,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3855-1) 2025-08-14 14:14:18,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3855-1) 2025-08-14 14:14:18,630 - INFO - Waiting for VM ctest-TestBasicPolicy-45353790-82224495 to be up.. 2025-08-14 14:14:18,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:14:23,804 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:14:23,804 - INFO - VM name : ctest-TestBasicPolicy-45353790-82224495 2025-08-14 14:14:23,888 - DEBUG - VM ctest-TestBasicPolicy-45353790-82224495 ID is 67f1fec9-2c50-417f-9fed-1f63ab8c0990 2025-08-14 14:14:23,912 - DEBUG - VM ctest-TestBasicPolicy-45353790-82224495 launched on Node cn-jenkins-deploy-platform-ansible-os-3855-1 2025-08-14 14:14:23,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/67f1fec9-2c50-417f-9fed-1f63ab8c0990 2025-08-14 14:14:24,003 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cff1bef4-f4ed-42ec-b25e-1ba79f956879 2025-08-14 14:14:27,260 - 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 1010ms') 2025-08-14 14:14:27,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45353790-82224495 failed! 2025-08-14 14:14:27,322 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45353790:ctest-vn-96284123 is 106.60.223.65 and allocation pool is NOT set 2025-08-14 14:14:29,395 - 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=7.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.63 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 = 3.633/5.606/7.579/1.973 ms') 2025-08-14 14:14:29,395 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45353790-82224495 passed 2025-08-14 14:14:29,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:14:29,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45353790-82224495, IP 106.60.223.67, Port 22 2025-08-14 14:14:29,732 - DEBUG - VM ctest-TestBasicPolicy-45353790-82224495 is ready for SSH connections 2025-08-14 14:14:29,732 - INFO - Waiting for VM ctest-TestBasicPolicy-45353790-90558230 to be up.. 2025-08-14 14:14:29,824 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:14:29,824 - INFO - VM name : ctest-TestBasicPolicy-45353790-90558230 2025-08-14 14:14:29,922 - DEBUG - VM ctest-TestBasicPolicy-45353790-90558230 ID is c48299f7-98cb-4f81-9ca5-5747ded32e76 2025-08-14 14:14:29,922 - DEBUG - VM ctest-TestBasicPolicy-45353790-90558230 launched on Node cn-jenkins-deploy-platform-ansible-os-3855-1 2025-08-14 14:14:30,010 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c48299f7-98cb-4f81-9ca5-5747ded32e76 2025-08-14 14:14:30,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1ee281dc-eb33-4bed-86c8-efe1a9527296 2025-08-14 14:14:31,265 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.906 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.906/2.363/3.821/1.457 ms') 2025-08-14 14:14:31,265 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45353790-90558230 passed 2025-08-14 14:14:31,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:14:31,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45353790-90558230, IP 155.183.201.3, Port 22 2025-08-14 14:14:31,582 - DEBUG - VM ctest-TestBasicPolicy-45353790-90558230 is ready for SSH connections 2025-08-14 14:14:31,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:14:31,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.183.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 14:14:31,582 - DEBUG - ping -s 56 -c 3 -W 1 155.183.201.3 2025-08-14 14:14:35,290 - DEBUG - PING 155.183.201.3 (155.183.201.3): 56 data bytes 64 bytes from 155.183.201.3: seq=0 ttl=63 time=4.128 ms 64 bytes from 155.183.201.3: seq=1 ttl=63 time=0.980 ms 64 bytes from 155.183.201.3: seq=2 ttl=63 time=1.446 ms --- 155.183.201.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/2.184/4.128 ms 2025-08-14 14:14:35,291 - INFO - Ping to IP 155.183.201.3 from VM ctest-TestBasicPolicy-45353790-82224495 passed 2025-08-14 14:14:35,482 - DEBUG - Policy Update Response {"network-policy": {"uuid": "92e60ef2-9872-42b5-8a7d-ff10e58d4b15", "href": "http://10.0.0.38:8082/network-policy/92e60ef2-9872-42b5-8a7d-ff10e58d4b15"}} 2025-08-14 14:14:35,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:14:35,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.183.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 14:14:35,483 - DEBUG - ping -s 56 -c 3 -W 1 155.183.201.3 2025-08-14 14:14:38,693 - DEBUG - PING 155.183.201.3 (155.183.201.3): 56 data bytes --- 155.183.201.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 14:14:38,693 - WARNING - Ping to IP 155.183.201.3 from VM ctest-TestBasicPolicy-45353790-82224495 failed 2025-08-14 14:14:38,693 - INFO - Deleting VM ctest-TestBasicPolicy-45353790-90558230 2025-08-14 14:14:38,766 - INFO - Deleting VM ctest-TestBasicPolicy-45353790-82224495 2025-08-14 14:14:39,186 - INFO - Deleted policy ctest-policy-allow-all-54831830 2025-08-14 14:14:39,186 - INFO - Deleting VN ctest-vn-54690861 2025-08-14 14:14:39,223 - DEBUG - VN b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a still in use: Unable to complete operation on network b32a0f0d-31fc-43c6-a47e-3d91ee5e3d4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9409e07-64d0-43cf-aeb3-e2ce4224856e'] 2025-08-14 14:14:39,223 - WARNING - Deleting VN ctest-vn-54690861 failed..Will retry 2025-08-14 14:14:41,327 - DEBUG - Response for deleting network () 2025-08-14 14:14:41,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/081c4a70-fb5a-476f-9d97-7664ef78ed70 2025-08-14 14:14:41,342 - DEBUG - Response Code: 404 2025-08-14 14:14:41,342 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 14:14:41,349 - DEBUG - Requesting: http://10.0.0.38:8082/domain/de129236-0c26-46f5-915e-4c5c63d37cfa 2025-08-14 14:14:41,409 - DEBUG - Requesting: http://10.0.0.38:8082/project/9991e5df-d195-49f0-9e82-7aeac0531c8d 2025-08-14 14:14:41,489 - INFO - Validated that VN ctest-vn-54690861 is not found in API Server 2025-08-14 14:14:41,503 - DEBUG - VN ctest-vn-54690861 is not present in Agent 10.0.0.38 2025-08-14 14:14:41,503 - INFO - Validated that VN ctest-vn-54690861 is not in any agent 2025-08-14 14:14:41,523 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54690861 info 2025-08-14 14:14:41,524 - INFO - Deleting VN ctest-vn-96284123 2025-08-14 14:14:41,628 - DEBUG - Response for deleting network () 2025-08-14 14:14:41,629 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84241a0a-5f92-4c2f-a96b-46c83acb4446 2025-08-14 14:14:41,637 - DEBUG - Response Code: 404 2025-08-14 14:14:41,637 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-14 14:14:41,642 - DEBUG - Requesting: http://10.0.0.38:8082/domain/de129236-0c26-46f5-915e-4c5c63d37cfa 2025-08-14 14:14:41,696 - DEBUG - Requesting: http://10.0.0.38:8082/project/9991e5df-d195-49f0-9e82-7aeac0531c8d 2025-08-14 14:14:41,772 - INFO - Validated that VN ctest-vn-96284123 is not found in API Server 2025-08-14 14:14:41,788 - DEBUG - VN ctest-vn-96284123 is not present in Agent 10.0.0.38 2025-08-14 14:14:41,788 - INFO - Validated that VN ctest-vn-96284123 is not in any agent 2025-08-14 14:14:41,806 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96284123 info 2025-08-14 14:14:42,062 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:14:42,062 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-14 14:14:42,062 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:14:42,766 - INFO - Deleted project: ctest-TestBasicPolicy-45353790, ID : 9991e5df-d195-49f0-9e82-7aeac0531c8d