2026-02-12 02:15:04,142 - INFO - Domain Default found not creating 2026-02-12 02:15:04,325 - INFO - Project ctest-TestBasicPolicy-73033834 not found, creating it 2026-02-12 02:15:04,805 - INFO - Created Project:ctest-TestBasicPolicy-73033834, ID : f405a4f2-6205-4552-b0e8-28772a6aabcf 2026-02-12 02:15:06,394 - INFO - ================================================================================ 2026-02-12 02:15:06,394 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 02:15:06,394 - 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-02-12 02:15:06,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.209': '0'}} with 2026-02-12 02:15:06,653 - INFO - Initial checks done. Running the testcase now 2026-02-12 02:15:06,654 - INFO - 2026-02-12 02:15:07,248 - DEBUG - Response for create_network : {'network': {'id': 'd012300d-71ef-4c16-aa53-d26646e54755', 'name': 'ctest-vn-71758599', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'project_id': 'f405a4f262054552b0e828772a6aabcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-vn-71758599'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:15:07,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '082badfe-dbba-4233-8447-c3b2b79b5d25', 'name': '', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'network_id': 'd012300d-71ef-4c16-aa53-d26646e54755', 'ip_version': 4, 'cidr': '156.66.152.192/26', 'allocation_pools': [{'start': '156.66.152.194', 'end': '156.66.152.254'}], 'gateway_ip': '156.66.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.66.152.194', 'tags': [], 'project_id': 'f405a4f262054552b0e828772a6aabcf'}} 2026-02-12 02:15:07,422 - INFO - Created VN ctest-vn-71758599 2026-02-12 02:15:07,475 - DEBUG - VN ctest-vn-71758599 UUID is d012300d-71ef-4c16-aa53-d26646e54755 2026-02-12 02:15:07,777 - DEBUG - Response for create_network : {'network': {'id': '3f0b8936-ea62-4adf-812a-a5d1632ce4bb', 'name': 'ctest-vn-35150307', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'project_id': 'f405a4f262054552b0e828772a6aabcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-vn-35150307'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:15:07,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '571c4de5-75d0-46c4-9135-f5762d84662f', 'name': '', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'network_id': '3f0b8936-ea62-4adf-812a-a5d1632ce4bb', 'ip_version': 4, 'cidr': '102.12.0.128/26', 'allocation_pools': [{'start': '102.12.0.130', 'end': '102.12.0.190'}], 'gateway_ip': '102.12.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.12.0.130', 'tags': [], 'project_id': 'f405a4f262054552b0e828772a6aabcf'}} 2026-02-12 02:15:07,951 - INFO - Created VN ctest-vn-35150307 2026-02-12 02:15:08,003 - DEBUG - VN ctest-vn-35150307 UUID is 3f0b8936-ea62-4adf-812a-a5d1632ce4bb 2026-02-12 02:15:08,120 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599, 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-73033834:ctest-vn-35150307, 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-02-12 02:15:08,442 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd012300d-71ef-4c16-aa53-d26646e54755', 'name': 'ctest-vn-71758599', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'project_id': 'f405a4f262054552b0e828772a6aabcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['082badfe-dbba-4233-8447-c3b2b79b5d25'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-vn-71758599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-policy-allow-all-26844712']], 'subnet_ipam': [{'subnet_cidr': '156.66.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:15:08,714 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f0b8936-ea62-4adf-812a-a5d1632ce4bb', 'name': 'ctest-vn-35150307', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'project_id': 'f405a4f262054552b0e828772a6aabcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['571c4de5-75d0-46c4-9135-f5762d84662f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-vn-35150307'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-policy-allow-all-26844712']], 'subnet_ipam': [{'subnet_cidr': '102.12.0.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:15:08,867 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-12 02:15:09,210 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-12 02:15:09,241 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406 2026-02-12 02:15:09,253 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf 2026-02-12 02:15:09,324 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755 2026-02-12 02:15:09,335 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755 2026-02-12 02:15:09,345 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f 2026-02-12 02:15:09,352 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f 2026-02-12 02:15:09,358 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/4cd23cb9-b4d4-4a46-9155-1d5a3f30257b 2026-02-12 02:15:09,364 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 02:15:09,364 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755 2026-02-12 02:15:09,374 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f 2026-02-12 02:15:09,387 - INFO - Verified VN network id 11 for VN d012300d-71ef-4c16-aa53-d26646e54755 2026-02-12 02:15:09,387 - INFO - Verifications in API Server for VN ctest-vn-71758599 passed 2026-02-12 02:15:09,387 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755 2026-02-12 02:15:09,395 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f 2026-02-12 02:15:09,402 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f 2026-02-12 02:15:09,411 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/4cd23cb9-b4d4-4a46-9155-1d5a3f30257b 2026-02-12 02:15:09,427 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73033834', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14993098943774018582', 'uuid-lslong': '12273384746232661845'}, 'enable': 'true', 'created': '2026-02-12T02:15:07', 'last-modified': '2026-02-12T02:15:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016508'} 2026-02-12 02:15:09,434 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 02:15:09,435 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71758599 passed 2026-02-12 02:15:09,435 - DEBUG - ====Verifying policy data for ctest-vn-71758599 in API_Server ====== 2026-02-12 02:15:09,435 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-12 02:15:09,440 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406 2026-02-12 02:15:09,454 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf 2026-02-12 02:15:09,527 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755 2026-02-12 02:15:09,537 - DEBUG - ==>Verifying data for policy with id: d956ad1a-17e5-4518-9dac-346fd1ea50f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-policy-allow-all-26844712'] 2026-02-12 02:15:09,537 - INFO - VN ctest-vn-71758599 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 02:15:09,537 - DEBUG - Verifying the vn in opserver 2026-02-12 02:15:09,537 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599 virtual network link through opserver 10.0.0.19 2026-02-12 02:15:09,538 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-12 02:15:09,879 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-12 02:15:09,942 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599?flat'} 2026-02-12 02:15:09,942 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599 is found in opserver 2026-02-12 02:15:09,954 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 02:15:09,959 - DEBUG - VRF ids for VN ctest-vn-71758599: {} 2026-02-12 02:15:09,959 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-12 02:15:09,965 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406 2026-02-12 02:15:09,977 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf 2026-02-12 02:15:10,045 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb 2026-02-12 02:15:10,058 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb 2026-02-12 02:15:10,068 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f 2026-02-12 02:15:10,075 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f 2026-02-12 02:15:10,082 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/2c0ce260-2ec7-4d14-af32-d32b111e8241 2026-02-12 02:15:10,089 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 02:15:10,089 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb 2026-02-12 02:15:10,099 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f 2026-02-12 02:15:10,112 - INFO - Verified VN network id 12 for VN 3f0b8936-ea62-4adf-812a-a5d1632ce4bb 2026-02-12 02:15:10,112 - INFO - Verifications in API Server for VN ctest-vn-35150307 passed 2026-02-12 02:15:10,112 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb 2026-02-12 02:15:10,121 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f 2026-02-12 02:15:10,127 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f 2026-02-12 02:15:10,134 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/2c0ce260-2ec7-4d14-af32-d32b111e8241 2026-02-12 02:15:10,145 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73033834', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4542875518086826719', 'uuid-lslong': '9307433898645185723'}, 'enable': 'true', 'created': '2026-02-12T02:15:07', 'last-modified': '2026-02-12T02:15:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.499691'} 2026-02-12 02:15:10,152 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 02:15:10,152 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35150307 passed 2026-02-12 02:15:10,152 - DEBUG - ====Verifying policy data for ctest-vn-35150307 in API_Server ====== 2026-02-12 02:15:10,152 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-12 02:15:10,158 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406 2026-02-12 02:15:10,169 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf 2026-02-12 02:15:10,235 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb 2026-02-12 02:15:10,245 - DEBUG - ==>Verifying data for policy with id: d956ad1a-17e5-4518-9dac-346fd1ea50f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-policy-allow-all-26844712'] 2026-02-12 02:15:10,245 - INFO - VN ctest-vn-35150307 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 02:15:10,245 - DEBUG - Verifying the vn in opserver 2026-02-12 02:15:10,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307 virtual network link through opserver 10.0.0.19 2026-02-12 02:15:10,246 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-12 02:15:10,256 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307?flat'} 2026-02-12 02:15:10,256 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307 is found in opserver 2026-02-12 02:15:10,265 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 02:15:10,270 - DEBUG - VRF ids for VN ctest-vn-35150307: {} 2026-02-12 02:15:10,333 - DEBUG - Services list from nova: [, , ] 2026-02-12 02:15:11,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5309-1) 2026-02-12 02:15:12,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5309-1) 2026-02-12 02:15:12,695 - INFO - Waiting for VM ctest-TestBasicPolicy-73033834-86487013 to be up.. 2026-02-12 02:15:12,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 02:15:17,874 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:15:17,874 - INFO - VM name : ctest-TestBasicPolicy-73033834-86487013 2026-02-12 02:15:17,975 - DEBUG - VM ctest-TestBasicPolicy-73033834-86487013 ID is 420fc17d-ae22-40fd-8341-eff08189a713 2026-02-12 02:15:18,004 - DEBUG - VM ctest-TestBasicPolicy-73033834-86487013 launched on Node cn-jenkins-deploy-platform-ansible-os-5309-1 2026-02-12 02:15:18,108 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/420fc17d-ae22-40fd-8341-eff08189a713 2026-02-12 02:15:18,118 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/abb25476-a243-4d0f-96f8-2ece5e5f35a1 2026-02-12 02:15:21,396 - 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 1030ms') 2026-02-12 02:15:21,396 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73033834-86487013 failed! 2026-02-12 02:15:21,451 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599 is 156.66.152.193 and allocation pool is NOT set 2026-02-12 02:15:23,516 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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 = 2.676/6.845/11.014/4.169 ms') 2026-02-12 02:15:23,516 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73033834-86487013 passed 2026-02-12 02:15:23,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:15:23,671 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73033834-86487013, IP 156.66.152.195, Port 22 2026-02-12 02:15:23,727 - 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-02-12 02:15:23,813 - DEBUG - VM ctest-TestBasicPolicy-73033834-86487013 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 02:15:28,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:15:28,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73033834-86487013, IP 156.66.152.195, Port 22 2026-02-12 02:15:28,975 - DEBUG - VM ctest-TestBasicPolicy-73033834-86487013 is ready for SSH connections 2026-02-12 02:15:28,975 - INFO - Waiting for VM ctest-TestBasicPolicy-73033834-04226764 to be up.. 2026-02-12 02:15:29,055 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:15:29,055 - INFO - VM name : ctest-TestBasicPolicy-73033834-04226764 2026-02-12 02:15:29,140 - DEBUG - VM ctest-TestBasicPolicy-73033834-04226764 ID is ee0d8a09-27a4-429b-b79b-f051082c4265 2026-02-12 02:15:29,140 - DEBUG - VM ctest-TestBasicPolicy-73033834-04226764 launched on Node cn-jenkins-deploy-platform-ansible-os-5309-1 2026-02-12 02:15:29,232 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ee0d8a09-27a4-429b-b79b-f051082c4265 2026-02-12 02:15:29,240 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/830d4818-b907-4971-be20-d0ff6ad8ae17 2026-02-12 02:15:30,480 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/2.047/3.712/1.665 ms') 2026-02-12 02:15:30,480 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73033834-04226764 passed 2026-02-12 02:15:30,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:15:30,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73033834-04226764, IP 102.12.0.131, Port 22 2026-02-12 02:15:30,791 - DEBUG - VM ctest-TestBasicPolicy-73033834-04226764 is ready for SSH connections 2026-02-12 02:15:30,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:15:30,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.12.0.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-12 02:15:30,791 - DEBUG - ping -s 56 -c 3 -W 1 102.12.0.131 2026-02-12 02:15:34,907 - DEBUG - PING 102.12.0.131 (102.12.0.131): 56 data bytes 64 bytes from 102.12.0.131: seq=0 ttl=63 time=3.716 ms 64 bytes from 102.12.0.131: seq=1 ttl=63 time=0.994 ms 64 bytes from 102.12.0.131: seq=2 ttl=63 time=0.832 ms --- 102.12.0.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.847/3.716 ms 2026-02-12 02:15:34,907 - INFO - Ping to IP 102.12.0.131 from VM ctest-TestBasicPolicy-73033834-86487013 passed 2026-02-12 02:15:35,091 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d956ad1a-17e5-4518-9dac-346fd1ea50f7", "href": "http://10.0.0.19:8082/network-policy/d956ad1a-17e5-4518-9dac-346fd1ea50f7"}} 2026-02-12 02:15:35,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:15:35,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.12.0.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-12 02:15:35,091 - DEBUG - ping -s 56 -c 3 -W 1 102.12.0.131 2026-02-12 02:15:38,325 - DEBUG - PING 102.12.0.131 (102.12.0.131): 56 data bytes --- 102.12.0.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 02:15:38,325 - WARNING - Ping to IP 102.12.0.131 from VM ctest-TestBasicPolicy-73033834-86487013 failed 2026-02-12 02:15:38,325 - INFO - Deleting VM ctest-TestBasicPolicy-73033834-04226764 2026-02-12 02:15:38,398 - INFO - Deleting VM ctest-TestBasicPolicy-73033834-86487013 2026-02-12 02:15:38,805 - INFO - Deleted policy ctest-policy-allow-all-26844712 2026-02-12 02:15:38,805 - INFO - Deleting VN ctest-vn-35150307 2026-02-12 02:15:38,845 - DEBUG - VN 3f0b8936-ea62-4adf-812a-a5d1632ce4bb still in use: Unable to complete operation on network 3f0b8936-ea62-4adf-812a-a5d1632ce4bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-870d9c29-126a-4ea0-961b-9e1d44e64743'] 2026-02-12 02:15:38,846 - WARNING - Deleting VN ctest-vn-35150307 failed..Will retry 2026-02-12 02:15:40,952 - DEBUG - Response for deleting network () 2026-02-12 02:15:40,952 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f 2026-02-12 02:15:40,959 - DEBUG - Response Code: 404 2026-02-12 02:15:40,959 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-12 02:15:40,964 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406 2026-02-12 02:15:41,017 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf 2026-02-12 02:15:41,091 - INFO - Validated that VN ctest-vn-35150307 is not found in API Server 2026-02-12 02:15:41,104 - DEBUG - VN ctest-vn-35150307 is not present in Agent 10.0.0.19 2026-02-12 02:15:41,104 - INFO - Validated that VN ctest-vn-35150307 is not in any agent 2026-02-12 02:15:41,122 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35150307 info 2026-02-12 02:15:41,122 - INFO - Deleting VN ctest-vn-71758599 2026-02-12 02:15:41,231 - DEBUG - Response for deleting network () 2026-02-12 02:15:41,232 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f 2026-02-12 02:15:41,238 - DEBUG - Response Code: 404 2026-02-12 02:15:41,238 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-12 02:15:41,247 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406 2026-02-12 02:15:41,300 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf 2026-02-12 02:15:41,372 - INFO - Validated that VN ctest-vn-71758599 is not found in API Server 2026-02-12 02:15:41,381 - DEBUG - VN ctest-vn-71758599 is not present in Agent 10.0.0.19 2026-02-12 02:15:41,381 - INFO - Validated that VN ctest-vn-71758599 is not in any agent 2026-02-12 02:15:41,395 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71758599 info 2026-02-12 02:15:41,649 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 02:15:41,650 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-12 02:15:41,650 - INFO - -------------------------------------------------------------------------------- 2026-02-12 02:15:42,389 - INFO - Deleted project: ctest-TestBasicPolicy-73033834, ID : f405a4f2-6205-4552-b0e8-28772a6aabcf