2025-08-11 15:54:57,902 - INFO - Domain Default found not creating 2025-08-11 15:54:58,025 - INFO - Project ctest-TestBasicPolicy-85268724 not found, creating it 2025-08-11 15:54:58,459 - INFO - Created Project:ctest-TestBasicPolicy-85268724, ID : f4ce786f-c216-44c2-ab63-56efa56ef484 2025-08-11 15:54:59,781 - INFO - ================================================================================ 2025-08-11 15:54:59,781 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 15:54:59,781 - 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-11 15:55:00,037 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 15:55:00,037 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:55:00,037 - INFO - 2025-08-11 15:55:00,555 - DEBUG - Response for create_network : {'network': {'id': '47cf212d-dd0b-4c52-a0d8-83edce066e95', 'name': 'ctest-vn-06091246', 'tenant_id': 'f4ce786fc21644c2ab6356efa56ef484', 'project_id': 'f4ce786fc21644c2ab6356efa56ef484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85268724', 'ctest-vn-06091246'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:55:00,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '401a7568-bf8b-4161-89b0-2b4ca121a7bb', 'name': '', 'tenant_id': 'f4ce786fc21644c2ab6356efa56ef484', 'network_id': '47cf212d-dd0b-4c52-a0d8-83edce066e95', 'ip_version': 4, 'cidr': '92.113.162.192/26', 'allocation_pools': [{'start': '92.113.162.194', 'end': '92.113.162.254'}], 'gateway_ip': '92.113.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.113.162.194', 'tags': [], 'project_id': 'f4ce786fc21644c2ab6356efa56ef484'}} 2025-08-11 15:55:00,724 - INFO - Created VN ctest-vn-06091246 2025-08-11 15:55:00,783 - DEBUG - VN ctest-vn-06091246 UUID is 47cf212d-dd0b-4c52-a0d8-83edce066e95 2025-08-11 15:55:01,082 - DEBUG - Response for create_network : {'network': {'id': '71c7e908-5452-4137-92d8-f6aa1a70748a', 'name': 'ctest-vn-51094549', 'tenant_id': 'f4ce786fc21644c2ab6356efa56ef484', 'project_id': 'f4ce786fc21644c2ab6356efa56ef484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85268724', 'ctest-vn-51094549'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:55:01,278 - DEBUG - Response for create_subnet : {'subnet': {'id': '04b38729-9748-4bac-97e0-dc067e39505c', 'name': '', 'tenant_id': 'f4ce786fc21644c2ab6356efa56ef484', 'network_id': '71c7e908-5452-4137-92d8-f6aa1a70748a', 'ip_version': 4, 'cidr': '211.203.24.64/26', 'allocation_pools': [{'start': '211.203.24.66', 'end': '211.203.24.126'}], 'gateway_ip': '211.203.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.203.24.66', 'tags': [], 'project_id': 'f4ce786fc21644c2ab6356efa56ef484'}} 2025-08-11 15:55:01,294 - INFO - Created VN ctest-vn-51094549 2025-08-11 15:55:01,347 - DEBUG - VN ctest-vn-51094549 UUID is 71c7e908-5452-4137-92d8-f6aa1a70748a 2025-08-11 15:55:01,491 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-06091246, 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-85268724:ctest-vn-51094549, 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-11 15:55:01,775 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47cf212d-dd0b-4c52-a0d8-83edce066e95', 'name': 'ctest-vn-06091246', 'tenant_id': 'f4ce786fc21644c2ab6356efa56ef484', 'project_id': 'f4ce786fc21644c2ab6356efa56ef484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['401a7568-bf8b-4161-89b0-2b4ca121a7bb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85268724', 'ctest-vn-06091246'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85268724', 'ctest-policy-allow-all-68835938']], 'subnet_ipam': [{'subnet_cidr': '92.113.162.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:55:02,036 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '71c7e908-5452-4137-92d8-f6aa1a70748a', 'name': 'ctest-vn-51094549', 'tenant_id': 'f4ce786fc21644c2ab6356efa56ef484', 'project_id': 'f4ce786fc21644c2ab6356efa56ef484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['04b38729-9748-4bac-97e0-dc067e39505c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85268724', 'ctest-vn-51094549'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85268724', 'ctest-policy-allow-all-68835938']], 'subnet_ipam': [{'subnet_cidr': '211.203.24.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:55:02,187 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 15:55:02,480 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 15:55:02,505 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e8e87a2a-62f3-4584-abb6-6cf01af9428d 2025-08-11 15:55:02,517 - DEBUG - Requesting: http://10.0.0.130:8082/project/f4ce786f-c216-44c2-ab63-56efa56ef484 2025-08-11 15:55:02,591 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/47cf212d-dd0b-4c52-a0d8-83edce066e95 2025-08-11 15:55:02,601 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/47cf212d-dd0b-4c52-a0d8-83edce066e95 2025-08-11 15:55:02,609 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/963617f2-0ba6-4146-b21c-bdc66e300655 2025-08-11 15:55:02,616 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/963617f2-0ba6-4146-b21c-bdc66e300655 2025-08-11 15:55:02,622 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/24031c9b-c08e-4d07-af3f-9189eff3f040 2025-08-11 15:55:02,627 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 15:55:02,627 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/47cf212d-dd0b-4c52-a0d8-83edce066e95 2025-08-11 15:55:02,636 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/963617f2-0ba6-4146-b21c-bdc66e300655 2025-08-11 15:55:02,649 - INFO - Verified VN network id 11 for VN 47cf212d-dd0b-4c52-a0d8-83edce066e95 2025-08-11 15:55:02,649 - INFO - Verifications in API Server for VN ctest-vn-06091246 passed 2025-08-11 15:55:02,649 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/47cf212d-dd0b-4c52-a0d8-83edce066e95 2025-08-11 15:55:02,658 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/963617f2-0ba6-4146-b21c-bdc66e300655 2025-08-11 15:55:02,665 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/963617f2-0ba6-4146-b21c-bdc66e300655 2025-08-11 15:55:02,671 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/24031c9b-c08e-4d07-af3f-9189eff3f040 2025-08-11 15:55:02,684 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-06091246', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85268724', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5174390977737739346', 'uuid-lslong': '11590158698424987285'}, 'enable': 'true', 'created': '2025-08-11T15:55:00', 'last-modified': '2025-08-11T15:55:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928952'} 2025-08-11 15:55:02,690 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 15:55:02,690 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06091246 passed 2025-08-11 15:55:02,690 - DEBUG - ====Verifying policy data for ctest-vn-06091246 in API_Server ====== 2025-08-11 15:55:02,690 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 15:55:02,695 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e8e87a2a-62f3-4584-abb6-6cf01af9428d 2025-08-11 15:55:02,705 - DEBUG - Requesting: http://10.0.0.130:8082/project/f4ce786f-c216-44c2-ab63-56efa56ef484 2025-08-11 15:55:02,778 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/47cf212d-dd0b-4c52-a0d8-83edce066e95 2025-08-11 15:55:02,787 - DEBUG - ==>Verifying data for policy with id: 47577ace-4cd5-438e-bae3-784bb61827c5, fqn: ['default-domain', 'ctest-TestBasicPolicy-85268724', 'ctest-policy-allow-all-68835938'] 2025-08-11 15:55:02,788 - INFO - VN ctest-vn-06091246 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 15:55:02,788 - DEBUG - Verifying the vn in opserver 2025-08-11 15:55:02,788 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-06091246 virtual network link through opserver 10.0.0.130 2025-08-11 15:55:02,788 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-11 15:55:03,075 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-11 15:55:03,124 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-06091246', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-06091246?flat'} 2025-08-11 15:55:03,124 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-06091246 is found in opserver 2025-08-11 15:55:03,135 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 15:55:03,140 - DEBUG - VRF ids for VN ctest-vn-06091246: {} 2025-08-11 15:55:03,140 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 15:55:03,145 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e8e87a2a-62f3-4584-abb6-6cf01af9428d 2025-08-11 15:55:03,156 - DEBUG - Requesting: http://10.0.0.130:8082/project/f4ce786f-c216-44c2-ab63-56efa56ef484 2025-08-11 15:55:03,224 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/71c7e908-5452-4137-92d8-f6aa1a70748a 2025-08-11 15:55:03,235 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/71c7e908-5452-4137-92d8-f6aa1a70748a 2025-08-11 15:55:03,244 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec2f9321-343f-4e9b-83b1-76aa32c9ae0a 2025-08-11 15:55:03,252 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec2f9321-343f-4e9b-83b1-76aa32c9ae0a 2025-08-11 15:55:03,258 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1138d6e1-f657-4494-93e7-6ba355192828 2025-08-11 15:55:03,264 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 15:55:03,264 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/71c7e908-5452-4137-92d8-f6aa1a70748a 2025-08-11 15:55:03,273 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec2f9321-343f-4e9b-83b1-76aa32c9ae0a 2025-08-11 15:55:03,285 - INFO - Verified VN network id 12 for VN 71c7e908-5452-4137-92d8-f6aa1a70748a 2025-08-11 15:55:03,285 - INFO - Verifications in API Server for VN ctest-vn-51094549 passed 2025-08-11 15:55:03,285 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/71c7e908-5452-4137-92d8-f6aa1a70748a 2025-08-11 15:55:03,294 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec2f9321-343f-4e9b-83b1-76aa32c9ae0a 2025-08-11 15:55:03,300 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec2f9321-343f-4e9b-83b1-76aa32c9ae0a 2025-08-11 15:55:03,305 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1138d6e1-f657-4494-93e7-6ba355192828 2025-08-11 15:55:03,316 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-51094549', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85268724', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8198777868634964279', 'uuid-lslong': '10581478534955431050'}, 'enable': 'true', 'created': '2025-08-11T15:55:01', 'last-modified': '2025-08-11T15:55:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341944'} 2025-08-11 15:55:03,322 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 15:55:03,323 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51094549 passed 2025-08-11 15:55:03,323 - DEBUG - ====Verifying policy data for ctest-vn-51094549 in API_Server ====== 2025-08-11 15:55:03,323 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 15:55:03,328 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e8e87a2a-62f3-4584-abb6-6cf01af9428d 2025-08-11 15:55:03,338 - DEBUG - Requesting: http://10.0.0.130:8082/project/f4ce786f-c216-44c2-ab63-56efa56ef484 2025-08-11 15:55:03,407 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/71c7e908-5452-4137-92d8-f6aa1a70748a 2025-08-11 15:55:03,416 - DEBUG - ==>Verifying data for policy with id: 47577ace-4cd5-438e-bae3-784bb61827c5, fqn: ['default-domain', 'ctest-TestBasicPolicy-85268724', 'ctest-policy-allow-all-68835938'] 2025-08-11 15:55:03,416 - INFO - VN ctest-vn-51094549 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 15:55:03,416 - DEBUG - Verifying the vn in opserver 2025-08-11 15:55:03,416 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-51094549 virtual network link through opserver 10.0.0.130 2025-08-11 15:55:03,416 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-11 15:55:03,426 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-51094549', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-51094549?flat'} 2025-08-11 15:55:03,426 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-51094549 is found in opserver 2025-08-11 15:55:03,436 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 15:55:03,440 - DEBUG - VRF ids for VN ctest-vn-51094549: {} 2025-08-11 15:55:03,490 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:55:04,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1) 2025-08-11 15:55:05,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1) 2025-08-11 15:55:05,512 - INFO - Waiting for VM ctest-TestBasicPolicy-85268724-88962113 to be up.. 2025-08-11 15:55:05,589 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:55:10,655 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:55:10,655 - INFO - VM name : ctest-TestBasicPolicy-85268724-88962113 2025-08-11 15:55:10,718 - DEBUG - VM ctest-TestBasicPolicy-85268724-88962113 ID is b4c0fcc0-6392-4598-bc56-30a3567b9044 2025-08-11 15:55:10,735 - DEBUG - VM ctest-TestBasicPolicy-85268724-88962113 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1 2025-08-11 15:55:10,794 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b4c0fcc0-6392-4598-bc56-30a3567b9044 2025-08-11 15:55:10,802 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7abea740-d5d4-4a90-85b8-7266763c30aa 2025-08-11 15:55:14,044 - 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 1016ms') 2025-08-11 15:55:14,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85268724-88962113 failed! 2025-08-11 15:55:14,099 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85268724:ctest-vn-06091246 is 92.113.162.193 and allocation pool is NOT set 2025-08-11 15:55:16,157 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/1.506/2.624/1.118 ms') 2025-08-11 15:55:16,157 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85268724-88962113 passed 2025-08-11 15:55:16,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:55:16,311 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85268724-88962113, IP 92.113.162.195, Port 22 2025-08-11 15:55:16,462 - DEBUG - VM ctest-TestBasicPolicy-85268724-88962113 is ready for SSH connections 2025-08-11 15:55:16,462 - INFO - Waiting for VM ctest-TestBasicPolicy-85268724-38617476 to be up.. 2025-08-11 15:55:16,531 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:55:16,531 - INFO - VM name : ctest-TestBasicPolicy-85268724-38617476 2025-08-11 15:55:16,595 - DEBUG - VM ctest-TestBasicPolicy-85268724-38617476 ID is 61ed9571-89a7-47ec-904b-2fd0c948dca3 2025-08-11 15:55:16,595 - DEBUG - VM ctest-TestBasicPolicy-85268724-38617476 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1 2025-08-11 15:55:16,659 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/61ed9571-89a7-47ec-904b-2fd0c948dca3 2025-08-11 15:55:16,667 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ac0f5e78-c782-4436-8f56-c1e07f8429aa 2025-08-11 15:55:17,897 - 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=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.329 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.329/1.530/2.731/1.201 ms') 2025-08-11 15:55:17,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85268724-38617476 passed 2025-08-11 15:55:18,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:55:18,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85268724-38617476, IP 211.203.24.67, Port 22 2025-08-11 15:55:18,202 - DEBUG - VM ctest-TestBasicPolicy-85268724-38617476 is ready for SSH connections 2025-08-11 15:55:18,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:55:18,202 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.203.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 15:55:18,203 - DEBUG - ping -s 56 -c 3 -W 1 211.203.24.67 2025-08-11 15:55:21,861 - DEBUG - PING 211.203.24.67 (211.203.24.67): 56 data bytes 64 bytes from 211.203.24.67: seq=0 ttl=63 time=3.107 ms 64 bytes from 211.203.24.67: seq=1 ttl=63 time=0.926 ms 64 bytes from 211.203.24.67: seq=2 ttl=63 time=0.832 ms --- 211.203.24.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.621/3.107 ms 2025-08-11 15:55:21,861 - INFO - Ping to IP 211.203.24.67 from VM ctest-TestBasicPolicy-85268724-88962113 passed 2025-08-11 15:55:22,035 - DEBUG - Policy Update Response {"network-policy": {"uuid": "47577ace-4cd5-438e-bae3-784bb61827c5", "href": "http://10.0.0.130:8082/network-policy/47577ace-4cd5-438e-bae3-784bb61827c5"}} 2025-08-11 15:55:22,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:55:22,035 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.203.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 15:55:22,035 - DEBUG - ping -s 56 -c 3 -W 1 211.203.24.67 2025-08-11 15:55:25,243 - DEBUG - PING 211.203.24.67 (211.203.24.67): 56 data bytes 64 bytes from 211.203.24.67: seq=0 ttl=63 time=1.440 ms --- 211.203.24.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.440/1.440/1.440 ms 2025-08-11 15:55:25,243 - WARNING - Ping to IP 211.203.24.67 from VM ctest-TestBasicPolicy-85268724-88962113 failed 2025-08-11 15:55:25,244 - INFO - Deleting VM ctest-TestBasicPolicy-85268724-38617476 2025-08-11 15:55:25,311 - INFO - Deleting VM ctest-TestBasicPolicy-85268724-88962113 2025-08-11 15:55:25,666 - INFO - Deleted policy ctest-policy-allow-all-68835938 2025-08-11 15:55:25,666 - INFO - Deleting VN ctest-vn-51094549 2025-08-11 15:55:25,696 - DEBUG - VN 71c7e908-5452-4137-92d8-f6aa1a70748a still in use: Unable to complete operation on network 71c7e908-5452-4137-92d8-f6aa1a70748a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f451f2a-0cc5-4d30-a5cd-a2fb90d9bbc8'] 2025-08-11 15:55:25,696 - WARNING - Deleting VN ctest-vn-51094549 failed..Will retry 2025-08-11 15:55:27,786 - DEBUG - Response for deleting network () 2025-08-11 15:55:27,786 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec2f9321-343f-4e9b-83b1-76aa32c9ae0a 2025-08-11 15:55:27,791 - DEBUG - Response Code: 404 2025-08-11 15:55:27,791 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 15:55:27,796 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e8e87a2a-62f3-4584-abb6-6cf01af9428d 2025-08-11 15:55:27,849 - DEBUG - Requesting: http://10.0.0.130:8082/project/f4ce786f-c216-44c2-ab63-56efa56ef484 2025-08-11 15:55:27,919 - INFO - Validated that VN ctest-vn-51094549 is not found in API Server 2025-08-11 15:55:27,929 - DEBUG - VN ctest-vn-51094549 is not present in Agent 10.0.0.130 2025-08-11 15:55:27,929 - INFO - Validated that VN ctest-vn-51094549 is not in any agent 2025-08-11 15:55:27,943 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51094549 info 2025-08-11 15:55:27,943 - INFO - Deleting VN ctest-vn-06091246 2025-08-11 15:55:28,030 - DEBUG - Response for deleting network () 2025-08-11 15:55:28,030 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/963617f2-0ba6-4146-b21c-bdc66e300655 2025-08-11 15:55:28,038 - DEBUG - Response Code: 404 2025-08-11 15:55:28,038 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-11 15:55:28,043 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e8e87a2a-62f3-4584-abb6-6cf01af9428d 2025-08-11 15:55:28,096 - DEBUG - Requesting: http://10.0.0.130:8082/project/f4ce786f-c216-44c2-ab63-56efa56ef484 2025-08-11 15:55:28,165 - INFO - Validated that VN ctest-vn-06091246 is not found in API Server 2025-08-11 15:55:28,177 - DEBUG - VN ctest-vn-06091246 is not present in Agent 10.0.0.130 2025-08-11 15:55:28,177 - INFO - Validated that VN ctest-vn-06091246 is not in any agent 2025-08-11 15:55:28,191 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06091246 info 2025-08-11 15:55:28,448 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:55:28,448 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-11 15:55:28,449 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:55:29,109 - INFO - Deleted project: ctest-TestBasicPolicy-85268724, ID : f4ce786f-c216-44c2-ab63-56efa56ef484