2025-08-14 14:28:25,070 - INFO - Domain Default found not creating 2025-08-14 14:28:25,204 - INFO - Project ctest-TestBasicPolicy-71973620 not found, creating it 2025-08-14 14:28:25,664 - INFO - Created Project:ctest-TestBasicPolicy-71973620, ID : 79cc03e6-2a27-464c-bf29-97227f69e34d 2025-08-14 14:28:27,158 - INFO - ================================================================================ 2025-08-14 14:28:27,158 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-14 14:28:27,158 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-08-14 14:28:27,417 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.0.0.249': '0'}} with 2025-08-14 14:28:27,417 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:28:27,417 - INFO - 2025-08-14 14:28:28,609 - DEBUG - Response for create_network : {'network': {'id': 'b9fa9d7d-f233-444c-8b15-fb521f8d4ba7', 'name': 'ctest-vn-39878174', 'tenant_id': '79cc03e62a27464cbf2997227f69e34d', 'project_id': '79cc03e62a27464cbf2997227f69e34d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71973620', 'ctest-vn-39878174'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:28:28,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da5e0f45-7ee4-4b27-b407-f7f7e688c5a2', 'name': '', 'tenant_id': '79cc03e62a27464cbf2997227f69e34d', 'network_id': 'b9fa9d7d-f233-444c-8b15-fb521f8d4ba7', 'ip_version': 4, 'cidr': '71.80.174.128/26', 'allocation_pools': [{'start': '71.80.174.130', 'end': '71.80.174.190'}], 'gateway_ip': '71.80.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.80.174.130', 'tags': [], 'project_id': '79cc03e62a27464cbf2997227f69e34d'}} 2025-08-14 14:28:28,787 - INFO - Created VN ctest-vn-39878174 2025-08-14 14:28:28,841 - DEBUG - VN ctest-vn-39878174 UUID is b9fa9d7d-f233-444c-8b15-fb521f8d4ba7 2025-08-14 14:28:29,183 - DEBUG - Response for create_network : {'network': {'id': '35d860d2-f786-4209-ad39-c25efc642ae0', 'name': 'ctest-vn-58472583', 'tenant_id': '79cc03e62a27464cbf2997227f69e34d', 'project_id': '79cc03e62a27464cbf2997227f69e34d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71973620', 'ctest-vn-58472583'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:28:29,428 - DEBUG - Response for create_subnet : {'subnet': {'id': '64d294f2-aa3c-4c03-be35-5958ccc411db', 'name': '', 'tenant_id': '79cc03e62a27464cbf2997227f69e34d', 'network_id': '35d860d2-f786-4209-ad39-c25efc642ae0', 'ip_version': 4, 'cidr': '100.57.45.64/26', 'allocation_pools': [{'start': '100.57.45.66', 'end': '100.57.45.126'}], 'gateway_ip': '100.57.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.57.45.66', 'tags': [], 'project_id': '79cc03e62a27464cbf2997227f69e34d'}} 2025-08-14 14:28:29,445 - INFO - Created VN ctest-vn-58472583 2025-08-14 14:28:29,497 - DEBUG - VN ctest-vn-58472583 UUID is 35d860d2-f786-4209-ad39-c25efc642ae0 2025-08-14 14:28:29,608 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-39878174, 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-71973620:ctest-vn-58472583, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-08-14 14:28:29,905 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b9fa9d7d-f233-444c-8b15-fb521f8d4ba7', 'name': 'ctest-vn-39878174', 'tenant_id': '79cc03e62a27464cbf2997227f69e34d', 'project_id': '79cc03e62a27464cbf2997227f69e34d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da5e0f45-7ee4-4b27-b407-f7f7e688c5a2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71973620', 'ctest-vn-39878174'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71973620', 'ctest-policy-allow-all-16456844']], 'subnet_ipam': [{'subnet_cidr': '71.80.174.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:28:30,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35d860d2-f786-4209-ad39-c25efc642ae0', 'name': 'ctest-vn-58472583', 'tenant_id': '79cc03e62a27464cbf2997227f69e34d', 'project_id': '79cc03e62a27464cbf2997227f69e34d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64d294f2-aa3c-4c03-be35-5958ccc411db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71973620', 'ctest-vn-58472583'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71973620', 'ctest-policy-allow-all-16456844']], 'subnet_ipam': [{'subnet_cidr': '100.57.45.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:28:30,313 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-14 14:28:30,647 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-14 14:28:30,675 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a0cb9ab4-4bf2-4823-bccf-e0f31e6c7a8d 2025-08-14 14:28:30,688 - DEBUG - Requesting: http://10.0.0.249:8082/project/79cc03e6-2a27-464c-bf29-97227f69e34d 2025-08-14 14:28:30,763 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b9fa9d7d-f233-444c-8b15-fb521f8d4ba7 2025-08-14 14:28:30,773 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b9fa9d7d-f233-444c-8b15-fb521f8d4ba7 2025-08-14 14:28:30,782 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ae286016-b8f2-4650-b6e0-bd7765f38886 2025-08-14 14:28:30,789 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ae286016-b8f2-4650-b6e0-bd7765f38886 2025-08-14 14:28:30,794 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c484dc2d-d17c-48ee-a82d-ac7c101117fb 2025-08-14 14:28:30,799 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 14:28:30,799 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b9fa9d7d-f233-444c-8b15-fb521f8d4ba7 2025-08-14 14:28:30,807 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ae286016-b8f2-4650-b6e0-bd7765f38886 2025-08-14 14:28:30,819 - INFO - Verified VN network id 10 for VN b9fa9d7d-f233-444c-8b15-fb521f8d4ba7 2025-08-14 14:28:30,819 - INFO - Verifications in API Server for VN ctest-vn-39878174 passed 2025-08-14 14:28:30,819 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b9fa9d7d-f233-444c-8b15-fb521f8d4ba7 2025-08-14 14:28:30,828 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ae286016-b8f2-4650-b6e0-bd7765f38886 2025-08-14 14:28:30,833 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ae286016-b8f2-4650-b6e0-bd7765f38886 2025-08-14 14:28:30,839 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c484dc2d-d17c-48ee-a82d-ac7c101117fb 2025-08-14 14:28:30,849 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-39878174', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71973620', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13401196805454251084', 'uuid-lslong': '10022192875918150567'}, 'enable': 'true', 'created': '2025-08-14T14:28:28', 'last-modified': '2025-08-14T14:28:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975734'} 2025-08-14 14:28:30,855 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 14:28:30,855 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39878174 passed 2025-08-14 14:28:30,855 - DEBUG - ====Verifying policy data for ctest-vn-39878174 in API_Server ====== 2025-08-14 14:28:30,855 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-14 14:28:30,860 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a0cb9ab4-4bf2-4823-bccf-e0f31e6c7a8d 2025-08-14 14:28:30,870 - DEBUG - Requesting: http://10.0.0.249:8082/project/79cc03e6-2a27-464c-bf29-97227f69e34d 2025-08-14 14:28:30,938 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b9fa9d7d-f233-444c-8b15-fb521f8d4ba7 2025-08-14 14:28:30,947 - DEBUG - ==>Verifying data for policy with id: dc1c8bae-53af-458c-8d42-38c8e95f1d62, fqn: ['default-domain', 'ctest-TestBasicPolicy-71973620', 'ctest-policy-allow-all-16456844'] 2025-08-14 14:28:30,947 - INFO - VN ctest-vn-39878174 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 14:28:30,947 - DEBUG - Verifying the vn in opserver 2025-08-14 14:28:30,947 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-39878174 virtual network link through opserver 10.0.0.249 2025-08-14 14:28:30,948 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-14 14:28:31,276 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-14 14:28:31,329 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-39878174', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-39878174?flat'} 2025-08-14 14:28:31,329 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-39878174 is found in opserver 2025-08-14 14:28:31,339 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 14:28:31,344 - DEBUG - VRF ids for VN ctest-vn-39878174: {} 2025-08-14 14:28:31,344 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-14 14:28:31,350 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a0cb9ab4-4bf2-4823-bccf-e0f31e6c7a8d 2025-08-14 14:28:31,363 - DEBUG - Requesting: http://10.0.0.249:8082/project/79cc03e6-2a27-464c-bf29-97227f69e34d 2025-08-14 14:28:31,439 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/35d860d2-f786-4209-ad39-c25efc642ae0 2025-08-14 14:28:31,450 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/35d860d2-f786-4209-ad39-c25efc642ae0 2025-08-14 14:28:31,459 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1dbd4799-dbe5-40f6-805b-100be2df3edd 2025-08-14 14:28:31,465 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1dbd4799-dbe5-40f6-805b-100be2df3edd 2025-08-14 14:28:31,471 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f1f5fe32-7821-4e55-9e56-9e68102c25ef 2025-08-14 14:28:31,476 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 14:28:31,476 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/35d860d2-f786-4209-ad39-c25efc642ae0 2025-08-14 14:28:31,484 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1dbd4799-dbe5-40f6-805b-100be2df3edd 2025-08-14 14:28:31,497 - INFO - Verified VN network id 11 for VN 35d860d2-f786-4209-ad39-c25efc642ae0 2025-08-14 14:28:31,497 - INFO - Verifications in API Server for VN ctest-vn-58472583 passed 2025-08-14 14:28:31,497 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/35d860d2-f786-4209-ad39-c25efc642ae0 2025-08-14 14:28:31,507 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1dbd4799-dbe5-40f6-805b-100be2df3edd 2025-08-14 14:28:31,513 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1dbd4799-dbe5-40f6-805b-100be2df3edd 2025-08-14 14:28:31,519 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f1f5fe32-7821-4e55-9e56-9e68102c25ef 2025-08-14 14:28:31,531 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-58472583', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71973620', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3879957538191852041', 'uuid-lslong': '12482221555451177696'}, 'enable': 'true', 'created': '2025-08-14T14:28:29', 'last-modified': '2025-08-14T14:28:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.417093'} 2025-08-14 14:28:31,538 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 14:28:31,538 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58472583 passed 2025-08-14 14:28:31,538 - DEBUG - ====Verifying policy data for ctest-vn-58472583 in API_Server ====== 2025-08-14 14:28:31,538 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-14 14:28:31,544 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a0cb9ab4-4bf2-4823-bccf-e0f31e6c7a8d 2025-08-14 14:28:31,554 - DEBUG - Requesting: http://10.0.0.249:8082/project/79cc03e6-2a27-464c-bf29-97227f69e34d 2025-08-14 14:28:31,628 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/35d860d2-f786-4209-ad39-c25efc642ae0 2025-08-14 14:28:31,638 - DEBUG - ==>Verifying data for policy with id: dc1c8bae-53af-458c-8d42-38c8e95f1d62, fqn: ['default-domain', 'ctest-TestBasicPolicy-71973620', 'ctest-policy-allow-all-16456844'] 2025-08-14 14:28:31,638 - INFO - VN ctest-vn-58472583 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 14:28:31,638 - DEBUG - Verifying the vn in opserver 2025-08-14 14:28:31,638 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-58472583 virtual network link through opserver 10.0.0.249 2025-08-14 14:28:31,638 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-14 14:28:31,648 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-58472583', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-58472583?flat'} 2025-08-14 14:28:31,649 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-58472583 is found in opserver 2025-08-14 14:28:31,658 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 14:28:31,663 - DEBUG - VRF ids for VN ctest-vn-58472583: {} 2025-08-14 14:28:31,720 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:28:32,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:28:34,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:28:34,006 - INFO - Waiting for VM ctest-TestBasicPolicy-71973620-36093556 to be up.. 2025-08-14 14:28:34,087 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:28:39,161 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:28:39,161 - INFO - VM name : ctest-TestBasicPolicy-71973620-36093556 2025-08-14 14:28:39,234 - DEBUG - VM ctest-TestBasicPolicy-71973620-36093556 ID is 81d58fe3-92de-44d3-b9a5-8062b626d0f6 2025-08-14 14:28:39,253 - DEBUG - VM ctest-TestBasicPolicy-71973620-36093556 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:28:39,335 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/81d58fe3-92de-44d3-b9a5-8062b626d0f6 2025-08-14 14:28:39,343 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/147207de-80e0-4f60-a672-ae3d00898a54 2025-08-14 14:28:42,588 - 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 1011ms') 2025-08-14 14:28:42,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71973620-36093556 failed! 2025-08-14 14:28:42,649 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71973620:ctest-vn-39878174 is 71.80.174.129 and allocation pool is NOT set 2025-08-14 14:28:46,717 - 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=2 ttl=63 time=3.91 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 3.908/3.908/3.908/0.000 ms') 2025-08-14 14:28:46,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71973620-36093556 passed 2025-08-14 14:28:46,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:28:46,870 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71973620-36093556, IP 71.80.174.131, Port 22 2025-08-14 14:28:47,025 - DEBUG - VM ctest-TestBasicPolicy-71973620-36093556 is ready for SSH connections 2025-08-14 14:28:47,026 - INFO - Waiting for VM ctest-TestBasicPolicy-71973620-51827440 to be up.. 2025-08-14 14:28:47,103 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:28:47,103 - INFO - VM name : ctest-TestBasicPolicy-71973620-51827440 2025-08-14 14:28:47,185 - DEBUG - VM ctest-TestBasicPolicy-71973620-51827440 ID is 7aa26941-229e-449c-b7f6-aa1192a6ad7e 2025-08-14 14:28:47,185 - DEBUG - VM ctest-TestBasicPolicy-71973620-51827440 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:28:47,257 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7aa26941-229e-449c-b7f6-aa1192a6ad7e 2025-08-14 14:28:47,265 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1d263fee-0117-4a30-b38d-433d3d01334e 2025-08-14 14:28:48,510 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.52 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 = 1.517/3.083/4.650/1.566 ms') 2025-08-14 14:28:48,510 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71973620-51827440 passed 2025-08-14 14:28:48,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:28:48,665 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71973620-51827440, IP 100.57.45.67, Port 22 2025-08-14 14:28:48,821 - DEBUG - VM ctest-TestBasicPolicy-71973620-51827440 is ready for SSH connections 2025-08-14 14:28:48,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:28:48,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.57.45.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:28:48,821 - DEBUG - ping -s 56 -c 3 -W 1 100.57.45.67 2025-08-14 14:28:52,897 - DEBUG - PING 100.57.45.67 (100.57.45.67): 56 data bytes 64 bytes from 100.57.45.67: seq=0 ttl=63 time=3.763 ms 64 bytes from 100.57.45.67: seq=1 ttl=63 time=0.893 ms 64 bytes from 100.57.45.67: seq=2 ttl=63 time=0.854 ms --- 100.57.45.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/1.836/3.763 ms 2025-08-14 14:28:52,897 - INFO - Ping to IP 100.57.45.67 from VM ctest-TestBasicPolicy-71973620-36093556 passed 2025-08-14 14:28:53,081 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dc1c8bae-53af-458c-8d42-38c8e95f1d62", "href": "http://10.0.0.249:8082/network-policy/dc1c8bae-53af-458c-8d42-38c8e95f1d62"}} 2025-08-14 14:28:53,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:28:53,081 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.57.45.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:28:53,082 - DEBUG - ping -s 56 -c 3 -W 1 100.57.45.67 2025-08-14 14:28:56,297 - DEBUG - PING 100.57.45.67 (100.57.45.67): 56 data bytes --- 100.57.45.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 14:28:56,297 - WARNING - Ping to IP 100.57.45.67 from VM ctest-TestBasicPolicy-71973620-36093556 failed 2025-08-14 14:28:56,297 - INFO - Deleting VM ctest-TestBasicPolicy-71973620-51827440 2025-08-14 14:28:56,360 - INFO - Deleting VM ctest-TestBasicPolicy-71973620-36093556 2025-08-14 14:28:56,731 - INFO - Deleted policy ctest-policy-allow-all-16456844 2025-08-14 14:28:56,732 - INFO - Deleting VN ctest-vn-58472583 2025-08-14 14:28:56,770 - DEBUG - VN 35d860d2-f786-4209-ad39-c25efc642ae0 still in use: Unable to complete operation on network 35d860d2-f786-4209-ad39-c25efc642ae0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48181e75-4495-4d19-9ef8-a8b7dfa83568'] 2025-08-14 14:28:56,770 - WARNING - Deleting VN ctest-vn-58472583 failed..Will retry 2025-08-14 14:28:58,879 - DEBUG - Response for deleting network () 2025-08-14 14:28:58,880 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1dbd4799-dbe5-40f6-805b-100be2df3edd 2025-08-14 14:28:58,886 - DEBUG - Response Code: 404 2025-08-14 14:28:58,887 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-14 14:28:58,891 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a0cb9ab4-4bf2-4823-bccf-e0f31e6c7a8d 2025-08-14 14:28:58,947 - DEBUG - Requesting: http://10.0.0.249:8082/project/79cc03e6-2a27-464c-bf29-97227f69e34d 2025-08-14 14:28:59,022 - INFO - Validated that VN ctest-vn-58472583 is not found in API Server 2025-08-14 14:28:59,032 - DEBUG - VN ctest-vn-58472583 is not present in Agent 10.0.0.249 2025-08-14 14:28:59,032 - INFO - Validated that VN ctest-vn-58472583 is not in any agent 2025-08-14 14:28:59,046 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58472583 info 2025-08-14 14:28:59,046 - INFO - Deleting VN ctest-vn-39878174 2025-08-14 14:28:59,156 - DEBUG - Response for deleting network () 2025-08-14 14:28:59,156 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ae286016-b8f2-4650-b6e0-bd7765f38886 2025-08-14 14:28:59,161 - DEBUG - Response Code: 404 2025-08-14 14:28:59,162 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-14 14:28:59,166 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a0cb9ab4-4bf2-4823-bccf-e0f31e6c7a8d 2025-08-14 14:28:59,218 - DEBUG - Requesting: http://10.0.0.249:8082/project/79cc03e6-2a27-464c-bf29-97227f69e34d 2025-08-14 14:28:59,296 - INFO - Validated that VN ctest-vn-39878174 is not found in API Server 2025-08-14 14:28:59,306 - DEBUG - VN ctest-vn-39878174 is not present in Agent 10.0.0.249 2025-08-14 14:28:59,306 - INFO - Validated that VN ctest-vn-39878174 is not in any agent 2025-08-14 14:28:59,320 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39878174 info 2025-08-14 14:28:59,583 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:28:59,583 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2025-08-14 14:28:59,583 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:29:00,291 - INFO - Deleted project: ctest-TestBasicPolicy-71973620, ID : 79cc03e6-2a27-464c-bf29-97227f69e34d