2026-02-12 02:44:22,586 - INFO - Domain Default found not creating 2026-02-12 02:44:22,762 - INFO - Project ctest-TestBasicPolicy-80869794 not found, creating it 2026-02-12 02:44:23,285 - INFO - Created Project:ctest-TestBasicPolicy-80869794, ID : bbaeedcb-5d35-4bed-ac27-75cf6a297b70 2026-02-12 02:44:24,710 - INFO - ================================================================================ 2026-02-12 02:44:24,711 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 02:44:24,711 - 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-12 02:44:26,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.131': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2026-02-12 02:44:26,008 - INFO - Initial checks done. Running the testcase now 2026-02-12 02:44:26,008 - INFO - 2026-02-12 02:44:26,677 - DEBUG - Response for create_network : {'network': {'id': '671fd75e-45a5-4495-8184-6a77e8d41590', 'name': 'ctest-vn-42001047', 'tenant_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'project_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80869794', 'ctest-vn-42001047'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:44:26,973 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdfa8f64-24a1-454f-a3ed-d596f07678de', 'name': '', 'tenant_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'network_id': '671fd75e-45a5-4495-8184-6a77e8d41590', 'ip_version': 4, 'cidr': '177.80.15.128/26', 'allocation_pools': [{'start': '177.80.15.130', 'end': '177.80.15.190'}], 'gateway_ip': '177.80.15.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.80.15.130', 'tags': [], 'project_id': 'bbaeedcb5d354bedac2775cf6a297b70'}} 2026-02-12 02:44:26,995 - INFO - Created VN ctest-vn-42001047 2026-02-12 02:44:27,007 - DEBUG - VN ctest-vn-42001047 UUID is 671fd75e-45a5-4495-8184-6a77e8d41590 2026-02-12 02:44:27,359 - DEBUG - Response for create_network : {'network': {'id': '734139fe-c887-4b75-9e98-eafa2ad37b99', 'name': 'ctest-vn-19450532', 'tenant_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'project_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80869794', 'ctest-vn-19450532'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:44:27,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a26253e-e7c3-46b7-a294-ee8034a2df0c', 'name': '', 'tenant_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'network_id': '734139fe-c887-4b75-9e98-eafa2ad37b99', 'ip_version': 4, 'cidr': '76.33.240.64/26', 'allocation_pools': [{'start': '76.33.240.66', 'end': '76.33.240.126'}], 'gateway_ip': '76.33.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.33.240.66', 'tags': [], 'project_id': 'bbaeedcb5d354bedac2775cf6a297b70'}} 2026-02-12 02:44:27,603 - INFO - Created VN ctest-vn-19450532 2026-02-12 02:44:27,613 - DEBUG - VN ctest-vn-19450532 UUID is 734139fe-c887-4b75-9e98-eafa2ad37b99 2026-02-12 02:44:27,725 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047, 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-80869794:ctest-vn-19450532, 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-12 02:44:28,035 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '671fd75e-45a5-4495-8184-6a77e8d41590', 'name': 'ctest-vn-42001047', 'tenant_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'project_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bdfa8f64-24a1-454f-a3ed-d596f07678de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80869794', 'ctest-vn-42001047'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80869794', 'ctest-policy-allow-all-44545266']], 'subnet_ipam': [{'subnet_cidr': '177.80.15.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:44:28,259 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '734139fe-c887-4b75-9e98-eafa2ad37b99', 'name': 'ctest-vn-19450532', 'tenant_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'project_id': 'bbaeedcb5d354bedac2775cf6a297b70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a26253e-e7c3-46b7-a294-ee8034a2df0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80869794', 'ctest-vn-19450532'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80869794', 'ctest-policy-allow-all-44545266']], 'subnet_ipam': [{'subnet_cidr': '76.33.240.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:44:28,367 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 02:44:28,678 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 02:44:28,723 - DEBUG - Requesting: http://10.0.0.130:8082/domain/dbbdb6d5-ac40-4bc8-b2c9-9c29259fb031 2026-02-12 02:44:28,736 - DEBUG - Requesting: http://10.0.0.130:8082/project/bbaeedcb-5d35-4bed-ac27-75cf6a297b70 2026-02-12 02:44:28,828 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/671fd75e-45a5-4495-8184-6a77e8d41590 2026-02-12 02:44:28,843 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/671fd75e-45a5-4495-8184-6a77e8d41590 2026-02-12 02:44:28,856 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2a0496de-52aa-40f2-8a62-b7dd87c7637f 2026-02-12 02:44:28,865 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2a0496de-52aa-40f2-8a62-b7dd87c7637f 2026-02-12 02:44:28,874 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/21f2449b-34ee-4033-8d4c-38a99de9e23b 2026-02-12 02:44:28,883 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 02:44:28,883 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/671fd75e-45a5-4495-8184-6a77e8d41590 2026-02-12 02:44:28,893 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2a0496de-52aa-40f2-8a62-b7dd87c7637f 2026-02-12 02:44:28,911 - INFO - Verified VN network id 15 for VN 671fd75e-45a5-4495-8184-6a77e8d41590 2026-02-12 02:44:28,911 - INFO - Verifications in API Server for VN ctest-vn-42001047 passed 2026-02-12 02:44:28,911 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/671fd75e-45a5-4495-8184-6a77e8d41590 2026-02-12 02:44:28,925 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2a0496de-52aa-40f2-8a62-b7dd87c7637f 2026-02-12 02:44:28,933 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2a0496de-52aa-40f2-8a62-b7dd87c7637f 2026-02-12 02:44:28,941 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/21f2449b-34ee-4033-8d4c-38a99de9e23b 2026-02-12 02:44:28,955 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80869794', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7430894710079964309', 'uuid-lslong': '9332701391058376080'}, 'enable': 'true', 'created': '2026-02-12T02:44:26', 'last-modified': '2026-02-12T02:44:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957960'} 2026-02-12 02:44:28,960 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 02:44:28,965 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80869794', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7430894710079964309', 'uuid-lslong': '9332701391058376080'}, 'enable': 'true', 'created': '2026-02-12T02:44:26', 'last-modified': '2026-02-12T02:44:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965845'} 2026-02-12 02:44:28,971 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 02:44:28,976 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80869794', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7430894710079964309', 'uuid-lslong': '9332701391058376080'}, 'enable': 'true', 'created': '2026-02-12T02:44:26', 'last-modified': '2026-02-12T02:44:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976851'} 2026-02-12 02:44:28,981 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 02:44:28,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42001047 passed 2026-02-12 02:44:28,982 - DEBUG - ====Verifying policy data for ctest-vn-42001047 in API_Server ====== 2026-02-12 02:44:28,982 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 02:44:28,989 - DEBUG - Requesting: http://10.0.0.130:8082/domain/dbbdb6d5-ac40-4bc8-b2c9-9c29259fb031 2026-02-12 02:44:29,000 - DEBUG - Requesting: http://10.0.0.130:8082/project/bbaeedcb-5d35-4bed-ac27-75cf6a297b70 2026-02-12 02:44:29,100 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/671fd75e-45a5-4495-8184-6a77e8d41590 2026-02-12 02:44:29,111 - DEBUG - ==>Verifying data for policy with id: 1f51df93-7a7d-4ad5-8855-5ea233fbd641, fqn: ['default-domain', 'ctest-TestBasicPolicy-80869794', 'ctest-policy-allow-all-44545266'] 2026-02-12 02:44:29,111 - INFO - VN ctest-vn-42001047 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 02:44:29,111 - DEBUG - Verifying the vn in opserver 2026-02-12 02:44:29,111 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 virtual network link through opserver 10.0.0.130 2026-02-12 02:44:29,111 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-02-12 02:44:29,416 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-02-12 02:44:29,478 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047?flat'} 2026-02-12 02:44:29,478 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 virtual network link through opserver 10.0.0.22 2026-02-12 02:44:29,478 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-12 02:44:29,779 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-12 02:44:29,838 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047?flat'} 2026-02-12 02:44:29,838 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 virtual network link through opserver 10.0.0.23 2026-02-12 02:44:29,839 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-12 02:44:30,140 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-12 02:44:30,214 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047?flat'} 2026-02-12 02:44:30,214 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 is found in opserver 2026-02-12 02:44:30,234 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 02:44:30,243 - DEBUG - VRF ids for VN ctest-vn-42001047: {} 2026-02-12 02:44:30,243 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 02:44:30,250 - DEBUG - Requesting: http://10.0.0.130:8082/domain/dbbdb6d5-ac40-4bc8-b2c9-9c29259fb031 2026-02-12 02:44:30,264 - DEBUG - Requesting: http://10.0.0.130:8082/project/bbaeedcb-5d35-4bed-ac27-75cf6a297b70 2026-02-12 02:44:30,360 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/734139fe-c887-4b75-9e98-eafa2ad37b99 2026-02-12 02:44:30,386 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/734139fe-c887-4b75-9e98-eafa2ad37b99 2026-02-12 02:44:30,397 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ae97ed9d-f0fe-4799-b5ea-3b25fbba2eee 2026-02-12 02:44:30,405 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ae97ed9d-f0fe-4799-b5ea-3b25fbba2eee 2026-02-12 02:44:30,413 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/deb6d3cc-9be5-4a94-8d9c-291393e52d25 2026-02-12 02:44:30,419 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-12 02:44:30,419 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/734139fe-c887-4b75-9e98-eafa2ad37b99 2026-02-12 02:44:30,427 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ae97ed9d-f0fe-4799-b5ea-3b25fbba2eee 2026-02-12 02:44:30,442 - INFO - Verified VN network id 16 for VN 734139fe-c887-4b75-9e98-eafa2ad37b99 2026-02-12 02:44:30,442 - INFO - Verifications in API Server for VN ctest-vn-19450532 passed 2026-02-12 02:44:30,442 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/734139fe-c887-4b75-9e98-eafa2ad37b99 2026-02-12 02:44:30,458 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ae97ed9d-f0fe-4799-b5ea-3b25fbba2eee 2026-02-12 02:44:30,466 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ae97ed9d-f0fe-4799-b5ea-3b25fbba2eee 2026-02-12 02:44:30,476 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/deb6d3cc-9be5-4a94-8d9c-291393e52d25 2026-02-12 02:44:30,492 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80869794', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8304982954296691573', 'uuid-lslong': '11428142414633859993'}, 'enable': 'true', 'created': '2026-02-12T02:44:27', 'last-modified': '2026-02-12T02:44:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.289156'} 2026-02-12 02:44:30,498 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-12 02:44:30,502 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80869794', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8304982954296691573', 'uuid-lslong': '11428142414633859993'}, 'enable': 'true', 'created': '2026-02-12T02:44:27', 'last-modified': '2026-02-12T02:44:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.292705'} 2026-02-12 02:44:30,509 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-12 02:44:30,514 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80869794', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8304982954296691573', 'uuid-lslong': '11428142414633859993'}, 'enable': 'true', 'created': '2026-02-12T02:44:27', 'last-modified': '2026-02-12T02:44:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.304040'} 2026-02-12 02:44:30,519 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-12 02:44:30,519 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19450532 passed 2026-02-12 02:44:30,519 - DEBUG - ====Verifying policy data for ctest-vn-19450532 in API_Server ====== 2026-02-12 02:44:30,519 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 02:44:30,525 - DEBUG - Requesting: http://10.0.0.130:8082/domain/dbbdb6d5-ac40-4bc8-b2c9-9c29259fb031 2026-02-12 02:44:30,537 - DEBUG - Requesting: http://10.0.0.130:8082/project/bbaeedcb-5d35-4bed-ac27-75cf6a297b70 2026-02-12 02:44:30,637 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/734139fe-c887-4b75-9e98-eafa2ad37b99 2026-02-12 02:44:30,647 - DEBUG - ==>Verifying data for policy with id: 1f51df93-7a7d-4ad5-8855-5ea233fbd641, fqn: ['default-domain', 'ctest-TestBasicPolicy-80869794', 'ctest-policy-allow-all-44545266'] 2026-02-12 02:44:30,647 - INFO - VN ctest-vn-19450532 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 02:44:30,647 - DEBUG - Verifying the vn in opserver 2026-02-12 02:44:30,647 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532 virtual network link through opserver 10.0.0.130 2026-02-12 02:44:30,647 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-02-12 02:44:30,707 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532?flat'} 2026-02-12 02:44:30,707 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532 virtual network link through opserver 10.0.0.22 2026-02-12 02:44:30,707 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-12 02:44:30,767 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532?flat'} 2026-02-12 02:44:30,767 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532 virtual network link through opserver 10.0.0.23 2026-02-12 02:44:30,767 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-12 02:44:30,837 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532?flat'} 2026-02-12 02:44:30,837 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-19450532 is found in opserver 2026-02-12 02:44:30,855 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 02:44:30,865 - DEBUG - VRF ids for VN ctest-vn-19450532: {} 2026-02-12 02:44:30,924 - DEBUG - Services list from nova: [, , , ] 2026-02-12 02:44:32,030 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5305-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5305-2) 2026-02-12 02:44:33,422 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5305-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5305-1) 2026-02-12 02:44:33,423 - INFO - Waiting for VM ctest-TestBasicPolicy-80869794-03614493 to be up.. 2026-02-12 02:44:33,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 02:44:38,579 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:44:38,579 - INFO - VM name : ctest-TestBasicPolicy-80869794-03614493 2026-02-12 02:44:38,655 - DEBUG - VM ctest-TestBasicPolicy-80869794-03614493 ID is c5dc4569-197d-44c0-83e2-ebf91f5c308e 2026-02-12 02:44:38,683 - DEBUG - VM ctest-TestBasicPolicy-80869794-03614493 launched on Node an-jenkins-deploy-platform-ansible-os-5305-2 2026-02-12 02:44:38,764 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c5dc4569-197d-44c0-83e2-ebf91f5c308e 2026-02-12 02:44:39,069 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c5dc4569-197d-44c0-83e2-ebf91f5c308e 2026-02-12 02:44:39,101 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/aa5e6665-cdc9-41cf-8545-86a8b869fdb6 2026-02-12 02:44:42,275 - 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 1016ms') 2026-02-12 02:44:42,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-03614493 failed! 2026-02-12 02:44:42,288 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 is 177.80.15.129 and allocation pool is NOT set 2026-02-12 02:44:46,366 - 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 1023ms') 2026-02-12 02:44:46,366 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-03614493 failed! 2026-02-12 02:44:46,378 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 is 177.80.15.129 and allocation pool is NOT set 2026-02-12 02:44:50,468 - 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 1027ms') 2026-02-12 02:44:50,468 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-03614493 failed! 2026-02-12 02:44:50,482 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 is 177.80.15.129 and allocation pool is NOT set 2026-02-12 02:44:54,565 - 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 1023ms') 2026-02-12 02:44:54,565 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-03614493 failed! 2026-02-12 02:44:54,579 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 is 177.80.15.129 and allocation pool is NOT set 2026-02-12 02:44:58,657 - 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 1019ms') 2026-02-12 02:44:58,657 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-03614493 failed! 2026-02-12 02:44:58,669 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 is 177.80.15.129 and allocation pool is NOT set 2026-02-12 02:45:02,759 - 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 1023ms') 2026-02-12 02:45:02,759 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-03614493 failed! 2026-02-12 02:45:02,773 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 is 177.80.15.129 and allocation pool is NOT set 2026-02-12 02:45:06,847 - 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-02-12 02:45:06,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-03614493 failed! 2026-02-12 02:45:06,861 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 is 177.80.15.129 and allocation pool is NOT set 2026-02-12 02:45:10,943 - 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 1027ms') 2026-02-12 02:45:10,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-03614493 failed! 2026-02-12 02:45:10,956 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80869794:ctest-vn-42001047 is 177.80.15.129 and allocation pool is NOT set 2026-02-12 02:45:13,017 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.619 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.619/3.275/5.931/2.656 ms') 2026-02-12 02:45:13,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-03614493 passed 2026-02-12 02:45:13,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:45:13,091 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80869794-03614493, IP 177.80.15.131, Port 22 2026-02-12 02:45:13,159 - 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-02-12 02:45:13,247 - DEBUG - VM ctest-TestBasicPolicy-80869794-03614493 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 02:45:18,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:45:18,248 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80869794-03614493, IP 177.80.15.131, Port 22 2026-02-12 02:45:18,305 - 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-02-12 02:45:18,393 - DEBUG - VM ctest-TestBasicPolicy-80869794-03614493 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 02:45:23,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:45:23,394 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80869794-03614493, IP 177.80.15.131, Port 22 2026-02-12 02:45:23,449 - 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-02-12 02:45:23,531 - DEBUG - VM ctest-TestBasicPolicy-80869794-03614493 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 02:45:28,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:45:28,532 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80869794-03614493, IP 177.80.15.131, Port 22 2026-02-12 02:45:28,698 - DEBUG - VM ctest-TestBasicPolicy-80869794-03614493 is ready for SSH connections 2026-02-12 02:45:28,698 - INFO - Waiting for VM ctest-TestBasicPolicy-80869794-51992304 to be up.. 2026-02-12 02:45:28,779 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:45:28,779 - INFO - VM name : ctest-TestBasicPolicy-80869794-51992304 2026-02-12 02:45:28,865 - DEBUG - VM ctest-TestBasicPolicy-80869794-51992304 ID is 6fba8798-18b2-4081-a783-aabc986342fe 2026-02-12 02:45:28,865 - DEBUG - VM ctest-TestBasicPolicy-80869794-51992304 launched on Node an-jenkins-deploy-platform-ansible-os-5305-1 2026-02-12 02:45:28,938 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6fba8798-18b2-4081-a783-aabc986342fe 2026-02-12 02:45:28,947 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/dc86bdc7-9753-43b9-ac1d-e48f0a7cfbdc 2026-02-12 02:45:30,101 - 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=2.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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 = 2.465/2.618/2.771/0.153 ms') 2026-02-12 02:45:30,101 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80869794-51992304 passed 2026-02-12 02:45:30,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:45:30,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80869794-51992304, IP 76.33.240.67, Port 22 2026-02-12 02:45:30,341 - DEBUG - VM ctest-TestBasicPolicy-80869794-51992304 is ready for SSH connections 2026-02-12 02:45:30,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:45:30,341 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.33.240.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 02:45:30,342 - DEBUG - ping -s 56 -c 3 -W 1 76.33.240.67 2026-02-12 02:45:52,270 - DEBUG - PING 76.33.240.67 (76.33.240.67) 56(84) bytes of data. 64 bytes from 76.33.240.67: icmp_req=1 ttl=63 time=8.07 ms 64 bytes from 76.33.240.67: icmp_req=2 ttl=63 time=1.44 ms 64 bytes from 76.33.240.67: icmp_req=3 ttl=63 time=1.16 ms --- 76.33.240.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.167/3.563/8.078/3.194 ms 2026-02-12 02:45:52,270 - INFO - Ping to IP 76.33.240.67 from VM ctest-TestBasicPolicy-80869794-03614493 passed 2026-02-12 02:45:52,457 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1f51df93-7a7d-4ad5-8855-5ea233fbd641", "href": "http://10.0.0.23:8082/network-policy/1f51df93-7a7d-4ad5-8855-5ea233fbd641"}} 2026-02-12 02:45:52,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:45:52,457 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.33.240.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 02:45:52,457 - DEBUG - ping -s 56 -c 3 -W 1 76.33.240.67 2026-02-12 02:45:56,254 - DEBUG - PING 76.33.240.67 (76.33.240.67) 56(84) bytes of data. --- 76.33.240.67 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms 2026-02-12 02:45:56,254 - WARNING - Ping to IP 76.33.240.67 from VM ctest-TestBasicPolicy-80869794-03614493 failed 2026-02-12 02:45:56,254 - INFO - Deleting VM ctest-TestBasicPolicy-80869794-51992304 2026-02-12 02:45:56,331 - INFO - Deleting VM ctest-TestBasicPolicy-80869794-03614493 2026-02-12 02:45:56,742 - INFO - Deleted policy ctest-policy-allow-all-44545266 2026-02-12 02:45:56,742 - INFO - Deleting VN ctest-vn-19450532 2026-02-12 02:45:56,787 - DEBUG - VN 734139fe-c887-4b75-9e98-eafa2ad37b99 still in use: Unable to complete operation on network 734139fe-c887-4b75-9e98-eafa2ad37b99. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74e2392f-1638-48ee-9b01-44245c02f31f'] 2026-02-12 02:45:56,788 - WARNING - Deleting VN ctest-vn-19450532 failed..Will retry 2026-02-12 02:45:58,943 - DEBUG - Response for deleting network () 2026-02-12 02:45:58,943 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ae97ed9d-f0fe-4799-b5ea-3b25fbba2eee 2026-02-12 02:45:58,949 - DEBUG - Response Code: 404 2026-02-12 02:45:58,949 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 02:45:58,954 - DEBUG - Requesting: http://10.0.0.130:8082/domain/dbbdb6d5-ac40-4bc8-b2c9-9c29259fb031 2026-02-12 02:45:58,975 - DEBUG - Requesting: http://10.0.0.130:8082/project/bbaeedcb-5d35-4bed-ac27-75cf6a297b70 2026-02-12 02:45:59,063 - INFO - Validated that VN ctest-vn-19450532 is not found in API Server 2026-02-12 02:45:59,077 - DEBUG - VN ctest-vn-19450532 is not present in Agent 10.0.0.141 2026-02-12 02:45:59,087 - DEBUG - VN ctest-vn-19450532 is not present in Agent 10.0.0.131 2026-02-12 02:45:59,087 - INFO - Validated that VN ctest-vn-19450532 is not in any agent 2026-02-12 02:45:59,117 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19450532 info 2026-02-12 02:45:59,117 - INFO - Deleting VN ctest-vn-42001047 2026-02-12 02:45:59,260 - DEBUG - Response for deleting network () 2026-02-12 02:45:59,260 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2a0496de-52aa-40f2-8a62-b7dd87c7637f 2026-02-12 02:45:59,267 - DEBUG - Response Code: 404 2026-02-12 02:45:59,267 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 02:45:59,272 - DEBUG - Requesting: http://10.0.0.130:8082/domain/dbbdb6d5-ac40-4bc8-b2c9-9c29259fb031 2026-02-12 02:45:59,293 - DEBUG - Requesting: http://10.0.0.130:8082/project/bbaeedcb-5d35-4bed-ac27-75cf6a297b70 2026-02-12 02:45:59,373 - INFO - Validated that VN ctest-vn-42001047 is not found in API Server 2026-02-12 02:45:59,383 - DEBUG - VN ctest-vn-42001047 is not present in Agent 10.0.0.141 2026-02-12 02:45:59,394 - DEBUG - VN ctest-vn-42001047 is not present in Agent 10.0.0.131 2026-02-12 02:45:59,394 - INFO - Validated that VN ctest-vn-42001047 is not in any agent 2026-02-12 02:45:59,422 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42001047 info 2026-02-12 02:46:00,685 - DEBUG - No XMPP flaps were noticed during the test 2026-02-12 02:46:00,685 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:36] 2026-02-12 02:46:00,685 - INFO - -------------------------------------------------------------------------------- 2026-02-12 02:46:01,487 - INFO - Deleted project: ctest-TestBasicPolicy-80869794, ID : bbaeedcb-5d35-4bed-ac27-75cf6a297b70