2025-05-13 08:31:48,734 - INFO - Domain Default found not creating 2025-05-13 08:31:48,885 - INFO - Project ctest-TestBasicPolicy-23855680 not found, creating it 2025-05-13 08:31:49,366 - INFO - Created Project:ctest-TestBasicPolicy-23855680, ID : 9ec0de55-7ee8-460e-b969-4453938f6b9b 2025-05-13 08:31:50,837 - INFO - ================================================================================ 2025-05-13 08:31:50,838 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-13 08:31:50,838 - 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-05-13 08:31:51,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-05-13 08:31:51,092 - INFO - Initial checks done. Running the testcase now 2025-05-13 08:31:51,092 - INFO - 2025-05-13 08:31:51,654 - DEBUG - Response for create_network : {'network': {'id': '0e929882-f5ed-4fe1-abc6-a099540dac34', 'name': 'ctest-vn-51584595', 'tenant_id': '9ec0de557ee8460eb9694453938f6b9b', 'project_id': '9ec0de557ee8460eb9694453938f6b9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23855680', 'ctest-vn-51584595'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 08:31:51,858 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bad935ce-1da2-49a8-8285-eafd4d9936d4', 'name': '', 'tenant_id': '9ec0de557ee8460eb9694453938f6b9b', 'network_id': '0e929882-f5ed-4fe1-abc6-a099540dac34', 'ip_version': 4, 'cidr': '146.175.39.0/26', 'allocation_pools': [{'start': '146.175.39.2', 'end': '146.175.39.62'}], 'gateway_ip': '146.175.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.175.39.2', 'tags': [], 'project_id': '9ec0de557ee8460eb9694453938f6b9b'}} 2025-05-13 08:31:51,875 - INFO - Created VN ctest-vn-51584595 2025-05-13 08:31:51,929 - DEBUG - VN ctest-vn-51584595 UUID is 0e929882-f5ed-4fe1-abc6-a099540dac34 2025-05-13 08:31:52,226 - DEBUG - Response for create_network : {'network': {'id': '718ae90a-e2e0-4ad5-898a-93de3497ec29', 'name': 'ctest-vn-87896116', 'tenant_id': '9ec0de557ee8460eb9694453938f6b9b', 'project_id': '9ec0de557ee8460eb9694453938f6b9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23855680', 'ctest-vn-87896116'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 08:31:52,388 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5453038-ee21-462d-b541-4e67eb02d1e1', 'name': '', 'tenant_id': '9ec0de557ee8460eb9694453938f6b9b', 'network_id': '718ae90a-e2e0-4ad5-898a-93de3497ec29', 'ip_version': 4, 'cidr': '218.231.106.128/26', 'allocation_pools': [{'start': '218.231.106.130', 'end': '218.231.106.190'}], 'gateway_ip': '218.231.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.231.106.130', 'tags': [], 'project_id': '9ec0de557ee8460eb9694453938f6b9b'}} 2025-05-13 08:31:52,405 - INFO - Created VN ctest-vn-87896116 2025-05-13 08:31:52,457 - DEBUG - VN ctest-vn-87896116 UUID is 718ae90a-e2e0-4ad5-898a-93de3497ec29 2025-05-13 08:31:52,581 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-51584595, 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-23855680:ctest-vn-87896116, 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-05-13 08:31:52,884 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0e929882-f5ed-4fe1-abc6-a099540dac34', 'name': 'ctest-vn-51584595', 'tenant_id': '9ec0de557ee8460eb9694453938f6b9b', 'project_id': '9ec0de557ee8460eb9694453938f6b9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bad935ce-1da2-49a8-8285-eafd4d9936d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23855680', 'ctest-vn-51584595'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23855680', 'ctest-policy-allow-all-50779822']], 'subnet_ipam': [{'subnet_cidr': '146.175.39.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-13 08:31:53,128 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '718ae90a-e2e0-4ad5-898a-93de3497ec29', 'name': 'ctest-vn-87896116', 'tenant_id': '9ec0de557ee8460eb9694453938f6b9b', 'project_id': '9ec0de557ee8460eb9694453938f6b9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a5453038-ee21-462d-b541-4e67eb02d1e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23855680', 'ctest-vn-87896116'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23855680', 'ctest-policy-allow-all-50779822']], 'subnet_ipam': [{'subnet_cidr': '218.231.106.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-13 08:31:53,301 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 08:31:53,599 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 08:31:53,627 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d99bce94-4198-42b3-ad22-dd242410422c 2025-05-13 08:31:53,642 - DEBUG - Requesting: http://10.0.0.33:8082/project/9ec0de55-7ee8-460e-b969-4453938f6b9b 2025-05-13 08:31:53,716 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0e929882-f5ed-4fe1-abc6-a099540dac34 2025-05-13 08:31:53,730 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0e929882-f5ed-4fe1-abc6-a099540dac34 2025-05-13 08:31:53,745 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/47a8beb9-c6cf-4ddd-8f0d-0dc8fa214187 2025-05-13 08:31:53,755 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/47a8beb9-c6cf-4ddd-8f0d-0dc8fa214187 2025-05-13 08:31:53,764 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95d89fe1-c9c0-44bb-b502-d4ba83baf30c 2025-05-13 08:31:53,777 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 08:31:53,778 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0e929882-f5ed-4fe1-abc6-a099540dac34 2025-05-13 08:31:53,788 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/47a8beb9-c6cf-4ddd-8f0d-0dc8fa214187 2025-05-13 08:31:53,804 - INFO - Verified VN network id 8 for VN 0e929882-f5ed-4fe1-abc6-a099540dac34 2025-05-13 08:31:53,804 - INFO - Verifications in API Server for VN ctest-vn-51584595 passed 2025-05-13 08:31:53,804 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0e929882-f5ed-4fe1-abc6-a099540dac34 2025-05-13 08:31:53,814 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/47a8beb9-c6cf-4ddd-8f0d-0dc8fa214187 2025-05-13 08:31:53,821 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/47a8beb9-c6cf-4ddd-8f0d-0dc8fa214187 2025-05-13 08:31:53,829 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95d89fe1-c9c0-44bb-b502-d4ba83baf30c 2025-05-13 08:31:53,842 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-51584595', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23855680', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1050069351369887713', 'uuid-lslong': '12377757206275009588'}, 'enable': 'true', 'created': '2025-05-13T08:31:51', 'last-modified': '2025-05-13T08:31:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980554'} 2025-05-13 08:31:53,849 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 08:31:53,849 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51584595 passed 2025-05-13 08:31:53,850 - DEBUG - ====Verifying policy data for ctest-vn-51584595 in API_Server ====== 2025-05-13 08:31:53,850 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 08:31:53,855 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d99bce94-4198-42b3-ad22-dd242410422c 2025-05-13 08:31:53,868 - DEBUG - Requesting: http://10.0.0.33:8082/project/9ec0de55-7ee8-460e-b969-4453938f6b9b 2025-05-13 08:31:53,946 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0e929882-f5ed-4fe1-abc6-a099540dac34 2025-05-13 08:31:53,956 - DEBUG - ==>Verifying data for policy with id: f08bfb5c-0412-49bf-833a-208bd31a90c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-23855680', 'ctest-policy-allow-all-50779822'] 2025-05-13 08:31:53,956 - INFO - VN ctest-vn-51584595 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-13 08:31:53,956 - DEBUG - Verifying the vn in opserver 2025-05-13 08:31:53,956 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-51584595 virtual network link through opserver 10.0.0.33 2025-05-13 08:31:53,956 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-13 08:31:54,247 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-13 08:31:54,304 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-51584595', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-51584595?flat'} 2025-05-13 08:31:54,304 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-51584595 is found in opserver 2025-05-13 08:31:54,314 - DEBUG - Do not have enough data to verify VN in agent 2025-05-13 08:31:54,319 - DEBUG - VRF ids for VN ctest-vn-51584595: {} 2025-05-13 08:31:54,319 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 08:31:54,325 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d99bce94-4198-42b3-ad22-dd242410422c 2025-05-13 08:31:54,336 - DEBUG - Requesting: http://10.0.0.33:8082/project/9ec0de55-7ee8-460e-b969-4453938f6b9b 2025-05-13 08:31:54,407 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/718ae90a-e2e0-4ad5-898a-93de3497ec29 2025-05-13 08:31:54,423 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/718ae90a-e2e0-4ad5-898a-93de3497ec29 2025-05-13 08:31:54,432 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e3d8dbe1-3829-4c79-a042-d8aa43abada0 2025-05-13 08:31:54,440 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e3d8dbe1-3829-4c79-a042-d8aa43abada0 2025-05-13 08:31:54,447 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/50de0f57-6ef9-49ed-bdcf-21da9dfc4bf8 2025-05-13 08:31:54,453 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-13 08:31:54,453 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/718ae90a-e2e0-4ad5-898a-93de3497ec29 2025-05-13 08:31:54,462 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e3d8dbe1-3829-4c79-a042-d8aa43abada0 2025-05-13 08:31:54,476 - INFO - Verified VN network id 9 for VN 718ae90a-e2e0-4ad5-898a-93de3497ec29 2025-05-13 08:31:54,476 - INFO - Verifications in API Server for VN ctest-vn-87896116 passed 2025-05-13 08:31:54,477 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/718ae90a-e2e0-4ad5-898a-93de3497ec29 2025-05-13 08:31:54,487 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e3d8dbe1-3829-4c79-a042-d8aa43abada0 2025-05-13 08:31:54,494 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e3d8dbe1-3829-4c79-a042-d8aa43abada0 2025-05-13 08:31:54,501 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/50de0f57-6ef9-49ed-bdcf-21da9dfc4bf8 2025-05-13 08:31:54,513 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-87896116', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23855680', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8181607906037222101', 'uuid-lslong': '9910896512556592169'}, 'enable': 'true', 'created': '2025-05-13T08:31:52', 'last-modified': '2025-05-13T08:31:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.411352'} 2025-05-13 08:31:54,519 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-13 08:31:54,519 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87896116 passed 2025-05-13 08:31:54,519 - DEBUG - ====Verifying policy data for ctest-vn-87896116 in API_Server ====== 2025-05-13 08:31:54,519 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 08:31:54,525 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d99bce94-4198-42b3-ad22-dd242410422c 2025-05-13 08:31:54,537 - DEBUG - Requesting: http://10.0.0.33:8082/project/9ec0de55-7ee8-460e-b969-4453938f6b9b 2025-05-13 08:31:54,613 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/718ae90a-e2e0-4ad5-898a-93de3497ec29 2025-05-13 08:31:54,623 - DEBUG - ==>Verifying data for policy with id: f08bfb5c-0412-49bf-833a-208bd31a90c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-23855680', 'ctest-policy-allow-all-50779822'] 2025-05-13 08:31:54,623 - INFO - VN ctest-vn-87896116 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-13 08:31:54,623 - DEBUG - Verifying the vn in opserver 2025-05-13 08:31:54,623 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-87896116 virtual network link through opserver 10.0.0.33 2025-05-13 08:31:54,623 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-13 08:31:54,633 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-87896116', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-87896116?flat'} 2025-05-13 08:31:54,634 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-87896116 is found in opserver 2025-05-13 08:31:54,647 - DEBUG - Do not have enough data to verify VN in agent 2025-05-13 08:31:54,653 - DEBUG - VRF ids for VN ctest-vn-87896116: {} 2025-05-13 08:31:54,708 - DEBUG - Services list from nova: [, , ] 2025-05-13 08:31:55,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3301-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3301-1) 2025-05-13 08:31:56,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3301-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3301-1) 2025-05-13 08:31:56,952 - INFO - Waiting for VM ctest-TestBasicPolicy-23855680-42210939 to be up.. 2025-05-13 08:31:57,039 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-13 08:32:02,125 - DEBUG - VM is in ACTIVE state now 2025-05-13 08:32:02,125 - INFO - VM name : ctest-TestBasicPolicy-23855680-42210939 2025-05-13 08:32:02,206 - DEBUG - VM ctest-TestBasicPolicy-23855680-42210939 ID is 863edce1-042f-4b76-a546-2a46e63b1bf3 2025-05-13 08:32:02,230 - DEBUG - VM ctest-TestBasicPolicy-23855680-42210939 launched on Node cn-jenkins-deploy-platform-ansible-os-3301-1 2025-05-13 08:32:02,312 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/863edce1-042f-4b76-a546-2a46e63b1bf3 2025-05-13 08:32:02,321 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5a785d1f-2f64-46ef-979d-a33d4adbce7f 2025-05-13 08:32:05,597 - 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 1030ms') 2025-05-13 08:32:05,597 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23855680-42210939 failed! 2025-05-13 08:32:05,653 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23855680:ctest-vn-51584595 is 146.175.39.1 and allocation pool is NOT set 2025-05-13 08:32:07,720 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/3.519/6.588/3.068 ms') 2025-05-13 08:32:07,720 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23855680-42210939 passed 2025-05-13 08:32:07,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 08:32:07,878 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23855680-42210939, IP 146.175.39.3, Port 22 2025-05-13 08:32:08,033 - DEBUG - VM ctest-TestBasicPolicy-23855680-42210939 is ready for SSH connections 2025-05-13 08:32:08,033 - INFO - Waiting for VM ctest-TestBasicPolicy-23855680-86880012 to be up.. 2025-05-13 08:32:08,116 - DEBUG - VM is in ACTIVE state now 2025-05-13 08:32:08,117 - INFO - VM name : ctest-TestBasicPolicy-23855680-86880012 2025-05-13 08:32:08,191 - DEBUG - VM ctest-TestBasicPolicy-23855680-86880012 ID is 7df3ba6f-7d41-4c0d-a736-d1ba3063b5ab 2025-05-13 08:32:08,191 - DEBUG - VM ctest-TestBasicPolicy-23855680-86880012 launched on Node cn-jenkins-deploy-platform-ansible-os-3301-1 2025-05-13 08:32:08,266 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7df3ba6f-7d41-4c0d-a736-d1ba3063b5ab 2025-05-13 08:32:08,274 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1e228e81-2646-4cad-b520-fd850e4ab6b9 2025-05-13 08:32:09,517 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/1.846/3.204/1.357 ms') 2025-05-13 08:32:09,517 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23855680-86880012 passed 2025-05-13 08:32:09,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 08:32:09,665 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23855680-86880012, IP 218.231.106.131, Port 22 2025-05-13 08:32:09,821 - DEBUG - VM ctest-TestBasicPolicy-23855680-86880012 is ready for SSH connections 2025-05-13 08:32:09,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 08:32:09,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.231.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-05-13 08:32:09,821 - DEBUG - ping -s 56 -c 3 -W 1 218.231.106.131 2025-05-13 08:32:13,515 - DEBUG - PING 218.231.106.131 (218.231.106.131): 56 data bytes 64 bytes from 218.231.106.131: seq=0 ttl=63 time=3.320 ms 64 bytes from 218.231.106.131: seq=1 ttl=63 time=0.867 ms 64 bytes from 218.231.106.131: seq=2 ttl=63 time=0.718 ms --- 218.231.106.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/1.635/3.320 ms 2025-05-13 08:32:13,515 - INFO - Ping to IP 218.231.106.131 from VM ctest-TestBasicPolicy-23855680-42210939 passed 2025-05-13 08:32:13,693 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f08bfb5c-0412-49bf-833a-208bd31a90c7", "href": "http://10.0.0.33:8082/network-policy/f08bfb5c-0412-49bf-833a-208bd31a90c7"}} 2025-05-13 08:32:13,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 08:32:13,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.231.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-05-13 08:32:13,694 - DEBUG - ping -s 56 -c 3 -W 1 218.231.106.131 2025-05-13 08:32:16,913 - DEBUG - PING 218.231.106.131 (218.231.106.131): 56 data bytes --- 218.231.106.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-13 08:32:16,913 - WARNING - Ping to IP 218.231.106.131 from VM ctest-TestBasicPolicy-23855680-42210939 failed 2025-05-13 08:32:16,913 - INFO - Deleting VM ctest-TestBasicPolicy-23855680-86880012 2025-05-13 08:32:16,981 - INFO - Deleting VM ctest-TestBasicPolicy-23855680-42210939 2025-05-13 08:32:17,361 - INFO - Deleted policy ctest-policy-allow-all-50779822 2025-05-13 08:32:17,361 - INFO - Deleting VN ctest-vn-87896116 2025-05-13 08:32:17,396 - DEBUG - VN 718ae90a-e2e0-4ad5-898a-93de3497ec29 still in use: Unable to complete operation on network 718ae90a-e2e0-4ad5-898a-93de3497ec29. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-92efbef7-6453-4906-82c6-63be0df1c431'] 2025-05-13 08:32:17,396 - WARNING - Deleting VN ctest-vn-87896116 failed..Will retry 2025-05-13 08:32:19,515 - DEBUG - Response for deleting network () 2025-05-13 08:32:19,515 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e3d8dbe1-3829-4c79-a042-d8aa43abada0 2025-05-13 08:32:19,521 - DEBUG - Response Code: 404 2025-05-13 08:32:19,521 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 08:32:19,527 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d99bce94-4198-42b3-ad22-dd242410422c 2025-05-13 08:32:19,585 - DEBUG - Requesting: http://10.0.0.33:8082/project/9ec0de55-7ee8-460e-b969-4453938f6b9b 2025-05-13 08:32:19,662 - INFO - Validated that VN ctest-vn-87896116 is not found in API Server 2025-05-13 08:32:19,673 - DEBUG - VN ctest-vn-87896116 is not present in Agent 10.0.0.33 2025-05-13 08:32:19,673 - INFO - Validated that VN ctest-vn-87896116 is not in any agent 2025-05-13 08:32:19,690 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87896116 info 2025-05-13 08:32:19,690 - INFO - Deleting VN ctest-vn-51584595 2025-05-13 08:32:19,799 - DEBUG - Response for deleting network () 2025-05-13 08:32:19,799 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/47a8beb9-c6cf-4ddd-8f0d-0dc8fa214187 2025-05-13 08:32:19,811 - DEBUG - Response Code: 404 2025-05-13 08:32:19,811 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 08:32:19,819 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d99bce94-4198-42b3-ad22-dd242410422c 2025-05-13 08:32:19,875 - DEBUG - Requesting: http://10.0.0.33:8082/project/9ec0de55-7ee8-460e-b969-4453938f6b9b 2025-05-13 08:32:19,952 - INFO - Validated that VN ctest-vn-51584595 is not found in API Server 2025-05-13 08:32:19,963 - DEBUG - VN ctest-vn-51584595 is not present in Agent 10.0.0.33 2025-05-13 08:32:19,963 - INFO - Validated that VN ctest-vn-51584595 is not in any agent 2025-05-13 08:32:19,980 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51584595 info 2025-05-13 08:32:20,237 - DEBUG - No XMPP flaps were noticed during the test
2025-05-13 08:32:20,237 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-05-13 08:32:20,237 - INFO - -------------------------------------------------------------------------------- 2025-05-13 08:32:20,948 - INFO - Deleted project: ctest-TestBasicPolicy-23855680, ID : 9ec0de55-7ee8-460e-b969-4453938f6b9b