2026-02-24 03:48:44,809 - INFO - Domain Default found not creating 2026-02-24 03:48:44,978 - INFO - Project ctest-TestBasicPolicy-99822550 not found, creating it 2026-02-24 03:48:45,485 - INFO - Created Project:ctest-TestBasicPolicy-99822550, ID : 95c642e4-bfbe-476b-ac62-a5ba7882d94d 2026-02-24 03:48:47,095 - INFO - ================================================================================ 2026-02-24 03:48:47,095 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-24 03:48:47,095 - 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-24 03:48:47,351 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-24 03:48:47,351 - INFO - Initial checks done. Running the testcase now 2026-02-24 03:48:47,351 - INFO - 2026-02-24 03:48:47,936 - DEBUG - Response for create_network : {'network': {'id': '2873378e-50f3-48db-9f55-b9794f4b47d6', 'name': 'ctest-vn-91645310', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'project_id': '95c642e4bfbe476bac62a5ba7882d94d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-vn-91645310'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 03:48:48,106 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb3dbe98-0c2e-455f-bc0f-fc4ec1ba5cb4', 'name': '', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'network_id': '2873378e-50f3-48db-9f55-b9794f4b47d6', 'ip_version': 4, 'cidr': '41.157.108.0/26', 'allocation_pools': [{'start': '41.157.108.2', 'end': '41.157.108.62'}], 'gateway_ip': '41.157.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.157.108.2', 'tags': [], 'project_id': '95c642e4bfbe476bac62a5ba7882d94d'}} 2026-02-24 03:48:48,124 - INFO - Created VN ctest-vn-91645310 2026-02-24 03:48:48,177 - DEBUG - VN ctest-vn-91645310 UUID is 2873378e-50f3-48db-9f55-b9794f4b47d6 2026-02-24 03:48:48,502 - DEBUG - Response for create_network : {'network': {'id': '44f467ce-c7ad-47a3-bb30-d7b4a8fccab6', 'name': 'ctest-vn-12167781', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'project_id': '95c642e4bfbe476bac62a5ba7882d94d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-vn-12167781'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 03:48:48,681 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5e09c2e-03d0-409f-a0e4-49586b37ae02', 'name': '', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'network_id': '44f467ce-c7ad-47a3-bb30-d7b4a8fccab6', 'ip_version': 4, 'cidr': '2.217.167.192/26', 'allocation_pools': [{'start': '2.217.167.194', 'end': '2.217.167.254'}], 'gateway_ip': '2.217.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.217.167.194', 'tags': [], 'project_id': '95c642e4bfbe476bac62a5ba7882d94d'}} 2026-02-24 03:48:48,700 - INFO - Created VN ctest-vn-12167781 2026-02-24 03:48:48,753 - DEBUG - VN ctest-vn-12167781 UUID is 44f467ce-c7ad-47a3-bb30-d7b4a8fccab6 2026-02-24 03:48:48,909 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310, 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-99822550:ctest-vn-12167781, 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-24 03:48:49,202 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2873378e-50f3-48db-9f55-b9794f4b47d6', 'name': 'ctest-vn-91645310', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'project_id': '95c642e4bfbe476bac62a5ba7882d94d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eb3dbe98-0c2e-455f-bc0f-fc4ec1ba5cb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-vn-91645310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-policy-allow-all-17324266']], 'subnet_ipam': [{'subnet_cidr': '41.157.108.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-24 03:48:49,386 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44f467ce-c7ad-47a3-bb30-d7b4a8fccab6', 'name': 'ctest-vn-12167781', 'tenant_id': '95c642e4bfbe476bac62a5ba7882d94d', 'project_id': '95c642e4bfbe476bac62a5ba7882d94d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5e09c2e-03d0-409f-a0e4-49586b37ae02'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-vn-12167781'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-policy-allow-all-17324266']], 'subnet_ipam': [{'subnet_cidr': '2.217.167.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-24 03:48:49,553 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-24 03:48:49,895 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-24 03:48:49,925 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c 2026-02-24 03:48:49,936 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d 2026-02-24 03:48:50,010 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6 2026-02-24 03:48:50,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6 2026-02-24 03:48:50,030 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f 2026-02-24 03:48:50,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f 2026-02-24 03:48:50,045 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/500f3011-f1f7-4a6d-8133-6d173ac5eed8 2026-02-24 03:48:50,051 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-24 03:48:50,051 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6 2026-02-24 03:48:50,060 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f 2026-02-24 03:48:50,075 - INFO - Verified VN network id 11 for VN 2873378e-50f3-48db-9f55-b9794f4b47d6 2026-02-24 03:48:50,075 - INFO - Verifications in API Server for VN ctest-vn-91645310 passed 2026-02-24 03:48:50,075 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6 2026-02-24 03:48:50,084 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f 2026-02-24 03:48:50,090 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f 2026-02-24 03:48:50,096 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/500f3011-f1f7-4a6d-8133-6d173ac5eed8 2026-02-24 03:48:50,108 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99822550', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2914734468221847771', 'uuid-lslong': '11481286755723462614'}, 'enable': 'true', 'created': '2026-02-24T03:48:47', 'last-modified': '2026-02-24T03:48:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930700'} 2026-02-24 03:48:50,115 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-24 03:48:50,115 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91645310 passed 2026-02-24 03:48:50,115 - DEBUG - ====Verifying policy data for ctest-vn-91645310 in API_Server ====== 2026-02-24 03:48:50,115 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-24 03:48:50,121 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c 2026-02-24 03:48:50,131 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d 2026-02-24 03:48:50,201 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2873378e-50f3-48db-9f55-b9794f4b47d6 2026-02-24 03:48:50,210 - DEBUG - ==>Verifying data for policy with id: fdf8fe55-b778-476a-9b53-481bdff48dad, fqn: ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-policy-allow-all-17324266'] 2026-02-24 03:48:50,211 - INFO - VN ctest-vn-91645310 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-24 03:48:50,211 - DEBUG - Verifying the vn in opserver 2026-02-24 03:48:50,211 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310 virtual network link through opserver 10.0.0.50 2026-02-24 03:48:50,211 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-24 03:48:50,546 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-24 03:48:50,607 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310?flat'} 2026-02-24 03:48:50,607 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310 is found in opserver 2026-02-24 03:48:50,615 - DEBUG - Do not have enough data to verify VN in agent 2026-02-24 03:48:50,619 - DEBUG - VRF ids for VN ctest-vn-91645310: {} 2026-02-24 03:48:50,620 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-24 03:48:50,624 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c 2026-02-24 03:48:50,635 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d 2026-02-24 03:48:50,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6 2026-02-24 03:48:50,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6 2026-02-24 03:48:50,722 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a 2026-02-24 03:48:50,728 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a 2026-02-24 03:48:50,734 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2101d409-c229-41dc-8fbc-336aba717648 2026-02-24 03:48:50,741 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-24 03:48:50,741 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6 2026-02-24 03:48:50,752 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a 2026-02-24 03:48:50,766 - INFO - Verified VN network id 12 for VN 44f467ce-c7ad-47a3-bb30-d7b4a8fccab6 2026-02-24 03:48:50,766 - INFO - Verifications in API Server for VN ctest-vn-12167781 passed 2026-02-24 03:48:50,766 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6 2026-02-24 03:48:50,774 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a 2026-02-24 03:48:50,779 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a 2026-02-24 03:48:50,785 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2101d409-c229-41dc-8fbc-336aba717648 2026-02-24 03:48:50,795 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99822550', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4968710426707445667', 'uuid-lslong': '13488518054903859894'}, 'enable': 'true', 'created': '2026-02-24T03:48:48', 'last-modified': '2026-02-24T03:48:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.427688'} 2026-02-24 03:48:50,801 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-24 03:48:50,801 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12167781 passed 2026-02-24 03:48:50,801 - DEBUG - ====Verifying policy data for ctest-vn-12167781 in API_Server ====== 2026-02-24 03:48:50,801 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-24 03:48:50,806 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c 2026-02-24 03:48:50,815 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d 2026-02-24 03:48:50,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44f467ce-c7ad-47a3-bb30-d7b4a8fccab6 2026-02-24 03:48:50,891 - DEBUG - ==>Verifying data for policy with id: fdf8fe55-b778-476a-9b53-481bdff48dad, fqn: ['default-domain', 'ctest-TestBasicPolicy-99822550', 'ctest-policy-allow-all-17324266'] 2026-02-24 03:48:50,891 - INFO - VN ctest-vn-12167781 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-24 03:48:50,891 - DEBUG - Verifying the vn in opserver 2026-02-24 03:48:50,891 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781 virtual network link through opserver 10.0.0.50 2026-02-24 03:48:50,891 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-24 03:48:50,900 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781?flat'} 2026-02-24 03:48:50,900 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-12167781 is found in opserver 2026-02-24 03:48:50,908 - DEBUG - Do not have enough data to verify VN in agent 2026-02-24 03:48:50,913 - DEBUG - VRF ids for VN ctest-vn-12167781: {} 2026-02-24 03:48:50,967 - DEBUG - Services list from nova: [, , ] 2026-02-24 03:48:52,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5392-1) 2026-02-24 03:48:53,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5392-1) 2026-02-24 03:48:53,282 - INFO - Waiting for VM ctest-TestBasicPolicy-99822550-89661873 to be up.. 2026-02-24 03:48:53,359 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-24 03:48:58,434 - DEBUG - VM is in ACTIVE state now 2026-02-24 03:48:58,434 - INFO - VM name : ctest-TestBasicPolicy-99822550-89661873 2026-02-24 03:48:58,508 - DEBUG - VM ctest-TestBasicPolicy-99822550-89661873 ID is c9c042f8-6591-4ef1-bfad-cf662bb95a69 2026-02-24 03:48:58,526 - DEBUG - VM ctest-TestBasicPolicy-99822550-89661873 launched on Node cn-jenkins-deploy-platform-ansible-os-5392-1 2026-02-24 03:48:58,598 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c9c042f8-6591-4ef1-bfad-cf662bb95a69 2026-02-24 03:48:58,606 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2c23fb6a-3cdd-4b9a-a576-35fd76049181 2026-02-24 03:49:01,862 - 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 1027ms') 2026-02-24 03:49:01,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99822550-89661873 failed! 2026-02-24 03:49:01,917 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99822550:ctest-vn-91645310 is 41.157.108.1 and allocation pool is NOT set 2026-02-24 03:49:03,978 - 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=7.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.98 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.979/5.170/7.361/2.191 ms') 2026-02-24 03:49:03,978 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99822550-89661873 passed 2026-02-24 03:49:04,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 03:49:04,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99822550-89661873, IP 41.157.108.3, Port 22 2026-02-24 03:49:04,199 - 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-24 03:49:04,284 - DEBUG - VM ctest-TestBasicPolicy-99822550-89661873 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-24 03:49:09,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 03:49:09,284 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99822550-89661873, IP 41.157.108.3, Port 22 2026-02-24 03:49:09,440 - DEBUG - VM ctest-TestBasicPolicy-99822550-89661873 is ready for SSH connections 2026-02-24 03:49:09,440 - INFO - Waiting for VM ctest-TestBasicPolicy-99822550-05602748 to be up.. 2026-02-24 03:49:09,517 - DEBUG - VM is in ACTIVE state now 2026-02-24 03:49:09,517 - INFO - VM name : ctest-TestBasicPolicy-99822550-05602748 2026-02-24 03:49:09,589 - DEBUG - VM ctest-TestBasicPolicy-99822550-05602748 ID is 8978e21a-d2ce-49a8-8167-3e76273246cd 2026-02-24 03:49:09,589 - DEBUG - VM ctest-TestBasicPolicy-99822550-05602748 launched on Node cn-jenkins-deploy-platform-ansible-os-5392-1 2026-02-24 03:49:09,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8978e21a-d2ce-49a8-8167-3e76273246cd 2026-02-24 03:49:09,676 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c2ae8361-af7e-4498-815c-d188a4d84f65 2026-02-24 03:49:10,914 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.887/3.370/1.482 ms') 2026-02-24 03:49:10,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99822550-05602748 passed 2026-02-24 03:49:11,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 03:49:11,061 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99822550-05602748, IP 2.217.167.195, Port 22 2026-02-24 03:49:11,217 - DEBUG - VM ctest-TestBasicPolicy-99822550-05602748 is ready for SSH connections 2026-02-24 03:49:11,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 03:49:11,217 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.217.167.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-24 03:49:11,217 - DEBUG - ping -s 56 -c 3 -W 1 2.217.167.195 2026-02-24 03:49:15,308 - DEBUG - PING 2.217.167.195 (2.217.167.195): 56 data bytes 64 bytes from 2.217.167.195: seq=0 ttl=63 time=3.647 ms 64 bytes from 2.217.167.195: seq=1 ttl=63 time=0.912 ms 64 bytes from 2.217.167.195: seq=2 ttl=63 time=0.926 ms --- 2.217.167.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/1.828/3.647 ms 2026-02-24 03:49:15,308 - INFO - Ping to IP 2.217.167.195 from VM ctest-TestBasicPolicy-99822550-89661873 passed 2026-02-24 03:49:15,485 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fdf8fe55-b778-476a-9b53-481bdff48dad", "href": "http://10.0.0.50:8082/network-policy/fdf8fe55-b778-476a-9b53-481bdff48dad"}} 2026-02-24 03:49:15,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 03:49:15,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.217.167.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-24 03:49:15,485 - DEBUG - ping -s 56 -c 3 -W 1 2.217.167.195 2026-02-24 03:49:18,708 - DEBUG - PING 2.217.167.195 (2.217.167.195): 56 data bytes --- 2.217.167.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-24 03:49:18,708 - WARNING - Ping to IP 2.217.167.195 from VM ctest-TestBasicPolicy-99822550-89661873 failed 2026-02-24 03:49:18,708 - INFO - Deleting VM ctest-TestBasicPolicy-99822550-05602748 2026-02-24 03:49:18,779 - INFO - Deleting VM ctest-TestBasicPolicy-99822550-89661873 2026-02-24 03:49:19,178 - INFO - Deleted policy ctest-policy-allow-all-17324266 2026-02-24 03:49:19,178 - INFO - Deleting VN ctest-vn-12167781 2026-02-24 03:49:19,218 - DEBUG - VN 44f467ce-c7ad-47a3-bb30-d7b4a8fccab6 still in use: Unable to complete operation on network 44f467ce-c7ad-47a3-bb30-d7b4a8fccab6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b21f9ca9-5002-4591-9cdd-ec2fc9ff5145'] 2026-02-24 03:49:19,218 - WARNING - Deleting VN ctest-vn-12167781 failed..Will retry 2026-02-24 03:49:21,321 - DEBUG - Response for deleting network () 2026-02-24 03:49:21,321 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/14edc0d1-3a3d-46fc-8355-bb5e4ae9912a 2026-02-24 03:49:21,327 - DEBUG - Response Code: 404 2026-02-24 03:49:21,327 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-24 03:49:21,332 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c 2026-02-24 03:49:21,386 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d 2026-02-24 03:49:21,456 - INFO - Validated that VN ctest-vn-12167781 is not found in API Server 2026-02-24 03:49:21,465 - DEBUG - VN ctest-vn-12167781 is not present in Agent 10.0.0.50 2026-02-24 03:49:21,466 - INFO - Validated that VN ctest-vn-12167781 is not in any agent 2026-02-24 03:49:21,478 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12167781 info 2026-02-24 03:49:21,478 - INFO - Deleting VN ctest-vn-91645310 2026-02-24 03:49:21,575 - DEBUG - Response for deleting network () 2026-02-24 03:49:21,575 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/26a66d1b-38ff-4649-b751-a503f46e520f 2026-02-24 03:49:21,579 - DEBUG - Response Code: 404 2026-02-24 03:49:21,579 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-24 03:49:21,586 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bf0e71fc-09f6-4eb5-b3a4-3d71059c203c 2026-02-24 03:49:21,638 - DEBUG - Requesting: http://10.0.0.50:8082/project/95c642e4-bfbe-476b-ac62-a5ba7882d94d 2026-02-24 03:49:21,709 - INFO - Validated that VN ctest-vn-91645310 is not found in API Server 2026-02-24 03:49:21,718 - DEBUG - VN ctest-vn-91645310 is not present in Agent 10.0.0.50 2026-02-24 03:49:21,718 - INFO - Validated that VN ctest-vn-91645310 is not in any agent 2026-02-24 03:49:21,731 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91645310 info 2026-02-24 03:49:21,986 - DEBUG - No XMPP flaps were noticed during the test 2026-02-24 03:49:21,986 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-02-24 03:49:21,986 - INFO - -------------------------------------------------------------------------------- 2026-02-24 03:49:22,692 - INFO - Deleted project: ctest-TestBasicPolicy-99822550, ID : 95c642e4-bfbe-476b-ac62-a5ba7882d94d