2025-01-13 11:44:16,638 - INFO - Domain Default found not creating 2025-01-13 11:44:16,843 - INFO - Project ctest-TestBasicPolicy-14334464 not found, creating it 2025-01-13 11:44:17,346 - INFO - Created Project:ctest-TestBasicPolicy-14334464, ID : 739f54cc-113a-4120-9ea9-772676ccbb55 2025-01-13 11:44:18,910 - INFO - ================================================================================ 2025-01-13 11:44:18,910 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-13 11:44:18,910 - 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 11:44:19,187 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.24': '0'}} with 2025-01-13 11:44:19,187 - INFO - Initial checks done. Running the testcase now 2025-01-13 11:44:19,187 - INFO - 2025-01-13 11:44:19,781 - DEBUG - Response for create_network : {'network': {'id': 'c5ce19cb-1b6a-4432-869d-443f5a13b0f6', 'name': 'ctest-vn-13963494', 'tenant_id': '739f54cc113a41209ea9772676ccbb55', 'project_id': '739f54cc113a41209ea9772676ccbb55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14334464', 'ctest-vn-13963494'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 11:44:20,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '0953fce4-9832-48b4-9d52-87162fc04ded', 'name': '', 'tenant_id': '739f54cc113a41209ea9772676ccbb55', 'network_id': 'c5ce19cb-1b6a-4432-869d-443f5a13b0f6', 'ip_version': 4, 'cidr': '154.102.172.0/26', 'allocation_pools': [{'start': '154.102.172.2', 'end': '154.102.172.62'}], 'gateway_ip': '154.102.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.102.172.2', 'tags': [], 'project_id': '739f54cc113a41209ea9772676ccbb55'}} 2025-01-13 11:44:20,032 - INFO - Created VN ctest-vn-13963494 2025-01-13 11:44:20,087 - DEBUG - VN ctest-vn-13963494 UUID is c5ce19cb-1b6a-4432-869d-443f5a13b0f6 2025-01-13 11:44:20,403 - DEBUG - Response for create_network : {'network': {'id': '8d5be4a6-78f7-47da-bfff-0ec893da1c00', 'name': 'ctest-vn-85029616', 'tenant_id': '739f54cc113a41209ea9772676ccbb55', 'project_id': '739f54cc113a41209ea9772676ccbb55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14334464', 'ctest-vn-85029616'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 11:44:20,645 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ccb0fb6-a67c-490b-a56f-d475e00b0ae1', 'name': '', 'tenant_id': '739f54cc113a41209ea9772676ccbb55', 'network_id': '8d5be4a6-78f7-47da-bfff-0ec893da1c00', 'ip_version': 4, 'cidr': '17.216.85.0/26', 'allocation_pools': [{'start': '17.216.85.2', 'end': '17.216.85.62'}], 'gateway_ip': '17.216.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.216.85.2', 'tags': [], 'project_id': '739f54cc113a41209ea9772676ccbb55'}} 2025-01-13 11:44:20,666 - INFO - Created VN ctest-vn-85029616 2025-01-13 11:44:20,719 - DEBUG - VN ctest-vn-85029616 UUID is 8d5be4a6-78f7-47da-bfff-0ec893da1c00 2025-01-13 11:44:20,845 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-13963494, 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-14334464:ctest-vn-85029616, 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 11:44:21,179 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c5ce19cb-1b6a-4432-869d-443f5a13b0f6', 'name': 'ctest-vn-13963494', 'tenant_id': '739f54cc113a41209ea9772676ccbb55', 'project_id': '739f54cc113a41209ea9772676ccbb55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0953fce4-9832-48b4-9d52-87162fc04ded'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14334464', 'ctest-vn-13963494'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14334464', 'ctest-policy-allow-all-85834168']], 'subnet_ipam': [{'subnet_cidr': '154.102.172.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 11:44:21,427 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d5be4a6-78f7-47da-bfff-0ec893da1c00', 'name': 'ctest-vn-85029616', 'tenant_id': '739f54cc113a41209ea9772676ccbb55', 'project_id': '739f54cc113a41209ea9772676ccbb55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ccb0fb6-a67c-490b-a56f-d475e00b0ae1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14334464', 'ctest-vn-85029616'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14334464', 'ctest-policy-allow-all-85834168']], 'subnet_ipam': [{'subnet_cidr': '17.216.85.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 11:44:21,617 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-13 11:44:21,923 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-13 11:44:21,963 - DEBUG - Requesting: http://10.0.0.23:8082/domain/194711d6-e52e-455d-a2f8-a64214d8d752 2025-01-13 11:44:21,981 - DEBUG - Requesting: http://10.0.0.23:8082/project/739f54cc-113a-4120-9ea9-772676ccbb55 2025-01-13 11:44:22,067 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c5ce19cb-1b6a-4432-869d-443f5a13b0f6 2025-01-13 11:44:22,080 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c5ce19cb-1b6a-4432-869d-443f5a13b0f6 2025-01-13 11:44:22,092 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/373b9ec2-535a-45ae-b967-965b5502cbbe 2025-01-13 11:44:22,100 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/373b9ec2-535a-45ae-b967-965b5502cbbe 2025-01-13 11:44:22,110 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/9a2fdb57-7098-4ad1-9dbe-1401da46fbe8 2025-01-13 11:44:22,118 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 11:44:22,118 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c5ce19cb-1b6a-4432-869d-443f5a13b0f6 2025-01-13 11:44:22,132 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/373b9ec2-535a-45ae-b967-965b5502cbbe 2025-01-13 11:44:22,151 - INFO - Verified VN network id 8 for VN c5ce19cb-1b6a-4432-869d-443f5a13b0f6 2025-01-13 11:44:22,151 - INFO - Verifications in API Server for VN ctest-vn-13963494 passed 2025-01-13 11:44:22,151 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c5ce19cb-1b6a-4432-869d-443f5a13b0f6 2025-01-13 11:44:22,163 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/373b9ec2-535a-45ae-b967-965b5502cbbe 2025-01-13 11:44:22,172 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/373b9ec2-535a-45ae-b967-965b5502cbbe 2025-01-13 11:44:22,182 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/9a2fdb57-7098-4ad1-9dbe-1401da46fbe8 2025-01-13 11:44:22,196 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-13963494', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14334464', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14253358230803203122', 'uuid-lslong': '9699984211310784758'}, 'enable': 'true', 'created': '2025-01-13T11:44:19', 'last-modified': '2025-01-13T11:44:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.039324'} 2025-01-13 11:44:22,207 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 11:44:22,207 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13963494 passed 2025-01-13 11:44:22,207 - DEBUG - ====Verifying policy data for ctest-vn-13963494 in API_Server ====== 2025-01-13 11:44:22,207 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-13 11:44:22,216 - DEBUG - Requesting: http://10.0.0.23:8082/domain/194711d6-e52e-455d-a2f8-a64214d8d752 2025-01-13 11:44:22,229 - DEBUG - Requesting: http://10.0.0.23:8082/project/739f54cc-113a-4120-9ea9-772676ccbb55 2025-01-13 11:44:22,308 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c5ce19cb-1b6a-4432-869d-443f5a13b0f6 2025-01-13 11:44:22,321 - DEBUG - ==>Verifying data for policy with id: 37793c06-5f9e-41fb-b55e-d247d348833f, fqn: ['default-domain', 'ctest-TestBasicPolicy-14334464', 'ctest-policy-allow-all-85834168'] 2025-01-13 11:44:22,321 - INFO - VN ctest-vn-13963494 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 11:44:22,321 - DEBUG - Verifying the vn in opserver 2025-01-13 11:44:22,321 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-13963494 virtual network link through opserver 10.0.0.23 2025-01-13 11:44:22,321 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-01-13 11:44:22,623 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-01-13 11:44:22,702 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-13963494', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-13963494?flat'} 2025-01-13 11:44:22,702 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-13963494 is found in opserver 2025-01-13 11:44:22,716 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 11:44:22,726 - DEBUG - VRF ids for VN ctest-vn-13963494: {} 2025-01-13 11:44:22,726 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-13 11:44:22,736 - DEBUG - Requesting: http://10.0.0.23:8082/domain/194711d6-e52e-455d-a2f8-a64214d8d752 2025-01-13 11:44:22,754 - DEBUG - Requesting: http://10.0.0.23:8082/project/739f54cc-113a-4120-9ea9-772676ccbb55 2025-01-13 11:44:22,828 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8d5be4a6-78f7-47da-bfff-0ec893da1c00 2025-01-13 11:44:22,842 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8d5be4a6-78f7-47da-bfff-0ec893da1c00 2025-01-13 11:44:22,853 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a7cba942-90f5-4873-a28b-f5aebaea918d 2025-01-13 11:44:22,863 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a7cba942-90f5-4873-a28b-f5aebaea918d 2025-01-13 11:44:22,872 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/4c4cd862-9d4b-4e1c-81a9-1c27b4a96ceb 2025-01-13 11:44:22,881 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 11:44:22,881 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8d5be4a6-78f7-47da-bfff-0ec893da1c00 2025-01-13 11:44:22,892 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a7cba942-90f5-4873-a28b-f5aebaea918d 2025-01-13 11:44:22,908 - INFO - Verified VN network id 9 for VN 8d5be4a6-78f7-47da-bfff-0ec893da1c00 2025-01-13 11:44:22,908 - INFO - Verifications in API Server for VN ctest-vn-85029616 passed 2025-01-13 11:44:22,909 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8d5be4a6-78f7-47da-bfff-0ec893da1c00 2025-01-13 11:44:22,921 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a7cba942-90f5-4873-a28b-f5aebaea918d 2025-01-13 11:44:22,930 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a7cba942-90f5-4873-a28b-f5aebaea918d 2025-01-13 11:44:22,939 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/4c4cd862-9d4b-4e1c-81a9-1c27b4a96ceb 2025-01-13 11:44:22,954 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-85029616', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14334464', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10185986385873684442', 'uuid-lslong': '13834792834942245888'}, 'enable': 'true', 'created': '2025-01-13T11:44:20', 'last-modified': '2025-01-13T11:44:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.552982'} 2025-01-13 11:44:22,964 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 11:44:22,964 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85029616 passed 2025-01-13 11:44:22,964 - DEBUG - ====Verifying policy data for ctest-vn-85029616 in API_Server ====== 2025-01-13 11:44:22,964 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-13 11:44:22,971 - DEBUG - Requesting: http://10.0.0.23:8082/domain/194711d6-e52e-455d-a2f8-a64214d8d752 2025-01-13 11:44:22,984 - DEBUG - Requesting: http://10.0.0.23:8082/project/739f54cc-113a-4120-9ea9-772676ccbb55 2025-01-13 11:44:23,060 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/8d5be4a6-78f7-47da-bfff-0ec893da1c00 2025-01-13 11:44:23,072 - DEBUG - ==>Verifying data for policy with id: 37793c06-5f9e-41fb-b55e-d247d348833f, fqn: ['default-domain', 'ctest-TestBasicPolicy-14334464', 'ctest-policy-allow-all-85834168'] 2025-01-13 11:44:23,072 - INFO - VN ctest-vn-85029616 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 11:44:23,072 - DEBUG - Verifying the vn in opserver 2025-01-13 11:44:23,072 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-85029616 virtual network link through opserver 10.0.0.23 2025-01-13 11:44:23,072 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-01-13 11:44:23,084 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-85029616', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-85029616?flat'} 2025-01-13 11:44:23,084 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-85029616 is found in opserver 2025-01-13 11:44:23,096 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 11:44:23,102 - DEBUG - VRF ids for VN ctest-vn-85029616: {} 2025-01-13 11:44:23,166 - DEBUG - Services list from nova: [, , ] 2025-01-13 11:44:24,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2611-1) 2025-01-13 11:44:25,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2611-1) 2025-01-13 11:44:25,653 - INFO - Waiting for VM ctest-TestBasicPolicy-14334464-10616760 to be up.. 2025-01-13 11:44:25,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 11:44:30,867 - DEBUG - VM is in ACTIVE state now 2025-01-13 11:44:30,867 - INFO - VM name : ctest-TestBasicPolicy-14334464-10616760 2025-01-13 11:44:30,953 - DEBUG - VM ctest-TestBasicPolicy-14334464-10616760 ID is 40321683-d6c3-4965-95c6-14f6995f98f2 2025-01-13 11:44:30,974 - DEBUG - VM ctest-TestBasicPolicy-14334464-10616760 launched on Node cn-jenkins-deploy-platform-ansible-os-2611-1 2025-01-13 11:44:31,062 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/40321683-d6c3-4965-95c6-14f6995f98f2 2025-01-13 11:44:31,073 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ee22e29c-5250-42b9-94e4-b10e207289a3 2025-01-13 11:44:34,299 - 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 1022ms') 2025-01-13 11:44:34,299 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14334464-10616760 failed! 2025-01-13 11:44:34,359 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14334464:ctest-vn-13963494 is 154.102.172.1 and allocation pool is NOT set 2025-01-13 11:44:36,425 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/3.647/6.893/3.245 ms') 2025-01-13 11:44:36,425 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14334464-10616760 passed 2025-01-13 11:44:36,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:44:36,579 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14334464-10616760, IP 154.102.172.3, Port 22 2025-01-13 11:44:36,746 - DEBUG - VM ctest-TestBasicPolicy-14334464-10616760 is ready for SSH connections 2025-01-13 11:44:36,746 - INFO - Waiting for VM ctest-TestBasicPolicy-14334464-03402487 to be up.. 2025-01-13 11:44:36,836 - DEBUG - VM is in ACTIVE state now 2025-01-13 11:44:36,836 - INFO - VM name : ctest-TestBasicPolicy-14334464-03402487 2025-01-13 11:44:36,930 - DEBUG - VM ctest-TestBasicPolicy-14334464-03402487 ID is 5ae092a4-3ef6-4309-bed0-19bc6409534e 2025-01-13 11:44:36,930 - DEBUG - VM ctest-TestBasicPolicy-14334464-03402487 launched on Node cn-jenkins-deploy-platform-ansible-os-2611-1 2025-01-13 11:44:37,023 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5ae092a4-3ef6-4309-bed0-19bc6409534e 2025-01-13 11:44:37,032 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/70df8ff0-652c-4396-9d4b-696ab1f75b27 2025-01-13 11:44:38,305 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.562 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.562/1.797/3.032/1.235 ms') 2025-01-13 11:44:38,305 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14334464-03402487 passed 2025-01-13 11:44:38,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:44:38,467 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14334464-03402487, IP 17.216.85.3, Port 22 2025-01-13 11:44:38,623 - DEBUG - VM ctest-TestBasicPolicy-14334464-03402487 is ready for SSH connections 2025-01-13 11:44:38,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:44:38,623 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.216.85.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-13 11:44:38,623 - DEBUG - ping -s 56 -c 3 -W 1 17.216.85.3 2025-01-13 11:44:42,365 - DEBUG - PING 17.216.85.3 (17.216.85.3): 56 data bytes 64 bytes from 17.216.85.3: seq=0 ttl=63 time=4.988 ms 64 bytes from 17.216.85.3: seq=1 ttl=63 time=1.160 ms 64 bytes from 17.216.85.3: seq=2 ttl=63 time=1.090 ms --- 17.216.85.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.090/2.412/4.988 ms 2025-01-13 11:44:42,365 - INFO - Ping to IP 17.216.85.3 from VM ctest-TestBasicPolicy-14334464-10616760 passed 2025-01-13 11:44:42,555 - DEBUG - Policy Update Response {"network-policy": {"uuid": "37793c06-5f9e-41fb-b55e-d247d348833f", "href": "http://10.0.0.23:8082/network-policy/37793c06-5f9e-41fb-b55e-d247d348833f"}} 2025-01-13 11:44:42,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 11:44:42,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.216.85.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-13 11:44:42,555 - DEBUG - ping -s 56 -c 3 -W 1 17.216.85.3 2025-01-13 11:44:45,773 - DEBUG - PING 17.216.85.3 (17.216.85.3): 56 data bytes 64 bytes from 17.216.85.3: seq=0 ttl=63 time=1.553 ms --- 17.216.85.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.553/1.553/1.553 ms 2025-01-13 11:44:45,773 - WARNING - Ping to IP 17.216.85.3 from VM ctest-TestBasicPolicy-14334464-10616760 failed 2025-01-13 11:44:45,773 - INFO - Deleting VM ctest-TestBasicPolicy-14334464-03402487 2025-01-13 11:44:45,851 - INFO - Deleting VM ctest-TestBasicPolicy-14334464-10616760 2025-01-13 11:44:46,277 - INFO - Deleted policy ctest-policy-allow-all-85834168 2025-01-13 11:44:46,278 - INFO - Deleting VN ctest-vn-85029616 2025-01-13 11:44:46,334 - DEBUG - VN 8d5be4a6-78f7-47da-bfff-0ec893da1c00 still in use: Unable to complete operation on network 8d5be4a6-78f7-47da-bfff-0ec893da1c00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc243d88-e356-4c46-8077-1d9ba60597af'] 2025-01-13 11:44:46,334 - WARNING - Deleting VN ctest-vn-85029616 failed..Will retry 2025-01-13 11:44:48,542 - DEBUG - Response for deleting network () 2025-01-13 11:44:48,542 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a7cba942-90f5-4873-a28b-f5aebaea918d 2025-01-13 11:44:48,552 - DEBUG - Response Code: 404 2025-01-13 11:44:48,552 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-13 11:44:48,559 - DEBUG - Requesting: http://10.0.0.23:8082/domain/194711d6-e52e-455d-a2f8-a64214d8d752 2025-01-13 11:44:48,617 - DEBUG - Requesting: http://10.0.0.23:8082/project/739f54cc-113a-4120-9ea9-772676ccbb55 2025-01-13 11:44:48,694 - INFO - Validated that VN ctest-vn-85029616 is not found in API Server 2025-01-13 11:44:48,707 - DEBUG - VN ctest-vn-85029616 is not present in Agent 10.0.0.23 2025-01-13 11:44:48,707 - INFO - Validated that VN ctest-vn-85029616 is not in any agent 2025-01-13 11:44:48,724 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85029616 info 2025-01-13 11:44:48,724 - INFO - Deleting VN ctest-vn-13963494 2025-01-13 11:44:48,844 - DEBUG - Response for deleting network () 2025-01-13 11:44:48,844 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/373b9ec2-535a-45ae-b967-965b5502cbbe 2025-01-13 11:44:48,850 - DEBUG - Response Code: 404 2025-01-13 11:44:48,850 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-13 11:44:48,862 - DEBUG - Requesting: http://10.0.0.23:8082/domain/194711d6-e52e-455d-a2f8-a64214d8d752 2025-01-13 11:44:48,922 - DEBUG - Requesting: http://10.0.0.23:8082/project/739f54cc-113a-4120-9ea9-772676ccbb55 2025-01-13 11:44:49,024 - INFO - Validated that VN ctest-vn-13963494 is not found in API Server 2025-01-13 11:44:49,039 - DEBUG - VN ctest-vn-13963494 is not present in Agent 10.0.0.23 2025-01-13 11:44:49,040 - INFO - Validated that VN ctest-vn-13963494 is not in any agent 2025-01-13 11:44:49,062 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13963494 info 2025-01-13 11:44:49,334 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 11:44:49,334 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-01-13 11:44:49,335 - INFO - -------------------------------------------------------------------------------- 2025-01-13 11:44:50,163 - INFO - Deleted project: ctest-TestBasicPolicy-14334464, ID : 739f54cc-113a-4120-9ea9-772676ccbb55