2026-09-23 12:59:22,935 - INFO - Domain Default found not creating
2026-09-23 12:59:23,191 - INFO - Project ctest-TestBasicPolicy-00165113 not found, creating it
2026-09-23 12:59:23,797 - INFO - Created Project:ctest-TestBasicPolicy-00165113, ID : 048c973f-2abc-4ac9-8aaa-eca52955c04b
2026-09-23 12:59:25,833 - INFO - ================================================================================
2026-09-23 12:59:25,833 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-23 12:59:25,833 - 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-09-23 12:59:26,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-09-23 12:59:26,115 - INFO - Initial checks done. Running the testcase now
2026-09-23 12:59:26,115 - INFO -
2026-09-23 12:59:26,812 - DEBUG - Response for create_network : {'network': {'id': '1688f46f-a287-47e5-864c-07bde30c78fa', 'name': 'ctest-vn-54285393', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'project_id': '048c973f2abc4ac98aaaeca52955c04b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-vn-54285393'], 'port_security_enabled': True, 'description': ''}}
2026-09-23 12:59:27,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '35ebff33-28f4-48c1-ade5-9ea2ddd8b6f1', 'name': '', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'network_id': '1688f46f-a287-47e5-864c-07bde30c78fa', 'ip_version': 4, 'cidr': '103.90.122.128/26', 'allocation_pools': [{'start': '103.90.122.130', 'end': '103.90.122.190'}], 'gateway_ip': '103.90.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.90.122.130', 'tags': [], 'project_id': '048c973f2abc4ac98aaaeca52955c04b'}}
2026-09-23 12:59:27,086 - INFO - Created VN ctest-vn-54285393
2026-09-23 12:59:27,144 - DEBUG - VN ctest-vn-54285393 UUID is 1688f46f-a287-47e5-864c-07bde30c78fa
2026-09-23 12:59:27,521 - DEBUG - Response for create_network : {'network': {'id': '5a7ec9c9-9220-44cc-82d2-866f11478ca8', 'name': 'ctest-vn-00838368', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'project_id': '048c973f2abc4ac98aaaeca52955c04b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-vn-00838368'], 'port_security_enabled': True, 'description': ''}}
2026-09-23 12:59:27,737 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec72ad21-bb86-48e4-9753-967fd55b5a47', 'name': '', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'network_id': '5a7ec9c9-9220-44cc-82d2-866f11478ca8', 'ip_version': 4, 'cidr': '58.34.209.0/26', 'allocation_pools': [{'start': '58.34.209.2', 'end': '58.34.209.62'}], 'gateway_ip': '58.34.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.34.209.2', 'tags': [], 'project_id': '048c973f2abc4ac98aaaeca52955c04b'}}
2026-09-23 12:59:27,763 - INFO - Created VN ctest-vn-00838368
2026-09-23 12:59:27,824 - DEBUG - VN ctest-vn-00838368 UUID is 5a7ec9c9-9220-44cc-82d2-866f11478ca8
2026-09-23 12:59:27,957 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393, 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-00165113:ctest-vn-00838368, 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-09-23 12:59:28,319 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1688f46f-a287-47e5-864c-07bde30c78fa', 'name': 'ctest-vn-54285393', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'project_id': '048c973f2abc4ac98aaaeca52955c04b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['35ebff33-28f4-48c1-ade5-9ea2ddd8b6f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-vn-54285393'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-policy-allow-all-46363888']], 'subnet_ipam': [{'subnet_cidr': '103.90.122.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-23 12:59:28,638 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a7ec9c9-9220-44cc-82d2-866f11478ca8', 'name': 'ctest-vn-00838368', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'project_id': '048c973f2abc4ac98aaaeca52955c04b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ec72ad21-bb86-48e4-9753-967fd55b5a47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-vn-00838368'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-policy-allow-all-46363888']], 'subnet_ipam': [{'subnet_cidr': '58.34.209.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-23 12:59:28,820 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-23 12:59:29,260 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-23 12:59:29,326 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96
2026-09-23 12:59:29,350 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b
2026-09-23 12:59:29,458 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa
2026-09-23 12:59:29,475 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa
2026-09-23 12:59:29,487 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514
2026-09-23 12:59:29,500 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514
2026-09-23 12:59:29,509 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ec02a9be-45c3-4338-8862-26a7cbba694e
2026-09-23 12:59:29,518 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-23 12:59:29,518 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa
2026-09-23 12:59:29,531 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514
2026-09-23 12:59:29,553 - INFO - Verified VN network id 12 for VN 1688f46f-a287-47e5-864c-07bde30c78fa
2026-09-23 12:59:29,554 - INFO - Verifications in API Server for VN ctest-vn-54285393 passed
2026-09-23 12:59:29,555 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa
2026-09-23 12:59:29,569 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514
2026-09-23 12:59:29,580 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514
2026-09-23 12:59:29,592 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ec02a9be-45c3-4338-8862-26a7cbba694e
2026-09-23 12:59:29,611 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00165113', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1623816425972385765', 'uuid-lslong': '9677118211451812090'}, 'enable': 'true', 'created': '2026-09-23T12:59:26', 'last-modified': '2026-09-23T12:59:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324087'}
2026-09-23 12:59:29,622 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-23 12:59:29,622 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54285393 passed
2026-09-23 12:59:29,622 - DEBUG - ====Verifying policy data for ctest-vn-54285393 in API_Server ======
2026-09-23 12:59:29,622 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-23 12:59:29,630 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96
2026-09-23 12:59:29,648 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b
2026-09-23 12:59:29,745 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa
2026-09-23 12:59:29,759 - DEBUG - ==>Verifying data for policy with id: a2f022c9-42ff-416a-9ca5-0fe0333b4fc4, fqn: ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-policy-allow-all-46363888']
2026-09-23 12:59:29,759 - INFO - VN ctest-vn-54285393 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-23 12:59:29,760 - DEBUG - Verifying the vn in opserver
2026-09-23 12:59:29,760 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393 virtual network link through opserver 10.0.0.189
2026-09-23 12:59:29,760 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-23 12:59:30,146 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-23 12:59:30,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393?flat'}
2026-09-23 12:59:30,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393 is found in opserver
2026-09-23 12:59:30,237 - DEBUG - Do not have enough data to verify VN in agent
2026-09-23 12:59:30,244 - DEBUG - VRF ids for VN ctest-vn-54285393: {}
2026-09-23 12:59:30,245 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-23 12:59:30,254 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96
2026-09-23 12:59:30,272 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b
2026-09-23 12:59:30,369 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8
2026-09-23 12:59:30,428 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8
2026-09-23 12:59:30,447 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca
2026-09-23 12:59:30,470 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca
2026-09-23 12:59:30,495 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a43cb9c8-c3ce-495d-b487-e37f069b40b1
2026-09-23 12:59:30,540 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-23 12:59:30,540 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8
2026-09-23 12:59:30,571 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca
2026-09-23 12:59:30,599 - INFO - Verified VN network id 13 for VN 5a7ec9c9-9220-44cc-82d2-866f11478ca8
2026-09-23 12:59:30,599 - INFO - Verifications in API Server for VN ctest-vn-00838368 passed
2026-09-23 12:59:30,599 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8
2026-09-23 12:59:30,618 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca
2026-09-23 12:59:30,638 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca
2026-09-23 12:59:30,667 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a43cb9c8-c3ce-495d-b487-e37f069b40b1
2026-09-23 12:59:30,687 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00165113', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6520871178056254668', 'uuid-lslong': '9426744781629263016'}, 'enable': 'true', 'created': '2026-09-23T12:59:27', 'last-modified': '2026-09-23T12:59:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.111377'}
2026-09-23 12:59:30,698 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-23 12:59:30,698 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00838368 passed
2026-09-23 12:59:30,699 - DEBUG - ====Verifying policy data for ctest-vn-00838368 in API_Server ======
2026-09-23 12:59:30,699 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-23 12:59:30,722 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96
2026-09-23 12:59:30,747 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b
2026-09-23 12:59:30,894 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8
2026-09-23 12:59:30,918 - DEBUG - ==>Verifying data for policy with id: a2f022c9-42ff-416a-9ca5-0fe0333b4fc4, fqn: ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-policy-allow-all-46363888']
2026-09-23 12:59:30,918 - INFO - VN ctest-vn-00838368 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-23 12:59:30,920 - DEBUG - Verifying the vn in opserver
2026-09-23 12:59:30,920 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368 virtual network link through opserver 10.0.0.189
2026-09-23 12:59:30,920 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-23 12:59:30,937 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368?flat'}
2026-09-23 12:59:30,937 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368 is found in opserver
2026-09-23 12:59:30,960 - DEBUG - Do not have enough data to verify VN in agent
2026-09-23 12:59:30,970 - DEBUG - VRF ids for VN ctest-vn-00838368: {}
2026-09-23 12:59:31,086 - DEBUG - Services list from nova: [