2025-11-13 02:07:40,934 - INFO - Domain Default found not creating 2025-11-13 02:07:41,080 - INFO - Project ctest-TestBasicPolicy-67647562 not found, creating it 2025-11-13 02:07:41,515 - INFO - Created Project:ctest-TestBasicPolicy-67647562, ID : 64238cb0-dfbe-47e9-ace2-1008fcb5e334 2025-11-13 02:07:42,904 - INFO - ================================================================================ 2025-11-13 02:07:42,904 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-13 02:07:42,904 - 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-11-13 02:07:43,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-13 02:07:43,159 - INFO - Initial checks done. Running the testcase now 2025-11-13 02:07:43,159 - INFO - 2025-11-13 02:07:43,879 - DEBUG - Response for create_network : {'network': {'id': '632a4792-7a42-4651-88b5-dbf241147fe1', 'name': 'ctest-vn-28516685', 'tenant_id': '64238cb0dfbe47e9ace21008fcb5e334', 'project_id': '64238cb0dfbe47e9ace21008fcb5e334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67647562', 'ctest-vn-28516685'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:44,130 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b91755c1-b241-4330-8a13-9eef3e05f4f7', 'name': '', 'tenant_id': '64238cb0dfbe47e9ace21008fcb5e334', 'network_id': '632a4792-7a42-4651-88b5-dbf241147fe1', 'ip_version': 4, 'cidr': '67.200.80.192/26', 'allocation_pools': [{'start': '67.200.80.194', 'end': '67.200.80.254'}], 'gateway_ip': '67.200.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.200.80.194', 'tags': [], 'project_id': '64238cb0dfbe47e9ace21008fcb5e334'}} 2025-11-13 02:07:44,151 - INFO - Created VN ctest-vn-28516685 2025-11-13 02:07:44,210 - DEBUG - VN ctest-vn-28516685 UUID is 632a4792-7a42-4651-88b5-dbf241147fe1 2025-11-13 02:07:44,509 - DEBUG - Response for create_network : {'network': {'id': '68994e28-627c-494a-8bbe-1b2742040cb7', 'name': 'ctest-vn-47489188', 'tenant_id': '64238cb0dfbe47e9ace21008fcb5e334', 'project_id': '64238cb0dfbe47e9ace21008fcb5e334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67647562', 'ctest-vn-47489188'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:44,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcb05524-cb88-48e5-b318-eeb5e1145234', 'name': '', 'tenant_id': '64238cb0dfbe47e9ace21008fcb5e334', 'network_id': '68994e28-627c-494a-8bbe-1b2742040cb7', 'ip_version': 4, 'cidr': '32.245.65.0/26', 'allocation_pools': [{'start': '32.245.65.2', 'end': '32.245.65.62'}], 'gateway_ip': '32.245.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.245.65.2', 'tags': [], 'project_id': '64238cb0dfbe47e9ace21008fcb5e334'}} 2025-11-13 02:07:44,742 - INFO - Created VN ctest-vn-47489188 2025-11-13 02:07:44,794 - DEBUG - VN ctest-vn-47489188 UUID is 68994e28-627c-494a-8bbe-1b2742040cb7 2025-11-13 02:07:44,946 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-28516685, 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-67647562:ctest-vn-47489188, 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-11-13 02:07:45,231 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '632a4792-7a42-4651-88b5-dbf241147fe1', 'name': 'ctest-vn-28516685', 'tenant_id': '64238cb0dfbe47e9ace21008fcb5e334', 'project_id': '64238cb0dfbe47e9ace21008fcb5e334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b91755c1-b241-4330-8a13-9eef3e05f4f7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67647562', 'ctest-vn-28516685'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67647562', 'ctest-policy-allow-all-76561077']], 'subnet_ipam': [{'subnet_cidr': '67.200.80.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:45,447 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68994e28-627c-494a-8bbe-1b2742040cb7', 'name': 'ctest-vn-47489188', 'tenant_id': '64238cb0dfbe47e9ace21008fcb5e334', 'project_id': '64238cb0dfbe47e9ace21008fcb5e334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bcb05524-cb88-48e5-b318-eeb5e1145234'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67647562', 'ctest-vn-47489188'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67647562', 'ctest-policy-allow-all-76561077']], 'subnet_ipam': [{'subnet_cidr': '32.245.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:45,614 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 02:07:45,905 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 02:07:45,931 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9f8247be-6e54-4b03-8714-086ddf5268d8 2025-11-13 02:07:45,941 - DEBUG - Requesting: http://10.0.0.22:8082/project/64238cb0-dfbe-47e9-ace2-1008fcb5e334 2025-11-13 02:07:46,013 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/632a4792-7a42-4651-88b5-dbf241147fe1 2025-11-13 02:07:46,023 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/632a4792-7a42-4651-88b5-dbf241147fe1 2025-11-13 02:07:46,033 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/10cef645-4613-4ff7-b802-93b20b8fb7c8 2025-11-13 02:07:46,040 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/10cef645-4613-4ff7-b802-93b20b8fb7c8 2025-11-13 02:07:46,047 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8755b579-530a-4255-9010-de3b42bb857f 2025-11-13 02:07:46,053 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 02:07:46,053 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/632a4792-7a42-4651-88b5-dbf241147fe1 2025-11-13 02:07:46,060 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/10cef645-4613-4ff7-b802-93b20b8fb7c8 2025-11-13 02:07:46,072 - INFO - Verified VN network id 10 for VN 632a4792-7a42-4651-88b5-dbf241147fe1 2025-11-13 02:07:46,072 - INFO - Verifications in API Server for VN ctest-vn-28516685 passed 2025-11-13 02:07:46,072 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/632a4792-7a42-4651-88b5-dbf241147fe1 2025-11-13 02:07:46,080 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/10cef645-4613-4ff7-b802-93b20b8fb7c8 2025-11-13 02:07:46,085 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/10cef645-4613-4ff7-b802-93b20b8fb7c8 2025-11-13 02:07:46,091 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8755b579-530a-4255-9010-de3b42bb857f 2025-11-13 02:07:46,100 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-28516685', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67647562', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7145602453218674257', 'uuid-lslong': '9851021593463259105'}, 'enable': 'true', 'created': '2025-11-13T02:07:43', 'last-modified': '2025-11-13T02:07:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893097'} 2025-11-13 02:07:46,107 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 02:07:46,107 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28516685 passed 2025-11-13 02:07:46,107 - DEBUG - ====Verifying policy data for ctest-vn-28516685 in API_Server ====== 2025-11-13 02:07:46,107 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 02:07:46,112 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9f8247be-6e54-4b03-8714-086ddf5268d8 2025-11-13 02:07:46,122 - DEBUG - Requesting: http://10.0.0.22:8082/project/64238cb0-dfbe-47e9-ace2-1008fcb5e334 2025-11-13 02:07:46,192 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/632a4792-7a42-4651-88b5-dbf241147fe1 2025-11-13 02:07:46,201 - DEBUG - ==>Verifying data for policy with id: b2e0b0f4-877f-4f71-862c-dc7449de6235, fqn: ['default-domain', 'ctest-TestBasicPolicy-67647562', 'ctest-policy-allow-all-76561077'] 2025-11-13 02:07:46,201 - INFO - VN ctest-vn-28516685 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 02:07:46,201 - DEBUG - Verifying the vn in opserver 2025-11-13 02:07:46,201 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-28516685 virtual network link through opserver 10.0.0.22 2025-11-13 02:07:46,201 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-13 02:07:46,496 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-13 02:07:46,546 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-28516685', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-28516685?flat'} 2025-11-13 02:07:46,546 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-28516685 is found in opserver 2025-11-13 02:07:46,554 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 02:07:46,560 - DEBUG - VRF ids for VN ctest-vn-28516685: {} 2025-11-13 02:07:46,560 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 02:07:46,565 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9f8247be-6e54-4b03-8714-086ddf5268d8 2025-11-13 02:07:46,578 - DEBUG - Requesting: http://10.0.0.22:8082/project/64238cb0-dfbe-47e9-ace2-1008fcb5e334 2025-11-13 02:07:46,646 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68994e28-627c-494a-8bbe-1b2742040cb7 2025-11-13 02:07:46,658 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68994e28-627c-494a-8bbe-1b2742040cb7 2025-11-13 02:07:46,668 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8ab06691-7242-45c6-b243-8b399cbed0ac 2025-11-13 02:07:46,675 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8ab06691-7242-45c6-b243-8b399cbed0ac 2025-11-13 02:07:46,681 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ef05d265-615e-439e-be24-bd2e7fb36dbd 2025-11-13 02:07:46,686 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 02:07:46,687 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68994e28-627c-494a-8bbe-1b2742040cb7 2025-11-13 02:07:46,694 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8ab06691-7242-45c6-b243-8b399cbed0ac 2025-11-13 02:07:46,705 - INFO - Verified VN network id 11 for VN 68994e28-627c-494a-8bbe-1b2742040cb7 2025-11-13 02:07:46,705 - INFO - Verifications in API Server for VN ctest-vn-47489188 passed 2025-11-13 02:07:46,705 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68994e28-627c-494a-8bbe-1b2742040cb7 2025-11-13 02:07:46,713 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8ab06691-7242-45c6-b243-8b399cbed0ac 2025-11-13 02:07:46,719 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8ab06691-7242-45c6-b243-8b399cbed0ac 2025-11-13 02:07:46,725 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ef05d265-615e-439e-be24-bd2e7fb36dbd 2025-11-13 02:07:46,736 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-47489188', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67647562', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7537141386739206474', 'uuid-lslong': '10069515672272243895'}, 'enable': 'true', 'created': '2025-11-13T02:07:44', 'last-modified': '2025-11-13T02:07:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.305251'} 2025-11-13 02:07:46,742 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 02:07:46,742 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47489188 passed 2025-11-13 02:07:46,743 - DEBUG - ====Verifying policy data for ctest-vn-47489188 in API_Server ====== 2025-11-13 02:07:46,743 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 02:07:46,748 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9f8247be-6e54-4b03-8714-086ddf5268d8 2025-11-13 02:07:46,759 - DEBUG - Requesting: http://10.0.0.22:8082/project/64238cb0-dfbe-47e9-ace2-1008fcb5e334 2025-11-13 02:07:46,825 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68994e28-627c-494a-8bbe-1b2742040cb7 2025-11-13 02:07:46,833 - DEBUG - ==>Verifying data for policy with id: b2e0b0f4-877f-4f71-862c-dc7449de6235, fqn: ['default-domain', 'ctest-TestBasicPolicy-67647562', 'ctest-policy-allow-all-76561077'] 2025-11-13 02:07:46,833 - INFO - VN ctest-vn-47489188 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 02:07:46,834 - DEBUG - Verifying the vn in opserver 2025-11-13 02:07:46,834 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-47489188 virtual network link through opserver 10.0.0.22 2025-11-13 02:07:46,834 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-13 02:07:46,843 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-47489188', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-47489188?flat'} 2025-11-13 02:07:46,843 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-47489188 is found in opserver 2025-11-13 02:07:46,852 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 02:07:46,855 - DEBUG - VRF ids for VN ctest-vn-47489188: {} 2025-11-13 02:07:46,913 - DEBUG - Services list from nova: [, , ] 2025-11-13 02:07:47,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4713-1) 2025-11-13 02:07:49,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4713-1) 2025-11-13 02:07:49,018 - INFO - Waiting for VM ctest-TestBasicPolicy-67647562-05601718 to be up.. 2025-11-13 02:07:49,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 02:07:54,170 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:07:54,170 - INFO - VM name : ctest-TestBasicPolicy-67647562-05601718 2025-11-13 02:07:54,243 - DEBUG - VM ctest-TestBasicPolicy-67647562-05601718 ID is cbfa59dd-3dba-4a0a-a90b-7060288d79b4 2025-11-13 02:07:54,260 - DEBUG - VM ctest-TestBasicPolicy-67647562-05601718 launched on Node cn-jenkins-deploy-platform-ansible-os-4713-1 2025-11-13 02:07:54,329 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cbfa59dd-3dba-4a0a-a90b-7060288d79b4 2025-11-13 02:07:54,336 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/df60db32-ad87-44a1-8ad8-0538ee9d8b3b 2025-11-13 02:07:57,563 - 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 1003ms') 2025-11-13 02:07:57,563 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67647562-05601718 failed! 2025-11-13 02:07:57,618 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67647562:ctest-vn-28516685 is 67.200.80.193 and allocation pool is NOT set 2025-11-13 02:07:59,676 - 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=5.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.724 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.724/3.187/5.651/2.463 ms') 2025-11-13 02:07:59,676 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67647562-05601718 passed 2025-11-13 02:07:59,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:07:59,822 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67647562-05601718, IP 67.200.80.195, Port 22 2025-11-13 02:07:59,992 - DEBUG - VM ctest-TestBasicPolicy-67647562-05601718 is ready for SSH connections 2025-11-13 02:07:59,992 - INFO - Waiting for VM ctest-TestBasicPolicy-67647562-36741656 to be up.. 2025-11-13 02:08:00,070 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:08:00,070 - INFO - VM name : ctest-TestBasicPolicy-67647562-36741656 2025-11-13 02:08:00,148 - DEBUG - VM ctest-TestBasicPolicy-67647562-36741656 ID is 034ddb3a-a180-4a4e-80b4-75b4e4a8dcdf 2025-11-13 02:08:00,149 - DEBUG - VM ctest-TestBasicPolicy-67647562-36741656 launched on Node cn-jenkins-deploy-platform-ansible-os-4713-1 2025-11-13 02:08:00,223 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/034ddb3a-a180-4a4e-80b4-75b4e4a8dcdf 2025-11-13 02:08:00,232 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e92b6ae9-966b-4c89-b1fc-727900fdde91 2025-11-13 02:08:01,473 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.530/2.623/1.092 ms') 2025-11-13 02:08:01,473 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67647562-36741656 passed 2025-11-13 02:08:01,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:08:01,622 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67647562-36741656, IP 32.245.65.3, Port 22 2025-11-13 02:08:01,789 - DEBUG - VM ctest-TestBasicPolicy-67647562-36741656 is ready for SSH connections 2025-11-13 02:08:01,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:08:01,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.245.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 02:08:01,789 - DEBUG - ping -s 56 -c 3 -W 1 32.245.65.3 2025-11-13 02:08:05,516 - DEBUG - PING 32.245.65.3 (32.245.65.3): 56 data bytes 64 bytes from 32.245.65.3: seq=0 ttl=63 time=3.498 ms 64 bytes from 32.245.65.3: seq=1 ttl=63 time=0.858 ms 64 bytes from 32.245.65.3: seq=2 ttl=63 time=1.170 ms --- 32.245.65.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/1.842/3.498 ms 2025-11-13 02:08:05,516 - INFO - Ping to IP 32.245.65.3 from VM ctest-TestBasicPolicy-67647562-05601718 passed 2025-11-13 02:08:05,690 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2e0b0f4-877f-4f71-862c-dc7449de6235", "href": "http://10.0.0.22:8082/network-policy/b2e0b0f4-877f-4f71-862c-dc7449de6235"}} 2025-11-13 02:08:05,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:08:05,690 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.245.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 02:08:05,690 - DEBUG - ping -s 56 -c 3 -W 1 32.245.65.3 2025-11-13 02:08:08,903 - DEBUG - PING 32.245.65.3 (32.245.65.3): 56 data bytes --- 32.245.65.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 02:08:08,903 - WARNING - Ping to IP 32.245.65.3 from VM ctest-TestBasicPolicy-67647562-05601718 failed 2025-11-13 02:08:08,903 - INFO - Deleting VM ctest-TestBasicPolicy-67647562-36741656 2025-11-13 02:08:08,975 - INFO - Deleting VM ctest-TestBasicPolicy-67647562-05601718 2025-11-13 02:08:09,328 - INFO - Deleted policy ctest-policy-allow-all-76561077 2025-11-13 02:08:09,328 - INFO - Deleting VN ctest-vn-47489188 2025-11-13 02:08:09,372 - DEBUG - VN 68994e28-627c-494a-8bbe-1b2742040cb7 still in use: Unable to complete operation on network 68994e28-627c-494a-8bbe-1b2742040cb7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-471f6ea8-ecbc-48e2-b007-15b42bbbbd87'] 2025-11-13 02:08:09,373 - WARNING - Deleting VN ctest-vn-47489188 failed..Will retry 2025-11-13 02:08:11,471 - DEBUG - Response for deleting network () 2025-11-13 02:08:11,471 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8ab06691-7242-45c6-b243-8b399cbed0ac 2025-11-13 02:08:11,476 - DEBUG - Response Code: 404 2025-11-13 02:08:11,476 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 02:08:11,483 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9f8247be-6e54-4b03-8714-086ddf5268d8 2025-11-13 02:08:11,539 - DEBUG - Requesting: http://10.0.0.22:8082/project/64238cb0-dfbe-47e9-ace2-1008fcb5e334 2025-11-13 02:08:11,609 - INFO - Validated that VN ctest-vn-47489188 is not found in API Server 2025-11-13 02:08:11,617 - DEBUG - VN ctest-vn-47489188 is not present in Agent 10.0.0.22 2025-11-13 02:08:11,617 - INFO - Validated that VN ctest-vn-47489188 is not in any agent 2025-11-13 02:08:11,630 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47489188 info 2025-11-13 02:08:11,630 - INFO - Deleting VN ctest-vn-28516685 2025-11-13 02:08:11,731 - DEBUG - Response for deleting network () 2025-11-13 02:08:11,731 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/10cef645-4613-4ff7-b802-93b20b8fb7c8 2025-11-13 02:08:11,737 - DEBUG - Response Code: 404 2025-11-13 02:08:11,737 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 02:08:11,742 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9f8247be-6e54-4b03-8714-086ddf5268d8 2025-11-13 02:08:11,794 - DEBUG - Requesting: http://10.0.0.22:8082/project/64238cb0-dfbe-47e9-ace2-1008fcb5e334 2025-11-13 02:08:11,864 - INFO - Validated that VN ctest-vn-28516685 is not found in API Server 2025-11-13 02:08:11,875 - DEBUG - VN ctest-vn-28516685 is not present in Agent 10.0.0.22 2025-11-13 02:08:11,875 - INFO - Validated that VN ctest-vn-28516685 is not in any agent 2025-11-13 02:08:11,890 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28516685 info 2025-11-13 02:08:12,143 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 02:08:12,143 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-13 02:08:12,144 - INFO - -------------------------------------------------------------------------------- 2025-11-13 02:08:12,813 - INFO - Deleted project: ctest-TestBasicPolicy-67647562, ID : 64238cb0-dfbe-47e9-ace2-1008fcb5e334