2026-01-08 18:10:59,137 - INFO - Domain Default found not creating 2026-01-08 18:10:59,295 - INFO - Project ctest-TestBasicPolicy-97538508 not found, creating it 2026-01-08 18:10:59,747 - INFO - Created Project:ctest-TestBasicPolicy-97538508, ID : df5abe29-e52f-477a-8982-3a681e0204f8 2026-01-08 18:11:01,207 - INFO - ================================================================================ 2026-01-08 18:11:01,207 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-08 18:11:01,207 - 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 2026-01-08 18:11:01,462 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-08 18:11:01,462 - INFO - Initial checks done. Running the testcase now 2026-01-08 18:11:01,462 - INFO - 2026-01-08 18:11:02,015 - DEBUG - Response for create_network : {'network': {'id': 'ba70dd29-c43a-41dd-86cd-97cab3cfd7c4', 'name': 'ctest-vn-17898650', 'tenant_id': 'df5abe29e52f477a89823a681e0204f8', 'project_id': 'df5abe29e52f477a89823a681e0204f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97538508', 'ctest-vn-17898650'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 18:11:02,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c395884-26b3-4cdb-9833-a89d8ac7ddcf', 'name': '', 'tenant_id': 'df5abe29e52f477a89823a681e0204f8', 'network_id': 'ba70dd29-c43a-41dd-86cd-97cab3cfd7c4', 'ip_version': 4, 'cidr': '178.228.236.192/26', 'allocation_pools': [{'start': '178.228.236.194', 'end': '178.228.236.254'}], 'gateway_ip': '178.228.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.228.236.194', 'tags': [], 'project_id': 'df5abe29e52f477a89823a681e0204f8'}} 2026-01-08 18:11:02,179 - INFO - Created VN ctest-vn-17898650 2026-01-08 18:11:02,229 - DEBUG - VN ctest-vn-17898650 UUID is ba70dd29-c43a-41dd-86cd-97cab3cfd7c4 2026-01-08 18:11:02,498 - DEBUG - Response for create_network : {'network': {'id': '9d1cb9ce-a13f-4563-bcf2-ab6e99105836', 'name': 'ctest-vn-15043435', 'tenant_id': 'df5abe29e52f477a89823a681e0204f8', 'project_id': 'df5abe29e52f477a89823a681e0204f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97538508', 'ctest-vn-15043435'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 18:11:02,649 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c1768f8-0061-48a6-8ffd-2b1f41ea9a6d', 'name': '', 'tenant_id': 'df5abe29e52f477a89823a681e0204f8', 'network_id': '9d1cb9ce-a13f-4563-bcf2-ab6e99105836', 'ip_version': 4, 'cidr': '7.84.116.0/26', 'allocation_pools': [{'start': '7.84.116.2', 'end': '7.84.116.62'}], 'gateway_ip': '7.84.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.84.116.2', 'tags': [], 'project_id': 'df5abe29e52f477a89823a681e0204f8'}} 2026-01-08 18:11:02,667 - INFO - Created VN ctest-vn-15043435 2026-01-08 18:11:02,721 - DEBUG - VN ctest-vn-15043435 UUID is 9d1cb9ce-a13f-4563-bcf2-ab6e99105836 2026-01-08 18:11:02,832 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-17898650, 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-97538508:ctest-vn-15043435, 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] 2026-01-08 18:11:03,132 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba70dd29-c43a-41dd-86cd-97cab3cfd7c4', 'name': 'ctest-vn-17898650', 'tenant_id': 'df5abe29e52f477a89823a681e0204f8', 'project_id': 'df5abe29e52f477a89823a681e0204f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c395884-26b3-4cdb-9833-a89d8ac7ddcf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97538508', 'ctest-vn-17898650'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97538508', 'ctest-policy-allow-all-56394493']], 'subnet_ipam': [{'subnet_cidr': '178.228.236.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-08 18:11:03,419 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d1cb9ce-a13f-4563-bcf2-ab6e99105836', 'name': 'ctest-vn-15043435', 'tenant_id': 'df5abe29e52f477a89823a681e0204f8', 'project_id': 'df5abe29e52f477a89823a681e0204f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4c1768f8-0061-48a6-8ffd-2b1f41ea9a6d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97538508', 'ctest-vn-15043435'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97538508', 'ctest-policy-allow-all-56394493']], 'subnet_ipam': [{'subnet_cidr': '7.84.116.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-08 18:11:03,569 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 18:11:03,868 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 18:11:03,899 - DEBUG - Requesting: http://10.0.0.38:8082/domain/380cee70-d5c3-41da-88d7-27d8a3a783af 2026-01-08 18:11:03,910 - DEBUG - Requesting: http://10.0.0.38:8082/project/df5abe29-e52f-477a-8982-3a681e0204f8 2026-01-08 18:11:03,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ba70dd29-c43a-41dd-86cd-97cab3cfd7c4 2026-01-08 18:11:03,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ba70dd29-c43a-41dd-86cd-97cab3cfd7c4 2026-01-08 18:11:03,998 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4f3ecba-c674-4722-a54e-09ccebf98508 2026-01-08 18:11:04,003 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4f3ecba-c674-4722-a54e-09ccebf98508 2026-01-08 18:11:04,009 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/05506624-ddac-45b8-b72c-03a33b705f54 2026-01-08 18:11:04,015 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-08 18:11:04,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ba70dd29-c43a-41dd-86cd-97cab3cfd7c4 2026-01-08 18:11:04,022 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4f3ecba-c674-4722-a54e-09ccebf98508 2026-01-08 18:11:04,035 - INFO - Verified VN network id 12 for VN ba70dd29-c43a-41dd-86cd-97cab3cfd7c4 2026-01-08 18:11:04,035 - INFO - Verifications in API Server for VN ctest-vn-17898650 passed 2026-01-08 18:11:04,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ba70dd29-c43a-41dd-86cd-97cab3cfd7c4 2026-01-08 18:11:04,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4f3ecba-c674-4722-a54e-09ccebf98508 2026-01-08 18:11:04,049 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4f3ecba-c674-4722-a54e-09ccebf98508 2026-01-08 18:11:04,055 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/05506624-ddac-45b8-b72c-03a33b705f54 2026-01-08 18:11:04,065 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-17898650', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97538508', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13434480859901739485', 'uuid-lslong': '9713586868163958724'}, 'enable': 'true', 'created': '2026-01-08T18:11:01', 'last-modified': '2026-01-08T18:11:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953142'} 2026-01-08 18:11:04,071 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-08 18:11:04,071 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17898650 passed 2026-01-08 18:11:04,071 - DEBUG - ====Verifying policy data for ctest-vn-17898650 in API_Server ====== 2026-01-08 18:11:04,071 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 18:11:04,076 - DEBUG - Requesting: http://10.0.0.38:8082/domain/380cee70-d5c3-41da-88d7-27d8a3a783af 2026-01-08 18:11:04,086 - DEBUG - Requesting: http://10.0.0.38:8082/project/df5abe29-e52f-477a-8982-3a681e0204f8 2026-01-08 18:11:04,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ba70dd29-c43a-41dd-86cd-97cab3cfd7c4 2026-01-08 18:11:04,164 - DEBUG - ==>Verifying data for policy with id: 14ac8372-8c99-49da-9ef2-01dc84aab277, fqn: ['default-domain', 'ctest-TestBasicPolicy-97538508', 'ctest-policy-allow-all-56394493'] 2026-01-08 18:11:04,165 - INFO - VN ctest-vn-17898650 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-08 18:11:04,165 - DEBUG - Verifying the vn in opserver 2026-01-08 18:11:04,165 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-17898650 virtual network link through opserver 10.0.0.38 2026-01-08 18:11:04,165 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-08 18:11:04,470 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-08 18:11:04,541 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-17898650', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-17898650?flat'} 2026-01-08 18:11:04,541 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-17898650 is found in opserver 2026-01-08 18:11:04,550 - DEBUG - Do not have enough data to verify VN in agent 2026-01-08 18:11:04,554 - DEBUG - VRF ids for VN ctest-vn-17898650: {} 2026-01-08 18:11:04,554 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 18:11:04,559 - DEBUG - Requesting: http://10.0.0.38:8082/domain/380cee70-d5c3-41da-88d7-27d8a3a783af 2026-01-08 18:11:04,571 - DEBUG - Requesting: http://10.0.0.38:8082/project/df5abe29-e52f-477a-8982-3a681e0204f8 2026-01-08 18:11:04,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d1cb9ce-a13f-4563-bcf2-ab6e99105836 2026-01-08 18:11:04,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d1cb9ce-a13f-4563-bcf2-ab6e99105836 2026-01-08 18:11:04,671 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2081cbd0-5ab5-4316-907b-475d9d50f000 2026-01-08 18:11:04,679 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2081cbd0-5ab5-4316-907b-475d9d50f000 2026-01-08 18:11:04,686 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f74110c7-6a9c-47c1-b705-c59f9bda499b 2026-01-08 18:11:04,693 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-08 18:11:04,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d1cb9ce-a13f-4563-bcf2-ab6e99105836 2026-01-08 18:11:04,702 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2081cbd0-5ab5-4316-907b-475d9d50f000 2026-01-08 18:11:04,716 - INFO - Verified VN network id 13 for VN 9d1cb9ce-a13f-4563-bcf2-ab6e99105836 2026-01-08 18:11:04,716 - INFO - Verifications in API Server for VN ctest-vn-15043435 passed 2026-01-08 18:11:04,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d1cb9ce-a13f-4563-bcf2-ab6e99105836 2026-01-08 18:11:04,725 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2081cbd0-5ab5-4316-907b-475d9d50f000 2026-01-08 18:11:04,731 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2081cbd0-5ab5-4316-907b-475d9d50f000 2026-01-08 18:11:04,739 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f74110c7-6a9c-47c1-b705-c59f9bda499b 2026-01-08 18:11:04,749 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-15043435', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97538508', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11321127860422264163', 'uuid-lslong': '13615133114997168182'}, 'enable': 'true', 'created': '2026-01-08T18:11:02', 'last-modified': '2026-01-08T18:11:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405128'} 2026-01-08 18:11:04,757 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-08 18:11:04,757 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15043435 passed 2026-01-08 18:11:04,757 - DEBUG - ====Verifying policy data for ctest-vn-15043435 in API_Server ====== 2026-01-08 18:11:04,758 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 18:11:04,764 - DEBUG - Requesting: http://10.0.0.38:8082/domain/380cee70-d5c3-41da-88d7-27d8a3a783af 2026-01-08 18:11:04,776 - DEBUG - Requesting: http://10.0.0.38:8082/project/df5abe29-e52f-477a-8982-3a681e0204f8 2026-01-08 18:11:04,848 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d1cb9ce-a13f-4563-bcf2-ab6e99105836 2026-01-08 18:11:04,858 - DEBUG - ==>Verifying data for policy with id: 14ac8372-8c99-49da-9ef2-01dc84aab277, fqn: ['default-domain', 'ctest-TestBasicPolicy-97538508', 'ctest-policy-allow-all-56394493'] 2026-01-08 18:11:04,858 - INFO - VN ctest-vn-15043435 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-08 18:11:04,858 - DEBUG - Verifying the vn in opserver 2026-01-08 18:11:04,858 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-15043435 virtual network link through opserver 10.0.0.38 2026-01-08 18:11:04,858 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-08 18:11:04,869 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-15043435', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-15043435?flat'} 2026-01-08 18:11:04,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-15043435 is found in opserver 2026-01-08 18:11:04,879 - DEBUG - Do not have enough data to verify VN in agent 2026-01-08 18:11:04,883 - DEBUG - VRF ids for VN ctest-vn-15043435: {} 2026-01-08 18:11:04,940 - DEBUG - Services list from nova: [, , ] 2026-01-08 18:11:05,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4983-1) 2026-01-08 18:11:07,046 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4983-1) 2026-01-08 18:11:07,047 - INFO - Waiting for VM ctest-TestBasicPolicy-97538508-52079374 to be up.. 2026-01-08 18:11:07,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 18:11:12,208 - DEBUG - VM is in ACTIVE state now 2026-01-08 18:11:12,208 - INFO - VM name : ctest-TestBasicPolicy-97538508-52079374 2026-01-08 18:11:12,290 - DEBUG - VM ctest-TestBasicPolicy-97538508-52079374 ID is 362a36ab-0048-48b2-9ee4-eac893d7479e 2026-01-08 18:11:12,312 - DEBUG - VM ctest-TestBasicPolicy-97538508-52079374 launched on Node cn-jenkins-deploy-platform-ansible-os-4983-1 2026-01-08 18:11:12,386 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/362a36ab-0048-48b2-9ee4-eac893d7479e 2026-01-08 18:11:12,394 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7a8bc87d-37d9-4f1a-8df1-a282dd5772a5 2026-01-08 18:11:15,651 - 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 1023ms') 2026-01-08 18:11:15,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97538508-52079374 failed! 2026-01-08 18:11:15,705 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97538508:ctest-vn-17898650 is 178.228.236.193 and allocation pool is NOT set 2026-01-08 18:11:17,768 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.478 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.478/5.143/9.808/4.665 ms') 2026-01-08 18:11:17,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97538508-52079374 passed 2026-01-08 18:11:17,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 18:11:17,917 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97538508-52079374, IP 178.228.236.195, Port 22 2026-01-08 18:11:18,093 - DEBUG - VM ctest-TestBasicPolicy-97538508-52079374 is ready for SSH connections 2026-01-08 18:11:18,093 - INFO - Waiting for VM ctest-TestBasicPolicy-97538508-10649196 to be up.. 2026-01-08 18:11:18,167 - DEBUG - VM is in ACTIVE state now 2026-01-08 18:11:18,167 - INFO - VM name : ctest-TestBasicPolicy-97538508-10649196 2026-01-08 18:11:18,238 - DEBUG - VM ctest-TestBasicPolicy-97538508-10649196 ID is c0ac1e7b-e8e6-47d6-ad24-75f1c343ee7b 2026-01-08 18:11:18,238 - DEBUG - VM ctest-TestBasicPolicy-97538508-10649196 launched on Node cn-jenkins-deploy-platform-ansible-os-4983-1 2026-01-08 18:11:18,313 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c0ac1e7b-e8e6-47d6-ad24-75f1c343ee7b 2026-01-08 18:11:18,322 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6c6e8e1b-e99f-4895-97c3-5d65c378fb6d 2026-01-08 18:11:19,558 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/2.949/5.461/2.512 ms') 2026-01-08 18:11:19,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97538508-10649196 passed 2026-01-08 18:11:19,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 18:11:19,717 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97538508-10649196, IP 7.84.116.3, Port 22 2026-01-08 18:11:19,880 - DEBUG - VM ctest-TestBasicPolicy-97538508-10649196 is ready for SSH connections 2026-01-08 18:11:19,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 18:11:19,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.84.116.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-08 18:11:19,880 - DEBUG - ping -s 56 -c 3 -W 1 7.84.116.3 2026-01-08 18:11:23,881 - DEBUG - PING 7.84.116.3 (7.84.116.3): 56 data bytes 64 bytes from 7.84.116.3: seq=0 ttl=63 time=4.212 ms 64 bytes from 7.84.116.3: seq=1 ttl=63 time=0.872 ms 64 bytes from 7.84.116.3: seq=2 ttl=63 time=0.858 ms --- 7.84.116.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/1.980/4.212 ms 2026-01-08 18:11:23,881 - INFO - Ping to IP 7.84.116.3 from VM ctest-TestBasicPolicy-97538508-52079374 passed 2026-01-08 18:11:24,125 - DEBUG - Policy Update Response {"network-policy": {"uuid": "14ac8372-8c99-49da-9ef2-01dc84aab277", "href": "http://10.0.0.38:8082/network-policy/14ac8372-8c99-49da-9ef2-01dc84aab277"}} 2026-01-08 18:11:24,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 18:11:24,125 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.84.116.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-08 18:11:24,125 - DEBUG - ping -s 56 -c 3 -W 1 7.84.116.3 2026-01-08 18:11:27,326 - DEBUG - PING 7.84.116.3 (7.84.116.3): 56 data bytes 64 bytes from 7.84.116.3: seq=0 ttl=63 time=1.344 ms --- 7.84.116.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.344/1.344/1.344 ms 2026-01-08 18:11:27,326 - WARNING - Ping to IP 7.84.116.3 from VM ctest-TestBasicPolicy-97538508-52079374 failed 2026-01-08 18:11:27,326 - INFO - Deleting VM ctest-TestBasicPolicy-97538508-10649196 2026-01-08 18:11:27,390 - INFO - Deleting VM ctest-TestBasicPolicy-97538508-52079374 2026-01-08 18:11:27,735 - INFO - Deleted policy ctest-policy-allow-all-56394493 2026-01-08 18:11:27,735 - INFO - Deleting VN ctest-vn-15043435 2026-01-08 18:11:27,773 - DEBUG - VN 9d1cb9ce-a13f-4563-bcf2-ab6e99105836 still in use: Unable to complete operation on network 9d1cb9ce-a13f-4563-bcf2-ab6e99105836. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0de98a0-e81a-4798-a151-a4dbf043f6e9'] 2026-01-08 18:11:27,774 - WARNING - Deleting VN ctest-vn-15043435 failed..Will retry 2026-01-08 18:11:29,882 - DEBUG - Response for deleting network () 2026-01-08 18:11:29,882 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2081cbd0-5ab5-4316-907b-475d9d50f000 2026-01-08 18:11:29,889 - DEBUG - Response Code: 404 2026-01-08 18:11:29,889 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 18:11:29,895 - DEBUG - Requesting: http://10.0.0.38:8082/domain/380cee70-d5c3-41da-88d7-27d8a3a783af 2026-01-08 18:11:29,952 - DEBUG - Requesting: http://10.0.0.38:8082/project/df5abe29-e52f-477a-8982-3a681e0204f8 2026-01-08 18:11:30,029 - INFO - Validated that VN ctest-vn-15043435 is not found in API Server 2026-01-08 18:11:30,040 - DEBUG - VN ctest-vn-15043435 is not present in Agent 10.0.0.38 2026-01-08 18:11:30,040 - INFO - Validated that VN ctest-vn-15043435 is not in any agent 2026-01-08 18:11:30,055 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15043435 info 2026-01-08 18:11:30,055 - INFO - Deleting VN ctest-vn-17898650 2026-01-08 18:11:30,163 - DEBUG - Response for deleting network () 2026-01-08 18:11:30,163 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4f3ecba-c674-4722-a54e-09ccebf98508 2026-01-08 18:11:30,167 - DEBUG - Response Code: 404 2026-01-08 18:11:30,167 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 18:11:30,177 - DEBUG - Requesting: http://10.0.0.38:8082/domain/380cee70-d5c3-41da-88d7-27d8a3a783af 2026-01-08 18:11:30,244 - DEBUG - Requesting: http://10.0.0.38:8082/project/df5abe29-e52f-477a-8982-3a681e0204f8 2026-01-08 18:11:30,317 - INFO - Validated that VN ctest-vn-17898650 is not found in API Server 2026-01-08 18:11:30,328 - DEBUG - VN ctest-vn-17898650 is not present in Agent 10.0.0.38 2026-01-08 18:11:30,328 - INFO - Validated that VN ctest-vn-17898650 is not in any agent 2026-01-08 18:11:30,341 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17898650 info 2026-01-08 18:11:30,598 - DEBUG - No XMPP flaps were noticed during the test
2026-01-08 18:11:30,598 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-08 18:11:30,599 - INFO - -------------------------------------------------------------------------------- 2026-01-08 18:11:31,288 - INFO - Deleted project: ctest-TestBasicPolicy-97538508, ID : df5abe29-e52f-477a-8982-3a681e0204f8