2025-10-17 21:33:26,698 - INFO - Domain Default found not creating 2025-10-17 21:33:26,876 - INFO - Project ctest-TestBasicPolicy-51316767 not found, creating it 2025-10-17 21:33:27,377 - INFO - Created Project:ctest-TestBasicPolicy-51316767, ID : 1dfbb1a8-d6c3-4cc5-b017-f3a177b2281d 2025-10-17 21:33:28,951 - INFO - ================================================================================ 2025-10-17 21:33:28,951 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-17 21:33:28,951 - 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-17 21:33:29,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-10-17 21:33:29,221 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:33:29,221 - INFO - 2025-10-17 21:33:29,822 - DEBUG - Response for create_network : {'network': {'id': '516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a', 'name': 'ctest-vn-06470514', 'tenant_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'project_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51316767', 'ctest-vn-06470514'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:33:30,033 - DEBUG - Response for create_subnet : {'subnet': {'id': '1aa26fe8-58a1-4558-bfe6-195e41a5c5a7', 'name': '', 'tenant_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'network_id': '516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a', 'ip_version': 4, 'cidr': '122.60.1.64/26', 'allocation_pools': [{'start': '122.60.1.66', 'end': '122.60.1.126'}], 'gateway_ip': '122.60.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.60.1.66', 'tags': [], 'project_id': '1dfbb1a8d6c34cc5b017f3a177b2281d'}} 2025-10-17 21:33:30,056 - INFO - Created VN ctest-vn-06470514 2025-10-17 21:33:30,110 - DEBUG - VN ctest-vn-06470514 UUID is 516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a 2025-10-17 21:33:30,420 - DEBUG - Response for create_network : {'network': {'id': 'e8ba8d31-018a-41d7-842b-513ca7f9bd18', 'name': 'ctest-vn-91596269', 'tenant_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'project_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51316767', 'ctest-vn-91596269'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:33:30,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '0aef69e8-d9aa-43c5-b380-5ba6b2a24c90', 'name': '', 'tenant_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'network_id': 'e8ba8d31-018a-41d7-842b-513ca7f9bd18', 'ip_version': 4, 'cidr': '60.225.186.64/26', 'allocation_pools': [{'start': '60.225.186.66', 'end': '60.225.186.126'}], 'gateway_ip': '60.225.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.225.186.66', 'tags': [], 'project_id': '1dfbb1a8d6c34cc5b017f3a177b2281d'}} 2025-10-17 21:33:30,617 - INFO - Created VN ctest-vn-91596269 2025-10-17 21:33:30,670 - DEBUG - VN ctest-vn-91596269 UUID is e8ba8d31-018a-41d7-842b-513ca7f9bd18 2025-10-17 21:33:30,787 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-06470514, 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-51316767:ctest-vn-91596269, 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-17 21:33:31,093 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a', 'name': 'ctest-vn-06470514', 'tenant_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'project_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1aa26fe8-58a1-4558-bfe6-195e41a5c5a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51316767', 'ctest-vn-06470514'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51316767', 'ctest-policy-allow-all-58566434']], 'subnet_ipam': [{'subnet_cidr': '122.60.1.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:33:31,335 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e8ba8d31-018a-41d7-842b-513ca7f9bd18', 'name': 'ctest-vn-91596269', 'tenant_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'project_id': '1dfbb1a8d6c34cc5b017f3a177b2281d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0aef69e8-d9aa-43c5-b380-5ba6b2a24c90'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51316767', 'ctest-vn-91596269'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51316767', 'ctest-policy-allow-all-58566434']], 'subnet_ipam': [{'subnet_cidr': '60.225.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:33:31,498 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-17 21:33:31,801 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-17 21:33:31,834 - DEBUG - Requesting: http://10.0.0.49:8082/domain/697ac883-7292-4624-826f-3acdf3af7702 2025-10-17 21:33:31,849 - DEBUG - Requesting: http://10.0.0.49:8082/project/1dfbb1a8-d6c3-4cc5-b017-f3a177b2281d 2025-10-17 21:33:31,929 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a 2025-10-17 21:33:31,940 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a 2025-10-17 21:33:31,949 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/641946c1-e37c-40c8-bf3d-4bdd9d5556dd 2025-10-17 21:33:31,957 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/641946c1-e37c-40c8-bf3d-4bdd9d5556dd 2025-10-17 21:33:31,966 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/9bd77afc-f694-48d1-b022-5e84182a7a1d 2025-10-17 21:33:31,973 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 21:33:31,973 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a 2025-10-17 21:33:31,983 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/641946c1-e37c-40c8-bf3d-4bdd9d5556dd 2025-10-17 21:33:32,000 - INFO - Verified VN network id 11 for VN 516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a 2025-10-17 21:33:32,000 - INFO - Verifications in API Server for VN ctest-vn-06470514 passed 2025-10-17 21:33:32,001 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a 2025-10-17 21:33:32,012 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/641946c1-e37c-40c8-bf3d-4bdd9d5556dd 2025-10-17 21:33:32,020 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/641946c1-e37c-40c8-bf3d-4bdd9d5556dd 2025-10-17 21:33:32,029 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/9bd77afc-f694-48d1-b022-5e84182a7a1d 2025-10-17 21:33:32,042 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-06470514', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51316767', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5867804582859066272', 'uuid-lslong': '12753469351353600618'}, 'enable': 'true', 'created': '2025-10-17T21:33:29', 'last-modified': '2025-10-17T21:33:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974840'} 2025-10-17 21:33:32,048 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 21:33:32,048 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06470514 passed 2025-10-17 21:33:32,048 - DEBUG - ====Verifying policy data for ctest-vn-06470514 in API_Server ====== 2025-10-17 21:33:32,048 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-17 21:33:32,054 - DEBUG - Requesting: http://10.0.0.49:8082/domain/697ac883-7292-4624-826f-3acdf3af7702 2025-10-17 21:33:32,066 - DEBUG - Requesting: http://10.0.0.49:8082/project/1dfbb1a8-d6c3-4cc5-b017-f3a177b2281d 2025-10-17 21:33:32,138 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/516ea12d-dcb9-4ba0-b0fd-6ccde5434a6a 2025-10-17 21:33:32,148 - DEBUG - ==>Verifying data for policy with id: fc5406a9-e39f-4a94-856c-192db48f4295, fqn: ['default-domain', 'ctest-TestBasicPolicy-51316767', 'ctest-policy-allow-all-58566434'] 2025-10-17 21:33:32,148 - INFO - VN ctest-vn-06470514 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 21:33:32,148 - DEBUG - Verifying the vn in opserver 2025-10-17 21:33:32,148 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-06470514 virtual network link through opserver 10.0.0.49 2025-10-17 21:33:32,148 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-10-17 21:33:32,461 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-10-17 21:33:32,528 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-06470514', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-06470514?flat'} 2025-10-17 21:33:32,528 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-06470514 is found in opserver 2025-10-17 21:33:32,541 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 21:33:32,547 - DEBUG - VRF ids for VN ctest-vn-06470514: {} 2025-10-17 21:33:32,547 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-17 21:33:32,553 - DEBUG - Requesting: http://10.0.0.49:8082/domain/697ac883-7292-4624-826f-3acdf3af7702 2025-10-17 21:33:32,566 - DEBUG - Requesting: http://10.0.0.49:8082/project/1dfbb1a8-d6c3-4cc5-b017-f3a177b2281d 2025-10-17 21:33:32,641 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e8ba8d31-018a-41d7-842b-513ca7f9bd18 2025-10-17 21:33:32,655 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e8ba8d31-018a-41d7-842b-513ca7f9bd18 2025-10-17 21:33:32,666 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/101d16b6-3536-4eab-b542-388a24a1a807 2025-10-17 21:33:32,676 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/101d16b6-3536-4eab-b542-388a24a1a807 2025-10-17 21:33:32,685 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/8e873e64-54a4-4093-bdcf-b32dc1db4fb1 2025-10-17 21:33:32,694 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 21:33:32,694 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e8ba8d31-018a-41d7-842b-513ca7f9bd18 2025-10-17 21:33:32,705 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/101d16b6-3536-4eab-b542-388a24a1a807 2025-10-17 21:33:32,723 - INFO - Verified VN network id 12 for VN e8ba8d31-018a-41d7-842b-513ca7f9bd18 2025-10-17 21:33:32,723 - INFO - Verifications in API Server for VN ctest-vn-91596269 passed 2025-10-17 21:33:32,723 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e8ba8d31-018a-41d7-842b-513ca7f9bd18 2025-10-17 21:33:32,735 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/101d16b6-3536-4eab-b542-388a24a1a807 2025-10-17 21:33:32,744 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/101d16b6-3536-4eab-b542-388a24a1a807 2025-10-17 21:33:32,753 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/8e873e64-54a4-4093-bdcf-b32dc1db4fb1 2025-10-17 21:33:32,766 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-91596269', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51316767', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16769871404086215127', 'uuid-lslong': '9523795157963095320'}, 'enable': 'true', 'created': '2025-10-17T21:33:30', 'last-modified': '2025-10-17T21:33:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.461267'} 2025-10-17 21:33:32,774 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 21:33:32,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91596269 passed 2025-10-17 21:33:32,774 - DEBUG - ====Verifying policy data for ctest-vn-91596269 in API_Server ====== 2025-10-17 21:33:32,774 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-17 21:33:32,782 - DEBUG - Requesting: http://10.0.0.49:8082/domain/697ac883-7292-4624-826f-3acdf3af7702 2025-10-17 21:33:32,793 - DEBUG - Requesting: http://10.0.0.49:8082/project/1dfbb1a8-d6c3-4cc5-b017-f3a177b2281d 2025-10-17 21:33:32,869 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e8ba8d31-018a-41d7-842b-513ca7f9bd18 2025-10-17 21:33:32,878 - DEBUG - ==>Verifying data for policy with id: fc5406a9-e39f-4a94-856c-192db48f4295, fqn: ['default-domain', 'ctest-TestBasicPolicy-51316767', 'ctest-policy-allow-all-58566434'] 2025-10-17 21:33:32,878 - INFO - VN ctest-vn-91596269 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 21:33:32,878 - DEBUG - Verifying the vn in opserver 2025-10-17 21:33:32,878 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-91596269 virtual network link through opserver 10.0.0.49 2025-10-17 21:33:32,878 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-10-17 21:33:32,890 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-91596269', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-91596269?flat'} 2025-10-17 21:33:32,890 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-91596269 is found in opserver 2025-10-17 21:33:32,902 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 21:33:32,907 - DEBUG - VRF ids for VN ctest-vn-91596269: {} 2025-10-17 21:33:32,972 - DEBUG - Services list from nova: [, , ] 2025-10-17 21:33:34,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4358-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4358-1) 2025-10-17 21:33:35,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4358-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4358-1) 2025-10-17 21:33:35,308 - INFO - Waiting for VM ctest-TestBasicPolicy-51316767-56673124 to be up.. 2025-10-17 21:33:35,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 21:33:40,518 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:33:40,518 - INFO - VM name : ctest-TestBasicPolicy-51316767-56673124 2025-10-17 21:33:40,603 - DEBUG - VM ctest-TestBasicPolicy-51316767-56673124 ID is c9b9d0b0-09b7-40dc-9657-664d2ed43f21 2025-10-17 21:33:40,627 - DEBUG - VM ctest-TestBasicPolicy-51316767-56673124 launched on Node cn-jenkins-deploy-platform-ansible-os-4358-1 2025-10-17 21:33:40,710 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/c9b9d0b0-09b7-40dc-9657-664d2ed43f21 2025-10-17 21:33:40,718 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/46fa8e9a-fd2f-47d6-8cdb-b27c63d7595d 2025-10-17 21:33:43,979 - 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 1009ms') 2025-10-17 21:33:43,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51316767-56673124 failed! 2025-10-17 21:33:44,034 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51316767:ctest-vn-06470514 is 122.60.1.65 and allocation pool is NOT set 2025-10-17 21:33:46,102 - 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=9.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.733 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.733/5.150/9.568/4.417 ms') 2025-10-17 21:33:46,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51316767-56673124 passed 2025-10-17 21:33:46,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:33:46,262 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51316767-56673124, IP 122.60.1.67, Port 22 2025-10-17 21:33:46,429 - DEBUG - VM ctest-TestBasicPolicy-51316767-56673124 is ready for SSH connections 2025-10-17 21:33:46,429 - INFO - Waiting for VM ctest-TestBasicPolicy-51316767-51022071 to be up.. 2025-10-17 21:33:46,520 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:33:46,520 - INFO - VM name : ctest-TestBasicPolicy-51316767-51022071 2025-10-17 21:33:46,604 - DEBUG - VM ctest-TestBasicPolicy-51316767-51022071 ID is be0a2464-3e8b-4ba4-bd03-795a672a342e 2025-10-17 21:33:46,604 - DEBUG - VM ctest-TestBasicPolicy-51316767-51022071 launched on Node cn-jenkins-deploy-platform-ansible-os-4358-1 2025-10-17 21:33:46,692 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/be0a2464-3e8b-4ba4-bd03-795a672a342e 2025-10-17 21:33:46,702 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e1a58a46-a83f-40d6-b6a3-5380141e89e7 2025-10-17 21:33:47,957 - 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=3.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.59 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 = 2.587/3.031/3.475/0.444 ms') 2025-10-17 21:33:47,958 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51316767-51022071 passed 2025-10-17 21:33:48,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:33:48,118 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51316767-51022071, IP 60.225.186.67, Port 22 2025-10-17 21:33:48,289 - DEBUG - VM ctest-TestBasicPolicy-51316767-51022071 is ready for SSH connections 2025-10-17 21:33:48,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:33:48,289 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.225.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-17 21:33:48,289 - DEBUG - ping -s 56 -c 3 -W 1 60.225.186.67 2025-10-17 21:33:52,444 - DEBUG - PING 60.225.186.67 (60.225.186.67): 56 data bytes 64 bytes from 60.225.186.67: seq=0 ttl=63 time=4.413 ms 64 bytes from 60.225.186.67: seq=1 ttl=63 time=1.392 ms 64 bytes from 60.225.186.67: seq=2 ttl=63 time=1.093 ms --- 60.225.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.093/2.299/4.413 ms 2025-10-17 21:33:52,444 - INFO - Ping to IP 60.225.186.67 from VM ctest-TestBasicPolicy-51316767-56673124 passed 2025-10-17 21:33:52,630 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fc5406a9-e39f-4a94-856c-192db48f4295", "href": "http://10.0.0.49:8082/network-policy/fc5406a9-e39f-4a94-856c-192db48f4295"}} 2025-10-17 21:33:52,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:33:52,630 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.225.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-17 21:33:52,630 - DEBUG - ping -s 56 -c 3 -W 1 60.225.186.67 2025-10-17 21:33:55,888 - DEBUG - PING 60.225.186.67 (60.225.186.67): 56 data bytes --- 60.225.186.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 21:33:55,888 - WARNING - Ping to IP 60.225.186.67 from VM ctest-TestBasicPolicy-51316767-56673124 failed 2025-10-17 21:33:55,888 - INFO - Deleting VM ctest-TestBasicPolicy-51316767-51022071 2025-10-17 21:33:55,978 - INFO - Deleting VM ctest-TestBasicPolicy-51316767-56673124 2025-10-17 21:33:56,382 - INFO - Deleted policy ctest-policy-allow-all-58566434 2025-10-17 21:33:56,382 - INFO - Deleting VN ctest-vn-91596269 2025-10-17 21:33:56,423 - DEBUG - VN e8ba8d31-018a-41d7-842b-513ca7f9bd18 still in use: Unable to complete operation on network e8ba8d31-018a-41d7-842b-513ca7f9bd18. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8fd60e5-c313-4f14-b386-f20afe712a93'] 2025-10-17 21:33:56,423 - WARNING - Deleting VN ctest-vn-91596269 failed..Will retry 2025-10-17 21:33:58,669 - DEBUG - Response for deleting network () 2025-10-17 21:33:58,669 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/101d16b6-3536-4eab-b542-388a24a1a807 2025-10-17 21:33:58,678 - DEBUG - Response Code: 404 2025-10-17 21:33:58,678 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-17 21:33:58,691 - DEBUG - Requesting: http://10.0.0.49:8082/domain/697ac883-7292-4624-826f-3acdf3af7702 2025-10-17 21:33:58,715 - DEBUG - Requesting: http://10.0.0.49:8082/project/1dfbb1a8-d6c3-4cc5-b017-f3a177b2281d 2025-10-17 21:33:58,815 - INFO - Validated that VN ctest-vn-91596269 is not found in API Server 2025-10-17 21:33:58,827 - DEBUG - VN ctest-vn-91596269 is not present in Agent 10.0.0.49 2025-10-17 21:33:58,827 - INFO - Validated that VN ctest-vn-91596269 is not in any agent 2025-10-17 21:33:58,844 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91596269 info 2025-10-17 21:33:58,845 - INFO - Deleting VN ctest-vn-06470514 2025-10-17 21:33:59,089 - DEBUG - Response for deleting network () 2025-10-17 21:33:59,089 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/641946c1-e37c-40c8-bf3d-4bdd9d5556dd 2025-10-17 21:33:59,095 - DEBUG - Response Code: 404 2025-10-17 21:33:59,095 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-17 21:33:59,101 - DEBUG - Requesting: http://10.0.0.49:8082/domain/697ac883-7292-4624-826f-3acdf3af7702 2025-10-17 21:33:59,161 - DEBUG - Requesting: http://10.0.0.49:8082/project/1dfbb1a8-d6c3-4cc5-b017-f3a177b2281d 2025-10-17 21:33:59,236 - INFO - Validated that VN ctest-vn-06470514 is not found in API Server 2025-10-17 21:33:59,254 - DEBUG - VN ctest-vn-06470514 is not present in Agent 10.0.0.49 2025-10-17 21:33:59,254 - INFO - Validated that VN ctest-vn-06470514 is not in any agent 2025-10-17 21:33:59,269 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06470514 info 2025-10-17 21:33:59,530 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 21:33:59,530 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-10-17 21:33:59,530 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:34:00,330 - INFO - Deleted project: ctest-TestBasicPolicy-51316767, ID : 1dfbb1a8-d6c3-4cc5-b017-f3a177b2281d