2026-05-18 02:10:38,959 - INFO - Domain Default found not creating
2026-05-18 02:10:39,146 - INFO - Project ctest-TestBasicPolicy-50489208 not found, creating it
2026-05-18 02:10:39,610 - INFO - Created Project:ctest-TestBasicPolicy-50489208, ID : 368d9494-a304-4604-8e49-b217bf2b6b21
2026-05-18 02:10:41,075 - INFO - ================================================================================
2026-05-18 02:10:41,076 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-18 02:10:41,076 - 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-05-18 02:10:41,334 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-05-18 02:10:41,335 - INFO - Initial checks done. Running the testcase now
2026-05-18 02:10:41,335 - INFO -
2026-05-18 02:10:41,906 - DEBUG - Response for create_network : {'network': {'id': 'a39e2435-c8c0-4f99-9429-9b18eed9c376', 'name': 'ctest-vn-14162988', 'tenant_id': '368d9494a30446048e49b217bf2b6b21', 'project_id': '368d9494a30446048e49b217bf2b6b21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50489208', 'ctest-vn-14162988'], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:10:42,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '8009a9d9-61dd-4739-a85d-cff5bb9f575d', 'name': '', 'tenant_id': '368d9494a30446048e49b217bf2b6b21', 'network_id': 'a39e2435-c8c0-4f99-9429-9b18eed9c376', 'ip_version': 4, 'cidr': '97.230.244.0/26', 'allocation_pools': [{'start': '97.230.244.2', 'end': '97.230.244.62'}], 'gateway_ip': '97.230.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.230.244.2', 'tags': [], 'project_id': '368d9494a30446048e49b217bf2b6b21'}}
2026-05-18 02:10:42,138 - INFO - Created VN ctest-vn-14162988
2026-05-18 02:10:42,188 - DEBUG - VN ctest-vn-14162988 UUID is a39e2435-c8c0-4f99-9429-9b18eed9c376
2026-05-18 02:10:42,498 - DEBUG - Response for create_network : {'network': {'id': '7950fe44-2659-44be-8ce2-c65d269f0001', 'name': 'ctest-vn-66338546', 'tenant_id': '368d9494a30446048e49b217bf2b6b21', 'project_id': '368d9494a30446048e49b217bf2b6b21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50489208', 'ctest-vn-66338546'], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:10:42,690 - DEBUG - Response for create_subnet : {'subnet': {'id': '61a68aaf-b7a3-40af-91fe-7d8b2a15f3f8', 'name': '', 'tenant_id': '368d9494a30446048e49b217bf2b6b21', 'network_id': '7950fe44-2659-44be-8ce2-c65d269f0001', 'ip_version': 4, 'cidr': '13.56.155.64/26', 'allocation_pools': [{'start': '13.56.155.66', 'end': '13.56.155.126'}], 'gateway_ip': '13.56.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.56.155.66', 'tags': [], 'project_id': '368d9494a30446048e49b217bf2b6b21'}}
2026-05-18 02:10:42,710 - INFO - Created VN ctest-vn-66338546
2026-05-18 02:10:42,764 - DEBUG - VN ctest-vn-66338546 UUID is 7950fe44-2659-44be-8ce2-c65d269f0001
2026-05-18 02:10:42,912 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-14162988, 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-50489208:ctest-vn-66338546, 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-05-18 02:10:43,223 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a39e2435-c8c0-4f99-9429-9b18eed9c376', 'name': 'ctest-vn-14162988', 'tenant_id': '368d9494a30446048e49b217bf2b6b21', 'project_id': '368d9494a30446048e49b217bf2b6b21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8009a9d9-61dd-4739-a85d-cff5bb9f575d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50489208', 'ctest-vn-14162988'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50489208', 'ctest-policy-allow-all-42046945']], 'subnet_ipam': [{'subnet_cidr': '97.230.244.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:10:43,465 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7950fe44-2659-44be-8ce2-c65d269f0001', 'name': 'ctest-vn-66338546', 'tenant_id': '368d9494a30446048e49b217bf2b6b21', 'project_id': '368d9494a30446048e49b217bf2b6b21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61a68aaf-b7a3-40af-91fe-7d8b2a15f3f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50489208', 'ctest-vn-66338546'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50489208', 'ctest-policy-allow-all-42046945']], 'subnet_ipam': [{'subnet_cidr': '13.56.155.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:10:43,644 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-18 02:10:43,941 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-18 02:10:43,980 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6b576f6-af14-4c48-8fd3-6881dc342ea0
2026-05-18 02:10:43,992 - DEBUG - Requesting: http://10.0.0.38:8082/project/368d9494-a304-4604-8e49-b217bf2b6b21
2026-05-18 02:10:44,064 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a39e2435-c8c0-4f99-9429-9b18eed9c376
2026-05-18 02:10:44,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a39e2435-c8c0-4f99-9429-9b18eed9c376
2026-05-18 02:10:44,104 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/264879ed-5015-48fc-a785-0076160f8ee9
2026-05-18 02:10:44,113 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/264879ed-5015-48fc-a785-0076160f8ee9
2026-05-18 02:10:44,119 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/daae726b-67e4-4b23-8e5e-cd52c44415a4
2026-05-18 02:10:44,126 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-18 02:10:44,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a39e2435-c8c0-4f99-9429-9b18eed9c376
2026-05-18 02:10:44,135 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/264879ed-5015-48fc-a785-0076160f8ee9
2026-05-18 02:10:44,150 - INFO - Verified VN network id 12 for VN a39e2435-c8c0-4f99-9429-9b18eed9c376
2026-05-18 02:10:44,150 - INFO - Verifications in API Server for VN ctest-vn-14162988 passed
2026-05-18 02:10:44,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a39e2435-c8c0-4f99-9429-9b18eed9c376
2026-05-18 02:10:44,159 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/264879ed-5015-48fc-a785-0076160f8ee9
2026-05-18 02:10:44,167 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/264879ed-5015-48fc-a785-0076160f8ee9
2026-05-18 02:10:44,173 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/daae726b-67e4-4b23-8e5e-cd52c44415a4
2026-05-18 02:10:44,184 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-14162988', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50489208', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11789900687922450329', 'uuid-lslong': '10676234923047240566'}, 'enable': 'true', 'created': '2026-05-18T02:10:41', 'last-modified': '2026-05-18T02:10:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987312'}
2026-05-18 02:10:44,189 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-18 02:10:44,189 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14162988 passed
2026-05-18 02:10:44,189 - DEBUG - ====Verifying policy data for ctest-vn-14162988 in API_Server ======
2026-05-18 02:10:44,189 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-18 02:10:44,195 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6b576f6-af14-4c48-8fd3-6881dc342ea0
2026-05-18 02:10:44,206 - DEBUG - Requesting: http://10.0.0.38:8082/project/368d9494-a304-4604-8e49-b217bf2b6b21
2026-05-18 02:10:44,274 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a39e2435-c8c0-4f99-9429-9b18eed9c376
2026-05-18 02:10:44,283 - DEBUG - ==>Verifying data for policy with id: 3d93ca9e-f11d-478d-9374-9fe49ec2c05f, fqn: ['default-domain', 'ctest-TestBasicPolicy-50489208', 'ctest-policy-allow-all-42046945']
2026-05-18 02:10:44,283 - INFO - VN ctest-vn-14162988 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-18 02:10:44,283 - DEBUG - Verifying the vn in opserver
2026-05-18 02:10:44,283 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-14162988 virtual network link through opserver 10.0.0.38
2026-05-18 02:10:44,283 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-05-18 02:10:44,584 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-05-18 02:10:44,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-14162988', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-14162988?flat'}
2026-05-18 02:10:44,641 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-14162988 is found in opserver
2026-05-18 02:10:44,650 - DEBUG - Do not have enough data to verify VN in agent
2026-05-18 02:10:44,655 - DEBUG - VRF ids for VN ctest-vn-14162988: {}
2026-05-18 02:10:44,655 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-18 02:10:44,660 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6b576f6-af14-4c48-8fd3-6881dc342ea0
2026-05-18 02:10:44,671 - DEBUG - Requesting: http://10.0.0.38:8082/project/368d9494-a304-4604-8e49-b217bf2b6b21
2026-05-18 02:10:44,747 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7950fe44-2659-44be-8ce2-c65d269f0001
2026-05-18 02:10:44,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7950fe44-2659-44be-8ce2-c65d269f0001
2026-05-18 02:10:44,768 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9672917a-effa-49d5-b7a4-4d1514f4e3e6
2026-05-18 02:10:44,775 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9672917a-effa-49d5-b7a4-4d1514f4e3e6
2026-05-18 02:10:44,781 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3d8bea1c-2051-4cb9-a703-62e922afc950
2026-05-18 02:10:44,787 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-18 02:10:44,787 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7950fe44-2659-44be-8ce2-c65d269f0001
2026-05-18 02:10:44,796 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9672917a-effa-49d5-b7a4-4d1514f4e3e6
2026-05-18 02:10:44,808 - INFO - Verified VN network id 13 for VN 7950fe44-2659-44be-8ce2-c65d269f0001
2026-05-18 02:10:44,809 - INFO - Verifications in API Server for VN ctest-vn-66338546 passed
2026-05-18 02:10:44,809 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7950fe44-2659-44be-8ce2-c65d269f0001
2026-05-18 02:10:44,817 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9672917a-effa-49d5-b7a4-4d1514f4e3e6
2026-05-18 02:10:44,824 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9672917a-effa-49d5-b7a4-4d1514f4e3e6
2026-05-18 02:10:44,830 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3d8bea1c-2051-4cb9-a703-62e922afc950
2026-05-18 02:10:44,841 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-66338546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50489208', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8741766445380748478', 'uuid-lslong': '10151894613428731905'}, 'enable': 'true', 'created': '2026-05-18T02:10:42', 'last-modified': '2026-05-18T02:10:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.397658'}
2026-05-18 02:10:44,847 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-18 02:10:44,847 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66338546 passed
2026-05-18 02:10:44,847 - DEBUG - ====Verifying policy data for ctest-vn-66338546 in API_Server ======
2026-05-18 02:10:44,848 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-18 02:10:44,853 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6b576f6-af14-4c48-8fd3-6881dc342ea0
2026-05-18 02:10:44,866 - DEBUG - Requesting: http://10.0.0.38:8082/project/368d9494-a304-4604-8e49-b217bf2b6b21
2026-05-18 02:10:44,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7950fe44-2659-44be-8ce2-c65d269f0001
2026-05-18 02:10:44,952 - DEBUG - ==>Verifying data for policy with id: 3d93ca9e-f11d-478d-9374-9fe49ec2c05f, fqn: ['default-domain', 'ctest-TestBasicPolicy-50489208', 'ctest-policy-allow-all-42046945']
2026-05-18 02:10:44,952 - INFO - VN ctest-vn-66338546 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-18 02:10:44,952 - DEBUG - Verifying the vn in opserver
2026-05-18 02:10:44,952 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-66338546 virtual network link through opserver 10.0.0.38
2026-05-18 02:10:44,952 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-05-18 02:10:44,963 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-66338546', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-66338546?flat'}
2026-05-18 02:10:44,963 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50489208:ctest-vn-66338546 is found in opserver
2026-05-18 02:10:44,974 - DEBUG - Do not have enough data to verify VN in agent
2026-05-18 02:10:44,978 - DEBUG - VRF ids for VN ctest-vn-66338546: {}
2026-05-18 02:10:45,044 - DEBUG - Services list from nova: [