2025-02-05 12:19:55,702 - INFO - Domain Default found not creating 2025-02-05 12:19:55,868 - INFO - Project ctest-TestBasicPolicy-00549348 not found, creating it 2025-02-05 12:19:56,385 - INFO - Created Project:ctest-TestBasicPolicy-00549348, ID : f4856f09-50fc-4473-a7b8-819cc659d87a 2025-02-05 12:19:57,843 - INFO - ================================================================================ 2025-02-05 12:19:57,843 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-05 12:19:57,843 - 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-02-05 12:19:58,097 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.22': '0'}} with 2025-02-05 12:19:58,097 - INFO - Initial checks done. Running the testcase now 2025-02-05 12:19:58,098 - INFO - 2025-02-05 12:19:58,633 - DEBUG - Response for create_network : {'network': {'id': '3986880c-bea5-40ae-80bf-8e9a1933e422', 'name': 'ctest-vn-49391657', 'tenant_id': 'f4856f0950fc4473a7b8819cc659d87a', 'project_id': 'f4856f0950fc4473a7b8819cc659d87a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00549348', 'ctest-vn-49391657'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 12:19:58,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '17b114dd-f078-4770-9857-e10e685ff0bf', 'name': '', 'tenant_id': 'f4856f0950fc4473a7b8819cc659d87a', 'network_id': '3986880c-bea5-40ae-80bf-8e9a1933e422', 'ip_version': 4, 'cidr': '79.7.170.64/26', 'allocation_pools': [{'start': '79.7.170.66', 'end': '79.7.170.126'}], 'gateway_ip': '79.7.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.7.170.66', 'tags': [], 'project_id': 'f4856f0950fc4473a7b8819cc659d87a'}} 2025-02-05 12:19:58,853 - INFO - Created VN ctest-vn-49391657 2025-02-05 12:19:58,907 - DEBUG - VN ctest-vn-49391657 UUID is 3986880c-bea5-40ae-80bf-8e9a1933e422 2025-02-05 12:19:59,235 - DEBUG - Response for create_network : {'network': {'id': '548127af-fddd-44d5-845a-cd1111048d79', 'name': 'ctest-vn-77837478', 'tenant_id': 'f4856f0950fc4473a7b8819cc659d87a', 'project_id': 'f4856f0950fc4473a7b8819cc659d87a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00549348', 'ctest-vn-77837478'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 12:19:59,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '8aeb6c14-6ad2-4fc1-a890-27c10a6bd5b3', 'name': '', 'tenant_id': 'f4856f0950fc4473a7b8819cc659d87a', 'network_id': '548127af-fddd-44d5-845a-cd1111048d79', 'ip_version': 4, 'cidr': '168.180.137.128/26', 'allocation_pools': [{'start': '168.180.137.130', 'end': '168.180.137.190'}], 'gateway_ip': '168.180.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.180.137.130', 'tags': [], 'project_id': 'f4856f0950fc4473a7b8819cc659d87a'}} 2025-02-05 12:19:59,477 - INFO - Created VN ctest-vn-77837478 2025-02-05 12:19:59,527 - DEBUG - VN ctest-vn-77837478 UUID is 548127af-fddd-44d5-845a-cd1111048d79 2025-02-05 12:19:59,642 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-49391657, 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-00549348:ctest-vn-77837478, 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-02-05 12:19:59,937 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3986880c-bea5-40ae-80bf-8e9a1933e422', 'name': 'ctest-vn-49391657', 'tenant_id': 'f4856f0950fc4473a7b8819cc659d87a', 'project_id': 'f4856f0950fc4473a7b8819cc659d87a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['17b114dd-f078-4770-9857-e10e685ff0bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00549348', 'ctest-vn-49391657'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00549348', 'ctest-policy-allow-all-11647528']], 'subnet_ipam': [{'subnet_cidr': '79.7.170.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-05 12:20:00,232 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '548127af-fddd-44d5-845a-cd1111048d79', 'name': 'ctest-vn-77837478', 'tenant_id': 'f4856f0950fc4473a7b8819cc659d87a', 'project_id': 'f4856f0950fc4473a7b8819cc659d87a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8aeb6c14-6ad2-4fc1-a890-27c10a6bd5b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00549348', 'ctest-vn-77837478'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00549348', 'ctest-policy-allow-all-11647528']], 'subnet_ipam': [{'subnet_cidr': '168.180.137.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-05 12:20:00,391 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-02-05 12:20:00,688 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-02-05 12:20:00,716 - DEBUG - Requesting: http://10.0.0.42:8082/domain/c2e82eb6-3e53-4350-9edc-d3959033fd8f 2025-02-05 12:20:00,731 - DEBUG - Requesting: http://10.0.0.42:8082/project/f4856f09-50fc-4473-a7b8-819cc659d87a 2025-02-05 12:20:00,804 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3986880c-bea5-40ae-80bf-8e9a1933e422 2025-02-05 12:20:00,815 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3986880c-bea5-40ae-80bf-8e9a1933e422 2025-02-05 12:20:00,824 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91f83eef-9b59-4d6d-92fb-beacff868c15 2025-02-05 12:20:00,832 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91f83eef-9b59-4d6d-92fb-beacff868c15 2025-02-05 12:20:00,839 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/6eae6cf2-8ca2-41a2-b8cc-2af103c60a1d 2025-02-05 12:20:00,845 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-05 12:20:00,845 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3986880c-bea5-40ae-80bf-8e9a1933e422 2025-02-05 12:20:00,855 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91f83eef-9b59-4d6d-92fb-beacff868c15 2025-02-05 12:20:00,869 - INFO - Verified VN network id 7 for VN 3986880c-bea5-40ae-80bf-8e9a1933e422 2025-02-05 12:20:00,869 - INFO - Verifications in API Server for VN ctest-vn-49391657 passed 2025-02-05 12:20:00,869 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3986880c-bea5-40ae-80bf-8e9a1933e422 2025-02-05 12:20:00,879 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91f83eef-9b59-4d6d-92fb-beacff868c15 2025-02-05 12:20:00,886 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91f83eef-9b59-4d6d-92fb-beacff868c15 2025-02-05 12:20:00,894 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/6eae6cf2-8ca2-41a2-b8cc-2af103c60a1d 2025-02-05 12:20:00,907 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-49391657', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00549348', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4145150095360606382', 'uuid-lslong': '9277290549905450018'}, 'enable': 'true', 'created': '2025-02-05T12:19:58', 'last-modified': '2025-02-05T12:19:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995369'} 2025-02-05 12:20:00,914 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-05 12:20:00,915 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49391657 passed 2025-02-05 12:20:00,915 - DEBUG - ====Verifying policy data for ctest-vn-49391657 in API_Server ====== 2025-02-05 12:20:00,915 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-02-05 12:20:00,924 - DEBUG - Requesting: http://10.0.0.42:8082/domain/c2e82eb6-3e53-4350-9edc-d3959033fd8f 2025-02-05 12:20:00,935 - DEBUG - Requesting: http://10.0.0.42:8082/project/f4856f09-50fc-4473-a7b8-819cc659d87a 2025-02-05 12:20:01,013 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3986880c-bea5-40ae-80bf-8e9a1933e422 2025-02-05 12:20:01,025 - DEBUG - ==>Verifying data for policy with id: 7d8fdd96-91e3-454e-9f68-92abbf441ac1, fqn: ['default-domain', 'ctest-TestBasicPolicy-00549348', 'ctest-policy-allow-all-11647528'] 2025-02-05 12:20:01,026 - INFO - VN ctest-vn-49391657 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-05 12:20:01,026 - DEBUG - Verifying the vn in opserver 2025-02-05 12:20:01,026 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-49391657 virtual network link through opserver 10.0.0.42 2025-02-05 12:20:01,026 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-02-05 12:20:01,321 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-02-05 12:20:01,383 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-49391657', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-49391657?flat'} 2025-02-05 12:20:01,383 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-49391657 is found in opserver 2025-02-05 12:20:01,395 - DEBUG - Do not have enough data to verify VN in agent 2025-02-05 12:20:01,401 - DEBUG - VRF ids for VN ctest-vn-49391657: {} 2025-02-05 12:20:01,401 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-02-05 12:20:01,407 - DEBUG - Requesting: http://10.0.0.42:8082/domain/c2e82eb6-3e53-4350-9edc-d3959033fd8f 2025-02-05 12:20:01,420 - DEBUG - Requesting: http://10.0.0.42:8082/project/f4856f09-50fc-4473-a7b8-819cc659d87a 2025-02-05 12:20:01,496 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/548127af-fddd-44d5-845a-cd1111048d79 2025-02-05 12:20:01,509 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/548127af-fddd-44d5-845a-cd1111048d79 2025-02-05 12:20:01,519 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91385463-4fc5-4c56-9960-b56880085a46 2025-02-05 12:20:01,528 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91385463-4fc5-4c56-9960-b56880085a46 2025-02-05 12:20:01,536 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/5cf60ba8-d169-4a60-84fe-d92796beb81d 2025-02-05 12:20:01,544 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-05 12:20:01,544 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/548127af-fddd-44d5-845a-cd1111048d79 2025-02-05 12:20:01,555 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91385463-4fc5-4c56-9960-b56880085a46 2025-02-05 12:20:01,572 - INFO - Verified VN network id 8 for VN 548127af-fddd-44d5-845a-cd1111048d79 2025-02-05 12:20:01,572 - INFO - Verifications in API Server for VN ctest-vn-77837478 passed 2025-02-05 12:20:01,572 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/548127af-fddd-44d5-845a-cd1111048d79 2025-02-05 12:20:01,583 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91385463-4fc5-4c56-9960-b56880085a46 2025-02-05 12:20:01,590 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91385463-4fc5-4c56-9960-b56880085a46 2025-02-05 12:20:01,598 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/5cf60ba8-d169-4a60-84fe-d92796beb81d 2025-02-05 12:20:01,610 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-77837478', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00549348', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6089191808013518037', 'uuid-lslong': '9537160634094095737'}, 'enable': 'true', 'created': '2025-02-05T12:19:59', 'last-modified': '2025-02-05T12:20:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.445326'} 2025-02-05 12:20:01,617 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-05 12:20:01,617 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77837478 passed 2025-02-05 12:20:01,617 - DEBUG - ====Verifying policy data for ctest-vn-77837478 in API_Server ====== 2025-02-05 12:20:01,617 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-02-05 12:20:01,624 - DEBUG - Requesting: http://10.0.0.42:8082/domain/c2e82eb6-3e53-4350-9edc-d3959033fd8f 2025-02-05 12:20:01,636 - DEBUG - Requesting: http://10.0.0.42:8082/project/f4856f09-50fc-4473-a7b8-819cc659d87a 2025-02-05 12:20:01,710 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/548127af-fddd-44d5-845a-cd1111048d79 2025-02-05 12:20:01,721 - DEBUG - ==>Verifying data for policy with id: 7d8fdd96-91e3-454e-9f68-92abbf441ac1, fqn: ['default-domain', 'ctest-TestBasicPolicy-00549348', 'ctest-policy-allow-all-11647528'] 2025-02-05 12:20:01,721 - INFO - VN ctest-vn-77837478 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-05 12:20:01,721 - DEBUG - Verifying the vn in opserver 2025-02-05 12:20:01,721 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-77837478 virtual network link through opserver 10.0.0.42 2025-02-05 12:20:01,721 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2025-02-05 12:20:01,732 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-77837478', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-77837478?flat'} 2025-02-05 12:20:01,733 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-77837478 is found in opserver 2025-02-05 12:20:01,744 - DEBUG - Do not have enough data to verify VN in agent 2025-02-05 12:20:01,749 - DEBUG - VRF ids for VN ctest-vn-77837478: {} 2025-02-05 12:20:01,809 - DEBUG - Services list from nova: [, , ] 2025-02-05 12:20:02,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2691-1) 2025-02-05 12:20:04,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2691-1) 2025-02-05 12:20:04,045 - INFO - Waiting for VM ctest-TestBasicPolicy-00549348-70916163 to be up.. 2025-02-05 12:20:04,135 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 12:20:09,233 - DEBUG - VM is in ACTIVE state now 2025-02-05 12:20:09,233 - INFO - VM name : ctest-TestBasicPolicy-00549348-70916163 2025-02-05 12:20:09,315 - DEBUG - VM ctest-TestBasicPolicy-00549348-70916163 ID is 78e61c69-5a16-407f-b03d-b3835fd48232 2025-02-05 12:20:09,335 - DEBUG - VM ctest-TestBasicPolicy-00549348-70916163 launched on Node cn-jenkins-deploy-platform-ansible-os-2691-1 2025-02-05 12:20:09,422 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/78e61c69-5a16-407f-b03d-b3835fd48232 2025-02-05 12:20:09,431 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/ff734ffd-e4ed-4279-bb83-fdf34f94c003 2025-02-05 12:20:12,695 - 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 1028ms') 2025-02-05 12:20:12,695 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00549348-70916163 failed! 2025-02-05 12:20:12,751 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00549348:ctest-vn-49391657 is 79.7.170.65 and allocation pool is NOT set 2025-02-05 12:20:14,812 - 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.02 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 1001ms\r\nrtt min/avg/max/mdev = 0.430/1.724/3.018/1.294 ms') 2025-02-05 12:20:14,812 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00549348-70916163 passed 2025-02-05 12:20:14,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 12:20:14,967 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00549348-70916163, IP 79.7.170.67, Port 22 2025-02-05 12:20:15,136 - DEBUG - VM ctest-TestBasicPolicy-00549348-70916163 is ready for SSH connections 2025-02-05 12:20:15,136 - INFO - Waiting for VM ctest-TestBasicPolicy-00549348-97084296 to be up.. 2025-02-05 12:20:15,219 - DEBUG - VM is in ACTIVE state now 2025-02-05 12:20:15,219 - INFO - VM name : ctest-TestBasicPolicy-00549348-97084296 2025-02-05 12:20:15,303 - DEBUG - VM ctest-TestBasicPolicy-00549348-97084296 ID is 2b6abcb6-2b77-4092-a07d-cc71a8386ece 2025-02-05 12:20:15,303 - DEBUG - VM ctest-TestBasicPolicy-00549348-97084296 launched on Node cn-jenkins-deploy-platform-ansible-os-2691-1 2025-02-05 12:20:15,393 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/2b6abcb6-2b77-4092-a07d-cc71a8386ece 2025-02-05 12:20:15,403 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/6558b3f4-e059-4f95-a2c7-3adb94def5f2 2025-02-05 12:20:16,648 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.683/2.955/1.272 ms') 2025-02-05 12:20:16,648 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00549348-97084296 passed 2025-02-05 12:20:16,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 12:20:16,807 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00549348-97084296, IP 168.180.137.131, Port 22 2025-02-05 12:20:16,963 - DEBUG - VM ctest-TestBasicPolicy-00549348-97084296 is ready for SSH connections 2025-02-05 12:20:16,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 12:20:16,963 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.180.137.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-05 12:20:16,963 - DEBUG - ping -s 56 -c 3 -W 1 168.180.137.131 2025-02-05 12:20:20,636 - DEBUG - PING 168.180.137.131 (168.180.137.131): 56 data bytes 64 bytes from 168.180.137.131: seq=0 ttl=63 time=3.250 ms 64 bytes from 168.180.137.131: seq=1 ttl=63 time=0.776 ms 64 bytes from 168.180.137.131: seq=2 ttl=63 time=0.823 ms --- 168.180.137.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/1.616/3.250 ms 2025-02-05 12:20:20,637 - INFO - Ping to IP 168.180.137.131 from VM ctest-TestBasicPolicy-00549348-70916163 passed 2025-02-05 12:20:20,819 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d8fdd96-91e3-454e-9f68-92abbf441ac1", "href": "http://10.0.0.42:8082/network-policy/7d8fdd96-91e3-454e-9f68-92abbf441ac1"}} 2025-02-05 12:20:20,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 12:20:20,819 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.180.137.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-05 12:20:20,819 - DEBUG - ping -s 56 -c 3 -W 1 168.180.137.131 2025-02-05 12:20:24,022 - DEBUG - PING 168.180.137.131 (168.180.137.131): 56 data bytes --- 168.180.137.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-05 12:20:24,023 - WARNING - Ping to IP 168.180.137.131 from VM ctest-TestBasicPolicy-00549348-70916163 failed 2025-02-05 12:20:24,023 - INFO - Deleting VM ctest-TestBasicPolicy-00549348-97084296 2025-02-05 12:20:24,091 - INFO - Deleting VM ctest-TestBasicPolicy-00549348-70916163 2025-02-05 12:20:24,450 - INFO - Deleted policy ctest-policy-allow-all-11647528 2025-02-05 12:20:24,450 - INFO - Deleting VN ctest-vn-77837478 2025-02-05 12:20:24,489 - DEBUG - VN 548127af-fddd-44d5-845a-cd1111048d79 still in use: Unable to complete operation on network 548127af-fddd-44d5-845a-cd1111048d79. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-723d1f0e-34aa-4b9f-a6c4-0182e86fee82'] 2025-02-05 12:20:24,489 - WARNING - Deleting VN ctest-vn-77837478 failed..Will retry 2025-02-05 12:20:26,595 - DEBUG - Response for deleting network () 2025-02-05 12:20:26,595 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91385463-4fc5-4c56-9960-b56880085a46 2025-02-05 12:20:26,600 - DEBUG - Response Code: 404 2025-02-05 12:20:26,600 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-02-05 12:20:26,606 - DEBUG - Requesting: http://10.0.0.42:8082/domain/c2e82eb6-3e53-4350-9edc-d3959033fd8f 2025-02-05 12:20:26,660 - DEBUG - Requesting: http://10.0.0.42:8082/project/f4856f09-50fc-4473-a7b8-819cc659d87a 2025-02-05 12:20:26,734 - INFO - Validated that VN ctest-vn-77837478 is not found in API Server 2025-02-05 12:20:26,747 - DEBUG - VN ctest-vn-77837478 is not present in Agent 10.0.0.42 2025-02-05 12:20:26,747 - INFO - Validated that VN ctest-vn-77837478 is not in any agent 2025-02-05 12:20:26,763 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77837478 info 2025-02-05 12:20:26,763 - INFO - Deleting VN ctest-vn-49391657 2025-02-05 12:20:26,873 - DEBUG - Response for deleting network () 2025-02-05 12:20:26,873 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/91f83eef-9b59-4d6d-92fb-beacff868c15 2025-02-05 12:20:26,881 - DEBUG - Response Code: 404 2025-02-05 12:20:26,881 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2025-02-05 12:20:26,887 - DEBUG - Requesting: http://10.0.0.42:8082/domain/c2e82eb6-3e53-4350-9edc-d3959033fd8f 2025-02-05 12:20:26,940 - DEBUG - Requesting: http://10.0.0.42:8082/project/f4856f09-50fc-4473-a7b8-819cc659d87a 2025-02-05 12:20:27,016 - INFO - Validated that VN ctest-vn-49391657 is not found in API Server 2025-02-05 12:20:27,027 - DEBUG - VN ctest-vn-49391657 is not present in Agent 10.0.0.42 2025-02-05 12:20:27,027 - INFO - Validated that VN ctest-vn-49391657 is not in any agent 2025-02-05 12:20:27,043 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49391657 info 2025-02-05 12:20:27,301 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 12:20:27,301 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-05 12:20:27,301 - INFO - -------------------------------------------------------------------------------- 2025-02-05 12:20:27,976 - INFO - Deleted project: ctest-TestBasicPolicy-00549348, ID : f4856f09-50fc-4473-a7b8-819cc659d87a