2026-03-26 02:47:42,289 - INFO - Domain Default found not creating 2026-03-26 02:47:42,465 - INFO - Project ctest-TestBasicPolicy-08580931 not found, creating it 2026-03-26 02:47:43,039 - INFO - Created Project:ctest-TestBasicPolicy-08580931, ID : 1b71110b-3e85-423e-8a2f-c224bf4b89dc 2026-03-26 02:47:44,731 - INFO - ================================================================================ 2026-03-26 02:47:44,732 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-26 02:47:44,732 - 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-03-26 02:47:46,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.23': {'10.20.0.254': '0', '10.20.0.18': '0'}} with 2026-03-26 02:47:46,016 - INFO - Initial checks done. Running the testcase now 2026-03-26 02:47:46,016 - INFO - 2026-03-26 02:47:46,830 - DEBUG - Response for create_network : {'network': {'id': '80cae29b-9ed9-4388-84bc-02dc7d903fbb', 'name': 'ctest-vn-74766505', 'tenant_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'project_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08580931', 'ctest-vn-74766505'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:47:47,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '8878d7c2-5073-4899-8ffe-167788325801', 'name': '', 'tenant_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'network_id': '80cae29b-9ed9-4388-84bc-02dc7d903fbb', 'ip_version': 4, 'cidr': '4.27.55.0/26', 'allocation_pools': [{'start': '4.27.55.2', 'end': '4.27.55.62'}], 'gateway_ip': '4.27.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.27.55.2', 'tags': [], 'project_id': '1b71110b3e85423e8a2fc224bf4b89dc'}} 2026-03-26 02:47:47,141 - INFO - Created VN ctest-vn-74766505 2026-03-26 02:47:47,155 - DEBUG - VN ctest-vn-74766505 UUID is 80cae29b-9ed9-4388-84bc-02dc7d903fbb 2026-03-26 02:47:47,551 - DEBUG - Response for create_network : {'network': {'id': 'f78ec699-2ea6-48e8-9792-1cec19d8ba6f', 'name': 'ctest-vn-35015541', 'tenant_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'project_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08580931', 'ctest-vn-35015541'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:47:47,830 - DEBUG - Response for create_subnet : {'subnet': {'id': '43db906e-e9a6-4be3-af60-b998c5c8b6bf', 'name': '', 'tenant_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'network_id': 'f78ec699-2ea6-48e8-9792-1cec19d8ba6f', 'ip_version': 4, 'cidr': '199.119.68.192/26', 'allocation_pools': [{'start': '199.119.68.194', 'end': '199.119.68.254'}], 'gateway_ip': '199.119.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.119.68.194', 'tags': [], 'project_id': '1b71110b3e85423e8a2fc224bf4b89dc'}} 2026-03-26 02:47:47,861 - INFO - Created VN ctest-vn-35015541 2026-03-26 02:47:47,874 - DEBUG - VN ctest-vn-35015541 UUID is f78ec699-2ea6-48e8-9792-1cec19d8ba6f 2026-03-26 02:47:47,957 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505, 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-08580931:ctest-vn-35015541, 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-03-26 02:47:48,285 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80cae29b-9ed9-4388-84bc-02dc7d903fbb', 'name': 'ctest-vn-74766505', 'tenant_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'project_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8878d7c2-5073-4899-8ffe-167788325801'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08580931', 'ctest-vn-74766505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08580931', 'ctest-policy-allow-all-10591054']], 'subnet_ipam': [{'subnet_cidr': '4.27.55.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:47:48,495 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f78ec699-2ea6-48e8-9792-1cec19d8ba6f', 'name': 'ctest-vn-35015541', 'tenant_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'project_id': '1b71110b3e85423e8a2fc224bf4b89dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43db906e-e9a6-4be3-af60-b998c5c8b6bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08580931', 'ctest-vn-35015541'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08580931', 'ctest-policy-allow-all-10591054']], 'subnet_ipam': [{'subnet_cidr': '199.119.68.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:47:48,601 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-03-26 02:47:48,983 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-03-26 02:47:49,014 - DEBUG - Requesting: http://10.0.0.240:8082/domain/b07ef41d-f358-4169-a694-2c6c20158c87 2026-03-26 02:47:49,028 - DEBUG - Requesting: http://10.0.0.240:8082/project/1b71110b-3e85-423e-8a2f-c224bf4b89dc 2026-03-26 02:47:49,124 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/80cae29b-9ed9-4388-84bc-02dc7d903fbb 2026-03-26 02:47:49,140 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/80cae29b-9ed9-4388-84bc-02dc7d903fbb 2026-03-26 02:47:49,151 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/acd541ec-07ec-4291-8b9b-7d9e004364bc 2026-03-26 02:47:49,159 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/acd541ec-07ec-4291-8b9b-7d9e004364bc 2026-03-26 02:47:49,167 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/786d0c2a-b3e1-4d0b-844d-1b3fab3c85f8 2026-03-26 02:47:49,174 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-26 02:47:49,174 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/80cae29b-9ed9-4388-84bc-02dc7d903fbb 2026-03-26 02:47:49,184 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/acd541ec-07ec-4291-8b9b-7d9e004364bc 2026-03-26 02:47:49,198 - INFO - Verified VN network id 16 for VN 80cae29b-9ed9-4388-84bc-02dc7d903fbb 2026-03-26 02:47:49,198 - INFO - Verifications in API Server for VN ctest-vn-74766505 passed 2026-03-26 02:47:49,199 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/80cae29b-9ed9-4388-84bc-02dc7d903fbb 2026-03-26 02:47:49,208 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/acd541ec-07ec-4291-8b9b-7d9e004364bc 2026-03-26 02:47:49,216 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/acd541ec-07ec-4291-8b9b-7d9e004364bc 2026-03-26 02:47:49,223 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/786d0c2a-b3e1-4d0b-844d-1b3fab3c85f8 2026-03-26 02:47:49,234 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08580931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9280479140163175304', 'uuid-lslong': '9564522854650757051'}, 'enable': 'true', 'created': '2026-03-26T02:47:46', 'last-modified': '2026-03-26T02:47:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977396'} 2026-03-26 02:47:49,241 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-26 02:47:49,246 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08580931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9280479140163175304', 'uuid-lslong': '9564522854650757051'}, 'enable': 'true', 'created': '2026-03-26T02:47:46', 'last-modified': '2026-03-26T02:47:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992147'} 2026-03-26 02:47:49,252 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-26 02:47:49,259 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08580931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9280479140163175304', 'uuid-lslong': '9564522854650757051'}, 'enable': 'true', 'created': '2026-03-26T02:47:46', 'last-modified': '2026-03-26T02:47:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005853'} 2026-03-26 02:47:49,266 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-26 02:47:49,266 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74766505 passed 2026-03-26 02:47:49,266 - DEBUG - ====Verifying policy data for ctest-vn-74766505 in API_Server ====== 2026-03-26 02:47:49,266 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-03-26 02:47:49,278 - DEBUG - Requesting: http://10.0.0.240:8082/domain/b07ef41d-f358-4169-a694-2c6c20158c87 2026-03-26 02:47:49,304 - DEBUG - Requesting: http://10.0.0.240:8082/project/1b71110b-3e85-423e-8a2f-c224bf4b89dc 2026-03-26 02:47:49,408 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/80cae29b-9ed9-4388-84bc-02dc7d903fbb 2026-03-26 02:47:49,424 - DEBUG - ==>Verifying data for policy with id: 6e2483ec-9283-4462-8e5f-004a2f7c4aa9, fqn: ['default-domain', 'ctest-TestBasicPolicy-08580931', 'ctest-policy-allow-all-10591054'] 2026-03-26 02:47:49,424 - INFO - VN ctest-vn-74766505 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-26 02:47:49,424 - DEBUG - Verifying the vn in opserver 2026-03-26 02:47:49,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 virtual network link through opserver 10.0.0.240 2026-03-26 02:47:49,425 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-03-26 02:47:49,773 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-03-26 02:47:49,845 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505?flat'} 2026-03-26 02:47:49,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 virtual network link through opserver 10.0.0.22 2026-03-26 02:47:49,845 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-26 02:47:50,187 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-26 02:47:50,251 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505?flat'} 2026-03-26 02:47:50,251 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 virtual network link through opserver 10.0.0.65 2026-03-26 02:47:50,251 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-03-26 02:47:50,591 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-03-26 02:47:50,659 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505?flat'} 2026-03-26 02:47:50,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 is found in opserver 2026-03-26 02:47:50,678 - DEBUG - Do not have enough data to verify VN in agent 2026-03-26 02:47:50,686 - DEBUG - VRF ids for VN ctest-vn-74766505: {} 2026-03-26 02:47:50,686 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-03-26 02:47:50,693 - DEBUG - Requesting: http://10.0.0.240:8082/domain/b07ef41d-f358-4169-a694-2c6c20158c87 2026-03-26 02:47:50,706 - DEBUG - Requesting: http://10.0.0.240:8082/project/1b71110b-3e85-423e-8a2f-c224bf4b89dc 2026-03-26 02:47:50,801 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f78ec699-2ea6-48e8-9792-1cec19d8ba6f 2026-03-26 02:47:50,815 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f78ec699-2ea6-48e8-9792-1cec19d8ba6f 2026-03-26 02:47:50,825 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9bb8c945-87f9-4473-8728-d956c16f6d7e 2026-03-26 02:47:50,835 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9bb8c945-87f9-4473-8728-d956c16f6d7e 2026-03-26 02:47:50,845 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/6423988c-6ae2-452c-b2fc-e3a4ef4d130b 2026-03-26 02:47:50,853 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-26 02:47:50,853 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f78ec699-2ea6-48e8-9792-1cec19d8ba6f 2026-03-26 02:47:50,865 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9bb8c945-87f9-4473-8728-d956c16f6d7e 2026-03-26 02:47:50,883 - INFO - Verified VN network id 17 for VN f78ec699-2ea6-48e8-9792-1cec19d8ba6f 2026-03-26 02:47:50,883 - INFO - Verifications in API Server for VN ctest-vn-35015541 passed 2026-03-26 02:47:50,883 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f78ec699-2ea6-48e8-9792-1cec19d8ba6f 2026-03-26 02:47:50,893 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9bb8c945-87f9-4473-8728-d956c16f6d7e 2026-03-26 02:47:50,903 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9bb8c945-87f9-4473-8728-d956c16f6d7e 2026-03-26 02:47:50,911 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/6423988c-6ae2-452c-b2fc-e3a4ef4d130b 2026-03-26 02:47:50,924 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08580931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17838413535276058856', 'uuid-lslong': '10921823846698367599'}, 'enable': 'true', 'created': '2026-03-26T02:47:47', 'last-modified': '2026-03-26T02:47:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.457968'} 2026-03-26 02:47:50,930 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-26 02:47:50,935 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08580931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17838413535276058856', 'uuid-lslong': '10921823846698367599'}, 'enable': 'true', 'created': '2026-03-26T02:47:47', 'last-modified': '2026-03-26T02:47:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.470848'} 2026-03-26 02:47:50,941 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-26 02:47:50,946 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08580931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17838413535276058856', 'uuid-lslong': '10921823846698367599'}, 'enable': 'true', 'created': '2026-03-26T02:47:47', 'last-modified': '2026-03-26T02:47:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.483969'} 2026-03-26 02:47:50,953 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-26 02:47:50,953 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35015541 passed 2026-03-26 02:47:50,953 - DEBUG - ====Verifying policy data for ctest-vn-35015541 in API_Server ====== 2026-03-26 02:47:50,953 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-03-26 02:47:50,960 - DEBUG - Requesting: http://10.0.0.240:8082/domain/b07ef41d-f358-4169-a694-2c6c20158c87 2026-03-26 02:47:50,972 - DEBUG - Requesting: http://10.0.0.240:8082/project/1b71110b-3e85-423e-8a2f-c224bf4b89dc 2026-03-26 02:47:51,062 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f78ec699-2ea6-48e8-9792-1cec19d8ba6f 2026-03-26 02:47:51,071 - DEBUG - ==>Verifying data for policy with id: 6e2483ec-9283-4462-8e5f-004a2f7c4aa9, fqn: ['default-domain', 'ctest-TestBasicPolicy-08580931', 'ctest-policy-allow-all-10591054'] 2026-03-26 02:47:51,071 - INFO - VN ctest-vn-35015541 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-26 02:47:51,072 - DEBUG - Verifying the vn in opserver 2026-03-26 02:47:51,072 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541 virtual network link through opserver 10.0.0.240 2026-03-26 02:47:51,072 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-03-26 02:47:51,130 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541?flat'} 2026-03-26 02:47:51,130 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541 virtual network link through opserver 10.0.0.22 2026-03-26 02:47:51,130 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-26 02:47:51,205 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541?flat'} 2026-03-26 02:47:51,205 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541 virtual network link through opserver 10.0.0.65 2026-03-26 02:47:51,205 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-03-26 02:47:51,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541?flat'} 2026-03-26 02:47:51,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-35015541 is found in opserver 2026-03-26 02:47:51,283 - DEBUG - Do not have enough data to verify VN in agent 2026-03-26 02:47:51,293 - DEBUG - VRF ids for VN ctest-vn-35015541: {} 2026-03-26 02:47:51,356 - DEBUG - Services list from nova: [, , , ] 2026-03-26 02:47:52,611 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5545-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5545-2) 2026-03-26 02:47:54,029 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5545-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5545-1) 2026-03-26 02:47:54,030 - INFO - Waiting for VM ctest-TestBasicPolicy-08580931-77991274 to be up.. 2026-03-26 02:47:54,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-26 02:47:59,218 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:47:59,218 - INFO - VM name : ctest-TestBasicPolicy-08580931-77991274 2026-03-26 02:47:59,320 - DEBUG - VM ctest-TestBasicPolicy-08580931-77991274 ID is 9f56357f-f274-4003-b3f6-a26a0924f71f 2026-03-26 02:47:59,350 - DEBUG - VM ctest-TestBasicPolicy-08580931-77991274 launched on Node an-jenkins-deploy-platform-ansible-os-5545-2 2026-03-26 02:47:59,445 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/9f56357f-f274-4003-b3f6-a26a0924f71f 2026-03-26 02:47:59,785 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/9f56357f-f274-4003-b3f6-a26a0924f71f 2026-03-26 02:47:59,827 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c62c63d8-ad46-4a0f-9b67-374ddd6e938e 2026-03-26 02:48:02,977 - 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 1001ms') 2026-03-26 02:48:02,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08580931-77991274 failed! 2026-03-26 02:48:02,995 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 is 4.27.55.1 and allocation pool is NOT set 2026-03-26 02:48:07,078 - 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-03-26 02:48:07,078 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08580931-77991274 failed! 2026-03-26 02:48:07,092 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 is 4.27.55.1 and allocation pool is NOT set 2026-03-26 02:48:11,178 - 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-03-26 02:48:11,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08580931-77991274 failed! 2026-03-26 02:48:11,194 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 is 4.27.55.1 and allocation pool is NOT set 2026-03-26 02:48:15,268 - 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-03-26 02:48:15,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08580931-77991274 failed! 2026-03-26 02:48:15,282 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 is 4.27.55.1 and allocation pool is NOT set 2026-03-26 02:48:19,361 - 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-03-26 02:48:19,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08580931-77991274 failed! 2026-03-26 02:48:19,377 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 is 4.27.55.1 and allocation pool is NOT set 2026-03-26 02:48:23,461 - 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-03-26 02:48:23,461 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08580931-77991274 failed! 2026-03-26 02:48:23,477 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 is 4.27.55.1 and allocation pool is NOT set 2026-03-26 02:48:27,554 - 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-03-26 02:48:27,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08580931-77991274 failed! 2026-03-26 02:48:27,568 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08580931:ctest-vn-74766505 is 4.27.55.1 and allocation pool is NOT set 2026-03-26 02:48:31,652 - 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=2 ttl=63 time=53.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 53.048/53.048/53.048/0.000 ms') 2026-03-26 02:48:31,652 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08580931-77991274 passed 2026-03-26 02:48:31,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:48:31,721 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08580931-77991274, IP 4.27.55.3, Port 22 2026-03-26 02:48:31,789 - 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-03-26 02:48:31,880 - DEBUG - VM ctest-TestBasicPolicy-08580931-77991274 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-26 02:48:36,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:48:36,881 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08580931-77991274, IP 4.27.55.3, Port 22 2026-03-26 02:48:36,939 - 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-03-26 02:48:37,033 - DEBUG - VM ctest-TestBasicPolicy-08580931-77991274 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-26 02:48:42,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:48:42,034 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08580931-77991274, IP 4.27.55.3, Port 22 2026-03-26 02:48:42,090 - 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-03-26 02:48:42,177 - DEBUG - VM ctest-TestBasicPolicy-08580931-77991274 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-26 02:48:47,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:48:47,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08580931-77991274, IP 4.27.55.3, Port 22 2026-03-26 02:48:47,247 - 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-03-26 02:48:47,340 - DEBUG - VM ctest-TestBasicPolicy-08580931-77991274 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-26 02:48:52,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:48:52,341 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08580931-77991274, IP 4.27.55.3, Port 22 2026-03-26 02:48:52,504 - DEBUG - VM ctest-TestBasicPolicy-08580931-77991274 is ready for SSH connections 2026-03-26 02:48:52,504 - INFO - Waiting for VM ctest-TestBasicPolicy-08580931-44401143 to be up.. 2026-03-26 02:48:52,598 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:48:52,598 - INFO - VM name : ctest-TestBasicPolicy-08580931-44401143 2026-03-26 02:48:52,682 - DEBUG - VM ctest-TestBasicPolicy-08580931-44401143 ID is 6dcddc5b-ad7b-46b8-960f-2548fabc4f25 2026-03-26 02:48:52,682 - DEBUG - VM ctest-TestBasicPolicy-08580931-44401143 launched on Node an-jenkins-deploy-platform-ansible-os-5545-1 2026-03-26 02:48:52,778 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/6dcddc5b-ad7b-46b8-960f-2548fabc4f25 2026-03-26 02:48:52,788 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8ee1a910-06e7-4dc6-a161-88906da5c76d 2026-03-26 02:48:53,951 - 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=4.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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 = 1.178/2.903/4.629/1.725 ms') 2026-03-26 02:48:53,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08580931-44401143 passed 2026-03-26 02:48:54,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:48:54,020 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08580931-44401143, IP 199.119.68.195, Port 22 2026-03-26 02:48:54,185 - DEBUG - VM ctest-TestBasicPolicy-08580931-44401143 is ready for SSH connections 2026-03-26 02:48:54,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:48:54,186 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.119.68.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-03-26 02:48:54,186 - DEBUG - ping -s 56 -c 3 -W 1 199.119.68.195 2026-03-26 02:49:13,763 - DEBUG - PING 199.119.68.195 (199.119.68.195) 56(84) bytes of data. 64 bytes from 199.119.68.195: icmp_req=1 ttl=63 time=7.63 ms 64 bytes from 199.119.68.195: icmp_req=2 ttl=63 time=1.57 ms 64 bytes from 199.119.68.195: icmp_req=3 ttl=63 time=0.975 ms --- 199.119.68.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.975/3.393/7.632/3.007 ms 2026-03-26 02:49:13,763 - INFO - Ping to IP 199.119.68.195 from VM ctest-TestBasicPolicy-08580931-77991274 passed 2026-03-26 02:49:13,967 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6e2483ec-9283-4462-8e5f-004a2f7c4aa9", "href": "http://10.0.0.65:8082/network-policy/6e2483ec-9283-4462-8e5f-004a2f7c4aa9"}} 2026-03-26 02:49:13,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:49:13,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.119.68.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-03-26 02:49:13,967 - DEBUG - ping -s 56 -c 3 -W 1 199.119.68.195 2026-03-26 02:49:17,434 - DEBUG - PING 199.119.68.195 (199.119.68.195) 56(84) bytes of data. 64 bytes from 199.119.68.195: icmp_req=1 ttl=63 time=3.68 ms --- 199.119.68.195 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2008ms rtt min/avg/max/mdev = 3.686/3.686/3.686/0.000 ms 2026-03-26 02:49:17,434 - WARNING - Ping to IP 199.119.68.195 from VM ctest-TestBasicPolicy-08580931-77991274 failed 2026-03-26 02:49:17,434 - INFO - Deleting VM ctest-TestBasicPolicy-08580931-44401143 2026-03-26 02:49:17,508 - INFO - Deleting VM ctest-TestBasicPolicy-08580931-77991274 2026-03-26 02:49:18,001 - INFO - Deleted policy ctest-policy-allow-all-10591054 2026-03-26 02:49:18,001 - INFO - Deleting VN ctest-vn-35015541 2026-03-26 02:49:18,054 - DEBUG - VN f78ec699-2ea6-48e8-9792-1cec19d8ba6f still in use: Unable to complete operation on network f78ec699-2ea6-48e8-9792-1cec19d8ba6f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba000e2d-d7fb-4880-9159-ddfd9fc87683'] 2026-03-26 02:49:18,055 - WARNING - Deleting VN ctest-vn-35015541 failed..Will retry 2026-03-26 02:49:20,224 - DEBUG - Response for deleting network () 2026-03-26 02:49:20,224 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9bb8c945-87f9-4473-8728-d956c16f6d7e 2026-03-26 02:49:20,230 - DEBUG - Response Code: 404 2026-03-26 02:49:20,230 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-03-26 02:49:20,244 - DEBUG - Requesting: http://10.0.0.240:8082/domain/b07ef41d-f358-4169-a694-2c6c20158c87 2026-03-26 02:49:20,266 - DEBUG - Requesting: http://10.0.0.240:8082/project/1b71110b-3e85-423e-8a2f-c224bf4b89dc 2026-03-26 02:49:20,359 - INFO - Validated that VN ctest-vn-35015541 is not found in API Server 2026-03-26 02:49:20,372 - DEBUG - VN ctest-vn-35015541 is not present in Agent 10.0.0.38 2026-03-26 02:49:20,381 - DEBUG - VN ctest-vn-35015541 is not present in Agent 10.0.0.23 2026-03-26 02:49:20,381 - INFO - Validated that VN ctest-vn-35015541 is not in any agent 2026-03-26 02:49:20,410 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35015541 info 2026-03-26 02:49:20,410 - INFO - Deleting VN ctest-vn-74766505 2026-03-26 02:49:20,629 - DEBUG - Response for deleting network () 2026-03-26 02:49:20,629 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/acd541ec-07ec-4291-8b9b-7d9e004364bc 2026-03-26 02:49:20,644 - DEBUG - Response Code: 404 2026-03-26 02:49:20,644 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-03-26 02:49:20,651 - DEBUG - Requesting: http://10.0.0.240:8082/domain/b07ef41d-f358-4169-a694-2c6c20158c87 2026-03-26 02:49:20,662 - DEBUG - Requesting: http://10.0.0.240:8082/project/1b71110b-3e85-423e-8a2f-c224bf4b89dc 2026-03-26 02:49:20,756 - INFO - Validated that VN ctest-vn-74766505 is not found in API Server 2026-03-26 02:49:20,767 - DEBUG - VN ctest-vn-74766505 is not present in Agent 10.0.0.38 2026-03-26 02:49:20,776 - DEBUG - VN ctest-vn-74766505 is not present in Agent 10.0.0.23 2026-03-26 02:49:20,776 - INFO - Validated that VN ctest-vn-74766505 is not in any agent 2026-03-26 02:49:20,806 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74766505 info 2026-03-26 02:49:22,074 - DEBUG - No XMPP flaps were noticed during the test 2026-03-26 02:49:22,074 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:38] 2026-03-26 02:49:22,074 - INFO - -------------------------------------------------------------------------------- 2026-03-26 02:49:22,863 - INFO - Deleted project: ctest-TestBasicPolicy-08580931, ID : 1b71110b-3e85-423e-8a2f-c224bf4b89dc