2026-01-29 03:50:03,679 - INFO - Domain Default found not creating
2026-01-29 03:50:03,869 - INFO - Project ctest-TestBasicPolicy-41565605 not found, creating it
2026-01-29 03:50:04,360 - INFO - Created Project:ctest-TestBasicPolicy-41565605, ID : 9b2d2154-4c94-4d78-ab20-ac2aad02b086
2026-01-29 03:50:06,066 - INFO - ================================================================================
2026-01-29 03:50:06,067 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 03:50:06,067 - 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-01-29 03:50:06,338 - DEBUG - Nothing to compare xmpp stats {'10.0.0.154': {'10.20.0.18': '0'}} with
2026-01-29 03:50:06,338 - INFO - Initial checks done. Running the testcase now
2026-01-29 03:50:06,338 - INFO -
2026-01-29 03:50:06,979 - DEBUG - Response for create_network : {'network': {'id': 'a626311b-0fb1-4ba8-af29-36f1435c747a', 'name': 'ctest-vn-34613597', 'tenant_id': '9b2d21544c944d78ab20ac2aad02b086', 'project_id': '9b2d21544c944d78ab20ac2aad02b086', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41565605', 'ctest-vn-34613597'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 03:50:07,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '2750396a-c451-4d56-886c-942e259f4bb4', 'name': '', 'tenant_id': '9b2d21544c944d78ab20ac2aad02b086', 'network_id': 'a626311b-0fb1-4ba8-af29-36f1435c747a', 'ip_version': 4, 'cidr': '125.14.55.128/26', 'allocation_pools': [{'start': '125.14.55.130', 'end': '125.14.55.190'}], 'gateway_ip': '125.14.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.14.55.130', 'tags': [], 'project_id': '9b2d21544c944d78ab20ac2aad02b086'}}
2026-01-29 03:50:07,209 - INFO - Created VN ctest-vn-34613597
2026-01-29 03:50:07,266 - DEBUG - VN ctest-vn-34613597 UUID is a626311b-0fb1-4ba8-af29-36f1435c747a
2026-01-29 03:50:07,596 - DEBUG - Response for create_network : {'network': {'id': 'a833fe6a-73ed-4bea-9bc8-beeae71e03c8', 'name': 'ctest-vn-62579952', 'tenant_id': '9b2d21544c944d78ab20ac2aad02b086', 'project_id': '9b2d21544c944d78ab20ac2aad02b086', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41565605', 'ctest-vn-62579952'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 03:50:07,818 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e57f855-0134-4e70-a57f-01b1827a285f', 'name': '', 'tenant_id': '9b2d21544c944d78ab20ac2aad02b086', 'network_id': 'a833fe6a-73ed-4bea-9bc8-beeae71e03c8', 'ip_version': 4, 'cidr': '145.195.233.192/26', 'allocation_pools': [{'start': '145.195.233.194', 'end': '145.195.233.254'}], 'gateway_ip': '145.195.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.195.233.194', 'tags': [], 'project_id': '9b2d21544c944d78ab20ac2aad02b086'}}
2026-01-29 03:50:07,843 - INFO - Created VN ctest-vn-62579952
2026-01-29 03:50:07,905 - DEBUG - VN ctest-vn-62579952 UUID is a833fe6a-73ed-4bea-9bc8-beeae71e03c8
2026-01-29 03:50:08,030 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-34613597, 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-41565605:ctest-vn-62579952, 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-01-29 03:50:08,356 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a626311b-0fb1-4ba8-af29-36f1435c747a', 'name': 'ctest-vn-34613597', 'tenant_id': '9b2d21544c944d78ab20ac2aad02b086', 'project_id': '9b2d21544c944d78ab20ac2aad02b086', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2750396a-c451-4d56-886c-942e259f4bb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41565605', 'ctest-vn-34613597'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41565605', 'ctest-policy-allow-all-03966983']], 'subnet_ipam': [{'subnet_cidr': '125.14.55.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 03:50:08,603 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a833fe6a-73ed-4bea-9bc8-beeae71e03c8', 'name': 'ctest-vn-62579952', 'tenant_id': '9b2d21544c944d78ab20ac2aad02b086', 'project_id': '9b2d21544c944d78ab20ac2aad02b086', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1e57f855-0134-4e70-a57f-01b1827a285f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41565605', 'ctest-vn-62579952'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41565605', 'ctest-policy-allow-all-03966983']], 'subnet_ipam': [{'subnet_cidr': '145.195.233.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 03:50:08,766 - DEBUG - Requesting: http://10.0.0.154:8082/domains
2026-01-29 03:50:09,112 - DEBUG - Requesting: http://10.0.0.154:8082/domains
2026-01-29 03:50:09,148 - DEBUG - Requesting: http://10.0.0.154:8082/domain/bb07218a-3314-4037-9045-ca2856dfd6f8
2026-01-29 03:50:09,164 - DEBUG - Requesting: http://10.0.0.154:8082/project/9b2d2154-4c94-4d78-ab20-ac2aad02b086
2026-01-29 03:50:09,242 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a626311b-0fb1-4ba8-af29-36f1435c747a
2026-01-29 03:50:09,253 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a626311b-0fb1-4ba8-af29-36f1435c747a
2026-01-29 03:50:09,264 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/81ad63f3-2a0b-4e9d-899e-017cc2548dcc
2026-01-29 03:50:09,272 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/81ad63f3-2a0b-4e9d-899e-017cc2548dcc
2026-01-29 03:50:09,279 - DEBUG - Requesting: http://10.0.0.154:8082/route-target/0a0b30c6-eed0-4ff0-9399-9d9774880b9b
2026-01-29 03:50:09,287 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 03:50:09,287 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a626311b-0fb1-4ba8-af29-36f1435c747a
2026-01-29 03:50:09,298 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/81ad63f3-2a0b-4e9d-899e-017cc2548dcc
2026-01-29 03:50:09,314 - INFO - Verified VN network id 11 for VN a626311b-0fb1-4ba8-af29-36f1435c747a
2026-01-29 03:50:09,314 - INFO - Verifications in API Server for VN ctest-vn-34613597 passed
2026-01-29 03:50:09,314 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a626311b-0fb1-4ba8-af29-36f1435c747a
2026-01-29 03:50:09,324 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/81ad63f3-2a0b-4e9d-899e-017cc2548dcc
2026-01-29 03:50:09,332 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/81ad63f3-2a0b-4e9d-899e-017cc2548dcc
2026-01-29 03:50:09,340 - DEBUG - Requesting: http://10.0.0.154:8082/route-target/0a0b30c6-eed0-4ff0-9399-9d9774880b9b
2026-01-29 03:50:09,353 - DEBUG - Control-node 10.0.0.154 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-34613597', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41565605', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11972310651708197800', 'uuid-lslong': '12621679840527676538'}, 'enable': 'true', 'created': '2026-01-29T03:50:06', 'last-modified': '2026-01-29T03:50:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023909'}
2026-01-29 03:50:09,359 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 03:50:09,359 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34613597 passed
2026-01-29 03:50:09,359 - DEBUG - ====Verifying policy data for ctest-vn-34613597 in API_Server ======
2026-01-29 03:50:09,359 - DEBUG - Requesting: http://10.0.0.154:8082/domains
2026-01-29 03:50:09,366 - DEBUG - Requesting: http://10.0.0.154:8082/domain/bb07218a-3314-4037-9045-ca2856dfd6f8
2026-01-29 03:50:09,380 - DEBUG - Requesting: http://10.0.0.154:8082/project/9b2d2154-4c94-4d78-ab20-ac2aad02b086
2026-01-29 03:50:09,460 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a626311b-0fb1-4ba8-af29-36f1435c747a
2026-01-29 03:50:09,472 - DEBUG - ==>Verifying data for policy with id: 6120af30-73b5-457c-a0a6-497179765325, fqn: ['default-domain', 'ctest-TestBasicPolicy-41565605', 'ctest-policy-allow-all-03966983']
2026-01-29 03:50:09,472 - INFO - VN ctest-vn-34613597 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 03:50:09,472 - DEBUG - Verifying the vn in opserver
2026-01-29 03:50:09,472 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-34613597 virtual network link through opserver 10.0.0.154
2026-01-29 03:50:09,472 - DEBUG - Requesting: http://10.0.0.154:8081/analytics/uves/virtual-networks
2026-01-29 03:50:09,815 - DEBUG - Requesting: http://10.0.0.154:8081/analytics/uves/virtual-networks
2026-01-29 03:50:09,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-34613597', 'href': 'http://10.0.0.154:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-34613597?flat'}
2026-01-29 03:50:09,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-34613597 is found in opserver
2026-01-29 03:50:09,916 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 03:50:09,922 - DEBUG - VRF ids for VN ctest-vn-34613597: {}
2026-01-29 03:50:09,922 - DEBUG - Requesting: http://10.0.0.154:8082/domains
2026-01-29 03:50:09,928 - DEBUG - Requesting: http://10.0.0.154:8082/domain/bb07218a-3314-4037-9045-ca2856dfd6f8
2026-01-29 03:50:09,940 - DEBUG - Requesting: http://10.0.0.154:8082/project/9b2d2154-4c94-4d78-ab20-ac2aad02b086
2026-01-29 03:50:10,022 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a833fe6a-73ed-4bea-9bc8-beeae71e03c8
2026-01-29 03:50:10,037 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a833fe6a-73ed-4bea-9bc8-beeae71e03c8
2026-01-29 03:50:10,048 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/03853cf9-0729-4094-8285-c49b96f62926
2026-01-29 03:50:10,057 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/03853cf9-0729-4094-8285-c49b96f62926
2026-01-29 03:50:10,066 - DEBUG - Requesting: http://10.0.0.154:8082/route-target/51d4bebf-297c-4c7b-877d-2f6e7e11c57c
2026-01-29 03:50:10,076 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 03:50:10,076 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a833fe6a-73ed-4bea-9bc8-beeae71e03c8
2026-01-29 03:50:10,090 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/03853cf9-0729-4094-8285-c49b96f62926
2026-01-29 03:50:10,109 - INFO - Verified VN network id 12 for VN a833fe6a-73ed-4bea-9bc8-beeae71e03c8
2026-01-29 03:50:10,109 - INFO - Verifications in API Server for VN ctest-vn-62579952 passed
2026-01-29 03:50:10,109 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a833fe6a-73ed-4bea-9bc8-beeae71e03c8
2026-01-29 03:50:10,123 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/03853cf9-0729-4094-8285-c49b96f62926
2026-01-29 03:50:10,132 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/03853cf9-0729-4094-8285-c49b96f62926
2026-01-29 03:50:10,140 - DEBUG - Requesting: http://10.0.0.154:8082/route-target/51d4bebf-297c-4c7b-877d-2f6e7e11c57c
2026-01-29 03:50:10,154 - DEBUG - Control-node 10.0.0.154 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-62579952', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41565605', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12120310755349056490', 'uuid-lslong': '11225431987330089928'}, 'enable': 'true', 'created': '2026-01-29T03:50:07', 'last-modified': '2026-01-29T03:50:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.581346'}
2026-01-29 03:50:10,163 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 03:50:10,164 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62579952 passed
2026-01-29 03:50:10,164 - DEBUG - ====Verifying policy data for ctest-vn-62579952 in API_Server ======
2026-01-29 03:50:10,164 - DEBUG - Requesting: http://10.0.0.154:8082/domains
2026-01-29 03:50:10,172 - DEBUG - Requesting: http://10.0.0.154:8082/domain/bb07218a-3314-4037-9045-ca2856dfd6f8
2026-01-29 03:50:10,187 - DEBUG - Requesting: http://10.0.0.154:8082/project/9b2d2154-4c94-4d78-ab20-ac2aad02b086
2026-01-29 03:50:10,273 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/a833fe6a-73ed-4bea-9bc8-beeae71e03c8
2026-01-29 03:50:10,285 - DEBUG - ==>Verifying data for policy with id: 6120af30-73b5-457c-a0a6-497179765325, fqn: ['default-domain', 'ctest-TestBasicPolicy-41565605', 'ctest-policy-allow-all-03966983']
2026-01-29 03:50:10,285 - INFO - VN ctest-vn-62579952 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 03:50:10,285 - DEBUG - Verifying the vn in opserver
2026-01-29 03:50:10,285 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-62579952 virtual network link through opserver 10.0.0.154
2026-01-29 03:50:10,285 - DEBUG - Requesting: http://10.0.0.154:8081/analytics/uves/virtual-networks
2026-01-29 03:50:10,296 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-62579952', 'href': 'http://10.0.0.154:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-62579952?flat'}
2026-01-29 03:50:10,296 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41565605:ctest-vn-62579952 is found in opserver
2026-01-29 03:50:10,309 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 03:50:10,315 - DEBUG - VRF ids for VN ctest-vn-62579952: {}
2026-01-29 03:50:10,393 - DEBUG - Services list from nova: [