2026-05-04 02:22:54,034 - INFO - Domain Default found not creating 2026-05-04 02:22:54,219 - INFO - Project ctest-TestBasicPolicy-55574965 not found, creating it 2026-05-04 02:22:54,709 - INFO - Created Project:ctest-TestBasicPolicy-55574965, ID : bc6d6a05-3bdf-435b-9a0e-1c0a9b149cd2 2026-05-04 02:22:56,226 - INFO - ================================================================================ 2026-05-04 02:22:56,226 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-04 02:22:56,226 - 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-05-04 02:22:56,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0'}} with 2026-05-04 02:22:56,495 - INFO - Initial checks done. Running the testcase now 2026-05-04 02:22:56,495 - INFO - 2026-05-04 02:22:57,102 - DEBUG - Response for create_network : {'network': {'id': '8069057f-3f6c-4122-b5b5-a6f9f296b10f', 'name': 'ctest-vn-39550233', 'tenant_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'project_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55574965', 'ctest-vn-39550233'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:22:57,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '7080c5e5-e163-46a0-838a-baa2d36b56d2', 'name': '', 'tenant_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'network_id': '8069057f-3f6c-4122-b5b5-a6f9f296b10f', 'ip_version': 4, 'cidr': '37.5.195.0/26', 'allocation_pools': [{'start': '37.5.195.2', 'end': '37.5.195.62'}], 'gateway_ip': '37.5.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.5.195.2', 'tags': [], 'project_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2'}} 2026-05-04 02:22:57,323 - INFO - Created VN ctest-vn-39550233 2026-05-04 02:22:57,377 - DEBUG - VN ctest-vn-39550233 UUID is 8069057f-3f6c-4122-b5b5-a6f9f296b10f 2026-05-04 02:22:57,690 - DEBUG - Response for create_network : {'network': {'id': '3fa53019-cc40-40eb-8df3-533aa07c18fa', 'name': 'ctest-vn-28448869', 'tenant_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'project_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55574965', 'ctest-vn-28448869'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:22:57,853 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0237a53-0e4c-4cbd-bb87-266ea49dc8f4', 'name': '', 'tenant_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'network_id': '3fa53019-cc40-40eb-8df3-533aa07c18fa', 'ip_version': 4, 'cidr': '202.197.77.0/26', 'allocation_pools': [{'start': '202.197.77.2', 'end': '202.197.77.62'}], 'gateway_ip': '202.197.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.197.77.2', 'tags': [], 'project_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2'}} 2026-05-04 02:22:57,869 - INFO - Created VN ctest-vn-28448869 2026-05-04 02:22:57,921 - DEBUG - VN ctest-vn-28448869 UUID is 3fa53019-cc40-40eb-8df3-533aa07c18fa 2026-05-04 02:22:58,033 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-39550233, 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-55574965:ctest-vn-28448869, 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-05-04 02:22:58,331 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8069057f-3f6c-4122-b5b5-a6f9f296b10f', 'name': 'ctest-vn-39550233', 'tenant_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'project_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7080c5e5-e163-46a0-838a-baa2d36b56d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55574965', 'ctest-vn-39550233'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55574965', 'ctest-policy-allow-all-95605390']], 'subnet_ipam': [{'subnet_cidr': '37.5.195.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:22:58,555 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3fa53019-cc40-40eb-8df3-533aa07c18fa', 'name': 'ctest-vn-28448869', 'tenant_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'project_id': 'bc6d6a053bdf435b9a0e1c0a9b149cd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0237a53-0e4c-4cbd-bb87-266ea49dc8f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55574965', 'ctest-vn-28448869'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55574965', 'ctest-policy-allow-all-95605390']], 'subnet_ipam': [{'subnet_cidr': '202.197.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:22:58,725 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-05-04 02:22:59,025 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-05-04 02:22:59,062 - DEBUG - Requesting: http://10.0.0.241:8082/domain/703d9330-93d3-4cc6-99b7-f483421b6d7e 2026-05-04 02:22:59,074 - DEBUG - Requesting: http://10.0.0.241:8082/project/bc6d6a05-3bdf-435b-9a0e-1c0a9b149cd2 2026-05-04 02:22:59,149 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/8069057f-3f6c-4122-b5b5-a6f9f296b10f 2026-05-04 02:22:59,161 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/8069057f-3f6c-4122-b5b5-a6f9f296b10f 2026-05-04 02:22:59,170 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/7994a39d-3c52-4d8a-b478-06b01f0172ba 2026-05-04 02:22:59,176 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/7994a39d-3c52-4d8a-b478-06b01f0172ba 2026-05-04 02:22:59,185 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/d65989e8-4fe0-42df-8655-2a8803b14d90 2026-05-04 02:22:59,190 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-04 02:22:59,190 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/8069057f-3f6c-4122-b5b5-a6f9f296b10f 2026-05-04 02:22:59,200 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/7994a39d-3c52-4d8a-b478-06b01f0172ba 2026-05-04 02:22:59,215 - INFO - Verified VN network id 11 for VN 8069057f-3f6c-4122-b5b5-a6f9f296b10f 2026-05-04 02:22:59,215 - INFO - Verifications in API Server for VN ctest-vn-39550233 passed 2026-05-04 02:22:59,215 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/8069057f-3f6c-4122-b5b5-a6f9f296b10f 2026-05-04 02:22:59,225 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/7994a39d-3c52-4d8a-b478-06b01f0172ba 2026-05-04 02:22:59,232 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/7994a39d-3c52-4d8a-b478-06b01f0172ba 2026-05-04 02:22:59,238 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/d65989e8-4fe0-42df-8655-2a8803b14d90 2026-05-04 02:22:59,251 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-39550233', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55574965', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9252932953492439330', 'uuid-lslong': '13093555084096614671'}, 'enable': 'true', 'created': '2026-05-04T02:22:57', 'last-modified': '2026-05-04T02:22:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949627'} 2026-05-04 02:22:59,257 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-04 02:22:59,257 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39550233 passed 2026-05-04 02:22:59,257 - DEBUG - ====Verifying policy data for ctest-vn-39550233 in API_Server ====== 2026-05-04 02:22:59,257 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-05-04 02:22:59,263 - DEBUG - Requesting: http://10.0.0.241:8082/domain/703d9330-93d3-4cc6-99b7-f483421b6d7e 2026-05-04 02:22:59,273 - DEBUG - Requesting: http://10.0.0.241:8082/project/bc6d6a05-3bdf-435b-9a0e-1c0a9b149cd2 2026-05-04 02:22:59,344 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/8069057f-3f6c-4122-b5b5-a6f9f296b10f 2026-05-04 02:22:59,354 - DEBUG - ==>Verifying data for policy with id: 1d9e1ad8-3761-4f80-9dc2-386068e0182d, fqn: ['default-domain', 'ctest-TestBasicPolicy-55574965', 'ctest-policy-allow-all-95605390'] 2026-05-04 02:22:59,354 - INFO - VN ctest-vn-39550233 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-04 02:22:59,354 - DEBUG - Verifying the vn in opserver 2026-05-04 02:22:59,354 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-39550233 virtual network link through opserver 10.0.0.241 2026-05-04 02:22:59,354 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-05-04 02:22:59,658 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-05-04 02:22:59,721 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-39550233', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-39550233?flat'} 2026-05-04 02:22:59,721 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-39550233 is found in opserver 2026-05-04 02:22:59,732 - DEBUG - Do not have enough data to verify VN in agent 2026-05-04 02:22:59,737 - DEBUG - VRF ids for VN ctest-vn-39550233: {} 2026-05-04 02:22:59,737 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-05-04 02:22:59,742 - DEBUG - Requesting: http://10.0.0.241:8082/domain/703d9330-93d3-4cc6-99b7-f483421b6d7e 2026-05-04 02:22:59,752 - DEBUG - Requesting: http://10.0.0.241:8082/project/bc6d6a05-3bdf-435b-9a0e-1c0a9b149cd2 2026-05-04 02:22:59,822 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fa53019-cc40-40eb-8df3-533aa07c18fa 2026-05-04 02:22:59,833 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fa53019-cc40-40eb-8df3-533aa07c18fa 2026-05-04 02:22:59,841 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fcea1d34-d567-4085-acbd-37723f163ee0 2026-05-04 02:22:59,848 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fcea1d34-d567-4085-acbd-37723f163ee0 2026-05-04 02:22:59,854 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/2dcdb3b2-a4eb-4ef4-941a-11d99eeebdce 2026-05-04 02:22:59,860 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-04 02:22:59,860 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fa53019-cc40-40eb-8df3-533aa07c18fa 2026-05-04 02:22:59,868 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fcea1d34-d567-4085-acbd-37723f163ee0 2026-05-04 02:22:59,881 - INFO - Verified VN network id 12 for VN 3fa53019-cc40-40eb-8df3-533aa07c18fa 2026-05-04 02:22:59,881 - INFO - Verifications in API Server for VN ctest-vn-28448869 passed 2026-05-04 02:22:59,881 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fa53019-cc40-40eb-8df3-533aa07c18fa 2026-05-04 02:22:59,889 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fcea1d34-d567-4085-acbd-37723f163ee0 2026-05-04 02:22:59,895 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fcea1d34-d567-4085-acbd-37723f163ee0 2026-05-04 02:22:59,902 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/2dcdb3b2-a4eb-4ef4-941a-11d99eeebdce 2026-05-04 02:22:59,913 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-28448869', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55574965', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4586124682905796843', 'uuid-lslong': '10228610689954224378'}, 'enable': 'true', 'created': '2026-05-04T02:22:57', 'last-modified': '2026-05-04T02:22:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379749'} 2026-05-04 02:22:59,919 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-04 02:22:59,919 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28448869 passed 2026-05-04 02:22:59,919 - DEBUG - ====Verifying policy data for ctest-vn-28448869 in API_Server ====== 2026-05-04 02:22:59,919 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-05-04 02:22:59,925 - DEBUG - Requesting: http://10.0.0.241:8082/domain/703d9330-93d3-4cc6-99b7-f483421b6d7e 2026-05-04 02:22:59,936 - DEBUG - Requesting: http://10.0.0.241:8082/project/bc6d6a05-3bdf-435b-9a0e-1c0a9b149cd2 2026-05-04 02:23:00,009 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3fa53019-cc40-40eb-8df3-533aa07c18fa 2026-05-04 02:23:00,018 - DEBUG - ==>Verifying data for policy with id: 1d9e1ad8-3761-4f80-9dc2-386068e0182d, fqn: ['default-domain', 'ctest-TestBasicPolicy-55574965', 'ctest-policy-allow-all-95605390'] 2026-05-04 02:23:00,018 - INFO - VN ctest-vn-28448869 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-04 02:23:00,018 - DEBUG - Verifying the vn in opserver 2026-05-04 02:23:00,019 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-28448869 virtual network link through opserver 10.0.0.241 2026-05-04 02:23:00,019 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-05-04 02:23:00,029 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-28448869', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-28448869?flat'} 2026-05-04 02:23:00,029 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-28448869 is found in opserver 2026-05-04 02:23:00,039 - DEBUG - Do not have enough data to verify VN in agent 2026-05-04 02:23:00,044 - DEBUG - VRF ids for VN ctest-vn-28448869: {} 2026-05-04 02:23:00,110 - DEBUG - Services list from nova: [, , ] 2026-05-04 02:23:01,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5741-1) 2026-05-04 02:23:02,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5741-1) 2026-05-04 02:23:02,493 - INFO - Waiting for VM ctest-TestBasicPolicy-55574965-92097854 to be up.. 2026-05-04 02:23:02,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-04 02:23:07,678 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:23:07,678 - INFO - VM name : ctest-TestBasicPolicy-55574965-92097854 2026-05-04 02:23:07,755 - DEBUG - VM ctest-TestBasicPolicy-55574965-92097854 ID is 08baf039-a1bd-4da1-95f0-f96757be30e4 2026-05-04 02:23:07,776 - DEBUG - VM ctest-TestBasicPolicy-55574965-92097854 launched on Node cn-jenkins-deploy-platform-ansible-os-5741-1 2026-05-04 02:23:07,861 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/08baf039-a1bd-4da1-95f0-f96757be30e4 2026-05-04 02:23:07,869 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/ad51d9aa-f4f8-4aee-8928-f86972ee330d 2026-05-04 02:23:11,113 - 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 1014ms') 2026-05-04 02:23:11,113 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55574965-92097854 failed! 2026-05-04 02:23:11,173 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55574965:ctest-vn-39550233 is 37.5.195.1 and allocation pool is NOT set 2026-05-04 02:23:13,232 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 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 = 0.474/4.705/8.937/4.231 ms') 2026-05-04 02:23:13,232 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55574965-92097854 passed 2026-05-04 02:23:13,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:23:13,386 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55574965-92097854, IP 37.5.195.3, Port 22 2026-05-04 02:23:13,554 - DEBUG - VM ctest-TestBasicPolicy-55574965-92097854 is ready for SSH connections 2026-05-04 02:23:13,554 - INFO - Waiting for VM ctest-TestBasicPolicy-55574965-77796181 to be up.. 2026-05-04 02:23:13,642 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:23:13,642 - INFO - VM name : ctest-TestBasicPolicy-55574965-77796181 2026-05-04 02:23:13,719 - DEBUG - VM ctest-TestBasicPolicy-55574965-77796181 ID is 9e8ccca9-21d3-4294-b3a7-70b9416d910c 2026-05-04 02:23:13,719 - DEBUG - VM ctest-TestBasicPolicy-55574965-77796181 launched on Node cn-jenkins-deploy-platform-ansible-os-5741-1 2026-05-04 02:23:13,796 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/9e8ccca9-21d3-4294-b3a7-70b9416d910c 2026-05-04 02:23:13,805 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/2b5ec977-fcfb-43e2-8eed-b6d41c3e8d54 2026-05-04 02:23:15,038 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 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 = 1.148/2.761/4.375/1.613 ms') 2026-05-04 02:23:15,038 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55574965-77796181 passed 2026-05-04 02:23:15,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:23:15,185 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55574965-77796181, IP 202.197.77.3, Port 22 2026-05-04 02:23:15,253 - 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-05-04 02:23:15,338 - DEBUG - VM ctest-TestBasicPolicy-55574965-77796181 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 02:23:20,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:23:20,339 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55574965-77796181, IP 202.197.77.3, Port 22 2026-05-04 02:23:20,501 - DEBUG - VM ctest-TestBasicPolicy-55574965-77796181 is ready for SSH connections 2026-05-04 02:23:20,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:23:20,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.197.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-05-04 02:23:20,502 - DEBUG - ping -s 56 -c 3 -W 1 202.197.77.3 2026-05-04 02:23:24,597 - DEBUG - PING 202.197.77.3 (202.197.77.3): 56 data bytes 64 bytes from 202.197.77.3: seq=0 ttl=63 time=4.482 ms 64 bytes from 202.197.77.3: seq=1 ttl=63 time=1.134 ms 64 bytes from 202.197.77.3: seq=2 ttl=63 time=1.544 ms --- 202.197.77.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.134/2.386/4.482 ms 2026-05-04 02:23:24,597 - INFO - Ping to IP 202.197.77.3 from VM ctest-TestBasicPolicy-55574965-92097854 passed 2026-05-04 02:23:24,789 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1d9e1ad8-3761-4f80-9dc2-386068e0182d", "href": "http://10.0.0.241:8082/network-policy/1d9e1ad8-3761-4f80-9dc2-386068e0182d"}} 2026-05-04 02:23:24,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:23:24,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.197.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-05-04 02:23:24,790 - DEBUG - ping -s 56 -c 3 -W 1 202.197.77.3 2026-05-04 02:23:27,996 - DEBUG - PING 202.197.77.3 (202.197.77.3): 56 data bytes --- 202.197.77.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-04 02:23:27,996 - WARNING - Ping to IP 202.197.77.3 from VM ctest-TestBasicPolicy-55574965-92097854 failed 2026-05-04 02:23:27,996 - INFO - Deleting VM ctest-TestBasicPolicy-55574965-77796181 2026-05-04 02:23:28,078 - INFO - Deleting VM ctest-TestBasicPolicy-55574965-92097854 2026-05-04 02:23:28,494 - INFO - Deleted policy ctest-policy-allow-all-95605390 2026-05-04 02:23:28,495 - INFO - Deleting VN ctest-vn-28448869 2026-05-04 02:23:28,534 - DEBUG - VN 3fa53019-cc40-40eb-8df3-533aa07c18fa still in use: Unable to complete operation on network 3fa53019-cc40-40eb-8df3-533aa07c18fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27cbccb8-69b1-49e4-9ead-31c2cc223172'] 2026-05-04 02:23:28,534 - WARNING - Deleting VN ctest-vn-28448869 failed..Will retry 2026-05-04 02:23:30,639 - DEBUG - Response for deleting network () 2026-05-04 02:23:30,639 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fcea1d34-d567-4085-acbd-37723f163ee0 2026-05-04 02:23:30,648 - DEBUG - Response Code: 404 2026-05-04 02:23:30,648 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-05-04 02:23:30,655 - DEBUG - Requesting: http://10.0.0.241:8082/domain/703d9330-93d3-4cc6-99b7-f483421b6d7e 2026-05-04 02:23:30,706 - DEBUG - Requesting: http://10.0.0.241:8082/project/bc6d6a05-3bdf-435b-9a0e-1c0a9b149cd2 2026-05-04 02:23:30,779 - INFO - Validated that VN ctest-vn-28448869 is not found in API Server 2026-05-04 02:23:30,789 - DEBUG - VN ctest-vn-28448869 is not present in Agent 10.0.0.241 2026-05-04 02:23:30,789 - INFO - Validated that VN ctest-vn-28448869 is not in any agent 2026-05-04 02:23:30,804 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28448869 info 2026-05-04 02:23:30,804 - INFO - Deleting VN ctest-vn-39550233 2026-05-04 02:23:30,910 - DEBUG - Response for deleting network () 2026-05-04 02:23:30,910 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/7994a39d-3c52-4d8a-b478-06b01f0172ba 2026-05-04 02:23:30,915 - DEBUG - Response Code: 404 2026-05-04 02:23:30,916 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-05-04 02:23:30,920 - DEBUG - Requesting: http://10.0.0.241:8082/domain/703d9330-93d3-4cc6-99b7-f483421b6d7e 2026-05-04 02:23:30,975 - DEBUG - Requesting: http://10.0.0.241:8082/project/bc6d6a05-3bdf-435b-9a0e-1c0a9b149cd2 2026-05-04 02:23:31,071 - INFO - Validated that VN ctest-vn-39550233 is not found in API Server 2026-05-04 02:23:31,081 - DEBUG - VN ctest-vn-39550233 is not present in Agent 10.0.0.241 2026-05-04 02:23:31,081 - INFO - Validated that VN ctest-vn-39550233 is not in any agent 2026-05-04 02:23:31,095 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39550233 info 2026-05-04 02:23:31,354 - DEBUG - No XMPP flaps were noticed during the test
2026-05-04 02:23:31,354 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-05-04 02:23:31,354 - INFO - -------------------------------------------------------------------------------- 2026-05-04 02:23:32,036 - INFO - Deleted project: ctest-TestBasicPolicy-55574965, ID : bc6d6a05-3bdf-435b-9a0e-1c0a9b149cd2