2026-08-31 02:58:07,854 - INFO - Domain Default found not creating 2026-08-31 02:58:08,010 - INFO - Project ctest-TestBasicPolicy-66562021 not found, creating it 2026-08-31 02:58:08,626 - INFO - Created Project:ctest-TestBasicPolicy-66562021, ID : 4fa938f0-87c6-45d9-b829-7e8671ae117e 2026-08-31 02:58:10,207 - INFO - ================================================================================ 2026-08-31 02:58:10,207 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-31 02:58:10,207 - 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-08-31 02:58:11,502 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.176': {'10.20.0.14': '0', '10.20.0.25': '0'}} with 2026-08-31 02:58:11,502 - INFO - Initial checks done. Running the testcase now 2026-08-31 02:58:11,502 - INFO - 2026-08-31 02:58:12,308 - DEBUG - Response for create_network : {'network': {'id': '3bb73e62-d23e-4c79-9f11-d6f339885d05', 'name': 'ctest-vn-87844656', 'tenant_id': '4fa938f087c645d9b8297e8671ae117e', 'project_id': '4fa938f087c645d9b8297e8671ae117e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66562021', 'ctest-vn-87844656'], 'port_security_enabled': True, 'description': ''}} 2026-08-31 02:58:12,620 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f0b049c-7c5c-4b46-b8dd-5747adb28415', 'name': '', 'tenant_id': '4fa938f087c645d9b8297e8671ae117e', 'network_id': '3bb73e62-d23e-4c79-9f11-d6f339885d05', 'ip_version': 4, 'cidr': '218.250.12.64/26', 'allocation_pools': [{'start': '218.250.12.66', 'end': '218.250.12.126'}], 'gateway_ip': '218.250.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.250.12.66', 'tags': [], 'project_id': '4fa938f087c645d9b8297e8671ae117e'}} 2026-08-31 02:58:12,644 - INFO - Created VN ctest-vn-87844656 2026-08-31 02:58:12,660 - DEBUG - VN ctest-vn-87844656 UUID is 3bb73e62-d23e-4c79-9f11-d6f339885d05 2026-08-31 02:58:13,102 - DEBUG - Response for create_network : {'network': {'id': '81863c51-6174-45cc-851c-92adf82ab04c', 'name': 'ctest-vn-04419886', 'tenant_id': '4fa938f087c645d9b8297e8671ae117e', 'project_id': '4fa938f087c645d9b8297e8671ae117e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66562021', 'ctest-vn-04419886'], 'port_security_enabled': True, 'description': ''}} 2026-08-31 02:58:13,375 - DEBUG - Response for create_subnet : {'subnet': {'id': '9085ce5e-1ef9-4348-9082-5b5dcc26d134', 'name': '', 'tenant_id': '4fa938f087c645d9b8297e8671ae117e', 'network_id': '81863c51-6174-45cc-851c-92adf82ab04c', 'ip_version': 4, 'cidr': '93.201.189.128/26', 'allocation_pools': [{'start': '93.201.189.130', 'end': '93.201.189.190'}], 'gateway_ip': '93.201.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.201.189.130', 'tags': [], 'project_id': '4fa938f087c645d9b8297e8671ae117e'}} 2026-08-31 02:58:13,397 - INFO - Created VN ctest-vn-04419886 2026-08-31 02:58:13,409 - DEBUG - VN ctest-vn-04419886 UUID is 81863c51-6174-45cc-851c-92adf82ab04c 2026-08-31 02:58:13,489 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656, 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-66562021:ctest-vn-04419886, 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-08-31 02:58:13,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bb73e62-d23e-4c79-9f11-d6f339885d05', 'name': 'ctest-vn-87844656', 'tenant_id': '4fa938f087c645d9b8297e8671ae117e', 'project_id': '4fa938f087c645d9b8297e8671ae117e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1f0b049c-7c5c-4b46-b8dd-5747adb28415'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66562021', 'ctest-vn-87844656'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66562021', 'ctest-policy-allow-all-47178036']], 'subnet_ipam': [{'subnet_cidr': '218.250.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-31 02:58:14,090 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81863c51-6174-45cc-851c-92adf82ab04c', 'name': 'ctest-vn-04419886', 'tenant_id': '4fa938f087c645d9b8297e8671ae117e', 'project_id': '4fa938f087c645d9b8297e8671ae117e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9085ce5e-1ef9-4348-9082-5b5dcc26d134'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66562021', 'ctest-vn-04419886'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66562021', 'ctest-policy-allow-all-47178036']], 'subnet_ipam': [{'subnet_cidr': '93.201.189.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-31 02:58:14,191 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-31 02:58:14,545 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-31 02:58:14,574 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2dd173c-f32f-4272-81b1-e77dae6a5597 2026-08-31 02:58:14,596 - DEBUG - Requesting: http://10.0.0.50:8082/project/4fa938f0-87c6-45d9-b829-7e8671ae117e 2026-08-31 02:58:14,714 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bb73e62-d23e-4c79-9f11-d6f339885d05 2026-08-31 02:58:14,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bb73e62-d23e-4c79-9f11-d6f339885d05 2026-08-31 02:58:14,739 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5548856-8f1a-4bd3-9fd6-edb04bc64e17 2026-08-31 02:58:14,748 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5548856-8f1a-4bd3-9fd6-edb04bc64e17 2026-08-31 02:58:14,757 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/19232c95-b693-4e5f-bb8e-ffe9b915667d 2026-08-31 02:58:14,765 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-31 02:58:14,765 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bb73e62-d23e-4c79-9f11-d6f339885d05 2026-08-31 02:58:14,775 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5548856-8f1a-4bd3-9fd6-edb04bc64e17 2026-08-31 02:58:14,795 - INFO - Verified VN network id 16 for VN 3bb73e62-d23e-4c79-9f11-d6f339885d05 2026-08-31 02:58:14,796 - INFO - Verifications in API Server for VN ctest-vn-87844656 passed 2026-08-31 02:58:14,796 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bb73e62-d23e-4c79-9f11-d6f339885d05 2026-08-31 02:58:14,810 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5548856-8f1a-4bd3-9fd6-edb04bc64e17 2026-08-31 02:58:14,819 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5548856-8f1a-4bd3-9fd6-edb04bc64e17 2026-08-31 02:58:14,827 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/19232c95-b693-4e5f-bb8e-ffe9b915667d 2026-08-31 02:58:14,841 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66562021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4302976563130813561', 'uuid-lslong': '11462178866765257989'}, 'enable': 'true', 'created': '2026-08-31T02:58:12', 'last-modified': '2026-08-31T02:58:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.045940'} 2026-08-31 02:58:14,849 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-31 02:58:14,854 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66562021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4302976563130813561', 'uuid-lslong': '11462178866765257989'}, 'enable': 'true', 'created': '2026-08-31T02:58:12', 'last-modified': '2026-08-31T02:58:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.061827'} 2026-08-31 02:58:14,861 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-31 02:58:14,867 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66562021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4302976563130813561', 'uuid-lslong': '11462178866765257989'}, 'enable': 'true', 'created': '2026-08-31T02:58:12', 'last-modified': '2026-08-31T02:58:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.077829'} 2026-08-31 02:58:14,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-31 02:58:14,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87844656 passed 2026-08-31 02:58:14,873 - DEBUG - ====Verifying policy data for ctest-vn-87844656 in API_Server ====== 2026-08-31 02:58:14,873 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-31 02:58:14,880 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2dd173c-f32f-4272-81b1-e77dae6a5597 2026-08-31 02:58:14,892 - DEBUG - Requesting: http://10.0.0.50:8082/project/4fa938f0-87c6-45d9-b829-7e8671ae117e 2026-08-31 02:58:14,996 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bb73e62-d23e-4c79-9f11-d6f339885d05 2026-08-31 02:58:15,011 - DEBUG - ==>Verifying data for policy with id: 87237839-ef70-4edb-a138-2e9d929d4510, fqn: ['default-domain', 'ctest-TestBasicPolicy-66562021', 'ctest-policy-allow-all-47178036'] 2026-08-31 02:58:15,011 - INFO - VN ctest-vn-87844656 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-31 02:58:15,011 - DEBUG - Verifying the vn in opserver 2026-08-31 02:58:15,011 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 virtual network link through opserver 10.0.0.50 2026-08-31 02:58:15,011 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-31 02:58:15,342 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-31 02:58:15,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656?flat'} 2026-08-31 02:58:15,404 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 virtual network link through opserver 10.0.0.185 2026-08-31 02:58:15,404 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-08-31 02:58:15,734 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-08-31 02:58:15,804 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656?flat'} 2026-08-31 02:58:15,804 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 virtual network link through opserver 10.0.0.38 2026-08-31 02:58:15,804 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-31 02:58:16,136 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-31 02:58:16,185 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656?flat'} 2026-08-31 02:58:16,185 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 is found in opserver 2026-08-31 02:58:16,206 - DEBUG - Do not have enough data to verify VN in agent 2026-08-31 02:58:16,217 - DEBUG - VRF ids for VN ctest-vn-87844656: {} 2026-08-31 02:58:16,217 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-31 02:58:16,224 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2dd173c-f32f-4272-81b1-e77dae6a5597 2026-08-31 02:58:16,237 - DEBUG - Requesting: http://10.0.0.50:8082/project/4fa938f0-87c6-45d9-b829-7e8671ae117e 2026-08-31 02:58:16,335 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81863c51-6174-45cc-851c-92adf82ab04c 2026-08-31 02:58:16,355 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81863c51-6174-45cc-851c-92adf82ab04c 2026-08-31 02:58:16,372 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b8ee4c6-aab9-467a-8b3d-22f14dc5ac11 2026-08-31 02:58:16,380 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b8ee4c6-aab9-467a-8b3d-22f14dc5ac11 2026-08-31 02:58:16,388 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f728be44-f21b-4e6c-9e7c-b3a7c3ce94d1 2026-08-31 02:58:16,397 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-08-31 02:58:16,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81863c51-6174-45cc-851c-92adf82ab04c 2026-08-31 02:58:16,408 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b8ee4c6-aab9-467a-8b3d-22f14dc5ac11 2026-08-31 02:58:16,428 - INFO - Verified VN network id 17 for VN 81863c51-6174-45cc-851c-92adf82ab04c 2026-08-31 02:58:16,428 - INFO - Verifications in API Server for VN ctest-vn-04419886 passed 2026-08-31 02:58:16,428 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81863c51-6174-45cc-851c-92adf82ab04c 2026-08-31 02:58:16,441 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b8ee4c6-aab9-467a-8b3d-22f14dc5ac11 2026-08-31 02:58:16,450 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b8ee4c6-aab9-467a-8b3d-22f14dc5ac11 2026-08-31 02:58:16,457 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f728be44-f21b-4e6c-9e7c-b3a7c3ce94d1 2026-08-31 02:58:16,473 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66562021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9333213597996959180', 'uuid-lslong': '9591702582282858572'}, 'enable': 'true', 'created': '2026-08-31T02:58:13', 'last-modified': '2026-08-31T02:58:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.418492'} 2026-08-31 02:58:16,479 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-08-31 02:58:16,485 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66562021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9333213597996959180', 'uuid-lslong': '9591702582282858572'}, 'enable': 'true', 'created': '2026-08-31T02:58:13', 'last-modified': '2026-08-31T02:58:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.432499'} 2026-08-31 02:58:16,491 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-08-31 02:58:16,497 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66562021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9333213597996959180', 'uuid-lslong': '9591702582282858572'}, 'enable': 'true', 'created': '2026-08-31T02:58:13', 'last-modified': '2026-08-31T02:58:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.454192'} 2026-08-31 02:58:16,504 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-08-31 02:58:16,504 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04419886 passed 2026-08-31 02:58:16,505 - DEBUG - ====Verifying policy data for ctest-vn-04419886 in API_Server ====== 2026-08-31 02:58:16,505 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-31 02:58:16,512 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2dd173c-f32f-4272-81b1-e77dae6a5597 2026-08-31 02:58:16,525 - DEBUG - Requesting: http://10.0.0.50:8082/project/4fa938f0-87c6-45d9-b829-7e8671ae117e 2026-08-31 02:58:16,634 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81863c51-6174-45cc-851c-92adf82ab04c 2026-08-31 02:58:16,648 - DEBUG - ==>Verifying data for policy with id: 87237839-ef70-4edb-a138-2e9d929d4510, fqn: ['default-domain', 'ctest-TestBasicPolicy-66562021', 'ctest-policy-allow-all-47178036'] 2026-08-31 02:58:16,648 - INFO - VN ctest-vn-04419886 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-31 02:58:16,648 - DEBUG - Verifying the vn in opserver 2026-08-31 02:58:16,648 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886 virtual network link through opserver 10.0.0.50 2026-08-31 02:58:16,648 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-31 02:58:16,707 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886?flat'} 2026-08-31 02:58:16,707 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886 virtual network link through opserver 10.0.0.185 2026-08-31 02:58:16,707 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-08-31 02:58:16,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886?flat'} 2026-08-31 02:58:16,755 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886 virtual network link through opserver 10.0.0.38 2026-08-31 02:58:16,755 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-31 02:58:16,802 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886?flat'} 2026-08-31 02:58:16,802 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-04419886 is found in opserver 2026-08-31 02:58:16,825 - DEBUG - Do not have enough data to verify VN in agent 2026-08-31 02:58:16,838 - DEBUG - VRF ids for VN ctest-vn-04419886: {} 2026-08-31 02:58:16,896 - DEBUG - Services list from nova: [, , , ] 2026-08-31 02:58:17,422 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6237-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6237-1) 2026-08-31 02:58:17,974 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6237-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6237-2) 2026-08-31 02:58:17,975 - INFO - Waiting for VM ctest-TestBasicPolicy-66562021-71327301 to be up.. 2026-08-31 02:58:18,047 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:58:23,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:58:28,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:58:33,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:58:38,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:58:43,579 - DEBUG - VM is in ACTIVE state now 2026-08-31 02:58:43,579 - INFO - VM name : ctest-TestBasicPolicy-66562021-71327301 2026-08-31 02:58:43,672 - DEBUG - VM ctest-TestBasicPolicy-66562021-71327301 ID is f21df226-1ffb-474b-8257-049b8c337205 2026-08-31 02:58:43,702 - DEBUG - VM ctest-TestBasicPolicy-66562021-71327301 launched on Node an-jenkins-deploy-platform-ansible-os-6237-1 2026-08-31 02:58:43,800 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f21df226-1ffb-474b-8257-049b8c337205 2026-08-31 02:58:44,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f21df226-1ffb-474b-8257-049b8c337205 2026-08-31 02:58:44,183 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5885e0c6-654f-4164-98ca-e14ac9549c1f 2026-08-31 02:58:47,376 - 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-08-31 02:58:47,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66562021-71327301 failed! 2026-08-31 02:58:47,394 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 is 218.250.12.65 and allocation pool is NOT set 2026-08-31 02:58:51,470 - 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 1018ms') 2026-08-31 02:58:51,471 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66562021-71327301 failed! 2026-08-31 02:58:51,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 is 218.250.12.65 and allocation pool is NOT set 2026-08-31 02:58:55,575 - 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-08-31 02:58:55,575 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66562021-71327301 failed! 2026-08-31 02:58:55,594 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 is 218.250.12.65 and allocation pool is NOT set 2026-08-31 02:58:59,666 - 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-08-31 02:58:59,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66562021-71327301 failed! 2026-08-31 02:58:59,684 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 is 218.250.12.65 and allocation pool is NOT set 2026-08-31 02:59:03,767 - 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 1013ms') 2026-08-31 02:59:03,767 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66562021-71327301 failed! 2026-08-31 02:59:03,782 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 is 218.250.12.65 and allocation pool is NOT set 2026-08-31 02:59:07,863 - 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 1011ms') 2026-08-31 02:59:07,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66562021-71327301 failed! 2026-08-31 02:59:07,879 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 is 218.250.12.65 and allocation pool is NOT set 2026-08-31 02:59:11,956 - 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 1009ms') 2026-08-31 02:59:11,956 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66562021-71327301 failed! 2026-08-31 02:59:11,971 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66562021:ctest-vn-87844656 is 218.250.12.65 and allocation pool is NOT set 2026-08-31 02:59:14,046 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.82 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 = 3.815/6.393/8.971/2.578 ms') 2026-08-31 02:59:14,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66562021-71327301 passed 2026-08-31 02:59:14,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:59:14,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66562021-71327301, IP 218.250.12.67, Port 22 2026-08-31 02:59:14,191 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-31 02:59:14,286 - DEBUG - VM ctest-TestBasicPolicy-66562021-71327301 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-31 02:59:19,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:59:19,287 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66562021-71327301, IP 218.250.12.67, Port 22 2026-08-31 02:59:19,355 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-31 02:59:19,458 - DEBUG - VM ctest-TestBasicPolicy-66562021-71327301 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-31 02:59:24,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:59:24,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66562021-71327301, IP 218.250.12.67, Port 22 2026-08-31 02:59:24,650 - DEBUG - VM ctest-TestBasicPolicy-66562021-71327301 is ready for SSH connections 2026-08-31 02:59:24,650 - INFO - Waiting for VM ctest-TestBasicPolicy-66562021-14905852 to be up.. 2026-08-31 02:59:24,744 - DEBUG - VM is in ACTIVE state now 2026-08-31 02:59:24,744 - INFO - VM name : ctest-TestBasicPolicy-66562021-14905852 2026-08-31 02:59:24,835 - DEBUG - VM ctest-TestBasicPolicy-66562021-14905852 ID is 44826bed-6406-4464-927e-ddfcdeb9dd23 2026-08-31 02:59:24,835 - DEBUG - VM ctest-TestBasicPolicy-66562021-14905852 launched on Node an-jenkins-deploy-platform-ansible-os-6237-2 2026-08-31 02:59:24,922 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/44826bed-6406-4464-927e-ddfcdeb9dd23 2026-08-31 02:59:24,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fd62f202-6c07-4c9b-8b97-6f55dcffcd01 2026-08-31 02:59:26,109 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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 = 2.683/5.015/7.347/2.332 ms') 2026-08-31 02:59:26,110 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66562021-14905852 passed 2026-08-31 02:59:26,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:59:26,187 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66562021-14905852, IP 93.201.189.131, Port 22 2026-08-31 02:59:26,255 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-31 02:59:26,345 - DEBUG - VM ctest-TestBasicPolicy-66562021-14905852 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-31 02:59:31,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:59:31,346 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66562021-14905852, IP 93.201.189.131, Port 22 2026-08-31 02:59:31,429 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-31 02:59:31,519 - DEBUG - VM ctest-TestBasicPolicy-66562021-14905852 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-31 02:59:36,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:59:36,520 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66562021-14905852, IP 93.201.189.131, Port 22 2026-08-31 02:59:36,699 - DEBUG - VM ctest-TestBasicPolicy-66562021-14905852 is ready for SSH connections 2026-08-31 02:59:36,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:59:36,699 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.201.189.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-08-31 02:59:36,699 - DEBUG - ping -s 56 -c 3 -W 1 93.201.189.131 2026-08-31 03:00:21,910 - DEBUG - PING 93.201.189.131 (93.201.189.131) 56(84) bytes of data. 64 bytes from 93.201.189.131: icmp_req=1 ttl=63 time=8.62 ms 64 bytes from 93.201.189.131: icmp_req=2 ttl=63 time=1.97 ms 64 bytes from 93.201.189.131: icmp_req=3 ttl=63 time=1.68 ms --- 93.201.189.131 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.682/4.095/8.626/3.206 ms 2026-08-31 03:00:21,910 - INFO - Ping to IP 93.201.189.131 from VM ctest-TestBasicPolicy-66562021-71327301 passed 2026-08-31 03:00:22,186 - DEBUG - Policy Update Response {"network-policy": {"uuid": "87237839-ef70-4edb-a138-2e9d929d4510", "href": "http://10.0.0.38:8082/network-policy/87237839-ef70-4edb-a138-2e9d929d4510"}} 2026-08-31 03:00:22,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 03:00:22,186 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.201.189.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-08-31 03:00:22,186 - DEBUG - ping -s 56 -c 3 -W 1 93.201.189.131 2026-08-31 03:00:25,506 - DEBUG - PING 93.201.189.131 (93.201.189.131) 56(84) bytes of data. 64 bytes from 93.201.189.131: icmp_req=1 ttl=63 time=4.57 ms --- 93.201.189.131 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2002ms rtt min/avg/max/mdev = 4.571/4.571/4.571/0.000 ms 2026-08-31 03:00:25,507 - WARNING - Ping to IP 93.201.189.131 from VM ctest-TestBasicPolicy-66562021-71327301 failed 2026-08-31 03:00:25,507 - INFO - Deleting VM ctest-TestBasicPolicy-66562021-14905852 2026-08-31 03:00:25,592 - INFO - Deleting VM ctest-TestBasicPolicy-66562021-71327301 2026-08-31 03:00:26,345 - INFO - Deleted policy ctest-policy-allow-all-47178036 2026-08-31 03:00:26,345 - INFO - Deleting VN ctest-vn-04419886 2026-08-31 03:00:26,404 - DEBUG - VN 81863c51-6174-45cc-851c-92adf82ab04c still in use: Unable to complete operation on network 81863c51-6174-45cc-851c-92adf82ab04c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-149f2980-a4a3-46de-ab99-7259ed189da2'] 2026-08-31 03:00:26,404 - WARNING - Deleting VN ctest-vn-04419886 failed..Will retry 2026-08-31 03:00:28,610 - DEBUG - Response for deleting network () 2026-08-31 03:00:28,610 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b8ee4c6-aab9-467a-8b3d-22f14dc5ac11 2026-08-31 03:00:28,627 - DEBUG - Response Code: 404 2026-08-31 03:00:28,627 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-31 03:00:28,635 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2dd173c-f32f-4272-81b1-e77dae6a5597 2026-08-31 03:00:28,974 - DEBUG - Requesting: http://10.0.0.50:8082/project/4fa938f0-87c6-45d9-b829-7e8671ae117e 2026-08-31 03:00:29,074 - INFO - Validated that VN ctest-vn-04419886 is not found in API Server 2026-08-31 03:00:29,114 - DEBUG - VN ctest-vn-04419886 is not present in Agent 10.0.0.186 2026-08-31 03:00:29,128 - DEBUG - VN ctest-vn-04419886 is not present in Agent 10.0.0.176 2026-08-31 03:00:29,128 - INFO - Validated that VN ctest-vn-04419886 is not in any agent 2026-08-31 03:00:29,168 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04419886 info 2026-08-31 03:00:29,168 - INFO - Deleting VN ctest-vn-87844656 2026-08-31 03:00:29,501 - DEBUG - Response for deleting network () 2026-08-31 03:00:29,501 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5548856-8f1a-4bd3-9fd6-edb04bc64e17 2026-08-31 03:00:29,508 - DEBUG - Response Code: 404 2026-08-31 03:00:29,508 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-31 03:00:29,515 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2dd173c-f32f-4272-81b1-e77dae6a5597 2026-08-31 03:00:29,540 - DEBUG - Requesting: http://10.0.0.50:8082/project/4fa938f0-87c6-45d9-b829-7e8671ae117e 2026-08-31 03:00:29,661 - INFO - Validated that VN ctest-vn-87844656 is not found in API Server 2026-08-31 03:00:29,681 - DEBUG - VN ctest-vn-87844656 is not present in Agent 10.0.0.186 2026-08-31 03:00:29,703 - DEBUG - VN ctest-vn-87844656 is not present in Agent 10.0.0.176 2026-08-31 03:00:29,703 - INFO - Validated that VN ctest-vn-87844656 is not in any agent 2026-08-31 03:00:29,748 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87844656 info 2026-08-31 03:00:31,064 - DEBUG - No XMPP flaps were noticed during the test 2026-08-31 03:00:31,064 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:02:21] 2026-08-31 03:00:31,064 - INFO - -------------------------------------------------------------------------------- 2026-08-31 03:00:31,971 - INFO - Deleted project: ctest-TestBasicPolicy-66562021, ID : 4fa938f0-87c6-45d9-b829-7e8671ae117e