2025-02-14 13:54:13,817 - INFO - Domain Default found not creating 2025-02-14 13:54:13,990 - INFO - Project ctest-TestBasicPolicy-57408962 not found, creating it 2025-02-14 13:54:14,509 - INFO - Created Project:ctest-TestBasicPolicy-57408962, ID : 57cb8beb-6b59-400a-90e2-a36ee1169e62 2025-02-14 13:54:16,144 - INFO - ================================================================================ 2025-02-14 13:54:16,144 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-14 13:54:16,144 - 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-14 13:54:16,405 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.27': '0'}} with 2025-02-14 13:54:16,405 - INFO - Initial checks done. Running the testcase now 2025-02-14 13:54:16,405 - INFO - 2025-02-14 13:54:17,026 - DEBUG - Response for create_network : {'network': {'id': 'af06a050-ae37-4d69-9156-c078d49975fb', 'name': 'ctest-vn-25204478', 'tenant_id': '57cb8beb6b59400a90e2a36ee1169e62', 'project_id': '57cb8beb6b59400a90e2a36ee1169e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57408962', 'ctest-vn-25204478'], 'port_security_enabled': True, 'description': ''}} 2025-02-14 13:54:17,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '7921bc2f-b738-4e46-9610-cc304fde6f8b', 'name': '', 'tenant_id': '57cb8beb6b59400a90e2a36ee1169e62', 'network_id': 'af06a050-ae37-4d69-9156-c078d49975fb', 'ip_version': 4, 'cidr': '130.131.242.192/26', 'allocation_pools': [{'start': '130.131.242.194', 'end': '130.131.242.254'}], 'gateway_ip': '130.131.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.131.242.194', 'tags': [], 'project_id': '57cb8beb6b59400a90e2a36ee1169e62'}} 2025-02-14 13:54:17,279 - INFO - Created VN ctest-vn-25204478 2025-02-14 13:54:17,334 - DEBUG - VN ctest-vn-25204478 UUID is af06a050-ae37-4d69-9156-c078d49975fb 2025-02-14 13:54:17,688 - DEBUG - Response for create_network : {'network': {'id': '45de4415-e4fc-4b26-8873-068af46e25e2', 'name': 'ctest-vn-46856293', 'tenant_id': '57cb8beb6b59400a90e2a36ee1169e62', 'project_id': '57cb8beb6b59400a90e2a36ee1169e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57408962', 'ctest-vn-46856293'], 'port_security_enabled': True, 'description': ''}} 2025-02-14 13:54:17,933 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1c2abcb-99bc-41eb-b141-2e9b79a11fff', 'name': '', 'tenant_id': '57cb8beb6b59400a90e2a36ee1169e62', 'network_id': '45de4415-e4fc-4b26-8873-068af46e25e2', 'ip_version': 4, 'cidr': '132.31.43.192/26', 'allocation_pools': [{'start': '132.31.43.194', 'end': '132.31.43.254'}], 'gateway_ip': '132.31.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.31.43.194', 'tags': [], 'project_id': '57cb8beb6b59400a90e2a36ee1169e62'}} 2025-02-14 13:54:17,957 - INFO - Created VN ctest-vn-46856293 2025-02-14 13:54:18,014 - DEBUG - VN ctest-vn-46856293 UUID is 45de4415-e4fc-4b26-8873-068af46e25e2 2025-02-14 13:54:18,152 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-25204478, 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-57408962:ctest-vn-46856293, 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-14 13:54:18,506 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af06a050-ae37-4d69-9156-c078d49975fb', 'name': 'ctest-vn-25204478', 'tenant_id': '57cb8beb6b59400a90e2a36ee1169e62', 'project_id': '57cb8beb6b59400a90e2a36ee1169e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7921bc2f-b738-4e46-9610-cc304fde6f8b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57408962', 'ctest-vn-25204478'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57408962', 'ctest-policy-allow-all-85312345']], 'subnet_ipam': [{'subnet_cidr': '130.131.242.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-14 13:54:18,736 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45de4415-e4fc-4b26-8873-068af46e25e2', 'name': 'ctest-vn-46856293', 'tenant_id': '57cb8beb6b59400a90e2a36ee1169e62', 'project_id': '57cb8beb6b59400a90e2a36ee1169e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1c2abcb-99bc-41eb-b141-2e9b79a11fff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57408962', 'ctest-vn-46856293'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57408962', 'ctest-policy-allow-all-85312345']], 'subnet_ipam': [{'subnet_cidr': '132.31.43.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-14 13:54:18,894 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-14 13:54:19,234 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-14 13:54:19,264 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9aea3087-3d29-40b4-b32f-f12c857437f3 2025-02-14 13:54:19,282 - DEBUG - Requesting: http://10.0.0.29:8082/project/57cb8beb-6b59-400a-90e2-a36ee1169e62 2025-02-14 13:54:19,363 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af06a050-ae37-4d69-9156-c078d49975fb 2025-02-14 13:54:19,379 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af06a050-ae37-4d69-9156-c078d49975fb 2025-02-14 13:54:19,394 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/29d2be6b-abd1-481d-8a65-16d3e347c091 2025-02-14 13:54:19,405 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/29d2be6b-abd1-481d-8a65-16d3e347c091 2025-02-14 13:54:19,416 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/ddb90ed7-493c-40f7-8a73-582520a814fa 2025-02-14 13:54:19,427 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-14 13:54:19,427 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af06a050-ae37-4d69-9156-c078d49975fb 2025-02-14 13:54:19,444 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/29d2be6b-abd1-481d-8a65-16d3e347c091 2025-02-14 13:54:19,467 - INFO - Verified VN network id 9 for VN af06a050-ae37-4d69-9156-c078d49975fb 2025-02-14 13:54:19,467 - INFO - Verifications in API Server for VN ctest-vn-25204478 passed 2025-02-14 13:54:19,467 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af06a050-ae37-4d69-9156-c078d49975fb 2025-02-14 13:54:19,483 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/29d2be6b-abd1-481d-8a65-16d3e347c091 2025-02-14 13:54:19,495 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/29d2be6b-abd1-481d-8a65-16d3e347c091 2025-02-14 13:54:19,505 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/ddb90ed7-493c-40f7-8a73-582520a814fa 2025-02-14 13:54:19,523 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-25204478', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57408962', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12611944074878340457', 'uuid-lslong': '10472769608692102651'}, 'enable': 'true', 'created': '2025-02-14T13:54:16', 'last-modified': '2025-02-14T13:54:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.052943'} 2025-02-14 13:54:19,531 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-14 13:54:19,531 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25204478 passed 2025-02-14 13:54:19,532 - DEBUG - ====Verifying policy data for ctest-vn-25204478 in API_Server ====== 2025-02-14 13:54:19,532 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-14 13:54:19,539 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9aea3087-3d29-40b4-b32f-f12c857437f3 2025-02-14 13:54:19,553 - DEBUG - Requesting: http://10.0.0.29:8082/project/57cb8beb-6b59-400a-90e2-a36ee1169e62 2025-02-14 13:54:19,710 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/af06a050-ae37-4d69-9156-c078d49975fb 2025-02-14 13:54:19,729 - DEBUG - ==>Verifying data for policy with id: 863b1b58-1db2-49c8-bb34-08bd350a4dd8, fqn: ['default-domain', 'ctest-TestBasicPolicy-57408962', 'ctest-policy-allow-all-85312345'] 2025-02-14 13:54:19,729 - INFO - VN ctest-vn-25204478 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-14 13:54:19,729 - DEBUG - Verifying the vn in opserver 2025-02-14 13:54:19,730 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-25204478 virtual network link through opserver 10.0.0.29 2025-02-14 13:54:19,730 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-02-14 13:54:20,111 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-02-14 13:54:20,216 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-25204478', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-25204478?flat'} 2025-02-14 13:54:20,216 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-25204478 is found in opserver 2025-02-14 13:54:20,232 - DEBUG - Do not have enough data to verify VN in agent 2025-02-14 13:54:20,239 - DEBUG - VRF ids for VN ctest-vn-25204478: {} 2025-02-14 13:54:20,239 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-14 13:54:20,270 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9aea3087-3d29-40b4-b32f-f12c857437f3 2025-02-14 13:54:20,292 - DEBUG - Requesting: http://10.0.0.29:8082/project/57cb8beb-6b59-400a-90e2-a36ee1169e62 2025-02-14 13:54:20,423 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/45de4415-e4fc-4b26-8873-068af46e25e2 2025-02-14 13:54:20,461 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/45de4415-e4fc-4b26-8873-068af46e25e2 2025-02-14 13:54:20,479 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/7d69135b-eada-401f-99af-1ded2dd96975 2025-02-14 13:54:20,496 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/7d69135b-eada-401f-99af-1ded2dd96975 2025-02-14 13:54:20,510 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/57481db8-6b89-4c76-b851-a5b4c241e311 2025-02-14 13:54:20,532 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-14 13:54:20,532 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/45de4415-e4fc-4b26-8873-068af46e25e2 2025-02-14 13:54:20,548 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/7d69135b-eada-401f-99af-1ded2dd96975 2025-02-14 13:54:20,568 - INFO - Verified VN network id 10 for VN 45de4415-e4fc-4b26-8873-068af46e25e2 2025-02-14 13:54:20,568 - INFO - Verifications in API Server for VN ctest-vn-46856293 passed 2025-02-14 13:54:20,568 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/45de4415-e4fc-4b26-8873-068af46e25e2 2025-02-14 13:54:20,586 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/7d69135b-eada-401f-99af-1ded2dd96975 2025-02-14 13:54:20,617 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/7d69135b-eada-401f-99af-1ded2dd96975 2025-02-14 13:54:20,633 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/57481db8-6b89-4c76-b851-a5b4c241e311 2025-02-14 13:54:20,671 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-46856293', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57408962', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5034536294273534758', 'uuid-lslong': '9832209605356037602'}, 'enable': 'true', 'created': '2025-02-14T13:54:17', 'last-modified': '2025-02-14T13:54:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.954937'} 2025-02-14 13:54:20,680 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-14 13:54:20,681 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46856293 passed 2025-02-14 13:54:20,681 - DEBUG - ====Verifying policy data for ctest-vn-46856293 in API_Server ====== 2025-02-14 13:54:20,681 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-14 13:54:20,700 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9aea3087-3d29-40b4-b32f-f12c857437f3 2025-02-14 13:54:20,723 - DEBUG - Requesting: http://10.0.0.29:8082/project/57cb8beb-6b59-400a-90e2-a36ee1169e62 2025-02-14 13:54:20,807 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/45de4415-e4fc-4b26-8873-068af46e25e2 2025-02-14 13:54:20,819 - DEBUG - ==>Verifying data for policy with id: 863b1b58-1db2-49c8-bb34-08bd350a4dd8, fqn: ['default-domain', 'ctest-TestBasicPolicy-57408962', 'ctest-policy-allow-all-85312345'] 2025-02-14 13:54:20,819 - INFO - VN ctest-vn-46856293 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-14 13:54:20,819 - DEBUG - Verifying the vn in opserver 2025-02-14 13:54:20,819 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-46856293 virtual network link through opserver 10.0.0.29 2025-02-14 13:54:20,819 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-02-14 13:54:20,831 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-46856293', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-46856293?flat'} 2025-02-14 13:54:20,831 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-46856293 is found in opserver 2025-02-14 13:54:20,843 - DEBUG - Do not have enough data to verify VN in agent 2025-02-14 13:54:20,849 - DEBUG - VRF ids for VN ctest-vn-46856293: {} 2025-02-14 13:54:20,912 - DEBUG - Services list from nova: [, , ] 2025-02-14 13:54:22,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2737-1) 2025-02-14 13:54:23,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2737-1) 2025-02-14 13:54:23,473 - INFO - Waiting for VM ctest-TestBasicPolicy-57408962-38214244 to be up.. 2025-02-14 13:54:23,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-14 13:54:28,659 - DEBUG - VM is in ACTIVE state now 2025-02-14 13:54:28,659 - INFO - VM name : ctest-TestBasicPolicy-57408962-38214244 2025-02-14 13:54:28,743 - DEBUG - VM ctest-TestBasicPolicy-57408962-38214244 ID is 977b7987-8fcb-4f22-9037-ce9c0f418ac9 2025-02-14 13:54:28,763 - DEBUG - VM ctest-TestBasicPolicy-57408962-38214244 launched on Node cn-jenkins-deploy-platform-ansible-os-2737-1 2025-02-14 13:54:28,854 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/977b7987-8fcb-4f22-9037-ce9c0f418ac9 2025-02-14 13:54:28,867 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/dfe7742f-2147-4c95-bf93-c195b31e8826 2025-02-14 13:54:32,121 - 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 1008ms') 2025-02-14 13:54:32,121 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57408962-38214244 failed! 2025-02-14 13:54:32,178 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57408962:ctest-vn-25204478 is 130.131.242.193 and allocation pool is NOT set 2025-02-14 13:54:34,245 - 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=8.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.408/5.180/8.953/3.772 ms') 2025-02-14 13:54:34,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57408962-38214244 passed 2025-02-14 13:54:34,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-14 13:54:34,406 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57408962-38214244, IP 130.131.242.195, Port 22 2025-02-14 13:54:34,572 - DEBUG - VM ctest-TestBasicPolicy-57408962-38214244 is ready for SSH connections 2025-02-14 13:54:34,573 - INFO - Waiting for VM ctest-TestBasicPolicy-57408962-69205426 to be up.. 2025-02-14 13:54:34,693 - DEBUG - VM is in ACTIVE state now 2025-02-14 13:54:34,693 - INFO - VM name : ctest-TestBasicPolicy-57408962-69205426 2025-02-14 13:54:34,781 - DEBUG - VM ctest-TestBasicPolicy-57408962-69205426 ID is 2534cb4d-3a83-4340-89ac-d7e35fb67c23 2025-02-14 13:54:34,781 - DEBUG - VM ctest-TestBasicPolicy-57408962-69205426 launched on Node cn-jenkins-deploy-platform-ansible-os-2737-1 2025-02-14 13:54:34,878 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/2534cb4d-3a83-4340-89ac-d7e35fb67c23 2025-02-14 13:54:34,893 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/f7ec199e-1fba-47a2-adf4-8a0b5960ad0b 2025-02-14 13:54:36,145 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.66 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 = 2.656/3.084/3.513/0.428 ms') 2025-02-14 13:54:36,145 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57408962-69205426 passed 2025-02-14 13:54:36,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-14 13:54:36,302 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57408962-69205426, IP 132.31.43.195, Port 22 2025-02-14 13:54:36,465 - DEBUG - VM ctest-TestBasicPolicy-57408962-69205426 is ready for SSH connections 2025-02-14 13:54:36,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-14 13:54:36,465 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.31.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-02-14 13:54:36,465 - DEBUG - ping -s 56 -c 3 -W 1 132.31.43.195 2025-02-14 13:54:40,757 - DEBUG - PING 132.31.43.195 (132.31.43.195): 56 data bytes 64 bytes from 132.31.43.195: seq=0 ttl=63 time=3.816 ms 64 bytes from 132.31.43.195: seq=1 ttl=63 time=0.921 ms 64 bytes from 132.31.43.195: seq=2 ttl=63 time=1.086 ms --- 132.31.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.921/1.941/3.816 ms 2025-02-14 13:54:40,758 - INFO - Ping to IP 132.31.43.195 from VM ctest-TestBasicPolicy-57408962-38214244 passed 2025-02-14 13:54:40,941 - DEBUG - Policy Update Response {"network-policy": {"uuid": "863b1b58-1db2-49c8-bb34-08bd350a4dd8", "href": "http://10.0.0.29:8082/network-policy/863b1b58-1db2-49c8-bb34-08bd350a4dd8"}} 2025-02-14 13:54:40,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-14 13:54:40,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.31.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-02-14 13:54:40,942 - DEBUG - ping -s 56 -c 3 -W 1 132.31.43.195 2025-02-14 13:54:44,164 - DEBUG - PING 132.31.43.195 (132.31.43.195): 56 data bytes 64 bytes from 132.31.43.195: seq=0 ttl=63 time=1.603 ms --- 132.31.43.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.603/1.603/1.603 ms 2025-02-14 13:54:44,164 - WARNING - Ping to IP 132.31.43.195 from VM ctest-TestBasicPolicy-57408962-38214244 failed 2025-02-14 13:54:44,164 - INFO - Deleting VM ctest-TestBasicPolicy-57408962-69205426 2025-02-14 13:54:44,240 - INFO - Deleting VM ctest-TestBasicPolicy-57408962-38214244 2025-02-14 13:54:44,717 - INFO - Deleted policy ctest-policy-allow-all-85312345 2025-02-14 13:54:44,717 - INFO - Deleting VN ctest-vn-46856293 2025-02-14 13:54:44,775 - DEBUG - VN 45de4415-e4fc-4b26-8873-068af46e25e2 still in use: Unable to complete operation on network 45de4415-e4fc-4b26-8873-068af46e25e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-98c9483c-054a-4aa2-833a-0e212af27061'] 2025-02-14 13:54:44,775 - WARNING - Deleting VN ctest-vn-46856293 failed..Will retry 2025-02-14 13:54:46,915 - DEBUG - Response for deleting network () 2025-02-14 13:54:46,915 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/7d69135b-eada-401f-99af-1ded2dd96975 2025-02-14 13:54:46,924 - DEBUG - Response Code: 404 2025-02-14 13:54:46,924 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-14 13:54:46,930 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9aea3087-3d29-40b4-b32f-f12c857437f3 2025-02-14 13:54:46,993 - DEBUG - Requesting: http://10.0.0.29:8082/project/57cb8beb-6b59-400a-90e2-a36ee1169e62 2025-02-14 13:54:47,070 - INFO - Validated that VN ctest-vn-46856293 is not found in API Server 2025-02-14 13:54:47,085 - DEBUG - VN ctest-vn-46856293 is not present in Agent 10.0.0.29 2025-02-14 13:54:47,085 - INFO - Validated that VN ctest-vn-46856293 is not in any agent 2025-02-14 13:54:47,106 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46856293 info 2025-02-14 13:54:47,106 - INFO - Deleting VN ctest-vn-25204478 2025-02-14 13:54:47,243 - DEBUG - Response for deleting network () 2025-02-14 13:54:47,243 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/29d2be6b-abd1-481d-8a65-16d3e347c091 2025-02-14 13:54:47,251 - DEBUG - Response Code: 404 2025-02-14 13:54:47,251 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-02-14 13:54:47,258 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9aea3087-3d29-40b4-b32f-f12c857437f3 2025-02-14 13:54:47,316 - DEBUG - Requesting: http://10.0.0.29:8082/project/57cb8beb-6b59-400a-90e2-a36ee1169e62 2025-02-14 13:54:47,396 - INFO - Validated that VN ctest-vn-25204478 is not found in API Server 2025-02-14 13:54:47,409 - DEBUG - VN ctest-vn-25204478 is not present in Agent 10.0.0.29 2025-02-14 13:54:47,410 - INFO - Validated that VN ctest-vn-25204478 is not in any agent 2025-02-14 13:54:47,428 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25204478 info 2025-02-14 13:54:47,696 - DEBUG - No XMPP flaps were noticed during the test
2025-02-14 13:54:47,697 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-02-14 13:54:47,697 - INFO - -------------------------------------------------------------------------------- 2025-02-14 13:54:48,473 - INFO - Deleted project: ctest-TestBasicPolicy-57408962, ID : 57cb8beb-6b59-400a-90e2-a36ee1169e62