2026-01-12 02:05:56,190 - INFO - Domain Default found not creating 2026-01-12 02:05:56,386 - INFO - Project ctest-TestBasicPolicy-99521382 not found, creating it 2026-01-12 02:05:56,877 - INFO - Created Project:ctest-TestBasicPolicy-99521382, ID : 593b7a34-17a1-4714-9145-7fad4f62e08e 2026-01-12 02:05:58,517 - INFO - ================================================================================ 2026-01-12 02:05:58,517 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-12 02:05:58,517 - 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-01-12 02:05:58,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-01-12 02:05:58,779 - INFO - Initial checks done. Running the testcase now 2026-01-12 02:05:58,779 - INFO - 2026-01-12 02:05:59,378 - DEBUG - Response for create_network : {'network': {'id': '6fa761a6-eee2-473f-8852-014dc7f16274', 'name': 'ctest-vn-43463662', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'project_id': '593b7a3417a1471491457fad4f62e08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-vn-43463662'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:05:59,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '34618027-c77f-45a4-ab55-c7f04f7fc9e2', 'name': '', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'network_id': '6fa761a6-eee2-473f-8852-014dc7f16274', 'ip_version': 4, 'cidr': '95.69.145.64/26', 'allocation_pools': [{'start': '95.69.145.66', 'end': '95.69.145.126'}], 'gateway_ip': '95.69.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.69.145.66', 'tags': [], 'project_id': '593b7a3417a1471491457fad4f62e08e'}} 2026-01-12 02:05:59,630 - INFO - Created VN ctest-vn-43463662 2026-01-12 02:05:59,688 - DEBUG - VN ctest-vn-43463662 UUID is 6fa761a6-eee2-473f-8852-014dc7f16274 2026-01-12 02:06:00,000 - DEBUG - Response for create_network : {'network': {'id': 'cacda90b-e51b-4b06-9fbf-8e4edd0168b3', 'name': 'ctest-vn-81548063', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'project_id': '593b7a3417a1471491457fad4f62e08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-vn-81548063'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:06:00,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '553be937-0c92-42f0-b283-1cb21e6a842b', 'name': '', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'network_id': 'cacda90b-e51b-4b06-9fbf-8e4edd0168b3', 'ip_version': 4, 'cidr': '78.29.87.192/26', 'allocation_pools': [{'start': '78.29.87.194', 'end': '78.29.87.254'}], 'gateway_ip': '78.29.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.29.87.194', 'tags': [], 'project_id': '593b7a3417a1471491457fad4f62e08e'}} 2026-01-12 02:06:00,241 - INFO - Created VN ctest-vn-81548063 2026-01-12 02:06:00,300 - DEBUG - VN ctest-vn-81548063 UUID is cacda90b-e51b-4b06-9fbf-8e4edd0168b3 2026-01-12 02:06:00,429 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662, 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-99521382:ctest-vn-81548063, 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-01-12 02:06:00,760 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6fa761a6-eee2-473f-8852-014dc7f16274', 'name': 'ctest-vn-43463662', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'project_id': '593b7a3417a1471491457fad4f62e08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34618027-c77f-45a4-ab55-c7f04f7fc9e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-vn-43463662'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-policy-allow-all-68183598']], 'subnet_ipam': [{'subnet_cidr': '95.69.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:06:01,075 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cacda90b-e51b-4b06-9fbf-8e4edd0168b3', 'name': 'ctest-vn-81548063', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'project_id': '593b7a3417a1471491457fad4f62e08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['553be937-0c92-42f0-b283-1cb21e6a842b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-vn-81548063'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-policy-allow-all-68183598']], 'subnet_ipam': [{'subnet_cidr': '78.29.87.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:06:01,228 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-12 02:06:01,602 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-12 02:06:01,651 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623 2026-01-12 02:06:01,666 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e 2026-01-12 02:06:01,747 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274 2026-01-12 02:06:01,759 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274 2026-01-12 02:06:01,770 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663 2026-01-12 02:06:01,781 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663 2026-01-12 02:06:01,790 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4af6b105-d01d-4ee1-9af4-4b1cc333fd53 2026-01-12 02:06:01,798 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 02:06:01,798 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274 2026-01-12 02:06:01,809 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663 2026-01-12 02:06:01,827 - INFO - Verified VN network id 11 for VN 6fa761a6-eee2-473f-8852-014dc7f16274 2026-01-12 02:06:01,827 - INFO - Verifications in API Server for VN ctest-vn-43463662 passed 2026-01-12 02:06:01,827 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274 2026-01-12 02:06:01,840 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663 2026-01-12 02:06:01,852 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663 2026-01-12 02:06:01,860 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4af6b105-d01d-4ee1-9af4-4b1cc333fd53 2026-01-12 02:06:01,872 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99521382', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8045506628920952639', 'uuid-lslong': '9822915170827068020'}, 'enable': 'true', 'created': '2026-01-12T02:05:59', 'last-modified': '2026-01-12T02:06:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.150455'} 2026-01-12 02:06:01,879 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 02:06:01,880 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43463662 passed 2026-01-12 02:06:01,880 - DEBUG - ====Verifying policy data for ctest-vn-43463662 in API_Server ====== 2026-01-12 02:06:01,880 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-12 02:06:01,886 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623 2026-01-12 02:06:01,901 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e 2026-01-12 02:06:01,978 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274 2026-01-12 02:06:01,991 - DEBUG - ==>Verifying data for policy with id: 04237ad1-96a0-47b6-9b89-6817bce8a094, fqn: ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-policy-allow-all-68183598'] 2026-01-12 02:06:01,991 - INFO - VN ctest-vn-43463662 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 02:06:01,991 - DEBUG - Verifying the vn in opserver 2026-01-12 02:06:01,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662 virtual network link through opserver 10.0.0.242 2026-01-12 02:06:01,991 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-12 02:06:02,355 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-12 02:06:02,429 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662?flat'} 2026-01-12 02:06:02,430 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662 is found in opserver 2026-01-12 02:06:02,441 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 02:06:02,448 - DEBUG - VRF ids for VN ctest-vn-43463662: {} 2026-01-12 02:06:02,448 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-12 02:06:02,454 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623 2026-01-12 02:06:02,466 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e 2026-01-12 02:06:02,542 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3 2026-01-12 02:06:02,554 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3 2026-01-12 02:06:02,564 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded 2026-01-12 02:06:02,572 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded 2026-01-12 02:06:02,579 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8087abe1-44e7-404a-838e-2ed6efecf442 2026-01-12 02:06:02,586 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 02:06:02,586 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3 2026-01-12 02:06:02,595 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded 2026-01-12 02:06:02,609 - INFO - Verified VN network id 12 for VN cacda90b-e51b-4b06-9fbf-8e4edd0168b3 2026-01-12 02:06:02,609 - INFO - Verifications in API Server for VN ctest-vn-81548063 passed 2026-01-12 02:06:02,609 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3 2026-01-12 02:06:02,618 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded 2026-01-12 02:06:02,626 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded 2026-01-12 02:06:02,632 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8087abe1-44e7-404a-838e-2ed6efecf442 2026-01-12 02:06:02,643 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99521382', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14613522234440633094', 'uuid-lslong': '11511075641948727475'}, 'enable': 'true', 'created': '2026-01-12T02:05:59', 'last-modified': '2026-01-12T02:06:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.653294'} 2026-01-12 02:06:02,649 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 02:06:02,649 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81548063 passed 2026-01-12 02:06:02,649 - DEBUG - ====Verifying policy data for ctest-vn-81548063 in API_Server ====== 2026-01-12 02:06:02,649 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-12 02:06:02,655 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623 2026-01-12 02:06:02,665 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e 2026-01-12 02:06:02,738 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3 2026-01-12 02:06:02,748 - DEBUG - ==>Verifying data for policy with id: 04237ad1-96a0-47b6-9b89-6817bce8a094, fqn: ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-policy-allow-all-68183598'] 2026-01-12 02:06:02,748 - INFO - VN ctest-vn-81548063 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 02:06:02,748 - DEBUG - Verifying the vn in opserver 2026-01-12 02:06:02,748 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063 virtual network link through opserver 10.0.0.242 2026-01-12 02:06:02,748 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-12 02:06:02,761 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063?flat'} 2026-01-12 02:06:02,761 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063 is found in opserver 2026-01-12 02:06:02,771 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 02:06:02,777 - DEBUG - VRF ids for VN ctest-vn-81548063: {} 2026-01-12 02:06:02,848 - DEBUG - Services list from nova: [, , ] 2026-01-12 02:06:04,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4988-1) 2026-01-12 02:06:05,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4988-1) 2026-01-12 02:06:05,349 - INFO - Waiting for VM ctest-TestBasicPolicy-99521382-42963799 to be up.. 2026-01-12 02:06:05,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-12 02:06:10,554 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:06:10,555 - INFO - VM name : ctest-TestBasicPolicy-99521382-42963799 2026-01-12 02:06:10,649 - DEBUG - VM ctest-TestBasicPolicy-99521382-42963799 ID is 832e09ea-cd05-455c-bcf7-62ed9cd4ee5a 2026-01-12 02:06:10,675 - DEBUG - VM ctest-TestBasicPolicy-99521382-42963799 launched on Node cn-jenkins-deploy-platform-ansible-os-4988-1 2026-01-12 02:06:10,771 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/832e09ea-cd05-455c-bcf7-62ed9cd4ee5a 2026-01-12 02:06:10,782 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ed4e0470-c328-4b3f-9afc-28d507224e1d 2026-01-12 02:06:14,062 - 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 1024ms') 2026-01-12 02:06:14,062 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99521382-42963799 failed! 2026-01-12 02:06:14,120 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662 is 95.69.145.65 and allocation pool is NOT set 2026-01-12 02:06:16,184 - 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.72 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.715/6.877/11.039/4.162 ms') 2026-01-12 02:06:16,184 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99521382-42963799 passed 2026-01-12 02:06:16,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:06:16,344 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99521382-42963799, IP 95.69.145.67, Port 22 2026-01-12 02:06:16,410 - 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-01-12 02:06:16,511 - DEBUG - VM ctest-TestBasicPolicy-99521382-42963799 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-12 02:06:21,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:06:21,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99521382-42963799, IP 95.69.145.67, Port 22 2026-01-12 02:06:21,675 - DEBUG - VM ctest-TestBasicPolicy-99521382-42963799 is ready for SSH connections 2026-01-12 02:06:21,675 - INFO - Waiting for VM ctest-TestBasicPolicy-99521382-20983369 to be up.. 2026-01-12 02:06:21,760 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:06:21,760 - INFO - VM name : ctest-TestBasicPolicy-99521382-20983369 2026-01-12 02:06:21,845 - DEBUG - VM ctest-TestBasicPolicy-99521382-20983369 ID is 6aafe1b5-b76f-422c-af69-43152fe2f7ac 2026-01-12 02:06:21,845 - DEBUG - VM ctest-TestBasicPolicy-99521382-20983369 launched on Node cn-jenkins-deploy-platform-ansible-os-4988-1 2026-01-12 02:06:21,929 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6aafe1b5-b76f-422c-af69-43152fe2f7ac 2026-01-12 02:06:21,939 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5b230752-7b2d-4833-abf0-4c16dc0e6773 2026-01-12 02:06:23,188 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.513 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.513/2.069/3.625/1.556 ms') 2026-01-12 02:06:23,188 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99521382-20983369 passed 2026-01-12 02:06:23,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:06:23,344 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99521382-20983369, IP 78.29.87.195, Port 22 2026-01-12 02:06:23,503 - DEBUG - VM ctest-TestBasicPolicy-99521382-20983369 is ready for SSH connections 2026-01-12 02:06:23,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:06:23,503 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.29.87.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-12 02:06:23,503 - DEBUG - ping -s 56 -c 3 -W 1 78.29.87.195 2026-01-12 02:06:27,912 - DEBUG - PING 78.29.87.195 (78.29.87.195): 56 data bytes 64 bytes from 78.29.87.195: seq=0 ttl=63 time=3.822 ms 64 bytes from 78.29.87.195: seq=1 ttl=63 time=1.223 ms 64 bytes from 78.29.87.195: seq=2 ttl=63 time=1.066 ms --- 78.29.87.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.066/2.037/3.822 ms 2026-01-12 02:06:27,912 - INFO - Ping to IP 78.29.87.195 from VM ctest-TestBasicPolicy-99521382-42963799 passed 2026-01-12 02:06:28,095 - DEBUG - Policy Update Response {"network-policy": {"uuid": "04237ad1-96a0-47b6-9b89-6817bce8a094", "href": "http://10.0.0.242:8082/network-policy/04237ad1-96a0-47b6-9b89-6817bce8a094"}} 2026-01-12 02:06:28,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:06:28,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.29.87.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-12 02:06:28,096 - DEBUG - ping -s 56 -c 3 -W 1 78.29.87.195 2026-01-12 02:06:31,335 - DEBUG - PING 78.29.87.195 (78.29.87.195): 56 data bytes --- 78.29.87.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-12 02:06:31,335 - WARNING - Ping to IP 78.29.87.195 from VM ctest-TestBasicPolicy-99521382-42963799 failed 2026-01-12 02:06:31,336 - INFO - Deleting VM ctest-TestBasicPolicy-99521382-20983369 2026-01-12 02:06:31,415 - INFO - Deleting VM ctest-TestBasicPolicy-99521382-42963799 2026-01-12 02:06:31,843 - INFO - Deleted policy ctest-policy-allow-all-68183598 2026-01-12 02:06:31,843 - INFO - Deleting VN ctest-vn-81548063 2026-01-12 02:06:31,894 - DEBUG - VN cacda90b-e51b-4b06-9fbf-8e4edd0168b3 still in use: Unable to complete operation on network cacda90b-e51b-4b06-9fbf-8e4edd0168b3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d54addab-91d8-4366-8780-298a58593b46'] 2026-01-12 02:06:31,894 - WARNING - Deleting VN ctest-vn-81548063 failed..Will retry 2026-01-12 02:06:34,012 - DEBUG - Response for deleting network () 2026-01-12 02:06:34,012 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded 2026-01-12 02:06:34,018 - DEBUG - Response Code: 404 2026-01-12 02:06:34,018 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-12 02:06:34,023 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623 2026-01-12 02:06:34,083 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e 2026-01-12 02:06:34,155 - INFO - Validated that VN ctest-vn-81548063 is not found in API Server 2026-01-12 02:06:34,165 - DEBUG - VN ctest-vn-81548063 is not present in Agent 10.0.0.242 2026-01-12 02:06:34,165 - INFO - Validated that VN ctest-vn-81548063 is not in any agent 2026-01-12 02:06:34,180 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81548063 info 2026-01-12 02:06:34,180 - INFO - Deleting VN ctest-vn-43463662 2026-01-12 02:06:34,281 - DEBUG - Response for deleting network () 2026-01-12 02:06:34,281 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663 2026-01-12 02:06:34,288 - DEBUG - Response Code: 404 2026-01-12 02:06:34,288 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-12 02:06:34,295 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623 2026-01-12 02:06:34,349 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e 2026-01-12 02:06:34,424 - INFO - Validated that VN ctest-vn-43463662 is not found in API Server 2026-01-12 02:06:34,433 - DEBUG - VN ctest-vn-43463662 is not present in Agent 10.0.0.242 2026-01-12 02:06:34,433 - INFO - Validated that VN ctest-vn-43463662 is not in any agent 2026-01-12 02:06:34,451 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43463662 info 2026-01-12 02:06:34,725 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 02:06:34,726 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-01-12 02:06:34,726 - INFO - -------------------------------------------------------------------------------- 2026-01-12 02:06:35,497 - INFO - Deleted project: ctest-TestBasicPolicy-99521382, ID : 593b7a34-17a1-4714-9145-7fad4f62e08e