2026-06-01 03:01:08,571 - INFO - Domain Default found not creating 2026-06-01 03:01:08,793 - INFO - Project ctest-TestBasicPolicy-97632874 not found, creating it 2026-06-01 03:01:09,317 - INFO - Created Project:ctest-TestBasicPolicy-97632874, ID : 8c67621c-8b3c-4570-b22b-5ecfb274540f 2026-06-01 03:01:11,057 - INFO - ================================================================================ 2026-06-01 03:01:11,057 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-01 03:01:11,057 - 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-01 03:01:11,323 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-06-01 03:01:11,324 - INFO - Initial checks done. Running the testcase now 2026-06-01 03:01:11,324 - INFO - 2026-06-01 03:01:11,979 - DEBUG - Response for create_network : {'network': {'id': '7d26bcbd-648b-45d0-9bf5-497d2d231fe6', 'name': 'ctest-vn-11692340', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'project_id': '8c67621c8b3c4570b22b5ecfb274540f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-vn-11692340'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 03:01:12,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f31c002-52aa-40a8-b4f8-c4a4c78f1d1f', 'name': '', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'network_id': '7d26bcbd-648b-45d0-9bf5-497d2d231fe6', 'ip_version': 4, 'cidr': '166.76.56.128/26', 'allocation_pools': [{'start': '166.76.56.130', 'end': '166.76.56.190'}], 'gateway_ip': '166.76.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.76.56.130', 'tags': [], 'project_id': '8c67621c8b3c4570b22b5ecfb274540f'}} 2026-06-01 03:01:12,248 - INFO - Created VN ctest-vn-11692340 2026-06-01 03:01:12,303 - DEBUG - VN ctest-vn-11692340 UUID is 7d26bcbd-648b-45d0-9bf5-497d2d231fe6 2026-06-01 03:01:12,660 - DEBUG - Response for create_network : {'network': {'id': 'ee87bb7d-f11a-4744-9c36-2af2d7401f8e', 'name': 'ctest-vn-09732825', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'project_id': '8c67621c8b3c4570b22b5ecfb274540f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-vn-09732825'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 03:01:12,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '4606ad3e-9224-4eb6-8f0c-3a81b5e1f2ea', 'name': '', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'network_id': 'ee87bb7d-f11a-4744-9c36-2af2d7401f8e', 'ip_version': 4, 'cidr': '6.205.188.128/26', 'allocation_pools': [{'start': '6.205.188.130', 'end': '6.205.188.190'}], 'gateway_ip': '6.205.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.205.188.130', 'tags': [], 'project_id': '8c67621c8b3c4570b22b5ecfb274540f'}} 2026-06-01 03:01:12,861 - INFO - Created VN ctest-vn-09732825 2026-06-01 03:01:12,915 - DEBUG - VN ctest-vn-09732825 UUID is ee87bb7d-f11a-4744-9c36-2af2d7401f8e 2026-06-01 03:01:13,046 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340, 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-97632874:ctest-vn-09732825, 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-01 03:01:13,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d26bcbd-648b-45d0-9bf5-497d2d231fe6', 'name': 'ctest-vn-11692340', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'project_id': '8c67621c8b3c4570b22b5ecfb274540f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f31c002-52aa-40a8-b4f8-c4a4c78f1d1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-vn-11692340'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-policy-allow-all-59048416']], 'subnet_ipam': [{'subnet_cidr': '166.76.56.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 03:01:13,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee87bb7d-f11a-4744-9c36-2af2d7401f8e', 'name': 'ctest-vn-09732825', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'project_id': '8c67621c8b3c4570b22b5ecfb274540f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4606ad3e-9224-4eb6-8f0c-3a81b5e1f2ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-vn-09732825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-policy-allow-all-59048416']], 'subnet_ipam': [{'subnet_cidr': '6.205.188.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 03:01:13,819 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 03:01:14,123 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 03:01:14,168 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e 2026-06-01 03:01:14,189 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f 2026-06-01 03:01:14,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6 2026-06-01 03:01:14,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6 2026-06-01 03:01:14,298 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e 2026-06-01 03:01:14,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e 2026-06-01 03:01:14,318 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3e0821e6-7439-4919-8ad5-567690a2ef0a 2026-06-01 03:01:14,327 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 03:01:14,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6 2026-06-01 03:01:14,337 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e 2026-06-01 03:01:14,354 - INFO - Verified VN network id 11 for VN 7d26bcbd-648b-45d0-9bf5-497d2d231fe6 2026-06-01 03:01:14,354 - INFO - Verifications in API Server for VN ctest-vn-11692340 passed 2026-06-01 03:01:14,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6 2026-06-01 03:01:14,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e 2026-06-01 03:01:14,374 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e 2026-06-01 03:01:14,381 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3e0821e6-7439-4919-8ad5-567690a2ef0a 2026-06-01 03:01:14,395 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97632874', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9018102825477686736', 'uuid-lslong': '11237969247149957094'}, 'enable': 'true', 'created': '2026-06-01T03:01:11', 'last-modified': '2026-06-01T03:01:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023765'} 2026-06-01 03:01:14,402 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 03:01:14,402 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11692340 passed 2026-06-01 03:01:14,402 - DEBUG - ====Verifying policy data for ctest-vn-11692340 in API_Server ====== 2026-06-01 03:01:14,402 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 03:01:14,409 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e 2026-06-01 03:01:14,421 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f 2026-06-01 03:01:14,502 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6 2026-06-01 03:01:14,513 - DEBUG - ==>Verifying data for policy with id: af7b3a8d-f67d-427d-bd35-2f61cca149e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-policy-allow-all-59048416'] 2026-06-01 03:01:14,513 - INFO - VN ctest-vn-11692340 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 03:01:14,513 - DEBUG - Verifying the vn in opserver 2026-06-01 03:01:14,513 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340 virtual network link through opserver 10.0.0.38 2026-06-01 03:01:14,513 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 03:01:14,834 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 03:01:14,928 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340?flat'} 2026-06-01 03:01:14,929 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340 is found in opserver 2026-06-01 03:01:14,942 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 03:01:14,948 - DEBUG - VRF ids for VN ctest-vn-11692340: {} 2026-06-01 03:01:14,948 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 03:01:14,955 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e 2026-06-01 03:01:14,967 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f 2026-06-01 03:01:15,056 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e 2026-06-01 03:01:15,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e 2026-06-01 03:01:15,091 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864 2026-06-01 03:01:15,103 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864 2026-06-01 03:01:15,115 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a1c475d2-7908-46cc-a999-38793e1ffcbc 2026-06-01 03:01:15,124 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 03:01:15,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e 2026-06-01 03:01:15,135 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864 2026-06-01 03:01:15,157 - INFO - Verified VN network id 12 for VN ee87bb7d-f11a-4744-9c36-2af2d7401f8e 2026-06-01 03:01:15,157 - INFO - Verifications in API Server for VN ctest-vn-09732825 passed 2026-06-01 03:01:15,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e 2026-06-01 03:01:15,172 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864 2026-06-01 03:01:15,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864 2026-06-01 03:01:15,192 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a1c475d2-7908-46cc-a999-38793e1ffcbc 2026-06-01 03:01:15,210 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97632874', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17187912652473124676', 'uuid-lslong': '11256231541140889486'}, 'enable': 'true', 'created': '2026-06-01T03:01:12', 'last-modified': '2026-06-01T03:01:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.588615'} 2026-06-01 03:01:15,217 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 03:01:15,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09732825 passed 2026-06-01 03:01:15,218 - DEBUG - ====Verifying policy data for ctest-vn-09732825 in API_Server ====== 2026-06-01 03:01:15,218 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 03:01:15,226 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e 2026-06-01 03:01:15,241 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f 2026-06-01 03:01:15,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e 2026-06-01 03:01:15,336 - DEBUG - ==>Verifying data for policy with id: af7b3a8d-f67d-427d-bd35-2f61cca149e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-policy-allow-all-59048416'] 2026-06-01 03:01:15,336 - INFO - VN ctest-vn-09732825 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 03:01:15,336 - DEBUG - Verifying the vn in opserver 2026-06-01 03:01:15,336 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825 virtual network link through opserver 10.0.0.38 2026-06-01 03:01:15,337 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 03:01:15,352 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825?flat'} 2026-06-01 03:01:15,352 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825 is found in opserver 2026-06-01 03:01:15,364 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 03:01:15,371 - DEBUG - VRF ids for VN ctest-vn-09732825: {} 2026-06-01 03:01:15,458 - DEBUG - Services list from nova: [, , ] 2026-06-01 03:01:16,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5861-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5861-1) 2026-06-01 03:01:17,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5861-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5861-1) 2026-06-01 03:01:17,865 - INFO - Waiting for VM ctest-TestBasicPolicy-97632874-42340132 to be up.. 2026-06-01 03:01:17,962 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 03:01:23,060 - DEBUG - VM is in ACTIVE state now 2026-06-01 03:01:23,060 - INFO - VM name : ctest-TestBasicPolicy-97632874-42340132 2026-06-01 03:01:23,169 - DEBUG - VM ctest-TestBasicPolicy-97632874-42340132 ID is c3a41dd2-a509-4a9b-a318-50ef9846b86c 2026-06-01 03:01:23,201 - DEBUG - VM ctest-TestBasicPolicy-97632874-42340132 launched on Node cn-jenkins-deploy-platform-ansible-os-5861-1 2026-06-01 03:01:23,305 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c3a41dd2-a509-4a9b-a318-50ef9846b86c 2026-06-01 03:01:23,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/34f95a34-9a46-418e-8596-d7b7fb76eba8 2026-06-01 03:01:26,550 - 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 1006ms') 2026-06-01 03:01:26,550 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97632874-42340132 failed! 2026-06-01 03:01:26,611 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340 is 166.76.56.129 and allocation pool is NOT set 2026-06-01 03:01:28,674 - 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=11.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.57 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.570/6.742/11.914/5.172 ms') 2026-06-01 03:01:28,674 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97632874-42340132 passed 2026-06-01 03:01:28,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 03:01:28,827 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97632874-42340132, IP 166.76.56.131, Port 22 2026-06-01 03:01:29,001 - DEBUG - VM ctest-TestBasicPolicy-97632874-42340132 is ready for SSH connections 2026-06-01 03:01:29,001 - INFO - Waiting for VM ctest-TestBasicPolicy-97632874-64579257 to be up.. 2026-06-01 03:01:29,118 - DEBUG - VM is in ACTIVE state now 2026-06-01 03:01:29,118 - INFO - VM name : ctest-TestBasicPolicy-97632874-64579257 2026-06-01 03:01:29,220 - DEBUG - VM ctest-TestBasicPolicy-97632874-64579257 ID is 98bcfb69-fc92-4ae8-a402-ff4dbc88981f 2026-06-01 03:01:29,220 - DEBUG - VM ctest-TestBasicPolicy-97632874-64579257 launched on Node cn-jenkins-deploy-platform-ansible-os-5861-1 2026-06-01 03:01:29,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/98bcfb69-fc92-4ae8-a402-ff4dbc88981f 2026-06-01 03:01:29,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/02efa6f2-1520-4895-b2a3-cc6f6c71dd86 2026-06-01 03:01:30,601 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.29 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 = 3.285/3.806/4.328/0.521 ms') 2026-06-01 03:01:30,601 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97632874-64579257 passed 2026-06-01 03:01:30,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 03:01:30,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97632874-64579257, IP 6.205.188.131, Port 22 2026-06-01 03:01:30,825 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-01 03:01:30,926 - DEBUG - VM ctest-TestBasicPolicy-97632874-64579257 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 03:01:35,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 03:01:35,928 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97632874-64579257, IP 6.205.188.131, Port 22 2026-06-01 03:01:36,094 - DEBUG - VM ctest-TestBasicPolicy-97632874-64579257 is ready for SSH connections 2026-06-01 03:01:36,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 03:01:36,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.205.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-01 03:01:36,094 - DEBUG - ping -s 56 -c 3 -W 1 6.205.188.131 2026-06-01 03:01:40,239 - DEBUG - PING 6.205.188.131 (6.205.188.131): 56 data bytes 64 bytes from 6.205.188.131: seq=0 ttl=63 time=4.210 ms 64 bytes from 6.205.188.131: seq=1 ttl=63 time=1.153 ms 64 bytes from 6.205.188.131: seq=2 ttl=63 time=1.059 ms --- 6.205.188.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.059/2.140/4.210 ms 2026-06-01 03:01:40,239 - INFO - Ping to IP 6.205.188.131 from VM ctest-TestBasicPolicy-97632874-42340132 passed 2026-06-01 03:01:40,435 - DEBUG - Policy Update Response {"network-policy": {"uuid": "af7b3a8d-f67d-427d-bd35-2f61cca149e3", "href": "http://10.0.0.38:8082/network-policy/af7b3a8d-f67d-427d-bd35-2f61cca149e3"}} 2026-06-01 03:01:40,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 03:01:40,435 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.205.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-01 03:01:40,435 - DEBUG - ping -s 56 -c 3 -W 1 6.205.188.131 2026-06-01 03:01:43,665 - DEBUG - PING 6.205.188.131 (6.205.188.131): 56 data bytes --- 6.205.188.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-01 03:01:43,665 - WARNING - Ping to IP 6.205.188.131 from VM ctest-TestBasicPolicy-97632874-42340132 failed 2026-06-01 03:01:43,665 - INFO - Deleting VM ctest-TestBasicPolicy-97632874-64579257 2026-06-01 03:01:43,762 - INFO - Deleting VM ctest-TestBasicPolicy-97632874-42340132 2026-06-01 03:01:44,193 - INFO - Deleted policy ctest-policy-allow-all-59048416 2026-06-01 03:01:44,193 - INFO - Deleting VN ctest-vn-09732825 2026-06-01 03:01:44,241 - DEBUG - VN ee87bb7d-f11a-4744-9c36-2af2d7401f8e still in use: Unable to complete operation on network ee87bb7d-f11a-4744-9c36-2af2d7401f8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76e2519d-f452-4be1-b381-d3533262623f'] 2026-06-01 03:01:44,241 - WARNING - Deleting VN ctest-vn-09732825 failed..Will retry 2026-06-01 03:01:46,368 - DEBUG - Response for deleting network () 2026-06-01 03:01:46,368 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864 2026-06-01 03:01:46,375 - DEBUG - Response Code: 404 2026-06-01 03:01:46,375 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 03:01:46,382 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e 2026-06-01 03:01:46,438 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f 2026-06-01 03:01:46,513 - INFO - Validated that VN ctest-vn-09732825 is not found in API Server 2026-06-01 03:01:46,524 - DEBUG - VN ctest-vn-09732825 is not present in Agent 10.0.0.38 2026-06-01 03:01:46,524 - INFO - Validated that VN ctest-vn-09732825 is not in any agent 2026-06-01 03:01:46,540 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09732825 info 2026-06-01 03:01:46,541 - INFO - Deleting VN ctest-vn-11692340 2026-06-01 03:01:46,667 - DEBUG - Response for deleting network () 2026-06-01 03:01:46,667 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e 2026-06-01 03:01:46,675 - DEBUG - Response Code: 404 2026-06-01 03:01:46,675 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 03:01:46,683 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e 2026-06-01 03:01:46,741 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f 2026-06-01 03:01:46,826 - INFO - Validated that VN ctest-vn-11692340 is not found in API Server 2026-06-01 03:01:46,837 - DEBUG - VN ctest-vn-11692340 is not present in Agent 10.0.0.38 2026-06-01 03:01:46,837 - INFO - Validated that VN ctest-vn-11692340 is not in any agent 2026-06-01 03:01:46,854 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11692340 info 2026-06-01 03:01:47,125 - DEBUG - No XMPP flaps were noticed during the test 2026-06-01 03:01:47,125 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-06-01 03:01:47,126 - INFO - -------------------------------------------------------------------------------- 2026-06-01 03:01:47,841 - INFO - Deleted project: ctest-TestBasicPolicy-97632874, ID : 8c67621c-8b3c-4570-b22b-5ecfb274540f