2025-10-24 10:46:45,314 - INFO - Domain Default found not creating 2025-10-24 10:46:45,472 - INFO - Project ctest-TestBasicPolicy-39134164 not found, creating it 2025-10-24 10:46:45,948 - INFO - Created Project:ctest-TestBasicPolicy-39134164, ID : 46edcffe-7a12-4d2c-a912-0e5503480dab 2025-10-24 10:46:47,558 - INFO - ================================================================================ 2025-10-24 10:46:47,558 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 10:46:47,558 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-24 10:46:47,813 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 10:46:47,813 - INFO - Initial checks done. Running the testcase now 2025-10-24 10:46:47,813 - INFO - 2025-10-24 10:46:48,421 - DEBUG - Response for create_network : {'network': {'id': 'aa777b52-0099-4568-a323-0741df758868', 'name': 'ctest-vn-32786738', 'tenant_id': '46edcffe7a124d2ca9120e5503480dab', 'project_id': '46edcffe7a124d2ca9120e5503480dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39134164', 'ctest-vn-32786738'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:46:48,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c8144f8-c1dc-47b5-b0ea-12e74953ee27', 'name': '', 'tenant_id': '46edcffe7a124d2ca9120e5503480dab', 'network_id': 'aa777b52-0099-4568-a323-0741df758868', 'ip_version': 4, 'cidr': '214.15.226.128/26', 'allocation_pools': [{'start': '214.15.226.130', 'end': '214.15.226.190'}], 'gateway_ip': '214.15.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.15.226.130', 'tags': [], 'project_id': '46edcffe7a124d2ca9120e5503480dab'}} 2025-10-24 10:46:48,634 - INFO - Created VN ctest-vn-32786738 2025-10-24 10:46:48,688 - DEBUG - VN ctest-vn-32786738 UUID is aa777b52-0099-4568-a323-0741df758868 2025-10-24 10:46:48,984 - DEBUG - Response for create_network : {'network': {'id': 'f5511941-7628-44b1-a7eb-f1010f05fcbc', 'name': 'ctest-vn-15166765', 'tenant_id': '46edcffe7a124d2ca9120e5503480dab', 'project_id': '46edcffe7a124d2ca9120e5503480dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39134164', 'ctest-vn-15166765'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:46:49,175 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca3973b8-b42b-477e-bbe8-7008e9bc8345', 'name': '', 'tenant_id': '46edcffe7a124d2ca9120e5503480dab', 'network_id': 'f5511941-7628-44b1-a7eb-f1010f05fcbc', 'ip_version': 4, 'cidr': '124.233.16.0/26', 'allocation_pools': [{'start': '124.233.16.2', 'end': '124.233.16.62'}], 'gateway_ip': '124.233.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.233.16.2', 'tags': [], 'project_id': '46edcffe7a124d2ca9120e5503480dab'}} 2025-10-24 10:46:49,196 - INFO - Created VN ctest-vn-15166765 2025-10-24 10:46:49,248 - DEBUG - VN ctest-vn-15166765 UUID is f5511941-7628-44b1-a7eb-f1010f05fcbc 2025-10-24 10:46:49,362 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-32786738, 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-39134164:ctest-vn-15166765, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-24 10:46:49,657 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aa777b52-0099-4568-a323-0741df758868', 'name': 'ctest-vn-32786738', 'tenant_id': '46edcffe7a124d2ca9120e5503480dab', 'project_id': '46edcffe7a124d2ca9120e5503480dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2c8144f8-c1dc-47b5-b0ea-12e74953ee27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39134164', 'ctest-vn-32786738'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39134164', 'ctest-policy-allow-all-74565572']], 'subnet_ipam': [{'subnet_cidr': '214.15.226.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:46:49,944 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5511941-7628-44b1-a7eb-f1010f05fcbc', 'name': 'ctest-vn-15166765', 'tenant_id': '46edcffe7a124d2ca9120e5503480dab', 'project_id': '46edcffe7a124d2ca9120e5503480dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca3973b8-b42b-477e-bbe8-7008e9bc8345'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39134164', 'ctest-vn-15166765'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39134164', 'ctest-policy-allow-all-74565572']], 'subnet_ipam': [{'subnet_cidr': '124.233.16.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:46:50,098 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 10:46:50,445 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 10:46:50,479 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7db71b69-ec52-463d-b1ea-ee1dd30569eb 2025-10-24 10:46:50,492 - DEBUG - Requesting: http://10.0.0.254:8082/project/46edcffe-7a12-4d2c-a912-0e5503480dab 2025-10-24 10:46:50,567 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aa777b52-0099-4568-a323-0741df758868 2025-10-24 10:46:50,579 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aa777b52-0099-4568-a323-0741df758868 2025-10-24 10:46:50,590 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e55dfc41-6427-4222-9510-0891f14c8e0f 2025-10-24 10:46:50,597 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e55dfc41-6427-4222-9510-0891f14c8e0f 2025-10-24 10:46:50,605 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63eaafb9-8672-447c-816a-a034fa85d261 2025-10-24 10:46:50,612 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 10:46:50,612 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aa777b52-0099-4568-a323-0741df758868 2025-10-24 10:46:50,621 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e55dfc41-6427-4222-9510-0891f14c8e0f 2025-10-24 10:46:50,638 - INFO - Verified VN network id 11 for VN aa777b52-0099-4568-a323-0741df758868 2025-10-24 10:46:50,638 - INFO - Verifications in API Server for VN ctest-vn-32786738 passed 2025-10-24 10:46:50,638 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aa777b52-0099-4568-a323-0741df758868 2025-10-24 10:46:50,649 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e55dfc41-6427-4222-9510-0891f14c8e0f 2025-10-24 10:46:50,658 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e55dfc41-6427-4222-9510-0891f14c8e0f 2025-10-24 10:46:50,665 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63eaafb9-8672-447c-816a-a034fa85d261 2025-10-24 10:46:50,676 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-32786738', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39134164', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12283422100803896680', 'uuid-lslong': '11755247431870417000'}, 'enable': 'true', 'created': '2025-10-24T10:46:48', 'last-modified': '2025-10-24T10:46:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.042493'} 2025-10-24 10:46:50,682 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 10:46:50,682 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32786738 passed 2025-10-24 10:46:50,682 - DEBUG - ====Verifying policy data for ctest-vn-32786738 in API_Server ====== 2025-10-24 10:46:50,682 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 10:46:50,688 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7db71b69-ec52-463d-b1ea-ee1dd30569eb 2025-10-24 10:46:50,698 - DEBUG - Requesting: http://10.0.0.254:8082/project/46edcffe-7a12-4d2c-a912-0e5503480dab 2025-10-24 10:46:50,771 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/aa777b52-0099-4568-a323-0741df758868 2025-10-24 10:46:50,780 - DEBUG - ==>Verifying data for policy with id: db8abfe3-5c6a-4833-b38e-a5ba90774119, fqn: ['default-domain', 'ctest-TestBasicPolicy-39134164', 'ctest-policy-allow-all-74565572'] 2025-10-24 10:46:50,780 - INFO - VN ctest-vn-32786738 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 10:46:50,780 - DEBUG - Verifying the vn in opserver 2025-10-24 10:46:50,780 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-32786738 virtual network link through opserver 10.0.0.254 2025-10-24 10:46:50,780 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 10:46:51,116 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 10:46:51,177 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-32786738', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-32786738?flat'} 2025-10-24 10:46:51,177 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-32786738 is found in opserver 2025-10-24 10:46:51,186 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 10:46:51,191 - DEBUG - VRF ids for VN ctest-vn-32786738: {} 2025-10-24 10:46:51,191 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 10:46:51,197 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7db71b69-ec52-463d-b1ea-ee1dd30569eb 2025-10-24 10:46:51,208 - DEBUG - Requesting: http://10.0.0.254:8082/project/46edcffe-7a12-4d2c-a912-0e5503480dab 2025-10-24 10:46:51,279 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5511941-7628-44b1-a7eb-f1010f05fcbc 2025-10-24 10:46:51,297 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5511941-7628-44b1-a7eb-f1010f05fcbc 2025-10-24 10:46:51,308 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e999c8cf-5f73-46af-8e67-5ba1ef0dd548 2025-10-24 10:46:51,317 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e999c8cf-5f73-46af-8e67-5ba1ef0dd548 2025-10-24 10:46:51,325 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/69fe38e7-7b88-4056-8c4d-ab9b4c7033e2 2025-10-24 10:46:51,334 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 10:46:51,334 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5511941-7628-44b1-a7eb-f1010f05fcbc 2025-10-24 10:46:51,342 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e999c8cf-5f73-46af-8e67-5ba1ef0dd548 2025-10-24 10:46:51,356 - INFO - Verified VN network id 12 for VN f5511941-7628-44b1-a7eb-f1010f05fcbc 2025-10-24 10:46:51,356 - INFO - Verifications in API Server for VN ctest-vn-15166765 passed 2025-10-24 10:46:51,356 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5511941-7628-44b1-a7eb-f1010f05fcbc 2025-10-24 10:46:51,367 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e999c8cf-5f73-46af-8e67-5ba1ef0dd548 2025-10-24 10:46:51,376 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e999c8cf-5f73-46af-8e67-5ba1ef0dd548 2025-10-24 10:46:51,385 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/69fe38e7-7b88-4056-8c4d-ab9b4c7033e2 2025-10-24 10:46:51,397 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-15166765', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39134164', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17676937781351826609', 'uuid-lslong': '12100029810710281404'}, 'enable': 'true', 'created': '2025-10-24T10:46:48', 'last-modified': '2025-10-24T10:46:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.525926'} 2025-10-24 10:46:51,404 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 10:46:51,405 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15166765 passed 2025-10-24 10:46:51,405 - DEBUG - ====Verifying policy data for ctest-vn-15166765 in API_Server ====== 2025-10-24 10:46:51,405 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 10:46:51,489 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7db71b69-ec52-463d-b1ea-ee1dd30569eb 2025-10-24 10:46:51,500 - DEBUG - Requesting: http://10.0.0.254:8082/project/46edcffe-7a12-4d2c-a912-0e5503480dab 2025-10-24 10:46:51,573 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5511941-7628-44b1-a7eb-f1010f05fcbc 2025-10-24 10:46:51,583 - DEBUG - ==>Verifying data for policy with id: db8abfe3-5c6a-4833-b38e-a5ba90774119, fqn: ['default-domain', 'ctest-TestBasicPolicy-39134164', 'ctest-policy-allow-all-74565572'] 2025-10-24 10:46:51,583 - INFO - VN ctest-vn-15166765 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 10:46:51,583 - DEBUG - Verifying the vn in opserver 2025-10-24 10:46:51,583 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-15166765 virtual network link through opserver 10.0.0.254 2025-10-24 10:46:51,583 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 10:46:51,594 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-15166765', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-15166765?flat'} 2025-10-24 10:46:51,594 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-15166765 is found in opserver 2025-10-24 10:46:51,604 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 10:46:51,608 - DEBUG - VRF ids for VN ctest-vn-15166765: {} 2025-10-24 10:46:51,672 - DEBUG - Services list from nova: [, , ] 2025-10-24 10:46:52,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4475-1) 2025-10-24 10:46:54,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4475-1) 2025-10-24 10:46:54,051 - INFO - Waiting for VM ctest-TestBasicPolicy-39134164-28852742 to be up.. 2025-10-24 10:46:54,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 10:46:59,202 - DEBUG - VM is in ACTIVE state now 2025-10-24 10:46:59,202 - INFO - VM name : ctest-TestBasicPolicy-39134164-28852742 2025-10-24 10:46:59,290 - DEBUG - VM ctest-TestBasicPolicy-39134164-28852742 ID is 9fd364ec-c45f-46c2-929a-3b94acda0a2f 2025-10-24 10:46:59,316 - DEBUG - VM ctest-TestBasicPolicy-39134164-28852742 launched on Node cn-jenkins-deploy-platform-ansible-os-4475-1 2025-10-24 10:46:59,405 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9fd364ec-c45f-46c2-929a-3b94acda0a2f 2025-10-24 10:46:59,414 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8c214ff9-6f39-45b8-a0ce-e74ff2d07a9b 2025-10-24 10:47:02,668 - 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 1022ms') 2025-10-24 10:47:02,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39134164-28852742 failed! 2025-10-24 10:47:02,724 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39134164:ctest-vn-32786738 is 214.15.226.129 and allocation pool is NOT set 2025-10-24 10:47:04,786 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.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 = 1.349/5.108/8.868/3.759 ms') 2025-10-24 10:47:04,786 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39134164-28852742 passed 2025-10-24 10:47:04,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:47:04,940 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39134164-28852742, IP 214.15.226.131, Port 22 2025-10-24 10:47:05,005 - 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': ''} 2025-10-24 10:47:05,226 - DEBUG - VM ctest-TestBasicPolicy-39134164-28852742 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-24 10:47:10,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:47:10,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39134164-28852742, IP 214.15.226.131, Port 22 2025-10-24 10:47:10,384 - DEBUG - VM ctest-TestBasicPolicy-39134164-28852742 is ready for SSH connections 2025-10-24 10:47:10,384 - INFO - Waiting for VM ctest-TestBasicPolicy-39134164-58641097 to be up.. 2025-10-24 10:47:10,468 - DEBUG - VM is in ACTIVE state now 2025-10-24 10:47:10,468 - INFO - VM name : ctest-TestBasicPolicy-39134164-58641097 2025-10-24 10:47:10,548 - DEBUG - VM ctest-TestBasicPolicy-39134164-58641097 ID is 7ca65a1d-0a7f-4c48-baf2-d9abc6293d6b 2025-10-24 10:47:10,548 - DEBUG - VM ctest-TestBasicPolicy-39134164-58641097 launched on Node cn-jenkins-deploy-platform-ansible-os-4475-1 2025-10-24 10:47:10,639 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7ca65a1d-0a7f-4c48-baf2-d9abc6293d6b 2025-10-24 10:47:10,648 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0ed11fc1-bf97-4509-89b4-ff0a64b0ad52 2025-10-24 10:47:11,892 - 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=3.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.950/3.424/1.473 ms') 2025-10-24 10:47:11,892 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39134164-58641097 passed 2025-10-24 10:47:12,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:47:12,052 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39134164-58641097, IP 124.233.16.3, Port 22 2025-10-24 10:47:12,207 - DEBUG - VM ctest-TestBasicPolicy-39134164-58641097 is ready for SSH connections 2025-10-24 10:47:12,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:47:12,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.233.16.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 10:47:12,208 - DEBUG - ping -s 56 -c 3 -W 1 124.233.16.3 2025-10-24 10:47:16,347 - DEBUG - PING 124.233.16.3 (124.233.16.3): 56 data bytes 64 bytes from 124.233.16.3: seq=0 ttl=63 time=4.151 ms 64 bytes from 124.233.16.3: seq=1 ttl=63 time=0.918 ms 64 bytes from 124.233.16.3: seq=2 ttl=63 time=0.837 ms --- 124.233.16.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.837/1.968/4.151 ms 2025-10-24 10:47:16,347 - INFO - Ping to IP 124.233.16.3 from VM ctest-TestBasicPolicy-39134164-28852742 passed 2025-10-24 10:47:16,523 - DEBUG - Policy Update Response {"network-policy": {"uuid": "db8abfe3-5c6a-4833-b38e-a5ba90774119", "href": "http://10.0.0.254:8082/network-policy/db8abfe3-5c6a-4833-b38e-a5ba90774119"}} 2025-10-24 10:47:16,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:47:16,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.233.16.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 10:47:16,524 - DEBUG - ping -s 56 -c 3 -W 1 124.233.16.3 2025-10-24 10:47:19,783 - DEBUG - PING 124.233.16.3 (124.233.16.3): 56 data bytes --- 124.233.16.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 10:47:19,783 - WARNING - Ping to IP 124.233.16.3 from VM ctest-TestBasicPolicy-39134164-28852742 failed 2025-10-24 10:47:19,783 - INFO - Deleting VM ctest-TestBasicPolicy-39134164-58641097 2025-10-24 10:47:19,856 - INFO - Deleting VM ctest-TestBasicPolicy-39134164-28852742 2025-10-24 10:47:20,263 - INFO - Deleted policy ctest-policy-allow-all-74565572 2025-10-24 10:47:20,263 - INFO - Deleting VN ctest-vn-15166765 2025-10-24 10:47:20,316 - DEBUG - VN f5511941-7628-44b1-a7eb-f1010f05fcbc still in use: Unable to complete operation on network f5511941-7628-44b1-a7eb-f1010f05fcbc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-869c8dca-3617-41a6-a875-44d3ddba513b'] 2025-10-24 10:47:20,316 - WARNING - Deleting VN ctest-vn-15166765 failed..Will retry 2025-10-24 10:47:22,446 - DEBUG - Response for deleting network () 2025-10-24 10:47:22,447 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e999c8cf-5f73-46af-8e67-5ba1ef0dd548 2025-10-24 10:47:22,452 - DEBUG - Response Code: 404 2025-10-24 10:47:22,452 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 10:47:22,457 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7db71b69-ec52-463d-b1ea-ee1dd30569eb 2025-10-24 10:47:22,514 - DEBUG - Requesting: http://10.0.0.254:8082/project/46edcffe-7a12-4d2c-a912-0e5503480dab 2025-10-24 10:47:22,587 - INFO - Validated that VN ctest-vn-15166765 is not found in API Server 2025-10-24 10:47:22,596 - DEBUG - VN ctest-vn-15166765 is not present in Agent 10.0.0.254 2025-10-24 10:47:22,596 - INFO - Validated that VN ctest-vn-15166765 is not in any agent 2025-10-24 10:47:22,609 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15166765 info 2025-10-24 10:47:22,609 - INFO - Deleting VN ctest-vn-32786738 2025-10-24 10:47:22,706 - DEBUG - Response for deleting network () 2025-10-24 10:47:22,707 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e55dfc41-6427-4222-9510-0891f14c8e0f 2025-10-24 10:47:22,713 - DEBUG - Response Code: 404 2025-10-24 10:47:22,714 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 10:47:22,719 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7db71b69-ec52-463d-b1ea-ee1dd30569eb 2025-10-24 10:47:22,777 - DEBUG - Requesting: http://10.0.0.254:8082/project/46edcffe-7a12-4d2c-a912-0e5503480dab 2025-10-24 10:47:22,852 - INFO - Validated that VN ctest-vn-32786738 is not found in API Server 2025-10-24 10:47:22,863 - DEBUG - VN ctest-vn-32786738 is not present in Agent 10.0.0.254 2025-10-24 10:47:22,863 - INFO - Validated that VN ctest-vn-32786738 is not in any agent 2025-10-24 10:47:22,877 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32786738 info 2025-10-24 10:47:23,133 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 10:47:23,133 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-24 10:47:23,133 - INFO - -------------------------------------------------------------------------------- 2025-10-24 10:47:23,838 - INFO - Deleted project: ctest-TestBasicPolicy-39134164, ID : 46edcffe-7a12-4d2c-a912-0e5503480dab