2025-09-26 02:32:51,634 - INFO - Domain Default found not creating 2025-09-26 02:32:51,773 - INFO - Project ctest-TestBasicPolicy-52416014 not found, creating it 2025-09-26 02:32:52,227 - INFO - Created Project:ctest-TestBasicPolicy-52416014, ID : 3e3c17df-08cf-48cb-b98a-7e3b166a114b 2025-09-26 02:32:53,585 - INFO - ================================================================================ 2025-09-26 02:32:53,585 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-26 02:32:53,585 - 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-09-26 02:32:53,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-26 02:32:53,844 - INFO - Initial checks done. Running the testcase now 2025-09-26 02:32:53,844 - INFO - 2025-09-26 02:32:54,374 - DEBUG - Response for create_network : {'network': {'id': 'd04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2', 'name': 'ctest-vn-45743992', 'tenant_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'project_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52416014', 'ctest-vn-45743992'], 'port_security_enabled': True, 'description': ''}} 2025-09-26 02:32:54,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e0b58d8-53ae-493a-ba9f-f26a22641902', 'name': '', 'tenant_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'network_id': 'd04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2', 'ip_version': 4, 'cidr': '148.177.121.64/26', 'allocation_pools': [{'start': '148.177.121.66', 'end': '148.177.121.126'}], 'gateway_ip': '148.177.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.177.121.66', 'tags': [], 'project_id': '3e3c17df08cf48cbb98a7e3b166a114b'}} 2025-09-26 02:32:54,597 - INFO - Created VN ctest-vn-45743992 2025-09-26 02:32:54,647 - DEBUG - VN ctest-vn-45743992 UUID is d04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2 2025-09-26 02:32:54,962 - DEBUG - Response for create_network : {'network': {'id': '141214e6-d9b9-4626-9ab2-70f00d0e1b27', 'name': 'ctest-vn-79699812', 'tenant_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'project_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52416014', 'ctest-vn-79699812'], 'port_security_enabled': True, 'description': ''}} 2025-09-26 02:32:55,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '37b9e691-2c22-4a44-a85b-8b67e1adc1ee', 'name': '', 'tenant_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'network_id': '141214e6-d9b9-4626-9ab2-70f00d0e1b27', 'ip_version': 4, 'cidr': '2.95.232.0/26', 'allocation_pools': [{'start': '2.95.232.2', 'end': '2.95.232.62'}], 'gateway_ip': '2.95.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.95.232.2', 'tags': [], 'project_id': '3e3c17df08cf48cbb98a7e3b166a114b'}} 2025-09-26 02:32:55,163 - INFO - Created VN ctest-vn-79699812 2025-09-26 02:32:55,215 - DEBUG - VN ctest-vn-79699812 UUID is 141214e6-d9b9-4626-9ab2-70f00d0e1b27 2025-09-26 02:32:55,323 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-45743992, 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-52416014:ctest-vn-79699812, 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-09-26 02:32:55,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2', 'name': 'ctest-vn-45743992', 'tenant_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'project_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e0b58d8-53ae-493a-ba9f-f26a22641902'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52416014', 'ctest-vn-45743992'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52416014', 'ctest-policy-allow-all-04749905']], 'subnet_ipam': [{'subnet_cidr': '148.177.121.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-26 02:32:55,902 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '141214e6-d9b9-4626-9ab2-70f00d0e1b27', 'name': 'ctest-vn-79699812', 'tenant_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'project_id': '3e3c17df08cf48cbb98a7e3b166a114b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37b9e691-2c22-4a44-a85b-8b67e1adc1ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52416014', 'ctest-vn-79699812'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52416014', 'ctest-policy-allow-all-04749905']], 'subnet_ipam': [{'subnet_cidr': '2.95.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-26 02:32:56,047 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-26 02:32:56,352 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-26 02:32:56,389 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2b5d9ff4-c6d3-49fd-bb7b-c85b6abce6db 2025-09-26 02:32:56,401 - DEBUG - Requesting: http://10.0.0.38:8082/project/3e3c17df-08cf-48cb-b98a-7e3b166a114b 2025-09-26 02:32:56,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2 2025-09-26 02:32:56,577 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2 2025-09-26 02:32:56,621 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c93cd8d-0966-4fc9-b657-cde8b760d9da 2025-09-26 02:32:56,629 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c93cd8d-0966-4fc9-b657-cde8b760d9da 2025-09-26 02:32:56,635 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e07e2738-84e5-4703-ad17-f64d9f336c17 2025-09-26 02:32:56,640 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-26 02:32:56,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2 2025-09-26 02:32:56,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c93cd8d-0966-4fc9-b657-cde8b760d9da 2025-09-26 02:32:56,667 - INFO - Verified VN network id 12 for VN d04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2 2025-09-26 02:32:56,667 - INFO - Verifications in API Server for VN ctest-vn-45743992 passed 2025-09-26 02:32:56,667 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2 2025-09-26 02:32:56,678 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c93cd8d-0966-4fc9-b657-cde8b760d9da 2025-09-26 02:32:56,690 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c93cd8d-0966-4fc9-b657-cde8b760d9da 2025-09-26 02:32:56,700 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e07e2738-84e5-4703-ad17-f64d9f336c17 2025-09-26 02:32:56,713 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-45743992', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52416014', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15009982497434060697', 'uuid-lslong': '10368779594018519538'}, 'enable': 'true', 'created': '2025-09-26T02:32:54', 'last-modified': '2025-09-26T02:32:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.109361'} 2025-09-26 02:32:56,723 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-26 02:32:56,723 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45743992 passed 2025-09-26 02:32:56,724 - DEBUG - ====Verifying policy data for ctest-vn-45743992 in API_Server ====== 2025-09-26 02:32:56,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-26 02:32:56,732 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2b5d9ff4-c6d3-49fd-bb7b-c85b6abce6db 2025-09-26 02:32:56,793 - DEBUG - Requesting: http://10.0.0.38:8082/project/3e3c17df-08cf-48cb-b98a-7e3b166a114b 2025-09-26 02:32:56,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04e2b8e-1c63-4799-8fe5-4e1ac7caf9f2 2025-09-26 02:32:56,912 - DEBUG - ==>Verifying data for policy with id: 5e004c40-defb-460f-bd0b-4c84452f1df1, fqn: ['default-domain', 'ctest-TestBasicPolicy-52416014', 'ctest-policy-allow-all-04749905'] 2025-09-26 02:32:56,912 - INFO - VN ctest-vn-45743992 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-26 02:32:56,912 - DEBUG - Verifying the vn in opserver 2025-09-26 02:32:56,912 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-45743992 virtual network link through opserver 10.0.0.38 2025-09-26 02:32:56,912 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-26 02:32:57,216 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-26 02:32:57,264 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-45743992', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-45743992?flat'} 2025-09-26 02:32:57,264 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-45743992 is found in opserver 2025-09-26 02:32:57,272 - DEBUG - Do not have enough data to verify VN in agent 2025-09-26 02:32:57,276 - DEBUG - VRF ids for VN ctest-vn-45743992: {} 2025-09-26 02:32:57,276 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-26 02:32:57,280 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2b5d9ff4-c6d3-49fd-bb7b-c85b6abce6db 2025-09-26 02:32:57,290 - DEBUG - Requesting: http://10.0.0.38:8082/project/3e3c17df-08cf-48cb-b98a-7e3b166a114b 2025-09-26 02:32:57,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/141214e6-d9b9-4626-9ab2-70f00d0e1b27 2025-09-26 02:32:57,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/141214e6-d9b9-4626-9ab2-70f00d0e1b27 2025-09-26 02:32:57,377 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6619d77-152f-49f1-9586-b991576c89c2 2025-09-26 02:32:57,382 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6619d77-152f-49f1-9586-b991576c89c2 2025-09-26 02:32:57,388 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a01df12e-6906-4c4f-bf6d-29db590f7227 2025-09-26 02:32:57,394 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-26 02:32:57,394 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/141214e6-d9b9-4626-9ab2-70f00d0e1b27 2025-09-26 02:32:57,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6619d77-152f-49f1-9586-b991576c89c2 2025-09-26 02:32:57,416 - INFO - Verified VN network id 13 for VN 141214e6-d9b9-4626-9ab2-70f00d0e1b27 2025-09-26 02:32:57,416 - INFO - Verifications in API Server for VN ctest-vn-79699812 passed 2025-09-26 02:32:57,416 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/141214e6-d9b9-4626-9ab2-70f00d0e1b27 2025-09-26 02:32:57,424 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6619d77-152f-49f1-9586-b991576c89c2 2025-09-26 02:32:57,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6619d77-152f-49f1-9586-b991576c89c2 2025-09-26 02:32:57,436 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a01df12e-6906-4c4f-bf6d-29db590f7227 2025-09-26 02:32:57,446 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-79699812', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52416014', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1446241412067182118', 'uuid-lslong': '11147096204008889127'}, 'enable': 'true', 'created': '2025-09-26T02:32:54', 'last-modified': '2025-09-26T02:32:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.609632'} 2025-09-26 02:32:57,453 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-26 02:32:57,454 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79699812 passed 2025-09-26 02:32:57,454 - DEBUG - ====Verifying policy data for ctest-vn-79699812 in API_Server ====== 2025-09-26 02:32:57,454 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-26 02:32:57,459 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2b5d9ff4-c6d3-49fd-bb7b-c85b6abce6db 2025-09-26 02:32:57,471 - DEBUG - Requesting: http://10.0.0.38:8082/project/3e3c17df-08cf-48cb-b98a-7e3b166a114b 2025-09-26 02:32:57,542 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/141214e6-d9b9-4626-9ab2-70f00d0e1b27 2025-09-26 02:32:57,550 - DEBUG - ==>Verifying data for policy with id: 5e004c40-defb-460f-bd0b-4c84452f1df1, fqn: ['default-domain', 'ctest-TestBasicPolicy-52416014', 'ctest-policy-allow-all-04749905'] 2025-09-26 02:32:57,550 - INFO - VN ctest-vn-79699812 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-26 02:32:57,550 - DEBUG - Verifying the vn in opserver 2025-09-26 02:32:57,550 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-79699812 virtual network link through opserver 10.0.0.38 2025-09-26 02:32:57,550 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-26 02:32:57,557 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-79699812', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-79699812?flat'} 2025-09-26 02:32:57,557 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-79699812 is found in opserver 2025-09-26 02:32:57,568 - DEBUG - Do not have enough data to verify VN in agent 2025-09-26 02:32:57,573 - DEBUG - VRF ids for VN ctest-vn-79699812: {} 2025-09-26 02:32:57,625 - DEBUG - Services list from nova: [, , ] 2025-09-26 02:32:58,641 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4197-1) 2025-09-26 02:32:59,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4197-1) 2025-09-26 02:32:59,731 - INFO - Waiting for VM ctest-TestBasicPolicy-52416014-16906160 to be up.. 2025-09-26 02:32:59,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-26 02:33:04,890 - DEBUG - VM is in ACTIVE state now 2025-09-26 02:33:04,891 - INFO - VM name : ctest-TestBasicPolicy-52416014-16906160 2025-09-26 02:33:04,980 - DEBUG - VM ctest-TestBasicPolicy-52416014-16906160 ID is 9a1337a2-c33c-4be4-ab27-39c313e02105 2025-09-26 02:33:04,998 - DEBUG - VM ctest-TestBasicPolicy-52416014-16906160 launched on Node cn-jenkins-deploy-platform-ansible-os-4197-1 2025-09-26 02:33:05,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9a1337a2-c33c-4be4-ab27-39c313e02105 2025-09-26 02:33:05,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5724cb3c-8b90-476e-9ef2-b0436a0a1c5b 2025-09-26 02:33:08,354 - 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 1015ms') 2025-09-26 02:33:08,354 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52416014-16906160 failed! 2025-09-26 02:33:08,407 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52416014:ctest-vn-45743992 is 148.177.121.65 and allocation pool is NOT set 2025-09-26 02:33:10,473 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.659 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.659/5.883/11.108/5.224 ms') 2025-09-26 02:33:10,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52416014-16906160 passed 2025-09-26 02:33:10,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 02:33:10,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52416014-16906160, IP 148.177.121.67, Port 22 2025-09-26 02:33:10,774 - DEBUG - VM ctest-TestBasicPolicy-52416014-16906160 is ready for SSH connections 2025-09-26 02:33:10,774 - INFO - Waiting for VM ctest-TestBasicPolicy-52416014-83229220 to be up.. 2025-09-26 02:33:10,847 - DEBUG - VM is in ACTIVE state now 2025-09-26 02:33:10,847 - INFO - VM name : ctest-TestBasicPolicy-52416014-83229220 2025-09-26 02:33:10,923 - DEBUG - VM ctest-TestBasicPolicy-52416014-83229220 ID is d270c4fc-26b0-4676-a5f3-80c388ca83a1 2025-09-26 02:33:10,923 - DEBUG - VM ctest-TestBasicPolicy-52416014-83229220 launched on Node cn-jenkins-deploy-platform-ansible-os-4197-1 2025-09-26 02:33:11,000 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d270c4fc-26b0-4676-a5f3-80c388ca83a1 2025-09-26 02:33:11,009 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/28b1ec14-45bc-4c0a-96a4-b0c9c575d9a4 2025-09-26 02:33:12,245 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/1.684/2.873/1.189 ms') 2025-09-26 02:33:12,245 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52416014-83229220 passed 2025-09-26 02:33:12,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 02:33:12,395 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52416014-83229220, IP 2.95.232.3, Port 22 2025-09-26 02:33:12,566 - DEBUG - VM ctest-TestBasicPolicy-52416014-83229220 is ready for SSH connections 2025-09-26 02:33:12,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 02:33:12,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.95.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-26 02:33:12,566 - DEBUG - ping -s 56 -c 3 -W 1 2.95.232.3 2025-09-26 02:33:16,252 - DEBUG - PING 2.95.232.3 (2.95.232.3): 56 data bytes 64 bytes from 2.95.232.3: seq=0 ttl=63 time=3.338 ms 64 bytes from 2.95.232.3: seq=1 ttl=63 time=0.913 ms 64 bytes from 2.95.232.3: seq=2 ttl=63 time=0.865 ms --- 2.95.232.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.705/3.338 ms 2025-09-26 02:33:16,252 - INFO - Ping to IP 2.95.232.3 from VM ctest-TestBasicPolicy-52416014-16906160 passed 2025-09-26 02:33:16,426 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5e004c40-defb-460f-bd0b-4c84452f1df1", "href": "http://10.0.0.38:8082/network-policy/5e004c40-defb-460f-bd0b-4c84452f1df1"}} 2025-09-26 02:33:16,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 02:33:16,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.95.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-26 02:33:16,427 - DEBUG - ping -s 56 -c 3 -W 1 2.95.232.3 2025-09-26 02:33:19,623 - DEBUG - PING 2.95.232.3 (2.95.232.3): 56 data bytes --- 2.95.232.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-26 02:33:19,623 - WARNING - Ping to IP 2.95.232.3 from VM ctest-TestBasicPolicy-52416014-16906160 failed 2025-09-26 02:33:19,623 - INFO - Deleting VM ctest-TestBasicPolicy-52416014-83229220 2025-09-26 02:33:19,688 - INFO - Deleting VM ctest-TestBasicPolicy-52416014-16906160 2025-09-26 02:33:20,036 - INFO - Deleted policy ctest-policy-allow-all-04749905 2025-09-26 02:33:20,036 - INFO - Deleting VN ctest-vn-79699812 2025-09-26 02:33:20,079 - DEBUG - VN 141214e6-d9b9-4626-9ab2-70f00d0e1b27 still in use: Unable to complete operation on network 141214e6-d9b9-4626-9ab2-70f00d0e1b27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71b190b6-8b5c-4688-813b-4ac2ae64ec8e'] 2025-09-26 02:33:20,079 - WARNING - Deleting VN ctest-vn-79699812 failed..Will retry 2025-09-26 02:33:22,184 - DEBUG - Response for deleting network () 2025-09-26 02:33:22,184 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c6619d77-152f-49f1-9586-b991576c89c2 2025-09-26 02:33:22,191 - DEBUG - Response Code: 404 2025-09-26 02:33:22,191 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-26 02:33:22,195 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2b5d9ff4-c6d3-49fd-bb7b-c85b6abce6db 2025-09-26 02:33:22,248 - DEBUG - Requesting: http://10.0.0.38:8082/project/3e3c17df-08cf-48cb-b98a-7e3b166a114b 2025-09-26 02:33:22,325 - INFO - Validated that VN ctest-vn-79699812 is not found in API Server 2025-09-26 02:33:22,334 - DEBUG - VN ctest-vn-79699812 is not present in Agent 10.0.0.38 2025-09-26 02:33:22,334 - INFO - Validated that VN ctest-vn-79699812 is not in any agent 2025-09-26 02:33:22,346 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79699812 info 2025-09-26 02:33:22,346 - INFO - Deleting VN ctest-vn-45743992 2025-09-26 02:33:22,438 - DEBUG - Response for deleting network () 2025-09-26 02:33:22,438 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c93cd8d-0966-4fc9-b657-cde8b760d9da 2025-09-26 02:33:22,444 - DEBUG - Response Code: 404 2025-09-26 02:33:22,444 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-26 02:33:22,449 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2b5d9ff4-c6d3-49fd-bb7b-c85b6abce6db 2025-09-26 02:33:22,499 - DEBUG - Requesting: http://10.0.0.38:8082/project/3e3c17df-08cf-48cb-b98a-7e3b166a114b 2025-09-26 02:33:22,570 - INFO - Validated that VN ctest-vn-45743992 is not found in API Server 2025-09-26 02:33:22,580 - DEBUG - VN ctest-vn-45743992 is not present in Agent 10.0.0.38 2025-09-26 02:33:22,580 - INFO - Validated that VN ctest-vn-45743992 is not in any agent 2025-09-26 02:33:22,592 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45743992 info 2025-09-26 02:33:22,852 - DEBUG - No XMPP flaps were noticed during the test
2025-09-26 02:33:22,852 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-26 02:33:22,853 - INFO - -------------------------------------------------------------------------------- 2025-09-26 02:33:23,519 - INFO - Deleted project: ctest-TestBasicPolicy-52416014, ID : 3e3c17df-08cf-48cb-b98a-7e3b166a114b