2025-06-09 10:40:29,358 - INFO - Domain Default found not creating 2025-06-09 10:40:29,509 - INFO - Project ctest-TestBasicPolicy-64370980 not found, creating it 2025-06-09 10:40:30,087 - INFO - Created Project:ctest-TestBasicPolicy-64370980, ID : d6c5b4bf-af37-4eef-9310-7daa6a8ccdf4 2025-06-09 10:40:31,571 - INFO - ================================================================================ 2025-06-09 10:40:31,571 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-09 10:40:31,571 - 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-09 10:40:31,837 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-06-09 10:40:31,837 - INFO - Initial checks done. Running the testcase now 2025-06-09 10:40:31,837 - INFO - 2025-06-09 10:40:32,461 - DEBUG - Response for create_network : {'network': {'id': 'a3a4ab94-0a80-49d5-b757-b45ccfb4dd50', 'name': 'ctest-vn-35638427', 'tenant_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'project_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64370980', 'ctest-vn-35638427'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 10:40:32,679 - DEBUG - Response for create_subnet : {'subnet': {'id': '2652e8b9-b3b4-4fb3-83d3-b53ed7e23780', 'name': '', 'tenant_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'network_id': 'a3a4ab94-0a80-49d5-b757-b45ccfb4dd50', 'ip_version': 4, 'cidr': '154.33.173.64/26', 'allocation_pools': [{'start': '154.33.173.66', 'end': '154.33.173.126'}], 'gateway_ip': '154.33.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.33.173.66', 'tags': [], 'project_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4'}} 2025-06-09 10:40:32,698 - INFO - Created VN ctest-vn-35638427 2025-06-09 10:40:32,751 - DEBUG - VN ctest-vn-35638427 UUID is a3a4ab94-0a80-49d5-b757-b45ccfb4dd50 2025-06-09 10:40:33,050 - DEBUG - Response for create_network : {'network': {'id': '7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b', 'name': 'ctest-vn-73856808', 'tenant_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'project_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64370980', 'ctest-vn-73856808'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 10:40:33,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '47504245-4e8c-414c-b13a-203b6708fda6', 'name': '', 'tenant_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'network_id': '7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b', 'ip_version': 4, 'cidr': '179.102.132.0/26', 'allocation_pools': [{'start': '179.102.132.2', 'end': '179.102.132.62'}], 'gateway_ip': '179.102.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.102.132.2', 'tags': [], 'project_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4'}} 2025-06-09 10:40:33,276 - INFO - Created VN ctest-vn-73856808 2025-06-09 10:40:33,331 - DEBUG - VN ctest-vn-73856808 UUID is 7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b 2025-06-09 10:40:33,446 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-35638427, 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-64370980:ctest-vn-73856808, 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-09 10:40:33,768 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a3a4ab94-0a80-49d5-b757-b45ccfb4dd50', 'name': 'ctest-vn-35638427', 'tenant_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'project_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2652e8b9-b3b4-4fb3-83d3-b53ed7e23780'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64370980', 'ctest-vn-35638427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64370980', 'ctest-policy-allow-all-04160788']], 'subnet_ipam': [{'subnet_cidr': '154.33.173.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 10:40:34,051 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b', 'name': 'ctest-vn-73856808', 'tenant_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'project_id': 'd6c5b4bfaf374eef93107daa6a8ccdf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47504245-4e8c-414c-b13a-203b6708fda6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64370980', 'ctest-vn-73856808'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64370980', 'ctest-policy-allow-all-04160788']], 'subnet_ipam': [{'subnet_cidr': '179.102.132.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 10:40:34,207 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-09 10:40:34,511 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-09 10:40:34,543 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ab80c7e3-e136-4e39-b866-f05ea8f4e170 2025-06-09 10:40:34,558 - DEBUG - Requesting: http://10.0.0.49:8082/project/d6c5b4bf-af37-4eef-9310-7daa6a8ccdf4 2025-06-09 10:40:34,635 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a3a4ab94-0a80-49d5-b757-b45ccfb4dd50 2025-06-09 10:40:34,648 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a3a4ab94-0a80-49d5-b757-b45ccfb4dd50 2025-06-09 10:40:34,659 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e60a1992-f68e-4ef7-8b74-15bcf5b794fc 2025-06-09 10:40:34,668 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e60a1992-f68e-4ef7-8b74-15bcf5b794fc 2025-06-09 10:40:34,676 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/241db9a3-46b9-4e26-bdd2-2d737c216d57 2025-06-09 10:40:34,684 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 10:40:34,684 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a3a4ab94-0a80-49d5-b757-b45ccfb4dd50 2025-06-09 10:40:34,694 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e60a1992-f68e-4ef7-8b74-15bcf5b794fc 2025-06-09 10:40:34,711 - INFO - Verified VN network id 9 for VN a3a4ab94-0a80-49d5-b757-b45ccfb4dd50 2025-06-09 10:40:34,711 - INFO - Verifications in API Server for VN ctest-vn-35638427 passed 2025-06-09 10:40:34,711 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a3a4ab94-0a80-49d5-b757-b45ccfb4dd50 2025-06-09 10:40:34,723 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e60a1992-f68e-4ef7-8b74-15bcf5b794fc 2025-06-09 10:40:34,731 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e60a1992-f68e-4ef7-8b74-15bcf5b794fc 2025-06-09 10:40:34,740 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/241db9a3-46b9-4e26-bdd2-2d737c216d57 2025-06-09 10:40:34,754 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-35638427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64370980', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11791738376682490325', 'uuid-lslong': '13211226342629367120'}, 'enable': 'true', 'created': '2025-06-09T10:40:32', 'last-modified': '2025-06-09T10:40:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030392'} 2025-06-09 10:40:34,761 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 10:40:34,761 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35638427 passed 2025-06-09 10:40:34,761 - DEBUG - ====Verifying policy data for ctest-vn-35638427 in API_Server ====== 2025-06-09 10:40:34,761 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-09 10:40:34,767 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ab80c7e3-e136-4e39-b866-f05ea8f4e170 2025-06-09 10:40:34,780 - DEBUG - Requesting: http://10.0.0.49:8082/project/d6c5b4bf-af37-4eef-9310-7daa6a8ccdf4 2025-06-09 10:40:34,857 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a3a4ab94-0a80-49d5-b757-b45ccfb4dd50 2025-06-09 10:40:34,868 - DEBUG - ==>Verifying data for policy with id: 87195b4f-1865-483d-b6f4-7a0c0a760599, fqn: ['default-domain', 'ctest-TestBasicPolicy-64370980', 'ctest-policy-allow-all-04160788'] 2025-06-09 10:40:34,868 - INFO - VN ctest-vn-35638427 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 10:40:34,868 - DEBUG - Verifying the vn in opserver 2025-06-09 10:40:34,868 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-35638427 virtual network link through opserver 10.0.0.49 2025-06-09 10:40:34,868 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-09 10:40:35,163 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-09 10:40:35,224 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-35638427', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-35638427?flat'} 2025-06-09 10:40:35,224 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-35638427 is found in opserver 2025-06-09 10:40:35,236 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 10:40:35,242 - DEBUG - VRF ids for VN ctest-vn-35638427: {} 2025-06-09 10:40:35,242 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-09 10:40:35,248 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ab80c7e3-e136-4e39-b866-f05ea8f4e170 2025-06-09 10:40:35,262 - DEBUG - Requesting: http://10.0.0.49:8082/project/d6c5b4bf-af37-4eef-9310-7daa6a8ccdf4 2025-06-09 10:40:35,397 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b 2025-06-09 10:40:35,410 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b 2025-06-09 10:40:35,421 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/511531ba-6ce5-4698-b3b9-e0888e7c46ec 2025-06-09 10:40:35,431 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/511531ba-6ce5-4698-b3b9-e0888e7c46ec 2025-06-09 10:40:35,440 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/06d11077-ad27-4ff0-87a4-10a734856a7d 2025-06-09 10:40:35,448 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 10:40:35,448 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b 2025-06-09 10:40:35,461 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/511531ba-6ce5-4698-b3b9-e0888e7c46ec 2025-06-09 10:40:35,479 - INFO - Verified VN network id 10 for VN 7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b 2025-06-09 10:40:35,479 - INFO - Verifications in API Server for VN ctest-vn-73856808 passed 2025-06-09 10:40:35,479 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b 2025-06-09 10:40:35,490 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/511531ba-6ce5-4698-b3b9-e0888e7c46ec 2025-06-09 10:40:35,499 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/511531ba-6ce5-4698-b3b9-e0888e7c46ec 2025-06-09 10:40:35,507 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/06d11077-ad27-4ff0-87a4-10a734856a7d 2025-06-09 10:40:35,521 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-73856808', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64370980', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8909439419097893699', 'uuid-lslong': '11476540363315178299'}, 'enable': 'true', 'created': '2025-06-09T10:40:33', 'last-modified': '2025-06-09T10:40:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.542104'} 2025-06-09 10:40:35,528 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 10:40:35,528 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73856808 passed 2025-06-09 10:40:35,528 - DEBUG - ====Verifying policy data for ctest-vn-73856808 in API_Server ====== 2025-06-09 10:40:35,528 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-09 10:40:35,535 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ab80c7e3-e136-4e39-b866-f05ea8f4e170 2025-06-09 10:40:35,550 - DEBUG - Requesting: http://10.0.0.49:8082/project/d6c5b4bf-af37-4eef-9310-7daa6a8ccdf4 2025-06-09 10:40:35,629 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b 2025-06-09 10:40:35,647 - DEBUG - ==>Verifying data for policy with id: 87195b4f-1865-483d-b6f4-7a0c0a760599, fqn: ['default-domain', 'ctest-TestBasicPolicy-64370980', 'ctest-policy-allow-all-04160788'] 2025-06-09 10:40:35,647 - INFO - VN ctest-vn-73856808 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 10:40:35,647 - DEBUG - Verifying the vn in opserver 2025-06-09 10:40:35,647 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-73856808 virtual network link through opserver 10.0.0.49 2025-06-09 10:40:35,647 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-09 10:40:35,660 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-73856808', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-73856808?flat'} 2025-06-09 10:40:35,660 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-73856808 is found in opserver 2025-06-09 10:40:35,671 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 10:40:35,677 - DEBUG - VRF ids for VN ctest-vn-73856808: {} 2025-06-09 10:40:35,740 - DEBUG - Services list from nova: [, , ] 2025-06-09 10:40:36,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3423-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3423-1) 2025-06-09 10:40:38,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3423-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3423-1) 2025-06-09 10:40:38,018 - INFO - Waiting for VM ctest-TestBasicPolicy-64370980-82944626 to be up.. 2025-06-09 10:40:38,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 10:40:43,216 - DEBUG - VM is in ACTIVE state now 2025-06-09 10:40:43,217 - INFO - VM name : ctest-TestBasicPolicy-64370980-82944626 2025-06-09 10:40:43,301 - DEBUG - VM ctest-TestBasicPolicy-64370980-82944626 ID is 34dbbe1e-cc0e-4a88-956a-4cb8077b11ce 2025-06-09 10:40:43,326 - DEBUG - VM ctest-TestBasicPolicy-64370980-82944626 launched on Node cn-jenkins-deploy-platform-ansible-os-3423-1 2025-06-09 10:40:43,414 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/34dbbe1e-cc0e-4a88-956a-4cb8077b11ce 2025-06-09 10:40:43,424 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/9b89b232-2698-44ec-824e-6de687c070a7 2025-06-09 10:40:46,685 - 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 1015ms') 2025-06-09 10:40:46,685 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64370980-82944626 failed! 2025-06-09 10:40:46,739 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64370980:ctest-vn-35638427 is 154.33.173.65 and allocation pool is NOT set 2025-06-09 10:40:48,805 - 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.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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 = 1.471/6.017/10.563/4.546 ms') 2025-06-09 10:40:48,805 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64370980-82944626 passed 2025-06-09 10:40:48,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:40:48,959 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64370980-82944626, IP 154.33.173.67, Port 22 2025-06-09 10:40:49,125 - DEBUG - VM ctest-TestBasicPolicy-64370980-82944626 is ready for SSH connections 2025-06-09 10:40:49,125 - INFO - Waiting for VM ctest-TestBasicPolicy-64370980-18671566 to be up.. 2025-06-09 10:40:49,216 - DEBUG - VM is in ACTIVE state now 2025-06-09 10:40:49,216 - INFO - VM name : ctest-TestBasicPolicy-64370980-18671566 2025-06-09 10:40:49,310 - DEBUG - VM ctest-TestBasicPolicy-64370980-18671566 ID is 442bc981-bfba-4d2e-b529-5c2e781318fb 2025-06-09 10:40:49,310 - DEBUG - VM ctest-TestBasicPolicy-64370980-18671566 launched on Node cn-jenkins-deploy-platform-ansible-os-3423-1 2025-06-09 10:40:49,417 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/442bc981-bfba-4d2e-b529-5c2e781318fb 2025-06-09 10:40:49,427 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/761aa32c-7793-48d9-9703-f71d1cdf1c4a 2025-06-09 10:40:50,683 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/2.223/3.958/1.734 ms') 2025-06-09 10:40:50,684 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64370980-18671566 passed 2025-06-09 10:40:50,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:40:50,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64370980-18671566, IP 179.102.132.3, Port 22 2025-06-09 10:40:51,005 - DEBUG - VM ctest-TestBasicPolicy-64370980-18671566 is ready for SSH connections 2025-06-09 10:40:51,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:40:51,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.102.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-09 10:40:51,005 - DEBUG - ping -s 56 -c 3 -W 1 179.102.132.3 2025-06-09 10:40:54,723 - DEBUG - PING 179.102.132.3 (179.102.132.3): 56 data bytes 64 bytes from 179.102.132.3: seq=0 ttl=63 time=4.344 ms 64 bytes from 179.102.132.3: seq=1 ttl=63 time=0.781 ms 64 bytes from 179.102.132.3: seq=2 ttl=63 time=1.383 ms --- 179.102.132.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/2.169/4.344 ms 2025-06-09 10:40:54,723 - INFO - Ping to IP 179.102.132.3 from VM ctest-TestBasicPolicy-64370980-82944626 passed 2025-06-09 10:40:54,907 - DEBUG - Policy Update Response {"network-policy": {"uuid": "87195b4f-1865-483d-b6f4-7a0c0a760599", "href": "http://10.0.0.49:8082/network-policy/87195b4f-1865-483d-b6f4-7a0c0a760599"}} 2025-06-09 10:40:54,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:40:54,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.102.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-09 10:40:54,907 - DEBUG - ping -s 56 -c 3 -W 1 179.102.132.3 2025-06-09 10:40:58,111 - DEBUG - PING 179.102.132.3 (179.102.132.3): 56 data bytes 64 bytes from 179.102.132.3: seq=0 ttl=63 time=1.347 ms --- 179.102.132.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.347/1.347/1.347 ms 2025-06-09 10:40:58,111 - WARNING - Ping to IP 179.102.132.3 from VM ctest-TestBasicPolicy-64370980-82944626 failed 2025-06-09 10:40:58,111 - INFO - Deleting VM ctest-TestBasicPolicy-64370980-18671566 2025-06-09 10:40:58,194 - INFO - Deleting VM ctest-TestBasicPolicy-64370980-82944626 2025-06-09 10:40:58,658 - INFO - Deleted policy ctest-policy-allow-all-04160788 2025-06-09 10:40:58,658 - INFO - Deleting VN ctest-vn-73856808 2025-06-09 10:40:58,698 - DEBUG - VN 7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b still in use: Unable to complete operation on network 7ba4aff2-8b31-4b43-9f44-dca7b5d56b3b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-348272b8-98b8-4ad0-93e2-a2a38c8044d9'] 2025-06-09 10:40:58,699 - WARNING - Deleting VN ctest-vn-73856808 failed..Will retry 2025-06-09 10:41:00,834 - DEBUG - Response for deleting network () 2025-06-09 10:41:00,834 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/511531ba-6ce5-4698-b3b9-e0888e7c46ec 2025-06-09 10:41:00,842 - DEBUG - Response Code: 404 2025-06-09 10:41:00,842 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-09 10:41:00,848 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ab80c7e3-e136-4e39-b866-f05ea8f4e170 2025-06-09 10:41:00,906 - DEBUG - Requesting: http://10.0.0.49:8082/project/d6c5b4bf-af37-4eef-9310-7daa6a8ccdf4 2025-06-09 10:41:00,985 - INFO - Validated that VN ctest-vn-73856808 is not found in API Server 2025-06-09 10:41:01,000 - DEBUG - VN ctest-vn-73856808 is not present in Agent 10.0.0.49 2025-06-09 10:41:01,000 - INFO - Validated that VN ctest-vn-73856808 is not in any agent 2025-06-09 10:41:01,020 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73856808 info 2025-06-09 10:41:01,020 - INFO - Deleting VN ctest-vn-35638427 2025-06-09 10:41:01,152 - DEBUG - Response for deleting network () 2025-06-09 10:41:01,152 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e60a1992-f68e-4ef7-8b74-15bcf5b794fc 2025-06-09 10:41:01,161 - DEBUG - Response Code: 404 2025-06-09 10:41:01,161 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-09 10:41:01,169 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ab80c7e3-e136-4e39-b866-f05ea8f4e170 2025-06-09 10:41:01,225 - DEBUG - Requesting: http://10.0.0.49:8082/project/d6c5b4bf-af37-4eef-9310-7daa6a8ccdf4 2025-06-09 10:41:01,303 - INFO - Validated that VN ctest-vn-35638427 is not found in API Server 2025-06-09 10:41:01,315 - DEBUG - VN ctest-vn-35638427 is not present in Agent 10.0.0.49 2025-06-09 10:41:01,316 - INFO - Validated that VN ctest-vn-35638427 is not in any agent 2025-06-09 10:41:01,334 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35638427 info 2025-06-09 10:41:01,600 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 10:41:01,600 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-09 10:41:01,600 - INFO - -------------------------------------------------------------------------------- 2025-06-09 10:41:02,295 - INFO - Deleted project: ctest-TestBasicPolicy-64370980, ID : d6c5b4bf-af37-4eef-9310-7daa6a8ccdf4