2025-10-22 23:02:17,134 - INFO - Domain Default found not creating 2025-10-22 23:02:17,283 - INFO - Project ctest-TestBasicPolicy-25603463 not found, creating it 2025-10-22 23:02:17,720 - INFO - Created Project:ctest-TestBasicPolicy-25603463, ID : d71ee9a2-ed7d-4a04-a94a-46a7d1030a32 2025-10-22 23:02:19,172 - INFO - ================================================================================ 2025-10-22 23:02:19,172 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 23:02:19,172 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-22 23:02:19,431 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 23:02:19,431 - INFO - Initial checks done. Running the testcase now 2025-10-22 23:02:19,431 - INFO - 2025-10-22 23:02:20,012 - DEBUG - Response for create_network : {'network': {'id': '00b9029f-6ab3-45da-ac68-daef82a45e90', 'name': 'ctest-vn-76462950', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-vn-76462950'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 23:02:20,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a3d3afd-31c9-437e-badc-89a048851fd0', 'name': '', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'network_id': '00b9029f-6ab3-45da-ac68-daef82a45e90', 'ip_version': 4, 'cidr': '215.125.90.0/26', 'allocation_pools': [{'start': '215.125.90.2', 'end': '215.125.90.62'}], 'gateway_ip': '215.125.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.125.90.2', 'tags': [], 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32'}} 2025-10-22 23:02:20,165 - INFO - Created VN ctest-vn-76462950 2025-10-22 23:02:20,218 - DEBUG - VN ctest-vn-76462950 UUID is 00b9029f-6ab3-45da-ac68-daef82a45e90 2025-10-22 23:02:20,531 - DEBUG - Response for create_network : {'network': {'id': '36ab5fa2-a74b-4e45-aa10-1c95c72efd0d', 'name': 'ctest-vn-71256308', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-vn-71256308'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 23:02:20,698 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec483000-4932-4761-8b91-48969783b133', 'name': '', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'network_id': '36ab5fa2-a74b-4e45-aa10-1c95c72efd0d', 'ip_version': 4, 'cidr': '83.9.102.128/26', 'allocation_pools': [{'start': '83.9.102.130', 'end': '83.9.102.190'}], 'gateway_ip': '83.9.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.9.102.130', 'tags': [], 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32'}} 2025-10-22 23:02:20,721 - INFO - Created VN ctest-vn-71256308 2025-10-22 23:02:20,773 - DEBUG - VN ctest-vn-71256308 UUID is 36ab5fa2-a74b-4e45-aa10-1c95c72efd0d 2025-10-22 23:02:20,921 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950, 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-25603463:ctest-vn-71256308, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-22 23:02:21,204 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00b9029f-6ab3-45da-ac68-daef82a45e90', 'name': 'ctest-vn-76462950', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a3d3afd-31c9-437e-badc-89a048851fd0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-vn-76462950'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-policy-allow-all-89816550']], 'subnet_ipam': [{'subnet_cidr': '215.125.90.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 23:02:21,438 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36ab5fa2-a74b-4e45-aa10-1c95c72efd0d', 'name': 'ctest-vn-71256308', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec483000-4932-4761-8b91-48969783b133'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-vn-71256308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-policy-allow-all-89816550']], 'subnet_ipam': [{'subnet_cidr': '83.9.102.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 23:02:21,605 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 23:02:21,921 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 23:02:21,951 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae 2025-10-22 23:02:21,963 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32 2025-10-22 23:02:22,038 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90 2025-10-22 23:02:22,048 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90 2025-10-22 23:02:22,056 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849 2025-10-22 23:02:22,062 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849 2025-10-22 23:02:22,068 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ec31c482-4ddc-4130-af58-fa14458388d3 2025-10-22 23:02:22,074 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 23:02:22,074 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90 2025-10-22 23:02:22,083 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849 2025-10-22 23:02:22,096 - INFO - Verified VN network id 11 for VN 00b9029f-6ab3-45da-ac68-daef82a45e90 2025-10-22 23:02:22,096 - INFO - Verifications in API Server for VN ctest-vn-76462950 passed 2025-10-22 23:02:22,097 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90 2025-10-22 23:02:22,105 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849 2025-10-22 23:02:22,111 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849 2025-10-22 23:02:22,116 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ec31c482-4ddc-4130-af58-fa14458388d3 2025-10-22 23:02:22,128 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25603463', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '52075754404660698', 'uuid-lslong': '12423420294325362320'}, 'enable': 'true', 'created': '2025-10-22T23:02:19', 'last-modified': '2025-10-22T23:02:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942494'} 2025-10-22 23:02:22,134 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 23:02:22,134 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76462950 passed 2025-10-22 23:02:22,134 - DEBUG - ====Verifying policy data for ctest-vn-76462950 in API_Server ====== 2025-10-22 23:02:22,134 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 23:02:22,139 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae 2025-10-22 23:02:22,148 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32 2025-10-22 23:02:22,222 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90 2025-10-22 23:02:22,230 - DEBUG - ==>Verifying data for policy with id: fa17cff8-680d-47f8-8de8-9aeb126b0d89, fqn: ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-policy-allow-all-89816550'] 2025-10-22 23:02:22,230 - INFO - VN ctest-vn-76462950 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 23:02:22,231 - DEBUG - Verifying the vn in opserver 2025-10-22 23:02:22,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950 virtual network link through opserver 10.0.0.254 2025-10-22 23:02:22,231 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 23:02:22,531 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 23:02:22,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950?flat'} 2025-10-22 23:02:22,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950 is found in opserver 2025-10-22 23:02:22,594 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 23:02:22,599 - DEBUG - VRF ids for VN ctest-vn-76462950: {} 2025-10-22 23:02:22,599 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 23:02:22,605 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae 2025-10-22 23:02:22,615 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32 2025-10-22 23:02:22,686 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d 2025-10-22 23:02:22,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d 2025-10-22 23:02:22,706 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369 2025-10-22 23:02:22,712 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369 2025-10-22 23:02:22,717 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f0698ac6-bc58-4218-9782-620249302718 2025-10-22 23:02:22,723 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 23:02:22,723 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d 2025-10-22 23:02:22,732 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369 2025-10-22 23:02:22,744 - INFO - Verified VN network id 12 for VN 36ab5fa2-a74b-4e45-aa10-1c95c72efd0d 2025-10-22 23:02:22,744 - INFO - Verifications in API Server for VN ctest-vn-71256308 passed 2025-10-22 23:02:22,744 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d 2025-10-22 23:02:22,753 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369 2025-10-22 23:02:22,759 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369 2025-10-22 23:02:22,766 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f0698ac6-bc58-4218-9782-620249302718 2025-10-22 23:02:22,775 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25603463', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3939347451261701701', 'uuid-lslong': '12254326015692569869'}, 'enable': 'true', 'created': '2025-10-22T23:02:20', 'last-modified': '2025-10-22T23:02:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.359901'} 2025-10-22 23:02:22,780 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 23:02:22,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71256308 passed 2025-10-22 23:02:22,780 - DEBUG - ====Verifying policy data for ctest-vn-71256308 in API_Server ====== 2025-10-22 23:02:22,780 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 23:02:22,786 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae 2025-10-22 23:02:22,794 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32 2025-10-22 23:02:22,864 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d 2025-10-22 23:02:22,872 - DEBUG - ==>Verifying data for policy with id: fa17cff8-680d-47f8-8de8-9aeb126b0d89, fqn: ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-policy-allow-all-89816550'] 2025-10-22 23:02:22,872 - INFO - VN ctest-vn-71256308 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 23:02:22,872 - DEBUG - Verifying the vn in opserver 2025-10-22 23:02:22,872 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308 virtual network link through opserver 10.0.0.254 2025-10-22 23:02:22,872 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 23:02:22,880 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308?flat'} 2025-10-22 23:02:22,880 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308 is found in opserver 2025-10-22 23:02:22,890 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 23:02:22,896 - DEBUG - VRF ids for VN ctest-vn-71256308: {} 2025-10-22 23:02:22,950 - DEBUG - Services list from nova: [, , ] 2025-10-22 23:02:23,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4444-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4444-1) 2025-10-22 23:02:25,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4444-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4444-1) 2025-10-22 23:02:25,081 - INFO - Waiting for VM ctest-TestBasicPolicy-25603463-81101766 to be up.. 2025-10-22 23:02:25,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 23:02:30,243 - DEBUG - VM is in ACTIVE state now 2025-10-22 23:02:30,243 - INFO - VM name : ctest-TestBasicPolicy-25603463-81101766 2025-10-22 23:02:30,327 - DEBUG - VM ctest-TestBasicPolicy-25603463-81101766 ID is 574d0d9c-444a-4f3c-932e-0c616c1ae575 2025-10-22 23:02:30,349 - DEBUG - VM ctest-TestBasicPolicy-25603463-81101766 launched on Node cn-jenkins-deploy-platform-ansible-os-4444-1 2025-10-22 23:02:30,430 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/574d0d9c-444a-4f3c-932e-0c616c1ae575 2025-10-22 23:02:30,438 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5ee700e1-fbe0-4ac2-a756-9aafaa2683ae 2025-10-22 23:02:33,740 - 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 1031ms') 2025-10-22 23:02:33,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25603463-81101766 failed! 2025-10-22 23:02:33,793 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950 is 215.125.90.1 and allocation pool is NOT set 2025-10-22 23:02:35,860 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.960 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.960/5.325/9.691/4.365 ms') 2025-10-22 23:02:35,860 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25603463-81101766 passed 2025-10-22 23:02:36,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 23:02:36,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25603463-81101766, IP 215.125.90.3, Port 22 2025-10-22 23:02:36,165 - DEBUG - VM ctest-TestBasicPolicy-25603463-81101766 is ready for SSH connections 2025-10-22 23:02:36,165 - INFO - Waiting for VM ctest-TestBasicPolicy-25603463-19319378 to be up.. 2025-10-22 23:02:36,257 - DEBUG - VM is in ACTIVE state now 2025-10-22 23:02:36,258 - INFO - VM name : ctest-TestBasicPolicy-25603463-19319378 2025-10-22 23:02:36,354 - DEBUG - VM ctest-TestBasicPolicy-25603463-19319378 ID is 1d23b1dc-031d-40d6-b550-93719c041cf9 2025-10-22 23:02:36,354 - DEBUG - VM ctest-TestBasicPolicy-25603463-19319378 launched on Node cn-jenkins-deploy-platform-ansible-os-4444-1 2025-10-22 23:02:36,442 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1d23b1dc-031d-40d6-b550-93719c041cf9 2025-10-22 23:02:36,452 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9ace1a5a-168c-418e-95a7-20cd3053ecb5 2025-10-22 23:02:37,687 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.880 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.880/2.897/4.915/2.017 ms') 2025-10-22 23:02:37,687 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25603463-19319378 passed 2025-10-22 23:02:37,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 23:02:37,838 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25603463-19319378, IP 83.9.102.131, Port 22 2025-10-22 23:02:37,992 - DEBUG - VM ctest-TestBasicPolicy-25603463-19319378 is ready for SSH connections 2025-10-22 23:02:37,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 23:02:37,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.9.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 23:02:37,993 - DEBUG - ping -s 56 -c 3 -W 1 83.9.102.131 2025-10-22 23:02:42,052 - DEBUG - PING 83.9.102.131 (83.9.102.131): 56 data bytes 64 bytes from 83.9.102.131: seq=0 ttl=63 time=4.675 ms 64 bytes from 83.9.102.131: seq=1 ttl=63 time=0.884 ms 64 bytes from 83.9.102.131: seq=2 ttl=63 time=0.735 ms --- 83.9.102.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/2.098/4.675 ms 2025-10-22 23:02:42,052 - INFO - Ping to IP 83.9.102.131 from VM ctest-TestBasicPolicy-25603463-81101766 passed 2025-10-22 23:02:42,229 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fa17cff8-680d-47f8-8de8-9aeb126b0d89", "href": "http://10.0.0.254:8082/network-policy/fa17cff8-680d-47f8-8de8-9aeb126b0d89"}} 2025-10-22 23:02:42,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 23:02:42,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.9.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 23:02:42,230 - DEBUG - ping -s 56 -c 3 -W 1 83.9.102.131 2025-10-22 23:02:45,442 - DEBUG - PING 83.9.102.131 (83.9.102.131): 56 data bytes --- 83.9.102.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 23:02:45,442 - WARNING - Ping to IP 83.9.102.131 from VM ctest-TestBasicPolicy-25603463-81101766 failed 2025-10-22 23:02:45,442 - INFO - Deleting VM ctest-TestBasicPolicy-25603463-19319378 2025-10-22 23:02:45,512 - INFO - Deleting VM ctest-TestBasicPolicy-25603463-81101766 2025-10-22 23:02:45,889 - INFO - Deleted policy ctest-policy-allow-all-89816550 2025-10-22 23:02:45,890 - INFO - Deleting VN ctest-vn-71256308 2025-10-22 23:02:45,925 - DEBUG - VN 36ab5fa2-a74b-4e45-aa10-1c95c72efd0d still in use: Unable to complete operation on network 36ab5fa2-a74b-4e45-aa10-1c95c72efd0d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d404d5a-9504-483e-81bc-37281038bcd6'] 2025-10-22 23:02:45,925 - WARNING - Deleting VN ctest-vn-71256308 failed..Will retry 2025-10-22 23:02:48,047 - DEBUG - Response for deleting network () 2025-10-22 23:02:48,048 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369 2025-10-22 23:02:48,052 - DEBUG - Response Code: 404 2025-10-22 23:02:48,055 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 23:02:48,063 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae 2025-10-22 23:02:48,115 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32 2025-10-22 23:02:48,187 - INFO - Validated that VN ctest-vn-71256308 is not found in API Server 2025-10-22 23:02:48,196 - DEBUG - VN ctest-vn-71256308 is not present in Agent 10.0.0.254 2025-10-22 23:02:48,196 - INFO - Validated that VN ctest-vn-71256308 is not in any agent 2025-10-22 23:02:48,210 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71256308 info 2025-10-22 23:02:48,210 - INFO - Deleting VN ctest-vn-76462950 2025-10-22 23:02:48,297 - DEBUG - Response for deleting network () 2025-10-22 23:02:48,298 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849 2025-10-22 23:02:48,302 - DEBUG - Response Code: 404 2025-10-22 23:02:48,302 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 23:02:48,307 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae 2025-10-22 23:02:48,358 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32 2025-10-22 23:02:48,427 - INFO - Validated that VN ctest-vn-76462950 is not found in API Server 2025-10-22 23:02:48,436 - DEBUG - VN ctest-vn-76462950 is not present in Agent 10.0.0.254 2025-10-22 23:02:48,436 - INFO - Validated that VN ctest-vn-76462950 is not in any agent 2025-10-22 23:02:48,450 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76462950 info 2025-10-22 23:02:48,703 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 23:02:48,703 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-22 23:02:48,703 - INFO - -------------------------------------------------------------------------------- 2025-10-22 23:02:49,373 - INFO - Deleted project: ctest-TestBasicPolicy-25603463, ID : d71ee9a2-ed7d-4a04-a94a-46a7d1030a32