2026-01-29 18:48:17,827 - INFO - Domain Default found not creating 2026-01-29 18:48:18,079 - INFO - Project ctest-TestBasicPolicy-56701691 not found, creating it 2026-01-29 18:48:18,640 - INFO - Created Project:ctest-TestBasicPolicy-56701691, ID : 36605816-f28a-407f-8902-af72c92fec41 2026-01-29 18:48:20,501 - INFO - ================================================================================ 2026-01-29 18:48:20,501 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 18:48:20,501 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-01-29 18:48:20,785 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2026-01-29 18:48:20,785 - INFO - Initial checks done. Running the testcase now 2026-01-29 18:48:20,785 - INFO - 2026-01-29 18:48:21,472 - DEBUG - Response for create_network : {'network': {'id': 'f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200', 'name': 'ctest-vn-81346863', 'tenant_id': '36605816f28a407f8902af72c92fec41', 'project_id': '36605816f28a407f8902af72c92fec41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56701691', 'ctest-vn-81346863'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 18:48:21,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '000eafb3-c7e3-4236-997c-c264e9e0cb66', 'name': '', 'tenant_id': '36605816f28a407f8902af72c92fec41', 'network_id': 'f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200', 'ip_version': 4, 'cidr': '151.79.39.192/26', 'allocation_pools': [{'start': '151.79.39.194', 'end': '151.79.39.254'}], 'gateway_ip': '151.79.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.79.39.194', 'tags': [], 'project_id': '36605816f28a407f8902af72c92fec41'}} 2026-01-29 18:48:21,747 - INFO - Created VN ctest-vn-81346863 2026-01-29 18:48:21,806 - DEBUG - VN ctest-vn-81346863 UUID is f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200 2026-01-29 18:48:22,271 - DEBUG - Response for create_network : {'network': {'id': 'a960109e-2156-4d9a-a864-d214a11ffae4', 'name': 'ctest-vn-27338494', 'tenant_id': '36605816f28a407f8902af72c92fec41', 'project_id': '36605816f28a407f8902af72c92fec41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56701691', 'ctest-vn-27338494'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 18:48:22,547 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9c2d79d-bcf8-4cfd-a9e5-c4333e35a5c9', 'name': '', 'tenant_id': '36605816f28a407f8902af72c92fec41', 'network_id': 'a960109e-2156-4d9a-a864-d214a11ffae4', 'ip_version': 4, 'cidr': '64.67.97.192/26', 'allocation_pools': [{'start': '64.67.97.194', 'end': '64.67.97.254'}], 'gateway_ip': '64.67.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.67.97.194', 'tags': [], 'project_id': '36605816f28a407f8902af72c92fec41'}} 2026-01-29 18:48:22,596 - INFO - Created VN ctest-vn-27338494 2026-01-29 18:48:22,662 - DEBUG - VN ctest-vn-27338494 UUID is a960109e-2156-4d9a-a864-d214a11ffae4 2026-01-29 18:48:22,814 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-81346863, 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-56701691:ctest-vn-27338494, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-01-29 18:48:23,176 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200', 'name': 'ctest-vn-81346863', 'tenant_id': '36605816f28a407f8902af72c92fec41', 'project_id': '36605816f28a407f8902af72c92fec41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['000eafb3-c7e3-4236-997c-c264e9e0cb66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56701691', 'ctest-vn-81346863'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56701691', 'ctest-policy-allow-all-08384968']], 'subnet_ipam': [{'subnet_cidr': '151.79.39.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 18:48:23,425 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a960109e-2156-4d9a-a864-d214a11ffae4', 'name': 'ctest-vn-27338494', 'tenant_id': '36605816f28a407f8902af72c92fec41', 'project_id': '36605816f28a407f8902af72c92fec41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9c2d79d-bcf8-4cfd-a9e5-c4333e35a5c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56701691', 'ctest-vn-27338494'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56701691', 'ctest-policy-allow-all-08384968']], 'subnet_ipam': [{'subnet_cidr': '64.67.97.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 18:48:23,610 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-29 18:48:23,919 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-29 18:48:23,962 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0e2b9175-8307-4231-973e-cdccdfafbf23 2026-01-29 18:48:23,998 - DEBUG - Requesting: http://10.0.0.129:8082/project/36605816-f28a-407f-8902-af72c92fec41 2026-01-29 18:48:24,103 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200 2026-01-29 18:48:24,122 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200 2026-01-29 18:48:24,140 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fc80d78a-ffa9-482b-b402-cd904f80f521 2026-01-29 18:48:24,155 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fc80d78a-ffa9-482b-b402-cd904f80f521 2026-01-29 18:48:24,170 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/56279fb6-6062-40d6-b9eb-9228f4ec65bb 2026-01-29 18:48:24,187 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 18:48:24,187 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200 2026-01-29 18:48:24,210 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fc80d78a-ffa9-482b-b402-cd904f80f521 2026-01-29 18:48:24,246 - INFO - Verified VN network id 11 for VN f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200 2026-01-29 18:48:24,246 - INFO - Verifications in API Server for VN ctest-vn-81346863 passed 2026-01-29 18:48:24,246 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200 2026-01-29 18:48:24,271 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fc80d78a-ffa9-482b-b402-cd904f80f521 2026-01-29 18:48:24,289 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fc80d78a-ffa9-482b-b402-cd904f80f521 2026-01-29 18:48:24,304 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/56279fb6-6062-40d6-b9eb-9228f4ec65bb 2026-01-29 18:48:24,329 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-81346863', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56701691', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17879078803958288380', 'uuid-lslong': '10222237236573512192'}, 'enable': 'true', 'created': '2026-01-29T18:48:21', 'last-modified': '2026-01-29T18:48:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.177208'} 2026-01-29 18:48:24,346 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 18:48:24,346 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81346863 passed 2026-01-29 18:48:24,346 - DEBUG - ====Verifying policy data for ctest-vn-81346863 in API_Server ====== 2026-01-29 18:48:24,347 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-29 18:48:24,360 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0e2b9175-8307-4231-973e-cdccdfafbf23 2026-01-29 18:48:24,387 - DEBUG - Requesting: http://10.0.0.129:8082/project/36605816-f28a-407f-8902-af72c92fec41 2026-01-29 18:48:24,490 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f81f3f71-dd26-4ffc-8ddc-ae9b5fbc2200 2026-01-29 18:48:24,506 - DEBUG - ==>Verifying data for policy with id: b279bf63-c794-43ea-a6bd-3ca256dce2da, fqn: ['default-domain', 'ctest-TestBasicPolicy-56701691', 'ctest-policy-allow-all-08384968'] 2026-01-29 18:48:24,506 - INFO - VN ctest-vn-81346863 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 18:48:24,506 - DEBUG - Verifying the vn in opserver 2026-01-29 18:48:24,506 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-81346863 virtual network link through opserver 10.0.0.129 2026-01-29 18:48:24,506 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-01-29 18:48:24,835 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-01-29 18:48:24,937 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-81346863', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-81346863?flat'} 2026-01-29 18:48:24,937 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-81346863 is found in opserver 2026-01-29 18:48:24,949 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 18:48:24,958 - DEBUG - VRF ids for VN ctest-vn-81346863: {} 2026-01-29 18:48:24,958 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-29 18:48:24,967 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0e2b9175-8307-4231-973e-cdccdfafbf23 2026-01-29 18:48:24,987 - DEBUG - Requesting: http://10.0.0.129:8082/project/36605816-f28a-407f-8902-af72c92fec41 2026-01-29 18:48:25,076 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a960109e-2156-4d9a-a864-d214a11ffae4 2026-01-29 18:48:25,095 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a960109e-2156-4d9a-a864-d214a11ffae4 2026-01-29 18:48:25,111 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0619f7fa-bfd5-48fd-9364-9df4ee520192 2026-01-29 18:48:25,124 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0619f7fa-bfd5-48fd-9364-9df4ee520192 2026-01-29 18:48:25,133 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/f5c8170b-a700-4100-b952-b3aa551261e4 2026-01-29 18:48:25,139 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 18:48:25,139 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a960109e-2156-4d9a-a864-d214a11ffae4 2026-01-29 18:48:25,149 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0619f7fa-bfd5-48fd-9364-9df4ee520192 2026-01-29 18:48:25,164 - INFO - Verified VN network id 12 for VN a960109e-2156-4d9a-a864-d214a11ffae4 2026-01-29 18:48:25,164 - INFO - Verifications in API Server for VN ctest-vn-27338494 passed 2026-01-29 18:48:25,165 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a960109e-2156-4d9a-a864-d214a11ffae4 2026-01-29 18:48:25,176 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0619f7fa-bfd5-48fd-9364-9df4ee520192 2026-01-29 18:48:25,184 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0619f7fa-bfd5-48fd-9364-9df4ee520192 2026-01-29 18:48:25,192 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/f5c8170b-a700-4100-b952-b3aa551261e4 2026-01-29 18:48:25,214 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-27338494', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56701691', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12204773261524225434', 'uuid-lslong': '12134054282087365348'}, 'enable': 'true', 'created': '2026-01-29T18:48:22', 'last-modified': '2026-01-29T18:48:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.807109'} 2026-01-29 18:48:25,230 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 18:48:25,230 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27338494 passed 2026-01-29 18:48:25,230 - DEBUG - ====Verifying policy data for ctest-vn-27338494 in API_Server ====== 2026-01-29 18:48:25,230 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-29 18:48:25,238 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0e2b9175-8307-4231-973e-cdccdfafbf23 2026-01-29 18:48:25,253 - DEBUG - Requesting: http://10.0.0.129:8082/project/36605816-f28a-407f-8902-af72c92fec41 2026-01-29 18:48:25,332 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a960109e-2156-4d9a-a864-d214a11ffae4 2026-01-29 18:48:25,349 - DEBUG - ==>Verifying data for policy with id: b279bf63-c794-43ea-a6bd-3ca256dce2da, fqn: ['default-domain', 'ctest-TestBasicPolicy-56701691', 'ctest-policy-allow-all-08384968'] 2026-01-29 18:48:25,349 - INFO - VN ctest-vn-27338494 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 18:48:25,350 - DEBUG - Verifying the vn in opserver 2026-01-29 18:48:25,350 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-27338494 virtual network link through opserver 10.0.0.129 2026-01-29 18:48:25,350 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-01-29 18:48:25,363 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-27338494', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-27338494?flat'} 2026-01-29 18:48:25,363 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-27338494 is found in opserver 2026-01-29 18:48:25,376 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 18:48:25,381 - DEBUG - VRF ids for VN ctest-vn-27338494: {} 2026-01-29 18:48:25,454 - DEBUG - Services list from nova: [, , ] 2026-01-29 18:48:26,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5135-1) 2026-01-29 18:48:28,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5135-1) 2026-01-29 18:48:28,221 - INFO - Waiting for VM ctest-TestBasicPolicy-56701691-09261502 to be up.. 2026-01-29 18:48:28,305 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 18:48:33,433 - DEBUG - VM is in ACTIVE state now 2026-01-29 18:48:33,433 - INFO - VM name : ctest-TestBasicPolicy-56701691-09261502 2026-01-29 18:48:33,567 - DEBUG - VM ctest-TestBasicPolicy-56701691-09261502 ID is f15c274c-1f2e-4067-8ac0-6c487da953e9 2026-01-29 18:48:33,591 - DEBUG - VM ctest-TestBasicPolicy-56701691-09261502 launched on Node cn-jenkins-deploy-platform-ansible-os-5135-1 2026-01-29 18:48:33,699 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f15c274c-1f2e-4067-8ac0-6c487da953e9 2026-01-29 18:48:33,721 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/b6b2f0dc-39a7-432a-b32f-5b65b5aef835 2026-01-29 18:48:37,016 - 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-01-29 18:48:37,016 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56701691-09261502 failed! 2026-01-29 18:48:37,078 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-81346863 is 151.79.39.193 and allocation pool is NOT set 2026-01-29 18:48:41,172 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-01-29 18:48:41,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56701691-09261502 failed! 2026-01-29 18:48:41,226 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56701691:ctest-vn-81346863 is 151.79.39.193 and allocation pool is NOT set 2026-01-29 18:48:43,298 - 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=619 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.83 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 = 2.826/311.136/619.447/308.310 ms') 2026-01-29 18:48:43,298 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56701691-09261502 passed 2026-01-29 18:48:43,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 18:48:43,462 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56701691-09261502, IP 151.79.39.195, Port 22 2026-01-29 18:48:43,528 - 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-01-29 18:48:43,658 - DEBUG - VM ctest-TestBasicPolicy-56701691-09261502 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 18:48:48,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 18:48:48,660 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56701691-09261502, IP 151.79.39.195, Port 22 2026-01-29 18:48:50,199 - DEBUG - VM ctest-TestBasicPolicy-56701691-09261502 is ready for SSH connections 2026-01-29 18:48:50,199 - INFO - Waiting for VM ctest-TestBasicPolicy-56701691-59369435 to be up.. 2026-01-29 18:48:50,359 - DEBUG - VM is in ACTIVE state now 2026-01-29 18:48:50,359 - INFO - VM name : ctest-TestBasicPolicy-56701691-59369435 2026-01-29 18:48:50,489 - DEBUG - VM ctest-TestBasicPolicy-56701691-59369435 ID is 0d2a98a9-35dc-4d61-ac5d-554f1cc1cfee 2026-01-29 18:48:50,489 - DEBUG - VM ctest-TestBasicPolicy-56701691-59369435 launched on Node cn-jenkins-deploy-platform-ansible-os-5135-1 2026-01-29 18:48:50,595 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/0d2a98a9-35dc-4d61-ac5d-554f1cc1cfee 2026-01-29 18:48:50,606 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/f7cf9459-43dc-478f-9f71-9fbd76d7f7cf 2026-01-29 18:48:51,879 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.720 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.720/2.788/4.857/2.068 ms') 2026-01-29 18:48:51,880 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56701691-59369435 passed 2026-01-29 18:48:52,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 18:48:52,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56701691-59369435, IP 64.67.97.195, Port 22 2026-01-29 18:48:52,232 - DEBUG - VM ctest-TestBasicPolicy-56701691-59369435 is ready for SSH connections 2026-01-29 18:48:52,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 18:48:52,232 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.67.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-01-29 18:48:52,232 - DEBUG - ping -s 56 -c 3 -W 1 64.67.97.195 2026-01-29 18:48:56,656 - DEBUG - PING 64.67.97.195 (64.67.97.195): 56 data bytes 64 bytes from 64.67.97.195: seq=0 ttl=63 time=11.366 ms 64 bytes from 64.67.97.195: seq=1 ttl=63 time=2.400 ms 64 bytes from 64.67.97.195: seq=2 ttl=63 time=0.980 ms --- 64.67.97.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/4.915/11.366 ms 2026-01-29 18:48:56,657 - INFO - Ping to IP 64.67.97.195 from VM ctest-TestBasicPolicy-56701691-09261502 passed 2026-01-29 18:48:56,866 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b279bf63-c794-43ea-a6bd-3ca256dce2da", "href": "http://10.0.0.129:8082/network-policy/b279bf63-c794-43ea-a6bd-3ca256dce2da"}} 2026-01-29 18:48:56,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 18:48:56,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.67.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-01-29 18:48:56,867 - DEBUG - ping -s 56 -c 3 -W 1 64.67.97.195 2026-01-29 18:49:00,119 - DEBUG - PING 64.67.97.195 (64.67.97.195): 56 data bytes 64 bytes from 64.67.97.195: seq=0 ttl=63 time=2.842 ms --- 64.67.97.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.842/2.842/2.842 ms 2026-01-29 18:49:00,119 - WARNING - Ping to IP 64.67.97.195 from VM ctest-TestBasicPolicy-56701691-09261502 failed 2026-01-29 18:49:00,119 - INFO - Deleting VM ctest-TestBasicPolicy-56701691-59369435 2026-01-29 18:49:00,232 - INFO - Deleting VM ctest-TestBasicPolicy-56701691-09261502 2026-01-29 18:49:00,702 - INFO - Deleted policy ctest-policy-allow-all-08384968 2026-01-29 18:49:00,702 - INFO - Deleting VN ctest-vn-27338494 2026-01-29 18:49:00,743 - DEBUG - VN a960109e-2156-4d9a-a864-d214a11ffae4 still in use: Unable to complete operation on network a960109e-2156-4d9a-a864-d214a11ffae4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ce2a9327-28b5-41ce-a0df-c0dd551a8903'] 2026-01-29 18:49:00,743 - WARNING - Deleting VN ctest-vn-27338494 failed..Will retry 2026-01-29 18:49:02,924 - DEBUG - Response for deleting network () 2026-01-29 18:49:02,924 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0619f7fa-bfd5-48fd-9364-9df4ee520192 2026-01-29 18:49:02,933 - DEBUG - Response Code: 404 2026-01-29 18:49:02,933 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-29 18:49:02,939 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0e2b9175-8307-4231-973e-cdccdfafbf23 2026-01-29 18:49:02,995 - DEBUG - Requesting: http://10.0.0.129:8082/project/36605816-f28a-407f-8902-af72c92fec41 2026-01-29 18:49:03,091 - INFO - Validated that VN ctest-vn-27338494 is not found in API Server 2026-01-29 18:49:03,110 - DEBUG - VN ctest-vn-27338494 is not present in Agent 10.0.0.129 2026-01-29 18:49:03,110 - INFO - Validated that VN ctest-vn-27338494 is not in any agent 2026-01-29 18:49:03,132 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27338494 info 2026-01-29 18:49:03,132 - INFO - Deleting VN ctest-vn-81346863 2026-01-29 18:49:03,299 - DEBUG - Response for deleting network () 2026-01-29 18:49:03,299 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fc80d78a-ffa9-482b-b402-cd904f80f521 2026-01-29 18:49:03,311 - DEBUG - Response Code: 404 2026-01-29 18:49:03,312 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-01-29 18:49:03,318 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0e2b9175-8307-4231-973e-cdccdfafbf23 2026-01-29 18:49:03,373 - DEBUG - Requesting: http://10.0.0.129:8082/project/36605816-f28a-407f-8902-af72c92fec41 2026-01-29 18:49:03,478 - INFO - Validated that VN ctest-vn-81346863 is not found in API Server 2026-01-29 18:49:03,496 - DEBUG - VN ctest-vn-81346863 is not present in Agent 10.0.0.129 2026-01-29 18:49:03,496 - INFO - Validated that VN ctest-vn-81346863 is not in any agent 2026-01-29 18:49:03,522 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81346863 info 2026-01-29 18:49:03,799 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 18:49:03,800 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:43] 2026-01-29 18:49:03,800 - INFO - -------------------------------------------------------------------------------- 2026-01-29 18:49:04,592 - INFO - Deleted project: ctest-TestBasicPolicy-56701691, ID : 36605816-f28a-407f-8902-af72c92fec41