2025-01-15 12:26:33,749 - INFO - Domain Default found not creating 2025-01-15 12:26:33,919 - INFO - Project ctest-TestBasicPolicy-89337344 not found, creating it 2025-01-15 12:26:34,378 - INFO - Created Project:ctest-TestBasicPolicy-89337344, ID : 5e641b02-5e75-4c97-ab94-514ed0d41ac2 2025-01-15 12:26:35,940 - INFO - ================================================================================ 2025-01-15 12:26:35,941 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-15 12:26:35,941 - 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-15 12:26:36,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.5': '0'}} with 2025-01-15 12:26:36,198 - INFO - Initial checks done. Running the testcase now 2025-01-15 12:26:36,198 - INFO - 2025-01-15 12:26:36,780 - DEBUG - Response for create_network : {'network': {'id': 'fd849ec6-6c92-4230-9c28-2fe7c1320966', 'name': 'ctest-vn-90481881', 'tenant_id': '5e641b025e754c97ab94514ed0d41ac2', 'project_id': '5e641b025e754c97ab94514ed0d41ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89337344', 'ctest-vn-90481881'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 12:26:36,978 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c5e1614-3890-4be1-98d7-4b085b1ad33a', 'name': '', 'tenant_id': '5e641b025e754c97ab94514ed0d41ac2', 'network_id': 'fd849ec6-6c92-4230-9c28-2fe7c1320966', 'ip_version': 4, 'cidr': '51.208.154.192/26', 'allocation_pools': [{'start': '51.208.154.194', 'end': '51.208.154.254'}], 'gateway_ip': '51.208.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.208.154.194', 'tags': [], 'project_id': '5e641b025e754c97ab94514ed0d41ac2'}} 2025-01-15 12:26:37,002 - INFO - Created VN ctest-vn-90481881 2025-01-15 12:26:37,055 - DEBUG - VN ctest-vn-90481881 UUID is fd849ec6-6c92-4230-9c28-2fe7c1320966 2025-01-15 12:26:37,364 - DEBUG - Response for create_network : {'network': {'id': '9a28c247-6da8-4917-a37e-e43545a5205c', 'name': 'ctest-vn-51103151', 'tenant_id': '5e641b025e754c97ab94514ed0d41ac2', 'project_id': '5e641b025e754c97ab94514ed0d41ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89337344', 'ctest-vn-51103151'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 12:26:37,539 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcac33a4-5bf9-4a54-9571-c9460b8eb5cc', 'name': '', 'tenant_id': '5e641b025e754c97ab94514ed0d41ac2', 'network_id': '9a28c247-6da8-4917-a37e-e43545a5205c', 'ip_version': 4, 'cidr': '24.221.65.192/26', 'allocation_pools': [{'start': '24.221.65.194', 'end': '24.221.65.254'}], 'gateway_ip': '24.221.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.221.65.194', 'tags': [], 'project_id': '5e641b025e754c97ab94514ed0d41ac2'}} 2025-01-15 12:26:37,562 - INFO - Created VN ctest-vn-51103151 2025-01-15 12:26:37,619 - DEBUG - VN ctest-vn-51103151 UUID is 9a28c247-6da8-4917-a37e-e43545a5205c 2025-01-15 12:26:37,740 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-90481881, 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-89337344:ctest-vn-51103151, 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-15 12:26:38,056 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd849ec6-6c92-4230-9c28-2fe7c1320966', 'name': 'ctest-vn-90481881', 'tenant_id': '5e641b025e754c97ab94514ed0d41ac2', 'project_id': '5e641b025e754c97ab94514ed0d41ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2c5e1614-3890-4be1-98d7-4b085b1ad33a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89337344', 'ctest-vn-90481881'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89337344', 'ctest-policy-allow-all-62387358']], 'subnet_ipam': [{'subnet_cidr': '51.208.154.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 12:26:38,294 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a28c247-6da8-4917-a37e-e43545a5205c', 'name': 'ctest-vn-51103151', 'tenant_id': '5e641b025e754c97ab94514ed0d41ac2', 'project_id': '5e641b025e754c97ab94514ed0d41ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fcac33a4-5bf9-4a54-9571-c9460b8eb5cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89337344', 'ctest-vn-51103151'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89337344', 'ctest-policy-allow-all-62387358']], 'subnet_ipam': [{'subnet_cidr': '24.221.65.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 12:26:38,448 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-15 12:26:38,754 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-15 12:26:38,791 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7cd7407f-8c06-49c6-aa52-fa0244444a3c 2025-01-15 12:26:38,805 - DEBUG - Requesting: http://10.0.0.37:8082/project/5e641b02-5e75-4c97-ab94-514ed0d41ac2 2025-01-15 12:26:38,884 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fd849ec6-6c92-4230-9c28-2fe7c1320966 2025-01-15 12:26:38,898 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fd849ec6-6c92-4230-9c28-2fe7c1320966 2025-01-15 12:26:38,909 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/57524cf0-c99c-45bf-b9f2-9480db59c75d 2025-01-15 12:26:38,918 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/57524cf0-c99c-45bf-b9f2-9480db59c75d 2025-01-15 12:26:38,928 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/305a579f-7c30-4bd1-8306-818dfb92d0cb 2025-01-15 12:26:38,937 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 12:26:38,937 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fd849ec6-6c92-4230-9c28-2fe7c1320966 2025-01-15 12:26:38,948 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/57524cf0-c99c-45bf-b9f2-9480db59c75d 2025-01-15 12:26:38,964 - INFO - Verified VN network id 8 for VN fd849ec6-6c92-4230-9c28-2fe7c1320966 2025-01-15 12:26:38,965 - INFO - Verifications in API Server for VN ctest-vn-90481881 passed 2025-01-15 12:26:38,965 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fd849ec6-6c92-4230-9c28-2fe7c1320966 2025-01-15 12:26:38,980 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/57524cf0-c99c-45bf-b9f2-9480db59c75d 2025-01-15 12:26:38,990 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/57524cf0-c99c-45bf-b9f2-9480db59c75d 2025-01-15 12:26:38,998 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/305a579f-7c30-4bd1-8306-818dfb92d0cb 2025-01-15 12:26:39,014 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-90481881', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89337344', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18267900563583812144', 'uuid-lslong': '11252296341410416998'}, 'enable': 'true', 'created': '2025-01-15T12:26:36', 'last-modified': '2025-01-15T12:26:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981634'} 2025-01-15 12:26:39,023 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 12:26:39,023 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90481881 passed 2025-01-15 12:26:39,023 - DEBUG - ====Verifying policy data for ctest-vn-90481881 in API_Server ====== 2025-01-15 12:26:39,023 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-15 12:26:39,030 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7cd7407f-8c06-49c6-aa52-fa0244444a3c 2025-01-15 12:26:39,044 - DEBUG - Requesting: http://10.0.0.37:8082/project/5e641b02-5e75-4c97-ab94-514ed0d41ac2 2025-01-15 12:26:39,122 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/fd849ec6-6c92-4230-9c28-2fe7c1320966 2025-01-15 12:26:39,134 - DEBUG - ==>Verifying data for policy with id: 83b6d6e4-b1ff-4ddb-b514-4f59807074dd, fqn: ['default-domain', 'ctest-TestBasicPolicy-89337344', 'ctest-policy-allow-all-62387358'] 2025-01-15 12:26:39,135 - INFO - VN ctest-vn-90481881 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 12:26:39,135 - DEBUG - Verifying the vn in opserver 2025-01-15 12:26:39,135 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-90481881 virtual network link through opserver 10.0.0.37 2025-01-15 12:26:39,135 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-01-15 12:26:39,435 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-01-15 12:26:39,504 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-90481881', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-90481881?flat'} 2025-01-15 12:26:39,504 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-90481881 is found in opserver 2025-01-15 12:26:39,515 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 12:26:39,521 - DEBUG - VRF ids for VN ctest-vn-90481881: {} 2025-01-15 12:26:39,521 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-15 12:26:39,528 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7cd7407f-8c06-49c6-aa52-fa0244444a3c 2025-01-15 12:26:39,545 - DEBUG - Requesting: http://10.0.0.37:8082/project/5e641b02-5e75-4c97-ab94-514ed0d41ac2 2025-01-15 12:26:39,623 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9a28c247-6da8-4917-a37e-e43545a5205c 2025-01-15 12:26:39,641 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9a28c247-6da8-4917-a37e-e43545a5205c 2025-01-15 12:26:39,652 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/ede359d7-9aff-48f6-9d49-1547b014a9c9 2025-01-15 12:26:39,661 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/ede359d7-9aff-48f6-9d49-1547b014a9c9 2025-01-15 12:26:39,670 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/f664b884-4691-44ba-9269-74aa2a7305d8 2025-01-15 12:26:39,677 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 12:26:39,678 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9a28c247-6da8-4917-a37e-e43545a5205c 2025-01-15 12:26:39,693 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/ede359d7-9aff-48f6-9d49-1547b014a9c9 2025-01-15 12:26:39,711 - INFO - Verified VN network id 9 for VN 9a28c247-6da8-4917-a37e-e43545a5205c 2025-01-15 12:26:39,711 - INFO - Verifications in API Server for VN ctest-vn-51103151 passed 2025-01-15 12:26:39,712 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9a28c247-6da8-4917-a37e-e43545a5205c 2025-01-15 12:26:39,722 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/ede359d7-9aff-48f6-9d49-1547b014a9c9 2025-01-15 12:26:39,730 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/ede359d7-9aff-48f6-9d49-1547b014a9c9 2025-01-15 12:26:39,740 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/f664b884-4691-44ba-9269-74aa2a7305d8 2025-01-15 12:26:39,757 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-51103151', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89337344', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11108342092947540247', 'uuid-lslong': '11781104592700645468'}, 'enable': 'true', 'created': '2025-01-15T12:26:37', 'last-modified': '2025-01-15T12:26:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488041'} 2025-01-15 12:26:39,766 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 12:26:39,766 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51103151 passed 2025-01-15 12:26:39,766 - DEBUG - ====Verifying policy data for ctest-vn-51103151 in API_Server ====== 2025-01-15 12:26:39,766 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-15 12:26:39,774 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7cd7407f-8c06-49c6-aa52-fa0244444a3c 2025-01-15 12:26:39,790 - DEBUG - Requesting: http://10.0.0.37:8082/project/5e641b02-5e75-4c97-ab94-514ed0d41ac2 2025-01-15 12:26:39,867 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9a28c247-6da8-4917-a37e-e43545a5205c 2025-01-15 12:26:39,883 - DEBUG - ==>Verifying data for policy with id: 83b6d6e4-b1ff-4ddb-b514-4f59807074dd, fqn: ['default-domain', 'ctest-TestBasicPolicy-89337344', 'ctest-policy-allow-all-62387358'] 2025-01-15 12:26:39,883 - INFO - VN ctest-vn-51103151 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 12:26:39,883 - DEBUG - Verifying the vn in opserver 2025-01-15 12:26:39,883 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-51103151 virtual network link through opserver 10.0.0.37 2025-01-15 12:26:39,883 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-01-15 12:26:39,897 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-51103151', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-51103151?flat'} 2025-01-15 12:26:39,897 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-51103151 is found in opserver 2025-01-15 12:26:39,912 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 12:26:39,918 - DEBUG - VRF ids for VN ctest-vn-51103151: {} 2025-01-15 12:26:39,981 - DEBUG - Services list from nova: [, , ] 2025-01-15 12:26:41,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2638-1) 2025-01-15 12:26:42,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2638-1) 2025-01-15 12:26:42,365 - INFO - Waiting for VM ctest-TestBasicPolicy-89337344-48323682 to be up.. 2025-01-15 12:26:42,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 12:26:47,549 - DEBUG - VM is in ACTIVE state now 2025-01-15 12:26:47,549 - INFO - VM name : ctest-TestBasicPolicy-89337344-48323682 2025-01-15 12:26:47,632 - DEBUG - VM ctest-TestBasicPolicy-89337344-48323682 ID is 05badaf7-246f-4a4b-8e7d-ee1864565aa1 2025-01-15 12:26:47,657 - DEBUG - VM ctest-TestBasicPolicy-89337344-48323682 launched on Node cn-jenkins-deploy-platform-ansible-os-2638-1 2025-01-15 12:26:47,750 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/05badaf7-246f-4a4b-8e7d-ee1864565aa1 2025-01-15 12:26:47,760 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/c4513002-c12c-421d-9444-f0cf03ec1015 2025-01-15 12:26:51,043 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-01-15 12:26:51,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89337344-48323682 failed! 2025-01-15 12:26:51,103 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89337344:ctest-vn-90481881 is 51.208.154.193 and allocation pool is NOT set 2025-01-15 12:26:53,167 - 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=7.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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.403/4.023/7.643/3.620 ms') 2025-01-15 12:26:53,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89337344-48323682 passed 2025-01-15 12:26:53,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 12:26:53,324 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89337344-48323682, IP 51.208.154.195, Port 22 2025-01-15 12:26:53,489 - DEBUG - VM ctest-TestBasicPolicy-89337344-48323682 is ready for SSH connections 2025-01-15 12:26:53,489 - INFO - Waiting for VM ctest-TestBasicPolicy-89337344-97319040 to be up.. 2025-01-15 12:26:53,578 - DEBUG - VM is in ACTIVE state now 2025-01-15 12:26:53,578 - INFO - VM name : ctest-TestBasicPolicy-89337344-97319040 2025-01-15 12:26:53,669 - DEBUG - VM ctest-TestBasicPolicy-89337344-97319040 ID is 297d1a70-2006-4deb-bb9c-ed0b5b2d97ea 2025-01-15 12:26:53,669 - DEBUG - VM ctest-TestBasicPolicy-89337344-97319040 launched on Node cn-jenkins-deploy-platform-ansible-os-2638-1 2025-01-15 12:26:53,754 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/297d1a70-2006-4deb-bb9c-ed0b5b2d97ea 2025-01-15 12:26:53,765 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/3b25d6c6-28a5-47ab-835f-7e857082ff0e 2025-01-15 12:26:55,016 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.877 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.877/2.406/3.936/1.529 ms') 2025-01-15 12:26:55,016 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89337344-97319040 passed 2025-01-15 12:26:55,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 12:26:55,179 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89337344-97319040, IP 24.221.65.195, Port 22 2025-01-15 12:26:55,339 - DEBUG - VM ctest-TestBasicPolicy-89337344-97319040 is ready for SSH connections 2025-01-15 12:26:55,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 12:26:55,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.221.65.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-01-15 12:26:55,339 - DEBUG - ping -s 56 -c 3 -W 1 24.221.65.195 2025-01-15 12:26:59,051 - DEBUG - PING 24.221.65.195 (24.221.65.195): 56 data bytes 64 bytes from 24.221.65.195: seq=0 ttl=63 time=4.183 ms 64 bytes from 24.221.65.195: seq=1 ttl=63 time=0.874 ms 64 bytes from 24.221.65.195: seq=2 ttl=63 time=0.897 ms --- 24.221.65.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/1.984/4.183 ms 2025-01-15 12:26:59,052 - INFO - Ping to IP 24.221.65.195 from VM ctest-TestBasicPolicy-89337344-48323682 passed 2025-01-15 12:26:59,231 - DEBUG - Policy Update Response {"network-policy": {"uuid": "83b6d6e4-b1ff-4ddb-b514-4f59807074dd", "href": "http://10.0.0.37:8082/network-policy/83b6d6e4-b1ff-4ddb-b514-4f59807074dd"}} 2025-01-15 12:26:59,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 12:26:59,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.221.65.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-01-15 12:26:59,231 - DEBUG - ping -s 56 -c 3 -W 1 24.221.65.195 2025-01-15 12:27:02,449 - DEBUG - PING 24.221.65.195 (24.221.65.195): 56 data bytes 64 bytes from 24.221.65.195: seq=0 ttl=63 time=1.596 ms --- 24.221.65.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.596/1.596/1.596 ms 2025-01-15 12:27:02,449 - WARNING - Ping to IP 24.221.65.195 from VM ctest-TestBasicPolicy-89337344-48323682 failed 2025-01-15 12:27:02,449 - INFO - Deleting VM ctest-TestBasicPolicy-89337344-97319040 2025-01-15 12:27:02,535 - INFO - Deleting VM ctest-TestBasicPolicy-89337344-48323682 2025-01-15 12:27:02,978 - INFO - Deleted policy ctest-policy-allow-all-62387358 2025-01-15 12:27:02,978 - INFO - Deleting VN ctest-vn-51103151 2025-01-15 12:27:03,046 - DEBUG - VN 9a28c247-6da8-4917-a37e-e43545a5205c still in use: Unable to complete operation on network 9a28c247-6da8-4917-a37e-e43545a5205c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34c67d91-2ed7-4779-a3f9-203ce59dcbbe'] 2025-01-15 12:27:03,046 - WARNING - Deleting VN ctest-vn-51103151 failed..Will retry 2025-01-15 12:27:05,159 - DEBUG - Response for deleting network () 2025-01-15 12:27:05,159 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/ede359d7-9aff-48f6-9d49-1547b014a9c9 2025-01-15 12:27:05,167 - DEBUG - Response Code: 404 2025-01-15 12:27:05,167 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-15 12:27:05,174 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7cd7407f-8c06-49c6-aa52-fa0244444a3c 2025-01-15 12:27:05,234 - DEBUG - Requesting: http://10.0.0.37:8082/project/5e641b02-5e75-4c97-ab94-514ed0d41ac2 2025-01-15 12:27:05,308 - INFO - Validated that VN ctest-vn-51103151 is not found in API Server 2025-01-15 12:27:05,320 - DEBUG - VN ctest-vn-51103151 is not present in Agent 10.0.0.37 2025-01-15 12:27:05,320 - INFO - Validated that VN ctest-vn-51103151 is not in any agent 2025-01-15 12:27:05,339 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51103151 info 2025-01-15 12:27:05,339 - INFO - Deleting VN ctest-vn-90481881 2025-01-15 12:27:05,459 - DEBUG - Response for deleting network () 2025-01-15 12:27:05,459 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/57524cf0-c99c-45bf-b9f2-9480db59c75d 2025-01-15 12:27:05,468 - DEBUG - Response Code: 404 2025-01-15 12:27:05,468 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-01-15 12:27:05,475 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7cd7407f-8c06-49c6-aa52-fa0244444a3c 2025-01-15 12:27:05,530 - DEBUG - Requesting: http://10.0.0.37:8082/project/5e641b02-5e75-4c97-ab94-514ed0d41ac2 2025-01-15 12:27:05,603 - INFO - Validated that VN ctest-vn-90481881 is not found in API Server 2025-01-15 12:27:05,614 - DEBUG - VN ctest-vn-90481881 is not present in Agent 10.0.0.37 2025-01-15 12:27:05,614 - INFO - Validated that VN ctest-vn-90481881 is not in any agent 2025-01-15 12:27:05,631 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90481881 info 2025-01-15 12:27:05,886 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 12:27:05,886 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-15 12:27:05,887 - INFO - -------------------------------------------------------------------------------- 2025-01-15 12:27:06,591 - INFO - Deleted project: ctest-TestBasicPolicy-89337344, ID : 5e641b02-5e75-4c97-ab94-514ed0d41ac2