2025-10-22 12:22:59,365 - INFO - Domain Default found not creating 2025-10-22 12:22:59,531 - INFO - Project ctest-TestBasicPolicy-00230108 not found, creating it 2025-10-22 12:23:00,015 - INFO - Created Project:ctest-TestBasicPolicy-00230108, ID : 013e43f5-9d97-411e-b615-9311f153014b 2025-10-22 12:23:01,572 - INFO - ================================================================================ 2025-10-22 12:23:01,573 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 12:23:01,573 - 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-10-22 12:23:01,840 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-10-22 12:23:01,840 - INFO - Initial checks done. Running the testcase now 2025-10-22 12:23:01,840 - INFO - 2025-10-22 12:23:02,454 - DEBUG - Response for create_network : {'network': {'id': '3026c8ca-9eb8-4baa-b012-6f14d71c8d9c', 'name': 'ctest-vn-93028997', 'tenant_id': '013e43f59d97411eb6159311f153014b', 'project_id': '013e43f59d97411eb6159311f153014b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00230108', 'ctest-vn-93028997'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:23:02,702 - DEBUG - Response for create_subnet : {'subnet': {'id': '0162f7b1-4c63-4d27-9e03-68adace95d9c', 'name': '', 'tenant_id': '013e43f59d97411eb6159311f153014b', 'network_id': '3026c8ca-9eb8-4baa-b012-6f14d71c8d9c', 'ip_version': 4, 'cidr': '187.26.103.0/26', 'allocation_pools': [{'start': '187.26.103.2', 'end': '187.26.103.62'}], 'gateway_ip': '187.26.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.26.103.2', 'tags': [], 'project_id': '013e43f59d97411eb6159311f153014b'}} 2025-10-22 12:23:02,725 - INFO - Created VN ctest-vn-93028997 2025-10-22 12:23:02,780 - DEBUG - VN ctest-vn-93028997 UUID is 3026c8ca-9eb8-4baa-b012-6f14d71c8d9c 2025-10-22 12:23:03,104 - DEBUG - Response for create_network : {'network': {'id': 'b7974698-aa92-4c63-b0fc-da7c425c115a', 'name': 'ctest-vn-09589691', 'tenant_id': '013e43f59d97411eb6159311f153014b', 'project_id': '013e43f59d97411eb6159311f153014b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00230108', 'ctest-vn-09589691'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:23:03,286 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7b020ff-57d8-4cbf-84f3-f874572d5082', 'name': '', 'tenant_id': '013e43f59d97411eb6159311f153014b', 'network_id': 'b7974698-aa92-4c63-b0fc-da7c425c115a', 'ip_version': 4, 'cidr': '186.69.77.0/26', 'allocation_pools': [{'start': '186.69.77.2', 'end': '186.69.77.62'}], 'gateway_ip': '186.69.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.69.77.2', 'tags': [], 'project_id': '013e43f59d97411eb6159311f153014b'}} 2025-10-22 12:23:03,304 - INFO - Created VN ctest-vn-09589691 2025-10-22 12:23:03,360 - DEBUG - VN ctest-vn-09589691 UUID is b7974698-aa92-4c63-b0fc-da7c425c115a 2025-10-22 12:23:03,493 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-93028997, 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-00230108:ctest-vn-09589691, 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-10-22 12:23:03,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3026c8ca-9eb8-4baa-b012-6f14d71c8d9c', 'name': 'ctest-vn-93028997', 'tenant_id': '013e43f59d97411eb6159311f153014b', 'project_id': '013e43f59d97411eb6159311f153014b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0162f7b1-4c63-4d27-9e03-68adace95d9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00230108', 'ctest-vn-93028997'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00230108', 'ctest-policy-allow-all-50235258']], 'subnet_ipam': [{'subnet_cidr': '187.26.103.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:23:04,056 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b7974698-aa92-4c63-b0fc-da7c425c115a', 'name': 'ctest-vn-09589691', 'tenant_id': '013e43f59d97411eb6159311f153014b', 'project_id': '013e43f59d97411eb6159311f153014b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e7b020ff-57d8-4cbf-84f3-f874572d5082'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00230108', 'ctest-vn-09589691'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00230108', 'ctest-policy-allow-all-50235258']], 'subnet_ipam': [{'subnet_cidr': '186.69.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:23:04,208 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-22 12:23:04,518 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-22 12:23:04,554 - DEBUG - Requesting: http://10.0.0.241:8082/domain/06c58a4c-2788-492a-a725-2ab9a382808a 2025-10-22 12:23:04,568 - DEBUG - Requesting: http://10.0.0.241:8082/project/013e43f5-9d97-411e-b615-9311f153014b 2025-10-22 12:23:04,641 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3026c8ca-9eb8-4baa-b012-6f14d71c8d9c 2025-10-22 12:23:04,654 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3026c8ca-9eb8-4baa-b012-6f14d71c8d9c 2025-10-22 12:23:04,665 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d338cf49-aa8e-4581-9544-2ec18a85aeb2 2025-10-22 12:23:04,673 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d338cf49-aa8e-4581-9544-2ec18a85aeb2 2025-10-22 12:23:04,681 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/392aad95-4c36-4fce-b714-ff685a5d2a4b 2025-10-22 12:23:04,689 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 12:23:04,689 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3026c8ca-9eb8-4baa-b012-6f14d71c8d9c 2025-10-22 12:23:04,699 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d338cf49-aa8e-4581-9544-2ec18a85aeb2 2025-10-22 12:23:04,715 - INFO - Verified VN network id 11 for VN 3026c8ca-9eb8-4baa-b012-6f14d71c8d9c 2025-10-22 12:23:04,716 - INFO - Verifications in API Server for VN ctest-vn-93028997 passed 2025-10-22 12:23:04,716 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3026c8ca-9eb8-4baa-b012-6f14d71c8d9c 2025-10-22 12:23:04,726 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d338cf49-aa8e-4581-9544-2ec18a85aeb2 2025-10-22 12:23:04,733 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d338cf49-aa8e-4581-9544-2ec18a85aeb2 2025-10-22 12:23:04,743 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/392aad95-4c36-4fce-b714-ff685a5d2a4b 2025-10-22 12:23:04,754 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-93028997', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00230108', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3469681335507372970', 'uuid-lslong': '12687325235555110300'}, 'enable': 'true', 'created': '2025-10-22T12:23:02', 'last-modified': '2025-10-22T12:23:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971488'} 2025-10-22 12:23:04,760 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 12:23:04,760 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93028997 passed 2025-10-22 12:23:04,760 - DEBUG - ====Verifying policy data for ctest-vn-93028997 in API_Server ====== 2025-10-22 12:23:04,760 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-22 12:23:04,766 - DEBUG - Requesting: http://10.0.0.241:8082/domain/06c58a4c-2788-492a-a725-2ab9a382808a 2025-10-22 12:23:04,778 - DEBUG - Requesting: http://10.0.0.241:8082/project/013e43f5-9d97-411e-b615-9311f153014b 2025-10-22 12:23:04,848 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3026c8ca-9eb8-4baa-b012-6f14d71c8d9c 2025-10-22 12:23:04,857 - DEBUG - ==>Verifying data for policy with id: 1668a768-b9d2-4896-93eb-d04e366af913, fqn: ['default-domain', 'ctest-TestBasicPolicy-00230108', 'ctest-policy-allow-all-50235258'] 2025-10-22 12:23:04,858 - INFO - VN ctest-vn-93028997 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 12:23:04,858 - DEBUG - Verifying the vn in opserver 2025-10-22 12:23:04,858 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-93028997 virtual network link through opserver 10.0.0.241 2025-10-22 12:23:04,858 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-22 12:23:05,157 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-22 12:23:05,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-93028997', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-93028997?flat'} 2025-10-22 12:23:05,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-93028997 is found in opserver 2025-10-22 12:23:05,231 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 12:23:05,235 - DEBUG - VRF ids for VN ctest-vn-93028997: {} 2025-10-22 12:23:05,235 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-22 12:23:05,242 - DEBUG - Requesting: http://10.0.0.241:8082/domain/06c58a4c-2788-492a-a725-2ab9a382808a 2025-10-22 12:23:05,254 - DEBUG - Requesting: http://10.0.0.241:8082/project/013e43f5-9d97-411e-b615-9311f153014b 2025-10-22 12:23:05,327 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/b7974698-aa92-4c63-b0fc-da7c425c115a 2025-10-22 12:23:05,341 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/b7974698-aa92-4c63-b0fc-da7c425c115a 2025-10-22 12:23:05,350 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/607b12e9-cafb-48ad-b7be-7b4effda2c09 2025-10-22 12:23:05,358 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/607b12e9-cafb-48ad-b7be-7b4effda2c09 2025-10-22 12:23:05,365 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/65cc3c6b-9123-4a77-9a12-4be8848230b4 2025-10-22 12:23:05,373 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 12:23:05,373 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/b7974698-aa92-4c63-b0fc-da7c425c115a 2025-10-22 12:23:05,382 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/607b12e9-cafb-48ad-b7be-7b4effda2c09 2025-10-22 12:23:05,397 - INFO - Verified VN network id 12 for VN b7974698-aa92-4c63-b0fc-da7c425c115a 2025-10-22 12:23:05,397 - INFO - Verifications in API Server for VN ctest-vn-09589691 passed 2025-10-22 12:23:05,397 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/b7974698-aa92-4c63-b0fc-da7c425c115a 2025-10-22 12:23:05,408 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/607b12e9-cafb-48ad-b7be-7b4effda2c09 2025-10-22 12:23:05,417 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/607b12e9-cafb-48ad-b7be-7b4effda2c09 2025-10-22 12:23:05,426 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/65cc3c6b-9123-4a77-9a12-4be8848230b4 2025-10-22 12:23:05,441 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-09589691', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00230108', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13229120051934809187', 'uuid-lslong': '12753308472030531930'}, 'enable': 'true', 'created': '2025-10-22T12:23:03', 'last-modified': '2025-10-22T12:23:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.407130'} 2025-10-22 12:23:05,449 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 12:23:05,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09589691 passed 2025-10-22 12:23:05,450 - DEBUG - ====Verifying policy data for ctest-vn-09589691 in API_Server ====== 2025-10-22 12:23:05,450 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-22 12:23:05,457 - DEBUG - Requesting: http://10.0.0.241:8082/domain/06c58a4c-2788-492a-a725-2ab9a382808a 2025-10-22 12:23:05,470 - DEBUG - Requesting: http://10.0.0.241:8082/project/013e43f5-9d97-411e-b615-9311f153014b 2025-10-22 12:23:05,548 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/b7974698-aa92-4c63-b0fc-da7c425c115a 2025-10-22 12:23:05,560 - DEBUG - ==>Verifying data for policy with id: 1668a768-b9d2-4896-93eb-d04e366af913, fqn: ['default-domain', 'ctest-TestBasicPolicy-00230108', 'ctest-policy-allow-all-50235258'] 2025-10-22 12:23:05,560 - INFO - VN ctest-vn-09589691 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 12:23:05,560 - DEBUG - Verifying the vn in opserver 2025-10-22 12:23:05,560 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-09589691 virtual network link through opserver 10.0.0.241 2025-10-22 12:23:05,560 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-22 12:23:05,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-09589691', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-09589691?flat'} 2025-10-22 12:23:05,570 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-09589691 is found in opserver 2025-10-22 12:23:05,582 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 12:23:05,587 - DEBUG - VRF ids for VN ctest-vn-09589691: {} 2025-10-22 12:23:05,652 - DEBUG - Services list from nova: [, , ] 2025-10-22 12:23:06,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:23:08,014 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:23:08,014 - INFO - Waiting for VM ctest-TestBasicPolicy-00230108-34027157 to be up.. 2025-10-22 12:23:08,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 12:23:13,194 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:23:13,194 - INFO - VM name : ctest-TestBasicPolicy-00230108-34027157 2025-10-22 12:23:13,284 - DEBUG - VM ctest-TestBasicPolicy-00230108-34027157 ID is 29c2b754-2ded-4de3-983c-c9d9425cff7b 2025-10-22 12:23:13,307 - DEBUG - VM ctest-TestBasicPolicy-00230108-34027157 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:23:13,403 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/29c2b754-2ded-4de3-983c-c9d9425cff7b 2025-10-22 12:23:13,414 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/a2e74942-03f1-43fa-a693-d511a1abdff5 2025-10-22 12:23:16,679 - 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 1018ms') 2025-10-22 12:23:16,679 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00230108-34027157 failed! 2025-10-22 12:23:16,736 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00230108:ctest-vn-93028997 is 187.26.103.1 and allocation pool is NOT set 2025-10-22 12:23:18,811 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.691 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.691/5.721/10.751/5.030 ms') 2025-10-22 12:23:18,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00230108-34027157 passed 2025-10-22 12:23:18,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:23:18,984 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00230108-34027157, IP 187.26.103.3, Port 22 2025-10-22 12:23:19,140 - DEBUG - VM ctest-TestBasicPolicy-00230108-34027157 is ready for SSH connections 2025-10-22 12:23:19,140 - INFO - Waiting for VM ctest-TestBasicPolicy-00230108-98007870 to be up.. 2025-10-22 12:23:19,243 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:23:19,243 - INFO - VM name : ctest-TestBasicPolicy-00230108-98007870 2025-10-22 12:23:19,335 - DEBUG - VM ctest-TestBasicPolicy-00230108-98007870 ID is f8bed5c2-3558-4378-8d43-699baf86632a 2025-10-22 12:23:19,335 - DEBUG - VM ctest-TestBasicPolicy-00230108-98007870 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:23:19,419 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/f8bed5c2-3558-4378-8d43-699baf86632a 2025-10-22 12:23:19,429 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/14a4470b-bca6-463f-a527-e23485ca9141 2025-10-22 12:23:20,669 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.981 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.981/2.509/4.037/1.528 ms') 2025-10-22 12:23:20,670 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00230108-98007870 passed 2025-10-22 12:23:20,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:23:20,820 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00230108-98007870, IP 186.69.77.3, Port 22 2025-10-22 12:23:20,976 - DEBUG - VM ctest-TestBasicPolicy-00230108-98007870 is ready for SSH connections 2025-10-22 12:23:20,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:23:20,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.69.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:23:20,976 - DEBUG - ping -s 56 -c 3 -W 1 186.69.77.3 2025-10-22 12:23:25,199 - DEBUG - PING 186.69.77.3 (186.69.77.3): 56 data bytes 64 bytes from 186.69.77.3: seq=0 ttl=63 time=6.456 ms 64 bytes from 186.69.77.3: seq=1 ttl=63 time=1.381 ms 64 bytes from 186.69.77.3: seq=2 ttl=63 time=1.095 ms --- 186.69.77.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.095/2.977/6.456 ms 2025-10-22 12:23:25,199 - INFO - Ping to IP 186.69.77.3 from VM ctest-TestBasicPolicy-00230108-34027157 passed 2025-10-22 12:23:25,391 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1668a768-b9d2-4896-93eb-d04e366af913", "href": "http://10.0.0.241:8082/network-policy/1668a768-b9d2-4896-93eb-d04e366af913"}} 2025-10-22 12:23:25,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:23:25,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.69.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:23:25,392 - DEBUG - ping -s 56 -c 3 -W 1 186.69.77.3 2025-10-22 12:23:28,654 - DEBUG - PING 186.69.77.3 (186.69.77.3): 56 data bytes --- 186.69.77.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 12:23:28,655 - WARNING - Ping to IP 186.69.77.3 from VM ctest-TestBasicPolicy-00230108-34027157 failed 2025-10-22 12:23:28,655 - INFO - Deleting VM ctest-TestBasicPolicy-00230108-98007870 2025-10-22 12:23:28,744 - INFO - Deleting VM ctest-TestBasicPolicy-00230108-34027157 2025-10-22 12:23:29,244 - INFO - Deleted policy ctest-policy-allow-all-50235258 2025-10-22 12:23:29,244 - INFO - Deleting VN ctest-vn-09589691 2025-10-22 12:23:29,313 - DEBUG - VN b7974698-aa92-4c63-b0fc-da7c425c115a still in use: Unable to complete operation on network b7974698-aa92-4c63-b0fc-da7c425c115a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd58528b-a5ce-42fe-8489-75b02f02ce44'] 2025-10-22 12:23:29,313 - WARNING - Deleting VN ctest-vn-09589691 failed..Will retry 2025-10-22 12:23:31,449 - DEBUG - Response for deleting network () 2025-10-22 12:23:31,450 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/607b12e9-cafb-48ad-b7be-7b4effda2c09 2025-10-22 12:23:31,458 - DEBUG - Response Code: 404 2025-10-22 12:23:31,458 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-22 12:23:31,466 - DEBUG - Requesting: http://10.0.0.241:8082/domain/06c58a4c-2788-492a-a725-2ab9a382808a 2025-10-22 12:23:31,525 - DEBUG - Requesting: http://10.0.0.241:8082/project/013e43f5-9d97-411e-b615-9311f153014b 2025-10-22 12:23:31,611 - INFO - Validated that VN ctest-vn-09589691 is not found in API Server 2025-10-22 12:23:31,627 - DEBUG - VN ctest-vn-09589691 is not present in Agent 10.0.0.241 2025-10-22 12:23:31,627 - INFO - Validated that VN ctest-vn-09589691 is not in any agent 2025-10-22 12:23:31,642 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09589691 info 2025-10-22 12:23:31,643 - INFO - Deleting VN ctest-vn-93028997 2025-10-22 12:23:31,784 - DEBUG - Response for deleting network () 2025-10-22 12:23:31,784 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d338cf49-aa8e-4581-9544-2ec18a85aeb2 2025-10-22 12:23:31,793 - DEBUG - Response Code: 404 2025-10-22 12:23:31,793 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-22 12:23:31,802 - DEBUG - Requesting: http://10.0.0.241:8082/domain/06c58a4c-2788-492a-a725-2ab9a382808a 2025-10-22 12:23:31,864 - DEBUG - Requesting: http://10.0.0.241:8082/project/013e43f5-9d97-411e-b615-9311f153014b 2025-10-22 12:23:31,947 - INFO - Validated that VN ctest-vn-93028997 is not found in API Server 2025-10-22 12:23:31,957 - DEBUG - VN ctest-vn-93028997 is not present in Agent 10.0.0.241 2025-10-22 12:23:31,958 - INFO - Validated that VN ctest-vn-93028997 is not in any agent 2025-10-22 12:23:31,973 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93028997 info 2025-10-22 12:23:32,244 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 12:23:32,244 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-10-22 12:23:32,244 - INFO - -------------------------------------------------------------------------------- 2025-10-22 12:23:33,044 - INFO - Deleted project: ctest-TestBasicPolicy-00230108, ID : 013e43f5-9d97-411e-b615-9311f153014b