2025-10-13 02:00:20,516 - INFO - Domain Default found not creating 2025-10-13 02:00:20,681 - INFO - Project ctest-TestBasicPolicy-93879096 not found, creating it 2025-10-13 02:00:21,143 - INFO - Created Project:ctest-TestBasicPolicy-93879096, ID : 44bc6f45-7448-4b8b-8e10-3f4f928c2221 2025-10-13 02:00:22,588 - INFO - ================================================================================ 2025-10-13 02:00:22,588 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 02:00:22,588 - 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-13 02:00:22,858 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-13 02:00:22,858 - INFO - Initial checks done. Running the testcase now 2025-10-13 02:00:22,858 - INFO - 2025-10-13 02:00:23,472 - DEBUG - Response for create_network : {'network': {'id': 'ffe5a499-6b68-4564-a3ca-82678b2e46ec', 'name': 'ctest-vn-88908070', 'tenant_id': '44bc6f4574484b8b8e103f4f928c2221', 'project_id': '44bc6f4574484b8b8e103f4f928c2221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93879096', 'ctest-vn-88908070'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:00:23,635 - DEBUG - Response for create_subnet : {'subnet': {'id': '0df6b7b3-ff73-40c1-bd24-a1014e3dc1cd', 'name': '', 'tenant_id': '44bc6f4574484b8b8e103f4f928c2221', 'network_id': 'ffe5a499-6b68-4564-a3ca-82678b2e46ec', 'ip_version': 4, 'cidr': '83.254.21.128/26', 'allocation_pools': [{'start': '83.254.21.130', 'end': '83.254.21.190'}], 'gateway_ip': '83.254.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.254.21.130', 'tags': [], 'project_id': '44bc6f4574484b8b8e103f4f928c2221'}} 2025-10-13 02:00:23,655 - INFO - Created VN ctest-vn-88908070 2025-10-13 02:00:23,708 - DEBUG - VN ctest-vn-88908070 UUID is ffe5a499-6b68-4564-a3ca-82678b2e46ec 2025-10-13 02:00:24,005 - DEBUG - Response for create_network : {'network': {'id': '46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4', 'name': 'ctest-vn-82097321', 'tenant_id': '44bc6f4574484b8b8e103f4f928c2221', 'project_id': '44bc6f4574484b8b8e103f4f928c2221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93879096', 'ctest-vn-82097321'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:00:24,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f4d761c-ce01-459c-b059-7b42c51732a8', 'name': '', 'tenant_id': '44bc6f4574484b8b8e103f4f928c2221', 'network_id': '46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4', 'ip_version': 4, 'cidr': '20.46.189.64/26', 'allocation_pools': [{'start': '20.46.189.66', 'end': '20.46.189.126'}], 'gateway_ip': '20.46.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.46.189.66', 'tags': [], 'project_id': '44bc6f4574484b8b8e103f4f928c2221'}} 2025-10-13 02:00:24,182 - INFO - Created VN ctest-vn-82097321 2025-10-13 02:00:24,236 - DEBUG - VN ctest-vn-82097321 UUID is 46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4 2025-10-13 02:00:24,348 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-88908070, 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-93879096:ctest-vn-82097321, 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-13 02:00:24,651 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ffe5a499-6b68-4564-a3ca-82678b2e46ec', 'name': 'ctest-vn-88908070', 'tenant_id': '44bc6f4574484b8b8e103f4f928c2221', 'project_id': '44bc6f4574484b8b8e103f4f928c2221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0df6b7b3-ff73-40c1-bd24-a1014e3dc1cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93879096', 'ctest-vn-88908070'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93879096', 'ctest-policy-allow-all-23044028']], 'subnet_ipam': [{'subnet_cidr': '83.254.21.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:00:24,889 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4', 'name': 'ctest-vn-82097321', 'tenant_id': '44bc6f4574484b8b8e103f4f928c2221', 'project_id': '44bc6f4574484b8b8e103f4f928c2221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f4d761c-ce01-459c-b059-7b42c51732a8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93879096', 'ctest-vn-82097321'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93879096', 'ctest-policy-allow-all-23044028']], 'subnet_ipam': [{'subnet_cidr': '20.46.189.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:00:25,060 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 02:00:25,370 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 02:00:25,402 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ad322067-a415-4c2a-9a89-b51c9ed34213 2025-10-13 02:00:25,414 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc6f45-7448-4b8b-8e10-3f4f928c2221 2025-10-13 02:00:25,491 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ffe5a499-6b68-4564-a3ca-82678b2e46ec 2025-10-13 02:00:25,501 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ffe5a499-6b68-4564-a3ca-82678b2e46ec 2025-10-13 02:00:25,509 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/452c7a83-757a-40e5-87c7-8bae73aa868c 2025-10-13 02:00:25,516 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/452c7a83-757a-40e5-87c7-8bae73aa868c 2025-10-13 02:00:25,522 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eaa6d9a6-dcd4-4718-b2f4-ccd9661ae295 2025-10-13 02:00:25,529 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 02:00:25,529 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ffe5a499-6b68-4564-a3ca-82678b2e46ec 2025-10-13 02:00:25,537 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/452c7a83-757a-40e5-87c7-8bae73aa868c 2025-10-13 02:00:25,552 - INFO - Verified VN network id 11 for VN ffe5a499-6b68-4564-a3ca-82678b2e46ec 2025-10-13 02:00:25,552 - INFO - Verifications in API Server for VN ctest-vn-88908070 passed 2025-10-13 02:00:25,553 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ffe5a499-6b68-4564-a3ca-82678b2e46ec 2025-10-13 02:00:25,561 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/452c7a83-757a-40e5-87c7-8bae73aa868c 2025-10-13 02:00:25,567 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/452c7a83-757a-40e5-87c7-8bae73aa868c 2025-10-13 02:00:25,573 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eaa6d9a6-dcd4-4718-b2f4-ccd9661ae295 2025-10-13 02:00:25,584 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-88908070', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93879096', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18439325228177311076', 'uuid-lslong': '11802389154706114284'}, 'enable': 'true', 'created': '2025-10-13T02:00:23', 'last-modified': '2025-10-13T02:00:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962497'} 2025-10-13 02:00:25,590 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 02:00:25,590 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88908070 passed 2025-10-13 02:00:25,590 - DEBUG - ====Verifying policy data for ctest-vn-88908070 in API_Server ====== 2025-10-13 02:00:25,590 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 02:00:25,595 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ad322067-a415-4c2a-9a89-b51c9ed34213 2025-10-13 02:00:25,606 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc6f45-7448-4b8b-8e10-3f4f928c2221 2025-10-13 02:00:25,677 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ffe5a499-6b68-4564-a3ca-82678b2e46ec 2025-10-13 02:00:25,687 - DEBUG - ==>Verifying data for policy with id: 35c56f33-88b3-49eb-bb27-3da1104ee453, fqn: ['default-domain', 'ctest-TestBasicPolicy-93879096', 'ctest-policy-allow-all-23044028'] 2025-10-13 02:00:25,687 - INFO - VN ctest-vn-88908070 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 02:00:25,687 - DEBUG - Verifying the vn in opserver 2025-10-13 02:00:25,687 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-88908070 virtual network link through opserver 10.0.0.254 2025-10-13 02:00:25,687 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-13 02:00:25,984 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-13 02:00:26,046 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-88908070', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-88908070?flat'} 2025-10-13 02:00:26,046 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-88908070 is found in opserver 2025-10-13 02:00:26,056 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 02:00:26,061 - DEBUG - VRF ids for VN ctest-vn-88908070: {} 2025-10-13 02:00:26,061 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 02:00:26,068 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ad322067-a415-4c2a-9a89-b51c9ed34213 2025-10-13 02:00:26,080 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc6f45-7448-4b8b-8e10-3f4f928c2221 2025-10-13 02:00:26,153 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4 2025-10-13 02:00:26,165 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4 2025-10-13 02:00:26,173 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2905d689-35e6-4a6f-b50d-e8ece161120c 2025-10-13 02:00:26,180 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2905d689-35e6-4a6f-b50d-e8ece161120c 2025-10-13 02:00:26,198 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/492d4e47-6d66-4822-9a83-e37589ca1590 2025-10-13 02:00:26,206 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 02:00:26,206 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4 2025-10-13 02:00:26,215 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2905d689-35e6-4a6f-b50d-e8ece161120c 2025-10-13 02:00:26,230 - INFO - Verified VN network id 12 for VN 46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4 2025-10-13 02:00:26,231 - INFO - Verifications in API Server for VN ctest-vn-82097321 passed 2025-10-13 02:00:26,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4 2025-10-13 02:00:26,242 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2905d689-35e6-4a6f-b50d-e8ece161120c 2025-10-13 02:00:26,250 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2905d689-35e6-4a6f-b50d-e8ece161120c 2025-10-13 02:00:26,258 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/492d4e47-6d66-4822-9a83-e37589ca1590 2025-10-13 02:00:26,271 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-82097321', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93879096', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5102501098332834238', 'uuid-lslong': '12415798483913269732'}, 'enable': 'true', 'created': '2025-10-13T02:00:23', 'last-modified': '2025-10-13T02:00:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408569'} 2025-10-13 02:00:26,276 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 02:00:26,276 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82097321 passed 2025-10-13 02:00:26,276 - DEBUG - ====Verifying policy data for ctest-vn-82097321 in API_Server ====== 2025-10-13 02:00:26,276 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 02:00:26,283 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ad322067-a415-4c2a-9a89-b51c9ed34213 2025-10-13 02:00:26,294 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc6f45-7448-4b8b-8e10-3f4f928c2221 2025-10-13 02:00:26,369 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4 2025-10-13 02:00:26,377 - DEBUG - ==>Verifying data for policy with id: 35c56f33-88b3-49eb-bb27-3da1104ee453, fqn: ['default-domain', 'ctest-TestBasicPolicy-93879096', 'ctest-policy-allow-all-23044028'] 2025-10-13 02:00:26,378 - INFO - VN ctest-vn-82097321 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 02:00:26,378 - DEBUG - Verifying the vn in opserver 2025-10-13 02:00:26,378 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-82097321 virtual network link through opserver 10.0.0.254 2025-10-13 02:00:26,378 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-13 02:00:26,387 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-82097321', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-82097321?flat'} 2025-10-13 02:00:26,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-82097321 is found in opserver 2025-10-13 02:00:26,397 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 02:00:26,408 - DEBUG - VRF ids for VN ctest-vn-82097321: {} 2025-10-13 02:00:26,470 - DEBUG - Services list from nova: [, , ] 2025-10-13 02:00:27,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4293-1) 2025-10-13 02:00:28,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4293-1) 2025-10-13 02:00:28,648 - INFO - Waiting for VM ctest-TestBasicPolicy-93879096-46501048 to be up.. 2025-10-13 02:00:28,729 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 02:00:33,811 - DEBUG - VM is in ACTIVE state now 2025-10-13 02:00:33,811 - INFO - VM name : ctest-TestBasicPolicy-93879096-46501048 2025-10-13 02:00:33,887 - DEBUG - VM ctest-TestBasicPolicy-93879096-46501048 ID is e3775684-4bae-4212-92b5-548118ad9ff1 2025-10-13 02:00:33,909 - DEBUG - VM ctest-TestBasicPolicy-93879096-46501048 launched on Node cn-jenkins-deploy-platform-ansible-os-4293-1 2025-10-13 02:00:33,991 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e3775684-4bae-4212-92b5-548118ad9ff1 2025-10-13 02:00:33,999 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7cf621af-228e-4fb9-8069-20964be54897 2025-10-13 02:00:37,263 - 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 1026ms') 2025-10-13 02:00:37,263 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93879096-46501048 failed! 2025-10-13 02:00:37,316 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93879096:ctest-vn-88908070 is 83.254.21.129 and allocation pool is NOT set 2025-10-13 02:00:39,377 - 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=9.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/4.710/9.001/4.291 ms') 2025-10-13 02:00:39,377 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93879096-46501048 passed 2025-10-13 02:00:39,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:00:39,525 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93879096-46501048, IP 83.254.21.131, Port 22 2025-10-13 02:00:39,691 - DEBUG - VM ctest-TestBasicPolicy-93879096-46501048 is ready for SSH connections 2025-10-13 02:00:39,691 - INFO - Waiting for VM ctest-TestBasicPolicy-93879096-80341726 to be up.. 2025-10-13 02:00:39,769 - DEBUG - VM is in ACTIVE state now 2025-10-13 02:00:39,769 - INFO - VM name : ctest-TestBasicPolicy-93879096-80341726 2025-10-13 02:00:39,836 - DEBUG - VM ctest-TestBasicPolicy-93879096-80341726 ID is a69dcb89-c10b-4155-bff8-17b579a27160 2025-10-13 02:00:39,836 - DEBUG - VM ctest-TestBasicPolicy-93879096-80341726 launched on Node cn-jenkins-deploy-platform-ansible-os-4293-1 2025-10-13 02:00:39,905 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a69dcb89-c10b-4155-bff8-17b579a27160 2025-10-13 02:00:39,913 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e1a05f11-7750-4bfb-8550-2dd3a692687b 2025-10-13 02:00:41,148 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.748 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.748/2.871/4.995/2.123 ms') 2025-10-13 02:00:41,148 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93879096-80341726 passed 2025-10-13 02:00:41,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:00:41,296 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93879096-80341726, IP 20.46.189.67, Port 22 2025-10-13 02:00:41,452 - DEBUG - VM ctest-TestBasicPolicy-93879096-80341726 is ready for SSH connections 2025-10-13 02:00:41,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:00:41,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.46.189.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 02:00:41,452 - DEBUG - ping -s 56 -c 3 -W 1 20.46.189.67 2025-10-13 02:00:45,539 - DEBUG - PING 20.46.189.67 (20.46.189.67): 56 data bytes 64 bytes from 20.46.189.67: seq=0 ttl=63 time=5.152 ms 64 bytes from 20.46.189.67: seq=1 ttl=63 time=0.875 ms 64 bytes from 20.46.189.67: seq=2 ttl=63 time=1.144 ms --- 20.46.189.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/2.390/5.152 ms 2025-10-13 02:00:45,539 - INFO - Ping to IP 20.46.189.67 from VM ctest-TestBasicPolicy-93879096-46501048 passed 2025-10-13 02:00:45,716 - DEBUG - Policy Update Response {"network-policy": {"uuid": "35c56f33-88b3-49eb-bb27-3da1104ee453", "href": "http://10.0.0.254:8082/network-policy/35c56f33-88b3-49eb-bb27-3da1104ee453"}} 2025-10-13 02:00:45,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:00:45,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.46.189.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 02:00:45,716 - DEBUG - ping -s 56 -c 3 -W 1 20.46.189.67 2025-10-13 02:00:48,923 - DEBUG - PING 20.46.189.67 (20.46.189.67): 56 data bytes --- 20.46.189.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 02:00:48,923 - WARNING - Ping to IP 20.46.189.67 from VM ctest-TestBasicPolicy-93879096-46501048 failed 2025-10-13 02:00:48,923 - INFO - Deleting VM ctest-TestBasicPolicy-93879096-80341726 2025-10-13 02:00:48,988 - INFO - Deleting VM ctest-TestBasicPolicy-93879096-46501048 2025-10-13 02:00:49,359 - INFO - Deleted policy ctest-policy-allow-all-23044028 2025-10-13 02:00:49,359 - INFO - Deleting VN ctest-vn-82097321 2025-10-13 02:00:49,390 - DEBUG - VN 46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4 still in use: Unable to complete operation on network 46cfb9b6-f82b-49be-ac4d-c6f07c7be1e4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-924cdf98-7c0a-4fed-b8b0-232e95810bab'] 2025-10-13 02:00:49,390 - WARNING - Deleting VN ctest-vn-82097321 failed..Will retry 2025-10-13 02:00:51,488 - DEBUG - Response for deleting network () 2025-10-13 02:00:51,488 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2905d689-35e6-4a6f-b50d-e8ece161120c 2025-10-13 02:00:51,495 - DEBUG - Response Code: 404 2025-10-13 02:00:51,495 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 02:00:51,500 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ad322067-a415-4c2a-9a89-b51c9ed34213 2025-10-13 02:00:51,553 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc6f45-7448-4b8b-8e10-3f4f928c2221 2025-10-13 02:00:51,622 - INFO - Validated that VN ctest-vn-82097321 is not found in API Server 2025-10-13 02:00:51,631 - DEBUG - VN ctest-vn-82097321 is not present in Agent 10.0.0.254 2025-10-13 02:00:51,631 - INFO - Validated that VN ctest-vn-82097321 is not in any agent 2025-10-13 02:00:51,643 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82097321 info 2025-10-13 02:00:51,644 - INFO - Deleting VN ctest-vn-88908070 2025-10-13 02:00:51,744 - DEBUG - Response for deleting network () 2025-10-13 02:00:51,745 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/452c7a83-757a-40e5-87c7-8bae73aa868c 2025-10-13 02:00:51,751 - DEBUG - Response Code: 404 2025-10-13 02:00:51,752 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 02:00:51,757 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ad322067-a415-4c2a-9a89-b51c9ed34213 2025-10-13 02:00:51,809 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc6f45-7448-4b8b-8e10-3f4f928c2221 2025-10-13 02:00:51,880 - INFO - Validated that VN ctest-vn-88908070 is not found in API Server 2025-10-13 02:00:51,889 - DEBUG - VN ctest-vn-88908070 is not present in Agent 10.0.0.254 2025-10-13 02:00:51,889 - INFO - Validated that VN ctest-vn-88908070 is not in any agent 2025-10-13 02:00:51,900 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88908070 info 2025-10-13 02:00:52,153 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 02:00:52,153 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-13 02:00:52,153 - INFO - -------------------------------------------------------------------------------- 2025-10-13 02:00:52,822 - INFO - Deleted project: ctest-TestBasicPolicy-93879096, ID : 44bc6f45-7448-4b8b-8e10-3f4f928c2221