2026-03-05 02:33:30,203 - INFO - Domain Default found not creating 2026-03-05 02:33:30,386 - INFO - Project ctest-TestBasicPolicy-77398503 not found, creating it 2026-03-05 02:33:30,890 - INFO - Created Project:ctest-TestBasicPolicy-77398503, ID : fe917573-c5da-4162-94ce-99a63d5f11d8 2026-03-05 02:33:32,352 - INFO - ================================================================================ 2026-03-05 02:33:32,352 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-05 02:33:32,353 - 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-05 02:33:33,620 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.73': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-03-05 02:33:33,620 - INFO - Initial checks done. Running the testcase now 2026-03-05 02:33:33,620 - INFO - 2026-03-05 02:33:34,248 - DEBUG - Response for create_network : {'network': {'id': '04d00114-777b-43f1-93f6-22a46b37484f', 'name': 'ctest-vn-98862112', 'tenant_id': 'fe917573c5da416294ce99a63d5f11d8', 'project_id': 'fe917573c5da416294ce99a63d5f11d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77398503', 'ctest-vn-98862112'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:33:34,496 - DEBUG - Response for create_subnet : {'subnet': {'id': '43275f9d-6a5d-4b53-8c45-eed5b638a781', 'name': '', 'tenant_id': 'fe917573c5da416294ce99a63d5f11d8', 'network_id': '04d00114-777b-43f1-93f6-22a46b37484f', 'ip_version': 4, 'cidr': '151.207.45.0/26', 'allocation_pools': [{'start': '151.207.45.2', 'end': '151.207.45.62'}], 'gateway_ip': '151.207.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.207.45.2', 'tags': [], 'project_id': 'fe917573c5da416294ce99a63d5f11d8'}} 2026-03-05 02:33:34,515 - INFO - Created VN ctest-vn-98862112 2026-03-05 02:33:34,528 - DEBUG - VN ctest-vn-98862112 UUID is 04d00114-777b-43f1-93f6-22a46b37484f 2026-03-05 02:33:34,880 - DEBUG - Response for create_network : {'network': {'id': 'a990d80f-3f1e-4c2f-a8cc-511980144bc0', 'name': 'ctest-vn-04299720', 'tenant_id': 'fe917573c5da416294ce99a63d5f11d8', 'project_id': 'fe917573c5da416294ce99a63d5f11d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77398503', 'ctest-vn-04299720'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:33:35,140 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b987b0f8-9b7e-42b8-a4b7-fe1c66d8ea5d', 'name': '', 'tenant_id': 'fe917573c5da416294ce99a63d5f11d8', 'network_id': 'a990d80f-3f1e-4c2f-a8cc-511980144bc0', 'ip_version': 4, 'cidr': '59.35.245.192/26', 'allocation_pools': [{'start': '59.35.245.194', 'end': '59.35.245.254'}], 'gateway_ip': '59.35.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.35.245.194', 'tags': [], 'project_id': 'fe917573c5da416294ce99a63d5f11d8'}} 2026-03-05 02:33:35,167 - INFO - Created VN ctest-vn-04299720 2026-03-05 02:33:35,179 - DEBUG - VN ctest-vn-04299720 UUID is a990d80f-3f1e-4c2f-a8cc-511980144bc0 2026-03-05 02:33:35,293 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112, 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-77398503:ctest-vn-04299720, 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-05 02:33:35,611 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04d00114-777b-43f1-93f6-22a46b37484f', 'name': 'ctest-vn-98862112', 'tenant_id': 'fe917573c5da416294ce99a63d5f11d8', 'project_id': 'fe917573c5da416294ce99a63d5f11d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43275f9d-6a5d-4b53-8c45-eed5b638a781'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77398503', 'ctest-vn-98862112'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77398503', 'ctest-policy-allow-all-66891811']], 'subnet_ipam': [{'subnet_cidr': '151.207.45.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:33:35,838 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a990d80f-3f1e-4c2f-a8cc-511980144bc0', 'name': 'ctest-vn-04299720', 'tenant_id': 'fe917573c5da416294ce99a63d5f11d8', 'project_id': 'fe917573c5da416294ce99a63d5f11d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b987b0f8-9b7e-42b8-a4b7-fe1c66d8ea5d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77398503', 'ctest-vn-04299720'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77398503', 'ctest-policy-allow-all-66891811']], 'subnet_ipam': [{'subnet_cidr': '59.35.245.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:33:35,944 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-03-05 02:33:36,298 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-03-05 02:33:36,334 - DEBUG - Requesting: http://10.0.0.65:8082/domain/8ec23053-61d3-4e86-b71e-e24c9bc5c983 2026-03-05 02:33:36,350 - DEBUG - Requesting: http://10.0.0.65:8082/project/fe917573-c5da-4162-94ce-99a63d5f11d8 2026-03-05 02:33:36,446 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/04d00114-777b-43f1-93f6-22a46b37484f 2026-03-05 02:33:36,462 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/04d00114-777b-43f1-93f6-22a46b37484f 2026-03-05 02:33:36,473 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bf8b5106-d0b5-407f-b48d-28e043ada982 2026-03-05 02:33:36,482 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bf8b5106-d0b5-407f-b48d-28e043ada982 2026-03-05 02:33:36,491 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7f199517-f19d-4da1-9670-d7b8062355f1 2026-03-05 02:33:36,499 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 02:33:36,499 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/04d00114-777b-43f1-93f6-22a46b37484f 2026-03-05 02:33:36,509 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bf8b5106-d0b5-407f-b48d-28e043ada982 2026-03-05 02:33:36,528 - INFO - Verified VN network id 16 for VN 04d00114-777b-43f1-93f6-22a46b37484f 2026-03-05 02:33:36,528 - INFO - Verifications in API Server for VN ctest-vn-98862112 passed 2026-03-05 02:33:36,529 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/04d00114-777b-43f1-93f6-22a46b37484f 2026-03-05 02:33:36,538 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bf8b5106-d0b5-407f-b48d-28e043ada982 2026-03-05 02:33:36,547 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bf8b5106-d0b5-407f-b48d-28e043ada982 2026-03-05 02:33:36,555 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7f199517-f19d-4da1-9670-d7b8062355f1 2026-03-05 02:33:36,568 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77398503', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '346778358723068913', 'uuid-lslong': '10661747257414993999'}, 'enable': 'true', 'created': '2026-03-05T02:33:34', 'last-modified': '2026-03-05T02:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008320'} 2026-03-05 02:33:36,573 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 02:33:36,579 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77398503', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '346778358723068913', 'uuid-lslong': '10661747257414993999'}, 'enable': 'true', 'created': '2026-03-05T02:33:34', 'last-modified': '2026-03-05T02:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023935'} 2026-03-05 02:33:36,586 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 02:33:36,592 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77398503', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '346778358723068913', 'uuid-lslong': '10661747257414993999'}, 'enable': 'true', 'created': '2026-03-05T02:33:34', 'last-modified': '2026-03-05T02:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.036762'} 2026-03-05 02:33:36,598 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 02:33:36,598 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98862112 passed 2026-03-05 02:33:36,598 - DEBUG - ====Verifying policy data for ctest-vn-98862112 in API_Server ====== 2026-03-05 02:33:36,598 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-03-05 02:33:36,604 - DEBUG - Requesting: http://10.0.0.65:8082/domain/8ec23053-61d3-4e86-b71e-e24c9bc5c983 2026-03-05 02:33:36,614 - DEBUG - Requesting: http://10.0.0.65:8082/project/fe917573-c5da-4162-94ce-99a63d5f11d8 2026-03-05 02:33:36,694 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/04d00114-777b-43f1-93f6-22a46b37484f 2026-03-05 02:33:36,707 - DEBUG - ==>Verifying data for policy with id: d84dd57c-fdd6-4c59-bc91-0a46b4312b70, fqn: ['default-domain', 'ctest-TestBasicPolicy-77398503', 'ctest-policy-allow-all-66891811'] 2026-03-05 02:33:36,707 - INFO - VN ctest-vn-98862112 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 02:33:36,707 - DEBUG - Verifying the vn in opserver 2026-03-05 02:33:36,707 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 virtual network link through opserver 10.0.0.65 2026-03-05 02:33:36,707 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-03-05 02:33:37,003 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-03-05 02:33:37,066 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112?flat'} 2026-03-05 02:33:37,066 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 virtual network link through opserver 10.0.0.33 2026-03-05 02:33:37,066 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-05 02:33:37,377 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-05 02:33:37,436 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112?flat'} 2026-03-05 02:33:37,436 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 virtual network link through opserver 10.0.0.133 2026-03-05 02:33:37,436 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2026-03-05 02:33:37,737 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2026-03-05 02:33:37,805 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112?flat'} 2026-03-05 02:33:37,805 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 is found in opserver 2026-03-05 02:33:37,824 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 02:33:37,834 - DEBUG - VRF ids for VN ctest-vn-98862112: {} 2026-03-05 02:33:37,834 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-03-05 02:33:37,841 - DEBUG - Requesting: http://10.0.0.65:8082/domain/8ec23053-61d3-4e86-b71e-e24c9bc5c983 2026-03-05 02:33:37,853 - DEBUG - Requesting: http://10.0.0.65:8082/project/fe917573-c5da-4162-94ce-99a63d5f11d8 2026-03-05 02:33:37,946 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a990d80f-3f1e-4c2f-a8cc-511980144bc0 2026-03-05 02:33:37,957 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a990d80f-3f1e-4c2f-a8cc-511980144bc0 2026-03-05 02:33:37,966 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/80e1f4e8-0e15-46d4-b42d-462546fba732 2026-03-05 02:33:37,974 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/80e1f4e8-0e15-46d4-b42d-462546fba732 2026-03-05 02:33:37,981 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7a69a0c4-b265-4257-9a95-8a8c88c27feb 2026-03-05 02:33:37,996 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-05 02:33:37,996 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a990d80f-3f1e-4c2f-a8cc-511980144bc0 2026-03-05 02:33:38,005 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/80e1f4e8-0e15-46d4-b42d-462546fba732 2026-03-05 02:33:38,032 - INFO - Verified VN network id 17 for VN a990d80f-3f1e-4c2f-a8cc-511980144bc0 2026-03-05 02:33:38,033 - INFO - Verifications in API Server for VN ctest-vn-04299720 passed 2026-03-05 02:33:38,033 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a990d80f-3f1e-4c2f-a8cc-511980144bc0 2026-03-05 02:33:38,042 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/80e1f4e8-0e15-46d4-b42d-462546fba732 2026-03-05 02:33:38,050 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/80e1f4e8-0e15-46d4-b42d-462546fba732 2026-03-05 02:33:38,059 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7a69a0c4-b265-4257-9a95-8a8c88c27feb 2026-03-05 02:33:38,070 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77398503', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12218503349051214895', 'uuid-lslong': '12163185863585713088'}, 'enable': 'true', 'created': '2026-03-05T02:33:34', 'last-modified': '2026-03-05T02:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.286618'} 2026-03-05 02:33:38,077 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-05 02:33:38,082 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77398503', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12218503349051214895', 'uuid-lslong': '12163185863585713088'}, 'enable': 'true', 'created': '2026-03-05T02:33:34', 'last-modified': '2026-03-05T02:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.299330'} 2026-03-05 02:33:38,088 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-05 02:33:38,093 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77398503', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12218503349051214895', 'uuid-lslong': '12163185863585713088'}, 'enable': 'true', 'created': '2026-03-05T02:33:34', 'last-modified': '2026-03-05T02:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.308056'} 2026-03-05 02:33:38,098 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-05 02:33:38,098 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04299720 passed 2026-03-05 02:33:38,098 - DEBUG - ====Verifying policy data for ctest-vn-04299720 in API_Server ====== 2026-03-05 02:33:38,098 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-03-05 02:33:38,106 - DEBUG - Requesting: http://10.0.0.65:8082/domain/8ec23053-61d3-4e86-b71e-e24c9bc5c983 2026-03-05 02:33:38,117 - DEBUG - Requesting: http://10.0.0.65:8082/project/fe917573-c5da-4162-94ce-99a63d5f11d8 2026-03-05 02:33:38,204 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a990d80f-3f1e-4c2f-a8cc-511980144bc0 2026-03-05 02:33:38,217 - DEBUG - ==>Verifying data for policy with id: d84dd57c-fdd6-4c59-bc91-0a46b4312b70, fqn: ['default-domain', 'ctest-TestBasicPolicy-77398503', 'ctest-policy-allow-all-66891811'] 2026-03-05 02:33:38,217 - INFO - VN ctest-vn-04299720 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 02:33:38,217 - DEBUG - Verifying the vn in opserver 2026-03-05 02:33:38,217 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720 virtual network link through opserver 10.0.0.65 2026-03-05 02:33:38,217 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-03-05 02:33:38,278 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720?flat'} 2026-03-05 02:33:38,278 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720 virtual network link through opserver 10.0.0.33 2026-03-05 02:33:38,278 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-05 02:33:38,334 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720?flat'} 2026-03-05 02:33:38,334 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720 virtual network link through opserver 10.0.0.133 2026-03-05 02:33:38,334 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2026-03-05 02:33:38,407 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720?flat'} 2026-03-05 02:33:38,407 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-04299720 is found in opserver 2026-03-05 02:33:38,429 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 02:33:38,439 - DEBUG - VRF ids for VN ctest-vn-04299720: {} 2026-03-05 02:33:38,500 - DEBUG - Services list from nova: [, , , ] 2026-03-05 02:33:39,614 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5433-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5433-2) 2026-03-05 02:33:40,995 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5433-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5433-1) 2026-03-05 02:33:40,995 - INFO - Waiting for VM ctest-TestBasicPolicy-77398503-62518100 to be up.. 2026-03-05 02:33:41,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 02:33:46,156 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:33:46,157 - INFO - VM name : ctest-TestBasicPolicy-77398503-62518100 2026-03-05 02:33:46,245 - DEBUG - VM ctest-TestBasicPolicy-77398503-62518100 ID is 06c40286-7ab6-4331-8f40-a47bd89fc12f 2026-03-05 02:33:46,273 - DEBUG - VM ctest-TestBasicPolicy-77398503-62518100 launched on Node an-jenkins-deploy-platform-ansible-os-5433-2 2026-03-05 02:33:46,380 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/06c40286-7ab6-4331-8f40-a47bd89fc12f 2026-03-05 02:33:46,677 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/06c40286-7ab6-4331-8f40-a47bd89fc12f 2026-03-05 02:33:46,711 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/2cbbe483-88e9-46b0-a4ec-aa389f363edc 2026-03-05 02:33:49,880 - 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 1020ms') 2026-03-05 02:33:49,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-62518100 failed! 2026-03-05 02:33:49,893 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 is 151.207.45.1 and allocation pool is NOT set 2026-03-05 02:33:53,982 - 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 1020ms') 2026-03-05 02:33:53,982 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-62518100 failed! 2026-03-05 02:33:53,996 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 is 151.207.45.1 and allocation pool is NOT set 2026-03-05 02:33:58,072 - 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-03-05 02:33:58,072 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-62518100 failed! 2026-03-05 02:33:58,085 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 is 151.207.45.1 and allocation pool is NOT set 2026-03-05 02:34:02,171 - 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 1022ms') 2026-03-05 02:34:02,171 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-62518100 failed! 2026-03-05 02:34:02,184 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 is 151.207.45.1 and allocation pool is NOT set 2026-03-05 02:34:06,271 - 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-03-05 02:34:06,271 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-62518100 failed! 2026-03-05 02:34:06,286 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 is 151.207.45.1 and allocation pool is NOT set 2026-03-05 02:34:10,370 - 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-05 02:34:10,370 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-62518100 failed! 2026-03-05 02:34:10,384 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 is 151.207.45.1 and allocation pool is NOT set 2026-03-05 02:34:14,458 - 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-03-05 02:34:14,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-62518100 failed! 2026-03-05 02:34:14,471 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 is 151.207.45.1 and allocation pool is NOT set 2026-03-05 02:34:18,555 - 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 1021ms') 2026-03-05 02:34:18,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-62518100 failed! 2026-03-05 02:34:18,567 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77398503:ctest-vn-98862112 is 151.207.45.1 and allocation pool is NOT set 2026-03-05 02:34:20,628 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.11 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 = 3.106/6.881/10.656/3.775 ms') 2026-03-05 02:34:20,628 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-62518100 passed 2026-03-05 02:34:20,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:34:20,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77398503-62518100, IP 151.207.45.3, Port 22 2026-03-05 02:34:20,762 - 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-05 02:34:20,845 - DEBUG - VM ctest-TestBasicPolicy-77398503-62518100 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-05 02:34:25,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:34:25,846 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77398503-62518100, IP 151.207.45.3, Port 22 2026-03-05 02:34:25,914 - 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-05 02:34:26,002 - DEBUG - VM ctest-TestBasicPolicy-77398503-62518100 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-05 02:34:31,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:34:31,003 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77398503-62518100, IP 151.207.45.3, Port 22 2026-03-05 02:34:31,079 - 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-05 02:34:31,180 - DEBUG - VM ctest-TestBasicPolicy-77398503-62518100 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-05 02:34:36,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:34:36,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77398503-62518100, IP 151.207.45.3, Port 22 2026-03-05 02:34:36,249 - 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-05 02:34:36,342 - DEBUG - VM ctest-TestBasicPolicy-77398503-62518100 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-05 02:34:41,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:34:41,344 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77398503-62518100, IP 151.207.45.3, Port 22 2026-03-05 02:34:41,510 - DEBUG - VM ctest-TestBasicPolicy-77398503-62518100 is ready for SSH connections 2026-03-05 02:34:41,510 - INFO - Waiting for VM ctest-TestBasicPolicy-77398503-38463419 to be up.. 2026-03-05 02:34:41,615 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:34:41,615 - INFO - VM name : ctest-TestBasicPolicy-77398503-38463419 2026-03-05 02:34:41,711 - DEBUG - VM ctest-TestBasicPolicy-77398503-38463419 ID is 3fdef8eb-c34a-427e-92c8-246771a6c0f2 2026-03-05 02:34:41,711 - DEBUG - VM ctest-TestBasicPolicy-77398503-38463419 launched on Node an-jenkins-deploy-platform-ansible-os-5433-1 2026-03-05 02:34:41,798 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/3fdef8eb-c34a-427e-92c8-246771a6c0f2 2026-03-05 02:34:41,807 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/bc5383b4-29b1-487d-9381-a595cea29d35 2026-03-05 02:34:42,988 - 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=6.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.14 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 = 6.194/6.668/7.143/0.474 ms') 2026-03-05 02:34:42,988 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77398503-38463419 passed 2026-03-05 02:34:43,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:34:43,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77398503-38463419, IP 59.35.245.195, Port 22 2026-03-05 02:34:43,125 - 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-05 02:34:43,198 - DEBUG - VM ctest-TestBasicPolicy-77398503-38463419 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-05 02:34:48,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:34:48,199 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77398503-38463419, IP 59.35.245.195, Port 22 2026-03-05 02:34:48,369 - DEBUG - VM ctest-TestBasicPolicy-77398503-38463419 is ready for SSH connections 2026-03-05 02:34:48,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:34:48,369 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.35.245.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-03-05 02:34:48,369 - DEBUG - ping -s 56 -c 3 -W 1 59.35.245.195 2026-03-05 02:35:05,724 - DEBUG - PING 59.35.245.195 (59.35.245.195) 56(84) bytes of data. 64 bytes from 59.35.245.195: icmp_req=1 ttl=63 time=9.45 ms 64 bytes from 59.35.245.195: icmp_req=2 ttl=63 time=1.88 ms 64 bytes from 59.35.245.195: icmp_req=3 ttl=63 time=3.97 ms --- 59.35.245.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.882/5.105/9.457/3.194 ms 2026-03-05 02:35:05,724 - INFO - Ping to IP 59.35.245.195 from VM ctest-TestBasicPolicy-77398503-62518100 passed 2026-03-05 02:35:05,937 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d84dd57c-fdd6-4c59-bc91-0a46b4312b70", "href": "http://10.0.0.133:8082/network-policy/d84dd57c-fdd6-4c59-bc91-0a46b4312b70"}} 2026-03-05 02:35:05,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:35:05,937 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.35.245.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-03-05 02:35:05,938 - DEBUG - ping -s 56 -c 3 -W 1 59.35.245.195 2026-03-05 02:35:09,484 - DEBUG - PING 59.35.245.195 (59.35.245.195) 56(84) bytes of data. --- 59.35.245.195 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2013ms 2026-03-05 02:35:09,484 - WARNING - Ping to IP 59.35.245.195 from VM ctest-TestBasicPolicy-77398503-62518100 failed 2026-03-05 02:35:09,484 - INFO - Deleting VM ctest-TestBasicPolicy-77398503-38463419 2026-03-05 02:35:09,556 - INFO - Deleting VM ctest-TestBasicPolicy-77398503-62518100 2026-03-05 02:35:10,125 - INFO - Deleted policy ctest-policy-allow-all-66891811 2026-03-05 02:35:10,125 - INFO - Deleting VN ctest-vn-04299720 2026-03-05 02:35:10,183 - DEBUG - VN a990d80f-3f1e-4c2f-a8cc-511980144bc0 still in use: Unable to complete operation on network a990d80f-3f1e-4c2f-a8cc-511980144bc0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa4e9422-d320-4526-9997-4103aa8103b4'] 2026-03-05 02:35:10,183 - WARNING - Deleting VN ctest-vn-04299720 failed..Will retry 2026-03-05 02:35:12,327 - DEBUG - Response for deleting network () 2026-03-05 02:35:12,327 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/80e1f4e8-0e15-46d4-b42d-462546fba732 2026-03-05 02:35:12,333 - DEBUG - Response Code: 404 2026-03-05 02:35:12,333 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-03-05 02:35:12,338 - DEBUG - Requesting: http://10.0.0.65:8082/domain/8ec23053-61d3-4e86-b71e-e24c9bc5c983 2026-03-05 02:35:12,358 - DEBUG - Requesting: http://10.0.0.65:8082/project/fe917573-c5da-4162-94ce-99a63d5f11d8 2026-03-05 02:35:12,438 - INFO - Validated that VN ctest-vn-04299720 is not found in API Server 2026-03-05 02:35:12,449 - DEBUG - VN ctest-vn-04299720 is not present in Agent 10.0.0.141 2026-03-05 02:35:12,458 - DEBUG - VN ctest-vn-04299720 is not present in Agent 10.0.0.73 2026-03-05 02:35:12,458 - INFO - Validated that VN ctest-vn-04299720 is not in any agent 2026-03-05 02:35:12,483 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04299720 info 2026-03-05 02:35:12,483 - INFO - Deleting VN ctest-vn-98862112 2026-03-05 02:35:12,614 - DEBUG - Response for deleting network () 2026-03-05 02:35:12,614 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bf8b5106-d0b5-407f-b48d-28e043ada982 2026-03-05 02:35:12,620 - DEBUG - Response Code: 404 2026-03-05 02:35:12,620 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-03-05 02:35:12,628 - DEBUG - Requesting: http://10.0.0.65:8082/domain/8ec23053-61d3-4e86-b71e-e24c9bc5c983 2026-03-05 02:35:12,644 - DEBUG - Requesting: http://10.0.0.65:8082/project/fe917573-c5da-4162-94ce-99a63d5f11d8 2026-03-05 02:35:12,735 - INFO - Validated that VN ctest-vn-98862112 is not found in API Server 2026-03-05 02:35:12,747 - DEBUG - VN ctest-vn-98862112 is not present in Agent 10.0.0.141 2026-03-05 02:35:12,760 - DEBUG - VN ctest-vn-98862112 is not present in Agent 10.0.0.73 2026-03-05 02:35:12,760 - INFO - Validated that VN ctest-vn-98862112 is not in any agent 2026-03-05 02:35:12,794 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98862112 info 2026-03-05 02:35:14,067 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 02:35:14,067 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:42]
2026-03-05 02:35:14,067 - INFO - -------------------------------------------------------------------------------- 2026-03-05 02:35:14,789 - INFO - Deleted project: ctest-TestBasicPolicy-77398503, ID : fe917573-c5da-4162-94ce-99a63d5f11d8