2026-02-02 16:30:40,393 - INFO - Domain Default found not creating
2026-02-02 16:30:40,554 - INFO - Project ctest-TestBasicPolicy-82059753 not found, creating it
2026-02-02 16:30:41,006 - INFO - Created Project:ctest-TestBasicPolicy-82059753, ID : 899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6
2026-02-02 16:30:42,488 - INFO - ================================================================================
2026-02-02 16:30:42,488 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-02 16:30:42,488 - 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-02-02 16:30:42,746 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-02-02 16:30:42,747 - INFO - Initial checks done. Running the testcase now
2026-02-02 16:30:42,747 - INFO -
2026-02-02 16:30:43,295 - DEBUG - Response for create_network : {'network': {'id': 'dc340217-fd6c-43d2-8fe5-878823814623', 'name': 'ctest-vn-74182840', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-vn-74182840'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 16:30:43,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fe44e6c-d351-4bbf-badc-29634383e2de', 'name': '', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'network_id': 'dc340217-fd6c-43d2-8fe5-878823814623', 'ip_version': 4, 'cidr': '195.134.26.64/26', 'allocation_pools': [{'start': '195.134.26.66', 'end': '195.134.26.126'}], 'gateway_ip': '195.134.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.134.26.66', 'tags': [], 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6'}}
2026-02-02 16:30:43,464 - INFO - Created VN ctest-vn-74182840
2026-02-02 16:30:43,514 - DEBUG - VN ctest-vn-74182840 UUID is dc340217-fd6c-43d2-8fe5-878823814623
2026-02-02 16:30:43,815 - DEBUG - Response for create_network : {'network': {'id': '4aef6e88-2f78-4cf9-aa6b-eb427e41c497', 'name': 'ctest-vn-79375317', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-vn-79375317'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 16:30:44,027 - DEBUG - Response for create_subnet : {'subnet': {'id': '94db4546-7249-4ee4-a78f-a97887bbcd61', 'name': '', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'network_id': '4aef6e88-2f78-4cf9-aa6b-eb427e41c497', 'ip_version': 4, 'cidr': '54.14.98.128/26', 'allocation_pools': [{'start': '54.14.98.130', 'end': '54.14.98.190'}], 'gateway_ip': '54.14.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.14.98.130', 'tags': [], 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6'}}
2026-02-02 16:30:44,045 - INFO - Created VN ctest-vn-79375317
2026-02-02 16:30:44,094 - DEBUG - VN ctest-vn-79375317 UUID is 4aef6e88-2f78-4cf9-aa6b-eb427e41c497
2026-02-02 16:30:44,206 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840, 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-82059753:ctest-vn-79375317, 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-02-02 16:30:44,497 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc340217-fd6c-43d2-8fe5-878823814623', 'name': 'ctest-vn-74182840', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0fe44e6c-d351-4bbf-badc-29634383e2de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-vn-74182840'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-policy-allow-all-44429592']], 'subnet_ipam': [{'subnet_cidr': '195.134.26.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 16:30:44,765 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4aef6e88-2f78-4cf9-aa6b-eb427e41c497', 'name': 'ctest-vn-79375317', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['94db4546-7249-4ee4-a78f-a97887bbcd61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-vn-79375317'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-policy-allow-all-44429592']], 'subnet_ipam': [{'subnet_cidr': '54.14.98.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 16:30:44,910 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-02 16:30:45,203 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-02 16:30:45,241 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb
2026-02-02 16:30:45,252 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6
2026-02-02 16:30:45,332 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623
2026-02-02 16:30:45,344 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623
2026-02-02 16:30:45,354 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33
2026-02-02 16:30:45,363 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33
2026-02-02 16:30:45,370 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b04392f3-cf64-465e-8ea0-90e391fed2ae
2026-02-02 16:30:45,376 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 16:30:45,376 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623
2026-02-02 16:30:45,385 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33
2026-02-02 16:30:45,399 - INFO - Verified VN network id 12 for VN dc340217-fd6c-43d2-8fe5-878823814623
2026-02-02 16:30:45,400 - INFO - Verifications in API Server for VN ctest-vn-74182840 passed
2026-02-02 16:30:45,400 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623
2026-02-02 16:30:45,408 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33
2026-02-02 16:30:45,415 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33
2026-02-02 16:30:45,421 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b04392f3-cf64-465e-8ea0-90e391fed2ae
2026-02-02 16:30:45,435 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82059753', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15867309689192334290', 'uuid-lslong': '10368842735871411747'}, 'enable': 'true', 'created': '2026-02-02T16:30:43', 'last-modified': '2026-02-02T16:30:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.955183'}
2026-02-02 16:30:45,440 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 16:30:45,440 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74182840 passed
2026-02-02 16:30:45,441 - DEBUG - ====Verifying policy data for ctest-vn-74182840 in API_Server ======
2026-02-02 16:30:45,441 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-02 16:30:45,446 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb
2026-02-02 16:30:45,458 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6
2026-02-02 16:30:45,529 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623
2026-02-02 16:30:45,538 - DEBUG - ==>Verifying data for policy with id: f84dbe95-20b9-42d8-8d35-3e7ec2957ebf, fqn: ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-policy-allow-all-44429592']
2026-02-02 16:30:45,538 - INFO - VN ctest-vn-74182840 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 16:30:45,538 - DEBUG - Verifying the vn in opserver
2026-02-02 16:30:45,538 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840 virtual network link through opserver 10.0.0.242
2026-02-02 16:30:45,538 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-02 16:30:45,838 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-02 16:30:45,901 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840?flat'}
2026-02-02 16:30:45,901 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840 is found in opserver
2026-02-02 16:30:45,911 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 16:30:45,915 - DEBUG - VRF ids for VN ctest-vn-74182840: {}
2026-02-02 16:30:45,915 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-02 16:30:45,921 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb
2026-02-02 16:30:45,931 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6
2026-02-02 16:30:46,000 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497
2026-02-02 16:30:46,010 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497
2026-02-02 16:30:46,019 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f
2026-02-02 16:30:46,025 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f
2026-02-02 16:30:46,031 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/1cf12cd5-067f-436d-b2fb-fd05c9ac3e22
2026-02-02 16:30:46,038 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 16:30:46,038 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497
2026-02-02 16:30:46,047 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f
2026-02-02 16:30:46,059 - INFO - Verified VN network id 13 for VN 4aef6e88-2f78-4cf9-aa6b-eb427e41c497
2026-02-02 16:30:46,060 - INFO - Verifications in API Server for VN ctest-vn-79375317 passed
2026-02-02 16:30:46,060 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497
2026-02-02 16:30:46,069 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f
2026-02-02 16:30:46,075 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f
2026-02-02 16:30:46,081 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/1cf12cd5-067f-436d-b2fb-fd05c9ac3e22
2026-02-02 16:30:46,092 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82059753', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5399656009431534841', 'uuid-lslong': '12280167479774397591'}, 'enable': 'true', 'created': '2026-02-02T16:30:43', 'last-modified': '2026-02-02T16:30:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.389060'}
2026-02-02 16:30:46,097 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 16:30:46,098 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79375317 passed
2026-02-02 16:30:46,099 - DEBUG - ====Verifying policy data for ctest-vn-79375317 in API_Server ======
2026-02-02 16:30:46,099 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-02 16:30:46,107 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb
2026-02-02 16:30:46,119 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6
2026-02-02 16:30:46,195 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497
2026-02-02 16:30:46,203 - DEBUG - ==>Verifying data for policy with id: f84dbe95-20b9-42d8-8d35-3e7ec2957ebf, fqn: ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-policy-allow-all-44429592']
2026-02-02 16:30:46,203 - INFO - VN ctest-vn-79375317 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 16:30:46,204 - DEBUG - Verifying the vn in opserver
2026-02-02 16:30:46,204 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317 virtual network link through opserver 10.0.0.242
2026-02-02 16:30:46,204 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-02 16:30:46,214 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317?flat'}
2026-02-02 16:30:46,214 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317 is found in opserver
2026-02-02 16:30:46,227 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 16:30:46,232 - DEBUG - VRF ids for VN ctest-vn-79375317: {}
2026-02-02 16:30:46,288 - DEBUG - Services list from nova: [