2025-07-18 15:02:33,914 - INFO - Domain Default found not creating 2025-07-18 15:02:34,357 - INFO - Project ctest-TestBasicPolicy-48507706 not found, creating it 2025-07-18 15:02:35,147 - INFO - Created Project:ctest-TestBasicPolicy-48507706, ID : 49557ea8-d1f3-45b6-b494-0218643f732f 2025-07-18 15:02:37,548 - INFO - ================================================================================ 2025-07-18 15:02:37,548 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-18 15:02:37,549 - 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-07-18 15:02:37,893 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-18 15:02:37,893 - INFO - Initial checks done. Running the testcase now 2025-07-18 15:02:37,893 - INFO - 2025-07-18 15:02:38,790 - DEBUG - Response for create_network : {'network': {'id': '368324ed-5c13-4946-9236-ce8b7f889440', 'name': 'ctest-vn-53908954', 'tenant_id': '49557ea8d1f345b6b4940218643f732f', 'project_id': '49557ea8d1f345b6b4940218643f732f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48507706', 'ctest-vn-53908954'], 'port_security_enabled': True, 'description': ''}} 2025-07-18 15:02:39,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '632f632d-e4c3-4e15-ba57-559637f60825', 'name': '', 'tenant_id': '49557ea8d1f345b6b4940218643f732f', 'network_id': '368324ed-5c13-4946-9236-ce8b7f889440', 'ip_version': 4, 'cidr': '98.74.56.128/26', 'allocation_pools': [{'start': '98.74.56.130', 'end': '98.74.56.190'}], 'gateway_ip': '98.74.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.74.56.130', 'tags': [], 'project_id': '49557ea8d1f345b6b4940218643f732f'}} 2025-07-18 15:02:39,087 - INFO - Created VN ctest-vn-53908954 2025-07-18 15:02:39,149 - DEBUG - VN ctest-vn-53908954 UUID is 368324ed-5c13-4946-9236-ce8b7f889440 2025-07-18 15:02:39,714 - DEBUG - Response for create_network : {'network': {'id': '0ae5a634-4dca-4464-990a-b1b234afabbe', 'name': 'ctest-vn-64033544', 'tenant_id': '49557ea8d1f345b6b4940218643f732f', 'project_id': '49557ea8d1f345b6b4940218643f732f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48507706', 'ctest-vn-64033544'], 'port_security_enabled': True, 'description': ''}} 2025-07-18 15:02:39,993 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ab10761-8f6b-488c-8a51-27aedf8d74e9', 'name': '', 'tenant_id': '49557ea8d1f345b6b4940218643f732f', 'network_id': '0ae5a634-4dca-4464-990a-b1b234afabbe', 'ip_version': 4, 'cidr': '138.225.152.192/26', 'allocation_pools': [{'start': '138.225.152.194', 'end': '138.225.152.254'}], 'gateway_ip': '138.225.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.225.152.194', 'tags': [], 'project_id': '49557ea8d1f345b6b4940218643f732f'}} 2025-07-18 15:02:40,036 - INFO - Created VN ctest-vn-64033544 2025-07-18 15:02:40,104 - DEBUG - VN ctest-vn-64033544 UUID is 0ae5a634-4dca-4464-990a-b1b234afabbe 2025-07-18 15:02:40,302 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-53908954, 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-48507706:ctest-vn-64033544, 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-07-18 15:02:40,829 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '368324ed-5c13-4946-9236-ce8b7f889440', 'name': 'ctest-vn-53908954', 'tenant_id': '49557ea8d1f345b6b4940218643f732f', 'project_id': '49557ea8d1f345b6b4940218643f732f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['632f632d-e4c3-4e15-ba57-559637f60825'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48507706', 'ctest-vn-53908954'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48507706', 'ctest-policy-allow-all-62933892']], 'subnet_ipam': [{'subnet_cidr': '98.74.56.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-18 15:02:41,213 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ae5a634-4dca-4464-990a-b1b234afabbe', 'name': 'ctest-vn-64033544', 'tenant_id': '49557ea8d1f345b6b4940218643f732f', 'project_id': '49557ea8d1f345b6b4940218643f732f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5ab10761-8f6b-488c-8a51-27aedf8d74e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48507706', 'ctest-vn-64033544'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48507706', 'ctest-policy-allow-all-62933892']], 'subnet_ipam': [{'subnet_cidr': '138.225.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-18 15:02:41,415 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 15:02:41,730 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 15:02:41,787 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e24b7d5a-3df8-47c4-865b-559ad5fe1b74 2025-07-18 15:02:41,827 - DEBUG - Requesting: http://10.0.0.254:8082/project/49557ea8-d1f3-45b6-b494-0218643f732f 2025-07-18 15:02:41,964 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/368324ed-5c13-4946-9236-ce8b7f889440 2025-07-18 15:02:41,992 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/368324ed-5c13-4946-9236-ce8b7f889440 2025-07-18 15:02:42,019 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f3357515-817d-49ad-a996-3d182c40027f 2025-07-18 15:02:42,045 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f3357515-817d-49ad-a996-3d182c40027f 2025-07-18 15:02:42,071 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6b69a9f-f6fb-424d-8c96-03937360e633 2025-07-18 15:02:42,090 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-18 15:02:42,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/368324ed-5c13-4946-9236-ce8b7f889440 2025-07-18 15:02:42,118 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f3357515-817d-49ad-a996-3d182c40027f 2025-07-18 15:02:42,147 - INFO - Verified VN network id 8 for VN 368324ed-5c13-4946-9236-ce8b7f889440 2025-07-18 15:02:42,148 - INFO - Verifications in API Server for VN ctest-vn-53908954 passed 2025-07-18 15:02:42,148 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/368324ed-5c13-4946-9236-ce8b7f889440 2025-07-18 15:02:42,171 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f3357515-817d-49ad-a996-3d182c40027f 2025-07-18 15:02:42,192 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f3357515-817d-49ad-a996-3d182c40027f 2025-07-18 15:02:42,211 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6b69a9f-f6fb-424d-8c96-03937360e633 2025-07-18 15:02:42,254 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-53908954', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48507706', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3928023901867821382', 'uuid-lslong': '10535835476815287360'}, 'enable': 'true', 'created': '2025-07-18T15:02:38', 'last-modified': '2025-07-18T15:02:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.483905'} 2025-07-18 15:02:42,279 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-18 15:02:42,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53908954 passed 2025-07-18 15:02:42,281 - DEBUG - ====Verifying policy data for ctest-vn-53908954 in API_Server ====== 2025-07-18 15:02:42,281 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 15:02:42,298 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e24b7d5a-3df8-47c4-865b-559ad5fe1b74 2025-07-18 15:02:42,334 - DEBUG - Requesting: http://10.0.0.254:8082/project/49557ea8-d1f3-45b6-b494-0218643f732f 2025-07-18 15:02:42,428 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/368324ed-5c13-4946-9236-ce8b7f889440 2025-07-18 15:02:42,445 - DEBUG - ==>Verifying data for policy with id: 2d8d1123-0934-47e3-ae0d-9b55fddb9280, fqn: ['default-domain', 'ctest-TestBasicPolicy-48507706', 'ctest-policy-allow-all-62933892'] 2025-07-18 15:02:42,445 - INFO - VN ctest-vn-53908954 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-18 15:02:42,445 - DEBUG - Verifying the vn in opserver 2025-07-18 15:02:42,445 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-53908954 virtual network link through opserver 10.0.0.254 2025-07-18 15:02:42,445 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-18 15:02:42,767 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-18 15:02:42,879 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-53908954', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-53908954?flat'} 2025-07-18 15:02:42,879 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-53908954 is found in opserver 2025-07-18 15:02:42,912 - DEBUG - Do not have enough data to verify VN in agent 2025-07-18 15:02:42,925 - DEBUG - VRF ids for VN ctest-vn-53908954: {} 2025-07-18 15:02:42,926 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 15:02:42,938 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e24b7d5a-3df8-47c4-865b-559ad5fe1b74 2025-07-18 15:02:42,967 - DEBUG - Requesting: http://10.0.0.254:8082/project/49557ea8-d1f3-45b6-b494-0218643f732f 2025-07-18 15:02:43,085 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0ae5a634-4dca-4464-990a-b1b234afabbe 2025-07-18 15:02:43,120 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0ae5a634-4dca-4464-990a-b1b234afabbe 2025-07-18 15:02:43,145 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/816f11fb-b7d7-4874-a45a-880b806ef0e3 2025-07-18 15:02:43,164 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/816f11fb-b7d7-4874-a45a-880b806ef0e3 2025-07-18 15:02:43,181 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f31ee4b7-36be-4ff6-a4a2-fb6f8ea8b35c 2025-07-18 15:02:43,198 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-18 15:02:43,199 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0ae5a634-4dca-4464-990a-b1b234afabbe 2025-07-18 15:02:43,223 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/816f11fb-b7d7-4874-a45a-880b806ef0e3 2025-07-18 15:02:43,255 - INFO - Verified VN network id 9 for VN 0ae5a634-4dca-4464-990a-b1b234afabbe 2025-07-18 15:02:43,255 - INFO - Verifications in API Server for VN ctest-vn-64033544 passed 2025-07-18 15:02:43,256 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0ae5a634-4dca-4464-990a-b1b234afabbe 2025-07-18 15:02:43,276 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/816f11fb-b7d7-4874-a45a-880b806ef0e3 2025-07-18 15:02:43,290 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/816f11fb-b7d7-4874-a45a-880b806ef0e3 2025-07-18 15:02:43,305 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f31ee4b7-36be-4ff6-a4a2-fb6f8ea8b35c 2025-07-18 15:02:43,331 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-64033544', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48507706', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '785216453619631204', 'uuid-lslong': '11027822016516303806'}, 'enable': 'true', 'created': '2025-07-18T15:02:39', 'last-modified': '2025-07-18T15:02:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.169369'} 2025-07-18 15:02:43,346 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-18 15:02:43,347 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64033544 passed 2025-07-18 15:02:43,347 - DEBUG - ====Verifying policy data for ctest-vn-64033544 in API_Server ====== 2025-07-18 15:02:43,347 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 15:02:43,366 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e24b7d5a-3df8-47c4-865b-559ad5fe1b74 2025-07-18 15:02:43,407 - DEBUG - Requesting: http://10.0.0.254:8082/project/49557ea8-d1f3-45b6-b494-0218643f732f 2025-07-18 15:02:43,547 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0ae5a634-4dca-4464-990a-b1b234afabbe 2025-07-18 15:02:43,579 - DEBUG - ==>Verifying data for policy with id: 2d8d1123-0934-47e3-ae0d-9b55fddb9280, fqn: ['default-domain', 'ctest-TestBasicPolicy-48507706', 'ctest-policy-allow-all-62933892'] 2025-07-18 15:02:43,579 - INFO - VN ctest-vn-64033544 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-18 15:02:43,580 - DEBUG - Verifying the vn in opserver 2025-07-18 15:02:43,580 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-64033544 virtual network link through opserver 10.0.0.254 2025-07-18 15:02:43,580 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-18 15:02:43,613 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-64033544', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-64033544?flat'} 2025-07-18 15:02:43,613 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-64033544 is found in opserver 2025-07-18 15:02:43,652 - DEBUG - Do not have enough data to verify VN in agent 2025-07-18 15:02:43,673 - DEBUG - VRF ids for VN ctest-vn-64033544: {} 2025-07-18 15:02:43,815 - DEBUG - Services list from nova: [, , ] 2025-07-18 15:02:45,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3662-1) 2025-07-18 15:02:47,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3662-1) 2025-07-18 15:02:47,063 - INFO - Waiting for VM ctest-TestBasicPolicy-48507706-21111197 to be up.. 2025-07-18 15:02:47,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-18 15:02:52,364 - DEBUG - VM is in ACTIVE state now 2025-07-18 15:02:52,364 - INFO - VM name : ctest-TestBasicPolicy-48507706-21111197 2025-07-18 15:02:52,516 - DEBUG - VM ctest-TestBasicPolicy-48507706-21111197 ID is e8687c07-2a5a-4fe4-bc93-e3b444e0d59f 2025-07-18 15:02:52,554 - DEBUG - VM ctest-TestBasicPolicy-48507706-21111197 launched on Node cn-jenkins-deploy-platform-ansible-os-3662-1 2025-07-18 15:02:52,690 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e8687c07-2a5a-4fe4-bc93-e3b444e0d59f 2025-07-18 15:02:52,710 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/97173fdd-331f-46aa-8212-f593e83f7cc1 2025-07-18 15:02:56,005 - 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 1021ms') 2025-07-18 15:02:56,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48507706-21111197 failed! 2025-07-18 15:02:56,063 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48507706:ctest-vn-53908954 is 98.74.56.129 and allocation pool is NOT set 2025-07-18 15:02:58,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=18.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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.774/10.525/18.276/7.751 ms') 2025-07-18 15:02:58,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48507706-21111197 passed 2025-07-18 15:02:58,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 15:02:58,291 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48507706-21111197, IP 98.74.56.131, Port 22 2025-07-18 15:02:58,458 - DEBUG - VM ctest-TestBasicPolicy-48507706-21111197 is ready for SSH connections 2025-07-18 15:02:58,458 - INFO - Waiting for VM ctest-TestBasicPolicy-48507706-55775011 to be up.. 2025-07-18 15:02:58,589 - DEBUG - VM is in ACTIVE state now 2025-07-18 15:02:58,589 - INFO - VM name : ctest-TestBasicPolicy-48507706-55775011 2025-07-18 15:02:58,676 - DEBUG - VM ctest-TestBasicPolicy-48507706-55775011 ID is 1eea59af-71c6-4494-889e-fe926e4be97f 2025-07-18 15:02:58,677 - DEBUG - VM ctest-TestBasicPolicy-48507706-55775011 launched on Node cn-jenkins-deploy-platform-ansible-os-3662-1 2025-07-18 15:02:58,766 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1eea59af-71c6-4494-889e-fe926e4be97f 2025-07-18 15:02:58,780 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f4091f73-f5aa-404c-ae0d-de3bb8ed0b3b 2025-07-18 15:03:00,068 - 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=5.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.25 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.253/3.321/5.389/2.068 ms') 2025-07-18 15:03:00,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48507706-55775011 passed 2025-07-18 15:03:00,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 15:03:00,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48507706-55775011, IP 138.225.152.195, Port 22 2025-07-18 15:03:00,430 - DEBUG - VM ctest-TestBasicPolicy-48507706-55775011 is ready for SSH connections 2025-07-18 15:03:00,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 15:03:00,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.225.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-18 15:03:00,430 - DEBUG - ping -s 56 -c 3 -W 1 138.225.152.195 2025-07-18 15:03:04,888 - DEBUG - PING 138.225.152.195 (138.225.152.195): 56 data bytes 64 bytes from 138.225.152.195: seq=0 ttl=63 time=4.853 ms 64 bytes from 138.225.152.195: seq=1 ttl=63 time=1.946 ms 64 bytes from 138.225.152.195: seq=2 ttl=63 time=1.745 ms --- 138.225.152.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.745/2.848/4.853 ms 2025-07-18 15:03:04,889 - INFO - Ping to IP 138.225.152.195 from VM ctest-TestBasicPolicy-48507706-21111197 passed 2025-07-18 15:03:05,164 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2d8d1123-0934-47e3-ae0d-9b55fddb9280", "href": "http://10.0.0.254:8082/network-policy/2d8d1123-0934-47e3-ae0d-9b55fddb9280"}} 2025-07-18 15:03:05,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 15:03:05,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.225.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-18 15:03:05,165 - DEBUG - ping -s 56 -c 3 -W 1 138.225.152.195 2025-07-18 15:03:08,512 - DEBUG - PING 138.225.152.195 (138.225.152.195): 56 data bytes --- 138.225.152.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-18 15:03:08,512 - WARNING - Ping to IP 138.225.152.195 from VM ctest-TestBasicPolicy-48507706-21111197 failed 2025-07-18 15:03:08,513 - INFO - Deleting VM ctest-TestBasicPolicy-48507706-55775011 2025-07-18 15:03:08,679 - INFO - Deleting VM ctest-TestBasicPolicy-48507706-21111197 2025-07-18 15:03:09,233 - INFO - Deleted policy ctest-policy-allow-all-62933892 2025-07-18 15:03:09,233 - INFO - Deleting VN ctest-vn-64033544 2025-07-18 15:03:09,287 - DEBUG - VN 0ae5a634-4dca-4464-990a-b1b234afabbe still in use: Unable to complete operation on network 0ae5a634-4dca-4464-990a-b1b234afabbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-047fd09b-8bf2-4d8c-a0d8-a177fe00f8fe'] 2025-07-18 15:03:09,287 - WARNING - Deleting VN ctest-vn-64033544 failed..Will retry 2025-07-18 15:03:11,548 - DEBUG - Response for deleting network () 2025-07-18 15:03:11,549 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/816f11fb-b7d7-4874-a45a-880b806ef0e3 2025-07-18 15:03:11,560 - DEBUG - Response Code: 404 2025-07-18 15:03:11,560 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 15:03:11,574 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e24b7d5a-3df8-47c4-865b-559ad5fe1b74 2025-07-18 15:03:11,591 - DEBUG - Requesting: http://10.0.0.254:8082/project/49557ea8-d1f3-45b6-b494-0218643f732f 2025-07-18 15:03:11,709 - INFO - Validated that VN ctest-vn-64033544 is not found in API Server 2025-07-18 15:03:11,741 - DEBUG - VN ctest-vn-64033544 is not present in Agent 10.0.0.254 2025-07-18 15:03:11,742 - INFO - Validated that VN ctest-vn-64033544 is not in any agent 2025-07-18 15:03:11,800 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64033544 info 2025-07-18 15:03:11,800 - INFO - Deleting VN ctest-vn-53908954 2025-07-18 15:03:12,028 - DEBUG - Response for deleting network () 2025-07-18 15:03:12,029 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f3357515-817d-49ad-a996-3d182c40027f 2025-07-18 15:03:12,038 - DEBUG - Response Code: 404 2025-07-18 15:03:12,038 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 15:03:12,052 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e24b7d5a-3df8-47c4-865b-559ad5fe1b74 2025-07-18 15:03:12,114 - DEBUG - Requesting: http://10.0.0.254:8082/project/49557ea8-d1f3-45b6-b494-0218643f732f 2025-07-18 15:03:12,234 - INFO - Validated that VN ctest-vn-53908954 is not found in API Server 2025-07-18 15:03:12,262 - DEBUG - VN ctest-vn-53908954 is not present in Agent 10.0.0.254 2025-07-18 15:03:12,262 - INFO - Validated that VN ctest-vn-53908954 is not in any agent 2025-07-18 15:03:12,304 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53908954 info 2025-07-18 15:03:12,642 - DEBUG - No XMPP flaps were noticed during the test 2025-07-18 15:03:12,642 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-07-18 15:03:12,643 - INFO - -------------------------------------------------------------------------------- 2025-07-18 15:03:13,499 - INFO - Deleted project: ctest-TestBasicPolicy-48507706, ID : 49557ea8-d1f3-45b6-b494-0218643f732f