2026-10-31 13:00:27,055 - INFO - Domain Default found not creating
2026-10-31 13:00:27,245 - INFO - Project ctest-TestBasicPolicy-95890430 not found, creating it
2026-10-31 13:00:27,721 - INFO - Created Project:ctest-TestBasicPolicy-95890430, ID : 19383faa-2215-4aa5-83fa-769422ff76be
2026-10-31 13:00:29,549 - INFO - ================================================================================
2026-10-31 13:00:29,550 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-31 13:00:29,550 - 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-10-31 13:00:29,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-31 13:00:29,804 - INFO - Initial checks done. Running the testcase now
2026-10-31 13:00:29,805 - INFO -
2026-10-31 13:00:30,421 - DEBUG - Response for create_network : {'network': {'id': '82aa5fdb-b78d-490f-a8d4-f002c383a66a', 'name': 'ctest-vn-14989490', 'tenant_id': '19383faa22154aa583fa769422ff76be', 'project_id': '19383faa22154aa583fa769422ff76be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95890430', 'ctest-vn-14989490'], 'port_security_enabled': True, 'description': ''}}
2026-10-31 13:00:30,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '364aa1f3-fdd2-4c71-945e-3cf76eead86e', 'name': '', 'tenant_id': '19383faa22154aa583fa769422ff76be', 'network_id': '82aa5fdb-b78d-490f-a8d4-f002c383a66a', 'ip_version': 4, 'cidr': '215.118.130.64/26', 'allocation_pools': [{'start': '215.118.130.66', 'end': '215.118.130.126'}], 'gateway_ip': '215.118.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.118.130.66', 'tags': [], 'project_id': '19383faa22154aa583fa769422ff76be'}}
2026-10-31 13:00:30,647 - INFO - Created VN ctest-vn-14989490
2026-10-31 13:00:30,699 - DEBUG - VN ctest-vn-14989490 UUID is 82aa5fdb-b78d-490f-a8d4-f002c383a66a
2026-10-31 13:00:31,020 - DEBUG - Response for create_network : {'network': {'id': '893db3ac-c1ab-44b1-a393-fb748c3212be', 'name': 'ctest-vn-56691572', 'tenant_id': '19383faa22154aa583fa769422ff76be', 'project_id': '19383faa22154aa583fa769422ff76be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95890430', 'ctest-vn-56691572'], 'port_security_enabled': True, 'description': ''}}
2026-10-31 13:00:31,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c06eca44-4620-4756-a642-85ff22b2fa13', 'name': '', 'tenant_id': '19383faa22154aa583fa769422ff76be', 'network_id': '893db3ac-c1ab-44b1-a393-fb748c3212be', 'ip_version': 4, 'cidr': '219.175.196.0/26', 'allocation_pools': [{'start': '219.175.196.2', 'end': '219.175.196.62'}], 'gateway_ip': '219.175.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.175.196.2', 'tags': [], 'project_id': '19383faa22154aa583fa769422ff76be'}}
2026-10-31 13:00:31,248 - INFO - Created VN ctest-vn-56691572
2026-10-31 13:00:31,303 - DEBUG - VN ctest-vn-56691572 UUID is 893db3ac-c1ab-44b1-a393-fb748c3212be
2026-10-31 13:00:31,451 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-14989490, 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-95890430:ctest-vn-56691572, 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-10-31 13:00:31,757 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82aa5fdb-b78d-490f-a8d4-f002c383a66a', 'name': 'ctest-vn-14989490', 'tenant_id': '19383faa22154aa583fa769422ff76be', 'project_id': '19383faa22154aa583fa769422ff76be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['364aa1f3-fdd2-4c71-945e-3cf76eead86e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95890430', 'ctest-vn-14989490'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95890430', 'ctest-policy-allow-all-16525374']], 'subnet_ipam': [{'subnet_cidr': '215.118.130.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-31 13:00:31,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '893db3ac-c1ab-44b1-a393-fb748c3212be', 'name': 'ctest-vn-56691572', 'tenant_id': '19383faa22154aa583fa769422ff76be', 'project_id': '19383faa22154aa583fa769422ff76be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c06eca44-4620-4756-a642-85ff22b2fa13'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95890430', 'ctest-vn-56691572'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95890430', 'ctest-policy-allow-all-16525374']], 'subnet_ipam': [{'subnet_cidr': '219.175.196.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-31 13:00:32,143 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-31 13:00:32,509 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-31 13:00:32,538 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9fb69766-2f98-4b3a-b7eb-0a3b95e3d4e1
2026-10-31 13:00:32,550 - DEBUG - Requesting: http://10.0.0.185:8082/project/19383faa-2215-4aa5-83fa-769422ff76be
2026-10-31 13:00:32,625 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/82aa5fdb-b78d-490f-a8d4-f002c383a66a
2026-10-31 13:00:32,638 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/82aa5fdb-b78d-490f-a8d4-f002c383a66a
2026-10-31 13:00:32,649 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/14595523-a234-47fd-8881-cf7794cc0b60
2026-10-31 13:00:32,656 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/14595523-a234-47fd-8881-cf7794cc0b60
2026-10-31 13:00:32,661 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3692b5a6-d557-4c43-8f9e-ecede1653dfa
2026-10-31 13:00:32,667 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-31 13:00:32,668 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/82aa5fdb-b78d-490f-a8d4-f002c383a66a
2026-10-31 13:00:32,677 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/14595523-a234-47fd-8881-cf7794cc0b60
2026-10-31 13:00:32,691 - INFO - Verified VN network id 12 for VN 82aa5fdb-b78d-490f-a8d4-f002c383a66a
2026-10-31 13:00:32,691 - INFO - Verifications in API Server for VN ctest-vn-14989490 passed
2026-10-31 13:00:32,691 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/82aa5fdb-b78d-490f-a8d4-f002c383a66a
2026-10-31 13:00:32,699 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/14595523-a234-47fd-8881-cf7794cc0b60
2026-10-31 13:00:32,705 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/14595523-a234-47fd-8881-cf7794cc0b60
2026-10-31 13:00:32,711 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3692b5a6-d557-4c43-8f9e-ecede1653dfa
2026-10-31 13:00:32,723 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-14989490', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95890430', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9415443368253409551', 'uuid-lslong': '12165612388095338090'}, 'enable': 'true', 'created': '2026-10-31T13:00:30', 'last-modified': '2026-10-31T13:00:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992531'}
2026-10-31 13:00:32,730 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-31 13:00:32,730 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14989490 passed
2026-10-31 13:00:32,730 - DEBUG - ====Verifying policy data for ctest-vn-14989490 in API_Server ======
2026-10-31 13:00:32,730 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-31 13:00:32,736 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9fb69766-2f98-4b3a-b7eb-0a3b95e3d4e1
2026-10-31 13:00:32,747 - DEBUG - Requesting: http://10.0.0.185:8082/project/19383faa-2215-4aa5-83fa-769422ff76be
2026-10-31 13:00:32,818 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/82aa5fdb-b78d-490f-a8d4-f002c383a66a
2026-10-31 13:00:32,827 - DEBUG - ==>Verifying data for policy with id: f701d1f8-36d6-4451-8338-ae7012a5706b, fqn: ['default-domain', 'ctest-TestBasicPolicy-95890430', 'ctest-policy-allow-all-16525374']
2026-10-31 13:00:32,827 - INFO - VN ctest-vn-14989490 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-31 13:00:32,827 - DEBUG - Verifying the vn in opserver
2026-10-31 13:00:32,827 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-14989490 virtual network link through opserver 10.0.0.185
2026-10-31 13:00:32,828 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-31 13:00:33,190 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-31 13:00:33,246 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-14989490', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-14989490?flat'}
2026-10-31 13:00:33,246 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-14989490 is found in opserver
2026-10-31 13:00:33,255 - DEBUG - Do not have enough data to verify VN in agent
2026-10-31 13:00:33,260 - DEBUG - VRF ids for VN ctest-vn-14989490: {}
2026-10-31 13:00:33,260 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-31 13:00:33,265 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9fb69766-2f98-4b3a-b7eb-0a3b95e3d4e1
2026-10-31 13:00:33,276 - DEBUG - Requesting: http://10.0.0.185:8082/project/19383faa-2215-4aa5-83fa-769422ff76be
2026-10-31 13:00:33,352 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/893db3ac-c1ab-44b1-a393-fb748c3212be
2026-10-31 13:00:33,363 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/893db3ac-c1ab-44b1-a393-fb748c3212be
2026-10-31 13:00:33,373 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2e224335-857f-4b16-985f-45c6101b7faf
2026-10-31 13:00:33,380 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2e224335-857f-4b16-985f-45c6101b7faf
2026-10-31 13:00:33,387 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/933f6716-2484-4e7e-9d02-299d8484cca7
2026-10-31 13:00:33,392 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-31 13:00:33,392 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/893db3ac-c1ab-44b1-a393-fb748c3212be
2026-10-31 13:00:33,400 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2e224335-857f-4b16-985f-45c6101b7faf
2026-10-31 13:00:33,414 - INFO - Verified VN network id 13 for VN 893db3ac-c1ab-44b1-a393-fb748c3212be
2026-10-31 13:00:33,414 - INFO - Verifications in API Server for VN ctest-vn-56691572 passed
2026-10-31 13:00:33,414 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/893db3ac-c1ab-44b1-a393-fb748c3212be
2026-10-31 13:00:33,425 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2e224335-857f-4b16-985f-45c6101b7faf
2026-10-31 13:00:33,432 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2e224335-857f-4b16-985f-45c6101b7faf
2026-10-31 13:00:33,438 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/933f6716-2484-4e7e-9d02-299d8484cca7
2026-10-31 13:00:33,452 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-56691572', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95890430', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9889257911340450993', 'uuid-lslong': '11787041127745589950'}, 'enable': 'true', 'created': '2026-10-31T13:00:30', 'last-modified': '2026-10-31T13:00:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.491627'}
2026-10-31 13:00:33,459 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-31 13:00:33,459 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56691572 passed
2026-10-31 13:00:33,459 - DEBUG - ====Verifying policy data for ctest-vn-56691572 in API_Server ======
2026-10-31 13:00:33,459 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-31 13:00:33,465 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9fb69766-2f98-4b3a-b7eb-0a3b95e3d4e1
2026-10-31 13:00:33,475 - DEBUG - Requesting: http://10.0.0.185:8082/project/19383faa-2215-4aa5-83fa-769422ff76be
2026-10-31 13:00:33,548 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/893db3ac-c1ab-44b1-a393-fb748c3212be
2026-10-31 13:00:33,557 - DEBUG - ==>Verifying data for policy with id: f701d1f8-36d6-4451-8338-ae7012a5706b, fqn: ['default-domain', 'ctest-TestBasicPolicy-95890430', 'ctest-policy-allow-all-16525374']
2026-10-31 13:00:33,557 - INFO - VN ctest-vn-56691572 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-31 13:00:33,557 - DEBUG - Verifying the vn in opserver
2026-10-31 13:00:33,557 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-56691572 virtual network link through opserver 10.0.0.185
2026-10-31 13:00:33,557 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-31 13:00:33,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-56691572', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-56691572?flat'}
2026-10-31 13:00:33,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95890430:ctest-vn-56691572 is found in opserver
2026-10-31 13:00:33,576 - DEBUG - Do not have enough data to verify VN in agent
2026-10-31 13:00:33,581 - DEBUG - VRF ids for VN ctest-vn-56691572: {}
2026-10-31 13:00:33,638 - DEBUG - Services list from nova: [