2026-06-01 02:06:33,079 - INFO - Domain Default found not creating 2026-06-01 02:06:33,286 - INFO - Project ctest-TestBasicPolicy-94433709 not found, creating it 2026-06-01 02:06:33,753 - INFO - Created Project:ctest-TestBasicPolicy-94433709, ID : f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa 2026-06-01 02:06:35,411 - INFO - ================================================================================ 2026-06-01 02:06:35,411 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-01 02:06:35,411 - 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 02:06:35,678 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2026-06-01 02:06:35,678 - INFO - Initial checks done. Running the testcase now 2026-06-01 02:06:35,678 - INFO - 2026-06-01 02:06:36,289 - DEBUG - Response for create_network : {'network': {'id': 'f2c7dde2-471a-420b-af1c-38ea35ceffc4', 'name': 'ctest-vn-14602065', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-vn-14602065'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:06:36,500 - DEBUG - Response for create_subnet : {'subnet': {'id': '57ba27ff-29a0-4223-ac63-07bfdf992e2e', 'name': '', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'network_id': 'f2c7dde2-471a-420b-af1c-38ea35ceffc4', 'ip_version': 4, 'cidr': '17.253.121.192/26', 'allocation_pools': [{'start': '17.253.121.194', 'end': '17.253.121.254'}], 'gateway_ip': '17.253.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.253.121.194', 'tags': [], 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa'}} 2026-06-01 02:06:36,520 - INFO - Created VN ctest-vn-14602065 2026-06-01 02:06:36,573 - DEBUG - VN ctest-vn-14602065 UUID is f2c7dde2-471a-420b-af1c-38ea35ceffc4 2026-06-01 02:06:36,895 - DEBUG - Response for create_network : {'network': {'id': '851e9414-07c5-4aca-9c8d-e2f74601cbfb', 'name': 'ctest-vn-95521119', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-vn-95521119'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:06:37,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fb5ed7c-7b71-4798-b8f1-88489ccc3158', 'name': '', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'network_id': '851e9414-07c5-4aca-9c8d-e2f74601cbfb', 'ip_version': 4, 'cidr': '199.149.83.64/26', 'allocation_pools': [{'start': '199.149.83.66', 'end': '199.149.83.126'}], 'gateway_ip': '199.149.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.149.83.66', 'tags': [], 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa'}} 2026-06-01 02:06:37,078 - INFO - Created VN ctest-vn-95521119 2026-06-01 02:06:37,133 - DEBUG - VN ctest-vn-95521119 UUID is 851e9414-07c5-4aca-9c8d-e2f74601cbfb 2026-06-01 02:06:37,254 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065, 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-94433709:ctest-vn-95521119, 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 02:06:37,567 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2c7dde2-471a-420b-af1c-38ea35ceffc4', 'name': 'ctest-vn-14602065', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57ba27ff-29a0-4223-ac63-07bfdf992e2e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-vn-14602065'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-policy-allow-all-69953536']], 'subnet_ipam': [{'subnet_cidr': '17.253.121.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:06:37,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '851e9414-07c5-4aca-9c8d-e2f74601cbfb', 'name': 'ctest-vn-95521119', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1fb5ed7c-7b71-4798-b8f1-88489ccc3158'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-vn-95521119'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-policy-allow-all-69953536']], 'subnet_ipam': [{'subnet_cidr': '199.149.83.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:06:37,981 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-01 02:06:38,287 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-01 02:06:38,324 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5 2026-06-01 02:06:38,338 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa 2026-06-01 02:06:38,419 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4 2026-06-01 02:06:38,435 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4 2026-06-01 02:06:38,451 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88 2026-06-01 02:06:38,460 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88 2026-06-01 02:06:38,467 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/4d5158f2-a05f-442c-a1f0-cb2c5ff7f69b 2026-06-01 02:06:38,474 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 02:06:38,474 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4 2026-06-01 02:06:38,485 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88 2026-06-01 02:06:38,502 - INFO - Verified VN network id 11 for VN f2c7dde2-471a-420b-af1c-38ea35ceffc4 2026-06-01 02:06:38,502 - INFO - Verifications in API Server for VN ctest-vn-14602065 passed 2026-06-01 02:06:38,503 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4 2026-06-01 02:06:38,517 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88 2026-06-01 02:06:38,527 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88 2026-06-01 02:06:38,536 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/4d5158f2-a05f-442c-a1f0-cb2c5ff7f69b 2026-06-01 02:06:38,551 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94433709', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17494195241469231627', 'uuid-lslong': '12618022834561548228'}, 'enable': 'true', 'created': '2026-06-01T02:06:36', 'last-modified': '2026-06-01T02:06:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009982'} 2026-06-01 02:06:38,560 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 02:06:38,560 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14602065 passed 2026-06-01 02:06:38,560 - DEBUG - ====Verifying policy data for ctest-vn-14602065 in API_Server ====== 2026-06-01 02:06:38,560 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-01 02:06:38,567 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5 2026-06-01 02:06:38,579 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa 2026-06-01 02:06:38,652 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4 2026-06-01 02:06:38,664 - DEBUG - ==>Verifying data for policy with id: 0439ba3c-21ea-4f13-b8ce-25de094d0fed, fqn: ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-policy-allow-all-69953536'] 2026-06-01 02:06:38,664 - INFO - VN ctest-vn-14602065 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 02:06:38,664 - DEBUG - Verifying the vn in opserver 2026-06-01 02:06:38,664 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065 virtual network link through opserver 10.0.0.27 2026-06-01 02:06:38,665 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-01 02:06:38,967 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-01 02:06:39,035 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065?flat'} 2026-06-01 02:06:39,035 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065 is found in opserver 2026-06-01 02:06:39,045 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 02:06:39,050 - DEBUG - VRF ids for VN ctest-vn-14602065: {} 2026-06-01 02:06:39,051 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-01 02:06:39,056 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5 2026-06-01 02:06:39,069 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa 2026-06-01 02:06:39,142 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb 2026-06-01 02:06:39,154 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb 2026-06-01 02:06:39,164 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f 2026-06-01 02:06:39,173 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f 2026-06-01 02:06:39,180 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d0945523-90a0-4c49-b825-c3a8fd277fa1 2026-06-01 02:06:39,188 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 02:06:39,188 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb 2026-06-01 02:06:39,201 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f 2026-06-01 02:06:39,217 - INFO - Verified VN network id 12 for VN 851e9414-07c5-4aca-9c8d-e2f74601cbfb 2026-06-01 02:06:39,217 - INFO - Verifications in API Server for VN ctest-vn-95521119 passed 2026-06-01 02:06:39,217 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb 2026-06-01 02:06:39,227 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f 2026-06-01 02:06:39,235 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f 2026-06-01 02:06:39,244 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d0945523-90a0-4c49-b825-c3a8fd277fa1 2026-06-01 02:06:39,256 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94433709', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9592267070096362186', 'uuid-lslong': '11280922193292282875'}, 'enable': 'true', 'created': '2026-06-01T02:06:36', 'last-modified': '2026-06-01T02:06:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.472512'} 2026-06-01 02:06:39,262 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 02:06:39,262 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95521119 passed 2026-06-01 02:06:39,262 - DEBUG - ====Verifying policy data for ctest-vn-95521119 in API_Server ====== 2026-06-01 02:06:39,262 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-01 02:06:39,269 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5 2026-06-01 02:06:39,280 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa 2026-06-01 02:06:39,358 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb 2026-06-01 02:06:39,370 - DEBUG - ==>Verifying data for policy with id: 0439ba3c-21ea-4f13-b8ce-25de094d0fed, fqn: ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-policy-allow-all-69953536'] 2026-06-01 02:06:39,370 - INFO - VN ctest-vn-95521119 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 02:06:39,370 - DEBUG - Verifying the vn in opserver 2026-06-01 02:06:39,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119 virtual network link through opserver 10.0.0.27 2026-06-01 02:06:39,370 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-01 02:06:39,381 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119?flat'} 2026-06-01 02:06:39,381 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119 is found in opserver 2026-06-01 02:06:39,393 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 02:06:39,398 - DEBUG - VRF ids for VN ctest-vn-95521119: {} 2026-06-01 02:06:39,470 - DEBUG - Services list from nova: [, , ] 2026-06-01 02:06:40,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5859-1) 2026-06-01 02:06:41,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5859-1) 2026-06-01 02:06:41,795 - INFO - Waiting for VM ctest-TestBasicPolicy-94433709-81813778 to be up.. 2026-06-01 02:06:41,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 02:06:46,989 - DEBUG - VM is in ACTIVE state now 2026-06-01 02:06:46,989 - INFO - VM name : ctest-TestBasicPolicy-94433709-81813778 2026-06-01 02:06:47,077 - DEBUG - VM ctest-TestBasicPolicy-94433709-81813778 ID is 06616faf-8345-49f2-a98f-e12c23f9284f 2026-06-01 02:06:47,100 - DEBUG - VM ctest-TestBasicPolicy-94433709-81813778 launched on Node cn-jenkins-deploy-platform-ansible-os-5859-1 2026-06-01 02:06:47,187 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/06616faf-8345-49f2-a98f-e12c23f9284f 2026-06-01 02:06:47,197 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8942b1e2-dd66-4ef2-9325-622b5bc9d442 2026-06-01 02:06:50,445 - 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 1010ms') 2026-06-01 02:06:50,445 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94433709-81813778 failed! 2026-06-01 02:06:50,501 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065 is 17.253.121.193 and allocation pool is NOT set 2026-06-01 02:06:52,559 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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.384/5.811/10.238/4.427 ms') 2026-06-01 02:06:52,559 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94433709-81813778 passed 2026-06-01 02:06:52,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:06:52,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94433709-81813778, IP 17.253.121.195, Port 22 2026-06-01 02:06:52,875 - DEBUG - VM ctest-TestBasicPolicy-94433709-81813778 is ready for SSH connections 2026-06-01 02:06:52,875 - INFO - Waiting for VM ctest-TestBasicPolicy-94433709-02458324 to be up.. 2026-06-01 02:06:52,998 - DEBUG - VM is in ACTIVE state now 2026-06-01 02:06:52,998 - INFO - VM name : ctest-TestBasicPolicy-94433709-02458324 2026-06-01 02:06:53,087 - DEBUG - VM ctest-TestBasicPolicy-94433709-02458324 ID is f0760f2a-5846-47d7-af35-a84c223bfe87 2026-06-01 02:06:53,087 - DEBUG - VM ctest-TestBasicPolicy-94433709-02458324 launched on Node cn-jenkins-deploy-platform-ansible-os-5859-1 2026-06-01 02:06:53,177 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f0760f2a-5846-47d7-af35-a84c223bfe87 2026-06-01 02:06:53,186 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ecdff39a-a03d-498a-9a60-dd4deeb8997b 2026-06-01 02:06:54,443 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.714/2.997/1.282 ms') 2026-06-01 02:06:54,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94433709-02458324 passed 2026-06-01 02:06:54,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:06:54,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94433709-02458324, IP 199.149.83.67, Port 22 2026-06-01 02:06:54,776 - DEBUG - VM ctest-TestBasicPolicy-94433709-02458324 is ready for SSH connections 2026-06-01 02:06:54,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:06:54,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.149.83.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-06-01 02:06:54,776 - DEBUG - ping -s 56 -c 3 -W 1 199.149.83.67 2026-06-01 02:06:58,861 - DEBUG - PING 199.149.83.67 (199.149.83.67): 56 data bytes 64 bytes from 199.149.83.67: seq=0 ttl=63 time=4.085 ms 64 bytes from 199.149.83.67: seq=1 ttl=63 time=0.825 ms 64 bytes from 199.149.83.67: seq=2 ttl=63 time=1.067 ms --- 199.149.83.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/1.992/4.085 ms 2026-06-01 02:06:58,861 - INFO - Ping to IP 199.149.83.67 from VM ctest-TestBasicPolicy-94433709-81813778 passed 2026-06-01 02:06:59,045 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0439ba3c-21ea-4f13-b8ce-25de094d0fed", "href": "http://10.0.0.27:8082/network-policy/0439ba3c-21ea-4f13-b8ce-25de094d0fed"}} 2026-06-01 02:06:59,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:06:59,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.149.83.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-06-01 02:06:59,045 - DEBUG - ping -s 56 -c 3 -W 1 199.149.83.67 2026-06-01 02:07:02,272 - DEBUG - PING 199.149.83.67 (199.149.83.67): 56 data bytes --- 199.149.83.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-01 02:07:02,272 - WARNING - Ping to IP 199.149.83.67 from VM ctest-TestBasicPolicy-94433709-81813778 failed 2026-06-01 02:07:02,272 - INFO - Deleting VM ctest-TestBasicPolicy-94433709-02458324 2026-06-01 02:07:02,351 - INFO - Deleting VM ctest-TestBasicPolicy-94433709-81813778 2026-06-01 02:07:02,761 - INFO - Deleted policy ctest-policy-allow-all-69953536 2026-06-01 02:07:02,761 - INFO - Deleting VN ctest-vn-95521119 2026-06-01 02:07:02,802 - DEBUG - VN 851e9414-07c5-4aca-9c8d-e2f74601cbfb still in use: Unable to complete operation on network 851e9414-07c5-4aca-9c8d-e2f74601cbfb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dabd0dd9-de22-4e85-ba36-dd1b9b2e950e'] 2026-06-01 02:07:02,802 - WARNING - Deleting VN ctest-vn-95521119 failed..Will retry 2026-06-01 02:07:04,916 - DEBUG - Response for deleting network () 2026-06-01 02:07:04,916 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f 2026-06-01 02:07:04,924 - DEBUG - Response Code: 404 2026-06-01 02:07:04,924 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-01 02:07:04,930 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5 2026-06-01 02:07:04,983 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa 2026-06-01 02:07:05,056 - INFO - Validated that VN ctest-vn-95521119 is not found in API Server 2026-06-01 02:07:05,066 - DEBUG - VN ctest-vn-95521119 is not present in Agent 10.0.0.27 2026-06-01 02:07:05,066 - INFO - Validated that VN ctest-vn-95521119 is not in any agent 2026-06-01 02:07:05,080 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95521119 info 2026-06-01 02:07:05,080 - INFO - Deleting VN ctest-vn-14602065 2026-06-01 02:07:05,181 - DEBUG - Response for deleting network () 2026-06-01 02:07:05,181 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88 2026-06-01 02:07:05,193 - DEBUG - Response Code: 404 2026-06-01 02:07:05,193 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-06-01 02:07:05,199 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5 2026-06-01 02:07:05,250 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa 2026-06-01 02:07:05,323 - INFO - Validated that VN ctest-vn-14602065 is not found in API Server 2026-06-01 02:07:05,340 - DEBUG - VN ctest-vn-14602065 is not present in Agent 10.0.0.27 2026-06-01 02:07:05,341 - INFO - Validated that VN ctest-vn-14602065 is not in any agent 2026-06-01 02:07:05,355 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14602065 info 2026-06-01 02:07:05,611 - DEBUG - No XMPP flaps were noticed during the test 2026-06-01 02:07:05,611 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-06-01 02:07:05,611 - INFO - -------------------------------------------------------------------------------- 2026-06-01 02:07:06,353 - INFO - Deleted project: ctest-TestBasicPolicy-94433709, ID : f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa