2026-04-18 05:18:48,434 - INFO - Domain Default found not creating 2026-04-18 05:18:48,634 - INFO - Project ctest-TestBasicPolicy-87725378 not found, creating it 2026-04-18 05:18:49,145 - INFO - Created Project:ctest-TestBasicPolicy-87725378, ID : 7aed70f6-070b-440d-a96f-a8f99e66941e 2026-04-18 05:18:50,719 - INFO - ================================================================================ 2026-04-18 05:18:50,719 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-18 05:18:50,719 - 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 2026-04-18 05:18:50,980 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-18 05:18:50,980 - INFO - Initial checks done. Running the testcase now 2026-04-18 05:18:50,980 - INFO - 2026-04-18 05:18:51,599 - DEBUG - Response for create_network : {'network': {'id': 'fc403291-a82f-4dca-b054-adb42000971f', 'name': 'ctest-vn-46959156', 'tenant_id': '7aed70f6070b440da96fa8f99e66941e', 'project_id': '7aed70f6070b440da96fa8f99e66941e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87725378', 'ctest-vn-46959156'], 'port_security_enabled': True, 'description': ''}} 2026-04-18 05:18:51,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '2acb72f1-efb4-483e-9b6b-d6ea4e05efea', 'name': '', 'tenant_id': '7aed70f6070b440da96fa8f99e66941e', 'network_id': 'fc403291-a82f-4dca-b054-adb42000971f', 'ip_version': 4, 'cidr': '91.241.196.128/26', 'allocation_pools': [{'start': '91.241.196.130', 'end': '91.241.196.190'}], 'gateway_ip': '91.241.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.241.196.130', 'tags': [], 'project_id': '7aed70f6070b440da96fa8f99e66941e'}} 2026-04-18 05:18:51,863 - INFO - Created VN ctest-vn-46959156 2026-04-18 05:18:51,919 - DEBUG - VN ctest-vn-46959156 UUID is fc403291-a82f-4dca-b054-adb42000971f 2026-04-18 05:18:52,243 - DEBUG - Response for create_network : {'network': {'id': 'aa39db72-b887-48b7-bad5-e239fd567e60', 'name': 'ctest-vn-87345581', 'tenant_id': '7aed70f6070b440da96fa8f99e66941e', 'project_id': '7aed70f6070b440da96fa8f99e66941e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87725378', 'ctest-vn-87345581'], 'port_security_enabled': True, 'description': ''}} 2026-04-18 05:18:52,416 - DEBUG - Response for create_subnet : {'subnet': {'id': '78f3488f-cfd6-4e17-8d2c-6ec7b3e223bf', 'name': '', 'tenant_id': '7aed70f6070b440da96fa8f99e66941e', 'network_id': 'aa39db72-b887-48b7-bad5-e239fd567e60', 'ip_version': 4, 'cidr': '5.136.176.0/26', 'allocation_pools': [{'start': '5.136.176.2', 'end': '5.136.176.62'}], 'gateway_ip': '5.136.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.136.176.2', 'tags': [], 'project_id': '7aed70f6070b440da96fa8f99e66941e'}} 2026-04-18 05:18:52,439 - INFO - Created VN ctest-vn-87345581 2026-04-18 05:18:52,494 - DEBUG - VN ctest-vn-87345581 UUID is aa39db72-b887-48b7-bad5-e239fd567e60 2026-04-18 05:18:52,617 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-46959156, 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-87725378:ctest-vn-87345581, 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] 2026-04-18 05:18:52,932 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc403291-a82f-4dca-b054-adb42000971f', 'name': 'ctest-vn-46959156', 'tenant_id': '7aed70f6070b440da96fa8f99e66941e', 'project_id': '7aed70f6070b440da96fa8f99e66941e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2acb72f1-efb4-483e-9b6b-d6ea4e05efea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87725378', 'ctest-vn-46959156'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87725378', 'ctest-policy-allow-all-73374417']], 'subnet_ipam': [{'subnet_cidr': '91.241.196.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-18 05:18:53,173 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aa39db72-b887-48b7-bad5-e239fd567e60', 'name': 'ctest-vn-87345581', 'tenant_id': '7aed70f6070b440da96fa8f99e66941e', 'project_id': '7aed70f6070b440da96fa8f99e66941e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78f3488f-cfd6-4e17-8d2c-6ec7b3e223bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87725378', 'ctest-vn-87345581'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87725378', 'ctest-policy-allow-all-73374417']], 'subnet_ipam': [{'subnet_cidr': '5.136.176.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-18 05:18:53,346 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-18 05:18:53,648 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-18 05:18:53,685 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2384996-7fce-463e-a572-4cec72ba830b 2026-04-18 05:18:53,698 - DEBUG - Requesting: http://10.0.0.50:8082/project/7aed70f6-070b-440d-a96f-a8f99e66941e 2026-04-18 05:18:53,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc403291-a82f-4dca-b054-adb42000971f 2026-04-18 05:18:53,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc403291-a82f-4dca-b054-adb42000971f 2026-04-18 05:18:53,793 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/567bd8ed-4ba4-4747-854f-8916972ccea7 2026-04-18 05:18:53,801 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/567bd8ed-4ba4-4747-854f-8916972ccea7 2026-04-18 05:18:53,809 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/67833718-1ebf-4d21-bfdd-5baf6a605caf 2026-04-18 05:18:53,816 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-18 05:18:53,816 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc403291-a82f-4dca-b054-adb42000971f 2026-04-18 05:18:53,825 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/567bd8ed-4ba4-4747-854f-8916972ccea7 2026-04-18 05:18:53,841 - INFO - Verified VN network id 11 for VN fc403291-a82f-4dca-b054-adb42000971f 2026-04-18 05:18:53,841 - INFO - Verifications in API Server for VN ctest-vn-46959156 passed 2026-04-18 05:18:53,841 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc403291-a82f-4dca-b054-adb42000971f 2026-04-18 05:18:53,851 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/567bd8ed-4ba4-4747-854f-8916972ccea7 2026-04-18 05:18:53,858 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/567bd8ed-4ba4-4747-854f-8916972ccea7 2026-04-18 05:18:53,867 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/67833718-1ebf-4d21-bfdd-5baf6a605caf 2026-04-18 05:18:53,881 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-46959156', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87725378', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18176583697240640970', 'uuid-lslong': '12705971437861639967'}, 'enable': 'true', 'created': '2026-04-18T05:18:51', 'last-modified': '2026-04-18T05:18:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973549'} 2026-04-18 05:18:53,887 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-18 05:18:53,887 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46959156 passed 2026-04-18 05:18:53,887 - DEBUG - ====Verifying policy data for ctest-vn-46959156 in API_Server ====== 2026-04-18 05:18:53,887 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-18 05:18:53,893 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2384996-7fce-463e-a572-4cec72ba830b 2026-04-18 05:18:53,906 - DEBUG - Requesting: http://10.0.0.50:8082/project/7aed70f6-070b-440d-a96f-a8f99e66941e 2026-04-18 05:18:53,982 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc403291-a82f-4dca-b054-adb42000971f 2026-04-18 05:18:53,991 - DEBUG - ==>Verifying data for policy with id: b849269b-edcb-4622-b1aa-ef6edfa8890a, fqn: ['default-domain', 'ctest-TestBasicPolicy-87725378', 'ctest-policy-allow-all-73374417'] 2026-04-18 05:18:53,991 - INFO - VN ctest-vn-46959156 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-18 05:18:53,991 - DEBUG - Verifying the vn in opserver 2026-04-18 05:18:53,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-46959156 virtual network link through opserver 10.0.0.50 2026-04-18 05:18:53,991 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-18 05:18:54,302 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-18 05:18:54,376 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-46959156', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-46959156?flat'} 2026-04-18 05:18:54,376 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-46959156 is found in opserver 2026-04-18 05:18:54,385 - DEBUG - Do not have enough data to verify VN in agent 2026-04-18 05:18:54,389 - DEBUG - VRF ids for VN ctest-vn-46959156: {} 2026-04-18 05:18:54,389 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-18 05:18:54,396 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2384996-7fce-463e-a572-4cec72ba830b 2026-04-18 05:18:54,409 - DEBUG - Requesting: http://10.0.0.50:8082/project/7aed70f6-070b-440d-a96f-a8f99e66941e 2026-04-18 05:18:54,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/aa39db72-b887-48b7-bad5-e239fd567e60 2026-04-18 05:18:54,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/aa39db72-b887-48b7-bad5-e239fd567e60 2026-04-18 05:18:54,512 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ac36398-ccbc-46d1-9d9f-d7bdf4a9e7c3 2026-04-18 05:18:54,524 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ac36398-ccbc-46d1-9d9f-d7bdf4a9e7c3 2026-04-18 05:18:54,532 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d4ad2743-0708-45e5-a8d5-c0330a62e328 2026-04-18 05:18:54,540 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-18 05:18:54,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/aa39db72-b887-48b7-bad5-e239fd567e60 2026-04-18 05:18:54,549 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ac36398-ccbc-46d1-9d9f-d7bdf4a9e7c3 2026-04-18 05:18:54,565 - INFO - Verified VN network id 12 for VN aa39db72-b887-48b7-bad5-e239fd567e60 2026-04-18 05:18:54,566 - INFO - Verifications in API Server for VN ctest-vn-87345581 passed 2026-04-18 05:18:54,566 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/aa39db72-b887-48b7-bad5-e239fd567e60 2026-04-18 05:18:54,575 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ac36398-ccbc-46d1-9d9f-d7bdf4a9e7c3 2026-04-18 05:18:54,582 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ac36398-ccbc-46d1-9d9f-d7bdf4a9e7c3 2026-04-18 05:18:54,590 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d4ad2743-0708-45e5-a8d5-c0330a62e328 2026-04-18 05:18:54,604 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-87345581', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87725378', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12266076345888884919', 'uuid-lslong': '13462915399785283168'}, 'enable': 'true', 'created': '2026-04-18T05:18:52', 'last-modified': '2026-04-18T05:18:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.453034'} 2026-04-18 05:18:54,612 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-18 05:18:54,612 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87345581 passed 2026-04-18 05:18:54,612 - DEBUG - ====Verifying policy data for ctest-vn-87345581 in API_Server ====== 2026-04-18 05:18:54,612 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-18 05:18:54,619 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2384996-7fce-463e-a572-4cec72ba830b 2026-04-18 05:18:54,632 - DEBUG - Requesting: http://10.0.0.50:8082/project/7aed70f6-070b-440d-a96f-a8f99e66941e 2026-04-18 05:18:54,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/aa39db72-b887-48b7-bad5-e239fd567e60 2026-04-18 05:18:54,715 - DEBUG - ==>Verifying data for policy with id: b849269b-edcb-4622-b1aa-ef6edfa8890a, fqn: ['default-domain', 'ctest-TestBasicPolicy-87725378', 'ctest-policy-allow-all-73374417'] 2026-04-18 05:18:54,715 - INFO - VN ctest-vn-87345581 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-18 05:18:54,715 - DEBUG - Verifying the vn in opserver 2026-04-18 05:18:54,715 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-87345581 virtual network link through opserver 10.0.0.50 2026-04-18 05:18:54,716 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-18 05:18:54,726 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-87345581', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-87345581?flat'} 2026-04-18 05:18:54,726 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-87345581 is found in opserver 2026-04-18 05:18:54,738 - DEBUG - Do not have enough data to verify VN in agent 2026-04-18 05:18:54,744 - DEBUG - VRF ids for VN ctest-vn-87345581: {} 2026-04-18 05:18:54,816 - DEBUG - Services list from nova: [, , ] 2026-04-18 05:18:55,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5642-1) 2026-04-18 05:18:57,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5642-1) 2026-04-18 05:18:57,267 - INFO - Waiting for VM ctest-TestBasicPolicy-87725378-89445399 to be up.. 2026-04-18 05:18:57,370 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-18 05:19:02,468 - DEBUG - VM is in ACTIVE state now 2026-04-18 05:19:02,469 - INFO - VM name : ctest-TestBasicPolicy-87725378-89445399 2026-04-18 05:19:02,554 - DEBUG - VM ctest-TestBasicPolicy-87725378-89445399 ID is 4c364977-fe54-44a3-a296-a186d9b6d4e3 2026-04-18 05:19:02,580 - DEBUG - VM ctest-TestBasicPolicy-87725378-89445399 launched on Node cn-jenkins-deploy-platform-ansible-os-5642-1 2026-04-18 05:19:02,663 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4c364977-fe54-44a3-a296-a186d9b6d4e3 2026-04-18 05:19:02,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7cbd063e-8512-43d7-807f-9e6d7d5f6c65 2026-04-18 05:19:05,892 - 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 1014ms') 2026-04-18 05:19:05,893 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87725378-89445399 failed! 2026-04-18 05:19:05,950 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87725378:ctest-vn-46959156 is 91.241.196.129 and allocation pool is NOT set 2026-04-18 05:19:08,023 - 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=14.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.782 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.782/7.583/14.384/6.801 ms') 2026-04-18 05:19:08,023 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87725378-89445399 passed 2026-04-18 05:19:08,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 05:19:08,174 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87725378-89445399, IP 91.241.196.131, Port 22 2026-04-18 05:19:08,240 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-18 05:19:08,329 - DEBUG - VM ctest-TestBasicPolicy-87725378-89445399 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-18 05:19:13,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 05:19:13,330 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87725378-89445399, IP 91.241.196.131, Port 22 2026-04-18 05:19:13,513 - DEBUG - VM ctest-TestBasicPolicy-87725378-89445399 is ready for SSH connections 2026-04-18 05:19:13,513 - INFO - Waiting for VM ctest-TestBasicPolicy-87725378-98022509 to be up.. 2026-04-18 05:19:13,696 - DEBUG - VM is in ACTIVE state now 2026-04-18 05:19:13,696 - INFO - VM name : ctest-TestBasicPolicy-87725378-98022509 2026-04-18 05:19:13,859 - DEBUG - VM ctest-TestBasicPolicy-87725378-98022509 ID is bfe46733-a433-4f00-b714-d40111b96f84 2026-04-18 05:19:13,859 - DEBUG - VM ctest-TestBasicPolicy-87725378-98022509 launched on Node cn-jenkins-deploy-platform-ansible-os-5642-1 2026-04-18 05:19:13,991 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bfe46733-a433-4f00-b714-d40111b96f84 2026-04-18 05:19:14,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/05636ce3-c322-4da4-9142-5e44e4831ac4 2026-04-18 05:19:15,273 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.668 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.668/2.198/3.729/1.530 ms') 2026-04-18 05:19:15,273 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87725378-98022509 passed 2026-04-18 05:19:15,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 05:19:15,430 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87725378-98022509, IP 5.136.176.3, Port 22 2026-04-18 05:19:15,609 - DEBUG - VM ctest-TestBasicPolicy-87725378-98022509 is ready for SSH connections 2026-04-18 05:19:15,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 05:19:15,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.136.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-18 05:19:15,609 - DEBUG - ping -s 56 -c 3 -W 1 5.136.176.3 2026-04-18 05:19:19,776 - DEBUG - PING 5.136.176.3 (5.136.176.3): 56 data bytes 64 bytes from 5.136.176.3: seq=0 ttl=63 time=4.290 ms 64 bytes from 5.136.176.3: seq=1 ttl=63 time=1.466 ms 64 bytes from 5.136.176.3: seq=2 ttl=63 time=1.225 ms --- 5.136.176.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.225/2.327/4.290 ms 2026-04-18 05:19:19,776 - INFO - Ping to IP 5.136.176.3 from VM ctest-TestBasicPolicy-87725378-89445399 passed 2026-04-18 05:19:19,978 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b849269b-edcb-4622-b1aa-ef6edfa8890a", "href": "http://10.0.0.50:8082/network-policy/b849269b-edcb-4622-b1aa-ef6edfa8890a"}} 2026-04-18 05:19:19,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 05:19:19,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.136.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-18 05:19:19,978 - DEBUG - ping -s 56 -c 3 -W 1 5.136.176.3 2026-04-18 05:19:23,225 - DEBUG - PING 5.136.176.3 (5.136.176.3): 56 data bytes --- 5.136.176.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-18 05:19:23,225 - WARNING - Ping to IP 5.136.176.3 from VM ctest-TestBasicPolicy-87725378-89445399 failed 2026-04-18 05:19:23,225 - INFO - Deleting VM ctest-TestBasicPolicy-87725378-98022509 2026-04-18 05:19:23,311 - INFO - Deleting VM ctest-TestBasicPolicy-87725378-89445399 2026-04-18 05:19:23,782 - INFO - Deleted policy ctest-policy-allow-all-73374417 2026-04-18 05:19:23,782 - INFO - Deleting VN ctest-vn-87345581 2026-04-18 05:19:23,821 - DEBUG - VN aa39db72-b887-48b7-bad5-e239fd567e60 still in use: Unable to complete operation on network aa39db72-b887-48b7-bad5-e239fd567e60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17417008-8ceb-44f9-9596-43d9260c087e'] 2026-04-18 05:19:23,822 - WARNING - Deleting VN ctest-vn-87345581 failed..Will retry 2026-04-18 05:19:25,926 - DEBUG - Response for deleting network () 2026-04-18 05:19:25,926 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6ac36398-ccbc-46d1-9d9f-d7bdf4a9e7c3 2026-04-18 05:19:25,935 - DEBUG - Response Code: 404 2026-04-18 05:19:25,935 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-18 05:19:25,942 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2384996-7fce-463e-a572-4cec72ba830b 2026-04-18 05:19:26,003 - DEBUG - Requesting: http://10.0.0.50:8082/project/7aed70f6-070b-440d-a96f-a8f99e66941e 2026-04-18 05:19:26,077 - INFO - Validated that VN ctest-vn-87345581 is not found in API Server 2026-04-18 05:19:26,089 - DEBUG - VN ctest-vn-87345581 is not present in Agent 10.0.0.50 2026-04-18 05:19:26,089 - INFO - Validated that VN ctest-vn-87345581 is not in any agent 2026-04-18 05:19:26,106 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87345581 info 2026-04-18 05:19:26,106 - INFO - Deleting VN ctest-vn-46959156 2026-04-18 05:19:26,210 - DEBUG - Response for deleting network () 2026-04-18 05:19:26,211 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/567bd8ed-4ba4-4747-854f-8916972ccea7 2026-04-18 05:19:26,216 - DEBUG - Response Code: 404 2026-04-18 05:19:26,217 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-18 05:19:26,223 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2384996-7fce-463e-a572-4cec72ba830b 2026-04-18 05:19:26,275 - DEBUG - Requesting: http://10.0.0.50:8082/project/7aed70f6-070b-440d-a96f-a8f99e66941e 2026-04-18 05:19:26,353 - INFO - Validated that VN ctest-vn-46959156 is not found in API Server 2026-04-18 05:19:26,363 - DEBUG - VN ctest-vn-46959156 is not present in Agent 10.0.0.50 2026-04-18 05:19:26,363 - INFO - Validated that VN ctest-vn-46959156 is not in any agent 2026-04-18 05:19:26,379 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46959156 info 2026-04-18 05:19:26,648 - DEBUG - No XMPP flaps were noticed during the test
2026-04-18 05:19:26,648 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-04-18 05:19:26,648 - INFO - -------------------------------------------------------------------------------- 2026-04-18 05:19:27,424 - INFO - Deleted project: ctest-TestBasicPolicy-87725378, ID : 7aed70f6-070b-440d-a96f-a8f99e66941e