2025-12-23 03:32:44,065 - INFO - Domain Default found not creating 2025-12-23 03:32:44,235 - INFO - Project ctest-TestBasicPolicy-90880478 not found, creating it 2025-12-23 03:32:44,687 - INFO - Created Project:ctest-TestBasicPolicy-90880478, ID : 6e96f491-4068-4586-8721-0df5ddffbc42 2025-12-23 03:32:46,261 - INFO - ================================================================================ 2025-12-23 03:32:46,261 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-23 03:32:46,261 - 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-12-23 03:32:46,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-23 03:32:46,521 - INFO - Initial checks done. Running the testcase now 2025-12-23 03:32:46,521 - INFO - 2025-12-23 03:32:47,128 - DEBUG - Response for create_network : {'network': {'id': '71bc3e20-7429-41c9-b2a6-bebda09fafe2', 'name': 'ctest-vn-09403229', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'project_id': '6e96f4914068458687210df5ddffbc42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-vn-09403229'], 'port_security_enabled': True, 'description': ''}} 2025-12-23 03:32:47,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '17016a01-c0a5-4b05-9798-69133edef383', 'name': '', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'network_id': '71bc3e20-7429-41c9-b2a6-bebda09fafe2', 'ip_version': 4, 'cidr': '98.24.247.128/26', 'allocation_pools': [{'start': '98.24.247.130', 'end': '98.24.247.190'}], 'gateway_ip': '98.24.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.24.247.130', 'tags': [], 'project_id': '6e96f4914068458687210df5ddffbc42'}} 2025-12-23 03:32:47,356 - INFO - Created VN ctest-vn-09403229 2025-12-23 03:32:47,410 - DEBUG - VN ctest-vn-09403229 UUID is 71bc3e20-7429-41c9-b2a6-bebda09fafe2 2025-12-23 03:32:47,729 - DEBUG - Response for create_network : {'network': {'id': '359d7423-de49-4323-902e-e7c5a537288d', 'name': 'ctest-vn-99139813', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'project_id': '6e96f4914068458687210df5ddffbc42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-vn-99139813'], 'port_security_enabled': True, 'description': ''}} 2025-12-23 03:32:47,913 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff2b6917-e6a4-42b5-afb0-c321dcc1ca24', 'name': '', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'network_id': '359d7423-de49-4323-902e-e7c5a537288d', 'ip_version': 4, 'cidr': '148.174.152.192/26', 'allocation_pools': [{'start': '148.174.152.194', 'end': '148.174.152.254'}], 'gateway_ip': '148.174.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.174.152.194', 'tags': [], 'project_id': '6e96f4914068458687210df5ddffbc42'}} 2025-12-23 03:32:47,929 - INFO - Created VN ctest-vn-99139813 2025-12-23 03:32:47,982 - DEBUG - VN ctest-vn-99139813 UUID is 359d7423-de49-4323-902e-e7c5a537288d 2025-12-23 03:32:48,134 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229, 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-90880478:ctest-vn-99139813, 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-12-23 03:32:48,425 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '71bc3e20-7429-41c9-b2a6-bebda09fafe2', 'name': 'ctest-vn-09403229', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'project_id': '6e96f4914068458687210df5ddffbc42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['17016a01-c0a5-4b05-9798-69133edef383'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-vn-09403229'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-policy-allow-all-44759608']], 'subnet_ipam': [{'subnet_cidr': '98.24.247.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-23 03:32:48,698 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '359d7423-de49-4323-902e-e7c5a537288d', 'name': 'ctest-vn-99139813', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'project_id': '6e96f4914068458687210df5ddffbc42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff2b6917-e6a4-42b5-afb0-c321dcc1ca24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-vn-99139813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-policy-allow-all-44759608']], 'subnet_ipam': [{'subnet_cidr': '148.174.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-23 03:32:48,838 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-23 03:32:49,174 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-23 03:32:49,204 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02 2025-12-23 03:32:49,216 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42 2025-12-23 03:32:49,286 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2 2025-12-23 03:32:49,296 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2 2025-12-23 03:32:49,304 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64 2025-12-23 03:32:49,310 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64 2025-12-23 03:32:49,316 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d81f5c3f-876c-458e-814d-bda0b52a1ef9 2025-12-23 03:32:49,322 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-23 03:32:49,322 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2 2025-12-23 03:32:49,330 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64 2025-12-23 03:32:49,343 - INFO - Verified VN network id 11 for VN 71bc3e20-7429-41c9-b2a6-bebda09fafe2 2025-12-23 03:32:49,343 - INFO - Verifications in API Server for VN ctest-vn-09403229 passed 2025-12-23 03:32:49,343 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2 2025-12-23 03:32:49,352 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64 2025-12-23 03:32:49,358 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64 2025-12-23 03:32:49,363 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d81f5c3f-876c-458e-814d-bda0b52a1ef9 2025-12-23 03:32:49,374 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90880478', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8195493731016196553', 'uuid-lslong': '12873186306538057698'}, 'enable': 'true', 'created': '2025-12-23T03:32:47', 'last-modified': '2025-12-23T03:32:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972846'} 2025-12-23 03:32:49,380 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-23 03:32:49,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09403229 passed 2025-12-23 03:32:49,381 - DEBUG - ====Verifying policy data for ctest-vn-09403229 in API_Server ====== 2025-12-23 03:32:49,381 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-23 03:32:49,386 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02 2025-12-23 03:32:49,396 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42 2025-12-23 03:32:49,465 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2 2025-12-23 03:32:49,474 - DEBUG - ==>Verifying data for policy with id: c11f4cd4-7e00-4d83-8201-9db0278bbadf, fqn: ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-policy-allow-all-44759608'] 2025-12-23 03:32:49,475 - INFO - VN ctest-vn-09403229 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-23 03:32:49,475 - DEBUG - Verifying the vn in opserver 2025-12-23 03:32:49,475 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229 virtual network link through opserver 10.0.0.33 2025-12-23 03:32:49,475 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-23 03:32:49,809 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-23 03:32:49,868 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229?flat'} 2025-12-23 03:32:49,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229 is found in opserver 2025-12-23 03:32:49,878 - DEBUG - Do not have enough data to verify VN in agent 2025-12-23 03:32:49,882 - DEBUG - VRF ids for VN ctest-vn-09403229: {} 2025-12-23 03:32:49,882 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-23 03:32:49,887 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02 2025-12-23 03:32:49,898 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42 2025-12-23 03:32:49,975 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d 2025-12-23 03:32:49,987 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d 2025-12-23 03:32:49,997 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e 2025-12-23 03:32:50,004 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e 2025-12-23 03:32:50,010 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/39718a9a-7eb4-4e82-9d86-2ccc3590a8b2 2025-12-23 03:32:50,018 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-23 03:32:50,018 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d 2025-12-23 03:32:50,030 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e 2025-12-23 03:32:50,044 - INFO - Verified VN network id 12 for VN 359d7423-de49-4323-902e-e7c5a537288d 2025-12-23 03:32:50,045 - INFO - Verifications in API Server for VN ctest-vn-99139813 passed 2025-12-23 03:32:50,045 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d 2025-12-23 03:32:50,056 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e 2025-12-23 03:32:50,063 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e 2025-12-23 03:32:50,071 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/39718a9a-7eb4-4e82-9d86-2ccc3590a8b2 2025-12-23 03:32:50,084 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90880478', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3863371752755774243', 'uuid-lslong': '10389496226456742029'}, 'enable': 'true', 'created': '2025-12-23T03:32:47', 'last-modified': '2025-12-23T03:32:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.452072'} 2025-12-23 03:32:50,090 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-23 03:32:50,090 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99139813 passed 2025-12-23 03:32:50,090 - DEBUG - ====Verifying policy data for ctest-vn-99139813 in API_Server ====== 2025-12-23 03:32:50,090 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-23 03:32:50,096 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02 2025-12-23 03:32:50,106 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42 2025-12-23 03:32:50,176 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d 2025-12-23 03:32:50,186 - DEBUG - ==>Verifying data for policy with id: c11f4cd4-7e00-4d83-8201-9db0278bbadf, fqn: ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-policy-allow-all-44759608'] 2025-12-23 03:32:50,186 - INFO - VN ctest-vn-99139813 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-23 03:32:50,186 - DEBUG - Verifying the vn in opserver 2025-12-23 03:32:50,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813 virtual network link through opserver 10.0.0.33 2025-12-23 03:32:50,186 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-23 03:32:50,196 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813?flat'} 2025-12-23 03:32:50,196 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813 is found in opserver 2025-12-23 03:32:50,206 - DEBUG - Do not have enough data to verify VN in agent 2025-12-23 03:32:50,210 - DEBUG - VRF ids for VN ctest-vn-99139813: {} 2025-12-23 03:32:50,273 - DEBUG - Services list from nova: [, , ] 2025-12-23 03:32:51,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4922-1) 2025-12-23 03:32:52,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4922-1) 2025-12-23 03:32:52,605 - INFO - Waiting for VM ctest-TestBasicPolicy-90880478-67989142 to be up.. 2025-12-23 03:32:52,689 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-23 03:32:57,775 - DEBUG - VM is in ACTIVE state now 2025-12-23 03:32:57,775 - INFO - VM name : ctest-TestBasicPolicy-90880478-67989142 2025-12-23 03:32:57,849 - DEBUG - VM ctest-TestBasicPolicy-90880478-67989142 ID is b253cae2-d000-44ee-8372-a480c0c9db9d 2025-12-23 03:32:57,867 - DEBUG - VM ctest-TestBasicPolicy-90880478-67989142 launched on Node cn-jenkins-deploy-platform-ansible-os-4922-1 2025-12-23 03:32:57,942 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b253cae2-d000-44ee-8372-a480c0c9db9d 2025-12-23 03:32:57,950 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a59156df-297e-423e-96c6-26cdfb0b2dcb 2025-12-23 03:33:01,206 - 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 1027ms') 2025-12-23 03:33:01,206 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90880478-67989142 failed! 2025-12-23 03:33:01,262 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229 is 98.24.247.129 and allocation pool is NOT set 2025-12-23 03:33:03,334 - 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=6.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.38 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.380/4.815/6.250/1.435 ms') 2025-12-23 03:33:03,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90880478-67989142 passed 2025-12-23 03:33:03,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-23 03:33:03,482 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90880478-67989142, IP 98.24.247.131, Port 22 2025-12-23 03:33:03,638 - DEBUG - VM ctest-TestBasicPolicy-90880478-67989142 is ready for SSH connections 2025-12-23 03:33:03,638 - INFO - Waiting for VM ctest-TestBasicPolicy-90880478-03148104 to be up.. 2025-12-23 03:33:03,709 - DEBUG - VM is in ACTIVE state now 2025-12-23 03:33:03,709 - INFO - VM name : ctest-TestBasicPolicy-90880478-03148104 2025-12-23 03:33:03,779 - DEBUG - VM ctest-TestBasicPolicy-90880478-03148104 ID is 120c3d66-f776-488d-bcf5-d90445e72591 2025-12-23 03:33:03,779 - DEBUG - VM ctest-TestBasicPolicy-90880478-03148104 launched on Node cn-jenkins-deploy-platform-ansible-os-4922-1 2025-12-23 03:33:03,849 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/120c3d66-f776-488d-bcf5-d90445e72591 2025-12-23 03:33:03,857 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9ac4809b-0d8e-47f4-8344-6633cbec7569 2025-12-23 03:33:05,099 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/2.219/3.996/1.777 ms') 2025-12-23 03:33:05,099 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90880478-03148104 passed 2025-12-23 03:33:05,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-23 03:33:05,250 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90880478-03148104, IP 148.174.152.195, Port 22 2025-12-23 03:33:05,405 - DEBUG - VM ctest-TestBasicPolicy-90880478-03148104 is ready for SSH connections 2025-12-23 03:33:05,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-23 03:33:05,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.174.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-23 03:33:05,406 - DEBUG - ping -s 56 -c 3 -W 1 148.174.152.195 2025-12-23 03:33:09,483 - DEBUG - PING 148.174.152.195 (148.174.152.195): 56 data bytes 64 bytes from 148.174.152.195: seq=0 ttl=63 time=3.582 ms 64 bytes from 148.174.152.195: seq=1 ttl=63 time=1.063 ms 64 bytes from 148.174.152.195: seq=2 ttl=63 time=1.056 ms --- 148.174.152.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.056/1.900/3.582 ms 2025-12-23 03:33:09,483 - INFO - Ping to IP 148.174.152.195 from VM ctest-TestBasicPolicy-90880478-67989142 passed 2025-12-23 03:33:09,666 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c11f4cd4-7e00-4d83-8201-9db0278bbadf", "href": "http://10.0.0.33:8082/network-policy/c11f4cd4-7e00-4d83-8201-9db0278bbadf"}} 2025-12-23 03:33:09,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-23 03:33:09,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.174.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-23 03:33:09,666 - DEBUG - ping -s 56 -c 3 -W 1 148.174.152.195 2025-12-23 03:33:12,886 - DEBUG - PING 148.174.152.195 (148.174.152.195): 56 data bytes --- 148.174.152.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-23 03:33:12,887 - WARNING - Ping to IP 148.174.152.195 from VM ctest-TestBasicPolicy-90880478-67989142 failed 2025-12-23 03:33:12,887 - INFO - Deleting VM ctest-TestBasicPolicy-90880478-03148104 2025-12-23 03:33:12,959 - INFO - Deleting VM ctest-TestBasicPolicy-90880478-67989142 2025-12-23 03:33:13,318 - INFO - Deleted policy ctest-policy-allow-all-44759608 2025-12-23 03:33:13,319 - INFO - Deleting VN ctest-vn-99139813 2025-12-23 03:33:13,352 - DEBUG - VN 359d7423-de49-4323-902e-e7c5a537288d still in use: Unable to complete operation on network 359d7423-de49-4323-902e-e7c5a537288d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44b71408-c2f9-4acd-8d58-e2df44971a9e'] 2025-12-23 03:33:13,352 - WARNING - Deleting VN ctest-vn-99139813 failed..Will retry 2025-12-23 03:33:15,458 - DEBUG - Response for deleting network () 2025-12-23 03:33:15,459 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e 2025-12-23 03:33:15,470 - DEBUG - Response Code: 404 2025-12-23 03:33:15,470 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-23 03:33:15,478 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02 2025-12-23 03:33:15,536 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42 2025-12-23 03:33:15,606 - INFO - Validated that VN ctest-vn-99139813 is not found in API Server 2025-12-23 03:33:15,615 - DEBUG - VN ctest-vn-99139813 is not present in Agent 10.0.0.33 2025-12-23 03:33:15,615 - INFO - Validated that VN ctest-vn-99139813 is not in any agent 2025-12-23 03:33:15,631 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99139813 info 2025-12-23 03:33:15,631 - INFO - Deleting VN ctest-vn-09403229 2025-12-23 03:33:15,719 - DEBUG - Response for deleting network () 2025-12-23 03:33:15,719 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64 2025-12-23 03:33:15,724 - DEBUG - Response Code: 404 2025-12-23 03:33:15,724 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-23 03:33:15,731 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02 2025-12-23 03:33:15,784 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42 2025-12-23 03:33:15,856 - INFO - Validated that VN ctest-vn-09403229 is not found in API Server 2025-12-23 03:33:15,865 - DEBUG - VN ctest-vn-09403229 is not present in Agent 10.0.0.33 2025-12-23 03:33:15,865 - INFO - Validated that VN ctest-vn-09403229 is not in any agent 2025-12-23 03:33:15,879 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09403229 info 2025-12-23 03:33:16,137 - DEBUG - No XMPP flaps were noticed during the test
2025-12-23 03:33:16,137 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-23 03:33:16,137 - INFO - -------------------------------------------------------------------------------- 2025-12-23 03:33:16,925 - INFO - Deleted project: ctest-TestBasicPolicy-90880478, ID : 6e96f491-4068-4586-8721-0df5ddffbc42