2025-12-09 18:49:48,004 - INFO - Domain Default found not creating 2025-12-09 18:49:48,169 - INFO - Project ctest-TestBasicPolicy-97304110 not found, creating it 2025-12-09 18:49:48,639 - INFO - Created Project:ctest-TestBasicPolicy-97304110, ID : 15b36331-fd26-4d9b-a316-82658bb911df 2025-12-09 18:49:50,109 - INFO - ================================================================================ 2025-12-09 18:49:50,109 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-09 18:49:50,109 - 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-12-09 18:49:50,368 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-09 18:49:50,368 - INFO - Initial checks done. Running the testcase now 2025-12-09 18:49:50,368 - INFO - 2025-12-09 18:49:50,921 - DEBUG - Response for create_network : {'network': {'id': '346f1f78-a64d-45f6-9e8d-34419ad3770c', 'name': 'ctest-vn-19878262', 'tenant_id': '15b36331fd264d9ba31682658bb911df', 'project_id': '15b36331fd264d9ba31682658bb911df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97304110', 'ctest-vn-19878262'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 18:49:51,112 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7cd8f99-7631-4c31-94fc-8364c96ca98e', 'name': '', 'tenant_id': '15b36331fd264d9ba31682658bb911df', 'network_id': '346f1f78-a64d-45f6-9e8d-34419ad3770c', 'ip_version': 4, 'cidr': '90.20.210.0/26', 'allocation_pools': [{'start': '90.20.210.2', 'end': '90.20.210.62'}], 'gateway_ip': '90.20.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.20.210.2', 'tags': [], 'project_id': '15b36331fd264d9ba31682658bb911df'}} 2025-12-09 18:49:51,129 - INFO - Created VN ctest-vn-19878262 2025-12-09 18:49:51,180 - DEBUG - VN ctest-vn-19878262 UUID is 346f1f78-a64d-45f6-9e8d-34419ad3770c 2025-12-09 18:49:51,497 - DEBUG - Response for create_network : {'network': {'id': '5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab', 'name': 'ctest-vn-84484032', 'tenant_id': '15b36331fd264d9ba31682658bb911df', 'project_id': '15b36331fd264d9ba31682658bb911df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97304110', 'ctest-vn-84484032'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 18:49:51,674 - DEBUG - Response for create_subnet : {'subnet': {'id': '3af8d6aa-fa2c-49d3-a81d-eaed5046a816', 'name': '', 'tenant_id': '15b36331fd264d9ba31682658bb911df', 'network_id': '5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab', 'ip_version': 4, 'cidr': '168.62.35.128/26', 'allocation_pools': [{'start': '168.62.35.130', 'end': '168.62.35.190'}], 'gateway_ip': '168.62.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.62.35.130', 'tags': [], 'project_id': '15b36331fd264d9ba31682658bb911df'}} 2025-12-09 18:49:51,690 - INFO - Created VN ctest-vn-84484032 2025-12-09 18:49:51,740 - DEBUG - VN ctest-vn-84484032 UUID is 5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab 2025-12-09 18:49:51,888 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-19878262, 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-97304110:ctest-vn-84484032, 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-12-09 18:49:52,178 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '346f1f78-a64d-45f6-9e8d-34419ad3770c', 'name': 'ctest-vn-19878262', 'tenant_id': '15b36331fd264d9ba31682658bb911df', 'project_id': '15b36331fd264d9ba31682658bb911df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d7cd8f99-7631-4c31-94fc-8364c96ca98e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97304110', 'ctest-vn-19878262'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97304110', 'ctest-policy-allow-all-17462658']], 'subnet_ipam': [{'subnet_cidr': '90.20.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 18:49:52,440 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab', 'name': 'ctest-vn-84484032', 'tenant_id': '15b36331fd264d9ba31682658bb911df', 'project_id': '15b36331fd264d9ba31682658bb911df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3af8d6aa-fa2c-49d3-a81d-eaed5046a816'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97304110', 'ctest-vn-84484032'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97304110', 'ctest-policy-allow-all-17462658']], 'subnet_ipam': [{'subnet_cidr': '168.62.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 18:49:52,592 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 18:49:52,887 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 18:49:52,919 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7a0bf2a8-7088-49df-a9a0-e70874b1a0fe 2025-12-09 18:49:52,930 - DEBUG - Requesting: http://10.0.0.19:8082/project/15b36331-fd26-4d9b-a316-82658bb911df 2025-12-09 18:49:53,000 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/346f1f78-a64d-45f6-9e8d-34419ad3770c 2025-12-09 18:49:53,010 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/346f1f78-a64d-45f6-9e8d-34419ad3770c 2025-12-09 18:49:53,018 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/69052ab4-cd75-4abf-8d7b-c85ad0298aa4 2025-12-09 18:49:53,024 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/69052ab4-cd75-4abf-8d7b-c85ad0298aa4 2025-12-09 18:49:53,031 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/663b2121-f8ac-4869-bb9b-e00b27ba7a82 2025-12-09 18:49:53,042 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 18:49:53,042 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/346f1f78-a64d-45f6-9e8d-34419ad3770c 2025-12-09 18:49:53,052 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/69052ab4-cd75-4abf-8d7b-c85ad0298aa4 2025-12-09 18:49:53,065 - INFO - Verified VN network id 11 for VN 346f1f78-a64d-45f6-9e8d-34419ad3770c 2025-12-09 18:49:53,065 - INFO - Verifications in API Server for VN ctest-vn-19878262 passed 2025-12-09 18:49:53,065 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/346f1f78-a64d-45f6-9e8d-34419ad3770c 2025-12-09 18:49:53,073 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/69052ab4-cd75-4abf-8d7b-c85ad0298aa4 2025-12-09 18:49:53,079 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/69052ab4-cd75-4abf-8d7b-c85ad0298aa4 2025-12-09 18:49:53,086 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/663b2121-f8ac-4869-bb9b-e00b27ba7a82 2025-12-09 18:49:53,096 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-19878262', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97304110', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3778273215433754102', 'uuid-lslong': '11424845286083884812'}, 'enable': 'true', 'created': '2025-12-09T18:49:50', 'last-modified': '2025-12-09T18:49:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940898'} 2025-12-09 18:49:53,103 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 18:49:53,103 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19878262 passed 2025-12-09 18:49:53,104 - DEBUG - ====Verifying policy data for ctest-vn-19878262 in API_Server ====== 2025-12-09 18:49:53,104 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 18:49:53,109 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7a0bf2a8-7088-49df-a9a0-e70874b1a0fe 2025-12-09 18:49:53,119 - DEBUG - Requesting: http://10.0.0.19:8082/project/15b36331-fd26-4d9b-a316-82658bb911df 2025-12-09 18:49:53,189 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/346f1f78-a64d-45f6-9e8d-34419ad3770c 2025-12-09 18:49:53,198 - DEBUG - ==>Verifying data for policy with id: 27ce5f37-5e84-4bf3-987f-afe73110c300, fqn: ['default-domain', 'ctest-TestBasicPolicy-97304110', 'ctest-policy-allow-all-17462658'] 2025-12-09 18:49:53,198 - INFO - VN ctest-vn-19878262 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 18:49:53,198 - DEBUG - Verifying the vn in opserver 2025-12-09 18:49:53,198 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-19878262 virtual network link through opserver 10.0.0.19 2025-12-09 18:49:53,198 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-09 18:49:53,492 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-09 18:49:53,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-19878262', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-19878262?flat'} 2025-12-09 18:49:53,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-19878262 is found in opserver 2025-12-09 18:49:53,561 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 18:49:53,566 - DEBUG - VRF ids for VN ctest-vn-19878262: {} 2025-12-09 18:49:53,566 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 18:49:53,571 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7a0bf2a8-7088-49df-a9a0-e70874b1a0fe 2025-12-09 18:49:53,581 - DEBUG - Requesting: http://10.0.0.19:8082/project/15b36331-fd26-4d9b-a316-82658bb911df 2025-12-09 18:49:53,649 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab 2025-12-09 18:49:53,658 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab 2025-12-09 18:49:53,666 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/435ec468-2638-4067-ba7e-0d5a3f6bb900 2025-12-09 18:49:53,672 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/435ec468-2638-4067-ba7e-0d5a3f6bb900 2025-12-09 18:49:53,678 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/1542bb9a-778b-491b-8c83-a3ff92864b70 2025-12-09 18:49:53,683 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 18:49:53,683 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab 2025-12-09 18:49:53,691 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/435ec468-2638-4067-ba7e-0d5a3f6bb900 2025-12-09 18:49:53,702 - INFO - Verified VN network id 12 for VN 5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab 2025-12-09 18:49:53,702 - INFO - Verifications in API Server for VN ctest-vn-84484032 passed 2025-12-09 18:49:53,702 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab 2025-12-09 18:49:53,710 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/435ec468-2638-4067-ba7e-0d5a3f6bb900 2025-12-09 18:49:53,716 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/435ec468-2638-4067-ba7e-0d5a3f6bb900 2025-12-09 18:49:53,721 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/1542bb9a-778b-491b-8c83-a3ff92864b70 2025-12-09 18:49:53,730 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-84484032', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97304110', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6893112247268297924', 'uuid-lslong': '10421834959619946667'}, 'enable': 'true', 'created': '2025-12-09T18:49:51', 'last-modified': '2025-12-09T18:49:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.357887'} 2025-12-09 18:49:53,735 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 18:49:53,735 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84484032 passed 2025-12-09 18:49:53,736 - DEBUG - ====Verifying policy data for ctest-vn-84484032 in API_Server ====== 2025-12-09 18:49:53,736 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 18:49:53,741 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7a0bf2a8-7088-49df-a9a0-e70874b1a0fe 2025-12-09 18:49:53,753 - DEBUG - Requesting: http://10.0.0.19:8082/project/15b36331-fd26-4d9b-a316-82658bb911df 2025-12-09 18:49:53,822 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab 2025-12-09 18:49:53,830 - DEBUG - ==>Verifying data for policy with id: 27ce5f37-5e84-4bf3-987f-afe73110c300, fqn: ['default-domain', 'ctest-TestBasicPolicy-97304110', 'ctest-policy-allow-all-17462658'] 2025-12-09 18:49:53,830 - INFO - VN ctest-vn-84484032 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 18:49:53,830 - DEBUG - Verifying the vn in opserver 2025-12-09 18:49:53,830 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-84484032 virtual network link through opserver 10.0.0.19 2025-12-09 18:49:53,830 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-09 18:49:53,839 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-84484032', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-84484032?flat'} 2025-12-09 18:49:53,839 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-84484032 is found in opserver 2025-12-09 18:49:53,849 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 18:49:53,854 - DEBUG - VRF ids for VN ctest-vn-84484032: {} 2025-12-09 18:49:53,909 - DEBUG - Services list from nova: [, , ] 2025-12-09 18:49:54,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4872-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4872-1) 2025-12-09 18:49:56,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4872-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4872-1) 2025-12-09 18:49:56,071 - INFO - Waiting for VM ctest-TestBasicPolicy-97304110-91606893 to be up.. 2025-12-09 18:49:56,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 18:50:01,241 - DEBUG - VM is in ACTIVE state now 2025-12-09 18:50:01,241 - INFO - VM name : ctest-TestBasicPolicy-97304110-91606893 2025-12-09 18:50:01,318 - DEBUG - VM ctest-TestBasicPolicy-97304110-91606893 ID is 61641fd1-67e4-430f-9df0-8db7d94be5d0 2025-12-09 18:50:01,338 - DEBUG - VM ctest-TestBasicPolicy-97304110-91606893 launched on Node cn-jenkins-deploy-platform-ansible-os-4872-1 2025-12-09 18:50:01,412 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/61641fd1-67e4-430f-9df0-8db7d94be5d0 2025-12-09 18:50:01,422 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e3133ce9-a1ab-4520-af7c-6f54ca93bb27 2025-12-09 18:50:04,666 - 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 1010ms') 2025-12-09 18:50:04,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97304110-91606893 failed! 2025-12-09 18:50:04,720 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97304110:ctest-vn-19878262 is 90.20.210.1 and allocation pool is NOT set 2025-12-09 18:50:06,780 - 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=8.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.860 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.860/4.770/8.681/3.910 ms') 2025-12-09 18:50:06,780 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97304110-91606893 passed 2025-12-09 18:50:06,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:50:06,928 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97304110-91606893, IP 90.20.210.3, Port 22 2025-12-09 18:50:07,084 - DEBUG - VM ctest-TestBasicPolicy-97304110-91606893 is ready for SSH connections 2025-12-09 18:50:07,084 - INFO - Waiting for VM ctest-TestBasicPolicy-97304110-93378410 to be up.. 2025-12-09 18:50:07,157 - DEBUG - VM is in ACTIVE state now 2025-12-09 18:50:07,157 - INFO - VM name : ctest-TestBasicPolicy-97304110-93378410 2025-12-09 18:50:07,238 - DEBUG - VM ctest-TestBasicPolicy-97304110-93378410 ID is 46b21177-8d0e-4d59-9a3e-fdc26f0ff2c3 2025-12-09 18:50:07,239 - DEBUG - VM ctest-TestBasicPolicy-97304110-93378410 launched on Node cn-jenkins-deploy-platform-ansible-os-4872-1 2025-12-09 18:50:07,320 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/46b21177-8d0e-4d59-9a3e-fdc26f0ff2c3 2025-12-09 18:50:07,329 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3fba9e81-7e93-4c73-be37-84c86eafbb64 2025-12-09 18:50:08,575 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.704/2.941/1.237 ms') 2025-12-09 18:50:08,575 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97304110-93378410 passed 2025-12-09 18:50:08,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:50:08,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97304110-93378410, IP 168.62.35.131, Port 22 2025-12-09 18:50:08,884 - DEBUG - VM ctest-TestBasicPolicy-97304110-93378410 is ready for SSH connections 2025-12-09 18:50:08,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:50:08,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.62.35.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 18:50:08,884 - DEBUG - ping -s 56 -c 3 -W 1 168.62.35.131 2025-12-09 18:50:12,884 - DEBUG - PING 168.62.35.131 (168.62.35.131): 56 data bytes 64 bytes from 168.62.35.131: seq=0 ttl=63 time=3.495 ms 64 bytes from 168.62.35.131: seq=1 ttl=63 time=0.861 ms 64 bytes from 168.62.35.131: seq=2 ttl=63 time=0.885 ms --- 168.62.35.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/1.747/3.495 ms 2025-12-09 18:50:12,884 - INFO - Ping to IP 168.62.35.131 from VM ctest-TestBasicPolicy-97304110-91606893 passed 2025-12-09 18:50:13,064 - DEBUG - Policy Update Response {"network-policy": {"uuid": "27ce5f37-5e84-4bf3-987f-afe73110c300", "href": "http://10.0.0.19:8082/network-policy/27ce5f37-5e84-4bf3-987f-afe73110c300"}} 2025-12-09 18:50:13,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:50:13,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.62.35.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 18:50:13,065 - DEBUG - ping -s 56 -c 3 -W 1 168.62.35.131 2025-12-09 18:50:16,280 - DEBUG - PING 168.62.35.131 (168.62.35.131): 56 data bytes --- 168.62.35.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 18:50:16,280 - WARNING - Ping to IP 168.62.35.131 from VM ctest-TestBasicPolicy-97304110-91606893 failed 2025-12-09 18:50:16,280 - INFO - Deleting VM ctest-TestBasicPolicy-97304110-93378410 2025-12-09 18:50:16,351 - INFO - Deleting VM ctest-TestBasicPolicy-97304110-91606893 2025-12-09 18:50:16,730 - INFO - Deleted policy ctest-policy-allow-all-17462658 2025-12-09 18:50:16,731 - INFO - Deleting VN ctest-vn-84484032 2025-12-09 18:50:16,771 - DEBUG - VN 5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab still in use: Unable to complete operation on network 5fa94111-4f52-4cc4-90a1-cbadb3e4f8ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe6cc688-8fe0-474d-b1ac-54b2d22df29f'] 2025-12-09 18:50:16,771 - WARNING - Deleting VN ctest-vn-84484032 failed..Will retry 2025-12-09 18:50:18,872 - DEBUG - Response for deleting network () 2025-12-09 18:50:18,872 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/435ec468-2638-4067-ba7e-0d5a3f6bb900 2025-12-09 18:50:18,877 - DEBUG - Response Code: 404 2025-12-09 18:50:18,877 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 18:50:18,881 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7a0bf2a8-7088-49df-a9a0-e70874b1a0fe 2025-12-09 18:50:18,933 - DEBUG - Requesting: http://10.0.0.19:8082/project/15b36331-fd26-4d9b-a316-82658bb911df 2025-12-09 18:50:19,001 - INFO - Validated that VN ctest-vn-84484032 is not found in API Server 2025-12-09 18:50:19,011 - DEBUG - VN ctest-vn-84484032 is not present in Agent 10.0.0.19 2025-12-09 18:50:19,011 - INFO - Validated that VN ctest-vn-84484032 is not in any agent 2025-12-09 18:50:19,024 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84484032 info 2025-12-09 18:50:19,024 - INFO - Deleting VN ctest-vn-19878262 2025-12-09 18:50:19,117 - DEBUG - Response for deleting network () 2025-12-09 18:50:19,117 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/69052ab4-cd75-4abf-8d7b-c85ad0298aa4 2025-12-09 18:50:19,122 - DEBUG - Response Code: 404 2025-12-09 18:50:19,122 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 18:50:19,127 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7a0bf2a8-7088-49df-a9a0-e70874b1a0fe 2025-12-09 18:50:19,177 - DEBUG - Requesting: http://10.0.0.19:8082/project/15b36331-fd26-4d9b-a316-82658bb911df 2025-12-09 18:50:19,250 - INFO - Validated that VN ctest-vn-19878262 is not found in API Server 2025-12-09 18:50:19,259 - DEBUG - VN ctest-vn-19878262 is not present in Agent 10.0.0.19 2025-12-09 18:50:19,259 - INFO - Validated that VN ctest-vn-19878262 is not in any agent 2025-12-09 18:50:19,274 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19878262 info 2025-12-09 18:50:19,534 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 18:50:19,534 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-12-09 18:50:19,534 - INFO - -------------------------------------------------------------------------------- 2025-12-09 18:50:20,266 - INFO - Deleted project: ctest-TestBasicPolicy-97304110, ID : 15b36331-fd26-4d9b-a316-82658bb911df