2025-02-13 16:56:13,786 - INFO - Domain Default found not creating 2025-02-13 16:56:13,954 - INFO - Project ctest-TestBasicPolicy-45653459 not found, creating it 2025-02-13 16:56:14,437 - INFO - Created Project:ctest-TestBasicPolicy-45653459, ID : 00dc355c-c57a-479e-a656-523f6f091c38 2025-02-13 16:56:15,976 - INFO - ================================================================================ 2025-02-13 16:56:15,976 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-13 16:56:15,976 - 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-13 16:56:16,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.7': '0'}} with 2025-02-13 16:56:16,236 - INFO - Initial checks done. Running the testcase now 2025-02-13 16:56:16,236 - INFO - 2025-02-13 16:56:16,816 - DEBUG - Response for create_network : {'network': {'id': '346774e0-90b1-4342-82e6-242d975c61a6', 'name': 'ctest-vn-49180090', 'tenant_id': '00dc355cc57a479ea656523f6f091c38', 'project_id': '00dc355cc57a479ea656523f6f091c38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45653459', 'ctest-vn-49180090'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 16:56:17,034 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee48761e-6035-49c3-9c8f-7516f7f65102', 'name': '', 'tenant_id': '00dc355cc57a479ea656523f6f091c38', 'network_id': '346774e0-90b1-4342-82e6-242d975c61a6', 'ip_version': 4, 'cidr': '156.201.252.64/26', 'allocation_pools': [{'start': '156.201.252.66', 'end': '156.201.252.126'}], 'gateway_ip': '156.201.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.201.252.66', 'tags': [], 'project_id': '00dc355cc57a479ea656523f6f091c38'}} 2025-02-13 16:56:17,059 - INFO - Created VN ctest-vn-49180090 2025-02-13 16:56:17,113 - DEBUG - VN ctest-vn-49180090 UUID is 346774e0-90b1-4342-82e6-242d975c61a6 2025-02-13 16:56:17,435 - DEBUG - Response for create_network : {'network': {'id': '002378d0-55ac-4e7d-a8ea-d95cd814c6a2', 'name': 'ctest-vn-18764976', 'tenant_id': '00dc355cc57a479ea656523f6f091c38', 'project_id': '00dc355cc57a479ea656523f6f091c38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45653459', 'ctest-vn-18764976'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 16:56:17,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '3801e259-6620-4d3b-8d46-2d3b8dead3e9', 'name': '', 'tenant_id': '00dc355cc57a479ea656523f6f091c38', 'network_id': '002378d0-55ac-4e7d-a8ea-d95cd814c6a2', 'ip_version': 4, 'cidr': '139.149.229.128/26', 'allocation_pools': [{'start': '139.149.229.130', 'end': '139.149.229.190'}], 'gateway_ip': '139.149.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.149.229.130', 'tags': [], 'project_id': '00dc355cc57a479ea656523f6f091c38'}} 2025-02-13 16:56:17,628 - INFO - Created VN ctest-vn-18764976 2025-02-13 16:56:17,681 - DEBUG - VN ctest-vn-18764976 UUID is 002378d0-55ac-4e7d-a8ea-d95cd814c6a2 2025-02-13 16:56:17,804 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-49180090, 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-45653459:ctest-vn-18764976, 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-13 16:56:18,108 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '346774e0-90b1-4342-82e6-242d975c61a6', 'name': 'ctest-vn-49180090', 'tenant_id': '00dc355cc57a479ea656523f6f091c38', 'project_id': '00dc355cc57a479ea656523f6f091c38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee48761e-6035-49c3-9c8f-7516f7f65102'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45653459', 'ctest-vn-49180090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45653459', 'ctest-policy-allow-all-46685313']], 'subnet_ipam': [{'subnet_cidr': '156.201.252.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 16:56:18,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '002378d0-55ac-4e7d-a8ea-d95cd814c6a2', 'name': 'ctest-vn-18764976', 'tenant_id': '00dc355cc57a479ea656523f6f091c38', 'project_id': '00dc355cc57a479ea656523f6f091c38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3801e259-6620-4d3b-8d46-2d3b8dead3e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45653459', 'ctest-vn-18764976'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45653459', 'ctest-policy-allow-all-46685313']], 'subnet_ipam': [{'subnet_cidr': '139.149.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 16:56:18,541 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-13 16:56:18,839 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-13 16:56:18,871 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fea8f582-5be3-48bd-a42b-79fa7828e9c3 2025-02-13 16:56:18,885 - DEBUG - Requesting: http://10.0.0.33:8082/project/00dc355c-c57a-479e-a656-523f6f091c38 2025-02-13 16:56:18,965 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/346774e0-90b1-4342-82e6-242d975c61a6 2025-02-13 16:56:18,978 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/346774e0-90b1-4342-82e6-242d975c61a6 2025-02-13 16:56:18,995 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7063a531-fa52-4820-b3c1-ce2781622631 2025-02-13 16:56:19,004 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7063a531-fa52-4820-b3c1-ce2781622631 2025-02-13 16:56:19,014 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fa5255b4-ce80-4bbc-b7fe-079eb36d57f3 2025-02-13 16:56:19,024 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 16:56:19,024 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/346774e0-90b1-4342-82e6-242d975c61a6 2025-02-13 16:56:19,035 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7063a531-fa52-4820-b3c1-ce2781622631 2025-02-13 16:56:19,052 - INFO - Verified VN network id 8 for VN 346774e0-90b1-4342-82e6-242d975c61a6 2025-02-13 16:56:19,052 - INFO - Verifications in API Server for VN ctest-vn-49180090 passed 2025-02-13 16:56:19,052 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/346774e0-90b1-4342-82e6-242d975c61a6 2025-02-13 16:56:19,064 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7063a531-fa52-4820-b3c1-ce2781622631 2025-02-13 16:56:19,072 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7063a531-fa52-4820-b3c1-ce2781622631 2025-02-13 16:56:19,081 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fa5255b4-ce80-4bbc-b7fe-079eb36d57f3 2025-02-13 16:56:19,095 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-49180090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45653459', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3776115320422482754', 'uuid-lslong': '9432266247805624742'}, 'enable': 'true', 'created': '2025-02-13T16:56:16', 'last-modified': '2025-02-13T16:56:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019324'} 2025-02-13 16:56:19,102 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 16:56:19,103 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49180090 passed 2025-02-13 16:56:19,103 - DEBUG - ====Verifying policy data for ctest-vn-49180090 in API_Server ====== 2025-02-13 16:56:19,103 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-13 16:56:19,109 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fea8f582-5be3-48bd-a42b-79fa7828e9c3 2025-02-13 16:56:19,123 - DEBUG - Requesting: http://10.0.0.33:8082/project/00dc355c-c57a-479e-a656-523f6f091c38 2025-02-13 16:56:19,201 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/346774e0-90b1-4342-82e6-242d975c61a6 2025-02-13 16:56:19,212 - DEBUG - ==>Verifying data for policy with id: a1342c26-0b7e-4a78-a199-fe94e7994ea2, fqn: ['default-domain', 'ctest-TestBasicPolicy-45653459', 'ctest-policy-allow-all-46685313'] 2025-02-13 16:56:19,212 - INFO - VN ctest-vn-49180090 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 16:56:19,212 - DEBUG - Verifying the vn in opserver 2025-02-13 16:56:19,213 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-49180090 virtual network link through opserver 10.0.0.33 2025-02-13 16:56:19,213 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-02-13 16:56:19,512 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-02-13 16:56:19,580 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-49180090', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-49180090?flat'} 2025-02-13 16:56:19,580 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-49180090 is found in opserver 2025-02-13 16:56:19,595 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 16:56:19,601 - DEBUG - VRF ids for VN ctest-vn-49180090: {} 2025-02-13 16:56:19,601 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-13 16:56:19,609 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fea8f582-5be3-48bd-a42b-79fa7828e9c3 2025-02-13 16:56:19,625 - DEBUG - Requesting: http://10.0.0.33:8082/project/00dc355c-c57a-479e-a656-523f6f091c38 2025-02-13 16:56:19,710 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/002378d0-55ac-4e7d-a8ea-d95cd814c6a2 2025-02-13 16:56:19,725 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/002378d0-55ac-4e7d-a8ea-d95cd814c6a2 2025-02-13 16:56:19,736 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/63ad9c25-d400-4b35-8f8d-4de7180d50f0 2025-02-13 16:56:19,745 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/63ad9c25-d400-4b35-8f8d-4de7180d50f0 2025-02-13 16:56:19,754 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e357777a-bb3d-4c93-ae40-9dbc61353c5a 2025-02-13 16:56:19,761 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 16:56:19,761 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/002378d0-55ac-4e7d-a8ea-d95cd814c6a2 2025-02-13 16:56:19,773 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/63ad9c25-d400-4b35-8f8d-4de7180d50f0 2025-02-13 16:56:19,790 - INFO - Verified VN network id 9 for VN 002378d0-55ac-4e7d-a8ea-d95cd814c6a2 2025-02-13 16:56:19,790 - INFO - Verifications in API Server for VN ctest-vn-18764976 passed 2025-02-13 16:56:19,790 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/002378d0-55ac-4e7d-a8ea-d95cd814c6a2 2025-02-13 16:56:19,804 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/63ad9c25-d400-4b35-8f8d-4de7180d50f0 2025-02-13 16:56:19,812 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/63ad9c25-d400-4b35-8f8d-4de7180d50f0 2025-02-13 16:56:19,823 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e357777a-bb3d-4c93-ae40-9dbc61353c5a 2025-02-13 16:56:19,838 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-18764976', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45653459', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9984460370759293', 'uuid-lslong': '12171779935707645602'}, 'enable': 'true', 'created': '2025-02-13T16:56:17', 'last-modified': '2025-02-13T16:56:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.505689'} 2025-02-13 16:56:19,846 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 16:56:19,846 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18764976 passed 2025-02-13 16:56:19,846 - DEBUG - ====Verifying policy data for ctest-vn-18764976 in API_Server ====== 2025-02-13 16:56:19,846 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-13 16:56:19,858 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fea8f582-5be3-48bd-a42b-79fa7828e9c3 2025-02-13 16:56:19,873 - DEBUG - Requesting: http://10.0.0.33:8082/project/00dc355c-c57a-479e-a656-523f6f091c38 2025-02-13 16:56:19,960 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/002378d0-55ac-4e7d-a8ea-d95cd814c6a2 2025-02-13 16:56:19,974 - DEBUG - ==>Verifying data for policy with id: a1342c26-0b7e-4a78-a199-fe94e7994ea2, fqn: ['default-domain', 'ctest-TestBasicPolicy-45653459', 'ctest-policy-allow-all-46685313'] 2025-02-13 16:56:19,974 - INFO - VN ctest-vn-18764976 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 16:56:19,975 - DEBUG - Verifying the vn in opserver 2025-02-13 16:56:19,975 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-18764976 virtual network link through opserver 10.0.0.33 2025-02-13 16:56:19,975 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-02-13 16:56:19,989 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-18764976', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-18764976?flat'} 2025-02-13 16:56:19,989 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-18764976 is found in opserver 2025-02-13 16:56:20,007 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 16:56:20,014 - DEBUG - VRF ids for VN ctest-vn-18764976: {} 2025-02-13 16:56:20,094 - DEBUG - Services list from nova: [, , ] 2025-02-13 16:56:21,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2736-1) 2025-02-13 16:56:22,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2736-1) 2025-02-13 16:56:22,464 - INFO - Waiting for VM ctest-TestBasicPolicy-45653459-95239437 to be up.. 2025-02-13 16:56:22,556 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 16:56:27,645 - DEBUG - VM is in ACTIVE state now 2025-02-13 16:56:27,645 - INFO - VM name : ctest-TestBasicPolicy-45653459-95239437 2025-02-13 16:56:27,731 - DEBUG - VM ctest-TestBasicPolicy-45653459-95239437 ID is 836d65cb-4265-4937-b690-3e0f703afc45 2025-02-13 16:56:27,753 - DEBUG - VM ctest-TestBasicPolicy-45653459-95239437 launched on Node cn-jenkins-deploy-platform-ansible-os-2736-1 2025-02-13 16:56:27,840 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/836d65cb-4265-4937-b690-3e0f703afc45 2025-02-13 16:56:27,850 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8d7d7f88-4731-4afc-82ba-ec8c0d529838 2025-02-13 16:56:31,119 - 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 1010ms') 2025-02-13 16:56:31,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45653459-95239437 failed! 2025-02-13 16:56:31,178 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45653459:ctest-vn-49180090 is 156.201.252.65 and allocation pool is NOT set 2025-02-13 16:56:33,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=4.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.705 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.705/2.560/4.415/1.855 ms') 2025-02-13 16:56:33,246 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45653459-95239437 passed 2025-02-13 16:56:33,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 16:56:33,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45653459-95239437, IP 156.201.252.67, Port 22 2025-02-13 16:56:33,568 - DEBUG - VM ctest-TestBasicPolicy-45653459-95239437 is ready for SSH connections 2025-02-13 16:56:33,568 - INFO - Waiting for VM ctest-TestBasicPolicy-45653459-74752961 to be up.. 2025-02-13 16:56:33,667 - DEBUG - VM is in ACTIVE state now 2025-02-13 16:56:33,667 - INFO - VM name : ctest-TestBasicPolicy-45653459-74752961 2025-02-13 16:56:33,763 - DEBUG - VM ctest-TestBasicPolicy-45653459-74752961 ID is 2872dfbf-9a24-424f-b30e-a0ede2cd5f06 2025-02-13 16:56:33,763 - DEBUG - VM ctest-TestBasicPolicy-45653459-74752961 launched on Node cn-jenkins-deploy-platform-ansible-os-2736-1 2025-02-13 16:56:33,856 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2872dfbf-9a24-424f-b30e-a0ede2cd5f06 2025-02-13 16:56:33,867 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/edb1bbb7-bb64-4597-b16c-263d7f907b2f 2025-02-13 16:56:35,115 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.627 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.627/1.842/3.057/1.215 ms') 2025-02-13 16:56:35,115 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45653459-74752961 passed 2025-02-13 16:56:35,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 16:56:35,269 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45653459-74752961, IP 139.149.229.131, Port 22 2025-02-13 16:56:35,424 - DEBUG - VM ctest-TestBasicPolicy-45653459-74752961 is ready for SSH connections 2025-02-13 16:56:35,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 16:56:35,425 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.149.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-02-13 16:56:35,425 - DEBUG - ping -s 56 -c 3 -W 1 139.149.229.131 2025-02-13 16:56:39,128 - DEBUG - PING 139.149.229.131 (139.149.229.131): 56 data bytes 64 bytes from 139.149.229.131: seq=0 ttl=63 time=3.822 ms 64 bytes from 139.149.229.131: seq=1 ttl=63 time=0.923 ms 64 bytes from 139.149.229.131: seq=2 ttl=63 time=1.194 ms --- 139.149.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/1.979/3.822 ms 2025-02-13 16:56:39,128 - INFO - Ping to IP 139.149.229.131 from VM ctest-TestBasicPolicy-45653459-95239437 passed 2025-02-13 16:56:39,317 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a1342c26-0b7e-4a78-a199-fe94e7994ea2", "href": "http://10.0.0.33:8082/network-policy/a1342c26-0b7e-4a78-a199-fe94e7994ea2"}} 2025-02-13 16:56:39,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 16:56:39,317 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.149.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-02-13 16:56:39,318 - DEBUG - ping -s 56 -c 3 -W 1 139.149.229.131 2025-02-13 16:56:42,527 - DEBUG - PING 139.149.229.131 (139.149.229.131): 56 data bytes 64 bytes from 139.149.229.131: seq=0 ttl=63 time=1.478 ms --- 139.149.229.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.478/1.478/1.478 ms 2025-02-13 16:56:42,527 - WARNING - Ping to IP 139.149.229.131 from VM ctest-TestBasicPolicy-45653459-95239437 failed 2025-02-13 16:56:42,527 - INFO - Deleting VM ctest-TestBasicPolicy-45653459-74752961 2025-02-13 16:56:42,605 - INFO - Deleting VM ctest-TestBasicPolicy-45653459-95239437 2025-02-13 16:56:43,040 - INFO - Deleted policy ctest-policy-allow-all-46685313 2025-02-13 16:56:43,040 - INFO - Deleting VN ctest-vn-18764976 2025-02-13 16:56:43,088 - DEBUG - VN 002378d0-55ac-4e7d-a8ea-d95cd814c6a2 still in use: Unable to complete operation on network 002378d0-55ac-4e7d-a8ea-d95cd814c6a2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5f4084b-a119-4246-a98f-c7483b7db663'] 2025-02-13 16:56:43,088 - WARNING - Deleting VN ctest-vn-18764976 failed..Will retry 2025-02-13 16:56:45,220 - DEBUG - Response for deleting network () 2025-02-13 16:56:45,220 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/63ad9c25-d400-4b35-8f8d-4de7180d50f0 2025-02-13 16:56:45,226 - DEBUG - Response Code: 404 2025-02-13 16:56:45,226 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-13 16:56:45,238 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fea8f582-5be3-48bd-a42b-79fa7828e9c3 2025-02-13 16:56:45,295 - DEBUG - Requesting: http://10.0.0.33:8082/project/00dc355c-c57a-479e-a656-523f6f091c38 2025-02-13 16:56:45,371 - INFO - Validated that VN ctest-vn-18764976 is not found in API Server 2025-02-13 16:56:45,383 - DEBUG - VN ctest-vn-18764976 is not present in Agent 10.0.0.33 2025-02-13 16:56:45,383 - INFO - Validated that VN ctest-vn-18764976 is not in any agent 2025-02-13 16:56:45,403 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18764976 info 2025-02-13 16:56:45,403 - INFO - Deleting VN ctest-vn-49180090 2025-02-13 16:56:45,520 - DEBUG - Response for deleting network () 2025-02-13 16:56:45,520 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7063a531-fa52-4820-b3c1-ce2781622631 2025-02-13 16:56:45,529 - DEBUG - Response Code: 404 2025-02-13 16:56:45,529 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-02-13 16:56:45,537 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fea8f582-5be3-48bd-a42b-79fa7828e9c3 2025-02-13 16:56:45,592 - DEBUG - Requesting: http://10.0.0.33:8082/project/00dc355c-c57a-479e-a656-523f6f091c38 2025-02-13 16:56:45,674 - INFO - Validated that VN ctest-vn-49180090 is not found in API Server 2025-02-13 16:56:45,692 - DEBUG - VN ctest-vn-49180090 is not present in Agent 10.0.0.33 2025-02-13 16:56:45,692 - INFO - Validated that VN ctest-vn-49180090 is not in any agent 2025-02-13 16:56:45,710 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49180090 info 2025-02-13 16:56:45,984 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 16:56:45,984 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-13 16:56:45,984 - INFO - -------------------------------------------------------------------------------- 2025-02-13 16:56:46,712 - INFO - Deleted project: ctest-TestBasicPolicy-45653459, ID : 00dc355c-c57a-479e-a656-523f6f091c38