2025-08-29 09:40:40,764 - INFO - Domain Default found not creating 2025-08-29 09:40:40,901 - INFO - Project ctest-TestBasicPolicy-24190283 not found, creating it 2025-08-29 09:40:41,332 - INFO - Created Project:ctest-TestBasicPolicy-24190283, ID : 94112c8c-5857-441c-b7bf-7bb0f4699a70 2025-08-29 09:40:42,701 - INFO - ================================================================================ 2025-08-29 09:40:42,701 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-29 09:40:42,701 - 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-08-29 09:40:42,958 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 09:40:42,958 - INFO - Initial checks done. Running the testcase now 2025-08-29 09:40:42,958 - INFO - 2025-08-29 09:40:43,495 - DEBUG - Response for create_network : {'network': {'id': '4f1cc82c-27ed-436f-8f3b-59a22b10be95', 'name': 'ctest-vn-02833876', 'tenant_id': '94112c8c5857441cb7bf7bb0f4699a70', 'project_id': '94112c8c5857441cb7bf7bb0f4699a70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24190283', 'ctest-vn-02833876'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 09:40:43,660 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da7cbead-40a1-4284-8b25-801e7fcedafc', 'name': '', 'tenant_id': '94112c8c5857441cb7bf7bb0f4699a70', 'network_id': '4f1cc82c-27ed-436f-8f3b-59a22b10be95', 'ip_version': 4, 'cidr': '34.80.63.64/26', 'allocation_pools': [{'start': '34.80.63.66', 'end': '34.80.63.126'}], 'gateway_ip': '34.80.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.80.63.66', 'tags': [], 'project_id': '94112c8c5857441cb7bf7bb0f4699a70'}} 2025-08-29 09:40:43,677 - INFO - Created VN ctest-vn-02833876 2025-08-29 09:40:43,729 - DEBUG - VN ctest-vn-02833876 UUID is 4f1cc82c-27ed-436f-8f3b-59a22b10be95 2025-08-29 09:40:44,049 - DEBUG - Response for create_network : {'network': {'id': '2dbe6f8e-7f9e-470f-8556-b2dbc045af9e', 'name': 'ctest-vn-57740001', 'tenant_id': '94112c8c5857441cb7bf7bb0f4699a70', 'project_id': '94112c8c5857441cb7bf7bb0f4699a70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24190283', 'ctest-vn-57740001'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 09:40:44,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f225273-edc5-46bf-bd4e-83842e2b7de8', 'name': '', 'tenant_id': '94112c8c5857441cb7bf7bb0f4699a70', 'network_id': '2dbe6f8e-7f9e-470f-8556-b2dbc045af9e', 'ip_version': 4, 'cidr': '197.73.255.64/26', 'allocation_pools': [{'start': '197.73.255.66', 'end': '197.73.255.126'}], 'gateway_ip': '197.73.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.73.255.66', 'tags': [], 'project_id': '94112c8c5857441cb7bf7bb0f4699a70'}} 2025-08-29 09:40:44,250 - INFO - Created VN ctest-vn-57740001 2025-08-29 09:40:44,305 - DEBUG - VN ctest-vn-57740001 UUID is 2dbe6f8e-7f9e-470f-8556-b2dbc045af9e 2025-08-29 09:40:44,457 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-02833876, 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-24190283:ctest-vn-57740001, 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-08-29 09:40:44,730 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f1cc82c-27ed-436f-8f3b-59a22b10be95', 'name': 'ctest-vn-02833876', 'tenant_id': '94112c8c5857441cb7bf7bb0f4699a70', 'project_id': '94112c8c5857441cb7bf7bb0f4699a70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da7cbead-40a1-4284-8b25-801e7fcedafc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24190283', 'ctest-vn-02833876'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24190283', 'ctest-policy-allow-all-50556234']], 'subnet_ipam': [{'subnet_cidr': '34.80.63.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-29 09:40:44,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2dbe6f8e-7f9e-470f-8556-b2dbc045af9e', 'name': 'ctest-vn-57740001', 'tenant_id': '94112c8c5857441cb7bf7bb0f4699a70', 'project_id': '94112c8c5857441cb7bf7bb0f4699a70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f225273-edc5-46bf-bd4e-83842e2b7de8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24190283', 'ctest-vn-57740001'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24190283', 'ctest-policy-allow-all-50556234']], 'subnet_ipam': [{'subnet_cidr': '197.73.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-29 09:40:45,117 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 09:40:45,413 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 09:40:45,439 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ab28530-83e1-45a0-83db-4eaa52e16107 2025-08-29 09:40:45,449 - DEBUG - Requesting: http://10.0.0.254:8082/project/94112c8c-5857-441c-b7bf-7bb0f4699a70 2025-08-29 09:40:45,519 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f1cc82c-27ed-436f-8f3b-59a22b10be95 2025-08-29 09:40:45,529 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f1cc82c-27ed-436f-8f3b-59a22b10be95 2025-08-29 09:40:45,537 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/56462bdf-65b1-43ae-8d2f-ca3acaff674e 2025-08-29 09:40:45,543 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/56462bdf-65b1-43ae-8d2f-ca3acaff674e 2025-08-29 09:40:45,548 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d88200eb-3b43-4a44-8f55-d2ac472bac84 2025-08-29 09:40:45,553 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-29 09:40:45,553 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f1cc82c-27ed-436f-8f3b-59a22b10be95 2025-08-29 09:40:45,560 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/56462bdf-65b1-43ae-8d2f-ca3acaff674e 2025-08-29 09:40:45,570 - INFO - Verified VN network id 10 for VN 4f1cc82c-27ed-436f-8f3b-59a22b10be95 2025-08-29 09:40:45,570 - INFO - Verifications in API Server for VN ctest-vn-02833876 passed 2025-08-29 09:40:45,570 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f1cc82c-27ed-436f-8f3b-59a22b10be95 2025-08-29 09:40:45,577 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/56462bdf-65b1-43ae-8d2f-ca3acaff674e 2025-08-29 09:40:45,582 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/56462bdf-65b1-43ae-8d2f-ca3acaff674e 2025-08-29 09:40:45,587 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d88200eb-3b43-4a44-8f55-d2ac472bac84 2025-08-29 09:40:45,596 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-02833876', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24190283', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5700651320318182255', 'uuid-lslong': '10320941524091715221'}, 'enable': 'true', 'created': '2025-08-29T09:40:43', 'last-modified': '2025-08-29T09:40:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.884365'} 2025-08-29 09:40:45,601 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-29 09:40:45,601 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02833876 passed 2025-08-29 09:40:45,601 - DEBUG - ====Verifying policy data for ctest-vn-02833876 in API_Server ====== 2025-08-29 09:40:45,601 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 09:40:45,605 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ab28530-83e1-45a0-83db-4eaa52e16107 2025-08-29 09:40:45,613 - DEBUG - Requesting: http://10.0.0.254:8082/project/94112c8c-5857-441c-b7bf-7bb0f4699a70 2025-08-29 09:40:45,680 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4f1cc82c-27ed-436f-8f3b-59a22b10be95 2025-08-29 09:40:45,688 - DEBUG - ==>Verifying data for policy with id: bff97d46-7b34-4233-a0d0-6b8af9eda207, fqn: ['default-domain', 'ctest-TestBasicPolicy-24190283', 'ctest-policy-allow-all-50556234'] 2025-08-29 09:40:45,688 - INFO - VN ctest-vn-02833876 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-29 09:40:45,688 - DEBUG - Verifying the vn in opserver 2025-08-29 09:40:45,688 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-02833876 virtual network link through opserver 10.0.0.254 2025-08-29 09:40:45,688 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-29 09:40:45,980 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-29 09:40:46,028 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-02833876', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-02833876?flat'} 2025-08-29 09:40:46,029 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-02833876 is found in opserver 2025-08-29 09:40:46,037 - DEBUG - Do not have enough data to verify VN in agent 2025-08-29 09:40:46,041 - DEBUG - VRF ids for VN ctest-vn-02833876: {} 2025-08-29 09:40:46,041 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 09:40:46,046 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ab28530-83e1-45a0-83db-4eaa52e16107 2025-08-29 09:40:46,054 - DEBUG - Requesting: http://10.0.0.254:8082/project/94112c8c-5857-441c-b7bf-7bb0f4699a70 2025-08-29 09:40:46,118 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2dbe6f8e-7f9e-470f-8556-b2dbc045af9e 2025-08-29 09:40:46,128 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2dbe6f8e-7f9e-470f-8556-b2dbc045af9e 2025-08-29 09:40:46,136 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c46cf34b-9b16-4b6f-b513-4cb719f7d85d 2025-08-29 09:40:46,141 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c46cf34b-9b16-4b6f-b513-4cb719f7d85d 2025-08-29 09:40:46,146 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e6b43838-d213-4264-93b6-97c05fd3e836 2025-08-29 09:40:46,151 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-29 09:40:46,151 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2dbe6f8e-7f9e-470f-8556-b2dbc045af9e 2025-08-29 09:40:46,158 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c46cf34b-9b16-4b6f-b513-4cb719f7d85d 2025-08-29 09:40:46,168 - INFO - Verified VN network id 11 for VN 2dbe6f8e-7f9e-470f-8556-b2dbc045af9e 2025-08-29 09:40:46,168 - INFO - Verifications in API Server for VN ctest-vn-57740001 passed 2025-08-29 09:40:46,168 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2dbe6f8e-7f9e-470f-8556-b2dbc045af9e 2025-08-29 09:40:46,175 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c46cf34b-9b16-4b6f-b513-4cb719f7d85d 2025-08-29 09:40:46,180 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c46cf34b-9b16-4b6f-b513-4cb719f7d85d 2025-08-29 09:40:46,185 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e6b43838-d213-4264-93b6-97c05fd3e836 2025-08-29 09:40:46,197 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-57740001', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24190283', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3296194635098900239', 'uuid-lslong': '9608063511934906270'}, 'enable': 'true', 'created': '2025-08-29T09:40:44', 'last-modified': '2025-08-29T09:40:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.265455'} 2025-08-29 09:40:46,202 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-29 09:40:46,202 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57740001 passed 2025-08-29 09:40:46,202 - DEBUG - ====Verifying policy data for ctest-vn-57740001 in API_Server ====== 2025-08-29 09:40:46,202 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 09:40:46,206 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ab28530-83e1-45a0-83db-4eaa52e16107 2025-08-29 09:40:46,215 - DEBUG - Requesting: http://10.0.0.254:8082/project/94112c8c-5857-441c-b7bf-7bb0f4699a70 2025-08-29 09:40:46,280 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2dbe6f8e-7f9e-470f-8556-b2dbc045af9e 2025-08-29 09:40:46,289 - DEBUG - ==>Verifying data for policy with id: bff97d46-7b34-4233-a0d0-6b8af9eda207, fqn: ['default-domain', 'ctest-TestBasicPolicy-24190283', 'ctest-policy-allow-all-50556234'] 2025-08-29 09:40:46,289 - INFO - VN ctest-vn-57740001 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-29 09:40:46,289 - DEBUG - Verifying the vn in opserver 2025-08-29 09:40:46,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-57740001 virtual network link through opserver 10.0.0.254 2025-08-29 09:40:46,289 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-29 09:40:46,298 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-57740001', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-57740001?flat'} 2025-08-29 09:40:46,298 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-57740001 is found in opserver 2025-08-29 09:40:46,306 - DEBUG - Do not have enough data to verify VN in agent 2025-08-29 09:40:46,310 - DEBUG - VRF ids for VN ctest-vn-57740001: {} 2025-08-29 09:40:46,362 - DEBUG - Services list from nova: [, , ] 2025-08-29 09:40:47,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1) 2025-08-29 09:40:48,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1) 2025-08-29 09:40:48,497 - INFO - Waiting for VM ctest-TestBasicPolicy-24190283-62741997 to be up.. 2025-08-29 09:40:48,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 09:40:53,646 - DEBUG - VM is in ACTIVE state now 2025-08-29 09:40:53,646 - INFO - VM name : ctest-TestBasicPolicy-24190283-62741997 2025-08-29 09:40:53,733 - DEBUG - VM ctest-TestBasicPolicy-24190283-62741997 ID is 2867b156-c645-4e0d-b6c6-a2d12b5d04aa 2025-08-29 09:40:53,751 - DEBUG - VM ctest-TestBasicPolicy-24190283-62741997 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1 2025-08-29 09:40:53,829 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2867b156-c645-4e0d-b6c6-a2d12b5d04aa 2025-08-29 09:40:53,842 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4128d13-29a2-4dbd-9df8-b112735a2869 2025-08-29 09:40:57,087 - 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 1011ms') 2025-08-29 09:40:57,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24190283-62741997 failed! 2025-08-29 09:40:57,145 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24190283:ctest-vn-02833876 is 34.80.63.65 and allocation pool is NOT set 2025-08-29 09:40:59,213 - 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=9.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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 = 1.261/5.218/9.175/3.957 ms') 2025-08-29 09:40:59,214 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24190283-62741997 passed 2025-08-29 09:40:59,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:40:59,369 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24190283-62741997, IP 34.80.63.67, Port 22 2025-08-29 09:40:59,524 - DEBUG - VM ctest-TestBasicPolicy-24190283-62741997 is ready for SSH connections 2025-08-29 09:40:59,524 - INFO - Waiting for VM ctest-TestBasicPolicy-24190283-37990232 to be up.. 2025-08-29 09:40:59,603 - DEBUG - VM is in ACTIVE state now 2025-08-29 09:40:59,603 - INFO - VM name : ctest-TestBasicPolicy-24190283-37990232 2025-08-29 09:40:59,677 - DEBUG - VM ctest-TestBasicPolicy-24190283-37990232 ID is a0830f73-9831-4b39-9ec1-e735af52da73 2025-08-29 09:40:59,677 - DEBUG - VM ctest-TestBasicPolicy-24190283-37990232 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1 2025-08-29 09:40:59,743 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a0830f73-9831-4b39-9ec1-e735af52da73 2025-08-29 09:40:59,749 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c44f67df-87a9-4f15-b6ab-6076e171fe03 2025-08-29 09:41:00,979 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.02 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 = 2.020/2.911/3.802/0.891 ms') 2025-08-29 09:41:00,979 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24190283-37990232 passed 2025-08-29 09:41:01,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:41:01,125 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24190283-37990232, IP 197.73.255.67, Port 22 2025-08-29 09:41:01,285 - DEBUG - VM ctest-TestBasicPolicy-24190283-37990232 is ready for SSH connections 2025-08-29 09:41:01,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:41:01,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.73.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 09:41:01,285 - DEBUG - ping -s 56 -c 3 -W 1 197.73.255.67 2025-08-29 09:41:05,324 - DEBUG - PING 197.73.255.67 (197.73.255.67): 56 data bytes 64 bytes from 197.73.255.67: seq=0 ttl=63 time=5.247 ms 64 bytes from 197.73.255.67: seq=1 ttl=63 time=1.002 ms 64 bytes from 197.73.255.67: seq=2 ttl=63 time=0.844 ms --- 197.73.255.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/2.364/5.247 ms 2025-08-29 09:41:05,324 - INFO - Ping to IP 197.73.255.67 from VM ctest-TestBasicPolicy-24190283-62741997 passed 2025-08-29 09:41:05,497 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bff97d46-7b34-4233-a0d0-6b8af9eda207", "href": "http://10.0.0.254:8082/network-policy/bff97d46-7b34-4233-a0d0-6b8af9eda207"}} 2025-08-29 09:41:05,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:41:05,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.73.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 09:41:05,497 - DEBUG - ping -s 56 -c 3 -W 1 197.73.255.67 2025-08-29 09:41:08,731 - DEBUG - PING 197.73.255.67 (197.73.255.67): 56 data bytes --- 197.73.255.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-29 09:41:08,732 - WARNING - Ping to IP 197.73.255.67 from VM ctest-TestBasicPolicy-24190283-62741997 failed 2025-08-29 09:41:08,732 - INFO - Deleting VM ctest-TestBasicPolicy-24190283-37990232 2025-08-29 09:41:08,802 - INFO - Deleting VM ctest-TestBasicPolicy-24190283-62741997 2025-08-29 09:41:09,199 - INFO - Deleted policy ctest-policy-allow-all-50556234 2025-08-29 09:41:09,199 - INFO - Deleting VN ctest-vn-57740001 2025-08-29 09:41:09,245 - DEBUG - VN 2dbe6f8e-7f9e-470f-8556-b2dbc045af9e still in use: Unable to complete operation on network 2dbe6f8e-7f9e-470f-8556-b2dbc045af9e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-29963eb8-72fc-4da8-b83a-a2e456bfce8c'] 2025-08-29 09:41:09,245 - WARNING - Deleting VN ctest-vn-57740001 failed..Will retry 2025-08-29 09:41:11,358 - DEBUG - Response for deleting network () 2025-08-29 09:41:11,358 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c46cf34b-9b16-4b6f-b513-4cb719f7d85d 2025-08-29 09:41:11,364 - DEBUG - Response Code: 404 2025-08-29 09:41:11,364 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 09:41:11,369 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ab28530-83e1-45a0-83db-4eaa52e16107 2025-08-29 09:41:11,422 - DEBUG - Requesting: http://10.0.0.254:8082/project/94112c8c-5857-441c-b7bf-7bb0f4699a70 2025-08-29 09:41:11,489 - INFO - Validated that VN ctest-vn-57740001 is not found in API Server 2025-08-29 09:41:11,499 - DEBUG - VN ctest-vn-57740001 is not present in Agent 10.0.0.254 2025-08-29 09:41:11,499 - INFO - Validated that VN ctest-vn-57740001 is not in any agent 2025-08-29 09:41:11,513 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57740001 info 2025-08-29 09:41:11,514 - INFO - Deleting VN ctest-vn-02833876 2025-08-29 09:41:11,622 - DEBUG - Response for deleting network () 2025-08-29 09:41:11,622 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/56462bdf-65b1-43ae-8d2f-ca3acaff674e 2025-08-29 09:41:11,628 - DEBUG - Response Code: 404 2025-08-29 09:41:11,628 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 09:41:11,634 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ab28530-83e1-45a0-83db-4eaa52e16107 2025-08-29 09:41:11,694 - DEBUG - Requesting: http://10.0.0.254:8082/project/94112c8c-5857-441c-b7bf-7bb0f4699a70 2025-08-29 09:41:11,770 - INFO - Validated that VN ctest-vn-02833876 is not found in API Server 2025-08-29 09:41:11,782 - DEBUG - VN ctest-vn-02833876 is not present in Agent 10.0.0.254 2025-08-29 09:41:11,782 - INFO - Validated that VN ctest-vn-02833876 is not in any agent 2025-08-29 09:41:11,798 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02833876 info 2025-08-29 09:41:12,058 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 09:41:12,058 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-29 09:41:12,058 - INFO - -------------------------------------------------------------------------------- 2025-08-29 09:41:12,765 - INFO - Deleted project: ctest-TestBasicPolicy-24190283, ID : 94112c8c-5857-441c-b7bf-7bb0f4699a70