2025-08-22 16:33:38,184 - INFO - Domain Default found not creating 2025-08-22 16:33:38,322 - INFO - Project ctest-TestBasicPolicy-06804575 not found, creating it 2025-08-22 16:33:38,771 - INFO - Created Project:ctest-TestBasicPolicy-06804575, ID : f00c0fef-3472-46de-a582-3f8e908884e4 2025-08-22 16:33:40,232 - INFO - ================================================================================ 2025-08-22 16:33:40,232 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-22 16:33:40,232 - 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-22 16:33:40,491 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-22 16:33:40,492 - INFO - Initial checks done. Running the testcase now 2025-08-22 16:33:40,492 - INFO - 2025-08-22 16:33:41,049 - DEBUG - Response for create_network : {'network': {'id': 'e005fc00-a24c-46f4-a21a-1b21bb7f9d1c', 'name': 'ctest-vn-24084625', 'tenant_id': 'f00c0fef347246dea5823f8e908884e4', 'project_id': 'f00c0fef347246dea5823f8e908884e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06804575', 'ctest-vn-24084625'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:33:41,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '20200868-767b-40cc-ad9c-dd66ad2a8640', 'name': '', 'tenant_id': 'f00c0fef347246dea5823f8e908884e4', 'network_id': 'e005fc00-a24c-46f4-a21a-1b21bb7f9d1c', 'ip_version': 4, 'cidr': '93.120.206.128/26', 'allocation_pools': [{'start': '93.120.206.130', 'end': '93.120.206.190'}], 'gateway_ip': '93.120.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.120.206.130', 'tags': [], 'project_id': 'f00c0fef347246dea5823f8e908884e4'}} 2025-08-22 16:33:41,249 - INFO - Created VN ctest-vn-24084625 2025-08-22 16:33:41,301 - DEBUG - VN ctest-vn-24084625 UUID is e005fc00-a24c-46f4-a21a-1b21bb7f9d1c 2025-08-22 16:33:41,617 - DEBUG - Response for create_network : {'network': {'id': 'ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2', 'name': 'ctest-vn-27434478', 'tenant_id': 'f00c0fef347246dea5823f8e908884e4', 'project_id': 'f00c0fef347246dea5823f8e908884e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06804575', 'ctest-vn-27434478'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:33:41,844 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f769541-9da8-4c48-b1dd-fe65a387c621', 'name': '', 'tenant_id': 'f00c0fef347246dea5823f8e908884e4', 'network_id': 'ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2', 'ip_version': 4, 'cidr': '57.29.239.128/26', 'allocation_pools': [{'start': '57.29.239.130', 'end': '57.29.239.190'}], 'gateway_ip': '57.29.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.29.239.130', 'tags': [], 'project_id': 'f00c0fef347246dea5823f8e908884e4'}} 2025-08-22 16:33:41,862 - INFO - Created VN ctest-vn-27434478 2025-08-22 16:33:41,913 - DEBUG - VN ctest-vn-27434478 UUID is ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2 2025-08-22 16:33:42,028 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-24084625, 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-06804575:ctest-vn-27434478, 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-22 16:33:42,324 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e005fc00-a24c-46f4-a21a-1b21bb7f9d1c', 'name': 'ctest-vn-24084625', 'tenant_id': 'f00c0fef347246dea5823f8e908884e4', 'project_id': 'f00c0fef347246dea5823f8e908884e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20200868-767b-40cc-ad9c-dd66ad2a8640'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06804575', 'ctest-vn-24084625'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06804575', 'ctest-policy-allow-all-33024173']], 'subnet_ipam': [{'subnet_cidr': '93.120.206.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:33:42,595 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2', 'name': 'ctest-vn-27434478', 'tenant_id': 'f00c0fef347246dea5823f8e908884e4', 'project_id': 'f00c0fef347246dea5823f8e908884e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f769541-9da8-4c48-b1dd-fe65a387c621'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06804575', 'ctest-vn-27434478'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06804575', 'ctest-policy-allow-all-33024173']], 'subnet_ipam': [{'subnet_cidr': '57.29.239.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:33:42,757 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 16:33:43,051 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 16:33:43,077 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf53a1a6-cb6d-44dc-83b6-3bb6a4e6571e 2025-08-22 16:33:43,090 - DEBUG - Requesting: http://10.0.0.254:8082/project/f00c0fef-3472-46de-a582-3f8e908884e4 2025-08-22 16:33:43,161 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e005fc00-a24c-46f4-a21a-1b21bb7f9d1c 2025-08-22 16:33:43,172 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e005fc00-a24c-46f4-a21a-1b21bb7f9d1c 2025-08-22 16:33:43,182 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cfdbd393-c983-4064-9165-b58edd0244f0 2025-08-22 16:33:43,189 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cfdbd393-c983-4064-9165-b58edd0244f0 2025-08-22 16:33:43,195 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/12284050-dfa7-48d3-a0a0-823c8c1b2dbc 2025-08-22 16:33:43,201 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 16:33:43,201 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e005fc00-a24c-46f4-a21a-1b21bb7f9d1c 2025-08-22 16:33:43,209 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cfdbd393-c983-4064-9165-b58edd0244f0 2025-08-22 16:33:43,222 - INFO - Verified VN network id 12 for VN e005fc00-a24c-46f4-a21a-1b21bb7f9d1c 2025-08-22 16:33:43,222 - INFO - Verifications in API Server for VN ctest-vn-24084625 passed 2025-08-22 16:33:43,222 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e005fc00-a24c-46f4-a21a-1b21bb7f9d1c 2025-08-22 16:33:43,231 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cfdbd393-c983-4064-9165-b58edd0244f0 2025-08-22 16:33:43,237 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cfdbd393-c983-4064-9165-b58edd0244f0 2025-08-22 16:33:43,243 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/12284050-dfa7-48d3-a0a0-823c8c1b2dbc 2025-08-22 16:33:43,255 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-24084625', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06804575', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16142585519032518388', 'uuid-lslong': '11680678415232376092'}, 'enable': 'true', 'created': '2025-08-22T16:33:41', 'last-modified': '2025-08-22T16:33:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960991'} 2025-08-22 16:33:43,262 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 16:33:43,262 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24084625 passed 2025-08-22 16:33:43,262 - DEBUG - ====Verifying policy data for ctest-vn-24084625 in API_Server ====== 2025-08-22 16:33:43,262 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 16:33:43,268 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf53a1a6-cb6d-44dc-83b6-3bb6a4e6571e 2025-08-22 16:33:43,279 - DEBUG - Requesting: http://10.0.0.254:8082/project/f00c0fef-3472-46de-a582-3f8e908884e4 2025-08-22 16:33:43,353 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e005fc00-a24c-46f4-a21a-1b21bb7f9d1c 2025-08-22 16:33:43,366 - DEBUG - ==>Verifying data for policy with id: 7524ddf6-bc2d-4f8e-b9f7-c0222527132e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06804575', 'ctest-policy-allow-all-33024173'] 2025-08-22 16:33:43,366 - INFO - VN ctest-vn-24084625 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 16:33:43,366 - DEBUG - Verifying the vn in opserver 2025-08-22 16:33:43,366 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-24084625 virtual network link through opserver 10.0.0.254 2025-08-22 16:33:43,367 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-22 16:33:43,653 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-22 16:33:43,703 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-24084625', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-24084625?flat'} 2025-08-22 16:33:43,703 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-24084625 is found in opserver 2025-08-22 16:33:43,715 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 16:33:43,720 - DEBUG - VRF ids for VN ctest-vn-24084625: {} 2025-08-22 16:33:43,720 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 16:33:43,726 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf53a1a6-cb6d-44dc-83b6-3bb6a4e6571e 2025-08-22 16:33:43,738 - DEBUG - Requesting: http://10.0.0.254:8082/project/f00c0fef-3472-46de-a582-3f8e908884e4 2025-08-22 16:33:43,808 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2 2025-08-22 16:33:43,822 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2 2025-08-22 16:33:43,832 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f130a007-3818-4243-b6b6-faa4479f1b8f 2025-08-22 16:33:43,840 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f130a007-3818-4243-b6b6-faa4479f1b8f 2025-08-22 16:33:43,847 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/78c7d16f-2b94-40a5-b49d-9c7100139b9d 2025-08-22 16:33:43,854 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 16:33:43,854 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2 2025-08-22 16:33:43,862 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f130a007-3818-4243-b6b6-faa4479f1b8f 2025-08-22 16:33:43,875 - INFO - Verified VN network id 13 for VN ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2 2025-08-22 16:33:43,875 - INFO - Verifications in API Server for VN ctest-vn-27434478 passed 2025-08-22 16:33:43,875 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2 2025-08-22 16:33:43,885 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f130a007-3818-4243-b6b6-faa4479f1b8f 2025-08-22 16:33:43,892 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f130a007-3818-4243-b6b6-faa4479f1b8f 2025-08-22 16:33:43,899 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/78c7d16f-2b94-40a5-b49d-9c7100139b9d 2025-08-22 16:33:43,910 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-27434478', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06804575', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14558548383148624391', 'uuid-lslong': '10734417292839300002'}, 'enable': 'true', 'created': '2025-08-22T16:33:41', 'last-modified': '2025-08-22T16:33:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375665'} 2025-08-22 16:33:43,916 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 16:33:43,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27434478 passed 2025-08-22 16:33:43,917 - DEBUG - ====Verifying policy data for ctest-vn-27434478 in API_Server ====== 2025-08-22 16:33:43,917 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 16:33:43,922 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf53a1a6-cb6d-44dc-83b6-3bb6a4e6571e 2025-08-22 16:33:43,934 - DEBUG - Requesting: http://10.0.0.254:8082/project/f00c0fef-3472-46de-a582-3f8e908884e4 2025-08-22 16:33:44,007 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2 2025-08-22 16:33:44,027 - DEBUG - ==>Verifying data for policy with id: 7524ddf6-bc2d-4f8e-b9f7-c0222527132e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06804575', 'ctest-policy-allow-all-33024173'] 2025-08-22 16:33:44,027 - INFO - VN ctest-vn-27434478 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 16:33:44,027 - DEBUG - Verifying the vn in opserver 2025-08-22 16:33:44,027 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-27434478 virtual network link through opserver 10.0.0.254 2025-08-22 16:33:44,027 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-22 16:33:44,037 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-27434478', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-27434478?flat'} 2025-08-22 16:33:44,037 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-27434478 is found in opserver 2025-08-22 16:33:44,047 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 16:33:44,052 - DEBUG - VRF ids for VN ctest-vn-27434478: {} 2025-08-22 16:33:44,104 - DEBUG - Services list from nova: [, , ] 2025-08-22 16:33:45,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3911-1) 2025-08-22 16:33:46,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3911-1) 2025-08-22 16:33:46,222 - INFO - Waiting for VM ctest-TestBasicPolicy-06804575-58952468 to be up.. 2025-08-22 16:33:46,300 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 16:33:51,381 - DEBUG - VM is in ACTIVE state now 2025-08-22 16:33:51,381 - INFO - VM name : ctest-TestBasicPolicy-06804575-58952468 2025-08-22 16:33:51,451 - DEBUG - VM ctest-TestBasicPolicy-06804575-58952468 ID is 096fcbfa-ae41-433a-87de-47977af02373 2025-08-22 16:33:51,470 - DEBUG - VM ctest-TestBasicPolicy-06804575-58952468 launched on Node cn-jenkins-deploy-platform-ansible-os-3911-1 2025-08-22 16:33:51,538 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/096fcbfa-ae41-433a-87de-47977af02373 2025-08-22 16:33:51,547 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fa706817-5edf-4966-a6ae-a77e3caafbe2 2025-08-22 16:33:54,797 - 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 1007ms') 2025-08-22 16:33:54,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06804575-58952468 failed! 2025-08-22 16:33:54,857 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06804575:ctest-vn-24084625 is 93.120.206.129 and allocation pool is NOT set 2025-08-22 16:33:56,922 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.06 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 = 2.061/3.060/4.060/0.999 ms') 2025-08-22 16:33:56,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06804575-58952468 passed 2025-08-22 16:33:57,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:33:57,073 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06804575-58952468, IP 93.120.206.131, Port 22 2025-08-22 16:33:57,228 - DEBUG - VM ctest-TestBasicPolicy-06804575-58952468 is ready for SSH connections 2025-08-22 16:33:57,228 - INFO - Waiting for VM ctest-TestBasicPolicy-06804575-72759971 to be up.. 2025-08-22 16:33:57,309 - DEBUG - VM is in ACTIVE state now 2025-08-22 16:33:57,309 - INFO - VM name : ctest-TestBasicPolicy-06804575-72759971 2025-08-22 16:33:57,375 - DEBUG - VM ctest-TestBasicPolicy-06804575-72759971 ID is 1603ad37-0691-4d88-9344-8640567a93f9 2025-08-22 16:33:57,375 - DEBUG - VM ctest-TestBasicPolicy-06804575-72759971 launched on Node cn-jenkins-deploy-platform-ansible-os-3911-1 2025-08-22 16:33:57,439 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1603ad37-0691-4d88-9344-8640567a93f9 2025-08-22 16:33:57,447 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f3ed3e18-7fea-4601-90fb-c79258f9a832 2025-08-22 16:33:58,682 - 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=2.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.365/1.520/2.675/1.155 ms') 2025-08-22 16:33:58,682 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06804575-72759971 passed 2025-08-22 16:33:58,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:33:58,829 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06804575-72759971, IP 57.29.239.131, Port 22 2025-08-22 16:33:58,998 - DEBUG - VM ctest-TestBasicPolicy-06804575-72759971 is ready for SSH connections 2025-08-22 16:33:58,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:33:58,999 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.29.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 16:33:58,999 - DEBUG - ping -s 56 -c 3 -W 1 57.29.239.131 2025-08-22 16:34:02,960 - DEBUG - PING 57.29.239.131 (57.29.239.131): 56 data bytes 64 bytes from 57.29.239.131: seq=0 ttl=63 time=4.754 ms 64 bytes from 57.29.239.131: seq=1 ttl=63 time=0.697 ms 64 bytes from 57.29.239.131: seq=2 ttl=63 time=0.921 ms --- 57.29.239.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.697/2.124/4.754 ms 2025-08-22 16:34:02,961 - INFO - Ping to IP 57.29.239.131 from VM ctest-TestBasicPolicy-06804575-58952468 passed 2025-08-22 16:34:03,165 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7524ddf6-bc2d-4f8e-b9f7-c0222527132e", "href": "http://10.0.0.254:8082/network-policy/7524ddf6-bc2d-4f8e-b9f7-c0222527132e"}} 2025-08-22 16:34:03,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:34:03,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.29.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 16:34:03,165 - DEBUG - ping -s 56 -c 3 -W 1 57.29.239.131 2025-08-22 16:34:06,363 - DEBUG - PING 57.29.239.131 (57.29.239.131): 56 data bytes --- 57.29.239.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 16:34:06,364 - WARNING - Ping to IP 57.29.239.131 from VM ctest-TestBasicPolicy-06804575-58952468 failed 2025-08-22 16:34:06,364 - INFO - Deleting VM ctest-TestBasicPolicy-06804575-72759971 2025-08-22 16:34:06,424 - INFO - Deleting VM ctest-TestBasicPolicy-06804575-58952468 2025-08-22 16:34:06,820 - INFO - Deleted policy ctest-policy-allow-all-33024173 2025-08-22 16:34:06,820 - INFO - Deleting VN ctest-vn-27434478 2025-08-22 16:34:06,864 - DEBUG - VN ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2 still in use: Unable to complete operation on network ca0a5a9e-b6e9-4a07-94f8-4fa78a7f2ba2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f906c642-7915-46e6-a2cb-64bedfb5a600'] 2025-08-22 16:34:06,865 - WARNING - Deleting VN ctest-vn-27434478 failed..Will retry 2025-08-22 16:34:09,006 - DEBUG - Response for deleting network () 2025-08-22 16:34:09,006 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f130a007-3818-4243-b6b6-faa4479f1b8f 2025-08-22 16:34:09,013 - DEBUG - Response Code: 404 2025-08-22 16:34:09,014 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 16:34:09,020 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf53a1a6-cb6d-44dc-83b6-3bb6a4e6571e 2025-08-22 16:34:09,081 - DEBUG - Requesting: http://10.0.0.254:8082/project/f00c0fef-3472-46de-a582-3f8e908884e4 2025-08-22 16:34:09,158 - INFO - Validated that VN ctest-vn-27434478 is not found in API Server 2025-08-22 16:34:09,170 - DEBUG - VN ctest-vn-27434478 is not present in Agent 10.0.0.254 2025-08-22 16:34:09,170 - INFO - Validated that VN ctest-vn-27434478 is not in any agent 2025-08-22 16:34:09,186 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27434478 info 2025-08-22 16:34:09,186 - INFO - Deleting VN ctest-vn-24084625 2025-08-22 16:34:09,312 - DEBUG - Response for deleting network () 2025-08-22 16:34:09,312 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/cfdbd393-c983-4064-9165-b58edd0244f0 2025-08-22 16:34:09,317 - DEBUG - Response Code: 404 2025-08-22 16:34:09,317 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 16:34:09,325 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf53a1a6-cb6d-44dc-83b6-3bb6a4e6571e 2025-08-22 16:34:09,378 - DEBUG - Requesting: http://10.0.0.254:8082/project/f00c0fef-3472-46de-a582-3f8e908884e4 2025-08-22 16:34:09,451 - INFO - Validated that VN ctest-vn-24084625 is not found in API Server 2025-08-22 16:34:09,462 - DEBUG - VN ctest-vn-24084625 is not present in Agent 10.0.0.254 2025-08-22 16:34:09,462 - INFO - Validated that VN ctest-vn-24084625 is not in any agent 2025-08-22 16:34:09,479 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24084625 info 2025-08-22 16:34:09,743 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 16:34:09,743 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-22 16:34:09,743 - INFO - -------------------------------------------------------------------------------- 2025-08-22 16:34:10,410 - INFO - Deleted project: ctest-TestBasicPolicy-06804575, ID : f00c0fef-3472-46de-a582-3f8e908884e4