2026-01-28 21:07:58,494 - INFO - Domain Default found not creating 2026-01-28 21:07:58,948 - INFO - Project ctest-TestBasicPolicy-63234082 not found, creating it 2026-01-28 21:07:59,698 - INFO - Created Project:ctest-TestBasicPolicy-63234082, ID : 4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f 2026-01-28 21:08:01,096 - INFO - ================================================================================ 2026-01-28 21:08:01,096 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 21:08:01,096 - 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-01-28 21:08:01,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0'}} with 2026-01-28 21:08:01,349 - INFO - Initial checks done. Running the testcase now 2026-01-28 21:08:01,349 - INFO - 2026-01-28 21:08:01,867 - DEBUG - Response for create_network : {'network': {'id': '5d4ea065-8ebe-496f-877a-5861b4ce5903', 'name': 'ctest-vn-55310090', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-vn-55310090'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:08:02,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '57e429db-46cc-4ceb-a58a-b0da8653daa7', 'name': '', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'network_id': '5d4ea065-8ebe-496f-877a-5861b4ce5903', 'ip_version': 4, 'cidr': '142.78.107.128/26', 'allocation_pools': [{'start': '142.78.107.130', 'end': '142.78.107.190'}], 'gateway_ip': '142.78.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.78.107.130', 'tags': [], 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f'}} 2026-01-28 21:08:02,066 - INFO - Created VN ctest-vn-55310090 2026-01-28 21:08:02,115 - DEBUG - VN ctest-vn-55310090 UUID is 5d4ea065-8ebe-496f-877a-5861b4ce5903 2026-01-28 21:08:02,414 - DEBUG - Response for create_network : {'network': {'id': '48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8', 'name': 'ctest-vn-34419633', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-vn-34419633'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:08:02,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e75d9b44-e3f3-4336-ae20-a1909c3d2940', 'name': '', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'network_id': '48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8', 'ip_version': 4, 'cidr': '138.23.124.192/26', 'allocation_pools': [{'start': '138.23.124.194', 'end': '138.23.124.254'}], 'gateway_ip': '138.23.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.23.124.194', 'tags': [], 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f'}} 2026-01-28 21:08:02,645 - INFO - Created VN ctest-vn-34419633 2026-01-28 21:08:02,695 - DEBUG - VN ctest-vn-34419633 UUID is 48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8 2026-01-28 21:08:02,839 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090, 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-63234082:ctest-vn-34419633, 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-01-28 21:08:03,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d4ea065-8ebe-496f-877a-5861b4ce5903', 'name': 'ctest-vn-55310090', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57e429db-46cc-4ceb-a58a-b0da8653daa7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-vn-55310090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-policy-allow-all-66818796']], 'subnet_ipam': [{'subnet_cidr': '142.78.107.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:08:03,356 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8', 'name': 'ctest-vn-34419633', 'tenant_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'project_id': '4eed879eb3b849f3a2e8a2aaef2cab0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e75d9b44-e3f3-4336-ae20-a1909c3d2940'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-vn-34419633'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-policy-allow-all-66818796']], 'subnet_ipam': [{'subnet_cidr': '138.23.124.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:08:03,504 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 21:08:03,803 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 21:08:03,837 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc 2026-01-28 21:08:03,848 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f 2026-01-28 21:08:03,918 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903 2026-01-28 21:08:03,928 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903 2026-01-28 21:08:03,936 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709 2026-01-28 21:08:03,943 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709 2026-01-28 21:08:03,948 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/b45a2cc5-ebf0-4237-b5f3-3ed266c30c3f 2026-01-28 21:08:03,953 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 21:08:03,954 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903 2026-01-28 21:08:03,961 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709 2026-01-28 21:08:03,971 - INFO - Verified VN network id 11 for VN 5d4ea065-8ebe-496f-877a-5861b4ce5903 2026-01-28 21:08:03,971 - INFO - Verifications in API Server for VN ctest-vn-55310090 passed 2026-01-28 21:08:03,971 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903 2026-01-28 21:08:03,979 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709 2026-01-28 21:08:03,985 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709 2026-01-28 21:08:03,990 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/b45a2cc5-ebf0-4237-b5f3-3ed266c30c3f 2026-01-28 21:08:03,999 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63234082', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6723487651757705583', 'uuid-lslong': '9762212318947465475'}, 'enable': 'true', 'created': '2026-01-28T21:08:01', 'last-modified': '2026-01-28T21:08:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893173'} 2026-01-28 21:08:04,004 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 21:08:04,005 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55310090 passed 2026-01-28 21:08:04,005 - DEBUG - ====Verifying policy data for ctest-vn-55310090 in API_Server ====== 2026-01-28 21:08:04,005 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 21:08:04,009 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc 2026-01-28 21:08:04,019 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f 2026-01-28 21:08:04,091 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d4ea065-8ebe-496f-877a-5861b4ce5903 2026-01-28 21:08:04,099 - DEBUG - ==>Verifying data for policy with id: 1098fd63-aff0-4cc9-ac56-e5da5596892a, fqn: ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-policy-allow-all-66818796'] 2026-01-28 21:08:04,099 - INFO - VN ctest-vn-55310090 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 21:08:04,099 - DEBUG - Verifying the vn in opserver 2026-01-28 21:08:04,099 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090 virtual network link through opserver 10.0.0.241 2026-01-28 21:08:04,099 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-28 21:08:04,392 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-28 21:08:04,448 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090?flat'} 2026-01-28 21:08:04,448 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090 is found in opserver 2026-01-28 21:08:04,457 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 21:08:04,461 - DEBUG - VRF ids for VN ctest-vn-55310090: {} 2026-01-28 21:08:04,461 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 21:08:04,466 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc 2026-01-28 21:08:04,476 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f 2026-01-28 21:08:04,548 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8 2026-01-28 21:08:04,558 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8 2026-01-28 21:08:04,566 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4 2026-01-28 21:08:04,571 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4 2026-01-28 21:08:04,577 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9cae9c06-7820-43ef-840d-83ba36d66ac2 2026-01-28 21:08:04,582 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 21:08:04,582 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8 2026-01-28 21:08:04,589 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4 2026-01-28 21:08:04,600 - INFO - Verified VN network id 12 for VN 48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8 2026-01-28 21:08:04,600 - INFO - Verifications in API Server for VN ctest-vn-34419633 passed 2026-01-28 21:08:04,600 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8 2026-01-28 21:08:04,608 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4 2026-01-28 21:08:04,613 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4 2026-01-28 21:08:04,618 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9cae9c06-7820-43ef-840d-83ba36d66ac2 2026-01-28 21:08:04,628 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63234082', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5246507701055735096', 'uuid-lslong': '13177582189502651640'}, 'enable': 'true', 'created': '2026-01-28T21:08:02', 'last-modified': '2026-01-28T21:08:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.296956'} 2026-01-28 21:08:04,633 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 21:08:04,633 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34419633 passed 2026-01-28 21:08:04,633 - DEBUG - ====Verifying policy data for ctest-vn-34419633 in API_Server ====== 2026-01-28 21:08:04,633 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 21:08:04,638 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc 2026-01-28 21:08:04,647 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f 2026-01-28 21:08:04,720 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8 2026-01-28 21:08:04,729 - DEBUG - ==>Verifying data for policy with id: 1098fd63-aff0-4cc9-ac56-e5da5596892a, fqn: ['default-domain', 'ctest-TestBasicPolicy-63234082', 'ctest-policy-allow-all-66818796'] 2026-01-28 21:08:04,729 - INFO - VN ctest-vn-34419633 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 21:08:04,729 - DEBUG - Verifying the vn in opserver 2026-01-28 21:08:04,729 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633 virtual network link through opserver 10.0.0.241 2026-01-28 21:08:04,729 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-28 21:08:04,738 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633?flat'} 2026-01-28 21:08:04,738 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-34419633 is found in opserver 2026-01-28 21:08:04,749 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 21:08:04,754 - DEBUG - VRF ids for VN ctest-vn-34419633: {} 2026-01-28 21:08:04,809 - DEBUG - Services list from nova: [, , ] 2026-01-28 21:08:05,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5104-1) 2026-01-28 21:08:06,886 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5104-1) 2026-01-28 21:08:06,886 - INFO - Waiting for VM ctest-TestBasicPolicy-63234082-78654110 to be up.. 2026-01-28 21:08:06,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 21:08:12,031 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:08:12,031 - INFO - VM name : ctest-TestBasicPolicy-63234082-78654110 2026-01-28 21:08:12,109 - DEBUG - VM ctest-TestBasicPolicy-63234082-78654110 ID is ce1e3bcc-364c-473a-b9ae-e787b3cc17d1 2026-01-28 21:08:12,130 - DEBUG - VM ctest-TestBasicPolicy-63234082-78654110 launched on Node cn-jenkins-deploy-platform-ansible-os-5104-1 2026-01-28 21:08:12,198 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ce1e3bcc-364c-473a-b9ae-e787b3cc17d1 2026-01-28 21:08:12,205 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/9f55ab56-75eb-4cee-b3b6-fcf58b8aa8a1 2026-01-28 21:08:15,453 - 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 1015ms') 2026-01-28 21:08:15,453 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63234082-78654110 failed! 2026-01-28 21:08:15,503 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63234082:ctest-vn-55310090 is 142.78.107.129 and allocation pool is NOT set 2026-01-28 21:08:17,567 - 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=5.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.760 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.760/2.935/5.110/2.175 ms') 2026-01-28 21:08:17,567 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63234082-78654110 passed 2026-01-28 21:08:17,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:08:17,720 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63234082-78654110, IP 142.78.107.131, Port 22 2026-01-28 21:08:17,876 - DEBUG - VM ctest-TestBasicPolicy-63234082-78654110 is ready for SSH connections 2026-01-28 21:08:17,876 - INFO - Waiting for VM ctest-TestBasicPolicy-63234082-28770948 to be up.. 2026-01-28 21:08:17,948 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:08:17,948 - INFO - VM name : ctest-TestBasicPolicy-63234082-28770948 2026-01-28 21:08:18,019 - DEBUG - VM ctest-TestBasicPolicy-63234082-28770948 ID is f2ddf431-9ac5-4df9-85d8-5667011f804d 2026-01-28 21:08:18,020 - DEBUG - VM ctest-TestBasicPolicy-63234082-28770948 launched on Node cn-jenkins-deploy-platform-ansible-os-5104-1 2026-01-28 21:08:18,085 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/f2ddf431-9ac5-4df9-85d8-5667011f804d 2026-01-28 21:08:18,092 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/7bf2d383-872c-4e34-9e46-ef62a78b7f16 2026-01-28 21:08:19,314 - 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=2.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.645/2.899/1.254 ms') 2026-01-28 21:08:19,314 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63234082-28770948 passed 2026-01-28 21:08:19,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:08:19,460 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63234082-28770948, IP 138.23.124.195, Port 22 2026-01-28 21:08:19,615 - DEBUG - VM ctest-TestBasicPolicy-63234082-28770948 is ready for SSH connections 2026-01-28 21:08:19,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:08:19,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.23.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-28 21:08:19,615 - DEBUG - ping -s 56 -c 3 -W 1 138.23.124.195 2026-01-28 21:08:23,599 - DEBUG - PING 138.23.124.195 (138.23.124.195): 56 data bytes 64 bytes from 138.23.124.195: seq=0 ttl=63 time=4.125 ms 64 bytes from 138.23.124.195: seq=1 ttl=63 time=1.024 ms 64 bytes from 138.23.124.195: seq=2 ttl=63 time=0.908 ms --- 138.23.124.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/2.019/4.125 ms 2026-01-28 21:08:23,599 - INFO - Ping to IP 138.23.124.195 from VM ctest-TestBasicPolicy-63234082-78654110 passed 2026-01-28 21:08:23,775 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1098fd63-aff0-4cc9-ac56-e5da5596892a", "href": "http://10.0.0.241:8082/network-policy/1098fd63-aff0-4cc9-ac56-e5da5596892a"}} 2026-01-28 21:08:23,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:08:23,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.23.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-28 21:08:23,775 - DEBUG - ping -s 56 -c 3 -W 1 138.23.124.195 2026-01-28 21:08:26,974 - DEBUG - PING 138.23.124.195 (138.23.124.195): 56 data bytes --- 138.23.124.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 21:08:26,974 - WARNING - Ping to IP 138.23.124.195 from VM ctest-TestBasicPolicy-63234082-78654110 failed 2026-01-28 21:08:26,974 - INFO - Deleting VM ctest-TestBasicPolicy-63234082-28770948 2026-01-28 21:08:27,037 - INFO - Deleting VM ctest-TestBasicPolicy-63234082-78654110 2026-01-28 21:08:27,382 - INFO - Deleted policy ctest-policy-allow-all-66818796 2026-01-28 21:08:27,382 - INFO - Deleting VN ctest-vn-34419633 2026-01-28 21:08:27,415 - DEBUG - VN 48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8 still in use: Unable to complete operation on network 48cf56f4-f8c7-4538-b6e0-2d2efbd1dcf8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-924becc3-dc27-4da6-8f96-6612a893dd6e'] 2026-01-28 21:08:27,415 - WARNING - Deleting VN ctest-vn-34419633 failed..Will retry 2026-01-28 21:08:29,506 - DEBUG - Response for deleting network () 2026-01-28 21:08:29,506 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2501f1b0-1552-4d86-bfc9-8870a7863aa4 2026-01-28 21:08:29,512 - DEBUG - Response Code: 404 2026-01-28 21:08:29,512 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 21:08:29,516 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc 2026-01-28 21:08:29,568 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f 2026-01-28 21:08:29,643 - INFO - Validated that VN ctest-vn-34419633 is not found in API Server 2026-01-28 21:08:29,652 - DEBUG - VN ctest-vn-34419633 is not present in Agent 10.0.0.241 2026-01-28 21:08:29,652 - INFO - Validated that VN ctest-vn-34419633 is not in any agent 2026-01-28 21:08:29,663 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34419633 info 2026-01-28 21:08:29,663 - INFO - Deleting VN ctest-vn-55310090 2026-01-28 21:08:29,771 - DEBUG - Response for deleting network () 2026-01-28 21:08:29,771 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/275040f2-ae92-4d7b-b447-7e70fe8e9709 2026-01-28 21:08:29,775 - DEBUG - Response Code: 404 2026-01-28 21:08:29,775 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 21:08:29,781 - DEBUG - Requesting: http://10.0.0.241:8082/domain/6084c165-2b69-4ee8-b037-6e51a5b3a5fc 2026-01-28 21:08:29,832 - DEBUG - Requesting: http://10.0.0.241:8082/project/4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f 2026-01-28 21:08:29,900 - INFO - Validated that VN ctest-vn-55310090 is not found in API Server 2026-01-28 21:08:29,908 - DEBUG - VN ctest-vn-55310090 is not present in Agent 10.0.0.241 2026-01-28 21:08:29,908 - INFO - Validated that VN ctest-vn-55310090 is not in any agent 2026-01-28 21:08:29,921 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55310090 info 2026-01-28 21:08:30,173 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 21:08:30,173 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-28 21:08:30,173 - INFO - -------------------------------------------------------------------------------- 2026-01-28 21:08:30,836 - INFO - Deleted project: ctest-TestBasicPolicy-63234082, ID : 4eed879e-b3b8-49f3-a2e8-a2aaef2cab0f