2025-03-13 02:27:37,883 - INFO - Domain Default found not creating 2025-03-13 02:27:38,043 - INFO - Project ctest-TestBasicPolicy-59822636 not found, creating it 2025-03-13 02:27:38,560 - INFO - Created Project:ctest-TestBasicPolicy-59822636, ID : daaba881-9454-448e-be27-7fff87830a4c 2025-03-13 02:27:40,894 - INFO - ================================================================================ 2025-03-13 02:27:40,895 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-13 02:27:40,895 - 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-03-13 02:27:41,165 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.14': '0'}} with 2025-03-13 02:27:41,165 - INFO - Initial checks done. Running the testcase now 2025-03-13 02:27:41,165 - INFO - 2025-03-13 02:27:41,739 - DEBUG - Response for create_network : {'network': {'id': 'ac77a84b-c23b-4233-a632-53df4c07ec91', 'name': 'ctest-vn-02192949', 'tenant_id': 'daaba8819454448ebe277fff87830a4c', 'project_id': 'daaba8819454448ebe277fff87830a4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59822636', 'ctest-vn-02192949'], 'port_security_enabled': True, 'description': ''}} 2025-03-13 02:27:41,907 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc4b3091-44bf-47a1-87a6-144a9e112bcc', 'name': '', 'tenant_id': 'daaba8819454448ebe277fff87830a4c', 'network_id': 'ac77a84b-c23b-4233-a632-53df4c07ec91', 'ip_version': 4, 'cidr': '15.11.50.192/26', 'allocation_pools': [{'start': '15.11.50.194', 'end': '15.11.50.254'}], 'gateway_ip': '15.11.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.11.50.194', 'tags': [], 'project_id': 'daaba8819454448ebe277fff87830a4c'}} 2025-03-13 02:27:41,927 - INFO - Created VN ctest-vn-02192949 2025-03-13 02:27:41,982 - DEBUG - VN ctest-vn-02192949 UUID is ac77a84b-c23b-4233-a632-53df4c07ec91 2025-03-13 02:27:42,284 - DEBUG - Response for create_network : {'network': {'id': 'cba38464-7888-464a-b69b-02621680e6c5', 'name': 'ctest-vn-82570365', 'tenant_id': 'daaba8819454448ebe277fff87830a4c', 'project_id': 'daaba8819454448ebe277fff87830a4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59822636', 'ctest-vn-82570365'], 'port_security_enabled': True, 'description': ''}} 2025-03-13 02:27:42,490 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b828fe9-d381-4ed7-9aba-883952212b62', 'name': '', 'tenant_id': 'daaba8819454448ebe277fff87830a4c', 'network_id': 'cba38464-7888-464a-b69b-02621680e6c5', 'ip_version': 4, 'cidr': '192.52.122.128/26', 'allocation_pools': [{'start': '192.52.122.130', 'end': '192.52.122.190'}], 'gateway_ip': '192.52.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.52.122.130', 'tags': [], 'project_id': 'daaba8819454448ebe277fff87830a4c'}} 2025-03-13 02:27:42,512 - INFO - Created VN ctest-vn-82570365 2025-03-13 02:27:42,570 - DEBUG - VN ctest-vn-82570365 UUID is cba38464-7888-464a-b69b-02621680e6c5 2025-03-13 02:27:42,688 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-02192949, 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-59822636:ctest-vn-82570365, 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-03-13 02:27:42,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac77a84b-c23b-4233-a632-53df4c07ec91', 'name': 'ctest-vn-02192949', 'tenant_id': 'daaba8819454448ebe277fff87830a4c', 'project_id': 'daaba8819454448ebe277fff87830a4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cc4b3091-44bf-47a1-87a6-144a9e112bcc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59822636', 'ctest-vn-02192949'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59822636', 'ctest-policy-allow-all-78336112']], 'subnet_ipam': [{'subnet_cidr': '15.11.50.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-13 02:27:43,196 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cba38464-7888-464a-b69b-02621680e6c5', 'name': 'ctest-vn-82570365', 'tenant_id': 'daaba8819454448ebe277fff87830a4c', 'project_id': 'daaba8819454448ebe277fff87830a4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b828fe9-d381-4ed7-9aba-883952212b62'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59822636', 'ctest-vn-82570365'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59822636', 'ctest-policy-allow-all-78336112']], 'subnet_ipam': [{'subnet_cidr': '192.52.122.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-13 02:27:43,370 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-13 02:27:43,707 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-13 02:27:43,737 - DEBUG - Requesting: http://10.0.0.17:8082/domain/ebac5c04-bdb2-4198-b7ab-184172d42f26 2025-03-13 02:27:43,753 - DEBUG - Requesting: http://10.0.0.17:8082/project/daaba881-9454-448e-be27-7fff87830a4c 2025-03-13 02:27:43,831 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ac77a84b-c23b-4233-a632-53df4c07ec91 2025-03-13 02:27:43,844 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ac77a84b-c23b-4233-a632-53df4c07ec91 2025-03-13 02:27:43,856 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d4cd8117-2aff-430d-a4ec-65fe566156d0 2025-03-13 02:27:43,867 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d4cd8117-2aff-430d-a4ec-65fe566156d0 2025-03-13 02:27:43,875 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/90a7c9b1-8f69-47e7-84d2-a590f22fe12b 2025-03-13 02:27:43,884 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-13 02:27:43,884 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ac77a84b-c23b-4233-a632-53df4c07ec91 2025-03-13 02:27:43,895 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d4cd8117-2aff-430d-a4ec-65fe566156d0 2025-03-13 02:27:43,911 - INFO - Verified VN network id 8 for VN ac77a84b-c23b-4233-a632-53df4c07ec91 2025-03-13 02:27:43,911 - INFO - Verifications in API Server for VN ctest-vn-02192949 passed 2025-03-13 02:27:43,911 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ac77a84b-c23b-4233-a632-53df4c07ec91 2025-03-13 02:27:43,921 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d4cd8117-2aff-430d-a4ec-65fe566156d0 2025-03-13 02:27:43,928 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d4cd8117-2aff-430d-a4ec-65fe566156d0 2025-03-13 02:27:43,936 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/90a7c9b1-8f69-47e7-84d2-a590f22fe12b 2025-03-13 02:27:43,950 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-02192949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59822636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12427586740086850099', 'uuid-lslong': '11975726577649970321'}, 'enable': 'true', 'created': '2025-03-13T02:27:41', 'last-modified': '2025-03-13T02:27:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968966'} 2025-03-13 02:27:43,957 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-13 02:27:43,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02192949 passed 2025-03-13 02:27:43,957 - DEBUG - ====Verifying policy data for ctest-vn-02192949 in API_Server ====== 2025-03-13 02:27:43,957 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-13 02:27:43,963 - DEBUG - Requesting: http://10.0.0.17:8082/domain/ebac5c04-bdb2-4198-b7ab-184172d42f26 2025-03-13 02:27:43,977 - DEBUG - Requesting: http://10.0.0.17:8082/project/daaba881-9454-448e-be27-7fff87830a4c 2025-03-13 02:27:44,054 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ac77a84b-c23b-4233-a632-53df4c07ec91 2025-03-13 02:27:44,065 - DEBUG - ==>Verifying data for policy with id: bbf86883-bebd-498b-b0c9-8388a577201e, fqn: ['default-domain', 'ctest-TestBasicPolicy-59822636', 'ctest-policy-allow-all-78336112'] 2025-03-13 02:27:44,065 - INFO - VN ctest-vn-02192949 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-13 02:27:44,065 - DEBUG - Verifying the vn in opserver 2025-03-13 02:27:44,066 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-02192949 virtual network link through opserver 10.0.0.17 2025-03-13 02:27:44,066 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-13 02:27:44,401 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-13 02:27:44,459 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-02192949', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-02192949?flat'} 2025-03-13 02:27:44,459 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-02192949 is found in opserver 2025-03-13 02:27:44,471 - DEBUG - Do not have enough data to verify VN in agent 2025-03-13 02:27:44,478 - DEBUG - VRF ids for VN ctest-vn-02192949: {} 2025-03-13 02:27:44,478 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-13 02:27:44,484 - DEBUG - Requesting: http://10.0.0.17:8082/domain/ebac5c04-bdb2-4198-b7ab-184172d42f26 2025-03-13 02:27:44,498 - DEBUG - Requesting: http://10.0.0.17:8082/project/daaba881-9454-448e-be27-7fff87830a4c 2025-03-13 02:27:44,573 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/cba38464-7888-464a-b69b-02621680e6c5 2025-03-13 02:27:44,588 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/cba38464-7888-464a-b69b-02621680e6c5 2025-03-13 02:27:44,599 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5a15bed0-0451-4e4b-9719-97d1f46bd2df 2025-03-13 02:27:44,607 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5a15bed0-0451-4e4b-9719-97d1f46bd2df 2025-03-13 02:27:44,615 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a1108953-8517-4adc-b733-9f16d2576f1e 2025-03-13 02:27:44,623 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-13 02:27:44,623 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/cba38464-7888-464a-b69b-02621680e6c5 2025-03-13 02:27:44,634 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5a15bed0-0451-4e4b-9719-97d1f46bd2df 2025-03-13 02:27:44,650 - INFO - Verified VN network id 9 for VN cba38464-7888-464a-b69b-02621680e6c5 2025-03-13 02:27:44,650 - INFO - Verifications in API Server for VN ctest-vn-82570365 passed 2025-03-13 02:27:44,650 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/cba38464-7888-464a-b69b-02621680e6c5 2025-03-13 02:27:44,665 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5a15bed0-0451-4e4b-9719-97d1f46bd2df 2025-03-13 02:27:44,674 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5a15bed0-0451-4e4b-9719-97d1f46bd2df 2025-03-13 02:27:44,684 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a1108953-8517-4adc-b733-9f16d2576f1e 2025-03-13 02:27:44,699 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-82570365', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59822636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14673717577957000778', 'uuid-lslong': '13158113356600633029'}, 'enable': 'true', 'created': '2025-03-13T02:27:42', 'last-modified': '2025-03-13T02:27:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.530288'} 2025-03-13 02:27:44,706 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-13 02:27:44,706 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82570365 passed 2025-03-13 02:27:44,706 - DEBUG - ====Verifying policy data for ctest-vn-82570365 in API_Server ====== 2025-03-13 02:27:44,706 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-13 02:27:44,713 - DEBUG - Requesting: http://10.0.0.17:8082/domain/ebac5c04-bdb2-4198-b7ab-184172d42f26 2025-03-13 02:27:44,726 - DEBUG - Requesting: http://10.0.0.17:8082/project/daaba881-9454-448e-be27-7fff87830a4c 2025-03-13 02:27:44,804 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/cba38464-7888-464a-b69b-02621680e6c5 2025-03-13 02:27:44,816 - DEBUG - ==>Verifying data for policy with id: bbf86883-bebd-498b-b0c9-8388a577201e, fqn: ['default-domain', 'ctest-TestBasicPolicy-59822636', 'ctest-policy-allow-all-78336112'] 2025-03-13 02:27:44,816 - INFO - VN ctest-vn-82570365 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-13 02:27:44,816 - DEBUG - Verifying the vn in opserver 2025-03-13 02:27:44,816 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-82570365 virtual network link through opserver 10.0.0.17 2025-03-13 02:27:44,816 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-13 02:27:44,828 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-82570365', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-82570365?flat'} 2025-03-13 02:27:44,828 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-82570365 is found in opserver 2025-03-13 02:27:44,841 - DEBUG - Do not have enough data to verify VN in agent 2025-03-13 02:27:44,846 - DEBUG - VRF ids for VN ctest-vn-82570365: {} 2025-03-13 02:27:44,908 - DEBUG - Services list from nova: [, , ] 2025-03-13 02:27:46,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2860-1) 2025-03-13 02:27:47,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2860-1) 2025-03-13 02:27:47,504 - INFO - Waiting for VM ctest-TestBasicPolicy-59822636-96534927 to be up.. 2025-03-13 02:27:47,616 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-13 02:27:52,711 - DEBUG - VM is in ACTIVE state now 2025-03-13 02:27:52,711 - INFO - VM name : ctest-TestBasicPolicy-59822636-96534927 2025-03-13 02:27:52,798 - DEBUG - VM ctest-TestBasicPolicy-59822636-96534927 ID is c9977363-7015-4b35-9c9f-042028340f74 2025-03-13 02:27:52,820 - DEBUG - VM ctest-TestBasicPolicy-59822636-96534927 launched on Node cn-jenkins-deploy-platform-ansible-os-2860-1 2025-03-13 02:27:52,906 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/c9977363-7015-4b35-9c9f-042028340f74 2025-03-13 02:27:52,916 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/4dae8ebe-98c6-4889-a7a8-e4d99445a5ca 2025-03-13 02:27:56,165 - 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 1003ms') 2025-03-13 02:27:56,165 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59822636-96534927 failed! 2025-03-13 02:27:56,222 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59822636:ctest-vn-02192949 is 15.11.50.193 and allocation pool is NOT set 2025-03-13 02:27:58,281 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.560 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.560/1.926/3.292/1.366 ms') 2025-03-13 02:27:58,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59822636-96534927 passed 2025-03-13 02:27:58,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-13 02:27:58,438 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59822636-96534927, IP 15.11.50.195, Port 22 2025-03-13 02:27:58,602 - DEBUG - VM ctest-TestBasicPolicy-59822636-96534927 is ready for SSH connections 2025-03-13 02:27:58,602 - INFO - Waiting for VM ctest-TestBasicPolicy-59822636-82974062 to be up.. 2025-03-13 02:27:58,692 - DEBUG - VM is in ACTIVE state now 2025-03-13 02:27:58,692 - INFO - VM name : ctest-TestBasicPolicy-59822636-82974062 2025-03-13 02:27:58,782 - DEBUG - VM ctest-TestBasicPolicy-59822636-82974062 ID is 3f85a77a-2caf-419d-8042-f3e74f72f247 2025-03-13 02:27:58,783 - DEBUG - VM ctest-TestBasicPolicy-59822636-82974062 launched on Node cn-jenkins-deploy-platform-ansible-os-2860-1 2025-03-13 02:27:58,872 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/3f85a77a-2caf-419d-8042-f3e74f72f247 2025-03-13 02:27:58,884 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/861fa182-4274-4fec-812d-16e7a2284536 2025-03-13 02:28:00,139 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.03 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 = 3.027/3.270/3.513/0.243 ms') 2025-03-13 02:28:00,140 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59822636-82974062 passed 2025-03-13 02:28:00,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-13 02:28:00,294 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59822636-82974062, IP 192.52.122.131, Port 22 2025-03-13 02:28:00,449 - DEBUG - VM ctest-TestBasicPolicy-59822636-82974062 is ready for SSH connections 2025-03-13 02:28:00,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-13 02:28:00,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.52.122.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-13 02:28:00,450 - DEBUG - ping -s 56 -c 3 -W 1 192.52.122.131 2025-03-13 02:28:04,604 - DEBUG - PING 192.52.122.131 (192.52.122.131): 56 data bytes 64 bytes from 192.52.122.131: seq=0 ttl=63 time=4.193 ms 64 bytes from 192.52.122.131: seq=1 ttl=63 time=0.923 ms 64 bytes from 192.52.122.131: seq=2 ttl=63 time=0.822 ms --- 192.52.122.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/1.979/4.193 ms 2025-03-13 02:28:04,604 - INFO - Ping to IP 192.52.122.131 from VM ctest-TestBasicPolicy-59822636-96534927 passed 2025-03-13 02:28:04,786 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bbf86883-bebd-498b-b0c9-8388a577201e", "href": "http://10.0.0.17:8082/network-policy/bbf86883-bebd-498b-b0c9-8388a577201e"}} 2025-03-13 02:28:04,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-13 02:28:04,786 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.52.122.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-13 02:28:04,786 - DEBUG - ping -s 56 -c 3 -W 1 192.52.122.131 2025-03-13 02:28:08,015 - DEBUG - PING 192.52.122.131 (192.52.122.131): 56 data bytes 64 bytes from 192.52.122.131: seq=0 ttl=63 time=2.023 ms --- 192.52.122.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.023/2.023/2.023 ms 2025-03-13 02:28:08,016 - WARNING - Ping to IP 192.52.122.131 from VM ctest-TestBasicPolicy-59822636-96534927 failed 2025-03-13 02:28:08,016 - INFO - Deleting VM ctest-TestBasicPolicy-59822636-82974062 2025-03-13 02:28:08,090 - INFO - Deleting VM ctest-TestBasicPolicy-59822636-96534927 2025-03-13 02:28:08,552 - INFO - Deleted policy ctest-policy-allow-all-78336112 2025-03-13 02:28:08,553 - INFO - Deleting VN ctest-vn-82570365 2025-03-13 02:28:08,602 - DEBUG - VN cba38464-7888-464a-b69b-02621680e6c5 still in use: Unable to complete operation on network cba38464-7888-464a-b69b-02621680e6c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3a92616-40b5-432b-8a98-047cdd1d54bf'] 2025-03-13 02:28:08,602 - WARNING - Deleting VN ctest-vn-82570365 failed..Will retry 2025-03-13 02:28:10,760 - DEBUG - Response for deleting network () 2025-03-13 02:28:10,760 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5a15bed0-0451-4e4b-9719-97d1f46bd2df 2025-03-13 02:28:10,766 - DEBUG - Response Code: 404 2025-03-13 02:28:10,766 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-13 02:28:10,782 - DEBUG - Requesting: http://10.0.0.17:8082/domain/ebac5c04-bdb2-4198-b7ab-184172d42f26 2025-03-13 02:28:10,840 - DEBUG - Requesting: http://10.0.0.17:8082/project/daaba881-9454-448e-be27-7fff87830a4c 2025-03-13 02:28:10,926 - INFO - Validated that VN ctest-vn-82570365 is not found in API Server 2025-03-13 02:28:10,940 - DEBUG - VN ctest-vn-82570365 is not present in Agent 10.0.0.17 2025-03-13 02:28:10,940 - INFO - Validated that VN ctest-vn-82570365 is not in any agent 2025-03-13 02:28:10,962 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82570365 info 2025-03-13 02:28:10,963 - INFO - Deleting VN ctest-vn-02192949 2025-03-13 02:28:11,104 - DEBUG - Response for deleting network () 2025-03-13 02:28:11,104 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d4cd8117-2aff-430d-a4ec-65fe566156d0 2025-03-13 02:28:11,116 - DEBUG - Response Code: 404 2025-03-13 02:28:11,116 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-13 02:28:11,123 - DEBUG - Requesting: http://10.0.0.17:8082/domain/ebac5c04-bdb2-4198-b7ab-184172d42f26 2025-03-13 02:28:11,181 - DEBUG - Requesting: http://10.0.0.17:8082/project/daaba881-9454-448e-be27-7fff87830a4c 2025-03-13 02:28:11,256 - INFO - Validated that VN ctest-vn-02192949 is not found in API Server 2025-03-13 02:28:11,268 - DEBUG - VN ctest-vn-02192949 is not present in Agent 10.0.0.17 2025-03-13 02:28:11,268 - INFO - Validated that VN ctest-vn-02192949 is not in any agent 2025-03-13 02:28:11,288 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02192949 info 2025-03-13 02:28:11,549 - DEBUG - No XMPP flaps were noticed during the test 2025-03-13 02:28:11,549 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-03-13 02:28:11,549 - INFO - -------------------------------------------------------------------------------- 2025-03-13 02:28:12,306 - INFO - Deleted project: ctest-TestBasicPolicy-59822636, ID : daaba881-9454-448e-be27-7fff87830a4c