2025-12-18 02:19:30,925 - INFO - Domain Default found not creating 2025-12-18 02:19:31,151 - INFO - Project ctest-TestBasicPolicy-50995365 not found, creating it 2025-12-18 02:19:31,653 - INFO - Created Project:ctest-TestBasicPolicy-50995365, ID : aaf9f9d7-1a99-4e4a-9b56-553280865d8e 2025-12-18 02:19:33,400 - INFO - ================================================================================ 2025-12-18 02:19:33,400 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-18 02:19:33,400 - 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 2025-12-18 02:19:33,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.5': '0'}} with 2025-12-18 02:19:33,673 - INFO - Initial checks done. Running the testcase now 2025-12-18 02:19:33,673 - INFO - 2025-12-18 02:19:34,324 - DEBUG - Response for create_network : {'network': {'id': '4ab7e4ba-362f-44c4-ab80-437fdd4a0c12', 'name': 'ctest-vn-80336971', 'tenant_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'project_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50995365', 'ctest-vn-80336971'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:19:34,484 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc11212a-4964-490a-8aee-2296003d2b72', 'name': '', 'tenant_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'network_id': '4ab7e4ba-362f-44c4-ab80-437fdd4a0c12', 'ip_version': 4, 'cidr': '58.240.244.192/26', 'allocation_pools': [{'start': '58.240.244.194', 'end': '58.240.244.254'}], 'gateway_ip': '58.240.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.240.244.194', 'tags': [], 'project_id': 'aaf9f9d71a994e4a9b56553280865d8e'}} 2025-12-18 02:19:34,504 - INFO - Created VN ctest-vn-80336971 2025-12-18 02:19:34,559 - DEBUG - VN ctest-vn-80336971 UUID is 4ab7e4ba-362f-44c4-ab80-437fdd4a0c12 2025-12-18 02:19:34,897 - DEBUG - Response for create_network : {'network': {'id': 'cc5a6641-d907-449e-bf91-a3e14ce2c65d', 'name': 'ctest-vn-51402555', 'tenant_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'project_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50995365', 'ctest-vn-51402555'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:19:35,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '062056f8-c613-412a-b97a-215484840e35', 'name': '', 'tenant_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'network_id': 'cc5a6641-d907-449e-bf91-a3e14ce2c65d', 'ip_version': 4, 'cidr': '38.99.246.192/26', 'allocation_pools': [{'start': '38.99.246.194', 'end': '38.99.246.254'}], 'gateway_ip': '38.99.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.99.246.194', 'tags': [], 'project_id': 'aaf9f9d71a994e4a9b56553280865d8e'}} 2025-12-18 02:19:35,116 - INFO - Created VN ctest-vn-51402555 2025-12-18 02:19:35,171 - DEBUG - VN ctest-vn-51402555 UUID is cc5a6641-d907-449e-bf91-a3e14ce2c65d 2025-12-18 02:19:35,299 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-80336971, 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-50995365:ctest-vn-51402555, 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] 2025-12-18 02:19:35,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ab7e4ba-362f-44c4-ab80-437fdd4a0c12', 'name': 'ctest-vn-80336971', 'tenant_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'project_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc11212a-4964-490a-8aee-2296003d2b72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50995365', 'ctest-vn-80336971'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50995365', 'ctest-policy-allow-all-10012186']], 'subnet_ipam': [{'subnet_cidr': '58.240.244.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:19:35,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc5a6641-d907-449e-bf91-a3e14ce2c65d', 'name': 'ctest-vn-51402555', 'tenant_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'project_id': 'aaf9f9d71a994e4a9b56553280865d8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['062056f8-c613-412a-b97a-215484840e35'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50995365', 'ctest-vn-51402555'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50995365', 'ctest-policy-allow-all-10012186']], 'subnet_ipam': [{'subnet_cidr': '38.99.246.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:19:36,055 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-18 02:19:36,407 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-18 02:19:36,449 - DEBUG - Requesting: http://10.0.0.73:8082/domain/963c99d5-879a-4a6c-8ed3-516b8eecfa7e 2025-12-18 02:19:36,465 - DEBUG - Requesting: http://10.0.0.73:8082/project/aaf9f9d7-1a99-4e4a-9b56-553280865d8e 2025-12-18 02:19:36,542 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4ab7e4ba-362f-44c4-ab80-437fdd4a0c12 2025-12-18 02:19:36,555 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4ab7e4ba-362f-44c4-ab80-437fdd4a0c12 2025-12-18 02:19:36,564 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/93ec3b1a-dea2-46b7-a7d0-dda2788c2e68 2025-12-18 02:19:36,576 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/93ec3b1a-dea2-46b7-a7d0-dda2788c2e68 2025-12-18 02:19:36,585 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/8d7e968a-f391-4e28-99d2-0bd00338bdbb 2025-12-18 02:19:36,594 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 02:19:36,594 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4ab7e4ba-362f-44c4-ab80-437fdd4a0c12 2025-12-18 02:19:36,606 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/93ec3b1a-dea2-46b7-a7d0-dda2788c2e68 2025-12-18 02:19:36,627 - INFO - Verified VN network id 11 for VN 4ab7e4ba-362f-44c4-ab80-437fdd4a0c12 2025-12-18 02:19:36,627 - INFO - Verifications in API Server for VN ctest-vn-80336971 passed 2025-12-18 02:19:36,627 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4ab7e4ba-362f-44c4-ab80-437fdd4a0c12 2025-12-18 02:19:36,638 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/93ec3b1a-dea2-46b7-a7d0-dda2788c2e68 2025-12-18 02:19:36,647 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/93ec3b1a-dea2-46b7-a7d0-dda2788c2e68 2025-12-18 02:19:36,654 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/8d7e968a-f391-4e28-99d2-0bd00338bdbb 2025-12-18 02:19:36,668 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-80336971', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50995365', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5384023367968834756', 'uuid-lslong': '12357951593957166098'}, 'enable': 'true', 'created': '2025-12-18T02:19:34', 'last-modified': '2025-12-18T02:19:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.085099'} 2025-12-18 02:19:36,675 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 02:19:36,675 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80336971 passed 2025-12-18 02:19:36,676 - DEBUG - ====Verifying policy data for ctest-vn-80336971 in API_Server ====== 2025-12-18 02:19:36,676 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-18 02:19:36,682 - DEBUG - Requesting: http://10.0.0.73:8082/domain/963c99d5-879a-4a6c-8ed3-516b8eecfa7e 2025-12-18 02:19:36,693 - DEBUG - Requesting: http://10.0.0.73:8082/project/aaf9f9d7-1a99-4e4a-9b56-553280865d8e 2025-12-18 02:19:36,770 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4ab7e4ba-362f-44c4-ab80-437fdd4a0c12 2025-12-18 02:19:36,780 - DEBUG - ==>Verifying data for policy with id: ae807f55-c118-4961-bf65-8a9504d2a624, fqn: ['default-domain', 'ctest-TestBasicPolicy-50995365', 'ctest-policy-allow-all-10012186'] 2025-12-18 02:19:36,780 - INFO - VN ctest-vn-80336971 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 02:19:36,780 - DEBUG - Verifying the vn in opserver 2025-12-18 02:19:36,780 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-80336971 virtual network link through opserver 10.0.0.73 2025-12-18 02:19:36,781 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-12-18 02:19:37,131 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-12-18 02:19:37,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-80336971', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-80336971?flat'} 2025-12-18 02:19:37,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-80336971 is found in opserver 2025-12-18 02:19:37,218 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 02:19:37,224 - DEBUG - VRF ids for VN ctest-vn-80336971: {} 2025-12-18 02:19:37,224 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-18 02:19:37,231 - DEBUG - Requesting: http://10.0.0.73:8082/domain/963c99d5-879a-4a6c-8ed3-516b8eecfa7e 2025-12-18 02:19:37,243 - DEBUG - Requesting: http://10.0.0.73:8082/project/aaf9f9d7-1a99-4e4a-9b56-553280865d8e 2025-12-18 02:19:37,318 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/cc5a6641-d907-449e-bf91-a3e14ce2c65d 2025-12-18 02:19:37,332 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/cc5a6641-d907-449e-bf91-a3e14ce2c65d 2025-12-18 02:19:37,342 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/65869c15-21a0-4695-a30b-1ec6c727fa14 2025-12-18 02:19:37,351 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/65869c15-21a0-4695-a30b-1ec6c727fa14 2025-12-18 02:19:37,360 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/11d1fa59-baf1-41dc-91c7-cb5dba3bd151 2025-12-18 02:19:37,369 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 02:19:37,369 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/cc5a6641-d907-449e-bf91-a3e14ce2c65d 2025-12-18 02:19:37,380 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/65869c15-21a0-4695-a30b-1ec6c727fa14 2025-12-18 02:19:37,399 - INFO - Verified VN network id 12 for VN cc5a6641-d907-449e-bf91-a3e14ce2c65d 2025-12-18 02:19:37,399 - INFO - Verifications in API Server for VN ctest-vn-51402555 passed 2025-12-18 02:19:37,399 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/cc5a6641-d907-449e-bf91-a3e14ce2c65d 2025-12-18 02:19:37,410 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/65869c15-21a0-4695-a30b-1ec6c727fa14 2025-12-18 02:19:37,422 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/65869c15-21a0-4695-a30b-1ec6c727fa14 2025-12-18 02:19:37,432 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/11d1fa59-baf1-41dc-91c7-cb5dba3bd151 2025-12-18 02:19:37,448 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-51402555', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50995365', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14725194364641297566', 'uuid-lslong': '13803994520920180317'}, 'enable': 'true', 'created': '2025-12-18T02:19:34', 'last-modified': '2025-12-18T02:19:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.609720'} 2025-12-18 02:19:37,456 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 02:19:37,456 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51402555 passed 2025-12-18 02:19:37,456 - DEBUG - ====Verifying policy data for ctest-vn-51402555 in API_Server ====== 2025-12-18 02:19:37,456 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-18 02:19:37,464 - DEBUG - Requesting: http://10.0.0.73:8082/domain/963c99d5-879a-4a6c-8ed3-516b8eecfa7e 2025-12-18 02:19:37,478 - DEBUG - Requesting: http://10.0.0.73:8082/project/aaf9f9d7-1a99-4e4a-9b56-553280865d8e 2025-12-18 02:19:37,553 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/cc5a6641-d907-449e-bf91-a3e14ce2c65d 2025-12-18 02:19:37,564 - DEBUG - ==>Verifying data for policy with id: ae807f55-c118-4961-bf65-8a9504d2a624, fqn: ['default-domain', 'ctest-TestBasicPolicy-50995365', 'ctest-policy-allow-all-10012186'] 2025-12-18 02:19:37,564 - INFO - VN ctest-vn-51402555 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 02:19:37,564 - DEBUG - Verifying the vn in opserver 2025-12-18 02:19:37,564 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-51402555 virtual network link through opserver 10.0.0.73 2025-12-18 02:19:37,564 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-12-18 02:19:37,575 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-51402555', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-51402555?flat'} 2025-12-18 02:19:37,575 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-51402555 is found in opserver 2025-12-18 02:19:37,588 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 02:19:37,595 - DEBUG - VRF ids for VN ctest-vn-51402555: {} 2025-12-18 02:19:37,674 - DEBUG - Services list from nova: [, , ] 2025-12-18 02:19:38,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4902-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4902-1) 2025-12-18 02:19:40,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4902-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4902-1) 2025-12-18 02:19:40,304 - INFO - Waiting for VM ctest-TestBasicPolicy-50995365-93578687 to be up.. 2025-12-18 02:19:40,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 02:19:45,492 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:19:45,492 - INFO - VM name : ctest-TestBasicPolicy-50995365-93578687 2025-12-18 02:19:45,584 - DEBUG - VM ctest-TestBasicPolicy-50995365-93578687 ID is c80f2237-5b4e-41e0-8602-7a44d6a7ac3c 2025-12-18 02:19:45,606 - DEBUG - VM ctest-TestBasicPolicy-50995365-93578687 launched on Node cn-jenkins-deploy-platform-ansible-os-4902-1 2025-12-18 02:19:45,698 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/c80f2237-5b4e-41e0-8602-7a44d6a7ac3c 2025-12-18 02:19:45,707 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/cd762b19-013c-4d3c-a8df-86d606e4b8b0 2025-12-18 02:19:48,978 - 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 1025ms') 2025-12-18 02:19:48,978 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50995365-93578687 failed! 2025-12-18 02:19:49,035 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50995365:ctest-vn-80336971 is 58.240.244.193 and allocation pool is NOT set 2025-12-18 02:19:51,106 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=14.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.20 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 = 3.195/9.007/14.819/5.812 ms') 2025-12-18 02:19:51,106 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50995365-93578687 passed 2025-12-18 02:19:51,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:19:51,255 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50995365-93578687, IP 58.240.244.195, Port 22 2025-12-18 02:19:51,322 - 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': ''} 2025-12-18 02:19:51,417 - DEBUG - VM ctest-TestBasicPolicy-50995365-93578687 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 02:19:56,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:19:56,419 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50995365-93578687, IP 58.240.244.195, Port 22 2025-12-18 02:19:56,591 - DEBUG - VM ctest-TestBasicPolicy-50995365-93578687 is ready for SSH connections 2025-12-18 02:19:56,591 - INFO - Waiting for VM ctest-TestBasicPolicy-50995365-50184004 to be up.. 2025-12-18 02:19:56,678 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:19:56,679 - INFO - VM name : ctest-TestBasicPolicy-50995365-50184004 2025-12-18 02:19:56,771 - DEBUG - VM ctest-TestBasicPolicy-50995365-50184004 ID is 3192ac7f-8d29-48c5-ba9f-dbb5e1e53d31 2025-12-18 02:19:56,772 - DEBUG - VM ctest-TestBasicPolicy-50995365-50184004 launched on Node cn-jenkins-deploy-platform-ansible-os-4902-1 2025-12-18 02:19:56,860 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/3192ac7f-8d29-48c5-ba9f-dbb5e1e53d31 2025-12-18 02:19:56,871 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/1142625e-0234-4ce0-b142-d4bd6e7a512a 2025-12-18 02:19:58,119 - 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=4.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.561 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.561/2.505/4.449/1.944 ms') 2025-12-18 02:19:58,119 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50995365-50184004 passed 2025-12-18 02:19:58,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:19:58,280 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50995365-50184004, IP 38.99.246.195, Port 22 2025-12-18 02:19:58,450 - DEBUG - VM ctest-TestBasicPolicy-50995365-50184004 is ready for SSH connections 2025-12-18 02:19:58,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:19:58,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.99.246.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-18 02:19:58,450 - DEBUG - ping -s 56 -c 3 -W 1 38.99.246.195 2025-12-18 02:20:02,687 - DEBUG - PING 38.99.246.195 (38.99.246.195): 56 data bytes 64 bytes from 38.99.246.195: seq=0 ttl=63 time=5.517 ms 64 bytes from 38.99.246.195: seq=1 ttl=63 time=1.809 ms 64 bytes from 38.99.246.195: seq=2 ttl=63 time=1.424 ms --- 38.99.246.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.424/2.916/5.517 ms 2025-12-18 02:20:02,687 - INFO - Ping to IP 38.99.246.195 from VM ctest-TestBasicPolicy-50995365-93578687 passed 2025-12-18 02:20:02,867 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ae807f55-c118-4961-bf65-8a9504d2a624", "href": "http://10.0.0.73:8082/network-policy/ae807f55-c118-4961-bf65-8a9504d2a624"}} 2025-12-18 02:20:02,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:20:02,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.99.246.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-18 02:20:02,868 - DEBUG - ping -s 56 -c 3 -W 1 38.99.246.195 2025-12-18 02:20:06,109 - DEBUG - PING 38.99.246.195 (38.99.246.195): 56 data bytes --- 38.99.246.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 02:20:06,109 - WARNING - Ping to IP 38.99.246.195 from VM ctest-TestBasicPolicy-50995365-93578687 failed 2025-12-18 02:20:06,109 - INFO - Deleting VM ctest-TestBasicPolicy-50995365-50184004 2025-12-18 02:20:06,200 - INFO - Deleting VM ctest-TestBasicPolicy-50995365-93578687 2025-12-18 02:20:06,637 - INFO - Deleted policy ctest-policy-allow-all-10012186 2025-12-18 02:20:06,638 - INFO - Deleting VN ctest-vn-51402555 2025-12-18 02:20:06,686 - DEBUG - VN cc5a6641-d907-449e-bf91-a3e14ce2c65d still in use: Unable to complete operation on network cc5a6641-d907-449e-bf91-a3e14ce2c65d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8975409-4f7b-4c04-a068-a4aa82c27fc5'] 2025-12-18 02:20:06,686 - WARNING - Deleting VN ctest-vn-51402555 failed..Will retry 2025-12-18 02:20:08,807 - DEBUG - Response for deleting network () 2025-12-18 02:20:08,807 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/65869c15-21a0-4695-a30b-1ec6c727fa14 2025-12-18 02:20:08,814 - DEBUG - Response Code: 404 2025-12-18 02:20:08,814 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-18 02:20:08,820 - DEBUG - Requesting: http://10.0.0.73:8082/domain/963c99d5-879a-4a6c-8ed3-516b8eecfa7e 2025-12-18 02:20:08,879 - DEBUG - Requesting: http://10.0.0.73:8082/project/aaf9f9d7-1a99-4e4a-9b56-553280865d8e 2025-12-18 02:20:08,954 - INFO - Validated that VN ctest-vn-51402555 is not found in API Server 2025-12-18 02:20:08,965 - DEBUG - VN ctest-vn-51402555 is not present in Agent 10.0.0.73 2025-12-18 02:20:08,965 - INFO - Validated that VN ctest-vn-51402555 is not in any agent 2025-12-18 02:20:08,981 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51402555 info 2025-12-18 02:20:08,981 - INFO - Deleting VN ctest-vn-80336971 2025-12-18 02:20:09,099 - DEBUG - Response for deleting network () 2025-12-18 02:20:09,100 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/93ec3b1a-dea2-46b7-a7d0-dda2788c2e68 2025-12-18 02:20:09,105 - DEBUG - Response Code: 404 2025-12-18 02:20:09,105 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-12-18 02:20:09,112 - DEBUG - Requesting: http://10.0.0.73:8082/domain/963c99d5-879a-4a6c-8ed3-516b8eecfa7e 2025-12-18 02:20:09,165 - DEBUG - Requesting: http://10.0.0.73:8082/project/aaf9f9d7-1a99-4e4a-9b56-553280865d8e 2025-12-18 02:20:09,241 - INFO - Validated that VN ctest-vn-80336971 is not found in API Server 2025-12-18 02:20:09,251 - DEBUG - VN ctest-vn-80336971 is not present in Agent 10.0.0.73 2025-12-18 02:20:09,251 - INFO - Validated that VN ctest-vn-80336971 is not in any agent 2025-12-18 02:20:09,272 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80336971 info 2025-12-18 02:20:09,537 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 02:20:09,537 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-12-18 02:20:09,537 - INFO - -------------------------------------------------------------------------------- 2025-12-18 02:20:10,285 - INFO - Deleted project: ctest-TestBasicPolicy-50995365, ID : aaf9f9d7-1a99-4e4a-9b56-553280865d8e