2026-03-04 14:44:08,332 - INFO - Domain Default found not creating 2026-03-04 14:44:08,514 - INFO - Project ctest-TestBasicPolicy-54343813 not found, creating it 2026-03-04 14:44:08,978 - INFO - Created Project:ctest-TestBasicPolicy-54343813, ID : 46d78ac8-69e5-42ab-93d7-027634a2b6e6 2026-03-04 14:44:10,463 - INFO - ================================================================================ 2026-03-04 14:44:10,463 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-04 14:44:10,463 - 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-03-04 14:44:10,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-04 14:44:10,718 - INFO - Initial checks done. Running the testcase now 2026-03-04 14:44:10,718 - INFO - 2026-03-04 14:44:11,269 - DEBUG - Response for create_network : {'network': {'id': '09bb8686-a904-4a35-8eb8-cd5d50e875fe', 'name': 'ctest-vn-39897822', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'project_id': '46d78ac869e542ab93d7027634a2b6e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-vn-39897822'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 14:44:11,479 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f84c341a-38c8-4b46-8f2c-ba3756f3ac4a', 'name': '', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'network_id': '09bb8686-a904-4a35-8eb8-cd5d50e875fe', 'ip_version': 4, 'cidr': '218.211.233.192/26', 'allocation_pools': [{'start': '218.211.233.194', 'end': '218.211.233.254'}], 'gateway_ip': '218.211.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.211.233.194', 'tags': [], 'project_id': '46d78ac869e542ab93d7027634a2b6e6'}} 2026-03-04 14:44:11,497 - INFO - Created VN ctest-vn-39897822 2026-03-04 14:44:11,550 - DEBUG - VN ctest-vn-39897822 UUID is 09bb8686-a904-4a35-8eb8-cd5d50e875fe 2026-03-04 14:44:11,837 - DEBUG - Response for create_network : {'network': {'id': 'fdc3835b-79c9-445b-a407-352ae3c13a22', 'name': 'ctest-vn-34216245', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'project_id': '46d78ac869e542ab93d7027634a2b6e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-vn-34216245'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 14:44:12,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f714d5c3-0540-415e-aa13-0dcb6cedaa03', 'name': '', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'network_id': 'fdc3835b-79c9-445b-a407-352ae3c13a22', 'ip_version': 4, 'cidr': '84.156.132.128/26', 'allocation_pools': [{'start': '84.156.132.130', 'end': '84.156.132.190'}], 'gateway_ip': '84.156.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.156.132.130', 'tags': [], 'project_id': '46d78ac869e542ab93d7027634a2b6e6'}} 2026-03-04 14:44:12,026 - INFO - Created VN ctest-vn-34216245 2026-03-04 14:44:12,082 - DEBUG - VN ctest-vn-34216245 UUID is fdc3835b-79c9-445b-a407-352ae3c13a22 2026-03-04 14:44:12,203 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822, 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-54343813:ctest-vn-34216245, 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-03-04 14:44:12,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '09bb8686-a904-4a35-8eb8-cd5d50e875fe', 'name': 'ctest-vn-39897822', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'project_id': '46d78ac869e542ab93d7027634a2b6e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f84c341a-38c8-4b46-8f2c-ba3756f3ac4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-vn-39897822'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-policy-allow-all-37918045']], 'subnet_ipam': [{'subnet_cidr': '218.211.233.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-04 14:44:12,828 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdc3835b-79c9-445b-a407-352ae3c13a22', 'name': 'ctest-vn-34216245', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'project_id': '46d78ac869e542ab93d7027634a2b6e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f714d5c3-0540-415e-aa13-0dcb6cedaa03'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-vn-34216245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-policy-allow-all-37918045']], 'subnet_ipam': [{'subnet_cidr': '84.156.132.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-04 14:44:12,986 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 14:44:13,287 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 14:44:13,317 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68 2026-03-04 14:44:13,332 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6 2026-03-04 14:44:13,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe 2026-03-04 14:44:13,426 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe 2026-03-04 14:44:13,435 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e 2026-03-04 14:44:13,443 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e 2026-03-04 14:44:13,450 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/86a52837-a646-4a6d-87a7-6d0a1a1dc337 2026-03-04 14:44:13,456 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-04 14:44:13,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe 2026-03-04 14:44:13,465 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e 2026-03-04 14:44:13,479 - INFO - Verified VN network id 12 for VN 09bb8686-a904-4a35-8eb8-cd5d50e875fe 2026-03-04 14:44:13,479 - INFO - Verifications in API Server for VN ctest-vn-39897822 passed 2026-03-04 14:44:13,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe 2026-03-04 14:44:13,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e 2026-03-04 14:44:13,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e 2026-03-04 14:44:13,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/86a52837-a646-4a6d-87a7-6d0a1a1dc337 2026-03-04 14:44:13,515 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54343813', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '701302079905614389', 'uuid-lslong': '10284195549773592062'}, 'enable': 'true', 'created': '2026-03-04T14:44:11', 'last-modified': '2026-03-04T14:44:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000490'} 2026-03-04 14:44:13,520 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-04 14:44:13,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39897822 passed 2026-03-04 14:44:13,521 - DEBUG - ====Verifying policy data for ctest-vn-39897822 in API_Server ====== 2026-03-04 14:44:13,521 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 14:44:13,526 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68 2026-03-04 14:44:13,540 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6 2026-03-04 14:44:13,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe 2026-03-04 14:44:13,623 - DEBUG - ==>Verifying data for policy with id: 3288b6f1-9a46-4508-9bf2-786896fabead, fqn: ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-policy-allow-all-37918045'] 2026-03-04 14:44:13,623 - INFO - VN ctest-vn-39897822 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-04 14:44:13,623 - DEBUG - Verifying the vn in opserver 2026-03-04 14:44:13,623 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822 virtual network link through opserver 10.0.0.38 2026-03-04 14:44:13,623 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-04 14:44:13,924 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-04 14:44:13,987 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822?flat'} 2026-03-04 14:44:13,987 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822 is found in opserver 2026-03-04 14:44:13,999 - DEBUG - Do not have enough data to verify VN in agent 2026-03-04 14:44:14,005 - DEBUG - VRF ids for VN ctest-vn-39897822: {} 2026-03-04 14:44:14,006 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 14:44:14,011 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68 2026-03-04 14:44:14,023 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6 2026-03-04 14:44:14,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22 2026-03-04 14:44:14,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22 2026-03-04 14:44:14,118 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64 2026-03-04 14:44:14,125 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64 2026-03-04 14:44:14,132 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0be22ed7-799a-4d78-bf1b-9172e1aef712 2026-03-04 14:44:14,139 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-04 14:44:14,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22 2026-03-04 14:44:14,148 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64 2026-03-04 14:44:14,164 - INFO - Verified VN network id 13 for VN fdc3835b-79c9-445b-a407-352ae3c13a22 2026-03-04 14:44:14,164 - INFO - Verifications in API Server for VN ctest-vn-34216245 passed 2026-03-04 14:44:14,164 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22 2026-03-04 14:44:14,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64 2026-03-04 14:44:14,182 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64 2026-03-04 14:44:14,190 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0be22ed7-799a-4d78-bf1b-9172e1aef712 2026-03-04 14:44:14,204 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54343813', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18285603340962841691', 'uuid-lslong': '11819474205383146018'}, 'enable': 'true', 'created': '2026-03-04T14:44:11', 'last-modified': '2026-03-04T14:44:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.446259'} 2026-03-04 14:44:14,211 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-04 14:44:14,211 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34216245 passed 2026-03-04 14:44:14,211 - DEBUG - ====Verifying policy data for ctest-vn-34216245 in API_Server ====== 2026-03-04 14:44:14,211 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 14:44:14,217 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68 2026-03-04 14:44:14,229 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6 2026-03-04 14:44:14,304 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22 2026-03-04 14:44:14,316 - DEBUG - ==>Verifying data for policy with id: 3288b6f1-9a46-4508-9bf2-786896fabead, fqn: ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-policy-allow-all-37918045'] 2026-03-04 14:44:14,316 - INFO - VN ctest-vn-34216245 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-04 14:44:14,316 - DEBUG - Verifying the vn in opserver 2026-03-04 14:44:14,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245 virtual network link through opserver 10.0.0.38 2026-03-04 14:44:14,316 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-04 14:44:14,327 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245?flat'} 2026-03-04 14:44:14,327 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245 is found in opserver 2026-03-04 14:44:14,337 - DEBUG - Do not have enough data to verify VN in agent 2026-03-04 14:44:14,341 - DEBUG - VRF ids for VN ctest-vn-34216245: {} 2026-03-04 14:44:14,406 - DEBUG - Services list from nova: [, , ] 2026-03-04 14:44:15,438 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5428-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5428-1) 2026-03-04 14:44:16,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5428-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5428-1) 2026-03-04 14:44:16,565 - INFO - Waiting for VM ctest-TestBasicPolicy-54343813-77318038 to be up.. 2026-03-04 14:44:16,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-04 14:44:21,722 - DEBUG - VM is in ACTIVE state now 2026-03-04 14:44:21,722 - INFO - VM name : ctest-TestBasicPolicy-54343813-77318038 2026-03-04 14:44:21,797 - DEBUG - VM ctest-TestBasicPolicy-54343813-77318038 ID is 40df8218-4e70-4424-b415-479503a11d66 2026-03-04 14:44:21,818 - DEBUG - VM ctest-TestBasicPolicy-54343813-77318038 launched on Node cn-jenkins-deploy-platform-ansible-os-5428-1 2026-03-04 14:44:21,889 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40df8218-4e70-4424-b415-479503a11d66 2026-03-04 14:44:21,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/28036315-00ea-4f5d-b42b-4bcd2798bb18 2026-03-04 14:44:25,154 - 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 1015ms') 2026-03-04 14:44:25,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54343813-77318038 failed! 2026-03-04 14:44:25,210 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822 is 218.211.233.193 and allocation pool is NOT set 2026-03-04 14:44:27,272 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/4.831/9.187/4.356 ms') 2026-03-04 14:44:27,272 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54343813-77318038 passed 2026-03-04 14:44:27,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 14:44:27,422 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54343813-77318038, IP 218.211.233.195, Port 22 2026-03-04 14:44:27,595 - DEBUG - VM ctest-TestBasicPolicy-54343813-77318038 is ready for SSH connections 2026-03-04 14:44:27,596 - INFO - Waiting for VM ctest-TestBasicPolicy-54343813-38775085 to be up.. 2026-03-04 14:44:27,676 - DEBUG - VM is in ACTIVE state now 2026-03-04 14:44:27,677 - INFO - VM name : ctest-TestBasicPolicy-54343813-38775085 2026-03-04 14:44:27,754 - DEBUG - VM ctest-TestBasicPolicy-54343813-38775085 ID is afe6634d-0057-415a-bd7b-1acf6b4cb5fc 2026-03-04 14:44:27,754 - DEBUG - VM ctest-TestBasicPolicy-54343813-38775085 launched on Node cn-jenkins-deploy-platform-ansible-os-5428-1 2026-03-04 14:44:27,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/afe6634d-0057-415a-bd7b-1acf6b4cb5fc 2026-03-04 14:44:27,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c1d5b719-0cdd-4a8d-9391-b96d12c31725 2026-03-04 14:44:29,076 - 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=6.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.474/3.348/6.223/2.874 ms') 2026-03-04 14:44:29,076 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54343813-38775085 passed 2026-03-04 14:44:29,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 14:44:29,226 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54343813-38775085, IP 84.156.132.131, Port 22 2026-03-04 14:44:29,377 - DEBUG - VM ctest-TestBasicPolicy-54343813-38775085 is ready for SSH connections 2026-03-04 14:44:29,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 14:44:29,377 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.156.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-04 14:44:29,377 - DEBUG - ping -s 56 -c 3 -W 1 84.156.132.131 2026-03-04 14:44:33,401 - DEBUG - PING 84.156.132.131 (84.156.132.131): 56 data bytes 64 bytes from 84.156.132.131: seq=0 ttl=63 time=3.747 ms 64 bytes from 84.156.132.131: seq=1 ttl=63 time=0.851 ms 64 bytes from 84.156.132.131: seq=2 ttl=63 time=0.925 ms --- 84.156.132.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/1.841/3.747 ms 2026-03-04 14:44:33,401 - INFO - Ping to IP 84.156.132.131 from VM ctest-TestBasicPolicy-54343813-77318038 passed 2026-03-04 14:44:33,573 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3288b6f1-9a46-4508-9bf2-786896fabead", "href": "http://10.0.0.38:8082/network-policy/3288b6f1-9a46-4508-9bf2-786896fabead"}} 2026-03-04 14:44:33,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 14:44:33,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.156.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-04 14:44:33,574 - DEBUG - ping -s 56 -c 3 -W 1 84.156.132.131 2026-03-04 14:44:36,793 - DEBUG - PING 84.156.132.131 (84.156.132.131): 56 data bytes --- 84.156.132.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-04 14:44:36,793 - WARNING - Ping to IP 84.156.132.131 from VM ctest-TestBasicPolicy-54343813-77318038 failed 2026-03-04 14:44:36,793 - INFO - Deleting VM ctest-TestBasicPolicy-54343813-38775085 2026-03-04 14:44:36,871 - INFO - Deleting VM ctest-TestBasicPolicy-54343813-77318038 2026-03-04 14:44:37,329 - INFO - Deleted policy ctest-policy-allow-all-37918045 2026-03-04 14:44:37,329 - INFO - Deleting VN ctest-vn-34216245 2026-03-04 14:44:37,369 - DEBUG - VN fdc3835b-79c9-445b-a407-352ae3c13a22 still in use: Unable to complete operation on network fdc3835b-79c9-445b-a407-352ae3c13a22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20db4924-e07d-4515-9503-3118f6747faa'] 2026-03-04 14:44:37,369 - WARNING - Deleting VN ctest-vn-34216245 failed..Will retry 2026-03-04 14:44:39,478 - DEBUG - Response for deleting network () 2026-03-04 14:44:39,478 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64 2026-03-04 14:44:39,485 - DEBUG - Response Code: 404 2026-03-04 14:44:39,485 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 14:44:39,493 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68 2026-03-04 14:44:39,548 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6 2026-03-04 14:44:39,617 - INFO - Validated that VN ctest-vn-34216245 is not found in API Server 2026-03-04 14:44:39,627 - DEBUG - VN ctest-vn-34216245 is not present in Agent 10.0.0.38 2026-03-04 14:44:39,627 - INFO - Validated that VN ctest-vn-34216245 is not in any agent 2026-03-04 14:44:39,641 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34216245 info 2026-03-04 14:44:39,641 - INFO - Deleting VN ctest-vn-39897822 2026-03-04 14:44:39,743 - DEBUG - Response for deleting network () 2026-03-04 14:44:39,743 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e 2026-03-04 14:44:39,751 - DEBUG - Response Code: 404 2026-03-04 14:44:39,751 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 14:44:39,757 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68 2026-03-04 14:44:39,810 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6 2026-03-04 14:44:39,882 - INFO - Validated that VN ctest-vn-39897822 is not found in API Server 2026-03-04 14:44:39,891 - DEBUG - VN ctest-vn-39897822 is not present in Agent 10.0.0.38 2026-03-04 14:44:39,891 - INFO - Validated that VN ctest-vn-39897822 is not in any agent 2026-03-04 14:44:39,905 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39897822 info 2026-03-04 14:44:40,159 - DEBUG - No XMPP flaps were noticed during the test
2026-03-04 14:44:40,159 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-04 14:44:40,159 - INFO - -------------------------------------------------------------------------------- 2026-03-04 14:44:40,848 - INFO - Deleted project: ctest-TestBasicPolicy-54343813, ID : 46d78ac8-69e5-42ab-93d7-027634a2b6e6