2026-12-01 09:13:20,126 - INFO - Domain Default found not creating
2026-12-01 09:13:20,411 - INFO - Project ctest-TestBasicPolicy-81565485 not found, creating it
2026-12-01 09:13:21,028 - INFO - Created Project:ctest-TestBasicPolicy-81565485, ID : 719342bb-8239-4f1c-88ec-f5fa173d8198
2026-12-01 09:13:23,227 - INFO - ================================================================================
2026-12-01 09:13:23,227 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-12-01 09:13:23,227 - 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-12-01 09:13:23,517 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with
2026-12-01 09:13:23,517 - INFO - Initial checks done. Running the testcase now
2026-12-01 09:13:23,517 - INFO -
2026-12-01 09:13:24,301 - DEBUG - Response for create_network : {'network': {'id': '8fdd11d0-cd3a-450b-bf96-dd3f3a123952', 'name': 'ctest-vn-30566137', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'project_id': '719342bb82394f1c88ecf5fa173d8198', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-vn-30566137'], 'port_security_enabled': True, 'description': ''}}
2026-12-01 09:13:24,587 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc4e57c8-1072-4ea2-929c-9966985296a3', 'name': '', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'network_id': '8fdd11d0-cd3a-450b-bf96-dd3f3a123952', 'ip_version': 4, 'cidr': '35.118.169.0/26', 'allocation_pools': [{'start': '35.118.169.2', 'end': '35.118.169.62'}], 'gateway_ip': '35.118.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.118.169.2', 'tags': [], 'project_id': '719342bb82394f1c88ecf5fa173d8198'}}
2026-12-01 09:13:24,614 - INFO - Created VN ctest-vn-30566137
2026-12-01 09:13:24,673 - DEBUG - VN ctest-vn-30566137 UUID is 8fdd11d0-cd3a-450b-bf96-dd3f3a123952
2026-12-01 09:13:25,184 - DEBUG - Response for create_network : {'network': {'id': '24925c5d-6554-427f-9206-44821089c611', 'name': 'ctest-vn-36717007', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'project_id': '719342bb82394f1c88ecf5fa173d8198', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-vn-36717007'], 'port_security_enabled': True, 'description': ''}}
2026-12-01 09:13:25,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '25e42c95-a1d4-4f74-b84d-9a04199d42f8', 'name': '', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'network_id': '24925c5d-6554-427f-9206-44821089c611', 'ip_version': 4, 'cidr': '165.8.12.64/26', 'allocation_pools': [{'start': '165.8.12.66', 'end': '165.8.12.126'}], 'gateway_ip': '165.8.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.8.12.66', 'tags': [], 'project_id': '719342bb82394f1c88ecf5fa173d8198'}}
2026-12-01 09:13:25,483 - INFO - Created VN ctest-vn-36717007
2026-12-01 09:13:25,541 - DEBUG - VN ctest-vn-36717007 UUID is 24925c5d-6554-427f-9206-44821089c611
2026-12-01 09:13:25,696 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137, 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-81565485:ctest-vn-36717007, 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-12-01 09:13:26,089 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8fdd11d0-cd3a-450b-bf96-dd3f3a123952', 'name': 'ctest-vn-30566137', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'project_id': '719342bb82394f1c88ecf5fa173d8198', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cc4e57c8-1072-4ea2-929c-9966985296a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-vn-30566137'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-policy-allow-all-75951175']], 'subnet_ipam': [{'subnet_cidr': '35.118.169.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-12-01 09:13:26,398 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24925c5d-6554-427f-9206-44821089c611', 'name': 'ctest-vn-36717007', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'project_id': '719342bb82394f1c88ecf5fa173d8198', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['25e42c95-a1d4-4f74-b84d-9a04199d42f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-vn-36717007'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-policy-allow-all-75951175']], 'subnet_ipam': [{'subnet_cidr': '165.8.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-12-01 09:13:26,585 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-12-01 09:13:26,997 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-12-01 09:13:27,043 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd
2026-12-01 09:13:27,062 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198
2026-12-01 09:13:27,153 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952
2026-12-01 09:13:27,173 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952
2026-12-01 09:13:27,189 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a
2026-12-01 09:13:27,201 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a
2026-12-01 09:13:27,216 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/2848e5a1-b67f-4027-8c88-5a8fd3c71bae
2026-12-01 09:13:27,231 - DEBUG - Route Targets: ['target:64512:8000005']
2026-12-01 09:13:27,231 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952
2026-12-01 09:13:27,252 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a
2026-12-01 09:13:27,287 - INFO - Verified VN network id 12 for VN 8fdd11d0-cd3a-450b-bf96-dd3f3a123952
2026-12-01 09:13:27,287 - INFO - Verifications in API Server for VN ctest-vn-30566137 passed
2026-12-01 09:13:27,288 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952
2026-12-01 09:13:27,303 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a
2026-12-01 09:13:27,314 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a
2026-12-01 09:13:27,326 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/2848e5a1-b67f-4027-8c88-5a8fd3c71bae
2026-12-01 09:13:27,346 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81565485', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10366461505770767627', 'uuid-lslong': '13805464971377785170'}, 'enable': 'true', 'created': '2026-12-01T09:13:24', 'last-modified': '2026-12-01T09:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.284094'}
2026-12-01 09:13:27,357 - DEBUG - Route Targets: ['target:64512:8000005']
2026-12-01 09:13:27,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30566137 passed
2026-12-01 09:13:27,358 - DEBUG - ====Verifying policy data for ctest-vn-30566137 in API_Server ======
2026-12-01 09:13:27,358 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-12-01 09:13:27,370 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd
2026-12-01 09:13:27,390 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198
2026-12-01 09:13:27,488 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952
2026-12-01 09:13:27,507 - DEBUG - ==>Verifying data for policy with id: 2e929338-5c5e-4d9a-9d13-29afe2fcf832, fqn: ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-policy-allow-all-75951175']
2026-12-01 09:13:27,507 - INFO - VN ctest-vn-30566137 Policy verification: verify_vn_policy_in_api_server, status: True
2026-12-01 09:13:27,507 - DEBUG - Verifying the vn in opserver
2026-12-01 09:13:27,507 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137 virtual network link through opserver 10.0.0.161
2026-12-01 09:13:27,507 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-12-01 09:13:27,929 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-12-01 09:13:28,011 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137?flat'}
2026-12-01 09:13:28,011 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137 is found in opserver
2026-12-01 09:13:28,027 - DEBUG - Do not have enough data to verify VN in agent
2026-12-01 09:13:28,035 - DEBUG - VRF ids for VN ctest-vn-30566137: {}
2026-12-01 09:13:28,035 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-12-01 09:13:28,044 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd
2026-12-01 09:13:28,059 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198
2026-12-01 09:13:28,147 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611
2026-12-01 09:13:28,166 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611
2026-12-01 09:13:28,180 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962
2026-12-01 09:13:28,191 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962
2026-12-01 09:13:28,201 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/200d332e-1a1b-4ec1-8cc8-0aad6df70ed0
2026-12-01 09:13:28,210 - DEBUG - Route Targets: ['target:64512:8000006']
2026-12-01 09:13:28,211 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611
2026-12-01 09:13:28,225 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962
2026-12-01 09:13:28,248 - INFO - Verified VN network id 13 for VN 24925c5d-6554-427f-9206-44821089c611
2026-12-01 09:13:28,248 - INFO - Verifications in API Server for VN ctest-vn-36717007 passed
2026-12-01 09:13:28,249 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611
2026-12-01 09:13:28,265 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962
2026-12-01 09:13:28,276 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962
2026-12-01 09:13:28,287 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/200d332e-1a1b-4ec1-8cc8-0aad6df70ed0
2026-12-01 09:13:28,310 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81565485', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2635270288166896255', 'uuid-lslong': '10522172904811644433'}, 'enable': 'true', 'created': '2026-12-01T09:13:25', 'last-modified': '2026-12-01T09:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.952687'}
2026-12-01 09:13:28,322 - DEBUG - Route Targets: ['target:64512:8000006']
2026-12-01 09:13:28,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36717007 passed
2026-12-01 09:13:28,322 - DEBUG - ====Verifying policy data for ctest-vn-36717007 in API_Server ======
2026-12-01 09:13:28,322 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-12-01 09:13:28,332 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd
2026-12-01 09:13:28,352 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198
2026-12-01 09:13:28,447 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611
2026-12-01 09:13:28,461 - DEBUG - ==>Verifying data for policy with id: 2e929338-5c5e-4d9a-9d13-29afe2fcf832, fqn: ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-policy-allow-all-75951175']
2026-12-01 09:13:28,462 - INFO - VN ctest-vn-36717007 Policy verification: verify_vn_policy_in_api_server, status: True
2026-12-01 09:13:28,462 - DEBUG - Verifying the vn in opserver
2026-12-01 09:13:28,462 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007 virtual network link through opserver 10.0.0.161
2026-12-01 09:13:28,462 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-12-01 09:13:28,476 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007?flat'}
2026-12-01 09:13:28,476 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007 is found in opserver
2026-12-01 09:13:28,491 - DEBUG - Do not have enough data to verify VN in agent
2026-12-01 09:13:28,499 - DEBUG - VRF ids for VN ctest-vn-36717007: {}
2026-12-01 09:13:28,589 - DEBUG - Services list from nova: [