2026-11-02 03:08:34,194 - INFO - Domain Default found not creating 2026-11-02 03:08:34,383 - INFO - Project ctest-TestBasicPolicy-55143957 not found, creating it 2026-11-02 03:08:34,981 - INFO - Created Project:ctest-TestBasicPolicy-55143957, ID : 16f574b9-45c9-4d5d-a0ec-cb48cd156bf1 2026-11-02 03:08:37,194 - INFO - ================================================================================ 2026-11-02 03:08:37,194 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-02 03:08:37,194 - 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-02 03:08:38,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.162': {'10.20.0.254': '0', '10.20.0.17': '0'}} with 2026-11-02 03:08:38,516 - INFO - Initial checks done. Running the testcase now 2026-11-02 03:08:38,516 - INFO - 2026-11-02 03:08:39,261 - DEBUG - Response for create_network : {'network': {'id': '380bf3ed-ae99-4e62-bb09-b64436bfa33f', 'name': 'ctest-vn-36461918', 'tenant_id': '16f574b945c94d5da0eccb48cd156bf1', 'project_id': '16f574b945c94d5da0eccb48cd156bf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55143957', 'ctest-vn-36461918'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 03:08:39,516 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e9a4c73-50e8-41fe-98d0-125bc7917287', 'name': '', 'tenant_id': '16f574b945c94d5da0eccb48cd156bf1', 'network_id': '380bf3ed-ae99-4e62-bb09-b64436bfa33f', 'ip_version': 4, 'cidr': '31.32.111.0/26', 'allocation_pools': [{'start': '31.32.111.2', 'end': '31.32.111.62'}], 'gateway_ip': '31.32.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.32.111.2', 'tags': [], 'project_id': '16f574b945c94d5da0eccb48cd156bf1'}} 2026-11-02 03:08:39,538 - INFO - Created VN ctest-vn-36461918 2026-11-02 03:08:39,553 - DEBUG - VN ctest-vn-36461918 UUID is 380bf3ed-ae99-4e62-bb09-b64436bfa33f 2026-11-02 03:08:39,883 - DEBUG - Response for create_network : {'network': {'id': '0eebb664-d448-41a9-9890-f9d47b41645e', 'name': 'ctest-vn-08143883', 'tenant_id': '16f574b945c94d5da0eccb48cd156bf1', 'project_id': '16f574b945c94d5da0eccb48cd156bf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55143957', 'ctest-vn-08143883'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 03:08:40,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b887bcb-e3a4-461f-a561-362e387c7ef1', 'name': '', 'tenant_id': '16f574b945c94d5da0eccb48cd156bf1', 'network_id': '0eebb664-d448-41a9-9890-f9d47b41645e', 'ip_version': 4, 'cidr': '83.48.51.192/26', 'allocation_pools': [{'start': '83.48.51.194', 'end': '83.48.51.254'}], 'gateway_ip': '83.48.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.48.51.194', 'tags': [], 'project_id': '16f574b945c94d5da0eccb48cd156bf1'}} 2026-11-02 03:08:40,291 - INFO - Created VN ctest-vn-08143883 2026-11-02 03:08:40,303 - DEBUG - VN ctest-vn-08143883 UUID is 0eebb664-d448-41a9-9890-f9d47b41645e 2026-11-02 03:08:40,421 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918, 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-55143957:ctest-vn-08143883, 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-02 03:08:41,062 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '380bf3ed-ae99-4e62-bb09-b64436bfa33f', 'name': 'ctest-vn-36461918', 'tenant_id': '16f574b945c94d5da0eccb48cd156bf1', 'project_id': '16f574b945c94d5da0eccb48cd156bf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3e9a4c73-50e8-41fe-98d0-125bc7917287'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55143957', 'ctest-vn-36461918'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55143957', 'ctest-policy-allow-all-24338306']], 'subnet_ipam': [{'subnet_cidr': '31.32.111.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 03:08:41,259 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0eebb664-d448-41a9-9890-f9d47b41645e', 'name': 'ctest-vn-08143883', 'tenant_id': '16f574b945c94d5da0eccb48cd156bf1', 'project_id': '16f574b945c94d5da0eccb48cd156bf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5b887bcb-e3a4-461f-a561-362e387c7ef1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55143957', 'ctest-vn-08143883'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55143957', 'ctest-policy-allow-all-24338306']], 'subnet_ipam': [{'subnet_cidr': '83.48.51.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 03:08:41,388 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:08:41,776 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:08:41,805 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5757b06b-c09b-4d3a-a3fa-720afb19f2b8 2026-11-02 03:08:41,821 - DEBUG - Requesting: http://10.0.0.50:8082/project/16f574b9-45c9-4d5d-a0ec-cb48cd156bf1 2026-11-02 03:08:41,942 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/380bf3ed-ae99-4e62-bb09-b64436bfa33f 2026-11-02 03:08:41,956 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/380bf3ed-ae99-4e62-bb09-b64436bfa33f 2026-11-02 03:08:41,966 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65b13c0a-aaac-4ecb-82b2-8b05303eaad4 2026-11-02 03:08:41,975 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65b13c0a-aaac-4ecb-82b2-8b05303eaad4 2026-11-02 03:08:41,991 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d22bdd48-bdea-4d68-be46-6f0030441a25 2026-11-02 03:08:42,001 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 03:08:42,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/380bf3ed-ae99-4e62-bb09-b64436bfa33f 2026-11-02 03:08:42,015 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65b13c0a-aaac-4ecb-82b2-8b05303eaad4 2026-11-02 03:08:42,038 - INFO - Verified VN network id 16 for VN 380bf3ed-ae99-4e62-bb09-b64436bfa33f 2026-11-02 03:08:42,039 - INFO - Verifications in API Server for VN ctest-vn-36461918 passed 2026-11-02 03:08:42,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/380bf3ed-ae99-4e62-bb09-b64436bfa33f 2026-11-02 03:08:42,051 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65b13c0a-aaac-4ecb-82b2-8b05303eaad4 2026-11-02 03:08:42,061 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65b13c0a-aaac-4ecb-82b2-8b05303eaad4 2026-11-02 03:08:42,069 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d22bdd48-bdea-4d68-be46-6f0030441a25 2026-11-02 03:08:42,088 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55143957', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4038589693029863010', 'uuid-lslong': '13477503763975480127'}, 'enable': 'true', 'created': '2026-11-02T03:08:39', 'last-modified': '2026-11-02T03:08:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.087793'} 2026-11-02 03:08:42,096 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 03:08:42,103 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55143957', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4038589693029863010', 'uuid-lslong': '13477503763975480127'}, 'enable': 'true', 'created': '2026-11-02T03:08:39', 'last-modified': '2026-11-02T03:08:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.091706'} 2026-11-02 03:08:42,109 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 03:08:42,114 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55143957', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4038589693029863010', 'uuid-lslong': '13477503763975480127'}, 'enable': 'true', 'created': '2026-11-02T03:08:39', 'last-modified': '2026-11-02T03:08:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.117016'} 2026-11-02 03:08:42,121 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 03:08:42,121 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36461918 passed 2026-11-02 03:08:42,121 - DEBUG - ====Verifying policy data for ctest-vn-36461918 in API_Server ====== 2026-11-02 03:08:42,121 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:08:42,128 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5757b06b-c09b-4d3a-a3fa-720afb19f2b8 2026-11-02 03:08:42,139 - DEBUG - Requesting: http://10.0.0.50:8082/project/16f574b9-45c9-4d5d-a0ec-cb48cd156bf1 2026-11-02 03:08:42,267 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/380bf3ed-ae99-4e62-bb09-b64436bfa33f 2026-11-02 03:08:42,278 - DEBUG - ==>Verifying data for policy with id: 7c296ca8-ad35-4c19-8bb8-13fcaecc6541, fqn: ['default-domain', 'ctest-TestBasicPolicy-55143957', 'ctest-policy-allow-all-24338306'] 2026-11-02 03:08:42,278 - INFO - VN ctest-vn-36461918 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 03:08:42,278 - DEBUG - Verifying the vn in opserver 2026-11-02 03:08:42,279 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 virtual network link through opserver 10.0.0.50 2026-11-02 03:08:42,279 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-02 03:08:42,661 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-02 03:08:42,714 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918?flat'} 2026-11-02 03:08:42,714 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 virtual network link through opserver 10.0.0.190 2026-11-02 03:08:42,715 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-02 03:08:43,090 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-02 03:08:43,150 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918?flat'} 2026-11-02 03:08:43,150 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 virtual network link through opserver 10.0.0.191 2026-11-02 03:08:43,150 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-11-02 03:08:43,542 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-11-02 03:08:43,608 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918?flat'} 2026-11-02 03:08:43,608 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 is found in opserver 2026-11-02 03:08:43,631 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 03:08:43,641 - DEBUG - VRF ids for VN ctest-vn-36461918: {} 2026-11-02 03:08:43,641 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:08:43,648 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5757b06b-c09b-4d3a-a3fa-720afb19f2b8 2026-11-02 03:08:43,660 - DEBUG - Requesting: http://10.0.0.50:8082/project/16f574b9-45c9-4d5d-a0ec-cb48cd156bf1 2026-11-02 03:08:43,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eebb664-d448-41a9-9890-f9d47b41645e 2026-11-02 03:08:43,810 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eebb664-d448-41a9-9890-f9d47b41645e 2026-11-02 03:08:43,820 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faa123d0-184d-4f4e-8493-ce779f25a52f 2026-11-02 03:08:43,835 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faa123d0-184d-4f4e-8493-ce779f25a52f 2026-11-02 03:08:43,843 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6c2cb936-7682-4b69-8412-133f5fb21758 2026-11-02 03:08:43,851 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-02 03:08:43,851 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eebb664-d448-41a9-9890-f9d47b41645e 2026-11-02 03:08:43,862 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faa123d0-184d-4f4e-8493-ce779f25a52f 2026-11-02 03:08:43,879 - INFO - Verified VN network id 17 for VN 0eebb664-d448-41a9-9890-f9d47b41645e 2026-11-02 03:08:43,879 - INFO - Verifications in API Server for VN ctest-vn-08143883 passed 2026-11-02 03:08:43,879 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eebb664-d448-41a9-9890-f9d47b41645e 2026-11-02 03:08:43,895 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faa123d0-184d-4f4e-8493-ce779f25a52f 2026-11-02 03:08:43,904 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faa123d0-184d-4f4e-8493-ce779f25a52f 2026-11-02 03:08:43,914 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6c2cb936-7682-4b69-8412-133f5fb21758 2026-11-02 03:08:43,927 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55143957', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1075153480232485289', 'uuid-lslong': '10993561381407646814'}, 'enable': 'true', 'created': '2026-11-02T03:08:39', 'last-modified': '2026-11-02T03:08:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.703553'} 2026-11-02 03:08:43,933 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-02 03:08:43,940 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55143957', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1075153480232485289', 'uuid-lslong': '10993561381407646814'}, 'enable': 'true', 'created': '2026-11-02T03:08:39', 'last-modified': '2026-11-02T03:08:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.715534'} 2026-11-02 03:08:43,946 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-02 03:08:43,953 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55143957', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1075153480232485289', 'uuid-lslong': '10993561381407646814'}, 'enable': 'true', 'created': '2026-11-02T03:08:39', 'last-modified': '2026-11-02T03:08:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.723983'} 2026-11-02 03:08:43,959 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-02 03:08:43,959 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08143883 passed 2026-11-02 03:08:43,959 - DEBUG - ====Verifying policy data for ctest-vn-08143883 in API_Server ====== 2026-11-02 03:08:43,959 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:08:43,966 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5757b06b-c09b-4d3a-a3fa-720afb19f2b8 2026-11-02 03:08:43,980 - DEBUG - Requesting: http://10.0.0.50:8082/project/16f574b9-45c9-4d5d-a0ec-cb48cd156bf1 2026-11-02 03:08:44,071 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eebb664-d448-41a9-9890-f9d47b41645e 2026-11-02 03:08:44,084 - DEBUG - ==>Verifying data for policy with id: 7c296ca8-ad35-4c19-8bb8-13fcaecc6541, fqn: ['default-domain', 'ctest-TestBasicPolicy-55143957', 'ctest-policy-allow-all-24338306'] 2026-11-02 03:08:44,084 - INFO - VN ctest-vn-08143883 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 03:08:44,084 - DEBUG - Verifying the vn in opserver 2026-11-02 03:08:44,084 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883 virtual network link through opserver 10.0.0.50 2026-11-02 03:08:44,084 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-02 03:08:44,143 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883?flat'} 2026-11-02 03:08:44,144 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883 virtual network link through opserver 10.0.0.190 2026-11-02 03:08:44,144 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-02 03:08:44,199 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883?flat'} 2026-11-02 03:08:44,199 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883 virtual network link through opserver 10.0.0.191 2026-11-02 03:08:44,199 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-11-02 03:08:44,249 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883?flat'} 2026-11-02 03:08:44,249 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-08143883 is found in opserver 2026-11-02 03:08:44,275 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 03:08:44,285 - DEBUG - VRF ids for VN ctest-vn-08143883: {} 2026-11-02 03:08:44,345 - DEBUG - Services list from nova: [, , , ] 2026-11-02 03:08:44,755 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6461-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6461-1) 2026-11-02 03:08:45,306 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6461-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6461-2) 2026-11-02 03:08:45,306 - INFO - Waiting for VM ctest-TestBasicPolicy-55143957-29199727 to be up.. 2026-11-02 03:08:45,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:08:50,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:08:55,544 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:09:00,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:09:05,795 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:09:10,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:09:15,982 - DEBUG - VM is in ACTIVE state now 2026-11-02 03:09:15,982 - INFO - VM name : ctest-TestBasicPolicy-55143957-29199727 2026-11-02 03:09:16,063 - DEBUG - VM ctest-TestBasicPolicy-55143957-29199727 ID is c3a14ff1-54f1-4729-985b-ae1239afd714 2026-11-02 03:09:16,090 - DEBUG - VM ctest-TestBasicPolicy-55143957-29199727 launched on Node an-jenkins-deploy-platform-ansible-os-6461-1 2026-11-02 03:09:16,172 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/c3a14ff1-54f1-4729-985b-ae1239afd714 2026-11-02 03:09:16,537 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/c3a14ff1-54f1-4729-985b-ae1239afd714 2026-11-02 03:09:16,568 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/7d1e4507-8eea-47fe-a3e3-96e2d489a3d6 2026-11-02 03:09:19,735 - 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-02 03:09:19,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55143957-29199727 failed! 2026-11-02 03:09:19,751 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 is 31.32.111.1 and allocation pool is NOT set 2026-11-02 03:09:23,833 - 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-02 03:09:23,833 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55143957-29199727 failed! 2026-11-02 03:09:23,851 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 is 31.32.111.1 and allocation pool is NOT set 2026-11-02 03:09:27,927 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-11-02 03:09:27,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55143957-29199727 failed! 2026-11-02 03:09:27,945 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 is 31.32.111.1 and allocation pool is NOT set 2026-11-02 03:09:32,024 - 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 1017ms') 2026-11-02 03:09:32,024 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55143957-29199727 failed! 2026-11-02 03:09:32,040 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 is 31.32.111.1 and allocation pool is NOT set 2026-11-02 03:09:36,121 - 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 1017ms') 2026-11-02 03:09:36,121 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55143957-29199727 failed! 2026-11-02 03:09:36,138 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 is 31.32.111.1 and allocation pool is NOT set 2026-11-02 03:09:40,214 - 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-11-02 03:09:40,215 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55143957-29199727 failed! 2026-11-02 03:09:40,230 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 is 31.32.111.1 and allocation pool is NOT set 2026-11-02 03:09:44,312 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-11-02 03:09:44,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55143957-29199727 failed! 2026-11-02 03:09:44,328 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55143957:ctest-vn-36461918 is 31.32.111.1 and allocation pool is NOT set 2026-11-02 03:09:46,397 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.639 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.639/4.475/8.312/3.836 ms') 2026-11-02 03:09:46,397 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55143957-29199727 passed 2026-11-02 03:09:46,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:09:46,478 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55143957-29199727, IP 31.32.111.3, Port 22 2026-11-02 03:09:46,544 - 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-02 03:09:46,665 - DEBUG - VM ctest-TestBasicPolicy-55143957-29199727 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 03:09:51,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:09:51,665 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55143957-29199727, IP 31.32.111.3, Port 22 2026-11-02 03:09:51,732 - 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-02 03:09:51,818 - DEBUG - VM ctest-TestBasicPolicy-55143957-29199727 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 03:09:56,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:09:56,819 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55143957-29199727, IP 31.32.111.3, Port 22 2026-11-02 03:09:56,996 - DEBUG - VM ctest-TestBasicPolicy-55143957-29199727 is ready for SSH connections 2026-11-02 03:09:56,996 - INFO - Waiting for VM ctest-TestBasicPolicy-55143957-90489637 to be up.. 2026-11-02 03:09:57,087 - DEBUG - VM is in ACTIVE state now 2026-11-02 03:09:57,087 - INFO - VM name : ctest-TestBasicPolicy-55143957-90489637 2026-11-02 03:09:57,176 - DEBUG - VM ctest-TestBasicPolicy-55143957-90489637 ID is 56352642-5e0d-4285-bfe4-c6bedf3ff838 2026-11-02 03:09:57,176 - DEBUG - VM ctest-TestBasicPolicy-55143957-90489637 launched on Node an-jenkins-deploy-platform-ansible-os-6461-2 2026-11-02 03:09:57,269 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/56352642-5e0d-4285-bfe4-c6bedf3ff838 2026-11-02 03:09:57,281 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/585c80d1-cf2b-408b-a304-e5b68a6303db 2026-11-02 03:09:58,450 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.759/3.544/5.330/1.785 ms') 2026-11-02 03:09:58,450 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55143957-90489637 passed 2026-11-02 03:09:58,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:09:58,522 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55143957-90489637, IP 83.48.51.195, Port 22 2026-11-02 03:09:58,697 - DEBUG - VM ctest-TestBasicPolicy-55143957-90489637 is ready for SSH connections 2026-11-02 03:09:58,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:09:58,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.48.51.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-02 03:09:58,697 - DEBUG - ping -s 56 -c 3 -W 1 83.48.51.195 2026-11-02 03:10:11,195 - DEBUG - PING 83.48.51.195 (83.48.51.195) 56(84) bytes of data. 64 bytes from 83.48.51.195: icmp_req=1 ttl=63 time=9.71 ms 64 bytes from 83.48.51.195: icmp_req=2 ttl=63 time=3.68 ms 64 bytes from 83.48.51.195: icmp_req=3 ttl=63 time=1.16 ms --- 83.48.51.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.169/4.857/9.715/3.585 ms 2026-11-02 03:10:11,195 - INFO - Ping to IP 83.48.51.195 from VM ctest-TestBasicPolicy-55143957-29199727 passed 2026-11-02 03:10:11,413 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7c296ca8-ad35-4c19-8bb8-13fcaecc6541", "href": "http://10.0.0.191:8082/network-policy/7c296ca8-ad35-4c19-8bb8-13fcaecc6541"}} 2026-11-02 03:10:11,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:10:11,413 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.48.51.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-02 03:10:11,413 - DEBUG - ping -s 56 -c 3 -W 1 83.48.51.195 2026-11-02 03:10:14,891 - DEBUG - PING 83.48.51.195 (83.48.51.195) 56(84) bytes of data. 64 bytes from 83.48.51.195: icmp_req=1 ttl=63 time=5.84 ms --- 83.48.51.195 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 5.843/5.843/5.843/0.000 ms 2026-11-02 03:10:14,891 - WARNING - Ping to IP 83.48.51.195 from VM ctest-TestBasicPolicy-55143957-29199727 failed 2026-11-02 03:10:14,891 - INFO - Deleting VM ctest-TestBasicPolicy-55143957-90489637 2026-11-02 03:10:14,969 - INFO - Deleting VM ctest-TestBasicPolicy-55143957-29199727 2026-11-02 03:10:15,408 - INFO - Deleted policy ctest-policy-allow-all-24338306 2026-11-02 03:10:15,408 - INFO - Deleting VN ctest-vn-08143883 2026-11-02 03:10:15,451 - DEBUG - VN 0eebb664-d448-41a9-9890-f9d47b41645e still in use: Unable to complete operation on network 0eebb664-d448-41a9-9890-f9d47b41645e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f53e91ba-a804-4bf2-b7f6-ad315b48cc3f'] 2026-11-02 03:10:15,451 - WARNING - Deleting VN ctest-vn-08143883 failed..Will retry 2026-11-02 03:10:17,538 - DEBUG - VN 0eebb664-d448-41a9-9890-f9d47b41645e still in use: Unable to complete operation on network 0eebb664-d448-41a9-9890-f9d47b41645e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f7a0852a-6052-4c37-8111-d2f0cd8b250a'] 2026-11-02 03:10:17,538 - WARNING - Deleting VN ctest-vn-08143883 failed..Will retry 2026-11-02 03:10:19,715 - DEBUG - Response for deleting network () 2026-11-02 03:10:19,715 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faa123d0-184d-4f4e-8493-ce779f25a52f 2026-11-02 03:10:19,722 - DEBUG - Response Code: 404 2026-11-02 03:10:19,722 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:10:19,733 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5757b06b-c09b-4d3a-a3fa-720afb19f2b8 2026-11-02 03:10:19,780 - DEBUG - Requesting: http://10.0.0.50:8082/project/16f574b9-45c9-4d5d-a0ec-cb48cd156bf1 2026-11-02 03:10:19,866 - INFO - Validated that VN ctest-vn-08143883 is not found in API Server 2026-11-02 03:10:19,879 - DEBUG - VN ctest-vn-08143883 is not present in Agent 10.0.0.161 2026-11-02 03:10:19,889 - DEBUG - VN ctest-vn-08143883 is not present in Agent 10.0.0.162 2026-11-02 03:10:19,889 - INFO - Validated that VN ctest-vn-08143883 is not in any agent 2026-11-02 03:10:19,925 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08143883 info 2026-11-02 03:10:19,925 - INFO - Deleting VN ctest-vn-36461918 2026-11-02 03:10:20,104 - DEBUG - Response for deleting network () 2026-11-02 03:10:20,104 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65b13c0a-aaac-4ecb-82b2-8b05303eaad4 2026-11-02 03:10:20,111 - DEBUG - Response Code: 404 2026-11-02 03:10:20,111 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:10:20,117 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5757b06b-c09b-4d3a-a3fa-720afb19f2b8 2026-11-02 03:10:20,130 - DEBUG - Requesting: http://10.0.0.50:8082/project/16f574b9-45c9-4d5d-a0ec-cb48cd156bf1 2026-11-02 03:10:20,227 - INFO - Validated that VN ctest-vn-36461918 is not found in API Server 2026-11-02 03:10:20,240 - DEBUG - VN ctest-vn-36461918 is not present in Agent 10.0.0.161 2026-11-02 03:10:20,249 - DEBUG - VN ctest-vn-36461918 is not present in Agent 10.0.0.162 2026-11-02 03:10:20,249 - INFO - Validated that VN ctest-vn-36461918 is not in any agent 2026-11-02 03:10:20,289 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36461918 info 2026-11-02 03:10:21,583 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 03:10:21,583 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:44]
2026-11-02 03:10:21,583 - INFO - -------------------------------------------------------------------------------- 2026-11-02 03:10:22,476 - INFO - Deleted project: ctest-TestBasicPolicy-55143957, ID : 16f574b9-45c9-4d5d-a0ec-cb48cd156bf1