2025-01-07 11:40:09,491 - INFO - Domain Default found not creating 2025-01-07 11:40:09,648 - INFO - Project ctest-TestBasicPolicy-20419292 not found, creating it 2025-01-07 11:40:10,124 - INFO - Created Project:ctest-TestBasicPolicy-20419292, ID : 44827754-c479-49c1-89bc-8a8c40647cde 2025-01-07 11:40:12,108 - INFO - ================================================================================ 2025-01-07 11:40:12,108 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 11:40:12,108 - 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-01-07 11:40:12,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.5': '0'}} with 2025-01-07 11:40:12,377 - INFO - Initial checks done. Running the testcase now 2025-01-07 11:40:12,377 - INFO - 2025-01-07 11:40:12,966 - DEBUG - Response for create_network : {'network': {'id': '7b3a9cf1-d97b-4536-803b-81addfe9534c', 'name': 'ctest-vn-64197104', 'tenant_id': '44827754c47949c189bc8a8c40647cde', 'project_id': '44827754c47949c189bc8a8c40647cde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20419292', 'ctest-vn-64197104'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:40:13,194 - DEBUG - Response for create_subnet : {'subnet': {'id': '1521d834-bffb-41d3-8fb4-2c1970d1b2ef', 'name': '', 'tenant_id': '44827754c47949c189bc8a8c40647cde', 'network_id': '7b3a9cf1-d97b-4536-803b-81addfe9534c', 'ip_version': 4, 'cidr': '111.31.147.64/26', 'allocation_pools': [{'start': '111.31.147.66', 'end': '111.31.147.126'}], 'gateway_ip': '111.31.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.31.147.66', 'tags': [], 'project_id': '44827754c47949c189bc8a8c40647cde'}} 2025-01-07 11:40:13,215 - INFO - Created VN ctest-vn-64197104 2025-01-07 11:40:13,270 - DEBUG - VN ctest-vn-64197104 UUID is 7b3a9cf1-d97b-4536-803b-81addfe9534c 2025-01-07 11:40:13,605 - DEBUG - Response for create_network : {'network': {'id': '2446e936-56d9-4fb6-93a8-7de4a455f776', 'name': 'ctest-vn-70327650', 'tenant_id': '44827754c47949c189bc8a8c40647cde', 'project_id': '44827754c47949c189bc8a8c40647cde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20419292', 'ctest-vn-70327650'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:40:13,811 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4eaad02-39ad-41fa-94dc-7fec98270373', 'name': '', 'tenant_id': '44827754c47949c189bc8a8c40647cde', 'network_id': '2446e936-56d9-4fb6-93a8-7de4a455f776', 'ip_version': 4, 'cidr': '80.165.23.128/26', 'allocation_pools': [{'start': '80.165.23.130', 'end': '80.165.23.190'}], 'gateway_ip': '80.165.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.165.23.130', 'tags': [], 'project_id': '44827754c47949c189bc8a8c40647cde'}} 2025-01-07 11:40:13,831 - INFO - Created VN ctest-vn-70327650 2025-01-07 11:40:13,886 - DEBUG - VN ctest-vn-70327650 UUID is 2446e936-56d9-4fb6-93a8-7de4a455f776 2025-01-07 11:40:14,008 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-64197104, 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-20419292:ctest-vn-70327650, 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-01-07 11:40:14,323 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b3a9cf1-d97b-4536-803b-81addfe9534c', 'name': 'ctest-vn-64197104', 'tenant_id': '44827754c47949c189bc8a8c40647cde', 'project_id': '44827754c47949c189bc8a8c40647cde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1521d834-bffb-41d3-8fb4-2c1970d1b2ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20419292', 'ctest-vn-64197104'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20419292', 'ctest-policy-allow-all-05688946']], 'subnet_ipam': [{'subnet_cidr': '111.31.147.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:40:14,554 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2446e936-56d9-4fb6-93a8-7de4a455f776', 'name': 'ctest-vn-70327650', 'tenant_id': '44827754c47949c189bc8a8c40647cde', 'project_id': '44827754c47949c189bc8a8c40647cde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e4eaad02-39ad-41fa-94dc-7fec98270373'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20419292', 'ctest-vn-70327650'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20419292', 'ctest-policy-allow-all-05688946']], 'subnet_ipam': [{'subnet_cidr': '80.165.23.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:40:14,756 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-07 11:40:15,057 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-07 11:40:15,089 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9ecc609c-aa3f-4023-8357-292ed742202d 2025-01-07 11:40:15,104 - DEBUG - Requesting: http://10.0.0.37:8082/project/44827754-c479-49c1-89bc-8a8c40647cde 2025-01-07 11:40:15,195 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7b3a9cf1-d97b-4536-803b-81addfe9534c 2025-01-07 11:40:15,208 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7b3a9cf1-d97b-4536-803b-81addfe9534c 2025-01-07 11:40:15,218 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/4e8bd2e6-17e6-4c58-87d6-733e5bc3aa88 2025-01-07 11:40:15,227 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/4e8bd2e6-17e6-4c58-87d6-733e5bc3aa88 2025-01-07 11:40:15,235 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/d94f23e4-98e8-4af4-a309-111b80d6149e 2025-01-07 11:40:15,242 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 11:40:15,242 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7b3a9cf1-d97b-4536-803b-81addfe9534c 2025-01-07 11:40:15,252 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/4e8bd2e6-17e6-4c58-87d6-733e5bc3aa88 2025-01-07 11:40:15,267 - INFO - Verified VN network id 8 for VN 7b3a9cf1-d97b-4536-803b-81addfe9534c 2025-01-07 11:40:15,267 - INFO - Verifications in API Server for VN ctest-vn-64197104 passed 2025-01-07 11:40:15,267 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7b3a9cf1-d97b-4536-803b-81addfe9534c 2025-01-07 11:40:15,277 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/4e8bd2e6-17e6-4c58-87d6-733e5bc3aa88 2025-01-07 11:40:15,285 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/4e8bd2e6-17e6-4c58-87d6-733e5bc3aa88 2025-01-07 11:40:15,292 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/d94f23e4-98e8-4af4-a309-111b80d6149e 2025-01-07 11:40:15,306 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-64197104', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20419292', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8879582177864140086', 'uuid-lslong': '9240121644266640204'}, 'enable': 'true', 'created': '2025-01-07T11:40:12', 'last-modified': '2025-01-07T11:40:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016884'} 2025-01-07 11:40:15,315 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 11:40:15,315 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64197104 passed 2025-01-07 11:40:15,315 - DEBUG - ====Verifying policy data for ctest-vn-64197104 in API_Server ====== 2025-01-07 11:40:15,315 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-07 11:40:15,323 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9ecc609c-aa3f-4023-8357-292ed742202d 2025-01-07 11:40:15,335 - DEBUG - Requesting: http://10.0.0.37:8082/project/44827754-c479-49c1-89bc-8a8c40647cde 2025-01-07 11:40:15,411 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7b3a9cf1-d97b-4536-803b-81addfe9534c 2025-01-07 11:40:15,423 - DEBUG - ==>Verifying data for policy with id: bf351067-014c-423a-90f1-c3033013cec1, fqn: ['default-domain', 'ctest-TestBasicPolicy-20419292', 'ctest-policy-allow-all-05688946'] 2025-01-07 11:40:15,423 - INFO - VN ctest-vn-64197104 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 11:40:15,423 - DEBUG - Verifying the vn in opserver 2025-01-07 11:40:15,423 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-64197104 virtual network link through opserver 10.0.0.37 2025-01-07 11:40:15,424 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-01-07 11:40:15,722 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-01-07 11:40:15,778 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-64197104', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-64197104?flat'} 2025-01-07 11:40:15,778 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-64197104 is found in opserver 2025-01-07 11:40:15,791 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 11:40:15,796 - DEBUG - VRF ids for VN ctest-vn-64197104: {} 2025-01-07 11:40:15,796 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-07 11:40:15,803 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9ecc609c-aa3f-4023-8357-292ed742202d 2025-01-07 11:40:15,817 - DEBUG - Requesting: http://10.0.0.37:8082/project/44827754-c479-49c1-89bc-8a8c40647cde 2025-01-07 11:40:15,892 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2446e936-56d9-4fb6-93a8-7de4a455f776 2025-01-07 11:40:15,905 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2446e936-56d9-4fb6-93a8-7de4a455f776 2025-01-07 11:40:15,914 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/e6bfa989-e427-4dcd-883f-69ad35820e24 2025-01-07 11:40:15,922 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/e6bfa989-e427-4dcd-883f-69ad35820e24 2025-01-07 11:40:15,930 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/6ba80344-b559-4820-bb7e-e8c3c158f138 2025-01-07 11:40:15,937 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 11:40:15,937 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2446e936-56d9-4fb6-93a8-7de4a455f776 2025-01-07 11:40:15,947 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/e6bfa989-e427-4dcd-883f-69ad35820e24 2025-01-07 11:40:15,962 - INFO - Verified VN network id 9 for VN 2446e936-56d9-4fb6-93a8-7de4a455f776 2025-01-07 11:40:15,962 - INFO - Verifications in API Server for VN ctest-vn-70327650 passed 2025-01-07 11:40:15,963 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2446e936-56d9-4fb6-93a8-7de4a455f776 2025-01-07 11:40:15,975 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/e6bfa989-e427-4dcd-883f-69ad35820e24 2025-01-07 11:40:15,983 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/e6bfa989-e427-4dcd-883f-69ad35820e24 2025-01-07 11:40:15,991 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/6ba80344-b559-4820-bb7e-e8c3c158f138 2025-01-07 11:40:16,005 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-70327650', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20419292', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2614033053329739702', 'uuid-lslong': '10639892540625909622'}, 'enable': 'true', 'created': '2025-01-07T11:40:13', 'last-modified': '2025-01-07T11:40:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.472191'} 2025-01-07 11:40:16,011 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 11:40:16,011 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70327650 passed 2025-01-07 11:40:16,011 - DEBUG - ====Verifying policy data for ctest-vn-70327650 in API_Server ====== 2025-01-07 11:40:16,011 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-07 11:40:16,017 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9ecc609c-aa3f-4023-8357-292ed742202d 2025-01-07 11:40:16,033 - DEBUG - Requesting: http://10.0.0.37:8082/project/44827754-c479-49c1-89bc-8a8c40647cde 2025-01-07 11:40:16,107 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2446e936-56d9-4fb6-93a8-7de4a455f776 2025-01-07 11:40:16,118 - DEBUG - ==>Verifying data for policy with id: bf351067-014c-423a-90f1-c3033013cec1, fqn: ['default-domain', 'ctest-TestBasicPolicy-20419292', 'ctest-policy-allow-all-05688946'] 2025-01-07 11:40:16,118 - INFO - VN ctest-vn-70327650 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 11:40:16,118 - DEBUG - Verifying the vn in opserver 2025-01-07 11:40:16,118 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-70327650 virtual network link through opserver 10.0.0.37 2025-01-07 11:40:16,118 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-01-07 11:40:16,130 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-70327650', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-70327650?flat'} 2025-01-07 11:40:16,130 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-70327650 is found in opserver 2025-01-07 11:40:16,142 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 11:40:16,148 - DEBUG - VRF ids for VN ctest-vn-70327650: {} 2025-01-07 11:40:16,211 - DEBUG - Services list from nova: [, , ] 2025-01-07 11:40:17,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2548-1) 2025-01-07 11:40:18,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2548-1) 2025-01-07 11:40:18,589 - INFO - Waiting for VM ctest-TestBasicPolicy-20419292-51379115 to be up.. 2025-01-07 11:40:18,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 11:40:23,797 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:40:23,797 - INFO - VM name : ctest-TestBasicPolicy-20419292-51379115 2025-01-07 11:40:23,907 - DEBUG - VM ctest-TestBasicPolicy-20419292-51379115 ID is 88fa5239-fd3d-46b5-a380-199a92aa7799 2025-01-07 11:40:23,928 - DEBUG - VM ctest-TestBasicPolicy-20419292-51379115 launched on Node cn-jenkins-deploy-platform-ansible-os-2548-1 2025-01-07 11:40:24,014 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/88fa5239-fd3d-46b5-a380-199a92aa7799 2025-01-07 11:40:24,024 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/c8e2edb5-dda9-4862-bafb-ff597ff0684c 2025-01-07 11:40:27,275 - 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 1002ms') 2025-01-07 11:40:27,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20419292-51379115 failed! 2025-01-07 11:40:27,334 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20419292:ctest-vn-64197104 is 111.31.147.65 and allocation pool is NOT set 2025-01-07 11:40:29,399 - 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=6.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.573 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.573/3.730/6.888/3.157 ms') 2025-01-07 11:40:29,399 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20419292-51379115 passed 2025-01-07 11:40:29,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:40:29,558 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20419292-51379115, IP 111.31.147.67, Port 22 2025-01-07 11:40:29,713 - DEBUG - VM ctest-TestBasicPolicy-20419292-51379115 is ready for SSH connections 2025-01-07 11:40:29,713 - INFO - Waiting for VM ctest-TestBasicPolicy-20419292-26079720 to be up.. 2025-01-07 11:40:29,794 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:40:29,794 - INFO - VM name : ctest-TestBasicPolicy-20419292-26079720 2025-01-07 11:40:29,874 - DEBUG - VM ctest-TestBasicPolicy-20419292-26079720 ID is 42e163af-750c-4b53-bf44-81c12bad1db1 2025-01-07 11:40:29,874 - DEBUG - VM ctest-TestBasicPolicy-20419292-26079720 launched on Node cn-jenkins-deploy-platform-ansible-os-2548-1 2025-01-07 11:40:29,965 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/42e163af-750c-4b53-bf44-81c12bad1db1 2025-01-07 11:40:29,975 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/e94927cb-ca58-4c1a-ac20-5ec2582c049d 2025-01-07 11:40:31,214 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.524 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.524/1.835/3.146/1.311 ms') 2025-01-07 11:40:31,214 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20419292-26079720 passed 2025-01-07 11:40:31,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:40:31,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20419292-26079720, IP 80.165.23.131, Port 22 2025-01-07 11:40:31,533 - DEBUG - VM ctest-TestBasicPolicy-20419292-26079720 is ready for SSH connections 2025-01-07 11:40:31,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:40:31,534 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.165.23.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-01-07 11:40:31,534 - DEBUG - ping -s 56 -c 3 -W 1 80.165.23.131 2025-01-07 11:40:35,546 - DEBUG - PING 80.165.23.131 (80.165.23.131): 56 data bytes 64 bytes from 80.165.23.131: seq=0 ttl=63 time=3.727 ms 64 bytes from 80.165.23.131: seq=1 ttl=63 time=1.086 ms 64 bytes from 80.165.23.131: seq=2 ttl=63 time=0.992 ms --- 80.165.23.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.992/1.935/3.727 ms 2025-01-07 11:40:35,546 - INFO - Ping to IP 80.165.23.131 from VM ctest-TestBasicPolicy-20419292-51379115 passed 2025-01-07 11:40:35,738 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bf351067-014c-423a-90f1-c3033013cec1", "href": "http://10.0.0.37:8082/network-policy/bf351067-014c-423a-90f1-c3033013cec1"}} 2025-01-07 11:40:35,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:40:35,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.165.23.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-01-07 11:40:35,738 - DEBUG - ping -s 56 -c 3 -W 1 80.165.23.131 2025-01-07 11:40:38,958 - DEBUG - PING 80.165.23.131 (80.165.23.131): 56 data bytes 64 bytes from 80.165.23.131: seq=0 ttl=63 time=2.086 ms --- 80.165.23.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.086/2.086/2.086 ms 2025-01-07 11:40:38,958 - WARNING - Ping to IP 80.165.23.131 from VM ctest-TestBasicPolicy-20419292-51379115 failed 2025-01-07 11:40:38,958 - INFO - Deleting VM ctest-TestBasicPolicy-20419292-26079720 2025-01-07 11:40:39,030 - INFO - Deleting VM ctest-TestBasicPolicy-20419292-51379115 2025-01-07 11:40:39,442 - INFO - Deleted policy ctest-policy-allow-all-05688946 2025-01-07 11:40:39,442 - INFO - Deleting VN ctest-vn-70327650 2025-01-07 11:40:39,480 - DEBUG - VN 2446e936-56d9-4fb6-93a8-7de4a455f776 still in use: Unable to complete operation on network 2446e936-56d9-4fb6-93a8-7de4a455f776. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e9be05a4-a3ef-4f9d-94ec-d2fe157f0cfb'] 2025-01-07 11:40:39,480 - WARNING - Deleting VN ctest-vn-70327650 failed..Will retry 2025-01-07 11:40:41,603 - DEBUG - Response for deleting network () 2025-01-07 11:40:41,603 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/e6bfa989-e427-4dcd-883f-69ad35820e24 2025-01-07 11:40:41,608 - DEBUG - Response Code: 404 2025-01-07 11:40:41,609 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-07 11:40:41,617 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9ecc609c-aa3f-4023-8357-292ed742202d 2025-01-07 11:40:41,676 - DEBUG - Requesting: http://10.0.0.37:8082/project/44827754-c479-49c1-89bc-8a8c40647cde 2025-01-07 11:40:41,752 - INFO - Validated that VN ctest-vn-70327650 is not found in API Server 2025-01-07 11:40:41,764 - DEBUG - VN ctest-vn-70327650 is not present in Agent 10.0.0.37 2025-01-07 11:40:41,764 - INFO - Validated that VN ctest-vn-70327650 is not in any agent 2025-01-07 11:40:41,781 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70327650 info 2025-01-07 11:40:41,781 - INFO - Deleting VN ctest-vn-64197104 2025-01-07 11:40:41,886 - DEBUG - Response for deleting network () 2025-01-07 11:40:41,887 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/4e8bd2e6-17e6-4c58-87d6-733e5bc3aa88 2025-01-07 11:40:41,893 - DEBUG - Response Code: 404 2025-01-07 11:40:41,893 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-07 11:40:41,900 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9ecc609c-aa3f-4023-8357-292ed742202d 2025-01-07 11:40:41,960 - DEBUG - Requesting: http://10.0.0.37:8082/project/44827754-c479-49c1-89bc-8a8c40647cde 2025-01-07 11:40:42,040 - INFO - Validated that VN ctest-vn-64197104 is not found in API Server 2025-01-07 11:40:42,051 - DEBUG - VN ctest-vn-64197104 is not present in Agent 10.0.0.37 2025-01-07 11:40:42,051 - INFO - Validated that VN ctest-vn-64197104 is not in any agent 2025-01-07 11:40:42,070 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64197104 info 2025-01-07 11:40:42,332 - DEBUG - No XMPP flaps were noticed during the test 2025-01-07 11:40:42,332 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-07 11:40:42,333 - INFO - -------------------------------------------------------------------------------- 2025-01-07 11:40:42,998 - INFO - Deleted project: ctest-TestBasicPolicy-20419292, ID : 44827754-c479-49c1-89bc-8a8c40647cde