2025-01-13 16:07:13,758 - INFO - Domain Default found not creating 2025-01-13 16:07:13,924 - INFO - Project ctest-TestBasicPolicy-12138651 not found, creating it 2025-01-13 16:07:14,422 - INFO - Created Project:ctest-TestBasicPolicy-12138651, ID : 171a51de-17fb-49da-9534-18f99ab660aa 2025-01-13 16:07:15,974 - INFO - ================================================================================ 2025-01-13 16:07:15,974 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-13 16:07:15,974 - 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-13 16:07:16,239 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.29': '0'}} with 2025-01-13 16:07:16,239 - INFO - Initial checks done. Running the testcase now 2025-01-13 16:07:16,239 - INFO - 2025-01-13 16:07:16,817 - DEBUG - Response for create_network : {'network': {'id': '26491f32-0433-4e5a-b66d-efff184d8eae', 'name': 'ctest-vn-49937529', 'tenant_id': '171a51de17fb49da953418f99ab660aa', 'project_id': '171a51de17fb49da953418f99ab660aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12138651', 'ctest-vn-49937529'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 16:07:17,068 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d5c7d02-929f-478e-9f5a-e657c20d5d42', 'name': '', 'tenant_id': '171a51de17fb49da953418f99ab660aa', 'network_id': '26491f32-0433-4e5a-b66d-efff184d8eae', 'ip_version': 4, 'cidr': '29.141.141.192/26', 'allocation_pools': [{'start': '29.141.141.194', 'end': '29.141.141.254'}], 'gateway_ip': '29.141.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.141.141.194', 'tags': [], 'project_id': '171a51de17fb49da953418f99ab660aa'}} 2025-01-13 16:07:17,091 - INFO - Created VN ctest-vn-49937529 2025-01-13 16:07:17,144 - DEBUG - VN ctest-vn-49937529 UUID is 26491f32-0433-4e5a-b66d-efff184d8eae 2025-01-13 16:07:17,479 - DEBUG - Response for create_network : {'network': {'id': 'f1bb9ea4-6ee7-42e0-942c-0f0b0616c317', 'name': 'ctest-vn-52639849', 'tenant_id': '171a51de17fb49da953418f99ab660aa', 'project_id': '171a51de17fb49da953418f99ab660aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12138651', 'ctest-vn-52639849'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 16:07:17,658 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb31aa2b-db37-45c3-b90f-10db1b3d9e7d', 'name': '', 'tenant_id': '171a51de17fb49da953418f99ab660aa', 'network_id': 'f1bb9ea4-6ee7-42e0-942c-0f0b0616c317', 'ip_version': 4, 'cidr': '83.14.5.0/26', 'allocation_pools': [{'start': '83.14.5.2', 'end': '83.14.5.62'}], 'gateway_ip': '83.14.5.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.14.5.2', 'tags': [], 'project_id': '171a51de17fb49da953418f99ab660aa'}} 2025-01-13 16:07:17,678 - INFO - Created VN ctest-vn-52639849 2025-01-13 16:07:17,732 - DEBUG - VN ctest-vn-52639849 UUID is f1bb9ea4-6ee7-42e0-942c-0f0b0616c317 2025-01-13 16:07:17,861 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-49937529, 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-12138651:ctest-vn-52639849, 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-13 16:07:18,186 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '26491f32-0433-4e5a-b66d-efff184d8eae', 'name': 'ctest-vn-49937529', 'tenant_id': '171a51de17fb49da953418f99ab660aa', 'project_id': '171a51de17fb49da953418f99ab660aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d5c7d02-929f-478e-9f5a-e657c20d5d42'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12138651', 'ctest-vn-49937529'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12138651', 'ctest-policy-allow-all-71684522']], 'subnet_ipam': [{'subnet_cidr': '29.141.141.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 16:07:18,432 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1bb9ea4-6ee7-42e0-942c-0f0b0616c317', 'name': 'ctest-vn-52639849', 'tenant_id': '171a51de17fb49da953418f99ab660aa', 'project_id': '171a51de17fb49da953418f99ab660aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eb31aa2b-db37-45c3-b90f-10db1b3d9e7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12138651', 'ctest-vn-52639849'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12138651', 'ctest-policy-allow-all-71684522']], 'subnet_ipam': [{'subnet_cidr': '83.14.5.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 16:07:18,604 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-01-13 16:07:18,918 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-01-13 16:07:18,950 - DEBUG - Requesting: http://10.0.0.36:8082/domain/0e2bf825-cc41-4f4b-b114-58d7f89f3c4b 2025-01-13 16:07:18,966 - DEBUG - Requesting: http://10.0.0.36:8082/project/171a51de-17fb-49da-9534-18f99ab660aa 2025-01-13 16:07:19,051 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26491f32-0433-4e5a-b66d-efff184d8eae 2025-01-13 16:07:19,064 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26491f32-0433-4e5a-b66d-efff184d8eae 2025-01-13 16:07:19,074 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/9814d484-9234-4312-9080-eeac47949c2b 2025-01-13 16:07:19,083 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/9814d484-9234-4312-9080-eeac47949c2b 2025-01-13 16:07:19,096 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/f787efd0-d205-45cc-a34c-275a16b66b28 2025-01-13 16:07:19,107 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 16:07:19,108 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26491f32-0433-4e5a-b66d-efff184d8eae 2025-01-13 16:07:19,118 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/9814d484-9234-4312-9080-eeac47949c2b 2025-01-13 16:07:19,134 - INFO - Verified VN network id 8 for VN 26491f32-0433-4e5a-b66d-efff184d8eae 2025-01-13 16:07:19,134 - INFO - Verifications in API Server for VN ctest-vn-49937529 passed 2025-01-13 16:07:19,134 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26491f32-0433-4e5a-b66d-efff184d8eae 2025-01-13 16:07:19,146 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/9814d484-9234-4312-9080-eeac47949c2b 2025-01-13 16:07:19,155 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/9814d484-9234-4312-9080-eeac47949c2b 2025-01-13 16:07:19,164 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/f787efd0-d205-45cc-a34c-275a16b66b28 2025-01-13 16:07:19,177 - DEBUG - Control-node 10.0.0.36 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-49937529', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12138651', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2758770546420436570', 'uuid-lslong': '13145426766267780782'}, 'enable': 'true', 'created': '2025-01-13T16:07:16', 'last-modified': '2025-01-13T16:07:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014173'} 2025-01-13 16:07:19,185 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 16:07:19,185 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49937529 passed 2025-01-13 16:07:19,185 - DEBUG - ====Verifying policy data for ctest-vn-49937529 in API_Server ====== 2025-01-13 16:07:19,185 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-01-13 16:07:19,193 - DEBUG - Requesting: http://10.0.0.36:8082/domain/0e2bf825-cc41-4f4b-b114-58d7f89f3c4b 2025-01-13 16:07:19,208 - DEBUG - Requesting: http://10.0.0.36:8082/project/171a51de-17fb-49da-9534-18f99ab660aa 2025-01-13 16:07:19,291 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26491f32-0433-4e5a-b66d-efff184d8eae 2025-01-13 16:07:19,302 - DEBUG - ==>Verifying data for policy with id: 2a8d6d74-dd7f-4bad-8b0b-bbd3e4ca78e8, fqn: ['default-domain', 'ctest-TestBasicPolicy-12138651', 'ctest-policy-allow-all-71684522'] 2025-01-13 16:07:19,302 - INFO - VN ctest-vn-49937529 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 16:07:19,303 - DEBUG - Verifying the vn in opserver 2025-01-13 16:07:19,303 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-49937529 virtual network link through opserver 10.0.0.36 2025-01-13 16:07:19,303 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2025-01-13 16:07:19,601 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2025-01-13 16:07:19,665 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-49937529', 'href': 'http://10.0.0.36:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-49937529?flat'} 2025-01-13 16:07:19,665 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-49937529 is found in opserver 2025-01-13 16:07:19,678 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 16:07:19,684 - DEBUG - VRF ids for VN ctest-vn-49937529: {} 2025-01-13 16:07:19,684 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-01-13 16:07:19,691 - DEBUG - Requesting: http://10.0.0.36:8082/domain/0e2bf825-cc41-4f4b-b114-58d7f89f3c4b 2025-01-13 16:07:19,703 - DEBUG - Requesting: http://10.0.0.36:8082/project/171a51de-17fb-49da-9534-18f99ab660aa 2025-01-13 16:07:19,778 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/f1bb9ea4-6ee7-42e0-942c-0f0b0616c317 2025-01-13 16:07:19,791 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/f1bb9ea4-6ee7-42e0-942c-0f0b0616c317 2025-01-13 16:07:19,804 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/15fe7c08-730d-4ea5-9f6a-6f4ffa117dab 2025-01-13 16:07:19,814 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/15fe7c08-730d-4ea5-9f6a-6f4ffa117dab 2025-01-13 16:07:19,822 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/dbd126f2-d439-42e8-9872-bf489a96e4d4 2025-01-13 16:07:19,830 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 16:07:19,830 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/f1bb9ea4-6ee7-42e0-942c-0f0b0616c317 2025-01-13 16:07:19,843 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/15fe7c08-730d-4ea5-9f6a-6f4ffa117dab 2025-01-13 16:07:19,861 - INFO - Verified VN network id 9 for VN f1bb9ea4-6ee7-42e0-942c-0f0b0616c317 2025-01-13 16:07:19,861 - INFO - Verifications in API Server for VN ctest-vn-52639849 passed 2025-01-13 16:07:19,861 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/f1bb9ea4-6ee7-42e0-942c-0f0b0616c317 2025-01-13 16:07:19,873 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/15fe7c08-730d-4ea5-9f6a-6f4ffa117dab 2025-01-13 16:07:19,882 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/15fe7c08-730d-4ea5-9f6a-6f4ffa117dab 2025-01-13 16:07:19,893 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/dbd126f2-d439-42e8-9872-bf489a96e4d4 2025-01-13 16:07:19,909 - DEBUG - Control-node 10.0.0.36 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-52639849', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12138651', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17418690412858000096', 'uuid-lslong': '10676925356609815319'}, 'enable': 'true', 'created': '2025-01-13T16:07:17', 'last-modified': '2025-01-13T16:07:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.506875'} 2025-01-13 16:07:19,916 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 16:07:19,916 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52639849 passed 2025-01-13 16:07:19,916 - DEBUG - ====Verifying policy data for ctest-vn-52639849 in API_Server ====== 2025-01-13 16:07:19,917 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-01-13 16:07:19,923 - DEBUG - Requesting: http://10.0.0.36:8082/domain/0e2bf825-cc41-4f4b-b114-58d7f89f3c4b 2025-01-13 16:07:19,937 - DEBUG - Requesting: http://10.0.0.36:8082/project/171a51de-17fb-49da-9534-18f99ab660aa 2025-01-13 16:07:20,018 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/f1bb9ea4-6ee7-42e0-942c-0f0b0616c317 2025-01-13 16:07:20,031 - DEBUG - ==>Verifying data for policy with id: 2a8d6d74-dd7f-4bad-8b0b-bbd3e4ca78e8, fqn: ['default-domain', 'ctest-TestBasicPolicy-12138651', 'ctest-policy-allow-all-71684522'] 2025-01-13 16:07:20,031 - INFO - VN ctest-vn-52639849 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 16:07:20,031 - DEBUG - Verifying the vn in opserver 2025-01-13 16:07:20,031 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-52639849 virtual network link through opserver 10.0.0.36 2025-01-13 16:07:20,031 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2025-01-13 16:07:20,044 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-52639849', 'href': 'http://10.0.0.36:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-52639849?flat'} 2025-01-13 16:07:20,044 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-52639849 is found in opserver 2025-01-13 16:07:20,055 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 16:07:20,061 - DEBUG - VRF ids for VN ctest-vn-52639849: {} 2025-01-13 16:07:20,127 - DEBUG - Services list from nova: [, , ] 2025-01-13 16:07:21,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2613-1) 2025-01-13 16:07:22,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2613-1) 2025-01-13 16:07:22,519 - INFO - Waiting for VM ctest-TestBasicPolicy-12138651-14637738 to be up.. 2025-01-13 16:07:22,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 16:07:27,707 - DEBUG - VM is in ACTIVE state now 2025-01-13 16:07:27,707 - INFO - VM name : ctest-TestBasicPolicy-12138651-14637738 2025-01-13 16:07:27,798 - DEBUG - VM ctest-TestBasicPolicy-12138651-14637738 ID is b3f52f30-9d54-403b-8a80-a16412a0306a 2025-01-13 16:07:27,829 - DEBUG - VM ctest-TestBasicPolicy-12138651-14637738 launched on Node cn-jenkins-deploy-platform-ansible-os-2613-1 2025-01-13 16:07:27,925 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/b3f52f30-9d54-403b-8a80-a16412a0306a 2025-01-13 16:07:27,936 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/b54e29d8-baec-457f-9406-4b788132b801 2025-01-13 16:07:31,206 - 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 1013ms') 2025-01-13 16:07:31,207 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12138651-14637738 failed! 2025-01-13 16:07:31,264 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12138651:ctest-vn-49937529 is 29.141.141.193 and allocation pool is NOT set 2025-01-13 16:07:33,327 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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 = 2.608/4.954/7.301/2.346 ms') 2025-01-13 16:07:33,328 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12138651-14637738 passed 2025-01-13 16:07:33,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 16:07:33,480 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12138651-14637738, IP 29.141.141.195, Port 22 2025-01-13 16:07:33,639 - DEBUG - VM ctest-TestBasicPolicy-12138651-14637738 is ready for SSH connections 2025-01-13 16:07:33,640 - INFO - Waiting for VM ctest-TestBasicPolicy-12138651-46767283 to be up.. 2025-01-13 16:07:33,729 - DEBUG - VM is in ACTIVE state now 2025-01-13 16:07:33,730 - INFO - VM name : ctest-TestBasicPolicy-12138651-46767283 2025-01-13 16:07:33,813 - DEBUG - VM ctest-TestBasicPolicy-12138651-46767283 ID is 8985e5a6-c132-4ac8-9020-4b8c67b3cbb9 2025-01-13 16:07:33,813 - DEBUG - VM ctest-TestBasicPolicy-12138651-46767283 launched on Node cn-jenkins-deploy-platform-ansible-os-2613-1 2025-01-13 16:07:33,907 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/8985e5a6-c132-4ac8-9020-4b8c67b3cbb9 2025-01-13 16:07:33,917 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/350174bd-4b39-44fb-84fc-f53de7aef4e8 2025-01-13 16:07:35,172 - 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=4.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.897 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.897/2.630/4.363/1.733 ms') 2025-01-13 16:07:35,172 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12138651-46767283 passed 2025-01-13 16:07:35,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 16:07:35,328 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12138651-46767283, IP 83.14.5.3, Port 22 2025-01-13 16:07:35,488 - DEBUG - VM ctest-TestBasicPolicy-12138651-46767283 is ready for SSH connections 2025-01-13 16:07:35,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 16:07:35,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.14.5.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-01-13 16:07:35,488 - DEBUG - ping -s 56 -c 3 -W 1 83.14.5.3 2025-01-13 16:07:39,607 - DEBUG - PING 83.14.5.3 (83.14.5.3): 56 data bytes 64 bytes from 83.14.5.3: seq=0 ttl=63 time=4.075 ms 64 bytes from 83.14.5.3: seq=1 ttl=63 time=1.449 ms 64 bytes from 83.14.5.3: seq=2 ttl=63 time=1.219 ms --- 83.14.5.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.219/2.247/4.075 ms 2025-01-13 16:07:39,607 - INFO - Ping to IP 83.14.5.3 from VM ctest-TestBasicPolicy-12138651-14637738 passed 2025-01-13 16:07:39,800 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2a8d6d74-dd7f-4bad-8b0b-bbd3e4ca78e8", "href": "http://10.0.0.36:8082/network-policy/2a8d6d74-dd7f-4bad-8b0b-bbd3e4ca78e8"}} 2025-01-13 16:07:39,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 16:07:39,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.14.5.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-01-13 16:07:39,800 - DEBUG - ping -s 56 -c 3 -W 1 83.14.5.3 2025-01-13 16:07:43,037 - DEBUG - PING 83.14.5.3 (83.14.5.3): 56 data bytes 64 bytes from 83.14.5.3: seq=0 ttl=63 time=1.530 ms --- 83.14.5.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.530/1.530/1.530 ms 2025-01-13 16:07:43,037 - WARNING - Ping to IP 83.14.5.3 from VM ctest-TestBasicPolicy-12138651-14637738 failed 2025-01-13 16:07:43,037 - INFO - Deleting VM ctest-TestBasicPolicy-12138651-46767283 2025-01-13 16:07:43,113 - INFO - Deleting VM ctest-TestBasicPolicy-12138651-14637738 2025-01-13 16:07:43,555 - INFO - Deleted policy ctest-policy-allow-all-71684522 2025-01-13 16:07:43,555 - INFO - Deleting VN ctest-vn-52639849 2025-01-13 16:07:43,606 - DEBUG - VN f1bb9ea4-6ee7-42e0-942c-0f0b0616c317 still in use: Unable to complete operation on network f1bb9ea4-6ee7-42e0-942c-0f0b0616c317. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb91d9b6-4658-4bf1-850d-66d7ea3a33aa'] 2025-01-13 16:07:43,606 - WARNING - Deleting VN ctest-vn-52639849 failed..Will retry 2025-01-13 16:07:45,735 - DEBUG - Response for deleting network () 2025-01-13 16:07:45,736 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/15fe7c08-730d-4ea5-9f6a-6f4ffa117dab 2025-01-13 16:07:45,742 - DEBUG - Response Code: 404 2025-01-13 16:07:45,742 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-01-13 16:07:45,748 - DEBUG - Requesting: http://10.0.0.36:8082/domain/0e2bf825-cc41-4f4b-b114-58d7f89f3c4b 2025-01-13 16:07:45,802 - DEBUG - Requesting: http://10.0.0.36:8082/project/171a51de-17fb-49da-9534-18f99ab660aa 2025-01-13 16:07:45,876 - INFO - Validated that VN ctest-vn-52639849 is not found in API Server 2025-01-13 16:07:45,887 - DEBUG - VN ctest-vn-52639849 is not present in Agent 10.0.0.36 2025-01-13 16:07:45,887 - INFO - Validated that VN ctest-vn-52639849 is not in any agent 2025-01-13 16:07:45,906 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52639849 info 2025-01-13 16:07:45,907 - INFO - Deleting VN ctest-vn-49937529 2025-01-13 16:07:46,026 - DEBUG - Response for deleting network () 2025-01-13 16:07:46,026 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/9814d484-9234-4312-9080-eeac47949c2b 2025-01-13 16:07:46,032 - DEBUG - Response Code: 404 2025-01-13 16:07:46,032 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2025-01-13 16:07:46,038 - DEBUG - Requesting: http://10.0.0.36:8082/domain/0e2bf825-cc41-4f4b-b114-58d7f89f3c4b 2025-01-13 16:07:46,094 - DEBUG - Requesting: http://10.0.0.36:8082/project/171a51de-17fb-49da-9534-18f99ab660aa 2025-01-13 16:07:46,167 - INFO - Validated that VN ctest-vn-49937529 is not found in API Server 2025-01-13 16:07:46,179 - DEBUG - VN ctest-vn-49937529 is not present in Agent 10.0.0.36 2025-01-13 16:07:46,180 - INFO - Validated that VN ctest-vn-49937529 is not in any agent 2025-01-13 16:07:46,199 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49937529 info 2025-01-13 16:07:46,459 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 16:07:46,459 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-01-13 16:07:46,460 - INFO - -------------------------------------------------------------------------------- 2025-01-13 16:07:47,178 - INFO - Deleted project: ctest-TestBasicPolicy-12138651, ID : 171a51de-17fb-49da-9534-18f99ab660aa