2026-07-20 02:25:10,100 - INFO - Domain Default found not creating
2026-07-20 02:25:10,248 - INFO - Project ctest-TestBasicPolicy-67761293 not found, creating it
2026-07-20 02:25:10,714 - INFO - Created Project:ctest-TestBasicPolicy-67761293, ID : bb2a1cc2-c650-4af0-8feb-1a4747ee64ff
2026-07-20 02:25:12,275 - INFO - ================================================================================
2026-07-20 02:25:12,275 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-20 02:25:12,275 - 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-07-20 02:25:12,533 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-07-20 02:25:12,533 - INFO - Initial checks done. Running the testcase now
2026-07-20 02:25:12,533 - INFO -
2026-07-20 02:25:13,147 - DEBUG - Response for create_network : {'network': {'id': 'ae12b4d8-193e-44be-9e66-b62462b59355', 'name': 'ctest-vn-61475639', 'tenant_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'project_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67761293', 'ctest-vn-61475639'], 'port_security_enabled': True, 'description': ''}}
2026-07-20 02:25:13,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a8ef0a7-5fde-4b9b-861b-af97507f3b3f', 'name': '', 'tenant_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'network_id': 'ae12b4d8-193e-44be-9e66-b62462b59355', 'ip_version': 4, 'cidr': '70.15.112.128/26', 'allocation_pools': [{'start': '70.15.112.130', 'end': '70.15.112.190'}], 'gateway_ip': '70.15.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.15.112.130', 'tags': [], 'project_id': 'bb2a1cc2c6504af08feb1a4747ee64ff'}}
2026-07-20 02:25:13,371 - INFO - Created VN ctest-vn-61475639
2026-07-20 02:25:13,423 - DEBUG - VN ctest-vn-61475639 UUID is ae12b4d8-193e-44be-9e66-b62462b59355
2026-07-20 02:25:13,707 - DEBUG - Response for create_network : {'network': {'id': 'a5eac8e9-c917-4c73-8ee8-8e7af80b121e', 'name': 'ctest-vn-96722750', 'tenant_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'project_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67761293', 'ctest-vn-96722750'], 'port_security_enabled': True, 'description': ''}}
2026-07-20 02:25:13,945 - DEBUG - Response for create_subnet : {'subnet': {'id': '50dfeb95-f49e-460d-9655-d0cf56753c89', 'name': '', 'tenant_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'network_id': 'a5eac8e9-c917-4c73-8ee8-8e7af80b121e', 'ip_version': 4, 'cidr': '66.167.108.128/26', 'allocation_pools': [{'start': '66.167.108.130', 'end': '66.167.108.190'}], 'gateway_ip': '66.167.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.167.108.130', 'tags': [], 'project_id': 'bb2a1cc2c6504af08feb1a4747ee64ff'}}
2026-07-20 02:25:13,965 - INFO - Created VN ctest-vn-96722750
2026-07-20 02:25:14,019 - DEBUG - VN ctest-vn-96722750 UUID is a5eac8e9-c917-4c73-8ee8-8e7af80b121e
2026-07-20 02:25:14,171 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-61475639, 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-67761293:ctest-vn-96722750, 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-07-20 02:25:14,483 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae12b4d8-193e-44be-9e66-b62462b59355', 'name': 'ctest-vn-61475639', 'tenant_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'project_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a8ef0a7-5fde-4b9b-861b-af97507f3b3f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67761293', 'ctest-vn-61475639'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67761293', 'ctest-policy-allow-all-44702346']], 'subnet_ipam': [{'subnet_cidr': '70.15.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-20 02:25:14,708 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a5eac8e9-c917-4c73-8ee8-8e7af80b121e', 'name': 'ctest-vn-96722750', 'tenant_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'project_id': 'bb2a1cc2c6504af08feb1a4747ee64ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50dfeb95-f49e-460d-9655-d0cf56753c89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67761293', 'ctest-vn-96722750'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67761293', 'ctest-policy-allow-all-44702346']], 'subnet_ipam': [{'subnet_cidr': '66.167.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-20 02:25:14,887 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-20 02:25:15,217 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-20 02:25:15,245 - DEBUG - Requesting: http://10.0.0.22:8082/domain/763c6432-4151-4fd2-bc40-7ca1e44099b6
2026-07-20 02:25:15,258 - DEBUG - Requesting: http://10.0.0.22:8082/project/bb2a1cc2-c650-4af0-8feb-1a4747ee64ff
2026-07-20 02:25:15,332 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ae12b4d8-193e-44be-9e66-b62462b59355
2026-07-20 02:25:15,345 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ae12b4d8-193e-44be-9e66-b62462b59355
2026-07-20 02:25:15,354 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8259936b-788f-44e3-9fc3-27affb3d4499
2026-07-20 02:25:15,362 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8259936b-788f-44e3-9fc3-27affb3d4499
2026-07-20 02:25:15,369 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3d080987-ed52-4f35-92b9-477de8b6f57c
2026-07-20 02:25:15,376 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-20 02:25:15,376 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ae12b4d8-193e-44be-9e66-b62462b59355
2026-07-20 02:25:15,384 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8259936b-788f-44e3-9fc3-27affb3d4499
2026-07-20 02:25:15,398 - INFO - Verified VN network id 11 for VN ae12b4d8-193e-44be-9e66-b62462b59355
2026-07-20 02:25:15,398 - INFO - Verifications in API Server for VN ctest-vn-61475639 passed
2026-07-20 02:25:15,398 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ae12b4d8-193e-44be-9e66-b62462b59355
2026-07-20 02:25:15,408 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8259936b-788f-44e3-9fc3-27affb3d4499
2026-07-20 02:25:15,416 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8259936b-788f-44e3-9fc3-27affb3d4499
2026-07-20 02:25:15,425 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3d080987-ed52-4f35-92b9-477de8b6f57c
2026-07-20 02:25:15,439 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-61475639', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67761293', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12543286752409699518', 'uuid-lslong': '11414010573008245589'}, 'enable': 'true', 'created': '2026-07-20T02:25:13', 'last-modified': '2026-07-20T02:25:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983200'}
2026-07-20 02:25:15,446 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-20 02:25:15,447 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61475639 passed
2026-07-20 02:25:15,447 - DEBUG - ====Verifying policy data for ctest-vn-61475639 in API_Server ======
2026-07-20 02:25:15,447 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-20 02:25:15,452 - DEBUG - Requesting: http://10.0.0.22:8082/domain/763c6432-4151-4fd2-bc40-7ca1e44099b6
2026-07-20 02:25:15,461 - DEBUG - Requesting: http://10.0.0.22:8082/project/bb2a1cc2-c650-4af0-8feb-1a4747ee64ff
2026-07-20 02:25:15,529 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ae12b4d8-193e-44be-9e66-b62462b59355
2026-07-20 02:25:15,540 - DEBUG - ==>Verifying data for policy with id: 07e97d05-a3bd-4526-a056-46cb86c2cd60, fqn: ['default-domain', 'ctest-TestBasicPolicy-67761293', 'ctest-policy-allow-all-44702346']
2026-07-20 02:25:15,540 - INFO - VN ctest-vn-61475639 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-20 02:25:15,540 - DEBUG - Verifying the vn in opserver
2026-07-20 02:25:15,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-61475639 virtual network link through opserver 10.0.0.22
2026-07-20 02:25:15,540 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-07-20 02:25:15,862 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-07-20 02:25:15,911 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-61475639', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-61475639?flat'}
2026-07-20 02:25:15,911 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-61475639 is found in opserver
2026-07-20 02:25:15,922 - DEBUG - Do not have enough data to verify VN in agent
2026-07-20 02:25:15,927 - DEBUG - VRF ids for VN ctest-vn-61475639: {}
2026-07-20 02:25:15,927 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-20 02:25:15,933 - DEBUG - Requesting: http://10.0.0.22:8082/domain/763c6432-4151-4fd2-bc40-7ca1e44099b6
2026-07-20 02:25:15,943 - DEBUG - Requesting: http://10.0.0.22:8082/project/bb2a1cc2-c650-4af0-8feb-1a4747ee64ff
2026-07-20 02:25:16,016 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a5eac8e9-c917-4c73-8ee8-8e7af80b121e
2026-07-20 02:25:16,027 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a5eac8e9-c917-4c73-8ee8-8e7af80b121e
2026-07-20 02:25:16,036 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/124b0f0f-5dc6-461a-b6fb-64b6bd76b129
2026-07-20 02:25:16,043 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/124b0f0f-5dc6-461a-b6fb-64b6bd76b129
2026-07-20 02:25:16,050 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fe540b46-e34d-4984-97e4-366080134da3
2026-07-20 02:25:16,057 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-20 02:25:16,057 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a5eac8e9-c917-4c73-8ee8-8e7af80b121e
2026-07-20 02:25:16,068 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/124b0f0f-5dc6-461a-b6fb-64b6bd76b129
2026-07-20 02:25:16,088 - INFO - Verified VN network id 12 for VN a5eac8e9-c917-4c73-8ee8-8e7af80b121e
2026-07-20 02:25:16,088 - INFO - Verifications in API Server for VN ctest-vn-96722750 passed
2026-07-20 02:25:16,088 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a5eac8e9-c917-4c73-8ee8-8e7af80b121e
2026-07-20 02:25:16,099 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/124b0f0f-5dc6-461a-b6fb-64b6bd76b129
2026-07-20 02:25:16,106 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/124b0f0f-5dc6-461a-b6fb-64b6bd76b129
2026-07-20 02:25:16,114 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fe540b46-e34d-4984-97e4-366080134da3
2026-07-20 02:25:16,127 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-96722750', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67761293', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11955589067235085427', 'uuid-lslong': '10297637206781268510'}, 'enable': 'true', 'created': '2026-07-20T02:25:13', 'last-modified': '2026-07-20T02:25:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.440960'}
2026-07-20 02:25:16,133 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-20 02:25:16,133 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96722750 passed
2026-07-20 02:25:16,133 - DEBUG - ====Verifying policy data for ctest-vn-96722750 in API_Server ======
2026-07-20 02:25:16,133 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-20 02:25:16,138 - DEBUG - Requesting: http://10.0.0.22:8082/domain/763c6432-4151-4fd2-bc40-7ca1e44099b6
2026-07-20 02:25:16,149 - DEBUG - Requesting: http://10.0.0.22:8082/project/bb2a1cc2-c650-4af0-8feb-1a4747ee64ff
2026-07-20 02:25:16,245 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a5eac8e9-c917-4c73-8ee8-8e7af80b121e
2026-07-20 02:25:16,254 - DEBUG - ==>Verifying data for policy with id: 07e97d05-a3bd-4526-a056-46cb86c2cd60, fqn: ['default-domain', 'ctest-TestBasicPolicy-67761293', 'ctest-policy-allow-all-44702346']
2026-07-20 02:25:16,255 - INFO - VN ctest-vn-96722750 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-20 02:25:16,255 - DEBUG - Verifying the vn in opserver
2026-07-20 02:25:16,255 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-96722750 virtual network link through opserver 10.0.0.22
2026-07-20 02:25:16,255 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-07-20 02:25:16,265 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-96722750', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-96722750?flat'}
2026-07-20 02:25:16,265 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67761293:ctest-vn-96722750 is found in opserver
2026-07-20 02:25:16,278 - DEBUG - Do not have enough data to verify VN in agent
2026-07-20 02:25:16,283 - DEBUG - VRF ids for VN ctest-vn-96722750: {}
2026-07-20 02:25:16,340 - DEBUG - Services list from nova: [