2025-05-07 08:52:05,919 - INFO - Domain Default found not creating 2025-05-07 08:52:06,063 - INFO - Project ctest-TestBasicPolicy-46434279 not found, creating it 2025-05-07 08:52:06,526 - INFO - Created Project:ctest-TestBasicPolicy-46434279, ID : 2d2bd0d8-e17c-4d06-b269-c5adb9986586 2025-05-07 08:52:07,862 - INFO - ================================================================================ 2025-05-07 08:52:07,862 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-07 08:52:07,862 - 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-05-07 08:52:08,118 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-07 08:52:08,118 - INFO - Initial checks done. Running the testcase now 2025-05-07 08:52:08,118 - INFO - 2025-05-07 08:52:08,650 - DEBUG - Response for create_network : {'network': {'id': 'b3f6f693-b5e3-439b-a46e-c26682663b70', 'name': 'ctest-vn-65088928', 'tenant_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'project_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46434279', 'ctest-vn-65088928'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 08:52:08,828 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2664a44-2bed-4b8c-93fb-6198b46c4d74', 'name': '', 'tenant_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'network_id': 'b3f6f693-b5e3-439b-a46e-c26682663b70', 'ip_version': 4, 'cidr': '47.185.110.64/26', 'allocation_pools': [{'start': '47.185.110.66', 'end': '47.185.110.126'}], 'gateway_ip': '47.185.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.185.110.66', 'tags': [], 'project_id': '2d2bd0d8e17c4d06b269c5adb9986586'}} 2025-05-07 08:52:08,845 - INFO - Created VN ctest-vn-65088928 2025-05-07 08:52:08,900 - DEBUG - VN ctest-vn-65088928 UUID is b3f6f693-b5e3-439b-a46e-c26682663b70 2025-05-07 08:52:09,220 - DEBUG - Response for create_network : {'network': {'id': '5239a7b7-e422-4649-a19b-bfee5f9f913b', 'name': 'ctest-vn-91125557', 'tenant_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'project_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46434279', 'ctest-vn-91125557'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 08:52:09,438 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c0a21aa-5553-4c28-9a6a-18dad2123334', 'name': '', 'tenant_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'network_id': '5239a7b7-e422-4649-a19b-bfee5f9f913b', 'ip_version': 4, 'cidr': '179.27.141.64/26', 'allocation_pools': [{'start': '179.27.141.66', 'end': '179.27.141.126'}], 'gateway_ip': '179.27.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.27.141.66', 'tags': [], 'project_id': '2d2bd0d8e17c4d06b269c5adb9986586'}} 2025-05-07 08:52:09,455 - INFO - Created VN ctest-vn-91125557 2025-05-07 08:52:09,508 - DEBUG - VN ctest-vn-91125557 UUID is 5239a7b7-e422-4649-a19b-bfee5f9f913b 2025-05-07 08:52:09,656 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-65088928, 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-46434279:ctest-vn-91125557, 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-05-07 08:52:09,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3f6f693-b5e3-439b-a46e-c26682663b70', 'name': 'ctest-vn-65088928', 'tenant_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'project_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a2664a44-2bed-4b8c-93fb-6198b46c4d74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46434279', 'ctest-vn-65088928'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46434279', 'ctest-policy-allow-all-86309411']], 'subnet_ipam': [{'subnet_cidr': '47.185.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-07 08:52:10,174 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5239a7b7-e422-4649-a19b-bfee5f9f913b', 'name': 'ctest-vn-91125557', 'tenant_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'project_id': '2d2bd0d8e17c4d06b269c5adb9986586', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c0a21aa-5553-4c28-9a6a-18dad2123334'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46434279', 'ctest-vn-91125557'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46434279', 'ctest-policy-allow-all-86309411']], 'subnet_ipam': [{'subnet_cidr': '179.27.141.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-07 08:52:10,329 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 08:52:10,602 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 08:52:10,627 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d58375c8-3c26-43a6-b77a-05b0dad244a7 2025-05-07 08:52:10,639 - DEBUG - Requesting: http://10.0.0.38:8082/project/2d2bd0d8-e17c-4d06-b269-c5adb9986586 2025-05-07 08:52:10,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b3f6f693-b5e3-439b-a46e-c26682663b70 2025-05-07 08:52:10,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b3f6f693-b5e3-439b-a46e-c26682663b70 2025-05-07 08:52:10,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c77cd917-1579-4ce3-b239-7903bb1d462f 2025-05-07 08:52:10,737 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c77cd917-1579-4ce3-b239-7903bb1d462f 2025-05-07 08:52:10,743 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f3a174e8-3b61-4fd4-a0de-f1efef0983b8 2025-05-07 08:52:10,749 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-07 08:52:10,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b3f6f693-b5e3-439b-a46e-c26682663b70 2025-05-07 08:52:10,758 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c77cd917-1579-4ce3-b239-7903bb1d462f 2025-05-07 08:52:10,771 - INFO - Verified VN network id 8 for VN b3f6f693-b5e3-439b-a46e-c26682663b70 2025-05-07 08:52:10,772 - INFO - Verifications in API Server for VN ctest-vn-65088928 passed 2025-05-07 08:52:10,772 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b3f6f693-b5e3-439b-a46e-c26682663b70 2025-05-07 08:52:10,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c77cd917-1579-4ce3-b239-7903bb1d462f 2025-05-07 08:52:10,787 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c77cd917-1579-4ce3-b239-7903bb1d462f 2025-05-07 08:52:10,793 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f3a174e8-3b61-4fd4-a0de-f1efef0983b8 2025-05-07 08:52:10,806 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-65088928', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46434279', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12967823291332117403', 'uuid-lslong': '11848621415188544368'}, 'enable': 'true', 'created': '2025-05-07T08:52:08', 'last-modified': '2025-05-07T08:52:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.880797'} 2025-05-07 08:52:10,812 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-07 08:52:10,812 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65088928 passed 2025-05-07 08:52:10,813 - DEBUG - ====Verifying policy data for ctest-vn-65088928 in API_Server ====== 2025-05-07 08:52:10,813 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 08:52:10,818 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d58375c8-3c26-43a6-b77a-05b0dad244a7 2025-05-07 08:52:10,829 - DEBUG - Requesting: http://10.0.0.38:8082/project/2d2bd0d8-e17c-4d06-b269-c5adb9986586 2025-05-07 08:52:10,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b3f6f693-b5e3-439b-a46e-c26682663b70 2025-05-07 08:52:10,911 - DEBUG - ==>Verifying data for policy with id: 3bc9fd04-6bf9-4e79-9bb9-72fc7e355243, fqn: ['default-domain', 'ctest-TestBasicPolicy-46434279', 'ctest-policy-allow-all-86309411'] 2025-05-07 08:52:10,911 - INFO - VN ctest-vn-65088928 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-07 08:52:10,911 - DEBUG - Verifying the vn in opserver 2025-05-07 08:52:10,911 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-65088928 virtual network link through opserver 10.0.0.38 2025-05-07 08:52:10,912 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-07 08:52:11,172 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-07 08:52:11,233 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-65088928', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-65088928?flat'} 2025-05-07 08:52:11,233 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-65088928 is found in opserver 2025-05-07 08:52:11,245 - DEBUG - Do not have enough data to verify VN in agent 2025-05-07 08:52:11,252 - DEBUG - VRF ids for VN ctest-vn-65088928: {} 2025-05-07 08:52:11,252 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 08:52:11,257 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d58375c8-3c26-43a6-b77a-05b0dad244a7 2025-05-07 08:52:11,269 - DEBUG - Requesting: http://10.0.0.38:8082/project/2d2bd0d8-e17c-4d06-b269-c5adb9986586 2025-05-07 08:52:11,343 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5239a7b7-e422-4649-a19b-bfee5f9f913b 2025-05-07 08:52:11,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5239a7b7-e422-4649-a19b-bfee5f9f913b 2025-05-07 08:52:11,363 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191f5071-9f09-4330-a203-56ae73a158b8 2025-05-07 08:52:11,370 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191f5071-9f09-4330-a203-56ae73a158b8 2025-05-07 08:52:11,377 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3d1d91f0-4182-4cf9-a53a-599a11119e7e 2025-05-07 08:52:11,382 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-07 08:52:11,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5239a7b7-e422-4649-a19b-bfee5f9f913b 2025-05-07 08:52:11,391 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191f5071-9f09-4330-a203-56ae73a158b8 2025-05-07 08:52:11,407 - INFO - Verified VN network id 9 for VN 5239a7b7-e422-4649-a19b-bfee5f9f913b 2025-05-07 08:52:11,407 - INFO - Verifications in API Server for VN ctest-vn-91125557 passed 2025-05-07 08:52:11,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5239a7b7-e422-4649-a19b-bfee5f9f913b 2025-05-07 08:52:11,417 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191f5071-9f09-4330-a203-56ae73a158b8 2025-05-07 08:52:11,423 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191f5071-9f09-4330-a203-56ae73a158b8 2025-05-07 08:52:11,430 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3d1d91f0-4182-4cf9-a53a-599a11119e7e 2025-05-07 08:52:11,440 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-91125557', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46434279', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5924951193030903369', 'uuid-lslong': '11645112292023963963'}, 'enable': 'true', 'created': '2025-05-07T08:52:09', 'last-modified': '2025-05-07T08:52:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287533'} 2025-05-07 08:52:11,448 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-07 08:52:11,448 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91125557 passed 2025-05-07 08:52:11,448 - DEBUG - ====Verifying policy data for ctest-vn-91125557 in API_Server ====== 2025-05-07 08:52:11,448 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 08:52:11,455 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d58375c8-3c26-43a6-b77a-05b0dad244a7 2025-05-07 08:52:11,468 - DEBUG - Requesting: http://10.0.0.38:8082/project/2d2bd0d8-e17c-4d06-b269-c5adb9986586 2025-05-07 08:52:11,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5239a7b7-e422-4649-a19b-bfee5f9f913b 2025-05-07 08:52:11,547 - DEBUG - ==>Verifying data for policy with id: 3bc9fd04-6bf9-4e79-9bb9-72fc7e355243, fqn: ['default-domain', 'ctest-TestBasicPolicy-46434279', 'ctest-policy-allow-all-86309411'] 2025-05-07 08:52:11,547 - INFO - VN ctest-vn-91125557 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-07 08:52:11,547 - DEBUG - Verifying the vn in opserver 2025-05-07 08:52:11,547 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-91125557 virtual network link through opserver 10.0.0.38 2025-05-07 08:52:11,547 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-07 08:52:11,558 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-91125557', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-91125557?flat'} 2025-05-07 08:52:11,558 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-91125557 is found in opserver 2025-05-07 08:52:11,569 - DEBUG - Do not have enough data to verify VN in agent 2025-05-07 08:52:11,576 - DEBUG - VRF ids for VN ctest-vn-91125557: {} 2025-05-07 08:52:11,629 - DEBUG - Services list from nova: [, , ] 2025-05-07 08:52:12,574 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3281-1) 2025-05-07 08:52:13,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3281-1) 2025-05-07 08:52:13,731 - INFO - Waiting for VM ctest-TestBasicPolicy-46434279-43369788 to be up.. 2025-05-07 08:52:13,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-07 08:52:18,893 - DEBUG - VM is in ACTIVE state now 2025-05-07 08:52:18,893 - INFO - VM name : ctest-TestBasicPolicy-46434279-43369788 2025-05-07 08:52:18,966 - DEBUG - VM ctest-TestBasicPolicy-46434279-43369788 ID is 77e2d43b-dba4-4f9f-b129-a3510ea32fbe 2025-05-07 08:52:18,987 - DEBUG - VM ctest-TestBasicPolicy-46434279-43369788 launched on Node cn-jenkins-deploy-platform-ansible-os-3281-1 2025-05-07 08:52:19,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/77e2d43b-dba4-4f9f-b129-a3510ea32fbe 2025-05-07 08:52:19,075 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5ba34751-7977-40c6-8da7-72348f7d5124 2025-05-07 08:52:22,329 - 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 1016ms') 2025-05-07 08:52:22,330 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46434279-43369788 failed! 2025-05-07 08:52:22,389 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46434279:ctest-vn-65088928 is 47.185.110.65 and allocation pool is NOT set 2025-05-07 08:52:24,448 - 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=3.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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 = 0.414/1.967/3.520/1.553 ms') 2025-05-07 08:52:24,448 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46434279-43369788 passed 2025-05-07 08:52:24,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 08:52:24,601 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46434279-43369788, IP 47.185.110.67, Port 22 2025-05-07 08:52:24,752 - DEBUG - VM ctest-TestBasicPolicy-46434279-43369788 is ready for SSH connections 2025-05-07 08:52:24,752 - INFO - Waiting for VM ctest-TestBasicPolicy-46434279-68676349 to be up.. 2025-05-07 08:52:24,829 - DEBUG - VM is in ACTIVE state now 2025-05-07 08:52:24,829 - INFO - VM name : ctest-TestBasicPolicy-46434279-68676349 2025-05-07 08:52:24,910 - DEBUG - VM ctest-TestBasicPolicy-46434279-68676349 ID is 0210fbe5-1d8d-4d4b-99f2-9a91386b4e41 2025-05-07 08:52:24,910 - DEBUG - VM ctest-TestBasicPolicy-46434279-68676349 launched on Node cn-jenkins-deploy-platform-ansible-os-3281-1 2025-05-07 08:52:24,989 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0210fbe5-1d8d-4d4b-99f2-9a91386b4e41 2025-05-07 08:52:25,000 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c1414e50-bae2-4892-8215-58473497b30e 2025-05-07 08:52:26,242 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.588 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.588/1.952/3.316/1.364 ms') 2025-05-07 08:52:26,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46434279-68676349 passed 2025-05-07 08:52:26,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 08:52:26,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46434279-68676349, IP 179.27.141.67, Port 22 2025-05-07 08:52:26,548 - DEBUG - VM ctest-TestBasicPolicy-46434279-68676349 is ready for SSH connections 2025-05-07 08:52:26,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 08:52:26,548 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.27.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-07 08:52:26,548 - DEBUG - ping -s 56 -c 3 -W 1 179.27.141.67 2025-05-07 08:52:30,204 - DEBUG - PING 179.27.141.67 (179.27.141.67): 56 data bytes 64 bytes from 179.27.141.67: seq=0 ttl=63 time=3.793 ms 64 bytes from 179.27.141.67: seq=1 ttl=63 time=0.964 ms 64 bytes from 179.27.141.67: seq=2 ttl=63 time=0.953 ms --- 179.27.141.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/1.903/3.793 ms 2025-05-07 08:52:30,204 - INFO - Ping to IP 179.27.141.67 from VM ctest-TestBasicPolicy-46434279-43369788 passed 2025-05-07 08:52:30,388 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3bc9fd04-6bf9-4e79-9bb9-72fc7e355243", "href": "http://10.0.0.38:8082/network-policy/3bc9fd04-6bf9-4e79-9bb9-72fc7e355243"}} 2025-05-07 08:52:30,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 08:52:30,389 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.27.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-07 08:52:30,389 - DEBUG - ping -s 56 -c 3 -W 1 179.27.141.67 2025-05-07 08:52:33,582 - DEBUG - PING 179.27.141.67 (179.27.141.67): 56 data bytes 64 bytes from 179.27.141.67: seq=0 ttl=63 time=1.452 ms --- 179.27.141.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.452/1.452/1.452 ms 2025-05-07 08:52:33,582 - WARNING - Ping to IP 179.27.141.67 from VM ctest-TestBasicPolicy-46434279-43369788 failed 2025-05-07 08:52:33,582 - INFO - Deleting VM ctest-TestBasicPolicy-46434279-68676349 2025-05-07 08:52:33,646 - INFO - Deleting VM ctest-TestBasicPolicy-46434279-43369788 2025-05-07 08:52:34,057 - INFO - Deleted policy ctest-policy-allow-all-86309411 2025-05-07 08:52:34,057 - INFO - Deleting VN ctest-vn-91125557 2025-05-07 08:52:34,109 - DEBUG - VN 5239a7b7-e422-4649-a19b-bfee5f9f913b still in use: Unable to complete operation on network 5239a7b7-e422-4649-a19b-bfee5f9f913b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15dcf1e0-2249-456b-8dcf-673c396ff941'] 2025-05-07 08:52:34,109 - WARNING - Deleting VN ctest-vn-91125557 failed..Will retry 2025-05-07 08:52:36,214 - DEBUG - Response for deleting network () 2025-05-07 08:52:36,214 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191f5071-9f09-4330-a203-56ae73a158b8 2025-05-07 08:52:36,221 - DEBUG - Response Code: 404 2025-05-07 08:52:36,221 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 08:52:36,227 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d58375c8-3c26-43a6-b77a-05b0dad244a7 2025-05-07 08:52:36,284 - DEBUG - Requesting: http://10.0.0.38:8082/project/2d2bd0d8-e17c-4d06-b269-c5adb9986586 2025-05-07 08:52:36,361 - INFO - Validated that VN ctest-vn-91125557 is not found in API Server 2025-05-07 08:52:36,372 - DEBUG - VN ctest-vn-91125557 is not present in Agent 10.0.0.38 2025-05-07 08:52:36,372 - INFO - Validated that VN ctest-vn-91125557 is not in any agent 2025-05-07 08:52:36,390 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91125557 info 2025-05-07 08:52:36,390 - INFO - Deleting VN ctest-vn-65088928 2025-05-07 08:52:36,500 - DEBUG - Response for deleting network () 2025-05-07 08:52:36,500 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c77cd917-1579-4ce3-b239-7903bb1d462f 2025-05-07 08:52:36,507 - DEBUG - Response Code: 404 2025-05-07 08:52:36,507 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 08:52:36,517 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d58375c8-3c26-43a6-b77a-05b0dad244a7 2025-05-07 08:52:36,571 - DEBUG - Requesting: http://10.0.0.38:8082/project/2d2bd0d8-e17c-4d06-b269-c5adb9986586 2025-05-07 08:52:36,643 - INFO - Validated that VN ctest-vn-65088928 is not found in API Server 2025-05-07 08:52:36,654 - DEBUG - VN ctest-vn-65088928 is not present in Agent 10.0.0.38 2025-05-07 08:52:36,654 - INFO - Validated that VN ctest-vn-65088928 is not in any agent 2025-05-07 08:52:36,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65088928 info 2025-05-07 08:52:36,933 - DEBUG - No XMPP flaps were noticed during the test
2025-05-07 08:52:36,933 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-07 08:52:36,933 - INFO - -------------------------------------------------------------------------------- 2025-05-07 08:52:37,605 - INFO - Deleted project: ctest-TestBasicPolicy-46434279, ID : 2d2bd0d8-e17c-4d06-b269-c5adb9986586