2025-03-22 09:16:01,147 - INFO - Domain Default found not creating 2025-03-22 09:16:01,345 - INFO - Project ctest-TestBasicPolicy-03153245 not found, creating it 2025-03-22 09:16:01,900 - INFO - Created Project:ctest-TestBasicPolicy-03153245, ID : c13da4dd-9fa1-4bd7-9891-6181348b93f6 2025-03-22 09:16:03,636 - INFO - ================================================================================ 2025-03-22 09:16:03,636 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-22 09:16:03,636 - 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-03-22 09:16:03,903 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.6': '0'}} with 2025-03-22 09:16:03,903 - INFO - Initial checks done. Running the testcase now 2025-03-22 09:16:03,904 - INFO - 2025-03-22 09:16:04,576 - DEBUG - Response for create_network : {'network': {'id': 'd8045a18-6a1b-47fa-9768-13eb7cb8bfa8', 'name': 'ctest-vn-48742074', 'tenant_id': 'c13da4dd9fa14bd798916181348b93f6', 'project_id': 'c13da4dd9fa14bd798916181348b93f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03153245', 'ctest-vn-48742074'], 'port_security_enabled': True, 'description': ''}} 2025-03-22 09:16:04,788 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a15d8adb-53f1-4926-88e0-300478e55a37', 'name': '', 'tenant_id': 'c13da4dd9fa14bd798916181348b93f6', 'network_id': 'd8045a18-6a1b-47fa-9768-13eb7cb8bfa8', 'ip_version': 4, 'cidr': '203.37.206.128/26', 'allocation_pools': [{'start': '203.37.206.130', 'end': '203.37.206.190'}], 'gateway_ip': '203.37.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.37.206.130', 'tags': [], 'project_id': 'c13da4dd9fa14bd798916181348b93f6'}} 2025-03-22 09:16:04,813 - INFO - Created VN ctest-vn-48742074 2025-03-22 09:16:04,877 - DEBUG - VN ctest-vn-48742074 UUID is d8045a18-6a1b-47fa-9768-13eb7cb8bfa8 2025-03-22 09:16:05,259 - DEBUG - Response for create_network : {'network': {'id': '865fde67-76fe-4211-993b-c7f7779e74e4', 'name': 'ctest-vn-67202804', 'tenant_id': 'c13da4dd9fa14bd798916181348b93f6', 'project_id': 'c13da4dd9fa14bd798916181348b93f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03153245', 'ctest-vn-67202804'], 'port_security_enabled': True, 'description': ''}} 2025-03-22 09:16:05,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d2a7684-41d3-4aaa-a034-6274d11f28cb', 'name': '', 'tenant_id': 'c13da4dd9fa14bd798916181348b93f6', 'network_id': '865fde67-76fe-4211-993b-c7f7779e74e4', 'ip_version': 4, 'cidr': '22.103.51.0/26', 'allocation_pools': [{'start': '22.103.51.2', 'end': '22.103.51.62'}], 'gateway_ip': '22.103.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.103.51.2', 'tags': [], 'project_id': 'c13da4dd9fa14bd798916181348b93f6'}} 2025-03-22 09:16:05,486 - INFO - Created VN ctest-vn-67202804 2025-03-22 09:16:05,541 - DEBUG - VN ctest-vn-67202804 UUID is 865fde67-76fe-4211-993b-c7f7779e74e4 2025-03-22 09:16:05,669 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-48742074, 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-03153245:ctest-vn-67202804, 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-03-22 09:16:06,023 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8045a18-6a1b-47fa-9768-13eb7cb8bfa8', 'name': 'ctest-vn-48742074', 'tenant_id': 'c13da4dd9fa14bd798916181348b93f6', 'project_id': 'c13da4dd9fa14bd798916181348b93f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a15d8adb-53f1-4926-88e0-300478e55a37'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03153245', 'ctest-vn-48742074'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03153245', 'ctest-policy-allow-all-48243312']], 'subnet_ipam': [{'subnet_cidr': '203.37.206.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-22 09:16:06,299 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '865fde67-76fe-4211-993b-c7f7779e74e4', 'name': 'ctest-vn-67202804', 'tenant_id': 'c13da4dd9fa14bd798916181348b93f6', 'project_id': 'c13da4dd9fa14bd798916181348b93f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d2a7684-41d3-4aaa-a034-6274d11f28cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03153245', 'ctest-vn-67202804'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03153245', 'ctest-policy-allow-all-48243312']], 'subnet_ipam': [{'subnet_cidr': '22.103.51.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-22 09:16:06,477 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 09:16:06,779 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 09:16:06,815 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fb162dd-63b4-40c2-a447-4c5004da30a2 2025-03-22 09:16:06,834 - DEBUG - Requesting: http://10.0.0.22:8082/project/c13da4dd-9fa1-4bd7-9891-6181348b93f6 2025-03-22 09:16:06,934 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d8045a18-6a1b-47fa-9768-13eb7cb8bfa8 2025-03-22 09:16:06,950 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d8045a18-6a1b-47fa-9768-13eb7cb8bfa8 2025-03-22 09:16:06,963 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0cc195b1-f700-427b-aefb-8e6df88813e0 2025-03-22 09:16:06,974 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0cc195b1-f700-427b-aefb-8e6df88813e0 2025-03-22 09:16:06,985 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0e8b4867-b36f-4ed9-8b45-35cfcdd45f18 2025-03-22 09:16:06,995 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-22 09:16:06,995 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d8045a18-6a1b-47fa-9768-13eb7cb8bfa8 2025-03-22 09:16:07,008 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0cc195b1-f700-427b-aefb-8e6df88813e0 2025-03-22 09:16:07,029 - INFO - Verified VN network id 9 for VN d8045a18-6a1b-47fa-9768-13eb7cb8bfa8 2025-03-22 09:16:07,029 - INFO - Verifications in API Server for VN ctest-vn-48742074 passed 2025-03-22 09:16:07,029 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d8045a18-6a1b-47fa-9768-13eb7cb8bfa8 2025-03-22 09:16:07,056 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0cc195b1-f700-427b-aefb-8e6df88813e0 2025-03-22 09:16:07,067 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0cc195b1-f700-427b-aefb-8e6df88813e0 2025-03-22 09:16:07,079 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0e8b4867-b36f-4ed9-8b45-35cfcdd45f18 2025-03-22 09:16:07,103 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-48742074', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03153245', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15565665273005164538', 'uuid-lslong': '10909991999435751336'}, 'enable': 'true', 'created': '2025-03-22T09:16:04', 'last-modified': '2025-03-22T09:16:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.122483'} 2025-03-22 09:16:07,111 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-22 09:16:07,111 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48742074 passed 2025-03-22 09:16:07,111 - DEBUG - ====Verifying policy data for ctest-vn-48742074 in API_Server ====== 2025-03-22 09:16:07,111 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 09:16:07,120 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fb162dd-63b4-40c2-a447-4c5004da30a2 2025-03-22 09:16:07,140 - DEBUG - Requesting: http://10.0.0.22:8082/project/c13da4dd-9fa1-4bd7-9891-6181348b93f6 2025-03-22 09:16:07,231 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d8045a18-6a1b-47fa-9768-13eb7cb8bfa8 2025-03-22 09:16:07,243 - DEBUG - ==>Verifying data for policy with id: 61ae934e-0ed3-4bbf-8db1-7ff188dbc172, fqn: ['default-domain', 'ctest-TestBasicPolicy-03153245', 'ctest-policy-allow-all-48243312'] 2025-03-22 09:16:07,243 - INFO - VN ctest-vn-48742074 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-22 09:16:07,243 - DEBUG - Verifying the vn in opserver 2025-03-22 09:16:07,243 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-48742074 virtual network link through opserver 10.0.0.22 2025-03-22 09:16:07,244 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-03-22 09:16:07,543 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-03-22 09:16:07,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-48742074', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-48742074?flat'} 2025-03-22 09:16:07,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-48742074 is found in opserver 2025-03-22 09:16:07,623 - DEBUG - Do not have enough data to verify VN in agent 2025-03-22 09:16:07,629 - DEBUG - VRF ids for VN ctest-vn-48742074: {} 2025-03-22 09:16:07,629 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 09:16:07,636 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fb162dd-63b4-40c2-a447-4c5004da30a2 2025-03-22 09:16:07,652 - DEBUG - Requesting: http://10.0.0.22:8082/project/c13da4dd-9fa1-4bd7-9891-6181348b93f6 2025-03-22 09:16:07,735 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/865fde67-76fe-4211-993b-c7f7779e74e4 2025-03-22 09:16:07,751 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/865fde67-76fe-4211-993b-c7f7779e74e4 2025-03-22 09:16:07,763 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/84f221d2-cdad-4c55-8171-1b8de62ad811 2025-03-22 09:16:07,774 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/84f221d2-cdad-4c55-8171-1b8de62ad811 2025-03-22 09:16:07,783 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a23325fd-4efa-4654-a179-a95fffed0780 2025-03-22 09:16:07,793 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-22 09:16:07,793 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/865fde67-76fe-4211-993b-c7f7779e74e4 2025-03-22 09:16:07,805 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/84f221d2-cdad-4c55-8171-1b8de62ad811 2025-03-22 09:16:07,825 - INFO - Verified VN network id 10 for VN 865fde67-76fe-4211-993b-c7f7779e74e4 2025-03-22 09:16:07,826 - INFO - Verifications in API Server for VN ctest-vn-67202804 passed 2025-03-22 09:16:07,826 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/865fde67-76fe-4211-993b-c7f7779e74e4 2025-03-22 09:16:07,838 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/84f221d2-cdad-4c55-8171-1b8de62ad811 2025-03-22 09:16:07,848 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/84f221d2-cdad-4c55-8171-1b8de62ad811 2025-03-22 09:16:07,856 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a23325fd-4efa-4654-a179-a95fffed0780 2025-03-22 09:16:07,873 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-67202804', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03153245', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9682702259829228049', 'uuid-lslong': '11041638777106625764'}, 'enable': 'true', 'created': '2025-03-22T09:16:05', 'last-modified': '2025-03-22T09:16:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.606748'} 2025-03-22 09:16:07,882 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-22 09:16:07,882 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67202804 passed 2025-03-22 09:16:07,882 - DEBUG - ====Verifying policy data for ctest-vn-67202804 in API_Server ====== 2025-03-22 09:16:07,882 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 09:16:07,890 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fb162dd-63b4-40c2-a447-4c5004da30a2 2025-03-22 09:16:07,906 - DEBUG - Requesting: http://10.0.0.22:8082/project/c13da4dd-9fa1-4bd7-9891-6181348b93f6 2025-03-22 09:16:07,991 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/865fde67-76fe-4211-993b-c7f7779e74e4 2025-03-22 09:16:08,004 - DEBUG - ==>Verifying data for policy with id: 61ae934e-0ed3-4bbf-8db1-7ff188dbc172, fqn: ['default-domain', 'ctest-TestBasicPolicy-03153245', 'ctest-policy-allow-all-48243312'] 2025-03-22 09:16:08,004 - INFO - VN ctest-vn-67202804 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-22 09:16:08,005 - DEBUG - Verifying the vn in opserver 2025-03-22 09:16:08,005 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-67202804 virtual network link through opserver 10.0.0.22 2025-03-22 09:16:08,005 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-03-22 09:16:08,018 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-67202804', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-67202804?flat'} 2025-03-22 09:16:08,018 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-67202804 is found in opserver 2025-03-22 09:16:08,032 - DEBUG - Do not have enough data to verify VN in agent 2025-03-22 09:16:08,040 - DEBUG - VRF ids for VN ctest-vn-67202804: {} 2025-03-22 09:16:08,118 - DEBUG - Services list from nova: [, , ] 2025-03-22 09:16:09,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2934-1) 2025-03-22 09:16:10,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2934-1) 2025-03-22 09:16:10,658 - INFO - Waiting for VM ctest-TestBasicPolicy-03153245-45490105 to be up.. 2025-03-22 09:16:10,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-22 09:16:15,845 - DEBUG - VM is in ACTIVE state now 2025-03-22 09:16:15,845 - INFO - VM name : ctest-TestBasicPolicy-03153245-45490105 2025-03-22 09:16:15,926 - DEBUG - VM ctest-TestBasicPolicy-03153245-45490105 ID is b16745f8-efc0-4a42-8491-33626263a8db 2025-03-22 09:16:15,946 - DEBUG - VM ctest-TestBasicPolicy-03153245-45490105 launched on Node cn-jenkins-deploy-platform-ansible-os-2934-1 2025-03-22 09:16:16,034 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b16745f8-efc0-4a42-8491-33626263a8db 2025-03-22 09:16:16,047 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cdaf588c-8206-484b-a386-ff28c7117a90 2025-03-22 09:16:19,265 - 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 1009ms') 2025-03-22 09:16:19,265 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03153245-45490105 failed! 2025-03-22 09:16:19,325 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03153245:ctest-vn-48742074 is 203.37.206.129 and allocation pool is NOT set 2025-03-22 09:16:21,394 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.29 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 = 3.293/5.396/7.500/2.103 ms') 2025-03-22 09:16:21,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03153245-45490105 passed 2025-03-22 09:16:21,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 09:16:21,549 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03153245-45490105, IP 203.37.206.131, Port 22 2025-03-22 09:16:21,705 - DEBUG - VM ctest-TestBasicPolicy-03153245-45490105 is ready for SSH connections 2025-03-22 09:16:21,705 - INFO - Waiting for VM ctest-TestBasicPolicy-03153245-64951180 to be up.. 2025-03-22 09:16:21,795 - DEBUG - VM is in ACTIVE state now 2025-03-22 09:16:21,795 - INFO - VM name : ctest-TestBasicPolicy-03153245-64951180 2025-03-22 09:16:21,881 - DEBUG - VM ctest-TestBasicPolicy-03153245-64951180 ID is cc2ce801-e8a0-44aa-a644-0d1105aa5928 2025-03-22 09:16:21,881 - DEBUG - VM ctest-TestBasicPolicy-03153245-64951180 launched on Node cn-jenkins-deploy-platform-ansible-os-2934-1 2025-03-22 09:16:21,966 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cc2ce801-e8a0-44aa-a644-0d1105aa5928 2025-03-22 09:16:21,977 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7253adbc-abf9-441e-9419-bd23d49af7d7 2025-03-22 09:16:23,226 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.22 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 = 1.218/2.863/4.509/1.645 ms') 2025-03-22 09:16:23,227 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03153245-64951180 passed 2025-03-22 09:16:23,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 09:16:23,385 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03153245-64951180, IP 22.103.51.3, Port 22 2025-03-22 09:16:23,560 - DEBUG - VM ctest-TestBasicPolicy-03153245-64951180 is ready for SSH connections 2025-03-22 09:16:23,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 09:16:23,560 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.103.51.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-03-22 09:16:23,561 - DEBUG - ping -s 56 -c 3 -W 1 22.103.51.3 2025-03-22 09:16:27,633 - DEBUG - PING 22.103.51.3 (22.103.51.3): 56 data bytes 64 bytes from 22.103.51.3: seq=0 ttl=63 time=5.295 ms 64 bytes from 22.103.51.3: seq=1 ttl=63 time=1.077 ms 64 bytes from 22.103.51.3: seq=2 ttl=63 time=1.280 ms --- 22.103.51.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.077/2.550/5.295 ms 2025-03-22 09:16:27,633 - INFO - Ping to IP 22.103.51.3 from VM ctest-TestBasicPolicy-03153245-45490105 passed 2025-03-22 09:16:27,828 - DEBUG - Policy Update Response {"network-policy": {"uuid": "61ae934e-0ed3-4bbf-8db1-7ff188dbc172", "href": "http://10.0.0.22:8082/network-policy/61ae934e-0ed3-4bbf-8db1-7ff188dbc172"}} 2025-03-22 09:16:27,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 09:16:27,829 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.103.51.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-03-22 09:16:27,829 - DEBUG - ping -s 56 -c 3 -W 1 22.103.51.3 2025-03-22 09:16:31,058 - DEBUG - PING 22.103.51.3 (22.103.51.3): 56 data bytes 64 bytes from 22.103.51.3: seq=0 ttl=63 time=1.700 ms --- 22.103.51.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.700/1.700/1.700 ms 2025-03-22 09:16:31,058 - WARNING - Ping to IP 22.103.51.3 from VM ctest-TestBasicPolicy-03153245-45490105 failed 2025-03-22 09:16:31,058 - INFO - Deleting VM ctest-TestBasicPolicy-03153245-64951180 2025-03-22 09:16:31,141 - INFO - Deleting VM ctest-TestBasicPolicy-03153245-45490105 2025-03-22 09:16:31,600 - INFO - Deleted policy ctest-policy-allow-all-48243312 2025-03-22 09:16:31,600 - INFO - Deleting VN ctest-vn-67202804 2025-03-22 09:16:31,648 - DEBUG - VN 865fde67-76fe-4211-993b-c7f7779e74e4 still in use: Unable to complete operation on network 865fde67-76fe-4211-993b-c7f7779e74e4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c7c228a2-6bce-4d48-b51a-af296c0831e1'] 2025-03-22 09:16:31,648 - WARNING - Deleting VN ctest-vn-67202804 failed..Will retry 2025-03-22 09:16:33,785 - DEBUG - Response for deleting network () 2025-03-22 09:16:33,785 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/84f221d2-cdad-4c55-8171-1b8de62ad811 2025-03-22 09:16:33,799 - DEBUG - Response Code: 404 2025-03-22 09:16:33,799 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 09:16:33,807 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fb162dd-63b4-40c2-a447-4c5004da30a2 2025-03-22 09:16:33,865 - DEBUG - Requesting: http://10.0.0.22:8082/project/c13da4dd-9fa1-4bd7-9891-6181348b93f6 2025-03-22 09:16:33,957 - INFO - Validated that VN ctest-vn-67202804 is not found in API Server 2025-03-22 09:16:33,970 - DEBUG - VN ctest-vn-67202804 is not present in Agent 10.0.0.22 2025-03-22 09:16:33,970 - INFO - Validated that VN ctest-vn-67202804 is not in any agent 2025-03-22 09:16:33,989 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67202804 info 2025-03-22 09:16:33,990 - INFO - Deleting VN ctest-vn-48742074 2025-03-22 09:16:34,135 - DEBUG - Response for deleting network () 2025-03-22 09:16:34,135 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0cc195b1-f700-427b-aefb-8e6df88813e0 2025-03-22 09:16:34,142 - DEBUG - Response Code: 404 2025-03-22 09:16:34,142 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-22 09:16:34,154 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fb162dd-63b4-40c2-a447-4c5004da30a2 2025-03-22 09:16:34,215 - DEBUG - Requesting: http://10.0.0.22:8082/project/c13da4dd-9fa1-4bd7-9891-6181348b93f6 2025-03-22 09:16:34,297 - INFO - Validated that VN ctest-vn-48742074 is not found in API Server 2025-03-22 09:16:34,314 - DEBUG - VN ctest-vn-48742074 is not present in Agent 10.0.0.22 2025-03-22 09:16:34,314 - INFO - Validated that VN ctest-vn-48742074 is not in any agent 2025-03-22 09:16:34,333 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48742074 info 2025-03-22 09:16:34,596 - DEBUG - No XMPP flaps were noticed during the test 2025-03-22 09:16:34,596 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-03-22 09:16:34,596 - INFO - -------------------------------------------------------------------------------- 2025-03-22 09:16:35,334 - INFO - Deleted project: ctest-TestBasicPolicy-03153245, ID : c13da4dd-9fa1-4bd7-9891-6181348b93f6