2025-11-21 18:35:14,182 - INFO - Domain Default found not creating 2025-11-21 18:35:14,368 - INFO - Project ctest-TestBasicPolicy-20670263 not found, creating it 2025-11-21 18:35:14,872 - INFO - Created Project:ctest-TestBasicPolicy-20670263, ID : 924fc34c-a77b-4e62-a674-dd8a15528306 2025-11-21 18:35:16,458 - INFO - ================================================================================ 2025-11-21 18:35:16,458 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-21 18:35:16,459 - 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-21 18:35:16,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-21 18:35:16,718 - INFO - Initial checks done. Running the testcase now 2025-11-21 18:35:16,719 - INFO - 2025-11-21 18:35:17,356 - DEBUG - Response for create_network : {'network': {'id': '9bac1881-bed4-4d35-9a33-76045215c908', 'name': 'ctest-vn-54860323', 'tenant_id': '924fc34ca77b4e62a674dd8a15528306', 'project_id': '924fc34ca77b4e62a674dd8a15528306', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20670263', 'ctest-vn-54860323'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 18:35:17,516 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f83cc33-0d09-4f02-9f6c-faf6f7bb4019', 'name': '', 'tenant_id': '924fc34ca77b4e62a674dd8a15528306', 'network_id': '9bac1881-bed4-4d35-9a33-76045215c908', 'ip_version': 4, 'cidr': '133.21.22.192/26', 'allocation_pools': [{'start': '133.21.22.194', 'end': '133.21.22.254'}], 'gateway_ip': '133.21.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.21.22.194', 'tags': [], 'project_id': '924fc34ca77b4e62a674dd8a15528306'}} 2025-11-21 18:35:17,537 - INFO - Created VN ctest-vn-54860323 2025-11-21 18:35:17,593 - DEBUG - VN ctest-vn-54860323 UUID is 9bac1881-bed4-4d35-9a33-76045215c908 2025-11-21 18:35:17,885 - DEBUG - Response for create_network : {'network': {'id': '1e17f8a0-97f7-4a5b-a781-f32dd1b5c832', 'name': 'ctest-vn-41575025', 'tenant_id': '924fc34ca77b4e62a674dd8a15528306', 'project_id': '924fc34ca77b4e62a674dd8a15528306', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20670263', 'ctest-vn-41575025'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 18:35:18,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '1faea434-ae2d-4cf7-b5ac-4c0c742e18e8', 'name': '', 'tenant_id': '924fc34ca77b4e62a674dd8a15528306', 'network_id': '1e17f8a0-97f7-4a5b-a781-f32dd1b5c832', 'ip_version': 4, 'cidr': '202.163.25.0/26', 'allocation_pools': [{'start': '202.163.25.2', 'end': '202.163.25.62'}], 'gateway_ip': '202.163.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.163.25.2', 'tags': [], 'project_id': '924fc34ca77b4e62a674dd8a15528306'}} 2025-11-21 18:35:18,127 - INFO - Created VN ctest-vn-41575025 2025-11-21 18:35:18,180 - DEBUG - VN ctest-vn-41575025 UUID is 1e17f8a0-97f7-4a5b-a781-f32dd1b5c832 2025-11-21 18:35:18,304 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-54860323, 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-20670263:ctest-vn-41575025, 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-21 18:35:18,606 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9bac1881-bed4-4d35-9a33-76045215c908', 'name': 'ctest-vn-54860323', 'tenant_id': '924fc34ca77b4e62a674dd8a15528306', 'project_id': '924fc34ca77b4e62a674dd8a15528306', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5f83cc33-0d09-4f02-9f6c-faf6f7bb4019'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20670263', 'ctest-vn-54860323'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20670263', 'ctest-policy-allow-all-50426266']], 'subnet_ipam': [{'subnet_cidr': '133.21.22.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-21 18:35:18,904 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e17f8a0-97f7-4a5b-a781-f32dd1b5c832', 'name': 'ctest-vn-41575025', 'tenant_id': '924fc34ca77b4e62a674dd8a15528306', 'project_id': '924fc34ca77b4e62a674dd8a15528306', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1faea434-ae2d-4cf7-b5ac-4c0c742e18e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20670263', 'ctest-vn-41575025'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20670263', 'ctest-policy-allow-all-50426266']], 'subnet_ipam': [{'subnet_cidr': '202.163.25.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-21 18:35:19,054 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 18:35:19,349 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 18:35:19,384 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2e66b85b-2b71-4064-b026-b43b1d0ff4de 2025-11-21 18:35:19,396 - DEBUG - Requesting: http://10.0.0.22:8082/project/924fc34c-a77b-4e62-a674-dd8a15528306 2025-11-21 18:35:19,470 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9bac1881-bed4-4d35-9a33-76045215c908 2025-11-21 18:35:19,480 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9bac1881-bed4-4d35-9a33-76045215c908 2025-11-21 18:35:19,488 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/20209cae-046a-499f-9393-654a650de8bb 2025-11-21 18:35:19,495 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/20209cae-046a-499f-9393-654a650de8bb 2025-11-21 18:35:19,501 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d77a6817-1a46-4515-8d40-67eb5396407d 2025-11-21 18:35:19,507 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-21 18:35:19,507 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9bac1881-bed4-4d35-9a33-76045215c908 2025-11-21 18:35:19,516 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/20209cae-046a-499f-9393-654a650de8bb 2025-11-21 18:35:19,528 - INFO - Verified VN network id 11 for VN 9bac1881-bed4-4d35-9a33-76045215c908 2025-11-21 18:35:19,528 - INFO - Verifications in API Server for VN ctest-vn-54860323 passed 2025-11-21 18:35:19,528 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9bac1881-bed4-4d35-9a33-76045215c908 2025-11-21 18:35:19,538 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/20209cae-046a-499f-9393-654a650de8bb 2025-11-21 18:35:19,549 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/20209cae-046a-499f-9393-654a650de8bb 2025-11-21 18:35:19,556 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d77a6817-1a46-4515-8d40-67eb5396407d 2025-11-21 18:35:19,569 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-54860323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20670263', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11217367717404495157', 'uuid-lslong': '11111354466582251784'}, 'enable': 'true', 'created': '2025-11-21T18:35:17', 'last-modified': '2025-11-21T18:35:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.991100'} 2025-11-21 18:35:19,577 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-21 18:35:19,577 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54860323 passed 2025-11-21 18:35:19,578 - DEBUG - ====Verifying policy data for ctest-vn-54860323 in API_Server ====== 2025-11-21 18:35:19,578 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 18:35:19,584 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2e66b85b-2b71-4064-b026-b43b1d0ff4de 2025-11-21 18:35:19,595 - DEBUG - Requesting: http://10.0.0.22:8082/project/924fc34c-a77b-4e62-a674-dd8a15528306 2025-11-21 18:35:19,671 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9bac1881-bed4-4d35-9a33-76045215c908 2025-11-21 18:35:19,680 - DEBUG - ==>Verifying data for policy with id: ce734fed-7444-4bb6-80d9-bad31a45d6a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-20670263', 'ctest-policy-allow-all-50426266'] 2025-11-21 18:35:19,680 - INFO - VN ctest-vn-54860323 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-21 18:35:19,680 - DEBUG - Verifying the vn in opserver 2025-11-21 18:35:19,680 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-54860323 virtual network link through opserver 10.0.0.22 2025-11-21 18:35:19,681 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-21 18:35:19,974 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-21 18:35:20,043 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-54860323', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-54860323?flat'} 2025-11-21 18:35:20,043 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-54860323 is found in opserver 2025-11-21 18:35:20,054 - DEBUG - Do not have enough data to verify VN in agent 2025-11-21 18:35:20,059 - DEBUG - VRF ids for VN ctest-vn-54860323: {} 2025-11-21 18:35:20,060 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 18:35:20,065 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2e66b85b-2b71-4064-b026-b43b1d0ff4de 2025-11-21 18:35:20,077 - DEBUG - Requesting: http://10.0.0.22:8082/project/924fc34c-a77b-4e62-a674-dd8a15528306 2025-11-21 18:35:20,147 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1e17f8a0-97f7-4a5b-a781-f32dd1b5c832 2025-11-21 18:35:20,159 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1e17f8a0-97f7-4a5b-a781-f32dd1b5c832 2025-11-21 18:35:20,169 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94aeaee9-2581-4dfa-9766-06ca63673dd7 2025-11-21 18:35:20,176 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94aeaee9-2581-4dfa-9766-06ca63673dd7 2025-11-21 18:35:20,185 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e076b24b-481c-4137-b066-075cc756fdd1 2025-11-21 18:35:20,192 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-21 18:35:20,192 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1e17f8a0-97f7-4a5b-a781-f32dd1b5c832 2025-11-21 18:35:20,201 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94aeaee9-2581-4dfa-9766-06ca63673dd7 2025-11-21 18:35:20,215 - INFO - Verified VN network id 12 for VN 1e17f8a0-97f7-4a5b-a781-f32dd1b5c832 2025-11-21 18:35:20,215 - INFO - Verifications in API Server for VN ctest-vn-41575025 passed 2025-11-21 18:35:20,215 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1e17f8a0-97f7-4a5b-a781-f32dd1b5c832 2025-11-21 18:35:20,225 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94aeaee9-2581-4dfa-9766-06ca63673dd7 2025-11-21 18:35:20,233 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94aeaee9-2581-4dfa-9766-06ca63673dd7 2025-11-21 18:35:20,241 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e076b24b-481c-4137-b066-075cc756fdd1 2025-11-21 18:35:20,254 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-41575025', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20670263', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2168475114230205019', 'uuid-lslong': '12070195854447069234'}, 'enable': 'true', 'created': '2025-11-21T18:35:17', 'last-modified': '2025-11-21T18:35:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.427130'} 2025-11-21 18:35:20,260 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-21 18:35:20,260 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41575025 passed 2025-11-21 18:35:20,260 - DEBUG - ====Verifying policy data for ctest-vn-41575025 in API_Server ====== 2025-11-21 18:35:20,260 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 18:35:20,266 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2e66b85b-2b71-4064-b026-b43b1d0ff4de 2025-11-21 18:35:20,278 - DEBUG - Requesting: http://10.0.0.22:8082/project/924fc34c-a77b-4e62-a674-dd8a15528306 2025-11-21 18:35:20,351 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1e17f8a0-97f7-4a5b-a781-f32dd1b5c832 2025-11-21 18:35:20,363 - DEBUG - ==>Verifying data for policy with id: ce734fed-7444-4bb6-80d9-bad31a45d6a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-20670263', 'ctest-policy-allow-all-50426266'] 2025-11-21 18:35:20,363 - INFO - VN ctest-vn-41575025 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-21 18:35:20,363 - DEBUG - Verifying the vn in opserver 2025-11-21 18:35:20,363 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-41575025 virtual network link through opserver 10.0.0.22 2025-11-21 18:35:20,363 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-21 18:35:20,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-41575025', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-41575025?flat'} 2025-11-21 18:35:20,375 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-41575025 is found in opserver 2025-11-21 18:35:20,387 - DEBUG - Do not have enough data to verify VN in agent 2025-11-21 18:35:20,391 - DEBUG - VRF ids for VN ctest-vn-41575025: {} 2025-11-21 18:35:20,454 - DEBUG - Services list from nova: [, , ] 2025-11-21 18:35:21,546 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1) 2025-11-21 18:35:22,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1) 2025-11-21 18:35:22,816 - INFO - Waiting for VM ctest-TestBasicPolicy-20670263-49891189 to be up.. 2025-11-21 18:35:22,915 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 18:35:27,992 - DEBUG - VM is in ACTIVE state now 2025-11-21 18:35:27,992 - INFO - VM name : ctest-TestBasicPolicy-20670263-49891189 2025-11-21 18:35:28,067 - DEBUG - VM ctest-TestBasicPolicy-20670263-49891189 ID is 788b6660-2afa-46c7-8128-ed30a43d68d4 2025-11-21 18:35:28,091 - DEBUG - VM ctest-TestBasicPolicy-20670263-49891189 launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1 2025-11-21 18:35:28,171 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/788b6660-2afa-46c7-8128-ed30a43d68d4 2025-11-21 18:35:28,180 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/29596607-6fa0-47c1-ab7e-8a0f11341c3c 2025-11-21 18:35:31,385 - 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 1006ms') 2025-11-21 18:35:31,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20670263-49891189 failed! 2025-11-21 18:35:31,440 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20670263:ctest-vn-54860323 is 133.21.22.193 and allocation pool is NOT set 2025-11-21 18:35:33,506 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.568 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 = 0.568/4.038/7.508/3.470 ms') 2025-11-21 18:35:33,506 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20670263-49891189 passed 2025-11-21 18:35:33,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:35:33,661 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20670263-49891189, IP 133.21.22.195, Port 22 2025-11-21 18:35:33,828 - DEBUG - VM ctest-TestBasicPolicy-20670263-49891189 is ready for SSH connections 2025-11-21 18:35:33,828 - INFO - Waiting for VM ctest-TestBasicPolicy-20670263-65663833 to be up.. 2025-11-21 18:35:33,912 - DEBUG - VM is in ACTIVE state now 2025-11-21 18:35:33,912 - INFO - VM name : ctest-TestBasicPolicy-20670263-65663833 2025-11-21 18:35:33,987 - DEBUG - VM ctest-TestBasicPolicy-20670263-65663833 ID is 48de0d18-2e83-4814-bc1e-14e0303432cd 2025-11-21 18:35:33,987 - DEBUG - VM ctest-TestBasicPolicy-20670263-65663833 launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1 2025-11-21 18:35:34,075 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/48de0d18-2e83-4814-bc1e-14e0303432cd 2025-11-21 18:35:34,087 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8ebfeddf-35e8-4597-8d95-238b01460591 2025-11-21 18:35:35,335 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.594/2.738/1.143 ms') 2025-11-21 18:35:35,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20670263-65663833 passed 2025-11-21 18:35:35,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:35:35,489 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20670263-65663833, IP 202.163.25.3, Port 22 2025-11-21 18:35:35,655 - DEBUG - VM ctest-TestBasicPolicy-20670263-65663833 is ready for SSH connections 2025-11-21 18:35:35,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:35:35,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.163.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 18:35:35,655 - DEBUG - ping -s 56 -c 3 -W 1 202.163.25.3 2025-11-21 18:35:39,797 - DEBUG - PING 202.163.25.3 (202.163.25.3): 56 data bytes 64 bytes from 202.163.25.3: seq=0 ttl=63 time=4.009 ms 64 bytes from 202.163.25.3: seq=1 ttl=63 time=1.139 ms 64 bytes from 202.163.25.3: seq=2 ttl=63 time=1.078 ms --- 202.163.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.078/2.075/4.009 ms 2025-11-21 18:35:39,797 - INFO - Ping to IP 202.163.25.3 from VM ctest-TestBasicPolicy-20670263-49891189 passed 2025-11-21 18:35:39,988 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce734fed-7444-4bb6-80d9-bad31a45d6a6", "href": "http://10.0.0.22:8082/network-policy/ce734fed-7444-4bb6-80d9-bad31a45d6a6"}} 2025-11-21 18:35:39,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:35:39,988 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.163.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 18:35:39,988 - DEBUG - ping -s 56 -c 3 -W 1 202.163.25.3 2025-11-21 18:35:43,213 - DEBUG - PING 202.163.25.3 (202.163.25.3): 56 data bytes --- 202.163.25.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-21 18:35:43,214 - WARNING - Ping to IP 202.163.25.3 from VM ctest-TestBasicPolicy-20670263-49891189 failed 2025-11-21 18:35:43,214 - INFO - Deleting VM ctest-TestBasicPolicy-20670263-65663833 2025-11-21 18:35:43,289 - INFO - Deleting VM ctest-TestBasicPolicy-20670263-49891189 2025-11-21 18:35:43,702 - INFO - Deleted policy ctest-policy-allow-all-50426266 2025-11-21 18:35:43,703 - INFO - Deleting VN ctest-vn-41575025 2025-11-21 18:35:43,742 - DEBUG - VN 1e17f8a0-97f7-4a5b-a781-f32dd1b5c832 still in use: Unable to complete operation on network 1e17f8a0-97f7-4a5b-a781-f32dd1b5c832. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f69721a8-e856-481f-9352-3c90c1cc90d4'] 2025-11-21 18:35:43,742 - WARNING - Deleting VN ctest-vn-41575025 failed..Will retry 2025-11-21 18:35:45,850 - DEBUG - Response for deleting network () 2025-11-21 18:35:45,850 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94aeaee9-2581-4dfa-9766-06ca63673dd7 2025-11-21 18:35:45,859 - DEBUG - Response Code: 404 2025-11-21 18:35:45,860 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 18:35:45,865 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2e66b85b-2b71-4064-b026-b43b1d0ff4de 2025-11-21 18:35:45,919 - DEBUG - Requesting: http://10.0.0.22:8082/project/924fc34c-a77b-4e62-a674-dd8a15528306 2025-11-21 18:35:45,993 - INFO - Validated that VN ctest-vn-41575025 is not found in API Server 2025-11-21 18:35:46,002 - DEBUG - VN ctest-vn-41575025 is not present in Agent 10.0.0.22 2025-11-21 18:35:46,002 - INFO - Validated that VN ctest-vn-41575025 is not in any agent 2025-11-21 18:35:46,016 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41575025 info 2025-11-21 18:35:46,017 - INFO - Deleting VN ctest-vn-54860323 2025-11-21 18:35:46,131 - DEBUG - Response for deleting network () 2025-11-21 18:35:46,131 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/20209cae-046a-499f-9393-654a650de8bb 2025-11-21 18:35:46,141 - DEBUG - Response Code: 404 2025-11-21 18:35:46,141 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 18:35:46,148 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2e66b85b-2b71-4064-b026-b43b1d0ff4de 2025-11-21 18:35:46,201 - DEBUG - Requesting: http://10.0.0.22:8082/project/924fc34c-a77b-4e62-a674-dd8a15528306 2025-11-21 18:35:46,269 - INFO - Validated that VN ctest-vn-54860323 is not found in API Server 2025-11-21 18:35:46,279 - DEBUG - VN ctest-vn-54860323 is not present in Agent 10.0.0.22 2025-11-21 18:35:46,279 - INFO - Validated that VN ctest-vn-54860323 is not in any agent 2025-11-21 18:35:46,293 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54860323 info 2025-11-21 18:35:46,565 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 18:35:46,565 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-21 18:35:46,565 - INFO - -------------------------------------------------------------------------------- 2025-11-21 18:35:47,284 - INFO - Deleted project: ctest-TestBasicPolicy-20670263, ID : 924fc34c-a77b-4e62-a674-dd8a15528306