2026-02-12 04:25:16,617 - INFO - Domain Default found not creating 2026-02-12 04:25:16,813 - INFO - Project ctest-TestBasicPolicy-26024978 not found, creating it 2026-02-12 04:25:17,308 - INFO - Created Project:ctest-TestBasicPolicy-26024978, ID : d01946ca-b43b-4988-b5ae-12e48bcb8366 2026-02-12 04:25:18,972 - INFO - ================================================================================ 2026-02-12 04:25:18,972 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 04:25:18,972 - 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-02-12 04:25:19,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-12 04:25:19,233 - INFO - Initial checks done. Running the testcase now 2026-02-12 04:25:19,233 - INFO - 2026-02-12 04:25:19,853 - DEBUG - Response for create_network : {'network': {'id': '195c10a9-5689-4aa6-af7a-7250d4e6b94c', 'name': 'ctest-vn-53199347', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'project_id': 'd01946cab43b4988b5ae12e48bcb8366', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-vn-53199347'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 04:25:20,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '765c9f91-db47-4557-8e59-882c895c1f4c', 'name': '', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'network_id': '195c10a9-5689-4aa6-af7a-7250d4e6b94c', 'ip_version': 4, 'cidr': '178.103.52.0/26', 'allocation_pools': [{'start': '178.103.52.2', 'end': '178.103.52.62'}], 'gateway_ip': '178.103.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.103.52.2', 'tags': [], 'project_id': 'd01946cab43b4988b5ae12e48bcb8366'}} 2026-02-12 04:25:20,072 - INFO - Created VN ctest-vn-53199347 2026-02-12 04:25:20,124 - DEBUG - VN ctest-vn-53199347 UUID is 195c10a9-5689-4aa6-af7a-7250d4e6b94c 2026-02-12 04:25:20,417 - DEBUG - Response for create_network : {'network': {'id': 'f6cf3fd0-357c-4603-86d3-80fdfb56b0fb', 'name': 'ctest-vn-46830418', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'project_id': 'd01946cab43b4988b5ae12e48bcb8366', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-vn-46830418'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 04:25:20,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e301df0-a53d-4925-be31-9adfc080def2', 'name': '', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'network_id': 'f6cf3fd0-357c-4603-86d3-80fdfb56b0fb', 'ip_version': 4, 'cidr': '46.86.238.192/26', 'allocation_pools': [{'start': '46.86.238.194', 'end': '46.86.238.254'}], 'gateway_ip': '46.86.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.86.238.194', 'tags': [], 'project_id': 'd01946cab43b4988b5ae12e48bcb8366'}} 2026-02-12 04:25:20,637 - INFO - Created VN ctest-vn-46830418 2026-02-12 04:25:20,692 - DEBUG - VN ctest-vn-46830418 UUID is f6cf3fd0-357c-4603-86d3-80fdfb56b0fb 2026-02-12 04:25:20,813 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347, 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-26024978:ctest-vn-46830418, 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-02-12 04:25:21,121 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '195c10a9-5689-4aa6-af7a-7250d4e6b94c', 'name': 'ctest-vn-53199347', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'project_id': 'd01946cab43b4988b5ae12e48bcb8366', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['765c9f91-db47-4557-8e59-882c895c1f4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-vn-53199347'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-policy-allow-all-75985910']], 'subnet_ipam': [{'subnet_cidr': '178.103.52.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 04:25:21,408 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6cf3fd0-357c-4603-86d3-80fdfb56b0fb', 'name': 'ctest-vn-46830418', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'project_id': 'd01946cab43b4988b5ae12e48bcb8366', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e301df0-a53d-4925-be31-9adfc080def2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-vn-46830418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-policy-allow-all-75985910']], 'subnet_ipam': [{'subnet_cidr': '46.86.238.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 04:25:21,544 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 04:25:21,883 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 04:25:21,919 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e 2026-02-12 04:25:21,933 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366 2026-02-12 04:25:22,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c 2026-02-12 04:25:22,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c 2026-02-12 04:25:22,040 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4 2026-02-12 04:25:22,048 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4 2026-02-12 04:25:22,057 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fd8bd639-eb6d-4309-9d3c-2d9e2c90d3e0 2026-02-12 04:25:22,064 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 04:25:22,064 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c 2026-02-12 04:25:22,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4 2026-02-12 04:25:22,089 - INFO - Verified VN network id 11 for VN 195c10a9-5689-4aa6-af7a-7250d4e6b94c 2026-02-12 04:25:22,090 - INFO - Verifications in API Server for VN ctest-vn-53199347 passed 2026-02-12 04:25:22,090 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c 2026-02-12 04:25:22,100 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4 2026-02-12 04:25:22,108 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4 2026-02-12 04:25:22,116 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fd8bd639-eb6d-4309-9d3c-2d9e2c90d3e0 2026-02-12 04:25:22,131 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26024978', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1827353868292934310', 'uuid-lslong': '12644544595290929484'}, 'enable': 'true', 'created': '2026-02-12T04:25:19', 'last-modified': '2026-02-12T04:25:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.041215'} 2026-02-12 04:25:22,137 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 04:25:22,137 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53199347 passed 2026-02-12 04:25:22,138 - DEBUG - ====Verifying policy data for ctest-vn-53199347 in API_Server ====== 2026-02-12 04:25:22,138 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 04:25:22,143 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e 2026-02-12 04:25:22,156 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366 2026-02-12 04:25:22,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c 2026-02-12 04:25:22,239 - DEBUG - ==>Verifying data for policy with id: b8ef5282-6fa3-402d-9606-6f2ab27da2f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-policy-allow-all-75985910'] 2026-02-12 04:25:22,239 - INFO - VN ctest-vn-53199347 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 04:25:22,239 - DEBUG - Verifying the vn in opserver 2026-02-12 04:25:22,240 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347 virtual network link through opserver 10.0.0.38 2026-02-12 04:25:22,240 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-12 04:25:22,575 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-12 04:25:22,644 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347?flat'} 2026-02-12 04:25:22,645 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347 is found in opserver 2026-02-12 04:25:22,655 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 04:25:22,661 - DEBUG - VRF ids for VN ctest-vn-53199347: {} 2026-02-12 04:25:22,661 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 04:25:22,668 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e 2026-02-12 04:25:22,680 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366 2026-02-12 04:25:22,751 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb 2026-02-12 04:25:22,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb 2026-02-12 04:25:22,773 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab 2026-02-12 04:25:22,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab 2026-02-12 04:25:22,788 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/010eb876-d0ed-4ff8-b382-cac5e4b46643 2026-02-12 04:25:22,796 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 04:25:22,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb 2026-02-12 04:25:22,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab 2026-02-12 04:25:22,821 - INFO - Verified VN network id 12 for VN f6cf3fd0-357c-4603-86d3-80fdfb56b0fb 2026-02-12 04:25:22,821 - INFO - Verifications in API Server for VN ctest-vn-46830418 passed 2026-02-12 04:25:22,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb 2026-02-12 04:25:22,833 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab 2026-02-12 04:25:22,842 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab 2026-02-12 04:25:22,850 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/010eb876-d0ed-4ff8-b382-cac5e4b46643 2026-02-12 04:25:22,863 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26024978', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17784503616992462339', 'uuid-lslong': '9715250649500135675'}, 'enable': 'true', 'created': '2026-02-12T04:25:20', 'last-modified': '2026-02-12T04:25:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.532383'} 2026-02-12 04:25:22,870 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 04:25:22,871 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46830418 passed 2026-02-12 04:25:22,871 - DEBUG - ====Verifying policy data for ctest-vn-46830418 in API_Server ====== 2026-02-12 04:25:22,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 04:25:22,878 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e 2026-02-12 04:25:22,890 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366 2026-02-12 04:25:22,964 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb 2026-02-12 04:25:22,976 - DEBUG - ==>Verifying data for policy with id: b8ef5282-6fa3-402d-9606-6f2ab27da2f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-policy-allow-all-75985910'] 2026-02-12 04:25:22,976 - INFO - VN ctest-vn-46830418 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 04:25:22,976 - DEBUG - Verifying the vn in opserver 2026-02-12 04:25:22,976 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418 virtual network link through opserver 10.0.0.38 2026-02-12 04:25:22,976 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-12 04:25:22,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418?flat'} 2026-02-12 04:25:22,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418 is found in opserver 2026-02-12 04:25:22,996 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 04:25:23,000 - DEBUG - VRF ids for VN ctest-vn-46830418: {} 2026-02-12 04:25:23,063 - DEBUG - Services list from nova: [, , ] 2026-02-12 04:25:24,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5310-1) 2026-02-12 04:25:25,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5310-1) 2026-02-12 04:25:25,484 - INFO - Waiting for VM ctest-TestBasicPolicy-26024978-47108781 to be up.. 2026-02-12 04:25:25,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 04:25:30,681 - DEBUG - VM is in ACTIVE state now 2026-02-12 04:25:30,682 - INFO - VM name : ctest-TestBasicPolicy-26024978-47108781 2026-02-12 04:25:30,771 - DEBUG - VM ctest-TestBasicPolicy-26024978-47108781 ID is afde167c-f0fe-4cd5-91b3-91e8377ddbed 2026-02-12 04:25:30,794 - DEBUG - VM ctest-TestBasicPolicy-26024978-47108781 launched on Node cn-jenkins-deploy-platform-ansible-os-5310-1 2026-02-12 04:25:30,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/afde167c-f0fe-4cd5-91b3-91e8377ddbed 2026-02-12 04:25:30,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f416c286-0bd1-4277-a8fa-9cda66d83fa4 2026-02-12 04:25:34,155 - 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 1017ms') 2026-02-12 04:25:34,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26024978-47108781 failed! 2026-02-12 04:25:34,212 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347 is 178.103.52.1 and allocation pool is NOT set 2026-02-12 04:25:36,279 - 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=3.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 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 = 3.023/3.439/3.856/0.416 ms') 2026-02-12 04:25:36,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26024978-47108781 passed 2026-02-12 04:25:36,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 04:25:36,448 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26024978-47108781, IP 178.103.52.3, Port 22 2026-02-12 04:25:36,504 - 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-02-12 04:25:36,600 - DEBUG - VM ctest-TestBasicPolicy-26024978-47108781 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 04:25:41,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 04:25:41,600 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26024978-47108781, IP 178.103.52.3, Port 22 2026-02-12 04:25:41,766 - DEBUG - VM ctest-TestBasicPolicy-26024978-47108781 is ready for SSH connections 2026-02-12 04:25:41,766 - INFO - Waiting for VM ctest-TestBasicPolicy-26024978-82215330 to be up.. 2026-02-12 04:25:41,851 - DEBUG - VM is in ACTIVE state now 2026-02-12 04:25:41,851 - INFO - VM name : ctest-TestBasicPolicy-26024978-82215330 2026-02-12 04:25:41,933 - DEBUG - VM ctest-TestBasicPolicy-26024978-82215330 ID is d548d04d-d2f6-4ed1-a2a1-f31e60629353 2026-02-12 04:25:41,934 - DEBUG - VM ctest-TestBasicPolicy-26024978-82215330 launched on Node cn-jenkins-deploy-platform-ansible-os-5310-1 2026-02-12 04:25:42,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d548d04d-d2f6-4ed1-a2a1-f31e60629353 2026-02-12 04:25:42,031 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/33b081a6-08db-4d40-be0a-88cc43bb98b6 2026-02-12 04:25:43,273 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.780/3.127/1.346 ms') 2026-02-12 04:25:43,273 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26024978-82215330 passed 2026-02-12 04:25:43,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 04:25:43,424 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26024978-82215330, IP 46.86.238.195, Port 22 2026-02-12 04:25:43,579 - DEBUG - VM ctest-TestBasicPolicy-26024978-82215330 is ready for SSH connections 2026-02-12 04:25:43,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 04:25:43,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.86.238.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-12 04:25:43,579 - DEBUG - ping -s 56 -c 3 -W 1 46.86.238.195 2026-02-12 04:25:47,726 - DEBUG - PING 46.86.238.195 (46.86.238.195): 56 data bytes 64 bytes from 46.86.238.195: seq=0 ttl=63 time=4.027 ms 64 bytes from 46.86.238.195: seq=1 ttl=63 time=1.039 ms 64 bytes from 46.86.238.195: seq=2 ttl=63 time=1.067 ms --- 46.86.238.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.039/2.044/4.027 ms 2026-02-12 04:25:47,726 - INFO - Ping to IP 46.86.238.195 from VM ctest-TestBasicPolicy-26024978-47108781 passed 2026-02-12 04:25:47,903 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b8ef5282-6fa3-402d-9606-6f2ab27da2f1", "href": "http://10.0.0.38:8082/network-policy/b8ef5282-6fa3-402d-9606-6f2ab27da2f1"}} 2026-02-12 04:25:47,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 04:25:47,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.86.238.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-12 04:25:47,904 - DEBUG - ping -s 56 -c 3 -W 1 46.86.238.195 2026-02-12 04:25:51,191 - DEBUG - PING 46.86.238.195 (46.86.238.195): 56 data bytes --- 46.86.238.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 04:25:51,191 - WARNING - Ping to IP 46.86.238.195 from VM ctest-TestBasicPolicy-26024978-47108781 failed 2026-02-12 04:25:51,192 - INFO - Deleting VM ctest-TestBasicPolicy-26024978-82215330 2026-02-12 04:25:51,281 - INFO - Deleting VM ctest-TestBasicPolicy-26024978-47108781 2026-02-12 04:25:51,697 - INFO - Deleted policy ctest-policy-allow-all-75985910 2026-02-12 04:25:51,697 - INFO - Deleting VN ctest-vn-46830418 2026-02-12 04:25:51,742 - DEBUG - VN f6cf3fd0-357c-4603-86d3-80fdfb56b0fb still in use: Unable to complete operation on network f6cf3fd0-357c-4603-86d3-80fdfb56b0fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-239db473-80cc-4bab-b2d0-bae7458dde61'] 2026-02-12 04:25:51,743 - WARNING - Deleting VN ctest-vn-46830418 failed..Will retry 2026-02-12 04:25:53,853 - DEBUG - Response for deleting network () 2026-02-12 04:25:53,853 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab 2026-02-12 04:25:53,861 - DEBUG - Response Code: 404 2026-02-12 04:25:53,861 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 04:25:53,867 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e 2026-02-12 04:25:53,922 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366 2026-02-12 04:25:53,998 - INFO - Validated that VN ctest-vn-46830418 is not found in API Server 2026-02-12 04:25:54,008 - DEBUG - VN ctest-vn-46830418 is not present in Agent 10.0.0.38 2026-02-12 04:25:54,008 - INFO - Validated that VN ctest-vn-46830418 is not in any agent 2026-02-12 04:25:54,024 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46830418 info 2026-02-12 04:25:54,024 - INFO - Deleting VN ctest-vn-53199347 2026-02-12 04:25:54,137 - DEBUG - Response for deleting network () 2026-02-12 04:25:54,137 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4 2026-02-12 04:25:54,147 - DEBUG - Response Code: 404 2026-02-12 04:25:54,148 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-12 04:25:54,156 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e 2026-02-12 04:25:54,209 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366 2026-02-12 04:25:54,279 - INFO - Validated that VN ctest-vn-53199347 is not found in API Server 2026-02-12 04:25:54,289 - DEBUG - VN ctest-vn-53199347 is not present in Agent 10.0.0.38 2026-02-12 04:25:54,289 - INFO - Validated that VN ctest-vn-53199347 is not in any agent 2026-02-12 04:25:54,304 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53199347 info 2026-02-12 04:25:54,569 - DEBUG - No XMPP flaps were noticed during the test 2026-02-12 04:25:54,570 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-02-12 04:25:54,570 - INFO - -------------------------------------------------------------------------------- 2026-02-12 04:25:55,317 - INFO - Deleted project: ctest-TestBasicPolicy-26024978, ID : d01946ca-b43b-4988-b5ae-12e48bcb8366