2025-02-03 02:24:26,257 - INFO - Domain Default found not creating 2025-02-03 02:24:26,403 - INFO - Project ctest-TestBasicPolicy-29013956 not found, creating it 2025-02-03 02:24:26,883 - INFO - Created Project:ctest-TestBasicPolicy-29013956, ID : 3fc64208-6261-4fb8-af4c-469b1b5deb20 2025-02-03 02:24:28,324 - INFO - ================================================================================ 2025-02-03 02:24:28,324 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-03 02:24:28,324 - 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-03 02:24:28,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.20': '0'}} with 2025-02-03 02:24:28,582 - INFO - Initial checks done. Running the testcase now 2025-02-03 02:24:28,582 - INFO - 2025-02-03 02:24:29,125 - DEBUG - Response for create_network : {'network': {'id': 'faf31338-553b-49b2-b7d0-86726b4c7934', 'name': 'ctest-vn-41318491', 'tenant_id': '3fc6420862614fb8af4c469b1b5deb20', 'project_id': '3fc6420862614fb8af4c469b1b5deb20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29013956', 'ctest-vn-41318491'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 02:24:29,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '23c8de99-ea26-4cfa-8171-54867ef8b45a', 'name': '', 'tenant_id': '3fc6420862614fb8af4c469b1b5deb20', 'network_id': 'faf31338-553b-49b2-b7d0-86726b4c7934', 'ip_version': 4, 'cidr': '37.236.133.192/26', 'allocation_pools': [{'start': '37.236.133.194', 'end': '37.236.133.254'}], 'gateway_ip': '37.236.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.236.133.194', 'tags': [], 'project_id': '3fc6420862614fb8af4c469b1b5deb20'}} 2025-02-03 02:24:29,320 - INFO - Created VN ctest-vn-41318491 2025-02-03 02:24:29,374 - DEBUG - VN ctest-vn-41318491 UUID is faf31338-553b-49b2-b7d0-86726b4c7934 2025-02-03 02:24:29,699 - DEBUG - Response for create_network : {'network': {'id': 'f0fce538-8790-42c7-9291-b2e3cef222b7', 'name': 'ctest-vn-46234252', 'tenant_id': '3fc6420862614fb8af4c469b1b5deb20', 'project_id': '3fc6420862614fb8af4c469b1b5deb20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29013956', 'ctest-vn-46234252'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 02:24:29,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '51975310-6586-4949-a0a1-b36d18d15718', 'name': '', 'tenant_id': '3fc6420862614fb8af4c469b1b5deb20', 'network_id': 'f0fce538-8790-42c7-9291-b2e3cef222b7', 'ip_version': 4, 'cidr': '47.18.95.64/26', 'allocation_pools': [{'start': '47.18.95.66', 'end': '47.18.95.126'}], 'gateway_ip': '47.18.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.18.95.66', 'tags': [], 'project_id': '3fc6420862614fb8af4c469b1b5deb20'}} 2025-02-03 02:24:29,934 - INFO - Created VN ctest-vn-46234252 2025-02-03 02:24:29,990 - DEBUG - VN ctest-vn-46234252 UUID is f0fce538-8790-42c7-9291-b2e3cef222b7 2025-02-03 02:24:30,104 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-41318491, 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-29013956:ctest-vn-46234252, 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-03 02:24:30,428 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'faf31338-553b-49b2-b7d0-86726b4c7934', 'name': 'ctest-vn-41318491', 'tenant_id': '3fc6420862614fb8af4c469b1b5deb20', 'project_id': '3fc6420862614fb8af4c469b1b5deb20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['23c8de99-ea26-4cfa-8171-54867ef8b45a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29013956', 'ctest-vn-41318491'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29013956', 'ctest-policy-allow-all-56491457']], 'subnet_ipam': [{'subnet_cidr': '37.236.133.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 02:24:30,671 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0fce538-8790-42c7-9291-b2e3cef222b7', 'name': 'ctest-vn-46234252', 'tenant_id': '3fc6420862614fb8af4c469b1b5deb20', 'project_id': '3fc6420862614fb8af4c469b1b5deb20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51975310-6586-4949-a0a1-b36d18d15718'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29013956', 'ctest-vn-46234252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29013956', 'ctest-policy-allow-all-56491457']], 'subnet_ipam': [{'subnet_cidr': '47.18.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 02:24:30,830 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-03 02:24:31,126 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-03 02:24:31,153 - DEBUG - Requesting: http://10.0.0.23:8082/domain/89679f7f-ad37-4962-a279-4af0881643f9 2025-02-03 02:24:31,169 - DEBUG - Requesting: http://10.0.0.23:8082/project/3fc64208-6261-4fb8-af4c-469b1b5deb20 2025-02-03 02:24:31,244 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/faf31338-553b-49b2-b7d0-86726b4c7934 2025-02-03 02:24:31,258 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/faf31338-553b-49b2-b7d0-86726b4c7934 2025-02-03 02:24:31,268 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa1a4391-b9bb-4fc6-8d14-675907662cbd 2025-02-03 02:24:31,276 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa1a4391-b9bb-4fc6-8d14-675907662cbd 2025-02-03 02:24:31,283 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/76f5d84f-6b48-4bf6-9d64-f9604f1204d5 2025-02-03 02:24:31,289 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 02:24:31,289 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/faf31338-553b-49b2-b7d0-86726b4c7934 2025-02-03 02:24:31,299 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa1a4391-b9bb-4fc6-8d14-675907662cbd 2025-02-03 02:24:31,313 - INFO - Verified VN network id 7 for VN faf31338-553b-49b2-b7d0-86726b4c7934 2025-02-03 02:24:31,313 - INFO - Verifications in API Server for VN ctest-vn-41318491 passed 2025-02-03 02:24:31,313 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/faf31338-553b-49b2-b7d0-86726b4c7934 2025-02-03 02:24:31,322 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa1a4391-b9bb-4fc6-8d14-675907662cbd 2025-02-03 02:24:31,329 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa1a4391-b9bb-4fc6-8d14-675907662cbd 2025-02-03 02:24:31,337 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/76f5d84f-6b48-4bf6-9d64-f9604f1204d5 2025-02-03 02:24:31,351 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-41318491', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29013956', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18082818061491718578', 'uuid-lslong': '13245234330081196340'}, 'enable': 'true', 'created': '2025-02-03T02:24:29', 'last-modified': '2025-02-03T02:24:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964055'} 2025-02-03 02:24:31,359 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 02:24:31,359 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41318491 passed 2025-02-03 02:24:31,359 - DEBUG - ====Verifying policy data for ctest-vn-41318491 in API_Server ====== 2025-02-03 02:24:31,359 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-03 02:24:31,366 - DEBUG - Requesting: http://10.0.0.23:8082/domain/89679f7f-ad37-4962-a279-4af0881643f9 2025-02-03 02:24:31,381 - DEBUG - Requesting: http://10.0.0.23:8082/project/3fc64208-6261-4fb8-af4c-469b1b5deb20 2025-02-03 02:24:31,459 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/faf31338-553b-49b2-b7d0-86726b4c7934 2025-02-03 02:24:31,469 - DEBUG - ==>Verifying data for policy with id: ac966ebd-31c9-4320-b270-0c4efb951b83, fqn: ['default-domain', 'ctest-TestBasicPolicy-29013956', 'ctest-policy-allow-all-56491457'] 2025-02-03 02:24:31,469 - INFO - VN ctest-vn-41318491 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 02:24:31,470 - DEBUG - Verifying the vn in opserver 2025-02-03 02:24:31,470 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-41318491 virtual network link through opserver 10.0.0.23 2025-02-03 02:24:31,470 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-02-03 02:24:31,761 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-02-03 02:24:31,817 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-41318491', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-41318491?flat'} 2025-02-03 02:24:31,818 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-41318491 is found in opserver 2025-02-03 02:24:31,828 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 02:24:31,834 - DEBUG - VRF ids for VN ctest-vn-41318491: {} 2025-02-03 02:24:31,834 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-03 02:24:31,840 - DEBUG - Requesting: http://10.0.0.23:8082/domain/89679f7f-ad37-4962-a279-4af0881643f9 2025-02-03 02:24:31,852 - DEBUG - Requesting: http://10.0.0.23:8082/project/3fc64208-6261-4fb8-af4c-469b1b5deb20 2025-02-03 02:24:31,927 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0fce538-8790-42c7-9291-b2e3cef222b7 2025-02-03 02:24:31,939 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0fce538-8790-42c7-9291-b2e3cef222b7 2025-02-03 02:24:31,949 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3e33222f-693a-4f77-a8a9-96f6d9e83a72 2025-02-03 02:24:31,955 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3e33222f-693a-4f77-a8a9-96f6d9e83a72 2025-02-03 02:24:31,962 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/de7b69f5-f7d1-44d8-9a61-1aa26bdc8ba3 2025-02-03 02:24:31,968 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 02:24:31,968 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0fce538-8790-42c7-9291-b2e3cef222b7 2025-02-03 02:24:31,977 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3e33222f-693a-4f77-a8a9-96f6d9e83a72 2025-02-03 02:24:31,993 - INFO - Verified VN network id 8 for VN f0fce538-8790-42c7-9291-b2e3cef222b7 2025-02-03 02:24:31,993 - INFO - Verifications in API Server for VN ctest-vn-46234252 passed 2025-02-03 02:24:31,993 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0fce538-8790-42c7-9291-b2e3cef222b7 2025-02-03 02:24:32,004 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3e33222f-693a-4f77-a8a9-96f6d9e83a72 2025-02-03 02:24:32,012 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3e33222f-693a-4f77-a8a9-96f6d9e83a72 2025-02-03 02:24:32,020 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/de7b69f5-f7d1-44d8-9a61-1aa26bdc8ba3 2025-02-03 02:24:32,033 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-46234252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29013956', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17365006294189097671', 'uuid-lslong': '10561419292659819191'}, 'enable': 'true', 'created': '2025-02-03T02:24:29', 'last-modified': '2025-02-03T02:24:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399045'} 2025-02-03 02:24:32,040 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 02:24:32,040 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46234252 passed 2025-02-03 02:24:32,040 - DEBUG - ====Verifying policy data for ctest-vn-46234252 in API_Server ====== 2025-02-03 02:24:32,040 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-03 02:24:32,047 - DEBUG - Requesting: http://10.0.0.23:8082/domain/89679f7f-ad37-4962-a279-4af0881643f9 2025-02-03 02:24:32,059 - DEBUG - Requesting: http://10.0.0.23:8082/project/3fc64208-6261-4fb8-af4c-469b1b5deb20 2025-02-03 02:24:32,136 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0fce538-8790-42c7-9291-b2e3cef222b7 2025-02-03 02:24:32,146 - DEBUG - ==>Verifying data for policy with id: ac966ebd-31c9-4320-b270-0c4efb951b83, fqn: ['default-domain', 'ctest-TestBasicPolicy-29013956', 'ctest-policy-allow-all-56491457'] 2025-02-03 02:24:32,146 - INFO - VN ctest-vn-46234252 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 02:24:32,146 - DEBUG - Verifying the vn in opserver 2025-02-03 02:24:32,146 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-46234252 virtual network link through opserver 10.0.0.23 2025-02-03 02:24:32,146 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-02-03 02:24:32,158 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-46234252', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-46234252?flat'} 2025-02-03 02:24:32,158 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-46234252 is found in opserver 2025-02-03 02:24:32,172 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 02:24:32,178 - DEBUG - VRF ids for VN ctest-vn-46234252: {} 2025-02-03 02:24:32,241 - DEBUG - Services list from nova: [, , ] 2025-02-03 02:24:33,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2675-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2675-1) 2025-02-03 02:24:34,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2675-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2675-1) 2025-02-03 02:24:34,537 - INFO - Waiting for VM ctest-TestBasicPolicy-29013956-07975838 to be up.. 2025-02-03 02:24:34,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 02:24:39,695 - DEBUG - VM is in ACTIVE state now 2025-02-03 02:24:39,695 - INFO - VM name : ctest-TestBasicPolicy-29013956-07975838 2025-02-03 02:24:39,770 - DEBUG - VM ctest-TestBasicPolicy-29013956-07975838 ID is 46f917b6-00ca-4761-9246-cd285efcfaed 2025-02-03 02:24:39,788 - DEBUG - VM ctest-TestBasicPolicy-29013956-07975838 launched on Node cn-jenkins-deploy-platform-ansible-os-2675-1 2025-02-03 02:24:39,862 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/46f917b6-00ca-4761-9246-cd285efcfaed 2025-02-03 02:24:39,871 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d85b0675-b039-440d-9ef1-88ecb5eb059b 2025-02-03 02:24:43,303 - 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 1007ms') 2025-02-03 02:24:43,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29013956-07975838 failed! 2025-02-03 02:24:43,366 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29013956:ctest-vn-41318491 is 37.236.133.193 and allocation pool is NOT set 2025-02-03 02:24:45,428 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.321 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.321/1.840/3.360/1.519 ms') 2025-02-03 02:24:45,428 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29013956-07975838 passed 2025-02-03 02:24:45,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 02:24:45,582 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29013956-07975838, IP 37.236.133.195, Port 22 2025-02-03 02:24:45,739 - DEBUG - VM ctest-TestBasicPolicy-29013956-07975838 is ready for SSH connections 2025-02-03 02:24:45,739 - INFO - Waiting for VM ctest-TestBasicPolicy-29013956-95915065 to be up.. 2025-02-03 02:24:45,817 - DEBUG - VM is in ACTIVE state now 2025-02-03 02:24:45,817 - INFO - VM name : ctest-TestBasicPolicy-29013956-95915065 2025-02-03 02:24:45,891 - DEBUG - VM ctest-TestBasicPolicy-29013956-95915065 ID is 4d5e7697-a80f-4bb8-9a9a-4507529e07b6 2025-02-03 02:24:45,892 - DEBUG - VM ctest-TestBasicPolicy-29013956-95915065 launched on Node cn-jenkins-deploy-platform-ansible-os-2675-1 2025-02-03 02:24:45,962 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4d5e7697-a80f-4bb8-9a9a-4507529e07b6 2025-02-03 02:24:45,970 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b6d2c91f-9022-4560-884d-d1e58711cff5 2025-02-03 02:24:47,213 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.383/1.569/2.756/1.186 ms') 2025-02-03 02:24:47,213 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29013956-95915065 passed 2025-02-03 02:24:47,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 02:24:47,366 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29013956-95915065, IP 47.18.95.67, Port 22 2025-02-03 02:24:47,526 - DEBUG - VM ctest-TestBasicPolicy-29013956-95915065 is ready for SSH connections 2025-02-03 02:24:47,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 02:24:47,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.18.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-02-03 02:24:47,526 - DEBUG - ping -s 56 -c 3 -W 1 47.18.95.67 2025-02-03 02:24:51,219 - DEBUG - PING 47.18.95.67 (47.18.95.67): 56 data bytes 64 bytes from 47.18.95.67: seq=0 ttl=63 time=4.740 ms 64 bytes from 47.18.95.67: seq=1 ttl=63 time=0.813 ms 64 bytes from 47.18.95.67: seq=2 ttl=63 time=1.000 ms --- 47.18.95.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/2.184/4.740 ms 2025-02-03 02:24:51,219 - INFO - Ping to IP 47.18.95.67 from VM ctest-TestBasicPolicy-29013956-07975838 passed 2025-02-03 02:24:51,410 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ac966ebd-31c9-4320-b270-0c4efb951b83", "href": "http://10.0.0.23:8082/network-policy/ac966ebd-31c9-4320-b270-0c4efb951b83"}} 2025-02-03 02:24:51,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 02:24:51,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.18.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-02-03 02:24:51,410 - DEBUG - ping -s 56 -c 3 -W 1 47.18.95.67 2025-02-03 02:24:54,615 - DEBUG - PING 47.18.95.67 (47.18.95.67): 56 data bytes --- 47.18.95.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-03 02:24:54,616 - WARNING - Ping to IP 47.18.95.67 from VM ctest-TestBasicPolicy-29013956-07975838 failed 2025-02-03 02:24:54,616 - INFO - Deleting VM ctest-TestBasicPolicy-29013956-95915065 2025-02-03 02:24:54,686 - INFO - Deleting VM ctest-TestBasicPolicy-29013956-07975838 2025-02-03 02:24:55,070 - INFO - Deleted policy ctest-policy-allow-all-56491457 2025-02-03 02:24:55,070 - INFO - Deleting VN ctest-vn-46234252 2025-02-03 02:24:55,108 - DEBUG - VN f0fce538-8790-42c7-9291-b2e3cef222b7 still in use: Unable to complete operation on network f0fce538-8790-42c7-9291-b2e3cef222b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27875942-648b-4022-bb40-2c723dd99c5c'] 2025-02-03 02:24:55,108 - WARNING - Deleting VN ctest-vn-46234252 failed..Will retry 2025-02-03 02:24:57,222 - DEBUG - Response for deleting network () 2025-02-03 02:24:57,223 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3e33222f-693a-4f77-a8a9-96f6d9e83a72 2025-02-03 02:24:57,235 - DEBUG - Response Code: 404 2025-02-03 02:24:57,235 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-03 02:24:57,241 - DEBUG - Requesting: http://10.0.0.23:8082/domain/89679f7f-ad37-4962-a279-4af0881643f9 2025-02-03 02:24:57,301 - DEBUG - Requesting: http://10.0.0.23:8082/project/3fc64208-6261-4fb8-af4c-469b1b5deb20 2025-02-03 02:24:57,379 - INFO - Validated that VN ctest-vn-46234252 is not found in API Server 2025-02-03 02:24:57,390 - DEBUG - VN ctest-vn-46234252 is not present in Agent 10.0.0.23 2025-02-03 02:24:57,390 - INFO - Validated that VN ctest-vn-46234252 is not in any agent 2025-02-03 02:24:57,409 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46234252 info 2025-02-03 02:24:57,409 - INFO - Deleting VN ctest-vn-41318491 2025-02-03 02:24:57,511 - DEBUG - Response for deleting network () 2025-02-03 02:24:57,511 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa1a4391-b9bb-4fc6-8d14-675907662cbd 2025-02-03 02:24:57,518 - DEBUG - Response Code: 404 2025-02-03 02:24:57,518 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-03 02:24:57,529 - DEBUG - Requesting: http://10.0.0.23:8082/domain/89679f7f-ad37-4962-a279-4af0881643f9 2025-02-03 02:24:57,584 - DEBUG - Requesting: http://10.0.0.23:8082/project/3fc64208-6261-4fb8-af4c-469b1b5deb20 2025-02-03 02:24:57,660 - INFO - Validated that VN ctest-vn-41318491 is not found in API Server 2025-02-03 02:24:57,671 - DEBUG - VN ctest-vn-41318491 is not present in Agent 10.0.0.23 2025-02-03 02:24:57,671 - INFO - Validated that VN ctest-vn-41318491 is not in any agent 2025-02-03 02:24:57,686 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41318491 info 2025-02-03 02:24:57,940 - DEBUG - No XMPP flaps were noticed during the test 2025-02-03 02:24:57,940 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-02-03 02:24:57,940 - INFO - -------------------------------------------------------------------------------- 2025-02-03 02:24:58,625 - INFO - Deleted project: ctest-TestBasicPolicy-29013956, ID : 3fc64208-6261-4fb8-af4c-469b1b5deb20