2025-06-17 07:00:23,770 - INFO - Domain Default found not creating 2025-06-17 07:00:23,915 - INFO - Project ctest-TestBasicPolicy-38366694 not found, creating it 2025-06-17 07:00:24,380 - INFO - Created Project:ctest-TestBasicPolicy-38366694, ID : 60e5f814-9aec-49ea-8705-3b782d8b65c3 2025-06-17 07:00:25,839 - INFO - ================================================================================ 2025-06-17 07:00:25,839 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-17 07:00:25,839 - 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-06-17 07:00:26,100 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-17 07:00:26,101 - INFO - Initial checks done. Running the testcase now 2025-06-17 07:00:26,101 - INFO - 2025-06-17 07:00:26,669 - DEBUG - Response for create_network : {'network': {'id': '637a7f51-326e-44cb-bf35-036eff845942', 'name': 'ctest-vn-37719921', 'tenant_id': '60e5f8149aec49ea87053b782d8b65c3', 'project_id': '60e5f8149aec49ea87053b782d8b65c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38366694', 'ctest-vn-37719921'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 07:00:26,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '370528f7-9c13-4ff5-898a-9b2e84b4749b', 'name': '', 'tenant_id': '60e5f8149aec49ea87053b782d8b65c3', 'network_id': '637a7f51-326e-44cb-bf35-036eff845942', 'ip_version': 4, 'cidr': '55.112.168.128/26', 'allocation_pools': [{'start': '55.112.168.130', 'end': '55.112.168.190'}], 'gateway_ip': '55.112.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.112.168.130', 'tags': [], 'project_id': '60e5f8149aec49ea87053b782d8b65c3'}} 2025-06-17 07:00:26,876 - INFO - Created VN ctest-vn-37719921 2025-06-17 07:00:26,930 - DEBUG - VN ctest-vn-37719921 UUID is 637a7f51-326e-44cb-bf35-036eff845942 2025-06-17 07:00:27,277 - DEBUG - Response for create_network : {'network': {'id': '4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd', 'name': 'ctest-vn-25919513', 'tenant_id': '60e5f8149aec49ea87053b782d8b65c3', 'project_id': '60e5f8149aec49ea87053b782d8b65c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38366694', 'ctest-vn-25919513'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 07:00:27,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f1e09c8-df59-4a26-a12e-653ad942d727', 'name': '', 'tenant_id': '60e5f8149aec49ea87053b782d8b65c3', 'network_id': '4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd', 'ip_version': 4, 'cidr': '62.177.245.0/26', 'allocation_pools': [{'start': '62.177.245.2', 'end': '62.177.245.62'}], 'gateway_ip': '62.177.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.177.245.2', 'tags': [], 'project_id': '60e5f8149aec49ea87053b782d8b65c3'}} 2025-06-17 07:00:27,495 - INFO - Created VN ctest-vn-25919513 2025-06-17 07:00:27,546 - DEBUG - VN ctest-vn-25919513 UUID is 4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd 2025-06-17 07:00:27,660 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-37719921, 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-38366694:ctest-vn-25919513, 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-06-17 07:00:27,963 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '637a7f51-326e-44cb-bf35-036eff845942', 'name': 'ctest-vn-37719921', 'tenant_id': '60e5f8149aec49ea87053b782d8b65c3', 'project_id': '60e5f8149aec49ea87053b782d8b65c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['370528f7-9c13-4ff5-898a-9b2e84b4749b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38366694', 'ctest-vn-37719921'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38366694', 'ctest-policy-allow-all-89908765']], 'subnet_ipam': [{'subnet_cidr': '55.112.168.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 07:00:28,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd', 'name': 'ctest-vn-25919513', 'tenant_id': '60e5f8149aec49ea87053b782d8b65c3', 'project_id': '60e5f8149aec49ea87053b782d8b65c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3f1e09c8-df59-4a26-a12e-653ad942d727'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38366694', 'ctest-vn-25919513'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38366694', 'ctest-policy-allow-all-89908765']], 'subnet_ipam': [{'subnet_cidr': '62.177.245.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 07:00:28,362 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-17 07:00:28,660 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-17 07:00:28,689 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a47f3b7d-96e9-44a6-8480-cfe2fa5ae7ab 2025-06-17 07:00:28,703 - DEBUG - Requesting: http://10.0.0.254:8082/project/60e5f814-9aec-49ea-8705-3b782d8b65c3 2025-06-17 07:00:28,781 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/637a7f51-326e-44cb-bf35-036eff845942 2025-06-17 07:00:28,791 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/637a7f51-326e-44cb-bf35-036eff845942 2025-06-17 07:00:28,802 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9907a590-001b-42f6-97d2-5d5810a88fc0 2025-06-17 07:00:28,809 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9907a590-001b-42f6-97d2-5d5810a88fc0 2025-06-17 07:00:28,815 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9ab12782-7c2f-4a38-a2fc-e634de1087d0 2025-06-17 07:00:28,821 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 07:00:28,821 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/637a7f51-326e-44cb-bf35-036eff845942 2025-06-17 07:00:28,830 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9907a590-001b-42f6-97d2-5d5810a88fc0 2025-06-17 07:00:28,845 - INFO - Verified VN network id 8 for VN 637a7f51-326e-44cb-bf35-036eff845942 2025-06-17 07:00:28,845 - INFO - Verifications in API Server for VN ctest-vn-37719921 passed 2025-06-17 07:00:28,845 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/637a7f51-326e-44cb-bf35-036eff845942 2025-06-17 07:00:28,855 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9907a590-001b-42f6-97d2-5d5810a88fc0 2025-06-17 07:00:28,862 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9907a590-001b-42f6-97d2-5d5810a88fc0 2025-06-17 07:00:28,869 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9ab12782-7c2f-4a38-a2fc-e634de1087d0 2025-06-17 07:00:28,880 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-37719921', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38366694', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7168181743628731595', 'uuid-lslong': '13777922410278050114'}, 'enable': 'true', 'created': '2025-06-17T07:00:26', 'last-modified': '2025-06-17T07:00:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948389'} 2025-06-17 07:00:28,886 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 07:00:28,886 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37719921 passed 2025-06-17 07:00:28,887 - DEBUG - ====Verifying policy data for ctest-vn-37719921 in API_Server ====== 2025-06-17 07:00:28,887 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-17 07:00:28,892 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a47f3b7d-96e9-44a6-8480-cfe2fa5ae7ab 2025-06-17 07:00:28,915 - DEBUG - Requesting: http://10.0.0.254:8082/project/60e5f814-9aec-49ea-8705-3b782d8b65c3 2025-06-17 07:00:28,997 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/637a7f51-326e-44cb-bf35-036eff845942 2025-06-17 07:00:29,008 - DEBUG - ==>Verifying data for policy with id: d5f46aae-14c7-4ca9-a9a3-e5ac43521d9d, fqn: ['default-domain', 'ctest-TestBasicPolicy-38366694', 'ctest-policy-allow-all-89908765'] 2025-06-17 07:00:29,008 - INFO - VN ctest-vn-37719921 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 07:00:29,008 - DEBUG - Verifying the vn in opserver 2025-06-17 07:00:29,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-37719921 virtual network link through opserver 10.0.0.254 2025-06-17 07:00:29,008 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-17 07:00:29,303 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-17 07:00:29,357 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-37719921', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-37719921?flat'} 2025-06-17 07:00:29,357 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-37719921 is found in opserver 2025-06-17 07:00:29,368 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 07:00:29,373 - DEBUG - VRF ids for VN ctest-vn-37719921: {} 2025-06-17 07:00:29,373 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-17 07:00:29,378 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a47f3b7d-96e9-44a6-8480-cfe2fa5ae7ab 2025-06-17 07:00:29,390 - DEBUG - Requesting: http://10.0.0.254:8082/project/60e5f814-9aec-49ea-8705-3b782d8b65c3 2025-06-17 07:00:29,460 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd 2025-06-17 07:00:29,472 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd 2025-06-17 07:00:29,480 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/389597f8-d613-4601-998b-1e24d9cbf25e 2025-06-17 07:00:29,487 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/389597f8-d613-4601-998b-1e24d9cbf25e 2025-06-17 07:00:29,494 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/43b88b6a-aab7-42c5-8e16-1b9fab9241b4 2025-06-17 07:00:29,500 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 07:00:29,500 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd 2025-06-17 07:00:29,510 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/389597f8-d613-4601-998b-1e24d9cbf25e 2025-06-17 07:00:29,525 - INFO - Verified VN network id 9 for VN 4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd 2025-06-17 07:00:29,525 - INFO - Verifications in API Server for VN ctest-vn-25919513 passed 2025-06-17 07:00:29,525 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd 2025-06-17 07:00:29,537 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/389597f8-d613-4601-998b-1e24d9cbf25e 2025-06-17 07:00:29,545 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/389597f8-d613-4601-998b-1e24d9cbf25e 2025-06-17 07:00:29,554 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/43b88b6a-aab7-42c5-8e16-1b9fab9241b4 2025-06-17 07:00:29,567 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-25919513', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38366694', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5441785306261572031', 'uuid-lslong': '13572546986240897741'}, 'enable': 'true', 'created': '2025-06-17T07:00:27', 'last-modified': '2025-06-17T07:00:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400298'} 2025-06-17 07:00:29,574 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 07:00:29,574 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25919513 passed 2025-06-17 07:00:29,574 - DEBUG - ====Verifying policy data for ctest-vn-25919513 in API_Server ====== 2025-06-17 07:00:29,574 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-17 07:00:29,581 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a47f3b7d-96e9-44a6-8480-cfe2fa5ae7ab 2025-06-17 07:00:29,592 - DEBUG - Requesting: http://10.0.0.254:8082/project/60e5f814-9aec-49ea-8705-3b782d8b65c3 2025-06-17 07:00:29,671 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd 2025-06-17 07:00:29,682 - DEBUG - ==>Verifying data for policy with id: d5f46aae-14c7-4ca9-a9a3-e5ac43521d9d, fqn: ['default-domain', 'ctest-TestBasicPolicy-38366694', 'ctest-policy-allow-all-89908765'] 2025-06-17 07:00:29,682 - INFO - VN ctest-vn-25919513 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 07:00:29,682 - DEBUG - Verifying the vn in opserver 2025-06-17 07:00:29,682 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-25919513 virtual network link through opserver 10.0.0.254 2025-06-17 07:00:29,682 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-17 07:00:29,693 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-25919513', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-25919513?flat'} 2025-06-17 07:00:29,693 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-25919513 is found in opserver 2025-06-17 07:00:29,706 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 07:00:29,713 - DEBUG - VRF ids for VN ctest-vn-25919513: {} 2025-06-17 07:00:29,769 - DEBUG - Services list from nova: [, , ] 2025-06-17 07:00:30,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3459-1) 2025-06-17 07:00:32,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3459-1) 2025-06-17 07:00:32,006 - INFO - Waiting for VM ctest-TestBasicPolicy-38366694-26613633 to be up.. 2025-06-17 07:00:32,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 07:00:37,163 - DEBUG - VM is in ACTIVE state now 2025-06-17 07:00:37,164 - INFO - VM name : ctest-TestBasicPolicy-38366694-26613633 2025-06-17 07:00:37,248 - DEBUG - VM ctest-TestBasicPolicy-38366694-26613633 ID is 0a9994e3-b730-407b-a948-1c03955fdbdb 2025-06-17 07:00:37,267 - DEBUG - VM ctest-TestBasicPolicy-38366694-26613633 launched on Node cn-jenkins-deploy-platform-ansible-os-3459-1 2025-06-17 07:00:37,359 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0a9994e3-b730-407b-a948-1c03955fdbdb 2025-06-17 07:00:37,367 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca71742b-d65f-42db-a10b-7f28aff3aa6a 2025-06-17 07:00:40,641 - 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 1031ms') 2025-06-17 07:00:40,641 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38366694-26613633 failed! 2025-06-17 07:00:40,698 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38366694:ctest-vn-37719921 is 55.112.168.129 and allocation pool is NOT set 2025-06-17 07:00:42,768 - 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=2.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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.430/1.477/2.525/1.047 ms') 2025-06-17 07:00:42,768 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38366694-26613633 passed 2025-06-17 07:00:42,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 07:00:42,922 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38366694-26613633, IP 55.112.168.131, Port 22 2025-06-17 07:00:43,085 - DEBUG - VM ctest-TestBasicPolicy-38366694-26613633 is ready for SSH connections 2025-06-17 07:00:43,085 - INFO - Waiting for VM ctest-TestBasicPolicy-38366694-61018305 to be up.. 2025-06-17 07:00:43,183 - DEBUG - VM is in ACTIVE state now 2025-06-17 07:00:43,183 - INFO - VM name : ctest-TestBasicPolicy-38366694-61018305 2025-06-17 07:00:43,264 - DEBUG - VM ctest-TestBasicPolicy-38366694-61018305 ID is 8f7c46a0-1bca-499c-bc67-98f85d4e968f 2025-06-17 07:00:43,264 - DEBUG - VM ctest-TestBasicPolicy-38366694-61018305 launched on Node cn-jenkins-deploy-platform-ansible-os-3459-1 2025-06-17 07:00:43,349 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8f7c46a0-1bca-499c-bc67-98f85d4e968f 2025-06-17 07:00:43,361 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/af5cb858-4f13-42ef-9c35-e9c00c7bab83 2025-06-17 07:00:44,607 - 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=2.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.526/2.614/1.087 ms') 2025-06-17 07:00:44,607 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38366694-61018305 passed 2025-06-17 07:00:44,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 07:00:44,758 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38366694-61018305, IP 62.177.245.3, Port 22 2025-06-17 07:00:44,917 - DEBUG - VM ctest-TestBasicPolicy-38366694-61018305 is ready for SSH connections 2025-06-17 07:00:44,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 07:00:44,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.177.245.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-17 07:00:44,917 - DEBUG - ping -s 56 -c 3 -W 1 62.177.245.3 2025-06-17 07:00:48,579 - DEBUG - PING 62.177.245.3 (62.177.245.3): 56 data bytes 64 bytes from 62.177.245.3: seq=0 ttl=63 time=3.562 ms 64 bytes from 62.177.245.3: seq=1 ttl=63 time=0.834 ms 64 bytes from 62.177.245.3: seq=2 ttl=63 time=1.002 ms --- 62.177.245.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.799/3.562 ms 2025-06-17 07:00:48,579 - INFO - Ping to IP 62.177.245.3 from VM ctest-TestBasicPolicy-38366694-26613633 passed 2025-06-17 07:00:48,757 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d5f46aae-14c7-4ca9-a9a3-e5ac43521d9d", "href": "http://10.0.0.254:8082/network-policy/d5f46aae-14c7-4ca9-a9a3-e5ac43521d9d"}} 2025-06-17 07:00:48,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 07:00:48,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.177.245.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-17 07:00:48,758 - DEBUG - ping -s 56 -c 3 -W 1 62.177.245.3 2025-06-17 07:00:51,961 - DEBUG - PING 62.177.245.3 (62.177.245.3): 56 data bytes --- 62.177.245.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-17 07:00:51,961 - WARNING - Ping to IP 62.177.245.3 from VM ctest-TestBasicPolicy-38366694-26613633 failed 2025-06-17 07:00:51,961 - INFO - Deleting VM ctest-TestBasicPolicy-38366694-61018305 2025-06-17 07:00:52,036 - INFO - Deleting VM ctest-TestBasicPolicy-38366694-26613633 2025-06-17 07:00:52,420 - INFO - Deleted policy ctest-policy-allow-all-89908765 2025-06-17 07:00:52,420 - INFO - Deleting VN ctest-vn-25919513 2025-06-17 07:00:52,457 - DEBUG - VN 4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd still in use: Unable to complete operation on network 4b851ae7-7ba9-49bf-bc5b-5f92d42ff2cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe64d351-36fe-439e-a88c-86602ba434f5'] 2025-06-17 07:00:52,457 - WARNING - Deleting VN ctest-vn-25919513 failed..Will retry 2025-06-17 07:00:54,557 - DEBUG - Response for deleting network () 2025-06-17 07:00:54,557 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/389597f8-d613-4601-998b-1e24d9cbf25e 2025-06-17 07:00:54,562 - DEBUG - Response Code: 404 2025-06-17 07:00:54,563 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-17 07:00:54,574 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a47f3b7d-96e9-44a6-8480-cfe2fa5ae7ab 2025-06-17 07:00:54,629 - DEBUG - Requesting: http://10.0.0.254:8082/project/60e5f814-9aec-49ea-8705-3b782d8b65c3 2025-06-17 07:00:54,708 - INFO - Validated that VN ctest-vn-25919513 is not found in API Server 2025-06-17 07:00:54,719 - DEBUG - VN ctest-vn-25919513 is not present in Agent 10.0.0.254 2025-06-17 07:00:54,720 - INFO - Validated that VN ctest-vn-25919513 is not in any agent 2025-06-17 07:00:54,735 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25919513 info 2025-06-17 07:00:54,736 - INFO - Deleting VN ctest-vn-37719921 2025-06-17 07:00:54,843 - DEBUG - Response for deleting network () 2025-06-17 07:00:54,843 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9907a590-001b-42f6-97d2-5d5810a88fc0 2025-06-17 07:00:54,850 - DEBUG - Response Code: 404 2025-06-17 07:00:54,850 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-17 07:00:54,856 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a47f3b7d-96e9-44a6-8480-cfe2fa5ae7ab 2025-06-17 07:00:54,911 - DEBUG - Requesting: http://10.0.0.254:8082/project/60e5f814-9aec-49ea-8705-3b782d8b65c3 2025-06-17 07:00:54,985 - INFO - Validated that VN ctest-vn-37719921 is not found in API Server 2025-06-17 07:00:54,996 - DEBUG - VN ctest-vn-37719921 is not present in Agent 10.0.0.254 2025-06-17 07:00:54,996 - INFO - Validated that VN ctest-vn-37719921 is not in any agent 2025-06-17 07:00:55,012 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37719921 info 2025-06-17 07:00:55,268 - DEBUG - No XMPP flaps were noticed during the test
2025-06-17 07:00:55,268 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-17 07:00:55,268 - INFO - -------------------------------------------------------------------------------- 2025-06-17 07:00:55,959 - INFO - Deleted project: ctest-TestBasicPolicy-38366694, ID : 60e5f814-9aec-49ea-8705-3b782d8b65c3