2026-06-18 02:01:25,315 - INFO - Domain Default found not creating 2026-06-18 02:01:25,487 - INFO - Project ctest-TestBasicPolicy-26641615 not found, creating it 2026-06-18 02:01:25,990 - INFO - Created Project:ctest-TestBasicPolicy-26641615, ID : d8e38d6a-2667-4d2e-937f-69d7d840af6b 2026-06-18 02:01:27,622 - INFO - ================================================================================ 2026-06-18 02:01:27,622 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 02:01:27,622 - 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-06-18 02:01:27,879 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-06-18 02:01:27,879 - INFO - Initial checks done. Running the testcase now 2026-06-18 02:01:27,880 - INFO - 2026-06-18 02:01:28,497 - DEBUG - Response for create_network : {'network': {'id': 'd5302fd8-2c6f-4a4e-ab97-02e7c55d8289', 'name': 'ctest-vn-42422319', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-vn-42422319'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 02:01:28,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '4586d422-1251-48e3-a5c0-f81be8fe93d2', 'name': '', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'network_id': 'd5302fd8-2c6f-4a4e-ab97-02e7c55d8289', 'ip_version': 4, 'cidr': '181.41.45.192/26', 'allocation_pools': [{'start': '181.41.45.194', 'end': '181.41.45.254'}], 'gateway_ip': '181.41.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.41.45.194', 'tags': [], 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b'}} 2026-06-18 02:01:28,720 - INFO - Created VN ctest-vn-42422319 2026-06-18 02:01:28,773 - DEBUG - VN ctest-vn-42422319 UUID is d5302fd8-2c6f-4a4e-ab97-02e7c55d8289 2026-06-18 02:01:29,093 - DEBUG - Response for create_network : {'network': {'id': 'f172ae1a-d72e-4a32-ba00-248a63fc1788', 'name': 'ctest-vn-26976962', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-vn-26976962'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 02:01:29,272 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e8879bc-5847-4122-9c52-f523dba44040', 'name': '', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'network_id': 'f172ae1a-d72e-4a32-ba00-248a63fc1788', 'ip_version': 4, 'cidr': '48.122.38.0/26', 'allocation_pools': [{'start': '48.122.38.2', 'end': '48.122.38.62'}], 'gateway_ip': '48.122.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.122.38.2', 'tags': [], 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b'}} 2026-06-18 02:01:29,294 - INFO - Created VN ctest-vn-26976962 2026-06-18 02:01:29,349 - DEBUG - VN ctest-vn-26976962 UUID is f172ae1a-d72e-4a32-ba00-248a63fc1788 2026-06-18 02:01:29,481 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319, 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-26641615:ctest-vn-26976962, 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-06-18 02:01:29,839 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd5302fd8-2c6f-4a4e-ab97-02e7c55d8289', 'name': 'ctest-vn-42422319', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4586d422-1251-48e3-a5c0-f81be8fe93d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-vn-42422319'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-policy-allow-all-89394446']], 'subnet_ipam': [{'subnet_cidr': '181.41.45.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 02:01:30,103 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f172ae1a-d72e-4a32-ba00-248a63fc1788', 'name': 'ctest-vn-26976962', 'tenant_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'project_id': 'd8e38d6a26674d2e937f69d7d840af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e8879bc-5847-4122-9c52-f523dba44040'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-vn-26976962'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-policy-allow-all-89394446']], 'subnet_ipam': [{'subnet_cidr': '48.122.38.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 02:01:30,281 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 02:01:30,615 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 02:01:30,649 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b 2026-06-18 02:01:30,663 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b 2026-06-18 02:01:30,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289 2026-06-18 02:01:30,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289 2026-06-18 02:01:30,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3 2026-06-18 02:01:30,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3 2026-06-18 02:01:30,791 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/904224aa-8cc2-4e6f-a2fe-f83e258ebe48 2026-06-18 02:01:30,799 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 02:01:30,799 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289 2026-06-18 02:01:30,810 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3 2026-06-18 02:01:30,827 - INFO - Verified VN network id 11 for VN d5302fd8-2c6f-4a4e-ab97-02e7c55d8289 2026-06-18 02:01:30,827 - INFO - Verifications in API Server for VN ctest-vn-42422319 passed 2026-06-18 02:01:30,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289 2026-06-18 02:01:30,839 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3 2026-06-18 02:01:30,848 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3 2026-06-18 02:01:30,857 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/904224aa-8cc2-4e6f-a2fe-f83e258ebe48 2026-06-18 02:01:30,873 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26641615', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15361830934465694286', 'uuid-lslong': '12364354496440926857'}, 'enable': 'true', 'created': '2026-06-18T02:01:28', 'last-modified': '2026-06-18T02:01:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.076837'} 2026-06-18 02:01:30,882 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 02:01:30,882 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42422319 passed 2026-06-18 02:01:30,883 - DEBUG - ====Verifying policy data for ctest-vn-42422319 in API_Server ====== 2026-06-18 02:01:30,883 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 02:01:30,890 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b 2026-06-18 02:01:30,903 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b 2026-06-18 02:01:30,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5302fd8-2c6f-4a4e-ab97-02e7c55d8289 2026-06-18 02:01:30,998 - DEBUG - ==>Verifying data for policy with id: 33162e66-87f1-4531-bba8-568ae9cfcef7, fqn: ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-policy-allow-all-89394446'] 2026-06-18 02:01:30,998 - INFO - VN ctest-vn-42422319 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 02:01:30,998 - DEBUG - Verifying the vn in opserver 2026-06-18 02:01:30,998 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319 virtual network link through opserver 10.0.0.38 2026-06-18 02:01:30,998 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 02:01:31,334 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 02:01:31,394 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319?flat'} 2026-06-18 02:01:31,394 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319 is found in opserver 2026-06-18 02:01:31,405 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 02:01:31,410 - DEBUG - VRF ids for VN ctest-vn-42422319: {} 2026-06-18 02:01:31,410 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 02:01:31,416 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b 2026-06-18 02:01:31,430 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b 2026-06-18 02:01:31,514 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788 2026-06-18 02:01:31,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788 2026-06-18 02:01:31,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497 2026-06-18 02:01:31,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497 2026-06-18 02:01:31,559 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b596ace7-1209-4c2e-b1b3-775ed8baff58 2026-06-18 02:01:31,567 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 02:01:31,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788 2026-06-18 02:01:31,582 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497 2026-06-18 02:01:31,602 - INFO - Verified VN network id 12 for VN f172ae1a-d72e-4a32-ba00-248a63fc1788 2026-06-18 02:01:31,602 - INFO - Verifications in API Server for VN ctest-vn-26976962 passed 2026-06-18 02:01:31,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788 2026-06-18 02:01:31,613 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497 2026-06-18 02:01:31,622 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497 2026-06-18 02:01:31,630 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b596ace7-1209-4c2e-b1b3-775ed8baff58 2026-06-18 02:01:31,645 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26641615', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17398159740788165170', 'uuid-lslong': '13402752667856148360'}, 'enable': 'true', 'created': '2026-06-18T02:01:29', 'last-modified': '2026-06-18T02:01:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.579377'} 2026-06-18 02:01:31,652 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 02:01:31,652 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26976962 passed 2026-06-18 02:01:31,652 - DEBUG - ====Verifying policy data for ctest-vn-26976962 in API_Server ====== 2026-06-18 02:01:31,653 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 02:01:31,660 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b 2026-06-18 02:01:31,676 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b 2026-06-18 02:01:31,755 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f172ae1a-d72e-4a32-ba00-248a63fc1788 2026-06-18 02:01:31,767 - DEBUG - ==>Verifying data for policy with id: 33162e66-87f1-4531-bba8-568ae9cfcef7, fqn: ['default-domain', 'ctest-TestBasicPolicy-26641615', 'ctest-policy-allow-all-89394446'] 2026-06-18 02:01:31,767 - INFO - VN ctest-vn-26976962 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 02:01:31,767 - DEBUG - Verifying the vn in opserver 2026-06-18 02:01:31,767 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962 virtual network link through opserver 10.0.0.38 2026-06-18 02:01:31,767 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 02:01:31,781 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962?flat'} 2026-06-18 02:01:31,781 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-26976962 is found in opserver 2026-06-18 02:01:31,793 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 02:01:31,800 - DEBUG - VRF ids for VN ctest-vn-26976962: {} 2026-06-18 02:01:31,876 - DEBUG - Services list from nova: [, , ] 2026-06-18 02:01:33,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5970-1) 2026-06-18 02:01:34,200 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5970-1) 2026-06-18 02:01:34,200 - INFO - Waiting for VM ctest-TestBasicPolicy-26641615-45252178 to be up.. 2026-06-18 02:01:34,257 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 02:01:39,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 02:01:44,445 - DEBUG - VM is in ACTIVE state now 2026-06-18 02:01:44,445 - INFO - VM name : ctest-TestBasicPolicy-26641615-45252178 2026-06-18 02:01:44,530 - DEBUG - VM ctest-TestBasicPolicy-26641615-45252178 ID is 64b1ebab-8d34-4bdd-8d3e-bb09bef9de33 2026-06-18 02:01:44,555 - DEBUG - VM ctest-TestBasicPolicy-26641615-45252178 launched on Node cn-jenkins-deploy-platform-ansible-os-5970-1 2026-06-18 02:01:44,639 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/64b1ebab-8d34-4bdd-8d3e-bb09bef9de33 2026-06-18 02:01:44,648 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3be19d82-6681-4f72-974e-6f9a85372e31 2026-06-18 02:01:47,913 - 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 1016ms') 2026-06-18 02:01:47,913 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26641615-45252178 failed! 2026-06-18 02:01:47,973 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26641615:ctest-vn-42422319 is 181.41.45.193 and allocation pool is NOT set 2026-06-18 02:01:50,045 - 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=6.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.35 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 = 3.348/4.926/6.505/1.578 ms') 2026-06-18 02:01:50,045 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26641615-45252178 passed 2026-06-18 02:01:50,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:01:50,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26641615-45252178, IP 181.41.45.195, Port 22 2026-06-18 02:01:50,272 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-18 02:01:50,354 - DEBUG - VM ctest-TestBasicPolicy-26641615-45252178 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 02:01:55,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:01:55,355 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26641615-45252178, IP 181.41.45.195, Port 22 2026-06-18 02:01:55,513 - DEBUG - VM ctest-TestBasicPolicy-26641615-45252178 is ready for SSH connections 2026-06-18 02:01:55,513 - INFO - Waiting for VM ctest-TestBasicPolicy-26641615-13429300 to be up.. 2026-06-18 02:01:55,597 - DEBUG - VM is in ACTIVE state now 2026-06-18 02:01:55,597 - INFO - VM name : ctest-TestBasicPolicy-26641615-13429300 2026-06-18 02:01:55,673 - DEBUG - VM ctest-TestBasicPolicy-26641615-13429300 ID is 7c73f8b7-ba57-4465-82d3-117ba5f20031 2026-06-18 02:01:55,674 - DEBUG - VM ctest-TestBasicPolicy-26641615-13429300 launched on Node cn-jenkins-deploy-platform-ansible-os-5970-1 2026-06-18 02:01:55,756 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7c73f8b7-ba57-4465-82d3-117ba5f20031 2026-06-18 02:01:55,766 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a8f636c8-c0d2-4749-af54-7943d12d6a47 2026-06-18 02:01:57,014 - 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=4.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/2.429/4.322/1.893 ms') 2026-06-18 02:01:57,014 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26641615-13429300 passed 2026-06-18 02:01:57,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:01:57,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26641615-13429300, IP 48.122.38.3, Port 22 2026-06-18 02:01:57,343 - DEBUG - VM ctest-TestBasicPolicy-26641615-13429300 is ready for SSH connections 2026-06-18 02:01:57,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:01:57,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.122.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-18 02:01:57,343 - DEBUG - ping -s 56 -c 3 -W 1 48.122.38.3 2026-06-18 02:02:01,353 - DEBUG - PING 48.122.38.3 (48.122.38.3): 56 data bytes 64 bytes from 48.122.38.3: seq=0 ttl=63 time=4.408 ms 64 bytes from 48.122.38.3: seq=1 ttl=63 time=1.065 ms 64 bytes from 48.122.38.3: seq=2 ttl=63 time=1.084 ms --- 48.122.38.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.065/2.185/4.408 ms 2026-06-18 02:02:01,353 - INFO - Ping to IP 48.122.38.3 from VM ctest-TestBasicPolicy-26641615-45252178 passed 2026-06-18 02:02:01,529 - DEBUG - Policy Update Response {"network-policy": {"uuid": "33162e66-87f1-4531-bba8-568ae9cfcef7", "href": "http://10.0.0.38:8082/network-policy/33162e66-87f1-4531-bba8-568ae9cfcef7"}} 2026-06-18 02:02:01,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 02:02:01,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.122.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-18 02:02:01,529 - DEBUG - ping -s 56 -c 3 -W 1 48.122.38.3 2026-06-18 02:02:04,654 - DEBUG - PING 48.122.38.3 (48.122.38.3): 56 data bytes 64 bytes from 48.122.38.3: seq=0 ttl=63 time=1.452 ms --- 48.122.38.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.452/1.452/1.452 ms 2026-06-18 02:02:04,654 - WARNING - Ping to IP 48.122.38.3 from VM ctest-TestBasicPolicy-26641615-45252178 failed 2026-06-18 02:02:04,654 - INFO - Deleting VM ctest-TestBasicPolicy-26641615-13429300 2026-06-18 02:02:04,747 - INFO - Deleting VM ctest-TestBasicPolicy-26641615-45252178 2026-06-18 02:02:05,231 - INFO - Deleted policy ctest-policy-allow-all-89394446 2026-06-18 02:02:05,231 - INFO - Deleting VN ctest-vn-26976962 2026-06-18 02:02:05,274 - DEBUG - VN f172ae1a-d72e-4a32-ba00-248a63fc1788 still in use: Unable to complete operation on network f172ae1a-d72e-4a32-ba00-248a63fc1788. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11ed4e3c-013f-47c7-a3e0-ae8df569cf8d'] 2026-06-18 02:02:05,274 - WARNING - Deleting VN ctest-vn-26976962 failed..Will retry 2026-06-18 02:02:07,399 - DEBUG - Response for deleting network () 2026-06-18 02:02:07,399 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e727928e-6b00-47cf-ae18-27543c199497 2026-06-18 02:02:07,409 - DEBUG - Response Code: 404 2026-06-18 02:02:07,409 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 02:02:07,416 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b 2026-06-18 02:02:07,473 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b 2026-06-18 02:02:07,554 - INFO - Validated that VN ctest-vn-26976962 is not found in API Server 2026-06-18 02:02:07,568 - DEBUG - VN ctest-vn-26976962 is not present in Agent 10.0.0.38 2026-06-18 02:02:07,568 - INFO - Validated that VN ctest-vn-26976962 is not in any agent 2026-06-18 02:02:07,588 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26976962 info 2026-06-18 02:02:07,588 - INFO - Deleting VN ctest-vn-42422319 2026-06-18 02:02:07,715 - DEBUG - Response for deleting network () 2026-06-18 02:02:07,715 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d131a4e7-77ca-483d-aba0-daffad7c01d3 2026-06-18 02:02:07,727 - DEBUG - Response Code: 404 2026-06-18 02:02:07,727 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 02:02:07,735 - DEBUG - Requesting: http://10.0.0.38:8082/domain/884a039c-a0e8-4bec-a8b7-0be35993a04b 2026-06-18 02:02:07,793 - DEBUG - Requesting: http://10.0.0.38:8082/project/d8e38d6a-2667-4d2e-937f-69d7d840af6b 2026-06-18 02:02:07,881 - INFO - Validated that VN ctest-vn-42422319 is not found in API Server 2026-06-18 02:02:07,894 - DEBUG - VN ctest-vn-42422319 is not present in Agent 10.0.0.38 2026-06-18 02:02:07,894 - INFO - Validated that VN ctest-vn-42422319 is not in any agent 2026-06-18 02:02:07,915 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42422319 info 2026-06-18 02:02:08,180 - DEBUG - No XMPP flaps were noticed during the test 2026-06-18 02:02:08,180 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2026-06-18 02:02:08,181 - INFO - -------------------------------------------------------------------------------- 2026-06-18 02:02:08,936 - INFO - Deleted project: ctest-TestBasicPolicy-26641615, ID : d8e38d6a-2667-4d2e-937f-69d7d840af6b