2026-11-30 02:58:41,974 - INFO - Domain Default found not creating 2026-11-30 02:58:42,152 - INFO - Project ctest-TestBasicPolicy-67333226 not found, creating it 2026-11-30 02:58:42,663 - INFO - Created Project:ctest-TestBasicPolicy-67333226, ID : 2df3a5d7-2777-4935-ad56-a03b02a9ee4e 2026-11-30 02:58:44,597 - INFO - ================================================================================ 2026-11-30 02:58:44,597 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-30 02:58:44,597 - 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-11-30 02:58:45,864 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.29': '0', '10.20.0.30': '0'}, '10.0.0.162': {'10.20.0.29': '0', '10.20.0.30': '0'}} with 2026-11-30 02:58:45,864 - INFO - Initial checks done. Running the testcase now 2026-11-30 02:58:45,865 - INFO - 2026-11-30 02:58:46,590 - DEBUG - Response for create_network : {'network': {'id': '2e453a09-9ddc-4e4c-ae64-657bcc0f82c4', 'name': 'ctest-vn-55861627', 'tenant_id': '2df3a5d727774935ad56a03b02a9ee4e', 'project_id': '2df3a5d727774935ad56a03b02a9ee4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67333226', 'ctest-vn-55861627'], 'port_security_enabled': True, 'description': ''}} 2026-11-30 02:58:46,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '6296164e-86ad-4bf7-9a42-e648b6b7b4c1', 'name': '', 'tenant_id': '2df3a5d727774935ad56a03b02a9ee4e', 'network_id': '2e453a09-9ddc-4e4c-ae64-657bcc0f82c4', 'ip_version': 4, 'cidr': '84.141.186.128/26', 'allocation_pools': [{'start': '84.141.186.130', 'end': '84.141.186.190'}], 'gateway_ip': '84.141.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.141.186.130', 'tags': [], 'project_id': '2df3a5d727774935ad56a03b02a9ee4e'}} 2026-11-30 02:58:46,900 - INFO - Created VN ctest-vn-55861627 2026-11-30 02:58:46,912 - DEBUG - VN ctest-vn-55861627 UUID is 2e453a09-9ddc-4e4c-ae64-657bcc0f82c4 2026-11-30 02:58:47,271 - DEBUG - Response for create_network : {'network': {'id': '210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0', 'name': 'ctest-vn-96934551', 'tenant_id': '2df3a5d727774935ad56a03b02a9ee4e', 'project_id': '2df3a5d727774935ad56a03b02a9ee4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67333226', 'ctest-vn-96934551'], 'port_security_enabled': True, 'description': ''}} 2026-11-30 02:58:47,519 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ae9afad-0296-4ba4-a69b-56c641cd8e01', 'name': '', 'tenant_id': '2df3a5d727774935ad56a03b02a9ee4e', 'network_id': '210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0', 'ip_version': 4, 'cidr': '218.196.27.0/26', 'allocation_pools': [{'start': '218.196.27.2', 'end': '218.196.27.62'}], 'gateway_ip': '218.196.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.196.27.2', 'tags': [], 'project_id': '2df3a5d727774935ad56a03b02a9ee4e'}} 2026-11-30 02:58:47,542 - INFO - Created VN ctest-vn-96934551 2026-11-30 02:58:47,554 - DEBUG - VN ctest-vn-96934551 UUID is 210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0 2026-11-30 02:58:47,645 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627, 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-67333226:ctest-vn-96934551, 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-11-30 02:58:47,952 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e453a09-9ddc-4e4c-ae64-657bcc0f82c4', 'name': 'ctest-vn-55861627', 'tenant_id': '2df3a5d727774935ad56a03b02a9ee4e', 'project_id': '2df3a5d727774935ad56a03b02a9ee4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6296164e-86ad-4bf7-9a42-e648b6b7b4c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67333226', 'ctest-vn-55861627'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67333226', 'ctest-policy-allow-all-04473906']], 'subnet_ipam': [{'subnet_cidr': '84.141.186.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-30 02:58:48,163 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0', 'name': 'ctest-vn-96934551', 'tenant_id': '2df3a5d727774935ad56a03b02a9ee4e', 'project_id': '2df3a5d727774935ad56a03b02a9ee4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1ae9afad-0296-4ba4-a69b-56c641cd8e01'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67333226', 'ctest-vn-96934551'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67333226', 'ctest-policy-allow-all-04473906']], 'subnet_ipam': [{'subnet_cidr': '218.196.27.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-30 02:58:48,280 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-11-30 02:58:48,640 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-11-30 02:58:48,666 - DEBUG - Requesting: http://10.0.0.191:8082/domain/df55a9e1-114b-4be9-8433-af604dfdbf34 2026-11-30 02:58:48,680 - DEBUG - Requesting: http://10.0.0.191:8082/project/2df3a5d7-2777-4935-ad56-a03b02a9ee4e 2026-11-30 02:58:48,783 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2e453a09-9ddc-4e4c-ae64-657bcc0f82c4 2026-11-30 02:58:48,798 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2e453a09-9ddc-4e4c-ae64-657bcc0f82c4 2026-11-30 02:58:48,807 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/ce3112e3-acf0-48cf-949d-661269d85391 2026-11-30 02:58:48,814 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/ce3112e3-acf0-48cf-949d-661269d85391 2026-11-30 02:58:48,821 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/3d7c24c2-9092-4b2d-8448-25138dc78fd9 2026-11-30 02:58:48,827 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-30 02:58:48,827 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2e453a09-9ddc-4e4c-ae64-657bcc0f82c4 2026-11-30 02:58:48,836 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/ce3112e3-acf0-48cf-949d-661269d85391 2026-11-30 02:58:48,852 - INFO - Verified VN network id 16 for VN 2e453a09-9ddc-4e4c-ae64-657bcc0f82c4 2026-11-30 02:58:48,852 - INFO - Verifications in API Server for VN ctest-vn-55861627 passed 2026-11-30 02:58:48,852 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2e453a09-9ddc-4e4c-ae64-657bcc0f82c4 2026-11-30 02:58:48,862 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/ce3112e3-acf0-48cf-949d-661269d85391 2026-11-30 02:58:48,869 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/ce3112e3-acf0-48cf-949d-661269d85391 2026-11-30 02:58:48,876 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/3d7c24c2-9092-4b2d-8448-25138dc78fd9 2026-11-30 02:58:48,892 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67333226', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3334134912115297868', 'uuid-lslong': '12566280442649477828'}, 'enable': 'true', 'created': '2026-11-30T02:58:46', 'last-modified': '2026-11-30T02:58:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978574'} 2026-11-30 02:58:48,900 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-30 02:58:48,906 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67333226', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3334134912115297868', 'uuid-lslong': '12566280442649477828'}, 'enable': 'true', 'created': '2026-11-30T02:58:46', 'last-modified': '2026-11-30T02:58:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.998473'} 2026-11-30 02:58:48,911 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-30 02:58:48,916 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67333226', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3334134912115297868', 'uuid-lslong': '12566280442649477828'}, 'enable': 'true', 'created': '2026-11-30T02:58:46', 'last-modified': '2026-11-30T02:58:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009139'} 2026-11-30 02:58:48,922 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-30 02:58:48,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55861627 passed 2026-11-30 02:58:48,922 - DEBUG - ====Verifying policy data for ctest-vn-55861627 in API_Server ====== 2026-11-30 02:58:48,922 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-11-30 02:58:48,928 - DEBUG - Requesting: http://10.0.0.191:8082/domain/df55a9e1-114b-4be9-8433-af604dfdbf34 2026-11-30 02:58:48,939 - DEBUG - Requesting: http://10.0.0.191:8082/project/2df3a5d7-2777-4935-ad56-a03b02a9ee4e 2026-11-30 02:58:49,029 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/2e453a09-9ddc-4e4c-ae64-657bcc0f82c4 2026-11-30 02:58:49,039 - DEBUG - ==>Verifying data for policy with id: f6e2a8d5-31e7-472c-a400-bf4959b4f595, fqn: ['default-domain', 'ctest-TestBasicPolicy-67333226', 'ctest-policy-allow-all-04473906'] 2026-11-30 02:58:49,039 - INFO - VN ctest-vn-55861627 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-30 02:58:49,039 - DEBUG - Verifying the vn in opserver 2026-11-30 02:58:49,039 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 virtual network link through opserver 10.0.0.191 2026-11-30 02:58:49,040 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-11-30 02:58:49,406 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-11-30 02:58:49,475 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627?flat'} 2026-11-30 02:58:49,475 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 virtual network link through opserver 10.0.0.50 2026-11-30 02:58:49,475 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-30 02:58:49,839 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-30 02:58:49,892 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627?flat'} 2026-11-30 02:58:49,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 virtual network link through opserver 10.0.0.188 2026-11-30 02:58:49,892 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-11-30 02:58:50,253 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-11-30 02:58:50,307 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627?flat'} 2026-11-30 02:58:50,307 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 is found in opserver 2026-11-30 02:58:50,327 - DEBUG - Do not have enough data to verify VN in agent 2026-11-30 02:58:50,342 - DEBUG - VRF ids for VN ctest-vn-55861627: {} 2026-11-30 02:58:50,343 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-11-30 02:58:50,349 - DEBUG - Requesting: http://10.0.0.191:8082/domain/df55a9e1-114b-4be9-8433-af604dfdbf34 2026-11-30 02:58:50,364 - DEBUG - Requesting: http://10.0.0.191:8082/project/2df3a5d7-2777-4935-ad56-a03b02a9ee4e 2026-11-30 02:58:50,457 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0 2026-11-30 02:58:50,475 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0 2026-11-30 02:58:50,488 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/a5477ae8-1cfa-40d8-9cd1-0cbfdf421b30 2026-11-30 02:58:50,497 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/a5477ae8-1cfa-40d8-9cd1-0cbfdf421b30 2026-11-30 02:58:50,503 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/b30203f2-cc5f-4a29-ab93-72751d646ed0 2026-11-30 02:58:50,509 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-30 02:58:50,509 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0 2026-11-30 02:58:50,517 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/a5477ae8-1cfa-40d8-9cd1-0cbfdf421b30 2026-11-30 02:58:50,535 - INFO - Verified VN network id 17 for VN 210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0 2026-11-30 02:58:50,535 - INFO - Verifications in API Server for VN ctest-vn-96934551 passed 2026-11-30 02:58:50,535 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0 2026-11-30 02:58:50,545 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/a5477ae8-1cfa-40d8-9cd1-0cbfdf421b30 2026-11-30 02:58:50,554 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/a5477ae8-1cfa-40d8-9cd1-0cbfdf421b30 2026-11-30 02:58:50,562 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/b30203f2-cc5f-4a29-ab93-72751d646ed0 2026-11-30 02:58:50,576 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67333226', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2381201883353467782', 'uuid-lslong': '13393358816313533088'}, 'enable': 'true', 'created': '2026-11-30T02:58:47', 'last-modified': '2026-11-30T02:58:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.459189'} 2026-11-30 02:58:50,582 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-30 02:58:50,587 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67333226', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2381201883353467782', 'uuid-lslong': '13393358816313533088'}, 'enable': 'true', 'created': '2026-11-30T02:58:47', 'last-modified': '2026-11-30T02:58:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.467686'} 2026-11-30 02:58:50,593 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-30 02:58:50,598 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67333226', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2381201883353467782', 'uuid-lslong': '13393358816313533088'}, 'enable': 'true', 'created': '2026-11-30T02:58:47', 'last-modified': '2026-11-30T02:58:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.480502'} 2026-11-30 02:58:50,604 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-30 02:58:50,604 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96934551 passed 2026-11-30 02:58:50,604 - DEBUG - ====Verifying policy data for ctest-vn-96934551 in API_Server ====== 2026-11-30 02:58:50,605 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-11-30 02:58:50,611 - DEBUG - Requesting: http://10.0.0.191:8082/domain/df55a9e1-114b-4be9-8433-af604dfdbf34 2026-11-30 02:58:50,622 - DEBUG - Requesting: http://10.0.0.191:8082/project/2df3a5d7-2777-4935-ad56-a03b02a9ee4e 2026-11-30 02:58:50,712 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0 2026-11-30 02:58:50,723 - DEBUG - ==>Verifying data for policy with id: f6e2a8d5-31e7-472c-a400-bf4959b4f595, fqn: ['default-domain', 'ctest-TestBasicPolicy-67333226', 'ctest-policy-allow-all-04473906'] 2026-11-30 02:58:50,723 - INFO - VN ctest-vn-96934551 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-30 02:58:50,723 - DEBUG - Verifying the vn in opserver 2026-11-30 02:58:50,723 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551 virtual network link through opserver 10.0.0.191 2026-11-30 02:58:50,723 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-11-30 02:58:50,773 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551?flat'} 2026-11-30 02:58:50,773 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551 virtual network link through opserver 10.0.0.50 2026-11-30 02:58:50,773 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-30 02:58:50,820 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551?flat'} 2026-11-30 02:58:50,820 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551 virtual network link through opserver 10.0.0.188 2026-11-30 02:58:50,820 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-11-30 02:58:50,874 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551?flat'} 2026-11-30 02:58:50,874 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-96934551 is found in opserver 2026-11-30 02:58:50,896 - DEBUG - Do not have enough data to verify VN in agent 2026-11-30 02:58:50,907 - DEBUG - VRF ids for VN ctest-vn-96934551: {} 2026-11-30 02:58:50,965 - DEBUG - Services list from nova: [, , , ] 2026-11-30 02:58:51,420 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6522-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6522-1) 2026-11-30 02:58:51,913 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6522-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6522-2) 2026-11-30 02:58:51,913 - INFO - Waiting for VM ctest-TestBasicPolicy-67333226-22053087 to be up.. 2026-11-30 02:58:51,962 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:58:57,046 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:59:02,136 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:59:07,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:59:12,316 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:59:17,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:59:22,505 - DEBUG - VM is in ACTIVE state now 2026-11-30 02:59:22,505 - INFO - VM name : ctest-TestBasicPolicy-67333226-22053087 2026-11-30 02:59:22,592 - DEBUG - VM ctest-TestBasicPolicy-67333226-22053087 ID is 611f895b-e1ea-4223-bee6-dbd3b4fb35ee 2026-11-30 02:59:22,622 - DEBUG - VM ctest-TestBasicPolicy-67333226-22053087 launched on Node an-jenkins-deploy-platform-ansible-os-6522-1 2026-11-30 02:59:22,717 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/611f895b-e1ea-4223-bee6-dbd3b4fb35ee 2026-11-30 02:59:23,110 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/611f895b-e1ea-4223-bee6-dbd3b4fb35ee 2026-11-30 02:59:23,149 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/2e754cef-4d2d-4556-a08d-eb13ffd57690 2026-11-30 02:59:26,316 - 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 1006ms') 2026-11-30 02:59:26,316 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67333226-22053087 failed! 2026-11-30 02:59:26,343 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 is 84.141.186.129 and allocation pool is NOT set 2026-11-30 02:59:30,415 - 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 1002ms') 2026-11-30 02:59:30,415 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67333226-22053087 failed! 2026-11-30 02:59:30,429 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 is 84.141.186.129 and allocation pool is NOT set 2026-11-30 02:59:34,508 - 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-11-30 02:59:34,508 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67333226-22053087 failed! 2026-11-30 02:59:34,522 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 is 84.141.186.129 and allocation pool is NOT set 2026-11-30 02:59:38,607 - 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-11-30 02:59:38,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67333226-22053087 failed! 2026-11-30 02:59:38,621 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 is 84.141.186.129 and allocation pool is NOT set 2026-11-30 02:59:42,701 - 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-11-30 02:59:42,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67333226-22053087 failed! 2026-11-30 02:59:42,715 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 is 84.141.186.129 and allocation pool is NOT set 2026-11-30 02:59:46,802 - 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-11-30 02:59:46,802 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67333226-22053087 failed! 2026-11-30 02:59:46,816 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 is 84.141.186.129 and allocation pool is NOT set 2026-11-30 02:59:50,894 - 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-11-30 02:59:50,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67333226-22053087 failed! 2026-11-30 02:59:50,909 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67333226:ctest-vn-55861627 is 84.141.186.129 and allocation pool is NOT set 2026-11-30 02:59:52,970 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 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 = 0.505/4.075/7.646/3.570 ms') 2026-11-30 02:59:52,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67333226-22053087 passed 2026-11-30 02:59:53,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:59:53,040 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67333226-22053087, IP 84.141.186.131, Port 22 2026-11-30 02:59:53,106 - 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-11-30 02:59:53,186 - DEBUG - VM ctest-TestBasicPolicy-67333226-22053087 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-30 02:59:58,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:59:58,187 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67333226-22053087, IP 84.141.186.131, Port 22 2026-11-30 02:59:58,253 - 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-11-30 02:59:58,339 - DEBUG - VM ctest-TestBasicPolicy-67333226-22053087 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-30 03:00:03,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 03:00:03,339 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67333226-22053087, IP 84.141.186.131, Port 22 2026-11-30 03:00:03,514 - DEBUG - VM ctest-TestBasicPolicy-67333226-22053087 is ready for SSH connections 2026-11-30 03:00:03,514 - INFO - Waiting for VM ctest-TestBasicPolicy-67333226-95228037 to be up.. 2026-11-30 03:00:03,606 - DEBUG - VM is in ACTIVE state now 2026-11-30 03:00:03,607 - INFO - VM name : ctest-TestBasicPolicy-67333226-95228037 2026-11-30 03:00:03,703 - DEBUG - VM ctest-TestBasicPolicy-67333226-95228037 ID is 0ee21b60-b639-4dcb-9fcb-6839530b89d8 2026-11-30 03:00:03,703 - DEBUG - VM ctest-TestBasicPolicy-67333226-95228037 launched on Node an-jenkins-deploy-platform-ansible-os-6522-2 2026-11-30 03:00:03,794 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/0ee21b60-b639-4dcb-9fcb-6839530b89d8 2026-11-30 03:00:03,804 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/3a86890a-73aa-4461-b069-1964587b138c 2026-11-30 03:00:05,000 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.19 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.188/4.656/6.125/1.468 ms') 2026-11-30 03:00:05,000 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67333226-95228037 passed 2026-11-30 03:00:05,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 03:00:05,066 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67333226-95228037, IP 218.196.27.3, Port 22 2026-11-30 03:00:05,234 - DEBUG - VM ctest-TestBasicPolicy-67333226-95228037 is ready for SSH connections 2026-11-30 03:00:05,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 03:00:05,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.196.27.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-11-30 03:00:05,234 - DEBUG - ping -s 56 -c 3 -W 1 218.196.27.3 2026-11-30 03:00:16,376 - DEBUG - PING 218.196.27.3 (218.196.27.3) 56(84) bytes of data. 64 bytes from 218.196.27.3: icmp_req=1 ttl=63 time=7.17 ms 64 bytes from 218.196.27.3: icmp_req=2 ttl=63 time=1.04 ms 64 bytes from 218.196.27.3: icmp_req=3 ttl=63 time=1.04 ms --- 218.196.27.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.044/3.089/7.178/2.891 ms 2026-11-30 03:00:16,377 - INFO - Ping to IP 218.196.27.3 from VM ctest-TestBasicPolicy-67333226-22053087 passed 2026-11-30 03:00:16,586 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f6e2a8d5-31e7-472c-a400-bf4959b4f595", "href": "http://10.0.0.188:8082/network-policy/f6e2a8d5-31e7-472c-a400-bf4959b4f595"}} 2026-11-30 03:00:16,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 03:00:16,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.196.27.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-11-30 03:00:16,586 - DEBUG - ping -s 56 -c 3 -W 1 218.196.27.3 2026-11-30 03:00:20,030 - DEBUG - PING 218.196.27.3 (218.196.27.3) 56(84) bytes of data. 64 bytes from 218.196.27.3: icmp_req=1 ttl=63 time=3.96 ms --- 218.196.27.3 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2009ms rtt min/avg/max/mdev = 3.962/3.962/3.962/0.000 ms 2026-11-30 03:00:20,031 - WARNING - Ping to IP 218.196.27.3 from VM ctest-TestBasicPolicy-67333226-22053087 failed 2026-11-30 03:00:20,031 - INFO - Deleting VM ctest-TestBasicPolicy-67333226-95228037 2026-11-30 03:00:20,098 - INFO - Deleting VM ctest-TestBasicPolicy-67333226-22053087 2026-11-30 03:00:20,628 - INFO - Deleted policy ctest-policy-allow-all-04473906 2026-11-30 03:00:20,628 - INFO - Deleting VN ctest-vn-96934551 2026-11-30 03:00:20,678 - DEBUG - VN 210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0 still in use: Unable to complete operation on network 210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d2e96ef-4e19-4a3a-b17c-cc3fe6c95fd4'] 2026-11-30 03:00:20,678 - WARNING - Deleting VN ctest-vn-96934551 failed..Will retry 2026-11-30 03:00:22,742 - DEBUG - VN 210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0 still in use: Unable to complete operation on network 210bba7f-2bc6-4b86-b9de-c4e1e3b6e2a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc6a3be2-02ed-4d0d-b6e6-b615520144b4'] 2026-11-30 03:00:22,743 - WARNING - Deleting VN ctest-vn-96934551 failed..Will retry 2026-11-30 03:00:24,906 - DEBUG - Response for deleting network () 2026-11-30 03:00:24,907 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/a5477ae8-1cfa-40d8-9cd1-0cbfdf421b30 2026-11-30 03:00:24,912 - DEBUG - Response Code: 404 2026-11-30 03:00:24,913 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-11-30 03:00:24,924 - DEBUG - Requesting: http://10.0.0.191:8082/domain/df55a9e1-114b-4be9-8433-af604dfdbf34 2026-11-30 03:00:24,980 - DEBUG - Requesting: http://10.0.0.191:8082/project/2df3a5d7-2777-4935-ad56-a03b02a9ee4e 2026-11-30 03:00:25,074 - INFO - Validated that VN ctest-vn-96934551 is not found in API Server 2026-11-30 03:00:25,089 - DEBUG - VN ctest-vn-96934551 is not present in Agent 10.0.0.190 2026-11-30 03:00:25,101 - DEBUG - VN ctest-vn-96934551 is not present in Agent 10.0.0.162 2026-11-30 03:00:25,102 - INFO - Validated that VN ctest-vn-96934551 is not in any agent 2026-11-30 03:00:25,136 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96934551 info 2026-11-30 03:00:25,136 - INFO - Deleting VN ctest-vn-55861627 2026-11-30 03:00:25,293 - DEBUG - Response for deleting network () 2026-11-30 03:00:25,293 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/ce3112e3-acf0-48cf-949d-661269d85391 2026-11-30 03:00:25,299 - DEBUG - Response Code: 404 2026-11-30 03:00:25,299 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-11-30 03:00:25,305 - DEBUG - Requesting: http://10.0.0.191:8082/domain/df55a9e1-114b-4be9-8433-af604dfdbf34 2026-11-30 03:00:25,323 - DEBUG - Requesting: http://10.0.0.191:8082/project/2df3a5d7-2777-4935-ad56-a03b02a9ee4e 2026-11-30 03:00:25,423 - INFO - Validated that VN ctest-vn-55861627 is not found in API Server 2026-11-30 03:00:25,434 - DEBUG - VN ctest-vn-55861627 is not present in Agent 10.0.0.190 2026-11-30 03:00:25,451 - DEBUG - VN ctest-vn-55861627 is not present in Agent 10.0.0.162 2026-11-30 03:00:25,451 - INFO - Validated that VN ctest-vn-55861627 is not in any agent 2026-11-30 03:00:25,494 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55861627 info 2026-11-30 03:00:26,777 - DEBUG - No XMPP flaps were noticed during the test 2026-11-30 03:00:26,777 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:42] 2026-11-30 03:00:26,777 - INFO - -------------------------------------------------------------------------------- 2026-11-30 03:00:27,578 - INFO - Deleted project: ctest-TestBasicPolicy-67333226, ID : 2df3a5d7-2777-4935-ad56-a03b02a9ee4e