2025-10-21 21:52:18,577 - INFO - Domain Default found not creating 2025-10-21 21:52:18,737 - INFO - Project ctest-TestBasicPolicy-06135162 not found, creating it 2025-10-21 21:52:19,199 - INFO - Created Project:ctest-TestBasicPolicy-06135162, ID : 74f340fe-eb88-4540-80c8-bbd2b3199343 2025-10-21 21:52:20,616 - INFO - ================================================================================ 2025-10-21 21:52:20,616 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 21:52:20,616 - 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-10-21 21:52:20,873 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 21:52:20,873 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:52:20,873 - INFO - 2025-10-21 21:52:21,414 - DEBUG - Response for create_network : {'network': {'id': '83ea027f-eaa0-4a19-af4b-04ba5943f6a8', 'name': 'ctest-vn-11422421', 'tenant_id': '74f340feeb88454080c8bbd2b3199343', 'project_id': '74f340feeb88454080c8bbd2b3199343', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06135162', 'ctest-vn-11422421'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:52:21,586 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b178953c-4b09-4886-bbbd-c072a453926b', 'name': '', 'tenant_id': '74f340feeb88454080c8bbd2b3199343', 'network_id': '83ea027f-eaa0-4a19-af4b-04ba5943f6a8', 'ip_version': 4, 'cidr': '129.225.169.192/26', 'allocation_pools': [{'start': '129.225.169.194', 'end': '129.225.169.254'}], 'gateway_ip': '129.225.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.225.169.194', 'tags': [], 'project_id': '74f340feeb88454080c8bbd2b3199343'}} 2025-10-21 21:52:21,603 - INFO - Created VN ctest-vn-11422421 2025-10-21 21:52:21,657 - DEBUG - VN ctest-vn-11422421 UUID is 83ea027f-eaa0-4a19-af4b-04ba5943f6a8 2025-10-21 21:52:21,978 - DEBUG - Response for create_network : {'network': {'id': '653e5b52-8da5-4aea-91a4-7357f5c29691', 'name': 'ctest-vn-75573007', 'tenant_id': '74f340feeb88454080c8bbd2b3199343', 'project_id': '74f340feeb88454080c8bbd2b3199343', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06135162', 'ctest-vn-75573007'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:52:22,178 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b132bcb-8f7b-4520-8250-4458ca5af89e', 'name': '', 'tenant_id': '74f340feeb88454080c8bbd2b3199343', 'network_id': '653e5b52-8da5-4aea-91a4-7357f5c29691', 'ip_version': 4, 'cidr': '105.245.236.0/26', 'allocation_pools': [{'start': '105.245.236.2', 'end': '105.245.236.62'}], 'gateway_ip': '105.245.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.245.236.2', 'tags': [], 'project_id': '74f340feeb88454080c8bbd2b3199343'}} 2025-10-21 21:52:22,195 - INFO - Created VN ctest-vn-75573007 2025-10-21 21:52:22,245 - DEBUG - VN ctest-vn-75573007 UUID is 653e5b52-8da5-4aea-91a4-7357f5c29691 2025-10-21 21:52:22,393 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-11422421, 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-06135162:ctest-vn-75573007, 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-10-21 21:52:22,684 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83ea027f-eaa0-4a19-af4b-04ba5943f6a8', 'name': 'ctest-vn-11422421', 'tenant_id': '74f340feeb88454080c8bbd2b3199343', 'project_id': '74f340feeb88454080c8bbd2b3199343', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b178953c-4b09-4886-bbbd-c072a453926b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06135162', 'ctest-vn-11422421'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06135162', 'ctest-policy-allow-all-01600037']], 'subnet_ipam': [{'subnet_cidr': '129.225.169.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:52:22,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '653e5b52-8da5-4aea-91a4-7357f5c29691', 'name': 'ctest-vn-75573007', 'tenant_id': '74f340feeb88454080c8bbd2b3199343', 'project_id': '74f340feeb88454080c8bbd2b3199343', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b132bcb-8f7b-4520-8250-4458ca5af89e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06135162', 'ctest-vn-75573007'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06135162', 'ctest-policy-allow-all-01600037']], 'subnet_ipam': [{'subnet_cidr': '105.245.236.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:52:23,097 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 21:52:23,403 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 21:52:23,433 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cf6fe96a-400e-47b0-a856-71959da330b0 2025-10-21 21:52:23,444 - DEBUG - Requesting: http://10.0.0.38:8082/project/74f340fe-eb88-4540-80c8-bbd2b3199343 2025-10-21 21:52:23,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83ea027f-eaa0-4a19-af4b-04ba5943f6a8 2025-10-21 21:52:23,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83ea027f-eaa0-4a19-af4b-04ba5943f6a8 2025-10-21 21:52:23,535 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2775b915-32ee-488a-83d8-ebadfcd61e8d 2025-10-21 21:52:23,541 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2775b915-32ee-488a-83d8-ebadfcd61e8d 2025-10-21 21:52:23,547 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2e9d71d5-4c6b-4919-aa6f-1abea684443c 2025-10-21 21:52:23,553 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 21:52:23,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83ea027f-eaa0-4a19-af4b-04ba5943f6a8 2025-10-21 21:52:23,560 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2775b915-32ee-488a-83d8-ebadfcd61e8d 2025-10-21 21:52:23,574 - INFO - Verified VN network id 11 for VN 83ea027f-eaa0-4a19-af4b-04ba5943f6a8 2025-10-21 21:52:23,574 - INFO - Verifications in API Server for VN ctest-vn-11422421 passed 2025-10-21 21:52:23,574 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83ea027f-eaa0-4a19-af4b-04ba5943f6a8 2025-10-21 21:52:23,582 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2775b915-32ee-488a-83d8-ebadfcd61e8d 2025-10-21 21:52:23,588 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2775b915-32ee-488a-83d8-ebadfcd61e8d 2025-10-21 21:52:23,594 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2e9d71d5-4c6b-4919-aa6f-1abea684443c 2025-10-21 21:52:23,603 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-11422421', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06135162', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9505412711939328537', 'uuid-lslong': '12631194778298742440'}, 'enable': 'true', 'created': '2025-10-21T21:52:21', 'last-modified': '2025-10-21T21:52:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946808'} 2025-10-21 21:52:23,609 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 21:52:23,609 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11422421 passed 2025-10-21 21:52:23,609 - DEBUG - ====Verifying policy data for ctest-vn-11422421 in API_Server ====== 2025-10-21 21:52:23,609 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 21:52:23,615 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cf6fe96a-400e-47b0-a856-71959da330b0 2025-10-21 21:52:23,625 - DEBUG - Requesting: http://10.0.0.38:8082/project/74f340fe-eb88-4540-80c8-bbd2b3199343 2025-10-21 21:52:23,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83ea027f-eaa0-4a19-af4b-04ba5943f6a8 2025-10-21 21:52:23,702 - DEBUG - ==>Verifying data for policy with id: b2f24ad1-4eb8-4574-bd11-0e75cde7de2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-06135162', 'ctest-policy-allow-all-01600037'] 2025-10-21 21:52:23,702 - INFO - VN ctest-vn-11422421 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 21:52:23,703 - DEBUG - Verifying the vn in opserver 2025-10-21 21:52:23,703 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-11422421 virtual network link through opserver 10.0.0.38 2025-10-21 21:52:23,703 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 21:52:23,996 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 21:52:24,049 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-11422421', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-11422421?flat'} 2025-10-21 21:52:24,050 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-11422421 is found in opserver 2025-10-21 21:52:24,059 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 21:52:24,063 - DEBUG - VRF ids for VN ctest-vn-11422421: {} 2025-10-21 21:52:24,063 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 21:52:24,068 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cf6fe96a-400e-47b0-a856-71959da330b0 2025-10-21 21:52:24,079 - DEBUG - Requesting: http://10.0.0.38:8082/project/74f340fe-eb88-4540-80c8-bbd2b3199343 2025-10-21 21:52:24,149 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/653e5b52-8da5-4aea-91a4-7357f5c29691 2025-10-21 21:52:24,160 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/653e5b52-8da5-4aea-91a4-7357f5c29691 2025-10-21 21:52:24,169 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99ca5e09-5517-43d7-9cf3-f59177e72498 2025-10-21 21:52:24,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99ca5e09-5517-43d7-9cf3-f59177e72498 2025-10-21 21:52:24,185 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/11213595-9a45-47ef-a694-d5601eb17b6e 2025-10-21 21:52:24,191 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 21:52:24,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/653e5b52-8da5-4aea-91a4-7357f5c29691 2025-10-21 21:52:24,201 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99ca5e09-5517-43d7-9cf3-f59177e72498 2025-10-21 21:52:24,215 - INFO - Verified VN network id 12 for VN 653e5b52-8da5-4aea-91a4-7357f5c29691 2025-10-21 21:52:24,215 - INFO - Verifications in API Server for VN ctest-vn-75573007 passed 2025-10-21 21:52:24,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/653e5b52-8da5-4aea-91a4-7357f5c29691 2025-10-21 21:52:24,225 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99ca5e09-5517-43d7-9cf3-f59177e72498 2025-10-21 21:52:24,232 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99ca5e09-5517-43d7-9cf3-f59177e72498 2025-10-21 21:52:24,238 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/11213595-9a45-47ef-a694-d5601eb17b6e 2025-10-21 21:52:24,248 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-75573007', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06135162', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7295368856508648170', 'uuid-lslong': '10494639853302617745'}, 'enable': 'true', 'created': '2025-10-21T21:52:21', 'last-modified': '2025-10-21T21:52:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358591'} 2025-10-21 21:52:24,253 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 21:52:24,253 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75573007 passed 2025-10-21 21:52:24,253 - DEBUG - ====Verifying policy data for ctest-vn-75573007 in API_Server ====== 2025-10-21 21:52:24,253 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 21:52:24,259 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cf6fe96a-400e-47b0-a856-71959da330b0 2025-10-21 21:52:24,269 - DEBUG - Requesting: http://10.0.0.38:8082/project/74f340fe-eb88-4540-80c8-bbd2b3199343 2025-10-21 21:52:24,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/653e5b52-8da5-4aea-91a4-7357f5c29691 2025-10-21 21:52:24,349 - DEBUG - ==>Verifying data for policy with id: b2f24ad1-4eb8-4574-bd11-0e75cde7de2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-06135162', 'ctest-policy-allow-all-01600037'] 2025-10-21 21:52:24,349 - INFO - VN ctest-vn-75573007 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 21:52:24,350 - DEBUG - Verifying the vn in opserver 2025-10-21 21:52:24,350 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-75573007 virtual network link through opserver 10.0.0.38 2025-10-21 21:52:24,350 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 21:52:24,359 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-75573007', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-75573007?flat'} 2025-10-21 21:52:24,359 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-75573007 is found in opserver 2025-10-21 21:52:24,368 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 21:52:24,372 - DEBUG - VRF ids for VN ctest-vn-75573007: {} 2025-10-21 21:52:24,438 - DEBUG - Services list from nova: [, , ] 2025-10-21 21:52:25,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4409-1) 2025-10-21 21:52:26,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4409-1) 2025-10-21 21:52:26,676 - INFO - Waiting for VM ctest-TestBasicPolicy-06135162-22462480 to be up.. 2025-10-21 21:52:26,766 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 21:52:31,844 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:52:31,844 - INFO - VM name : ctest-TestBasicPolicy-06135162-22462480 2025-10-21 21:52:31,920 - DEBUG - VM ctest-TestBasicPolicy-06135162-22462480 ID is 8efd0ab1-0d8c-4b18-bcac-22e872167ff9 2025-10-21 21:52:31,941 - DEBUG - VM ctest-TestBasicPolicy-06135162-22462480 launched on Node cn-jenkins-deploy-platform-ansible-os-4409-1 2025-10-21 21:52:32,033 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8efd0ab1-0d8c-4b18-bcac-22e872167ff9 2025-10-21 21:52:32,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/26518ec5-fd9a-4c5e-8b85-1d6f9abedfbc 2025-10-21 21:52:35,312 - 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 1027ms') 2025-10-21 21:52:35,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06135162-22462480 failed! 2025-10-21 21:52:35,365 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06135162:ctest-vn-11422421 is 129.225.169.193 and allocation pool is NOT set 2025-10-21 21:52:37,433 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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 = 1.625/4.580/7.536/2.955 ms') 2025-10-21 21:52:37,433 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06135162-22462480 passed 2025-10-21 21:52:37,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:52:37,585 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06135162-22462480, IP 129.225.169.195, Port 22 2025-10-21 21:52:37,744 - DEBUG - VM ctest-TestBasicPolicy-06135162-22462480 is ready for SSH connections 2025-10-21 21:52:37,744 - INFO - Waiting for VM ctest-TestBasicPolicy-06135162-20504674 to be up.. 2025-10-21 21:52:37,821 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:52:37,822 - INFO - VM name : ctest-TestBasicPolicy-06135162-20504674 2025-10-21 21:52:37,895 - DEBUG - VM ctest-TestBasicPolicy-06135162-20504674 ID is 7e6f97a4-fa05-4041-b056-4d137363bb3c 2025-10-21 21:52:37,895 - DEBUG - VM ctest-TestBasicPolicy-06135162-20504674 launched on Node cn-jenkins-deploy-platform-ansible-os-4409-1 2025-10-21 21:52:37,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7e6f97a4-fa05-4041-b056-4d137363bb3c 2025-10-21 21:52:37,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/42259e3c-f994-40ee-93c3-9a14c1b74c00 2025-10-21 21:52:39,211 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.940/3.426/1.486 ms') 2025-10-21 21:52:39,211 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06135162-20504674 passed 2025-10-21 21:52:39,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:52:39,365 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06135162-20504674, IP 105.245.236.3, Port 22 2025-10-21 21:52:39,524 - DEBUG - VM ctest-TestBasicPolicy-06135162-20504674 is ready for SSH connections 2025-10-21 21:52:39,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:52:39,525 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.245.236.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 21:52:39,525 - DEBUG - ping -s 56 -c 3 -W 1 105.245.236.3 2025-10-21 21:52:43,543 - DEBUG - PING 105.245.236.3 (105.245.236.3): 56 data bytes 64 bytes from 105.245.236.3: seq=0 ttl=63 time=3.251 ms 64 bytes from 105.245.236.3: seq=1 ttl=63 time=1.106 ms 64 bytes from 105.245.236.3: seq=2 ttl=63 time=1.044 ms --- 105.245.236.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.044/1.800/3.251 ms 2025-10-21 21:52:43,543 - INFO - Ping to IP 105.245.236.3 from VM ctest-TestBasicPolicy-06135162-22462480 passed 2025-10-21 21:52:43,720 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2f24ad1-4eb8-4574-bd11-0e75cde7de2b", "href": "http://10.0.0.38:8082/network-policy/b2f24ad1-4eb8-4574-bd11-0e75cde7de2b"}} 2025-10-21 21:52:43,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:52:43,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.245.236.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 21:52:43,721 - DEBUG - ping -s 56 -c 3 -W 1 105.245.236.3 2025-10-21 21:52:46,918 - DEBUG - PING 105.245.236.3 (105.245.236.3): 56 data bytes --- 105.245.236.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 21:52:46,918 - WARNING - Ping to IP 105.245.236.3 from VM ctest-TestBasicPolicy-06135162-22462480 failed 2025-10-21 21:52:46,918 - INFO - Deleting VM ctest-TestBasicPolicy-06135162-20504674 2025-10-21 21:52:46,981 - INFO - Deleting VM ctest-TestBasicPolicy-06135162-22462480 2025-10-21 21:52:47,359 - INFO - Deleted policy ctest-policy-allow-all-01600037 2025-10-21 21:52:47,359 - INFO - Deleting VN ctest-vn-75573007 2025-10-21 21:52:47,394 - DEBUG - VN 653e5b52-8da5-4aea-91a4-7357f5c29691 still in use: Unable to complete operation on network 653e5b52-8da5-4aea-91a4-7357f5c29691. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9322ee5c-1e5f-42a5-ac3a-151225a274c4'] 2025-10-21 21:52:47,394 - WARNING - Deleting VN ctest-vn-75573007 failed..Will retry 2025-10-21 21:52:49,502 - DEBUG - Response for deleting network () 2025-10-21 21:52:49,502 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99ca5e09-5517-43d7-9cf3-f59177e72498 2025-10-21 21:52:49,515 - DEBUG - Response Code: 404 2025-10-21 21:52:49,515 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 21:52:49,520 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cf6fe96a-400e-47b0-a856-71959da330b0 2025-10-21 21:52:49,574 - DEBUG - Requesting: http://10.0.0.38:8082/project/74f340fe-eb88-4540-80c8-bbd2b3199343 2025-10-21 21:52:49,647 - INFO - Validated that VN ctest-vn-75573007 is not found in API Server 2025-10-21 21:52:49,656 - DEBUG - VN ctest-vn-75573007 is not present in Agent 10.0.0.38 2025-10-21 21:52:49,657 - INFO - Validated that VN ctest-vn-75573007 is not in any agent 2025-10-21 21:52:49,671 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75573007 info 2025-10-21 21:52:49,671 - INFO - Deleting VN ctest-vn-11422421 2025-10-21 21:52:49,777 - DEBUG - Response for deleting network () 2025-10-21 21:52:49,777 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2775b915-32ee-488a-83d8-ebadfcd61e8d 2025-10-21 21:52:49,783 - DEBUG - Response Code: 404 2025-10-21 21:52:49,783 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 21:52:49,788 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cf6fe96a-400e-47b0-a856-71959da330b0 2025-10-21 21:52:49,842 - DEBUG - Requesting: http://10.0.0.38:8082/project/74f340fe-eb88-4540-80c8-bbd2b3199343 2025-10-21 21:52:49,918 - INFO - Validated that VN ctest-vn-11422421 is not found in API Server 2025-10-21 21:52:49,929 - DEBUG - VN ctest-vn-11422421 is not present in Agent 10.0.0.38 2025-10-21 21:52:49,929 - INFO - Validated that VN ctest-vn-11422421 is not in any agent 2025-10-21 21:52:49,943 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11422421 info 2025-10-21 21:52:50,199 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 21:52:50,199 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-21 21:52:50,199 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:52:50,866 - INFO - Deleted project: ctest-TestBasicPolicy-06135162, ID : 74f340fe-eb88-4540-80c8-bbd2b3199343