2025-07-17 17:13:01,228 - INFO - Domain Default found not creating 2025-07-17 17:13:01,447 - INFO - Project ctest-TestBasicPolicy-63545966 not found, creating it 2025-07-17 17:13:01,950 - INFO - Created Project:ctest-TestBasicPolicy-63545966, ID : 99287471-444d-4eb6-a0dd-7e321f3be160 2025-07-17 17:13:04,074 - INFO - ================================================================================ 2025-07-17 17:13:04,074 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-17 17:13:04,074 - 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-07-17 17:13:04,364 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-07-17 17:13:04,364 - INFO - Initial checks done. Running the testcase now 2025-07-17 17:13:04,364 - INFO - 2025-07-17 17:13:05,062 - DEBUG - Response for create_network : {'network': {'id': '936b3c06-21aa-48cd-bda2-262183acaf7a', 'name': 'ctest-vn-74319597', 'tenant_id': '99287471444d4eb6a0dd7e321f3be160', 'project_id': '99287471444d4eb6a0dd7e321f3be160', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63545966', 'ctest-vn-74319597'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 17:13:05,228 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f991af9-0bbb-4719-ae15-1b4ace263fe7', 'name': '', 'tenant_id': '99287471444d4eb6a0dd7e321f3be160', 'network_id': '936b3c06-21aa-48cd-bda2-262183acaf7a', 'ip_version': 4, 'cidr': '72.33.215.0/26', 'allocation_pools': [{'start': '72.33.215.2', 'end': '72.33.215.62'}], 'gateway_ip': '72.33.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.33.215.2', 'tags': [], 'project_id': '99287471444d4eb6a0dd7e321f3be160'}} 2025-07-17 17:13:05,249 - INFO - Created VN ctest-vn-74319597 2025-07-17 17:13:05,302 - DEBUG - VN ctest-vn-74319597 UUID is 936b3c06-21aa-48cd-bda2-262183acaf7a 2025-07-17 17:13:05,755 - DEBUG - Response for create_network : {'network': {'id': '34c342c1-6686-4efa-81ea-2f26d9bf14f7', 'name': 'ctest-vn-78224955', 'tenant_id': '99287471444d4eb6a0dd7e321f3be160', 'project_id': '99287471444d4eb6a0dd7e321f3be160', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63545966', 'ctest-vn-78224955'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 17:13:05,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '64fa1d93-67ea-4460-a08e-7848de899019', 'name': '', 'tenant_id': '99287471444d4eb6a0dd7e321f3be160', 'network_id': '34c342c1-6686-4efa-81ea-2f26d9bf14f7', 'ip_version': 4, 'cidr': '1.222.177.0/26', 'allocation_pools': [{'start': '1.222.177.2', 'end': '1.222.177.62'}], 'gateway_ip': '1.222.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.222.177.2', 'tags': [], 'project_id': '99287471444d4eb6a0dd7e321f3be160'}} 2025-07-17 17:13:06,009 - INFO - Created VN ctest-vn-78224955 2025-07-17 17:13:06,070 - DEBUG - VN ctest-vn-78224955 UUID is 34c342c1-6686-4efa-81ea-2f26d9bf14f7 2025-07-17 17:13:06,266 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-74319597, 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-63545966:ctest-vn-78224955, 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-07-17 17:13:06,695 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '936b3c06-21aa-48cd-bda2-262183acaf7a', 'name': 'ctest-vn-74319597', 'tenant_id': '99287471444d4eb6a0dd7e321f3be160', 'project_id': '99287471444d4eb6a0dd7e321f3be160', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5f991af9-0bbb-4719-ae15-1b4ace263fe7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63545966', 'ctest-vn-74319597'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63545966', 'ctest-policy-allow-all-92590248']], 'subnet_ipam': [{'subnet_cidr': '72.33.215.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 17:13:06,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34c342c1-6686-4efa-81ea-2f26d9bf14f7', 'name': 'ctest-vn-78224955', 'tenant_id': '99287471444d4eb6a0dd7e321f3be160', 'project_id': '99287471444d4eb6a0dd7e321f3be160', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64fa1d93-67ea-4460-a08e-7848de899019'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63545966', 'ctest-vn-78224955'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63545966', 'ctest-policy-allow-all-92590248']], 'subnet_ipam': [{'subnet_cidr': '1.222.177.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 17:13:07,170 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-17 17:13:07,473 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-17 17:13:07,507 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d5c1c1f-6573-4833-a7a4-7ad050e7a8b1 2025-07-17 17:13:07,527 - DEBUG - Requesting: http://10.0.0.27:8082/project/99287471-444d-4eb6-a0dd-7e321f3be160 2025-07-17 17:13:07,671 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/936b3c06-21aa-48cd-bda2-262183acaf7a 2025-07-17 17:13:07,699 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/936b3c06-21aa-48cd-bda2-262183acaf7a 2025-07-17 17:13:07,721 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2ad7e8f8-13fc-4488-a717-a4b52a6272d9 2025-07-17 17:13:07,736 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2ad7e8f8-13fc-4488-a717-a4b52a6272d9 2025-07-17 17:13:07,747 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/8119ec7e-80e6-4e8f-a9e6-f8b7325594dc 2025-07-17 17:13:07,758 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 17:13:07,758 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/936b3c06-21aa-48cd-bda2-262183acaf7a 2025-07-17 17:13:07,775 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2ad7e8f8-13fc-4488-a717-a4b52a6272d9 2025-07-17 17:13:07,804 - INFO - Verified VN network id 8 for VN 936b3c06-21aa-48cd-bda2-262183acaf7a 2025-07-17 17:13:07,804 - INFO - Verifications in API Server for VN ctest-vn-74319597 passed 2025-07-17 17:13:07,804 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/936b3c06-21aa-48cd-bda2-262183acaf7a 2025-07-17 17:13:07,818 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2ad7e8f8-13fc-4488-a717-a4b52a6272d9 2025-07-17 17:13:07,826 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2ad7e8f8-13fc-4488-a717-a4b52a6272d9 2025-07-17 17:13:07,835 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/8119ec7e-80e6-4e8f-a9e6-f8b7325594dc 2025-07-17 17:13:07,853 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-74319597', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63545966', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10622650143115725005', 'uuid-lslong': '13664526144780414842'}, 'enable': 'true', 'created': '2025-07-17T17:13:05', 'last-modified': '2025-07-17T17:13:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.200380'} 2025-07-17 17:13:07,862 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 17:13:07,862 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74319597 passed 2025-07-17 17:13:07,863 - DEBUG - ====Verifying policy data for ctest-vn-74319597 in API_Server ====== 2025-07-17 17:13:07,863 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-17 17:13:07,870 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d5c1c1f-6573-4833-a7a4-7ad050e7a8b1 2025-07-17 17:13:07,886 - DEBUG - Requesting: http://10.0.0.27:8082/project/99287471-444d-4eb6-a0dd-7e321f3be160 2025-07-17 17:13:07,974 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/936b3c06-21aa-48cd-bda2-262183acaf7a 2025-07-17 17:13:07,990 - DEBUG - ==>Verifying data for policy with id: e2599f70-4a70-4507-9f51-162afd5c5961, fqn: ['default-domain', 'ctest-TestBasicPolicy-63545966', 'ctest-policy-allow-all-92590248'] 2025-07-17 17:13:07,990 - INFO - VN ctest-vn-74319597 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 17:13:07,991 - DEBUG - Verifying the vn in opserver 2025-07-17 17:13:07,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-74319597 virtual network link through opserver 10.0.0.27 2025-07-17 17:13:07,991 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-17 17:13:08,299 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-17 17:13:08,382 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-74319597', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-74319597?flat'} 2025-07-17 17:13:08,382 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-74319597 is found in opserver 2025-07-17 17:13:08,404 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 17:13:08,415 - DEBUG - VRF ids for VN ctest-vn-74319597: {} 2025-07-17 17:13:08,416 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-17 17:13:08,426 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d5c1c1f-6573-4833-a7a4-7ad050e7a8b1 2025-07-17 17:13:08,447 - DEBUG - Requesting: http://10.0.0.27:8082/project/99287471-444d-4eb6-a0dd-7e321f3be160 2025-07-17 17:13:08,539 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/34c342c1-6686-4efa-81ea-2f26d9bf14f7 2025-07-17 17:13:08,557 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/34c342c1-6686-4efa-81ea-2f26d9bf14f7 2025-07-17 17:13:08,571 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bc05a27e-def5-445f-a237-d14893ee188b 2025-07-17 17:13:08,581 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bc05a27e-def5-445f-a237-d14893ee188b 2025-07-17 17:13:08,591 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2ceb2285-8baa-47e4-9999-c174b6052147 2025-07-17 17:13:08,605 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 17:13:08,605 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/34c342c1-6686-4efa-81ea-2f26d9bf14f7 2025-07-17 17:13:08,619 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bc05a27e-def5-445f-a237-d14893ee188b 2025-07-17 17:13:08,639 - INFO - Verified VN network id 9 for VN 34c342c1-6686-4efa-81ea-2f26d9bf14f7 2025-07-17 17:13:08,639 - INFO - Verifications in API Server for VN ctest-vn-78224955 passed 2025-07-17 17:13:08,640 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/34c342c1-6686-4efa-81ea-2f26d9bf14f7 2025-07-17 17:13:08,653 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bc05a27e-def5-445f-a237-d14893ee188b 2025-07-17 17:13:08,665 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bc05a27e-def5-445f-a237-d14893ee188b 2025-07-17 17:13:08,675 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2ceb2285-8baa-47e4-9999-c174b6052147 2025-07-17 17:13:08,692 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-78224955', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63545966', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3801955908847030010', 'uuid-lslong': '9361346619351438583'}, 'enable': 'true', 'created': '2025-07-17T17:13:05', 'last-modified': '2025-07-17T17:13:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.746643'} 2025-07-17 17:13:08,701 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 17:13:08,701 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78224955 passed 2025-07-17 17:13:08,701 - DEBUG - ====Verifying policy data for ctest-vn-78224955 in API_Server ====== 2025-07-17 17:13:08,701 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-17 17:13:08,711 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d5c1c1f-6573-4833-a7a4-7ad050e7a8b1 2025-07-17 17:13:08,730 - DEBUG - Requesting: http://10.0.0.27:8082/project/99287471-444d-4eb6-a0dd-7e321f3be160 2025-07-17 17:13:08,835 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/34c342c1-6686-4efa-81ea-2f26d9bf14f7 2025-07-17 17:13:08,853 - DEBUG - ==>Verifying data for policy with id: e2599f70-4a70-4507-9f51-162afd5c5961, fqn: ['default-domain', 'ctest-TestBasicPolicy-63545966', 'ctest-policy-allow-all-92590248'] 2025-07-17 17:13:08,853 - INFO - VN ctest-vn-78224955 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 17:13:08,853 - DEBUG - Verifying the vn in opserver 2025-07-17 17:13:08,853 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-78224955 virtual network link through opserver 10.0.0.27 2025-07-17 17:13:08,853 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-17 17:13:08,868 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-78224955', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-78224955?flat'} 2025-07-17 17:13:08,868 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-78224955 is found in opserver 2025-07-17 17:13:08,883 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 17:13:08,891 - DEBUG - VRF ids for VN ctest-vn-78224955: {} 2025-07-17 17:13:08,963 - DEBUG - Services list from nova: [, , ] 2025-07-17 17:13:10,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3660-1) 2025-07-17 17:13:11,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3660-1) 2025-07-17 17:13:11,794 - INFO - Waiting for VM ctest-TestBasicPolicy-63545966-43522848 to be up.. 2025-07-17 17:13:11,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 17:13:17,002 - DEBUG - VM is in ACTIVE state now 2025-07-17 17:13:17,002 - INFO - VM name : ctest-TestBasicPolicy-63545966-43522848 2025-07-17 17:13:17,086 - DEBUG - VM ctest-TestBasicPolicy-63545966-43522848 ID is 4c75a3ae-08f7-411d-aea2-b6eb4daa37eb 2025-07-17 17:13:17,109 - DEBUG - VM ctest-TestBasicPolicy-63545966-43522848 launched on Node cn-jenkins-deploy-platform-ansible-os-3660-1 2025-07-17 17:13:17,204 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/4c75a3ae-08f7-411d-aea2-b6eb4daa37eb 2025-07-17 17:13:17,217 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/40673b57-9574-4a52-a932-80099678ad17 2025-07-17 17:13:20,528 - 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 1023ms') 2025-07-17 17:13:20,528 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63545966-43522848 failed! 2025-07-17 17:13:20,602 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63545966:ctest-vn-74319597 is 72.33.215.1 and allocation pool is NOT set 2025-07-17 17:13:22,677 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.810/7.295/10.780/3.485 ms') 2025-07-17 17:13:22,678 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63545966-43522848 passed 2025-07-17 17:13:22,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 17:13:22,862 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63545966-43522848, IP 72.33.215.3, Port 22 2025-07-17 17:13:22,933 - 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-07-17 17:13:23,068 - DEBUG - VM ctest-TestBasicPolicy-63545966-43522848 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-17 17:13:28,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 17:13:28,069 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63545966-43522848, IP 72.33.215.3, Port 22 2025-07-17 17:13:28,244 - DEBUG - VM ctest-TestBasicPolicy-63545966-43522848 is ready for SSH connections 2025-07-17 17:13:28,244 - INFO - Waiting for VM ctest-TestBasicPolicy-63545966-52010097 to be up.. 2025-07-17 17:13:28,333 - DEBUG - VM is in ACTIVE state now 2025-07-17 17:13:28,333 - INFO - VM name : ctest-TestBasicPolicy-63545966-52010097 2025-07-17 17:13:28,421 - DEBUG - VM ctest-TestBasicPolicy-63545966-52010097 ID is cb7e9516-e64c-4edb-b0ef-ea2d6c96e73d 2025-07-17 17:13:28,421 - DEBUG - VM ctest-TestBasicPolicy-63545966-52010097 launched on Node cn-jenkins-deploy-platform-ansible-os-3660-1 2025-07-17 17:13:28,516 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/cb7e9516-e64c-4edb-b0ef-ea2d6c96e73d 2025-07-17 17:13:28,528 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7cf9aea2-6b1a-4a6c-8013-ec5ca3117520 2025-07-17 17:13:29,790 - 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=5.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.634 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.634/3.076/5.519/2.442 ms') 2025-07-17 17:13:29,790 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63545966-52010097 passed 2025-07-17 17:13:29,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 17:13:29,966 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63545966-52010097, IP 1.222.177.3, Port 22 2025-07-17 17:13:30,155 - DEBUG - VM ctest-TestBasicPolicy-63545966-52010097 is ready for SSH connections 2025-07-17 17:13:30,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 17:13:30,155 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.222.177.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-17 17:13:30,156 - DEBUG - ping -s 56 -c 3 -W 1 1.222.177.3 2025-07-17 17:13:34,518 - DEBUG - PING 1.222.177.3 (1.222.177.3): 56 data bytes 64 bytes from 1.222.177.3: seq=0 ttl=63 time=4.252 ms 64 bytes from 1.222.177.3: seq=1 ttl=63 time=1.205 ms 64 bytes from 1.222.177.3: seq=2 ttl=63 time=1.350 ms --- 1.222.177.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.205/2.269/4.252 ms 2025-07-17 17:13:34,518 - INFO - Ping to IP 1.222.177.3 from VM ctest-TestBasicPolicy-63545966-43522848 passed 2025-07-17 17:13:34,709 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e2599f70-4a70-4507-9f51-162afd5c5961", "href": "http://10.0.0.27:8082/network-policy/e2599f70-4a70-4507-9f51-162afd5c5961"}} 2025-07-17 17:13:34,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 17:13:34,710 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.222.177.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-17 17:13:34,710 - DEBUG - ping -s 56 -c 3 -W 1 1.222.177.3 2025-07-17 17:13:37,969 - DEBUG - PING 1.222.177.3 (1.222.177.3): 56 data bytes --- 1.222.177.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-17 17:13:37,969 - WARNING - Ping to IP 1.222.177.3 from VM ctest-TestBasicPolicy-63545966-43522848 failed 2025-07-17 17:13:37,970 - INFO - Deleting VM ctest-TestBasicPolicy-63545966-52010097 2025-07-17 17:13:38,119 - INFO - Deleting VM ctest-TestBasicPolicy-63545966-43522848 2025-07-17 17:13:38,780 - INFO - Deleted policy ctest-policy-allow-all-92590248 2025-07-17 17:13:38,781 - INFO - Deleting VN ctest-vn-78224955 2025-07-17 17:13:38,853 - DEBUG - VN 34c342c1-6686-4efa-81ea-2f26d9bf14f7 still in use: Unable to complete operation on network 34c342c1-6686-4efa-81ea-2f26d9bf14f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9c71be0-bd6f-4a93-841f-43343849c190'] 2025-07-17 17:13:38,854 - WARNING - Deleting VN ctest-vn-78224955 failed..Will retry 2025-07-17 17:13:41,087 - DEBUG - Response for deleting network () 2025-07-17 17:13:41,087 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bc05a27e-def5-445f-a237-d14893ee188b 2025-07-17 17:13:41,099 - DEBUG - Response Code: 404 2025-07-17 17:13:41,099 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-17 17:13:41,108 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d5c1c1f-6573-4833-a7a4-7ad050e7a8b1 2025-07-17 17:13:41,173 - DEBUG - Requesting: http://10.0.0.27:8082/project/99287471-444d-4eb6-a0dd-7e321f3be160 2025-07-17 17:13:41,272 - INFO - Validated that VN ctest-vn-78224955 is not found in API Server 2025-07-17 17:13:41,290 - DEBUG - VN ctest-vn-78224955 is not present in Agent 10.0.0.27 2025-07-17 17:13:41,290 - INFO - Validated that VN ctest-vn-78224955 is not in any agent 2025-07-17 17:13:41,311 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78224955 info 2025-07-17 17:13:41,311 - INFO - Deleting VN ctest-vn-74319597 2025-07-17 17:13:41,460 - DEBUG - Response for deleting network () 2025-07-17 17:13:41,460 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2ad7e8f8-13fc-4488-a717-a4b52a6272d9 2025-07-17 17:13:41,467 - DEBUG - Response Code: 404 2025-07-17 17:13:41,467 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-17 17:13:41,474 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d5c1c1f-6573-4833-a7a4-7ad050e7a8b1 2025-07-17 17:13:41,537 - DEBUG - Requesting: http://10.0.0.27:8082/project/99287471-444d-4eb6-a0dd-7e321f3be160 2025-07-17 17:13:41,629 - INFO - Validated that VN ctest-vn-74319597 is not found in API Server 2025-07-17 17:13:41,649 - DEBUG - VN ctest-vn-74319597 is not present in Agent 10.0.0.27 2025-07-17 17:13:41,649 - INFO - Validated that VN ctest-vn-74319597 is not in any agent 2025-07-17 17:13:41,679 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74319597 info 2025-07-17 17:13:41,986 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 17:13:41,987 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2025-07-17 17:13:41,987 - INFO - -------------------------------------------------------------------------------- 2025-07-17 17:13:42,894 - INFO - Deleted project: ctest-TestBasicPolicy-63545966, ID : 99287471-444d-4eb6-a0dd-7e321f3be160