2026-05-04 02:24:06,030 - INFO - Domain Default found not creating 2026-05-04 02:24:06,226 - INFO - Project ctest-TestBasicPolicy-16888992 not found, creating it 2026-05-04 02:24:06,703 - INFO - Created Project:ctest-TestBasicPolicy-16888992, ID : 2ae80979-a81d-458d-9045-7a760bff7454 2026-05-04 02:24:08,423 - INFO - ================================================================================ 2026-05-04 02:24:08,424 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-04 02:24:08,424 - 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-05-04 02:24:08,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-05-04 02:24:08,682 - INFO - Initial checks done. Running the testcase now 2026-05-04 02:24:08,682 - INFO - 2026-05-04 02:24:09,322 - DEBUG - Response for create_network : {'network': {'id': 'cdb2ea8a-9727-43b0-9387-a1a834d3a75c', 'name': 'ctest-vn-15091225', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'project_id': '2ae80979a81d458d90457a760bff7454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-vn-15091225'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:24:09,532 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d94bdb3-61c2-4d19-8be8-0cd9cdb766c2', 'name': '', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'network_id': 'cdb2ea8a-9727-43b0-9387-a1a834d3a75c', 'ip_version': 4, 'cidr': '8.161.59.128/26', 'allocation_pools': [{'start': '8.161.59.130', 'end': '8.161.59.190'}], 'gateway_ip': '8.161.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.161.59.130', 'tags': [], 'project_id': '2ae80979a81d458d90457a760bff7454'}} 2026-05-04 02:24:09,554 - INFO - Created VN ctest-vn-15091225 2026-05-04 02:24:09,608 - DEBUG - VN ctest-vn-15091225 UUID is cdb2ea8a-9727-43b0-9387-a1a834d3a75c 2026-05-04 02:24:09,925 - DEBUG - Response for create_network : {'network': {'id': '3f28fbfb-c121-41dc-9994-9fe6346ead66', 'name': 'ctest-vn-62893897', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'project_id': '2ae80979a81d458d90457a760bff7454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-vn-62893897'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:24:10,098 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e0a94fd-8073-461e-acc4-857fbd62b626', 'name': '', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'network_id': '3f28fbfb-c121-41dc-9994-9fe6346ead66', 'ip_version': 4, 'cidr': '3.143.177.192/26', 'allocation_pools': [{'start': '3.143.177.194', 'end': '3.143.177.254'}], 'gateway_ip': '3.143.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.143.177.194', 'tags': [], 'project_id': '2ae80979a81d458d90457a760bff7454'}} 2026-05-04 02:24:10,119 - INFO - Created VN ctest-vn-62893897 2026-05-04 02:24:10,171 - DEBUG - VN ctest-vn-62893897 UUID is 3f28fbfb-c121-41dc-9994-9fe6346ead66 2026-05-04 02:24:10,294 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225, 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-16888992:ctest-vn-62893897, 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-05-04 02:24:10,597 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cdb2ea8a-9727-43b0-9387-a1a834d3a75c', 'name': 'ctest-vn-15091225', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'project_id': '2ae80979a81d458d90457a760bff7454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d94bdb3-61c2-4d19-8be8-0cd9cdb766c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-vn-15091225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-policy-allow-all-96096469']], 'subnet_ipam': [{'subnet_cidr': '8.161.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:24:10,846 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f28fbfb-c121-41dc-9994-9fe6346ead66', 'name': 'ctest-vn-62893897', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'project_id': '2ae80979a81d458d90457a760bff7454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e0a94fd-8073-461e-acc4-857fbd62b626'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-vn-62893897'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-policy-allow-all-96096469']], 'subnet_ipam': [{'subnet_cidr': '3.143.177.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:24:11,008 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-04 02:24:11,356 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-04 02:24:11,414 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc 2026-05-04 02:24:11,428 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454 2026-05-04 02:24:11,501 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c 2026-05-04 02:24:11,514 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c 2026-05-04 02:24:11,526 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32 2026-05-04 02:24:11,536 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32 2026-05-04 02:24:11,544 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/cab11477-abe4-4907-93c4-0cc75fc9052e 2026-05-04 02:24:11,552 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-04 02:24:11,552 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c 2026-05-04 02:24:11,563 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32 2026-05-04 02:24:11,581 - INFO - Verified VN network id 11 for VN cdb2ea8a-9727-43b0-9387-a1a834d3a75c 2026-05-04 02:24:11,581 - INFO - Verifications in API Server for VN ctest-vn-15091225 passed 2026-05-04 02:24:11,581 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c 2026-05-04 02:24:11,593 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32 2026-05-04 02:24:11,601 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32 2026-05-04 02:24:11,609 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/cab11477-abe4-4907-93c4-0cc75fc9052e 2026-05-04 02:24:11,622 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16888992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14822167204592042928', 'uuid-lslong': '10630643189244208988'}, 'enable': 'true', 'created': '2026-05-04T02:24:09', 'last-modified': '2026-05-04T02:24:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.050269'} 2026-05-04 02:24:11,628 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-04 02:24:11,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15091225 passed 2026-05-04 02:24:11,629 - DEBUG - ====Verifying policy data for ctest-vn-15091225 in API_Server ====== 2026-05-04 02:24:11,629 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-04 02:24:11,635 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc 2026-05-04 02:24:11,647 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454 2026-05-04 02:24:11,724 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c 2026-05-04 02:24:11,735 - DEBUG - ==>Verifying data for policy with id: 7b4b6f78-2ba7-4323-bc5f-fc586f1f8f00, fqn: ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-policy-allow-all-96096469'] 2026-05-04 02:24:11,735 - INFO - VN ctest-vn-15091225 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-04 02:24:11,735 - DEBUG - Verifying the vn in opserver 2026-05-04 02:24:11,735 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225 virtual network link through opserver 10.0.0.19 2026-05-04 02:24:11,735 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-04 02:24:12,073 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-04 02:24:12,150 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225?flat'} 2026-05-04 02:24:12,150 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225 is found in opserver 2026-05-04 02:24:12,161 - DEBUG - Do not have enough data to verify VN in agent 2026-05-04 02:24:12,166 - DEBUG - VRF ids for VN ctest-vn-15091225: {} 2026-05-04 02:24:12,166 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-04 02:24:12,172 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc 2026-05-04 02:24:12,188 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454 2026-05-04 02:24:12,264 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66 2026-05-04 02:24:12,277 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66 2026-05-04 02:24:12,289 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d 2026-05-04 02:24:12,297 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d 2026-05-04 02:24:12,305 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/44837960-8412-4faa-98bd-2239c02b7045 2026-05-04 02:24:12,312 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-04 02:24:12,312 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66 2026-05-04 02:24:12,322 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d 2026-05-04 02:24:12,338 - INFO - Verified VN network id 12 for VN 3f28fbfb-c121-41dc-9994-9fe6346ead66 2026-05-04 02:24:12,338 - INFO - Verifications in API Server for VN ctest-vn-62893897 passed 2026-05-04 02:24:12,338 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66 2026-05-04 02:24:12,349 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d 2026-05-04 02:24:12,357 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d 2026-05-04 02:24:12,366 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/44837960-8412-4faa-98bd-2239c02b7045 2026-05-04 02:24:12,379 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16888992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4551164482153431516', 'uuid-lslong': '11066645995427114342'}, 'enable': 'true', 'created': '2026-05-04T02:24:09', 'last-modified': '2026-05-04T02:24:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.561780'} 2026-05-04 02:24:12,387 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-04 02:24:12,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62893897 passed 2026-05-04 02:24:12,387 - DEBUG - ====Verifying policy data for ctest-vn-62893897 in API_Server ====== 2026-05-04 02:24:12,387 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-04 02:24:12,393 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc 2026-05-04 02:24:12,407 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454 2026-05-04 02:24:12,483 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66 2026-05-04 02:24:12,494 - DEBUG - ==>Verifying data for policy with id: 7b4b6f78-2ba7-4323-bc5f-fc586f1f8f00, fqn: ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-policy-allow-all-96096469'] 2026-05-04 02:24:12,494 - INFO - VN ctest-vn-62893897 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-04 02:24:12,494 - DEBUG - Verifying the vn in opserver 2026-05-04 02:24:12,494 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897 virtual network link through opserver 10.0.0.19 2026-05-04 02:24:12,494 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-04 02:24:12,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897?flat'} 2026-05-04 02:24:12,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897 is found in opserver 2026-05-04 02:24:12,515 - DEBUG - Do not have enough data to verify VN in agent 2026-05-04 02:24:12,521 - DEBUG - VRF ids for VN ctest-vn-62893897: {} 2026-05-04 02:24:12,587 - DEBUG - Services list from nova: [, , ] 2026-05-04 02:24:13,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5739-1) 2026-05-04 02:24:15,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5739-1) 2026-05-04 02:24:15,111 - INFO - Waiting for VM ctest-TestBasicPolicy-16888992-15570548 to be up.. 2026-05-04 02:24:15,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-04 02:24:20,327 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:24:20,327 - INFO - VM name : ctest-TestBasicPolicy-16888992-15570548 2026-05-04 02:24:20,413 - DEBUG - VM ctest-TestBasicPolicy-16888992-15570548 ID is 85793f61-d2fc-44cc-825a-7e9ff3715674 2026-05-04 02:24:20,435 - DEBUG - VM ctest-TestBasicPolicy-16888992-15570548 launched on Node cn-jenkins-deploy-platform-ansible-os-5739-1 2026-05-04 02:24:20,534 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/85793f61-d2fc-44cc-825a-7e9ff3715674 2026-05-04 02:24:20,548 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/bb0df7b6-2df1-4692-8d3e-d9c439772607 2026-05-04 02:24:23,810 - 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 1010ms') 2026-05-04 02:24:23,810 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16888992-15570548 failed! 2026-05-04 02:24:23,868 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225 is 8.161.59.129 and allocation pool is NOT set 2026-05-04 02:24:25,929 - 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=13.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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 = 1.247/7.122/12.997/5.875 ms') 2026-05-04 02:24:25,929 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16888992-15570548 passed 2026-05-04 02:24:26,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:24:26,080 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16888992-15570548, IP 8.161.59.131, Port 22 2026-05-04 02:24:26,146 - 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-05-04 02:24:26,236 - DEBUG - VM ctest-TestBasicPolicy-16888992-15570548 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 02:24:31,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:24:31,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16888992-15570548, IP 8.161.59.131, Port 22 2026-05-04 02:24:31,403 - DEBUG - VM ctest-TestBasicPolicy-16888992-15570548 is ready for SSH connections 2026-05-04 02:24:31,403 - INFO - Waiting for VM ctest-TestBasicPolicy-16888992-54169742 to be up.. 2026-05-04 02:24:31,483 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:24:31,483 - INFO - VM name : ctest-TestBasicPolicy-16888992-54169742 2026-05-04 02:24:31,561 - DEBUG - VM ctest-TestBasicPolicy-16888992-54169742 ID is 898e8c5d-5552-48c6-9b3f-642bff58ad66 2026-05-04 02:24:31,562 - DEBUG - VM ctest-TestBasicPolicy-16888992-54169742 launched on Node cn-jenkins-deploy-platform-ansible-os-5739-1 2026-05-04 02:24:31,643 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/898e8c5d-5552-48c6-9b3f-642bff58ad66 2026-05-04 02:24:31,651 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5ce3a1f3-2c5f-4fec-8a1f-b18804165feb 2026-05-04 02:24:32,887 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.856/3.296/1.440 ms') 2026-05-04 02:24:32,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16888992-54169742 passed 2026-05-04 02:24:33,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:24:33,036 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16888992-54169742, IP 3.143.177.195, Port 22 2026-05-04 02:24:33,191 - DEBUG - VM ctest-TestBasicPolicy-16888992-54169742 is ready for SSH connections 2026-05-04 02:24:33,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:24:33,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.143.177.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-04 02:24:33,192 - DEBUG - ping -s 56 -c 3 -W 1 3.143.177.195 2026-05-04 02:24:37,361 - DEBUG - PING 3.143.177.195 (3.143.177.195): 56 data bytes 64 bytes from 3.143.177.195: seq=0 ttl=63 time=3.958 ms 64 bytes from 3.143.177.195: seq=1 ttl=63 time=0.895 ms 64 bytes from 3.143.177.195: seq=2 ttl=63 time=1.066 ms --- 3.143.177.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/1.973/3.958 ms 2026-05-04 02:24:37,361 - INFO - Ping to IP 3.143.177.195 from VM ctest-TestBasicPolicy-16888992-15570548 passed 2026-05-04 02:24:37,547 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7b4b6f78-2ba7-4323-bc5f-fc586f1f8f00", "href": "http://10.0.0.19:8082/network-policy/7b4b6f78-2ba7-4323-bc5f-fc586f1f8f00"}} 2026-05-04 02:24:37,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:24:37,547 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.143.177.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-04 02:24:37,548 - DEBUG - ping -s 56 -c 3 -W 1 3.143.177.195 2026-05-04 02:24:40,785 - DEBUG - PING 3.143.177.195 (3.143.177.195): 56 data bytes --- 3.143.177.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-04 02:24:40,785 - WARNING - Ping to IP 3.143.177.195 from VM ctest-TestBasicPolicy-16888992-15570548 failed 2026-05-04 02:24:40,785 - INFO - Deleting VM ctest-TestBasicPolicy-16888992-54169742 2026-05-04 02:24:40,870 - INFO - Deleting VM ctest-TestBasicPolicy-16888992-15570548 2026-05-04 02:24:41,266 - INFO - Deleted policy ctest-policy-allow-all-96096469 2026-05-04 02:24:41,266 - INFO - Deleting VN ctest-vn-62893897 2026-05-04 02:24:41,302 - DEBUG - VN 3f28fbfb-c121-41dc-9994-9fe6346ead66 still in use: Unable to complete operation on network 3f28fbfb-c121-41dc-9994-9fe6346ead66. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb2b586f-159c-476b-a2d7-7bd28c11773c'] 2026-05-04 02:24:41,302 - WARNING - Deleting VN ctest-vn-62893897 failed..Will retry 2026-05-04 02:24:43,417 - DEBUG - Response for deleting network () 2026-05-04 02:24:43,417 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d 2026-05-04 02:24:43,423 - DEBUG - Response Code: 404 2026-05-04 02:24:43,424 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-04 02:24:43,429 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc 2026-05-04 02:24:43,486 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454 2026-05-04 02:24:43,562 - INFO - Validated that VN ctest-vn-62893897 is not found in API Server 2026-05-04 02:24:43,573 - DEBUG - VN ctest-vn-62893897 is not present in Agent 10.0.0.19 2026-05-04 02:24:43,573 - INFO - Validated that VN ctest-vn-62893897 is not in any agent 2026-05-04 02:24:43,587 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62893897 info 2026-05-04 02:24:43,588 - INFO - Deleting VN ctest-vn-15091225 2026-05-04 02:24:43,704 - DEBUG - Response for deleting network () 2026-05-04 02:24:43,704 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32 2026-05-04 02:24:43,711 - DEBUG - Response Code: 404 2026-05-04 02:24:43,711 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-04 02:24:43,717 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc 2026-05-04 02:24:43,773 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454 2026-05-04 02:24:43,844 - INFO - Validated that VN ctest-vn-15091225 is not found in API Server 2026-05-04 02:24:43,854 - DEBUG - VN ctest-vn-15091225 is not present in Agent 10.0.0.19 2026-05-04 02:24:43,855 - INFO - Validated that VN ctest-vn-15091225 is not in any agent 2026-05-04 02:24:43,869 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15091225 info 2026-05-04 02:24:44,125 - DEBUG - No XMPP flaps were noticed during the test
2026-05-04 02:24:44,125 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-05-04 02:24:44,126 - INFO - -------------------------------------------------------------------------------- 2026-05-04 02:24:44,863 - INFO - Deleted project: ctest-TestBasicPolicy-16888992, ID : 2ae80979-a81d-458d-9045-7a760bff7454