2026-06-18 09:38:56,968 - INFO - Domain Default found not creating
2026-06-18 09:38:57,151 - INFO - Project ctest-TestBasicPolicy-06764363 not found, creating it
2026-06-18 09:38:57,852 - INFO - Created Project:ctest-TestBasicPolicy-06764363, ID : c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4
2026-06-18 09:38:59,362 - INFO - ================================================================================
2026-06-18 09:38:59,362 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-18 09:38:59,362 - 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-06-18 09:38:59,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-18 09:38:59,622 - INFO - Initial checks done. Running the testcase now
2026-06-18 09:38:59,623 - INFO -
2026-06-18 09:39:00,172 - DEBUG - Response for create_network : {'network': {'id': '996ed380-b320-4e91-b73c-d83b9a255a19', 'name': 'ctest-vn-78177566', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-vn-78177566'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 09:39:00,313 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a726d00c-9759-4f3a-be08-703eed1af725', 'name': '', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'network_id': '996ed380-b320-4e91-b73c-d83b9a255a19', 'ip_version': 4, 'cidr': '113.74.94.0/26', 'allocation_pools': [{'start': '113.74.94.2', 'end': '113.74.94.62'}], 'gateway_ip': '113.74.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.74.94.2', 'tags': [], 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4'}}
2026-06-18 09:39:00,327 - INFO - Created VN ctest-vn-78177566
2026-06-18 09:39:00,380 - DEBUG - VN ctest-vn-78177566 UUID is 996ed380-b320-4e91-b73c-d83b9a255a19
2026-06-18 09:39:00,683 - DEBUG - Response for create_network : {'network': {'id': '65f4a612-1e88-47c9-adf6-b6aad69f964f', 'name': 'ctest-vn-25251004', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-vn-25251004'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 09:39:00,853 - DEBUG - Response for create_subnet : {'subnet': {'id': '44e51371-49e5-4e07-a14d-674848042f24', 'name': '', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'network_id': '65f4a612-1e88-47c9-adf6-b6aad69f964f', 'ip_version': 4, 'cidr': '105.187.105.64/26', 'allocation_pools': [{'start': '105.187.105.66', 'end': '105.187.105.126'}], 'gateway_ip': '105.187.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.187.105.66', 'tags': [], 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4'}}
2026-06-18 09:39:00,867 - INFO - Created VN ctest-vn-25251004
2026-06-18 09:39:00,916 - DEBUG - VN ctest-vn-25251004 UUID is 65f4a612-1e88-47c9-adf6-b6aad69f964f
2026-06-18 09:39:01,059 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566, 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-06764363:ctest-vn-25251004, 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-06-18 09:39:01,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '996ed380-b320-4e91-b73c-d83b9a255a19', 'name': 'ctest-vn-78177566', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a726d00c-9759-4f3a-be08-703eed1af725'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-vn-78177566'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-policy-allow-all-17745849']], 'subnet_ipam': [{'subnet_cidr': '113.74.94.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 09:39:01,556 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65f4a612-1e88-47c9-adf6-b6aad69f964f', 'name': 'ctest-vn-25251004', 'tenant_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'project_id': 'c9d373e3b7cd4ee289280b2e3b1030b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44e51371-49e5-4e07-a14d-674848042f24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-vn-25251004'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-policy-allow-all-17745849']], 'subnet_ipam': [{'subnet_cidr': '105.187.105.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 09:39:01,724 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-18 09:39:02,042 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-18 09:39:02,375 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844
2026-06-18 09:39:02,386 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4
2026-06-18 09:39:02,457 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19
2026-06-18 09:39:02,467 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19
2026-06-18 09:39:02,475 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843
2026-06-18 09:39:02,482 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843
2026-06-18 09:39:02,488 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/03a9184a-9e88-40ef-b74a-c9be9c35e396
2026-06-18 09:39:02,493 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 09:39:02,493 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19
2026-06-18 09:39:02,501 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843
2026-06-18 09:39:02,512 - INFO - Verified VN network id 12 for VN 996ed380-b320-4e91-b73c-d83b9a255a19
2026-06-18 09:39:02,512 - INFO - Verifications in API Server for VN ctest-vn-78177566 passed
2026-06-18 09:39:02,513 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19
2026-06-18 09:39:02,520 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843
2026-06-18 09:39:02,526 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6386b2a-fad4-4e3c-9dc2-7b215ae9e843
2026-06-18 09:39:02,532 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/03a9184a-9e88-40ef-b74a-c9be9c35e396
2026-06-18 09:39:02,542 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06764363', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11056006684955659921', 'uuid-lslong': '13203665958044260889'}, 'enable': 'true', 'created': '2026-06-18T09:39:00', 'last-modified': '2026-06-18T09:39:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.224416'}
2026-06-18 09:39:02,547 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 09:39:02,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78177566 passed
2026-06-18 09:39:02,547 - DEBUG - ====Verifying policy data for ctest-vn-78177566 in API_Server ======
2026-06-18 09:39:02,547 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-18 09:39:02,551 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844
2026-06-18 09:39:02,560 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4
2026-06-18 09:39:02,629 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/996ed380-b320-4e91-b73c-d83b9a255a19
2026-06-18 09:39:02,637 - DEBUG - ==>Verifying data for policy with id: bb557d81-15a2-4f69-ba07-1b939b10d9d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-policy-allow-all-17745849']
2026-06-18 09:39:02,637 - INFO - VN ctest-vn-78177566 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 09:39:02,637 - DEBUG - Verifying the vn in opserver
2026-06-18 09:39:02,637 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566 virtual network link through opserver 10.0.0.50
2026-06-18 09:39:02,638 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-18 09:39:03,031 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-18 09:39:03,083 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566?flat'}
2026-06-18 09:39:03,083 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-78177566 is found in opserver
2026-06-18 09:39:03,091 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 09:39:03,096 - DEBUG - VRF ids for VN ctest-vn-78177566: {}
2026-06-18 09:39:03,096 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-18 09:39:03,100 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844
2026-06-18 09:39:03,110 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4
2026-06-18 09:39:03,179 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f
2026-06-18 09:39:03,191 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f
2026-06-18 09:39:03,202 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4
2026-06-18 09:39:03,210 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4
2026-06-18 09:39:03,217 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b7957280-9d7f-4640-a4eb-70debd8969d5
2026-06-18 09:39:03,225 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 09:39:03,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f
2026-06-18 09:39:03,235 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4
2026-06-18 09:39:03,249 - INFO - Verified VN network id 13 for VN 65f4a612-1e88-47c9-adf6-b6aad69f964f
2026-06-18 09:39:03,249 - INFO - Verifications in API Server for VN ctest-vn-25251004 passed
2026-06-18 09:39:03,249 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f
2026-06-18 09:39:03,259 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4
2026-06-18 09:39:03,266 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/996beee0-f534-4712-a3ee-364342edbea4
2026-06-18 09:39:03,275 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b7957280-9d7f-4640-a4eb-70debd8969d5
2026-06-18 09:39:03,288 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06764363', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7346679488899991497', 'uuid-lslong': '12535407457693832783'}, 'enable': 'true', 'created': '2026-06-18T09:39:00', 'last-modified': '2026-06-18T09:39:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.753522'}
2026-06-18 09:39:03,293 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 09:39:03,293 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25251004 passed
2026-06-18 09:39:03,294 - DEBUG - ====Verifying policy data for ctest-vn-25251004 in API_Server ======
2026-06-18 09:39:03,294 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-18 09:39:03,300 - DEBUG - Requesting: http://10.0.0.50:8082/domain/728ec705-d720-4c84-aef2-4f5e2dccf844
2026-06-18 09:39:03,311 - DEBUG - Requesting: http://10.0.0.50:8082/project/c9d373e3-b7cd-4ee2-8928-0b2e3b1030b4
2026-06-18 09:39:03,381 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65f4a612-1e88-47c9-adf6-b6aad69f964f
2026-06-18 09:39:03,390 - DEBUG - ==>Verifying data for policy with id: bb557d81-15a2-4f69-ba07-1b939b10d9d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-06764363', 'ctest-policy-allow-all-17745849']
2026-06-18 09:39:03,390 - INFO - VN ctest-vn-25251004 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 09:39:03,390 - DEBUG - Verifying the vn in opserver
2026-06-18 09:39:03,390 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004 virtual network link through opserver 10.0.0.50
2026-06-18 09:39:03,390 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-18 09:39:03,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004?flat'}
2026-06-18 09:39:03,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06764363:ctest-vn-25251004 is found in opserver
2026-06-18 09:39:03,409 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 09:39:03,413 - DEBUG - VRF ids for VN ctest-vn-25251004: {}
2026-06-18 09:39:03,474 - DEBUG - Services list from nova: [