2026-06-19 11:01:19,214 - INFO - Domain Default found not creating 2026-06-19 11:01:19,343 - INFO - Project ctest-TestBasicPolicy-43394183 not found, creating it 2026-06-19 11:01:19,828 - INFO - Created Project:ctest-TestBasicPolicy-43394183, ID : f270e4c9-387d-4188-9bc6-9897a3017cda 2026-06-19 11:01:21,239 - INFO - ================================================================================ 2026-06-19 11:01:21,239 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 11:01:21,239 - 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-19 11:01:21,491 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-06-19 11:01:21,491 - INFO - Initial checks done. Running the testcase now 2026-06-19 11:01:21,491 - INFO - 2026-06-19 11:01:22,044 - DEBUG - Response for create_network : {'network': {'id': 'f5852f46-59e3-44a7-bdba-3f1bf2b49ad4', 'name': 'ctest-vn-65164507', 'tenant_id': 'f270e4c9387d41889bc69897a3017cda', 'project_id': 'f270e4c9387d41889bc69897a3017cda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43394183', 'ctest-vn-65164507'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 11:01:22,205 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d4354be-1a72-4fa8-8ac8-60578e71635d', 'name': '', 'tenant_id': 'f270e4c9387d41889bc69897a3017cda', 'network_id': 'f5852f46-59e3-44a7-bdba-3f1bf2b49ad4', 'ip_version': 4, 'cidr': '111.148.80.64/26', 'allocation_pools': [{'start': '111.148.80.66', 'end': '111.148.80.126'}], 'gateway_ip': '111.148.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.148.80.66', 'tags': [], 'project_id': 'f270e4c9387d41889bc69897a3017cda'}} 2026-06-19 11:01:22,226 - INFO - Created VN ctest-vn-65164507 2026-06-19 11:01:22,279 - DEBUG - VN ctest-vn-65164507 UUID is f5852f46-59e3-44a7-bdba-3f1bf2b49ad4 2026-06-19 11:01:22,569 - DEBUG - Response for create_network : {'network': {'id': 'faeb0de7-b6fb-482f-bbca-bfd83e06a4ba', 'name': 'ctest-vn-98510823', 'tenant_id': 'f270e4c9387d41889bc69897a3017cda', 'project_id': 'f270e4c9387d41889bc69897a3017cda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43394183', 'ctest-vn-98510823'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 11:01:22,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '41c20561-5569-4836-9545-0287d01658ad', 'name': '', 'tenant_id': 'f270e4c9387d41889bc69897a3017cda', 'network_id': 'faeb0de7-b6fb-482f-bbca-bfd83e06a4ba', 'ip_version': 4, 'cidr': '59.73.17.128/26', 'allocation_pools': [{'start': '59.73.17.130', 'end': '59.73.17.190'}], 'gateway_ip': '59.73.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.73.17.130', 'tags': [], 'project_id': 'f270e4c9387d41889bc69897a3017cda'}} 2026-06-19 11:01:22,734 - INFO - Created VN ctest-vn-98510823 2026-06-19 11:01:22,787 - DEBUG - VN ctest-vn-98510823 UUID is faeb0de7-b6fb-482f-bbca-bfd83e06a4ba 2026-06-19 11:01:22,923 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-65164507, 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-43394183:ctest-vn-98510823, 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-19 11:01:23,203 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5852f46-59e3-44a7-bdba-3f1bf2b49ad4', 'name': 'ctest-vn-65164507', 'tenant_id': 'f270e4c9387d41889bc69897a3017cda', 'project_id': 'f270e4c9387d41889bc69897a3017cda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d4354be-1a72-4fa8-8ac8-60578e71635d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43394183', 'ctest-vn-65164507'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43394183', 'ctest-policy-allow-all-48372093']], 'subnet_ipam': [{'subnet_cidr': '111.148.80.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 11:01:23,438 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'faeb0de7-b6fb-482f-bbca-bfd83e06a4ba', 'name': 'ctest-vn-98510823', 'tenant_id': 'f270e4c9387d41889bc69897a3017cda', 'project_id': 'f270e4c9387d41889bc69897a3017cda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['41c20561-5569-4836-9545-0287d01658ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43394183', 'ctest-vn-98510823'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43394183', 'ctest-policy-allow-all-48372093']], 'subnet_ipam': [{'subnet_cidr': '59.73.17.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 11:01:23,603 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 11:01:23,921 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 11:01:23,946 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0820a337-8254-4943-9a5e-4f57cebca439 2026-06-19 11:01:23,957 - DEBUG - Requesting: http://10.0.0.38:8082/project/f270e4c9-387d-4188-9bc6-9897a3017cda 2026-06-19 11:01:24,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5852f46-59e3-44a7-bdba-3f1bf2b49ad4 2026-06-19 11:01:24,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5852f46-59e3-44a7-bdba-3f1bf2b49ad4 2026-06-19 11:01:24,049 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4fccf1-0ac0-48f2-b2cb-ebce47a53e04 2026-06-19 11:01:24,055 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4fccf1-0ac0-48f2-b2cb-ebce47a53e04 2026-06-19 11:01:24,061 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47628b64-3eb1-4a6a-9200-5b6d8e3f7bfe 2026-06-19 11:01:24,066 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 11:01:24,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5852f46-59e3-44a7-bdba-3f1bf2b49ad4 2026-06-19 11:01:24,073 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4fccf1-0ac0-48f2-b2cb-ebce47a53e04 2026-06-19 11:01:24,084 - INFO - Verified VN network id 11 for VN f5852f46-59e3-44a7-bdba-3f1bf2b49ad4 2026-06-19 11:01:24,084 - INFO - Verifications in API Server for VN ctest-vn-65164507 passed 2026-06-19 11:01:24,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5852f46-59e3-44a7-bdba-3f1bf2b49ad4 2026-06-19 11:01:24,091 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4fccf1-0ac0-48f2-b2cb-ebce47a53e04 2026-06-19 11:01:24,096 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4fccf1-0ac0-48f2-b2cb-ebce47a53e04 2026-06-19 11:01:24,102 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47628b64-3eb1-4a6a-9200-5b6d8e3f7bfe 2026-06-19 11:01:24,110 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-65164507', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43394183', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17691598690397144231', 'uuid-lslong': '13671309008105151188'}, 'enable': 'true', 'created': '2026-06-19T11:01:22', 'last-modified': '2026-06-19T11:01:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923249'} 2026-06-19 11:01:24,116 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 11:01:24,116 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65164507 passed 2026-06-19 11:01:24,116 - DEBUG - ====Verifying policy data for ctest-vn-65164507 in API_Server ====== 2026-06-19 11:01:24,116 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 11:01:24,120 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0820a337-8254-4943-9a5e-4f57cebca439 2026-06-19 11:01:24,129 - DEBUG - Requesting: http://10.0.0.38:8082/project/f270e4c9-387d-4188-9bc6-9897a3017cda 2026-06-19 11:01:24,198 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5852f46-59e3-44a7-bdba-3f1bf2b49ad4 2026-06-19 11:01:24,210 - DEBUG - ==>Verifying data for policy with id: cd245f75-f7ba-42e3-ba4b-65f5a82e3132, fqn: ['default-domain', 'ctest-TestBasicPolicy-43394183', 'ctest-policy-allow-all-48372093'] 2026-06-19 11:01:24,210 - INFO - VN ctest-vn-65164507 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 11:01:24,210 - DEBUG - Verifying the vn in opserver 2026-06-19 11:01:24,210 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-65164507 virtual network link through opserver 10.0.0.38 2026-06-19 11:01:24,211 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-19 11:01:24,525 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-19 11:01:24,569 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-65164507', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-65164507?flat'} 2026-06-19 11:01:24,569 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-65164507 is found in opserver 2026-06-19 11:01:24,577 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 11:01:24,581 - DEBUG - VRF ids for VN ctest-vn-65164507: {} 2026-06-19 11:01:24,581 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 11:01:24,586 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0820a337-8254-4943-9a5e-4f57cebca439 2026-06-19 11:01:24,597 - DEBUG - Requesting: http://10.0.0.38:8082/project/f270e4c9-387d-4188-9bc6-9897a3017cda 2026-06-19 11:01:24,661 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/faeb0de7-b6fb-482f-bbca-bfd83e06a4ba 2026-06-19 11:01:24,670 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/faeb0de7-b6fb-482f-bbca-bfd83e06a4ba 2026-06-19 11:01:24,678 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9a57a74-35fb-4ae0-b3a3-ddc9ae363d54 2026-06-19 11:01:24,684 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9a57a74-35fb-4ae0-b3a3-ddc9ae363d54 2026-06-19 11:01:24,691 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/057827fd-731b-4946-bdb7-d592b3f46337 2026-06-19 11:01:24,697 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 11:01:24,697 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/faeb0de7-b6fb-482f-bbca-bfd83e06a4ba 2026-06-19 11:01:24,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9a57a74-35fb-4ae0-b3a3-ddc9ae363d54 2026-06-19 11:01:24,718 - INFO - Verified VN network id 12 for VN faeb0de7-b6fb-482f-bbca-bfd83e06a4ba 2026-06-19 11:01:24,718 - INFO - Verifications in API Server for VN ctest-vn-98510823 passed 2026-06-19 11:01:24,718 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/faeb0de7-b6fb-482f-bbca-bfd83e06a4ba 2026-06-19 11:01:24,727 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9a57a74-35fb-4ae0-b3a3-ddc9ae363d54 2026-06-19 11:01:24,734 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9a57a74-35fb-4ae0-b3a3-ddc9ae363d54 2026-06-19 11:01:24,740 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/057827fd-731b-4946-bdb7-d592b3f46337 2026-06-19 11:01:24,750 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-98510823', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43394183', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18080560417867515951', 'uuid-lslong': '13531838965862540474'}, 'enable': 'true', 'created': '2026-06-19T11:01:22', 'last-modified': '2026-06-19T11:01:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.333327'} 2026-06-19 11:01:24,755 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 11:01:24,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98510823 passed 2026-06-19 11:01:24,755 - DEBUG - ====Verifying policy data for ctest-vn-98510823 in API_Server ====== 2026-06-19 11:01:24,755 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 11:01:24,761 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0820a337-8254-4943-9a5e-4f57cebca439 2026-06-19 11:01:24,770 - DEBUG - Requesting: http://10.0.0.38:8082/project/f270e4c9-387d-4188-9bc6-9897a3017cda 2026-06-19 11:01:24,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/faeb0de7-b6fb-482f-bbca-bfd83e06a4ba 2026-06-19 11:01:24,846 - DEBUG - ==>Verifying data for policy with id: cd245f75-f7ba-42e3-ba4b-65f5a82e3132, fqn: ['default-domain', 'ctest-TestBasicPolicy-43394183', 'ctest-policy-allow-all-48372093'] 2026-06-19 11:01:24,846 - INFO - VN ctest-vn-98510823 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 11:01:24,846 - DEBUG - Verifying the vn in opserver 2026-06-19 11:01:24,846 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-98510823 virtual network link through opserver 10.0.0.38 2026-06-19 11:01:24,847 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-19 11:01:24,854 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-98510823', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-98510823?flat'} 2026-06-19 11:01:24,854 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-98510823 is found in opserver 2026-06-19 11:01:24,862 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 11:01:24,866 - DEBUG - VRF ids for VN ctest-vn-98510823: {} 2026-06-19 11:01:24,912 - DEBUG - Services list from nova: [, , ] 2026-06-19 11:01:25,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5992-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5992-1) 2026-06-19 11:01:26,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5992-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5992-1) 2026-06-19 11:01:26,916 - INFO - Waiting for VM ctest-TestBasicPolicy-43394183-23566437 to be up.. 2026-06-19 11:01:26,954 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 11:01:32,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 11:01:37,084 - DEBUG - VM is in ACTIVE state now 2026-06-19 11:01:37,084 - INFO - VM name : ctest-TestBasicPolicy-43394183-23566437 2026-06-19 11:01:37,147 - DEBUG - VM ctest-TestBasicPolicy-43394183-23566437 ID is 10bd4f09-e5d2-48b0-8e22-fdcb43371e92 2026-06-19 11:01:37,165 - DEBUG - VM ctest-TestBasicPolicy-43394183-23566437 launched on Node cn-jenkins-deploy-platform-ansible-os-5992-1 2026-06-19 11:01:37,226 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/10bd4f09-e5d2-48b0-8e22-fdcb43371e92 2026-06-19 11:01:37,232 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/327061c3-10b6-4401-b2c6-f741d84e9a46 2026-06-19 11:01:40,461 - 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 1004ms') 2026-06-19 11:01:40,461 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43394183-23566437 failed! 2026-06-19 11:01:40,519 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43394183:ctest-vn-65164507 is 111.148.80.65 and allocation pool is NOT set 2026-06-19 11:01:42,577 - 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=7.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.71 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.710/4.996/7.283/2.286 ms') 2026-06-19 11:01:42,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43394183-23566437 passed 2026-06-19 11:01:42,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 11:01:42,731 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43394183-23566437, IP 111.148.80.67, Port 22 2026-06-19 11:01:42,796 - 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-19 11:01:42,856 - DEBUG - VM ctest-TestBasicPolicy-43394183-23566437 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 11:01:47,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 11:01:47,856 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43394183-23566437, IP 111.148.80.67, Port 22 2026-06-19 11:01:48,011 - DEBUG - VM ctest-TestBasicPolicy-43394183-23566437 is ready for SSH connections 2026-06-19 11:01:48,011 - INFO - Waiting for VM ctest-TestBasicPolicy-43394183-68058203 to be up.. 2026-06-19 11:01:48,073 - DEBUG - VM is in ACTIVE state now 2026-06-19 11:01:48,073 - INFO - VM name : ctest-TestBasicPolicy-43394183-68058203 2026-06-19 11:01:48,130 - DEBUG - VM ctest-TestBasicPolicy-43394183-68058203 ID is 6a4698d0-9ae6-4168-b900-2cc9e0217f65 2026-06-19 11:01:48,130 - DEBUG - VM ctest-TestBasicPolicy-43394183-68058203 launched on Node cn-jenkins-deploy-platform-ansible-os-5992-1 2026-06-19 11:01:48,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6a4698d0-9ae6-4168-b900-2cc9e0217f65 2026-06-19 11:01:48,197 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/13502df9-413a-4713-b78f-4e79b006ea69 2026-06-19 11:01:49,421 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/1.748/3.144/1.395 ms') 2026-06-19 11:01:49,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43394183-68058203 passed 2026-06-19 11:01:49,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 11:01:49,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43394183-68058203, IP 59.73.17.131, Port 22 2026-06-19 11:01:49,723 - DEBUG - VM ctest-TestBasicPolicy-43394183-68058203 is ready for SSH connections 2026-06-19 11:01:49,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 11:01:49,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.73.17.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-19 11:01:49,723 - DEBUG - ping -s 56 -c 3 -W 1 59.73.17.131 2026-06-19 11:01:53,575 - DEBUG - PING 59.73.17.131 (59.73.17.131): 56 data bytes 64 bytes from 59.73.17.131: seq=0 ttl=63 time=3.351 ms 64 bytes from 59.73.17.131: seq=1 ttl=63 time=1.352 ms 64 bytes from 59.73.17.131: seq=2 ttl=63 time=0.951 ms --- 59.73.17.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/1.884/3.351 ms 2026-06-19 11:01:53,575 - INFO - Ping to IP 59.73.17.131 from VM ctest-TestBasicPolicy-43394183-23566437 passed 2026-06-19 11:01:53,755 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cd245f75-f7ba-42e3-ba4b-65f5a82e3132", "href": "http://10.0.0.38:8082/network-policy/cd245f75-f7ba-42e3-ba4b-65f5a82e3132"}} 2026-06-19 11:01:53,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 11:01:53,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.73.17.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-19 11:01:53,755 - DEBUG - ping -s 56 -c 3 -W 1 59.73.17.131 2026-06-19 11:01:56,878 - DEBUG - PING 59.73.17.131 (59.73.17.131): 56 data bytes --- 59.73.17.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-19 11:01:56,879 - WARNING - Ping to IP 59.73.17.131 from VM ctest-TestBasicPolicy-43394183-23566437 failed 2026-06-19 11:01:56,879 - INFO - Deleting VM ctest-TestBasicPolicy-43394183-68058203 2026-06-19 11:01:56,942 - INFO - Deleting VM ctest-TestBasicPolicy-43394183-23566437 2026-06-19 11:01:57,273 - INFO - Deleted policy ctest-policy-allow-all-48372093 2026-06-19 11:01:57,273 - INFO - Deleting VN ctest-vn-98510823 2026-06-19 11:01:57,301 - DEBUG - VN faeb0de7-b6fb-482f-bbca-bfd83e06a4ba still in use: Unable to complete operation on network faeb0de7-b6fb-482f-bbca-bfd83e06a4ba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28465950-d106-4278-b47d-1d4b3ef4104e'] 2026-06-19 11:01:57,301 - WARNING - Deleting VN ctest-vn-98510823 failed..Will retry 2026-06-19 11:01:59,387 - DEBUG - Response for deleting network () 2026-06-19 11:01:59,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9a57a74-35fb-4ae0-b3a3-ddc9ae363d54 2026-06-19 11:01:59,392 - DEBUG - Response Code: 404 2026-06-19 11:01:59,392 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 11:01:59,396 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0820a337-8254-4943-9a5e-4f57cebca439 2026-06-19 11:01:59,452 - DEBUG - Requesting: http://10.0.0.38:8082/project/f270e4c9-387d-4188-9bc6-9897a3017cda 2026-06-19 11:01:59,526 - INFO - Validated that VN ctest-vn-98510823 is not found in API Server 2026-06-19 11:01:59,534 - DEBUG - VN ctest-vn-98510823 is not present in Agent 10.0.0.38 2026-06-19 11:01:59,534 - INFO - Validated that VN ctest-vn-98510823 is not in any agent 2026-06-19 11:01:59,546 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98510823 info 2026-06-19 11:01:59,546 - INFO - Deleting VN ctest-vn-65164507 2026-06-19 11:01:59,632 - DEBUG - Response for deleting network () 2026-06-19 11:01:59,632 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4fccf1-0ac0-48f2-b2cb-ebce47a53e04 2026-06-19 11:01:59,636 - DEBUG - Response Code: 404 2026-06-19 11:01:59,637 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 11:01:59,641 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0820a337-8254-4943-9a5e-4f57cebca439 2026-06-19 11:01:59,695 - DEBUG - Requesting: http://10.0.0.38:8082/project/f270e4c9-387d-4188-9bc6-9897a3017cda 2026-06-19 11:01:59,766 - INFO - Validated that VN ctest-vn-65164507 is not found in API Server 2026-06-19 11:01:59,774 - DEBUG - VN ctest-vn-65164507 is not present in Agent 10.0.0.38 2026-06-19 11:01:59,774 - INFO - Validated that VN ctest-vn-65164507 is not in any agent 2026-06-19 11:01:59,784 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65164507 info 2026-06-19 11:02:00,036 - DEBUG - No XMPP flaps were noticed during the test 2026-06-19 11:02:00,036 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2026-06-19 11:02:00,036 - INFO - -------------------------------------------------------------------------------- 2026-06-19 11:02:00,703 - INFO - Deleted project: ctest-TestBasicPolicy-43394183, ID : f270e4c9-387d-4188-9bc6-9897a3017cda