2026-09-16 10:06:56,251 - INFO - Domain Default found not creating
2026-09-16 10:06:56,413 - INFO - Project ctest-TestBasicPolicy-19223999 not found, creating it
2026-09-16 10:06:56,885 - INFO - Created Project:ctest-TestBasicPolicy-19223999, ID : a48be44b-9dfa-47e7-af64-2b7a04a87406
2026-09-16 10:06:58,438 - INFO - ================================================================================
2026-09-16 10:06:58,438 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-16 10:06:58,438 - 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-16 10:06:58,692 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-09-16 10:06:58,692 - INFO - Initial checks done. Running the testcase now
2026-09-16 10:06:58,692 - INFO -
2026-09-16 10:06:59,277 - DEBUG - Response for create_network : {'network': {'id': 'ce0c5101-aa80-4f2c-9a95-f6874e6c4e37', 'name': 'ctest-vn-05574303', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'project_id': 'a48be44b9dfa47e7af642b7a04a87406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-vn-05574303'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 10:06:59,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '96723660-99e2-414b-ab8d-29a6d3268706', 'name': '', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'network_id': 'ce0c5101-aa80-4f2c-9a95-f6874e6c4e37', 'ip_version': 4, 'cidr': '55.211.72.64/26', 'allocation_pools': [{'start': '55.211.72.66', 'end': '55.211.72.126'}], 'gateway_ip': '55.211.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.211.72.66', 'tags': [], 'project_id': 'a48be44b9dfa47e7af642b7a04a87406'}}
2026-09-16 10:06:59,488 - INFO - Created VN ctest-vn-05574303
2026-09-16 10:06:59,542 - DEBUG - VN ctest-vn-05574303 UUID is ce0c5101-aa80-4f2c-9a95-f6874e6c4e37
2026-09-16 10:06:59,837 - DEBUG - Response for create_network : {'network': {'id': 'f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4', 'name': 'ctest-vn-50509555', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'project_id': 'a48be44b9dfa47e7af642b7a04a87406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-vn-50509555'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 10:06:59,994 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c48cec49-a9a1-4705-9a02-8c637606db22', 'name': '', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'network_id': 'f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4', 'ip_version': 4, 'cidr': '109.171.213.0/26', 'allocation_pools': [{'start': '109.171.213.2', 'end': '109.171.213.62'}], 'gateway_ip': '109.171.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.171.213.2', 'tags': [], 'project_id': 'a48be44b9dfa47e7af642b7a04a87406'}}
2026-09-16 10:07:00,012 - INFO - Created VN ctest-vn-50509555
2026-09-16 10:07:00,066 - DEBUG - VN ctest-vn-50509555 UUID is f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4
2026-09-16 10:07:00,218 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303, 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-19223999:ctest-vn-50509555, 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-16 10:07:00,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce0c5101-aa80-4f2c-9a95-f6874e6c4e37', 'name': 'ctest-vn-05574303', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'project_id': 'a48be44b9dfa47e7af642b7a04a87406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['96723660-99e2-414b-ab8d-29a6d3268706'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-vn-05574303'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-policy-allow-all-33323084']], 'subnet_ipam': [{'subnet_cidr': '55.211.72.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 10:07:00,783 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4', 'name': 'ctest-vn-50509555', 'tenant_id': 'a48be44b9dfa47e7af642b7a04a87406', 'project_id': 'a48be44b9dfa47e7af642b7a04a87406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c48cec49-a9a1-4705-9a02-8c637606db22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-vn-50509555'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-policy-allow-all-33323084']], 'subnet_ipam': [{'subnet_cidr': '109.171.213.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 10:07:00,958 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-16 10:07:01,280 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-16 10:07:01,310 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a
2026-09-16 10:07:01,323 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406
2026-09-16 10:07:01,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37
2026-09-16 10:07:01,413 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37
2026-09-16 10:07:01,422 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648
2026-09-16 10:07:01,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648
2026-09-16 10:07:01,437 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/69bb847b-928d-4891-a739-1bdae4c03662
2026-09-16 10:07:01,444 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 10:07:01,444 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37
2026-09-16 10:07:01,452 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648
2026-09-16 10:07:01,469 - INFO - Verified VN network id 12 for VN ce0c5101-aa80-4f2c-9a95-f6874e6c4e37
2026-09-16 10:07:01,469 - INFO - Verifications in API Server for VN ctest-vn-05574303 passed
2026-09-16 10:07:01,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37
2026-09-16 10:07:01,484 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648
2026-09-16 10:07:01,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c97cc867-f860-4c91-93b5-6d6a742d0648
2026-09-16 10:07:01,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/69bb847b-928d-4891-a739-1bdae4c03662
2026-09-16 10:07:01,518 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19223999', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14847331139131035436', 'uuid-lslong': '11139080314367528503'}, 'enable': 'true', 'created': '2026-09-16T10:06:59', 'last-modified': '2026-09-16T10:07:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001057'}
2026-09-16 10:07:01,524 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 10:07:01,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05574303 passed
2026-09-16 10:07:01,525 - DEBUG - ====Verifying policy data for ctest-vn-05574303 in API_Server ======
2026-09-16 10:07:01,525 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-16 10:07:01,534 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a
2026-09-16 10:07:01,547 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406
2026-09-16 10:07:01,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce0c5101-aa80-4f2c-9a95-f6874e6c4e37
2026-09-16 10:07:01,636 - DEBUG - ==>Verifying data for policy with id: 54946582-5f1a-4ee1-8c01-9d6e81190b4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-policy-allow-all-33323084']
2026-09-16 10:07:01,636 - INFO - VN ctest-vn-05574303 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 10:07:01,636 - DEBUG - Verifying the vn in opserver
2026-09-16 10:07:01,636 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303 virtual network link through opserver 10.0.0.38
2026-09-16 10:07:01,636 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-16 10:07:01,961 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-16 10:07:02,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303?flat'}
2026-09-16 10:07:02,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-05574303 is found in opserver
2026-09-16 10:07:02,026 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 10:07:02,031 - DEBUG - VRF ids for VN ctest-vn-05574303: {}
2026-09-16 10:07:02,031 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-16 10:07:02,037 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a
2026-09-16 10:07:02,047 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406
2026-09-16 10:07:02,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4
2026-09-16 10:07:02,136 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4
2026-09-16 10:07:02,146 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088
2026-09-16 10:07:02,153 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088
2026-09-16 10:07:02,160 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f4e7603-088f-4565-a62e-3293e7d5d55a
2026-09-16 10:07:02,168 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 10:07:02,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4
2026-09-16 10:07:02,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088
2026-09-16 10:07:02,192 - INFO - Verified VN network id 13 for VN f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4
2026-09-16 10:07:02,192 - INFO - Verifications in API Server for VN ctest-vn-50509555 passed
2026-09-16 10:07:02,193 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4
2026-09-16 10:07:02,203 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088
2026-09-16 10:07:02,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/afb65d15-ceeb-4b3d-bb4c-57b8ab9ee088
2026-09-16 10:07:02,218 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f4e7603-088f-4565-a62e-3293e7d5d55a
2026-09-16 10:07:02,231 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19223999', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17986057722507316951', 'uuid-lslong': '11728035804947688100'}, 'enable': 'true', 'created': '2026-09-16T10:06:59', 'last-modified': '2026-09-16T10:07:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.475441'}
2026-09-16 10:07:02,259 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 10:07:02,259 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50509555 passed
2026-09-16 10:07:02,259 - DEBUG - ====Verifying policy data for ctest-vn-50509555 in API_Server ======
2026-09-16 10:07:02,259 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-16 10:07:02,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ec404a61-98b3-41d3-a6a2-1e8651b4729a
2026-09-16 10:07:02,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/a48be44b-9dfa-47e7-af64-2b7a04a87406
2026-09-16 10:07:02,358 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99b5034-53b8-4ed7-a2c2-5a6d42f82aa4
2026-09-16 10:07:02,369 - DEBUG - ==>Verifying data for policy with id: 54946582-5f1a-4ee1-8c01-9d6e81190b4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-19223999', 'ctest-policy-allow-all-33323084']
2026-09-16 10:07:02,369 - INFO - VN ctest-vn-50509555 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 10:07:02,369 - DEBUG - Verifying the vn in opserver
2026-09-16 10:07:02,369 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555 virtual network link through opserver 10.0.0.38
2026-09-16 10:07:02,369 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-16 10:07:02,380 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555?flat'}
2026-09-16 10:07:02,380 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19223999:ctest-vn-50509555 is found in opserver
2026-09-16 10:07:02,390 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 10:07:02,395 - DEBUG - VRF ids for VN ctest-vn-50509555: {}
2026-09-16 10:07:02,460 - DEBUG - Services list from nova: [