2026-02-27 12:00:58,645 - INFO - Domain Default found not creating 2026-02-27 12:00:58,962 - INFO - Project ctest-TestBasicPolicy-00274703 not found, creating it 2026-02-27 12:00:59,488 - INFO - Created Project:ctest-TestBasicPolicy-00274703, ID : ce769013-11fb-4f40-97ed-ab3524bb3713 2026-02-27 12:01:01,371 - INFO - ================================================================================ 2026-02-27 12:01:01,371 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-27 12:01:01,371 - 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-02-27 12:01:01,646 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-27 12:01:01,647 - INFO - Initial checks done. Running the testcase now 2026-02-27 12:01:01,647 - INFO - 2026-02-27 12:01:02,263 - DEBUG - Response for create_network : {'network': {'id': '0d4e4e3d-c252-447c-b693-f42d4c29d744', 'name': 'ctest-vn-09916864', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'project_id': 'ce76901311fb4f4097edab3524bb3713', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-vn-09916864'], 'port_security_enabled': True, 'description': ''}} 2026-02-27 12:01:02,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '74e482b2-4e57-4624-b9c6-ee9eb7f90b04', 'name': '', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'network_id': '0d4e4e3d-c252-447c-b693-f42d4c29d744', 'ip_version': 4, 'cidr': '118.61.173.192/26', 'allocation_pools': [{'start': '118.61.173.194', 'end': '118.61.173.254'}], 'gateway_ip': '118.61.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.61.173.194', 'tags': [], 'project_id': 'ce76901311fb4f4097edab3524bb3713'}} 2026-02-27 12:01:02,476 - INFO - Created VN ctest-vn-09916864 2026-02-27 12:01:02,535 - DEBUG - VN ctest-vn-09916864 UUID is 0d4e4e3d-c252-447c-b693-f42d4c29d744 2026-02-27 12:01:02,864 - DEBUG - Response for create_network : {'network': {'id': 'a45473c8-d503-41a7-a047-f1aad7825e12', 'name': 'ctest-vn-16171098', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'project_id': 'ce76901311fb4f4097edab3524bb3713', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-vn-16171098'], 'port_security_enabled': True, 'description': ''}} 2026-02-27 12:01:03,063 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0e1b873-b016-44e0-b284-c7ac4a267dbe', 'name': '', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'network_id': 'a45473c8-d503-41a7-a047-f1aad7825e12', 'ip_version': 4, 'cidr': '219.207.138.128/26', 'allocation_pools': [{'start': '219.207.138.130', 'end': '219.207.138.190'}], 'gateway_ip': '219.207.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.207.138.130', 'tags': [], 'project_id': 'ce76901311fb4f4097edab3524bb3713'}} 2026-02-27 12:01:03,089 - INFO - Created VN ctest-vn-16171098 2026-02-27 12:01:03,147 - DEBUG - VN ctest-vn-16171098 UUID is a45473c8-d503-41a7-a047-f1aad7825e12 2026-02-27 12:01:03,299 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864, 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-00274703:ctest-vn-16171098, 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-02-27 12:01:03,653 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d4e4e3d-c252-447c-b693-f42d4c29d744', 'name': 'ctest-vn-09916864', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'project_id': 'ce76901311fb4f4097edab3524bb3713', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74e482b2-4e57-4624-b9c6-ee9eb7f90b04'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-vn-09916864'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-policy-allow-all-45674524']], 'subnet_ipam': [{'subnet_cidr': '118.61.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-27 12:01:03,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a45473c8-d503-41a7-a047-f1aad7825e12', 'name': 'ctest-vn-16171098', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'project_id': 'ce76901311fb4f4097edab3524bb3713', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0e1b873-b016-44e0-b284-c7ac4a267dbe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-vn-16171098'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-policy-allow-all-45674524']], 'subnet_ipam': [{'subnet_cidr': '219.207.138.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-27 12:01:04,063 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-27 12:01:04,368 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-27 12:01:04,405 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51 2026-02-27 12:01:04,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713 2026-02-27 12:01:04,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744 2026-02-27 12:01:04,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744 2026-02-27 12:01:04,525 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409 2026-02-27 12:01:04,534 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409 2026-02-27 12:01:04,541 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e724b159-7cce-46a6-bc23-14eeb592ecaf 2026-02-27 12:01:04,548 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-27 12:01:04,548 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744 2026-02-27 12:01:04,560 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409 2026-02-27 12:01:04,578 - INFO - Verified VN network id 11 for VN 0d4e4e3d-c252-447c-b693-f42d4c29d744 2026-02-27 12:01:04,578 - INFO - Verifications in API Server for VN ctest-vn-09916864 passed 2026-02-27 12:01:04,578 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744 2026-02-27 12:01:04,591 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409 2026-02-27 12:01:04,601 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409 2026-02-27 12:01:04,609 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e724b159-7cce-46a6-bc23-14eeb592ecaf 2026-02-27 12:01:04,621 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00274703', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '958789797836637308', 'uuid-lslong': '13156127411867866948'}, 'enable': 'true', 'created': '2026-02-27T12:01:02', 'last-modified': '2026-02-27T12:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.998764'} 2026-02-27 12:01:04,629 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-27 12:01:04,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09916864 passed 2026-02-27 12:01:04,629 - DEBUG - ====Verifying policy data for ctest-vn-09916864 in API_Server ====== 2026-02-27 12:01:04,629 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-27 12:01:04,636 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51 2026-02-27 12:01:04,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713 2026-02-27 12:01:04,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744 2026-02-27 12:01:04,738 - DEBUG - ==>Verifying data for policy with id: 5e1e33a2-0c08-405d-b323-5356c92e0b1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-policy-allow-all-45674524'] 2026-02-27 12:01:04,738 - INFO - VN ctest-vn-09916864 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-27 12:01:04,738 - DEBUG - Verifying the vn in opserver 2026-02-27 12:01:04,738 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864 virtual network link through opserver 10.0.0.38 2026-02-27 12:01:04,739 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-27 12:01:05,048 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-27 12:01:05,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864?flat'} 2026-02-27 12:01:05,135 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864 is found in opserver 2026-02-27 12:01:05,148 - DEBUG - Do not have enough data to verify VN in agent 2026-02-27 12:01:05,154 - DEBUG - VRF ids for VN ctest-vn-09916864: {} 2026-02-27 12:01:05,154 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-27 12:01:05,161 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51 2026-02-27 12:01:05,182 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713 2026-02-27 12:01:05,275 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12 2026-02-27 12:01:05,291 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12 2026-02-27 12:01:05,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12 2026-02-27 12:01:05,320 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12 2026-02-27 12:01:05,331 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/637c9af4-ac3f-46dd-bed7-6a75ccc0d818 2026-02-27 12:01:05,340 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-27 12:01:05,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12 2026-02-27 12:01:05,355 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12 2026-02-27 12:01:05,379 - INFO - Verified VN network id 12 for VN a45473c8-d503-41a7-a047-f1aad7825e12 2026-02-27 12:01:05,379 - INFO - Verifications in API Server for VN ctest-vn-16171098 passed 2026-02-27 12:01:05,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12 2026-02-27 12:01:05,392 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12 2026-02-27 12:01:05,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12 2026-02-27 12:01:05,414 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/637c9af4-ac3f-46dd-bed7-6a75ccc0d818 2026-02-27 12:01:05,432 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00274703', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11841216626668290471', 'uuid-lslong': '11549465485477305874'}, 'enable': 'true', 'created': '2026-02-27T12:01:02', 'last-modified': '2026-02-27T12:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.562977'} 2026-02-27 12:01:05,440 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-27 12:01:05,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16171098 passed 2026-02-27 12:01:05,441 - DEBUG - ====Verifying policy data for ctest-vn-16171098 in API_Server ====== 2026-02-27 12:01:05,441 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-27 12:01:05,458 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51 2026-02-27 12:01:05,470 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713 2026-02-27 12:01:05,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12 2026-02-27 12:01:05,569 - DEBUG - ==>Verifying data for policy with id: 5e1e33a2-0c08-405d-b323-5356c92e0b1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-policy-allow-all-45674524'] 2026-02-27 12:01:05,569 - INFO - VN ctest-vn-16171098 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-27 12:01:05,569 - DEBUG - Verifying the vn in opserver 2026-02-27 12:01:05,569 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098 virtual network link through opserver 10.0.0.38 2026-02-27 12:01:05,569 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-27 12:01:05,583 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098?flat'} 2026-02-27 12:01:05,583 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098 is found in opserver 2026-02-27 12:01:05,595 - DEBUG - Do not have enough data to verify VN in agent 2026-02-27 12:01:05,601 - DEBUG - VRF ids for VN ctest-vn-16171098: {} 2026-02-27 12:01:05,682 - DEBUG - Services list from nova: [, , ] 2026-02-27 12:01:06,952 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5410-1) 2026-02-27 12:01:08,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5410-1) 2026-02-27 12:01:08,366 - INFO - Waiting for VM ctest-TestBasicPolicy-00274703-79403741 to be up.. 2026-02-27 12:01:08,449 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-27 12:01:13,553 - DEBUG - VM is in ACTIVE state now 2026-02-27 12:01:13,553 - INFO - VM name : ctest-TestBasicPolicy-00274703-79403741 2026-02-27 12:01:13,658 - DEBUG - VM ctest-TestBasicPolicy-00274703-79403741 ID is 902f6534-477f-44d9-b306-2f0f31e1da77 2026-02-27 12:01:13,680 - DEBUG - VM ctest-TestBasicPolicy-00274703-79403741 launched on Node cn-jenkins-deploy-platform-ansible-os-5410-1 2026-02-27 12:01:13,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/902f6534-477f-44d9-b306-2f0f31e1da77 2026-02-27 12:01:13,798 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f2e76e3e-2a24-48cc-b884-3e7182e89748 2026-02-27 12:01:17,098 - 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 1029ms') 2026-02-27 12:01:17,098 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00274703-79403741 failed! 2026-02-27 12:01:17,155 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864 is 118.61.173.193 and allocation pool is NOT set 2026-02-27 12:01:19,225 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.515/3.905/7.296/3.390 ms') 2026-02-27 12:01:19,226 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00274703-79403741 passed 2026-02-27 12:01:19,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 12:01:19,387 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00274703-79403741, IP 118.61.173.195, Port 22 2026-02-27 12:01:19,557 - DEBUG - VM ctest-TestBasicPolicy-00274703-79403741 is ready for SSH connections 2026-02-27 12:01:19,557 - INFO - Waiting for VM ctest-TestBasicPolicy-00274703-37399111 to be up.. 2026-02-27 12:01:19,690 - DEBUG - VM is in ACTIVE state now 2026-02-27 12:01:19,690 - INFO - VM name : ctest-TestBasicPolicy-00274703-37399111 2026-02-27 12:01:19,790 - DEBUG - VM ctest-TestBasicPolicy-00274703-37399111 ID is b8e739bf-29fc-40c6-9591-71b07ced730a 2026-02-27 12:01:19,790 - DEBUG - VM ctest-TestBasicPolicy-00274703-37399111 launched on Node cn-jenkins-deploy-platform-ansible-os-5410-1 2026-02-27 12:01:19,886 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b8e739bf-29fc-40c6-9591-71b07ced730a 2026-02-27 12:01:19,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9625b928-dceb-487e-845e-187ce09b956c 2026-02-27 12:01:21,157 - 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=9.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.70 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 = 2.702/6.318/9.935/3.616 ms') 2026-02-27 12:01:21,157 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00274703-37399111 passed 2026-02-27 12:01:21,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 12:01:21,315 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00274703-37399111, IP 219.207.138.131, Port 22 2026-02-27 12:01:21,488 - DEBUG - VM ctest-TestBasicPolicy-00274703-37399111 is ready for SSH connections 2026-02-27 12:01:21,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 12:01:21,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.207.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-27 12:01:21,489 - DEBUG - ping -s 56 -c 3 -W 1 219.207.138.131 2026-02-27 12:01:25,371 - DEBUG - PING 219.207.138.131 (219.207.138.131): 56 data bytes 64 bytes from 219.207.138.131: seq=0 ttl=63 time=4.803 ms 64 bytes from 219.207.138.131: seq=1 ttl=63 time=1.366 ms 64 bytes from 219.207.138.131: seq=2 ttl=63 time=1.789 ms --- 219.207.138.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.366/2.652/4.803 ms 2026-02-27 12:01:25,371 - INFO - Ping to IP 219.207.138.131 from VM ctest-TestBasicPolicy-00274703-79403741 passed 2026-02-27 12:01:25,578 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5e1e33a2-0c08-405d-b323-5356c92e0b1a", "href": "http://10.0.0.38:8082/network-policy/5e1e33a2-0c08-405d-b323-5356c92e0b1a"}} 2026-02-27 12:01:25,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 12:01:25,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.207.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-27 12:01:25,579 - DEBUG - ping -s 56 -c 3 -W 1 219.207.138.131 2026-02-27 12:01:28,827 - DEBUG - PING 219.207.138.131 (219.207.138.131): 56 data bytes --- 219.207.138.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-27 12:01:28,827 - WARNING - Ping to IP 219.207.138.131 from VM ctest-TestBasicPolicy-00274703-79403741 failed 2026-02-27 12:01:28,827 - INFO - Deleting VM ctest-TestBasicPolicy-00274703-37399111 2026-02-27 12:01:28,945 - INFO - Deleting VM ctest-TestBasicPolicy-00274703-79403741 2026-02-27 12:01:29,383 - INFO - Deleted policy ctest-policy-allow-all-45674524 2026-02-27 12:01:29,383 - INFO - Deleting VN ctest-vn-16171098 2026-02-27 12:01:29,433 - DEBUG - VN a45473c8-d503-41a7-a047-f1aad7825e12 still in use: Unable to complete operation on network a45473c8-d503-41a7-a047-f1aad7825e12. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42e93c58-0408-4e8b-b541-f26133cd3893'] 2026-02-27 12:01:29,433 - WARNING - Deleting VN ctest-vn-16171098 failed..Will retry 2026-02-27 12:01:31,591 - DEBUG - Response for deleting network () 2026-02-27 12:01:31,591 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12 2026-02-27 12:01:31,601 - DEBUG - Response Code: 404 2026-02-27 12:01:31,601 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-27 12:01:31,607 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51 2026-02-27 12:01:31,663 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713 2026-02-27 12:01:31,742 - INFO - Validated that VN ctest-vn-16171098 is not found in API Server 2026-02-27 12:01:31,755 - DEBUG - VN ctest-vn-16171098 is not present in Agent 10.0.0.38 2026-02-27 12:01:31,755 - INFO - Validated that VN ctest-vn-16171098 is not in any agent 2026-02-27 12:01:31,774 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16171098 info 2026-02-27 12:01:31,774 - INFO - Deleting VN ctest-vn-09916864 2026-02-27 12:01:31,915 - DEBUG - Response for deleting network () 2026-02-27 12:01:31,915 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409 2026-02-27 12:01:31,925 - DEBUG - Response Code: 404 2026-02-27 12:01:31,925 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-27 12:01:31,932 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51 2026-02-27 12:01:31,990 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713 2026-02-27 12:01:32,071 - INFO - Validated that VN ctest-vn-09916864 is not found in API Server 2026-02-27 12:01:32,082 - DEBUG - VN ctest-vn-09916864 is not present in Agent 10.0.0.38 2026-02-27 12:01:32,082 - INFO - Validated that VN ctest-vn-09916864 is not in any agent 2026-02-27 12:01:32,103 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09916864 info 2026-02-27 12:01:32,381 - DEBUG - No XMPP flaps were noticed during the test
2026-02-27 12:01:32,382 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2026-02-27 12:01:32,382 - INFO - -------------------------------------------------------------------------------- 2026-02-27 12:01:33,165 - INFO - Deleted project: ctest-TestBasicPolicy-00274703, ID : ce769013-11fb-4f40-97ed-ab3524bb3713