2025-08-13 13:56:32,162 - INFO - Domain Default found not creating 2025-08-13 13:56:32,294 - INFO - Project ctest-TestBasicPolicy-12864948 not found, creating it 2025-08-13 13:56:32,746 - INFO - Created Project:ctest-TestBasicPolicy-12864948, ID : 5ac6a6fa-698f-4cd6-a27e-0aa20b0779b8 2025-08-13 13:56:34,317 - INFO - ================================================================================ 2025-08-13 13:56:34,317 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-13 13:56:34,318 - 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-08-13 13:56:34,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-13 13:56:34,572 - INFO - Initial checks done. Running the testcase now 2025-08-13 13:56:34,572 - INFO - 2025-08-13 13:56:35,148 - DEBUG - Response for create_network : {'network': {'id': '1704a455-47e4-4495-bfee-04b1091234fb', 'name': 'ctest-vn-48812916', 'tenant_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'project_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12864948', 'ctest-vn-48812916'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 13:56:35,351 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d595892-59d1-448c-86aa-da145c63017e', 'name': '', 'tenant_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'network_id': '1704a455-47e4-4495-bfee-04b1091234fb', 'ip_version': 4, 'cidr': '75.145.123.64/26', 'allocation_pools': [{'start': '75.145.123.66', 'end': '75.145.123.126'}], 'gateway_ip': '75.145.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.145.123.66', 'tags': [], 'project_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8'}} 2025-08-13 13:56:35,367 - INFO - Created VN ctest-vn-48812916 2025-08-13 13:56:35,418 - DEBUG - VN ctest-vn-48812916 UUID is 1704a455-47e4-4495-bfee-04b1091234fb 2025-08-13 13:56:35,709 - DEBUG - Response for create_network : {'network': {'id': '69d6b7a3-2faa-4e19-863b-280091a17be4', 'name': 'ctest-vn-92430365', 'tenant_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'project_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12864948', 'ctest-vn-92430365'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 13:56:35,856 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6f3e558-c6bf-491d-8cbe-3f3776ebb5b1', 'name': '', 'tenant_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'network_id': '69d6b7a3-2faa-4e19-863b-280091a17be4', 'ip_version': 4, 'cidr': '218.157.104.128/26', 'allocation_pools': [{'start': '218.157.104.130', 'end': '218.157.104.190'}], 'gateway_ip': '218.157.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.157.104.130', 'tags': [], 'project_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8'}} 2025-08-13 13:56:35,874 - INFO - Created VN ctest-vn-92430365 2025-08-13 13:56:35,926 - DEBUG - VN ctest-vn-92430365 UUID is 69d6b7a3-2faa-4e19-863b-280091a17be4 2025-08-13 13:56:36,078 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-48812916, 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-12864948:ctest-vn-92430365, 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-08-13 13:56:36,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1704a455-47e4-4495-bfee-04b1091234fb', 'name': 'ctest-vn-48812916', 'tenant_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'project_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d595892-59d1-448c-86aa-da145c63017e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12864948', 'ctest-vn-48812916'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12864948', 'ctest-policy-allow-all-97971448']], 'subnet_ipam': [{'subnet_cidr': '75.145.123.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 13:56:36,619 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69d6b7a3-2faa-4e19-863b-280091a17be4', 'name': 'ctest-vn-92430365', 'tenant_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'project_id': '5ac6a6fa698f4cd6a27e0aa20b0779b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f6f3e558-c6bf-491d-8cbe-3f3776ebb5b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12864948', 'ctest-vn-92430365'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12864948', 'ctest-policy-allow-all-97971448']], 'subnet_ipam': [{'subnet_cidr': '218.157.104.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 13:56:36,782 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-13 13:56:37,118 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-13 13:56:37,146 - DEBUG - Requesting: http://10.0.0.33:8082/domain/738767c0-abd5-4644-8089-665cf1bd6a42 2025-08-13 13:56:37,159 - DEBUG - Requesting: http://10.0.0.33:8082/project/5ac6a6fa-698f-4cd6-a27e-0aa20b0779b8 2025-08-13 13:56:37,232 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1704a455-47e4-4495-bfee-04b1091234fb 2025-08-13 13:56:37,243 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1704a455-47e4-4495-bfee-04b1091234fb 2025-08-13 13:56:37,252 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0c45e0a5-b7a9-4947-8684-e1cb98cfe98f 2025-08-13 13:56:37,259 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0c45e0a5-b7a9-4947-8684-e1cb98cfe98f 2025-08-13 13:56:37,266 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/42809fab-8b01-48e8-b0e4-148688eb5d42 2025-08-13 13:56:37,272 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 13:56:37,272 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1704a455-47e4-4495-bfee-04b1091234fb 2025-08-13 13:56:37,281 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0c45e0a5-b7a9-4947-8684-e1cb98cfe98f 2025-08-13 13:56:37,295 - INFO - Verified VN network id 12 for VN 1704a455-47e4-4495-bfee-04b1091234fb 2025-08-13 13:56:37,295 - INFO - Verifications in API Server for VN ctest-vn-48812916 passed 2025-08-13 13:56:37,295 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1704a455-47e4-4495-bfee-04b1091234fb 2025-08-13 13:56:37,305 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0c45e0a5-b7a9-4947-8684-e1cb98cfe98f 2025-08-13 13:56:37,312 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0c45e0a5-b7a9-4947-8684-e1cb98cfe98f 2025-08-13 13:56:37,319 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/42809fab-8b01-48e8-b0e4-148688eb5d42 2025-08-13 13:56:37,331 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-48812916', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12864948', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1658631248964502677', 'uuid-lslong': '13829996664109282555'}, 'enable': 'true', 'created': '2025-08-13T13:56:35', 'last-modified': '2025-08-13T13:56:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980746'} 2025-08-13 13:56:37,338 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 13:56:37,338 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48812916 passed 2025-08-13 13:56:37,338 - DEBUG - ====Verifying policy data for ctest-vn-48812916 in API_Server ====== 2025-08-13 13:56:37,338 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-13 13:56:37,343 - DEBUG - Requesting: http://10.0.0.33:8082/domain/738767c0-abd5-4644-8089-665cf1bd6a42 2025-08-13 13:56:37,354 - DEBUG - Requesting: http://10.0.0.33:8082/project/5ac6a6fa-698f-4cd6-a27e-0aa20b0779b8 2025-08-13 13:56:37,425 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1704a455-47e4-4495-bfee-04b1091234fb 2025-08-13 13:56:37,435 - DEBUG - ==>Verifying data for policy with id: 06ca8808-8215-46b2-928d-c943c986625e, fqn: ['default-domain', 'ctest-TestBasicPolicy-12864948', 'ctest-policy-allow-all-97971448'] 2025-08-13 13:56:37,435 - INFO - VN ctest-vn-48812916 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 13:56:37,436 - DEBUG - Verifying the vn in opserver 2025-08-13 13:56:37,436 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-48812916 virtual network link through opserver 10.0.0.33 2025-08-13 13:56:37,436 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-13 13:56:37,769 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-13 13:56:37,822 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-48812916', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-48812916?flat'} 2025-08-13 13:56:37,822 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-48812916 is found in opserver 2025-08-13 13:56:37,833 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 13:56:37,838 - DEBUG - VRF ids for VN ctest-vn-48812916: {} 2025-08-13 13:56:37,838 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-13 13:56:37,843 - DEBUG - Requesting: http://10.0.0.33:8082/domain/738767c0-abd5-4644-8089-665cf1bd6a42 2025-08-13 13:56:37,855 - DEBUG - Requesting: http://10.0.0.33:8082/project/5ac6a6fa-698f-4cd6-a27e-0aa20b0779b8 2025-08-13 13:56:37,924 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69d6b7a3-2faa-4e19-863b-280091a17be4 2025-08-13 13:56:37,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69d6b7a3-2faa-4e19-863b-280091a17be4 2025-08-13 13:56:37,945 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ece6e02f-dff3-489d-a2a9-5a7c212ef25e 2025-08-13 13:56:37,952 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ece6e02f-dff3-489d-a2a9-5a7c212ef25e 2025-08-13 13:56:37,959 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/092d1306-57e7-444b-acbf-5dbce2c4e538 2025-08-13 13:56:37,965 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 13:56:37,965 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69d6b7a3-2faa-4e19-863b-280091a17be4 2025-08-13 13:56:37,974 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ece6e02f-dff3-489d-a2a9-5a7c212ef25e 2025-08-13 13:56:37,987 - INFO - Verified VN network id 13 for VN 69d6b7a3-2faa-4e19-863b-280091a17be4 2025-08-13 13:56:37,987 - INFO - Verifications in API Server for VN ctest-vn-92430365 passed 2025-08-13 13:56:37,987 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69d6b7a3-2faa-4e19-863b-280091a17be4 2025-08-13 13:56:37,997 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ece6e02f-dff3-489d-a2a9-5a7c212ef25e 2025-08-13 13:56:38,003 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ece6e02f-dff3-489d-a2a9-5a7c212ef25e 2025-08-13 13:56:38,010 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/092d1306-57e7-444b-acbf-5dbce2c4e538 2025-08-13 13:56:38,022 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-92430365', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12864948', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7626484930505756185', 'uuid-lslong': '9672368607616662500'}, 'enable': 'true', 'created': '2025-08-13T13:56:35', 'last-modified': '2025-08-13T13:56:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434106'} 2025-08-13 13:56:38,028 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 13:56:38,028 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92430365 passed 2025-08-13 13:56:38,028 - DEBUG - ====Verifying policy data for ctest-vn-92430365 in API_Server ====== 2025-08-13 13:56:38,028 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-13 13:56:38,033 - DEBUG - Requesting: http://10.0.0.33:8082/domain/738767c0-abd5-4644-8089-665cf1bd6a42 2025-08-13 13:56:38,045 - DEBUG - Requesting: http://10.0.0.33:8082/project/5ac6a6fa-698f-4cd6-a27e-0aa20b0779b8 2025-08-13 13:56:38,117 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69d6b7a3-2faa-4e19-863b-280091a17be4 2025-08-13 13:56:38,127 - DEBUG - ==>Verifying data for policy with id: 06ca8808-8215-46b2-928d-c943c986625e, fqn: ['default-domain', 'ctest-TestBasicPolicy-12864948', 'ctest-policy-allow-all-97971448'] 2025-08-13 13:56:38,127 - INFO - VN ctest-vn-92430365 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 13:56:38,127 - DEBUG - Verifying the vn in opserver 2025-08-13 13:56:38,127 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-92430365 virtual network link through opserver 10.0.0.33 2025-08-13 13:56:38,128 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-13 13:56:38,138 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-92430365', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-92430365?flat'} 2025-08-13 13:56:38,138 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-92430365 is found in opserver 2025-08-13 13:56:38,148 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 13:56:38,154 - DEBUG - VRF ids for VN ctest-vn-92430365: {} 2025-08-13 13:56:38,206 - DEBUG - Services list from nova: [, , ] 2025-08-13 13:56:39,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3838-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3838-1) 2025-08-13 13:56:40,448 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3838-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3838-1) 2025-08-13 13:56:40,448 - INFO - Waiting for VM ctest-TestBasicPolicy-12864948-48361303 to be up.. 2025-08-13 13:56:40,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 13:56:45,591 - DEBUG - VM is in ACTIVE state now 2025-08-13 13:56:45,591 - INFO - VM name : ctest-TestBasicPolicy-12864948-48361303 2025-08-13 13:56:45,660 - DEBUG - VM ctest-TestBasicPolicy-12864948-48361303 ID is 49a2ea28-4754-47cb-87fb-be67a8230eab 2025-08-13 13:56:45,679 - DEBUG - VM ctest-TestBasicPolicy-12864948-48361303 launched on Node cn-jenkins-deploy-platform-ansible-os-3838-1 2025-08-13 13:56:45,749 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/49a2ea28-4754-47cb-87fb-be67a8230eab 2025-08-13 13:56:45,758 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8a5c6763-bb9a-4498-8827-b54e6bb285a4 2025-08-13 13:56:49,011 - 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 1019ms') 2025-08-13 13:56:49,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12864948-48361303 failed! 2025-08-13 13:56:49,070 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12864948:ctest-vn-48812916 is 75.145.123.65 and allocation pool is NOT set 2025-08-13 13:56:51,130 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 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.387/3.727/7.068/3.340 ms') 2025-08-13 13:56:51,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12864948-48361303 passed 2025-08-13 13:56:51,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 13:56:51,282 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12864948-48361303, IP 75.145.123.67, Port 22 2025-08-13 13:56:51,437 - DEBUG - VM ctest-TestBasicPolicy-12864948-48361303 is ready for SSH connections 2025-08-13 13:56:51,437 - INFO - Waiting for VM ctest-TestBasicPolicy-12864948-57593564 to be up.. 2025-08-13 13:56:51,510 - DEBUG - VM is in ACTIVE state now 2025-08-13 13:56:51,510 - INFO - VM name : ctest-TestBasicPolicy-12864948-57593564 2025-08-13 13:56:51,592 - DEBUG - VM ctest-TestBasicPolicy-12864948-57593564 ID is b4b69799-a339-4c4a-b795-a323d13ebecc 2025-08-13 13:56:51,592 - DEBUG - VM ctest-TestBasicPolicy-12864948-57593564 launched on Node cn-jenkins-deploy-platform-ansible-os-3838-1 2025-08-13 13:56:51,669 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b4b69799-a339-4c4a-b795-a323d13ebecc 2025-08-13 13:56:51,677 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5ce49fd3-f107-4977-abdf-a2f644f80fcc 2025-08-13 13:56:52,911 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.509 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.509/1.772/3.035/1.263 ms') 2025-08-13 13:56:52,911 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12864948-57593564 passed 2025-08-13 13:56:53,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 13:56:53,066 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12864948-57593564, IP 218.157.104.131, Port 22 2025-08-13 13:56:53,221 - DEBUG - VM ctest-TestBasicPolicy-12864948-57593564 is ready for SSH connections 2025-08-13 13:56:53,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 13:56:53,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.157.104.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-13 13:56:53,222 - DEBUG - ping -s 56 -c 3 -W 1 218.157.104.131 2025-08-13 13:56:57,246 - DEBUG - PING 218.157.104.131 (218.157.104.131): 56 data bytes 64 bytes from 218.157.104.131: seq=0 ttl=63 time=3.664 ms 64 bytes from 218.157.104.131: seq=1 ttl=63 time=0.792 ms 64 bytes from 218.157.104.131: seq=2 ttl=63 time=0.794 ms --- 218.157.104.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.750/3.664 ms 2025-08-13 13:56:57,246 - INFO - Ping to IP 218.157.104.131 from VM ctest-TestBasicPolicy-12864948-48361303 passed 2025-08-13 13:56:57,430 - DEBUG - Policy Update Response {"network-policy": {"uuid": "06ca8808-8215-46b2-928d-c943c986625e", "href": "http://10.0.0.33:8082/network-policy/06ca8808-8215-46b2-928d-c943c986625e"}} 2025-08-13 13:56:57,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 13:56:57,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.157.104.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-13 13:56:57,430 - DEBUG - ping -s 56 -c 3 -W 1 218.157.104.131 2025-08-13 13:57:00,642 - DEBUG - PING 218.157.104.131 (218.157.104.131): 56 data bytes --- 218.157.104.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 13:57:00,642 - WARNING - Ping to IP 218.157.104.131 from VM ctest-TestBasicPolicy-12864948-48361303 failed 2025-08-13 13:57:00,643 - INFO - Deleting VM ctest-TestBasicPolicy-12864948-57593564 2025-08-13 13:57:00,709 - INFO - Deleting VM ctest-TestBasicPolicy-12864948-48361303 2025-08-13 13:57:01,125 - INFO - Deleted policy ctest-policy-allow-all-97971448 2025-08-13 13:57:01,125 - INFO - Deleting VN ctest-vn-92430365 2025-08-13 13:57:01,165 - DEBUG - VN 69d6b7a3-2faa-4e19-863b-280091a17be4 still in use: Unable to complete operation on network 69d6b7a3-2faa-4e19-863b-280091a17be4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad433917-050a-4568-bcff-3fe1e9a79081'] 2025-08-13 13:57:01,165 - WARNING - Deleting VN ctest-vn-92430365 failed..Will retry 2025-08-13 13:57:03,267 - DEBUG - Response for deleting network () 2025-08-13 13:57:03,267 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ece6e02f-dff3-489d-a2a9-5a7c212ef25e 2025-08-13 13:57:03,274 - DEBUG - Response Code: 404 2025-08-13 13:57:03,275 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-13 13:57:03,280 - DEBUG - Requesting: http://10.0.0.33:8082/domain/738767c0-abd5-4644-8089-665cf1bd6a42 2025-08-13 13:57:03,336 - DEBUG - Requesting: http://10.0.0.33:8082/project/5ac6a6fa-698f-4cd6-a27e-0aa20b0779b8 2025-08-13 13:57:03,412 - INFO - Validated that VN ctest-vn-92430365 is not found in API Server 2025-08-13 13:57:03,423 - DEBUG - VN ctest-vn-92430365 is not present in Agent 10.0.0.33 2025-08-13 13:57:03,423 - INFO - Validated that VN ctest-vn-92430365 is not in any agent 2025-08-13 13:57:03,440 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92430365 info 2025-08-13 13:57:03,440 - INFO - Deleting VN ctest-vn-48812916 2025-08-13 13:57:03,590 - DEBUG - Response for deleting network () 2025-08-13 13:57:03,590 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0c45e0a5-b7a9-4947-8684-e1cb98cfe98f 2025-08-13 13:57:03,598 - DEBUG - Response Code: 404 2025-08-13 13:57:03,598 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-13 13:57:03,604 - DEBUG - Requesting: http://10.0.0.33:8082/domain/738767c0-abd5-4644-8089-665cf1bd6a42 2025-08-13 13:57:03,656 - DEBUG - Requesting: http://10.0.0.33:8082/project/5ac6a6fa-698f-4cd6-a27e-0aa20b0779b8 2025-08-13 13:57:03,737 - INFO - Validated that VN ctest-vn-48812916 is not found in API Server 2025-08-13 13:57:03,748 - DEBUG - VN ctest-vn-48812916 is not present in Agent 10.0.0.33 2025-08-13 13:57:03,748 - INFO - Validated that VN ctest-vn-48812916 is not in any agent 2025-08-13 13:57:03,764 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48812916 info 2025-08-13 13:57:04,019 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 13:57:04,019 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-13 13:57:04,019 - INFO - -------------------------------------------------------------------------------- 2025-08-13 13:57:04,733 - INFO - Deleted project: ctest-TestBasicPolicy-12864948, ID : 5ac6a6fa-698f-4cd6-a27e-0aa20b0779b8