2025-08-07 22:19:08,269 - INFO - Domain Default found not creating 2025-08-07 22:19:08,425 - INFO - Project ctest-TestBasicPolicy-43325186 not found, creating it 2025-08-07 22:19:08,905 - INFO - Created Project:ctest-TestBasicPolicy-43325186, ID : 06f9f42b-f93a-46b5-b9f9-23b26571d836 2025-08-07 22:19:10,374 - INFO - ================================================================================ 2025-08-07 22:19:10,374 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-07 22:19:10,374 - 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-07 22:19:10,637 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-07 22:19:10,637 - INFO - Initial checks done. Running the testcase now 2025-08-07 22:19:10,637 - INFO - 2025-08-07 22:19:11,193 - DEBUG - Response for create_network : {'network': {'id': '860331da-06ea-48bf-9d6f-b0ceb7a0f2bf', 'name': 'ctest-vn-33810642', 'tenant_id': '06f9f42bf93a46b5b9f923b26571d836', 'project_id': '06f9f42bf93a46b5b9f923b26571d836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43325186', 'ctest-vn-33810642'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 22:19:11,368 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f373fb8-18d5-416b-a938-a3015450cbd3', 'name': '', 'tenant_id': '06f9f42bf93a46b5b9f923b26571d836', 'network_id': '860331da-06ea-48bf-9d6f-b0ceb7a0f2bf', 'ip_version': 4, 'cidr': '104.186.66.192/26', 'allocation_pools': [{'start': '104.186.66.194', 'end': '104.186.66.254'}], 'gateway_ip': '104.186.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.186.66.194', 'tags': [], 'project_id': '06f9f42bf93a46b5b9f923b26571d836'}} 2025-08-07 22:19:11,388 - INFO - Created VN ctest-vn-33810642 2025-08-07 22:19:11,444 - DEBUG - VN ctest-vn-33810642 UUID is 860331da-06ea-48bf-9d6f-b0ceb7a0f2bf 2025-08-07 22:19:11,742 - DEBUG - Response for create_network : {'network': {'id': 'a095123f-c8e4-42ff-991f-eabf7c275745', 'name': 'ctest-vn-95982850', 'tenant_id': '06f9f42bf93a46b5b9f923b26571d836', 'project_id': '06f9f42bf93a46b5b9f923b26571d836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43325186', 'ctest-vn-95982850'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 22:19:11,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e5fac7e-ce98-4c69-b671-ba67955f82c1', 'name': '', 'tenant_id': '06f9f42bf93a46b5b9f923b26571d836', 'network_id': 'a095123f-c8e4-42ff-991f-eabf7c275745', 'ip_version': 4, 'cidr': '172.135.65.64/26', 'allocation_pools': [{'start': '172.135.65.66', 'end': '172.135.65.126'}], 'gateway_ip': '172.135.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.135.65.66', 'tags': [], 'project_id': '06f9f42bf93a46b5b9f923b26571d836'}} 2025-08-07 22:19:11,941 - INFO - Created VN ctest-vn-95982850 2025-08-07 22:19:11,996 - DEBUG - VN ctest-vn-95982850 UUID is a095123f-c8e4-42ff-991f-eabf7c275745 2025-08-07 22:19:12,135 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-33810642, 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-43325186:ctest-vn-95982850, 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-07 22:19:12,450 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '860331da-06ea-48bf-9d6f-b0ceb7a0f2bf', 'name': 'ctest-vn-33810642', 'tenant_id': '06f9f42bf93a46b5b9f923b26571d836', 'project_id': '06f9f42bf93a46b5b9f923b26571d836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f373fb8-18d5-416b-a938-a3015450cbd3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43325186', 'ctest-vn-33810642'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43325186', 'ctest-policy-allow-all-39317158']], 'subnet_ipam': [{'subnet_cidr': '104.186.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 22:19:12,741 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a095123f-c8e4-42ff-991f-eabf7c275745', 'name': 'ctest-vn-95982850', 'tenant_id': '06f9f42bf93a46b5b9f923b26571d836', 'project_id': '06f9f42bf93a46b5b9f923b26571d836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8e5fac7e-ce98-4c69-b671-ba67955f82c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43325186', 'ctest-vn-95982850'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43325186', 'ctest-policy-allow-all-39317158']], 'subnet_ipam': [{'subnet_cidr': '172.135.65.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 22:19:12,888 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 22:19:13,184 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 22:19:13,213 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc2d96-63bf-48dc-bca9-469ddaa7b56c 2025-08-07 22:19:13,227 - DEBUG - Requesting: http://10.0.0.38:8082/project/06f9f42b-f93a-46b5-b9f9-23b26571d836 2025-08-07 22:19:13,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/860331da-06ea-48bf-9d6f-b0ceb7a0f2bf 2025-08-07 22:19:13,313 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/860331da-06ea-48bf-9d6f-b0ceb7a0f2bf 2025-08-07 22:19:13,324 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2839eeb7-d7a6-493e-b842-2cb162153f91 2025-08-07 22:19:13,333 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2839eeb7-d7a6-493e-b842-2cb162153f91 2025-08-07 22:19:13,340 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/96e85141-9611-492f-8320-9e2112417d44 2025-08-07 22:19:13,347 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 22:19:13,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/860331da-06ea-48bf-9d6f-b0ceb7a0f2bf 2025-08-07 22:19:13,356 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2839eeb7-d7a6-493e-b842-2cb162153f91 2025-08-07 22:19:13,371 - INFO - Verified VN network id 11 for VN 860331da-06ea-48bf-9d6f-b0ceb7a0f2bf 2025-08-07 22:19:13,371 - INFO - Verifications in API Server for VN ctest-vn-33810642 passed 2025-08-07 22:19:13,371 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/860331da-06ea-48bf-9d6f-b0ceb7a0f2bf 2025-08-07 22:19:13,381 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2839eeb7-d7a6-493e-b842-2cb162153f91 2025-08-07 22:19:13,389 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2839eeb7-d7a6-493e-b842-2cb162153f91 2025-08-07 22:19:13,396 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/96e85141-9611-492f-8320-9e2112417d44 2025-08-07 22:19:13,408 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-33810642', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43325186', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9656616838501124287', 'uuid-lslong': '11344480388260098751'}, 'enable': 'true', 'created': '2025-08-07T22:19:11', 'last-modified': '2025-08-07T22:19:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979496'} 2025-08-07 22:19:13,415 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 22:19:13,415 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33810642 passed 2025-08-07 22:19:13,415 - DEBUG - ====Verifying policy data for ctest-vn-33810642 in API_Server ====== 2025-08-07 22:19:13,415 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 22:19:13,426 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc2d96-63bf-48dc-bca9-469ddaa7b56c 2025-08-07 22:19:13,438 - DEBUG - Requesting: http://10.0.0.38:8082/project/06f9f42b-f93a-46b5-b9f9-23b26571d836 2025-08-07 22:19:13,516 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/860331da-06ea-48bf-9d6f-b0ceb7a0f2bf 2025-08-07 22:19:13,526 - DEBUG - ==>Verifying data for policy with id: e97e7301-33c7-4946-bd82-8aa9695eeba6, fqn: ['default-domain', 'ctest-TestBasicPolicy-43325186', 'ctest-policy-allow-all-39317158'] 2025-08-07 22:19:13,526 - INFO - VN ctest-vn-33810642 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 22:19:13,526 - DEBUG - Verifying the vn in opserver 2025-08-07 22:19:13,526 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-33810642 virtual network link through opserver 10.0.0.38 2025-08-07 22:19:13,526 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-07 22:19:13,820 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-07 22:19:13,877 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-33810642', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-33810642?flat'} 2025-08-07 22:19:13,877 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-33810642 is found in opserver 2025-08-07 22:19:13,889 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 22:19:13,894 - DEBUG - VRF ids for VN ctest-vn-33810642: {} 2025-08-07 22:19:13,894 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 22:19:13,901 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc2d96-63bf-48dc-bca9-469ddaa7b56c 2025-08-07 22:19:13,913 - DEBUG - Requesting: http://10.0.0.38:8082/project/06f9f42b-f93a-46b5-b9f9-23b26571d836 2025-08-07 22:19:13,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a095123f-c8e4-42ff-991f-eabf7c275745 2025-08-07 22:19:13,994 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a095123f-c8e4-42ff-991f-eabf7c275745 2025-08-07 22:19:14,004 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1cd7eebd-ba65-4694-801f-29a657151139 2025-08-07 22:19:14,013 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1cd7eebd-ba65-4694-801f-29a657151139 2025-08-07 22:19:14,020 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/beb602a4-1c69-45f0-b073-296f3fc44e87 2025-08-07 22:19:14,026 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 22:19:14,026 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a095123f-c8e4-42ff-991f-eabf7c275745 2025-08-07 22:19:14,035 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1cd7eebd-ba65-4694-801f-29a657151139 2025-08-07 22:19:14,049 - INFO - Verified VN network id 12 for VN a095123f-c8e4-42ff-991f-eabf7c275745 2025-08-07 22:19:14,049 - INFO - Verifications in API Server for VN ctest-vn-95982850 passed 2025-08-07 22:19:14,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a095123f-c8e4-42ff-991f-eabf7c275745 2025-08-07 22:19:14,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1cd7eebd-ba65-4694-801f-29a657151139 2025-08-07 22:19:14,064 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1cd7eebd-ba65-4694-801f-29a657151139 2025-08-07 22:19:14,072 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/beb602a4-1c69-45f0-b073-296f3fc44e87 2025-08-07 22:19:14,086 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-95982850', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43325186', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11571174882760999679', 'uuid-lslong': '11033795720223610693'}, 'enable': 'true', 'created': '2025-08-07T22:19:11', 'last-modified': '2025-08-07T22:19:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.422546'} 2025-08-07 22:19:14,093 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 22:19:14,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95982850 passed 2025-08-07 22:19:14,093 - DEBUG - ====Verifying policy data for ctest-vn-95982850 in API_Server ====== 2025-08-07 22:19:14,093 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 22:19:14,099 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc2d96-63bf-48dc-bca9-469ddaa7b56c 2025-08-07 22:19:14,112 - DEBUG - Requesting: http://10.0.0.38:8082/project/06f9f42b-f93a-46b5-b9f9-23b26571d836 2025-08-07 22:19:14,194 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a095123f-c8e4-42ff-991f-eabf7c275745 2025-08-07 22:19:14,206 - DEBUG - ==>Verifying data for policy with id: e97e7301-33c7-4946-bd82-8aa9695eeba6, fqn: ['default-domain', 'ctest-TestBasicPolicy-43325186', 'ctest-policy-allow-all-39317158'] 2025-08-07 22:19:14,206 - INFO - VN ctest-vn-95982850 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 22:19:14,206 - DEBUG - Verifying the vn in opserver 2025-08-07 22:19:14,206 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-95982850 virtual network link through opserver 10.0.0.38 2025-08-07 22:19:14,206 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-07 22:19:14,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-95982850', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-95982850?flat'} 2025-08-07 22:19:14,219 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-95982850 is found in opserver 2025-08-07 22:19:14,229 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 22:19:14,234 - DEBUG - VRF ids for VN ctest-vn-95982850: {} 2025-08-07 22:19:14,291 - DEBUG - Services list from nova: [, , ] 2025-08-07 22:19:15,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3777-1) 2025-08-07 22:19:16,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3777-1) 2025-08-07 22:19:16,503 - INFO - Waiting for VM ctest-TestBasicPolicy-43325186-91530925 to be up.. 2025-08-07 22:19:16,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 22:19:21,670 - DEBUG - VM is in ACTIVE state now 2025-08-07 22:19:21,670 - INFO - VM name : ctest-TestBasicPolicy-43325186-91530925 2025-08-07 22:19:21,746 - DEBUG - VM ctest-TestBasicPolicy-43325186-91530925 ID is 1d940c3d-6969-4e22-afd1-7d6bbb8f6c45 2025-08-07 22:19:21,768 - DEBUG - VM ctest-TestBasicPolicy-43325186-91530925 launched on Node cn-jenkins-deploy-platform-ansible-os-3777-1 2025-08-07 22:19:21,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1d940c3d-6969-4e22-afd1-7d6bbb8f6c45 2025-08-07 22:19:21,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6ec32dea-eac8-435f-a7a9-bb4203916cd6 2025-08-07 22:19:25,116 - 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 1022ms') 2025-08-07 22:19:25,117 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43325186-91530925 failed! 2025-08-07 22:19:25,172 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43325186:ctest-vn-33810642 is 104.186.66.193 and allocation pool is NOT set 2025-08-07 22:19:27,243 - 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=5.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/2.834/5.163/2.328 ms') 2025-08-07 22:19:27,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43325186-91530925 passed 2025-08-07 22:19:27,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 22:19:27,400 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43325186-91530925, IP 104.186.66.195, Port 22 2025-08-07 22:19:27,556 - DEBUG - VM ctest-TestBasicPolicy-43325186-91530925 is ready for SSH connections 2025-08-07 22:19:27,556 - INFO - Waiting for VM ctest-TestBasicPolicy-43325186-32299285 to be up.. 2025-08-07 22:19:27,640 - DEBUG - VM is in ACTIVE state now 2025-08-07 22:19:27,640 - INFO - VM name : ctest-TestBasicPolicy-43325186-32299285 2025-08-07 22:19:27,715 - DEBUG - VM ctest-TestBasicPolicy-43325186-32299285 ID is fb4e4d9d-60af-4b74-b6a6-01810f83ca9d 2025-08-07 22:19:27,715 - DEBUG - VM ctest-TestBasicPolicy-43325186-32299285 launched on Node cn-jenkins-deploy-platform-ansible-os-3777-1 2025-08-07 22:19:27,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fb4e4d9d-60af-4b74-b6a6-01810f83ca9d 2025-08-07 22:19:27,815 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e614fa76-94f8-4ca0-89de-fa4e6a977426 2025-08-07 22:19:29,072 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.698 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.698/1.997/3.296/1.299 ms') 2025-08-07 22:19:29,072 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43325186-32299285 passed 2025-08-07 22:19:29,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 22:19:29,224 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43325186-32299285, IP 172.135.65.67, Port 22 2025-08-07 22:19:29,392 - DEBUG - VM ctest-TestBasicPolicy-43325186-32299285 is ready for SSH connections 2025-08-07 22:19:29,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 22:19:29,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.135.65.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 22:19:29,392 - DEBUG - ping -s 56 -c 3 -W 1 172.135.65.67 2025-08-07 22:19:33,072 - DEBUG - PING 172.135.65.67 (172.135.65.67): 56 data bytes 64 bytes from 172.135.65.67: seq=0 ttl=63 time=3.779 ms 64 bytes from 172.135.65.67: seq=1 ttl=63 time=1.283 ms 64 bytes from 172.135.65.67: seq=2 ttl=63 time=0.944 ms --- 172.135.65.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/2.002/3.779 ms 2025-08-07 22:19:33,073 - INFO - Ping to IP 172.135.65.67 from VM ctest-TestBasicPolicy-43325186-91530925 passed 2025-08-07 22:19:33,252 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e97e7301-33c7-4946-bd82-8aa9695eeba6", "href": "http://10.0.0.38:8082/network-policy/e97e7301-33c7-4946-bd82-8aa9695eeba6"}} 2025-08-07 22:19:33,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 22:19:33,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.135.65.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 22:19:33,253 - DEBUG - ping -s 56 -c 3 -W 1 172.135.65.67 2025-08-07 22:19:36,451 - DEBUG - PING 172.135.65.67 (172.135.65.67): 56 data bytes --- 172.135.65.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 22:19:36,452 - WARNING - Ping to IP 172.135.65.67 from VM ctest-TestBasicPolicy-43325186-91530925 failed 2025-08-07 22:19:36,452 - INFO - Deleting VM ctest-TestBasicPolicy-43325186-32299285 2025-08-07 22:19:36,535 - INFO - Deleting VM ctest-TestBasicPolicy-43325186-91530925 2025-08-07 22:19:36,950 - INFO - Deleted policy ctest-policy-allow-all-39317158 2025-08-07 22:19:36,950 - INFO - Deleting VN ctest-vn-95982850 2025-08-07 22:19:36,996 - DEBUG - VN a095123f-c8e4-42ff-991f-eabf7c275745 still in use: Unable to complete operation on network a095123f-c8e4-42ff-991f-eabf7c275745. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-146816e5-3235-4fe1-96a3-bf305d8da12f'] 2025-08-07 22:19:36,996 - WARNING - Deleting VN ctest-vn-95982850 failed..Will retry 2025-08-07 22:19:39,104 - DEBUG - Response for deleting network () 2025-08-07 22:19:39,104 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1cd7eebd-ba65-4694-801f-29a657151139 2025-08-07 22:19:39,113 - DEBUG - Response Code: 404 2025-08-07 22:19:39,113 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 22:19:39,122 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc2d96-63bf-48dc-bca9-469ddaa7b56c 2025-08-07 22:19:39,179 - DEBUG - Requesting: http://10.0.0.38:8082/project/06f9f42b-f93a-46b5-b9f9-23b26571d836 2025-08-07 22:19:39,259 - INFO - Validated that VN ctest-vn-95982850 is not found in API Server 2025-08-07 22:19:39,270 - DEBUG - VN ctest-vn-95982850 is not present in Agent 10.0.0.38 2025-08-07 22:19:39,270 - INFO - Validated that VN ctest-vn-95982850 is not in any agent 2025-08-07 22:19:39,286 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95982850 info 2025-08-07 22:19:39,286 - INFO - Deleting VN ctest-vn-33810642 2025-08-07 22:19:39,391 - DEBUG - Response for deleting network () 2025-08-07 22:19:39,391 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2839eeb7-d7a6-493e-b842-2cb162153f91 2025-08-07 22:19:39,399 - DEBUG - Response Code: 404 2025-08-07 22:19:39,399 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 22:19:39,405 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc2d96-63bf-48dc-bca9-469ddaa7b56c 2025-08-07 22:19:39,458 - DEBUG - Requesting: http://10.0.0.38:8082/project/06f9f42b-f93a-46b5-b9f9-23b26571d836 2025-08-07 22:19:39,536 - INFO - Validated that VN ctest-vn-33810642 is not found in API Server 2025-08-07 22:19:39,547 - DEBUG - VN ctest-vn-33810642 is not present in Agent 10.0.0.38 2025-08-07 22:19:39,547 - INFO - Validated that VN ctest-vn-33810642 is not in any agent 2025-08-07 22:19:39,564 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33810642 info 2025-08-07 22:19:39,819 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 22:19:39,819 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-07 22:19:39,819 - INFO - -------------------------------------------------------------------------------- 2025-08-07 22:19:40,509 - INFO - Deleted project: ctest-TestBasicPolicy-43325186, ID : 06f9f42b-f93a-46b5-b9f9-23b26571d836