2026-09-28 02:27:58,723 - INFO - Domain Default found not creating
2026-09-28 02:27:58,966 - INFO - Project ctest-TestBasicPolicy-84959422 not found, creating it
2026-09-28 02:27:59,527 - INFO - Created Project:ctest-TestBasicPolicy-84959422, ID : 1afda1f1-42dc-42b0-88f7-7c9b76043e2d
2026-09-28 02:28:02,017 - INFO - ================================================================================
2026-09-28 02:28:02,017 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-28 02:28:02,017 - 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-28 02:28:02,295 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.17': '0'}} with
2026-09-28 02:28:02,295 - INFO - Initial checks done. Running the testcase now
2026-09-28 02:28:02,295 - INFO -
2026-09-28 02:28:03,062 - DEBUG - Response for create_network : {'network': {'id': '273b1d80-a1d0-428d-a802-69ac2ba7d660', 'name': 'ctest-vn-22256349', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'project_id': '1afda1f142dc42b088f77c9b76043e2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-vn-22256349'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-09-28 02:28:03,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '313f71c4-ed60-4931-a285-7265dd471ea3', 'name': '', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'network_id': '273b1d80-a1d0-428d-a802-69ac2ba7d660', 'ip_version': 4, 'cidr': '162.66.251.0/26', 'allocation_pools': [{'start': '162.66.251.2', 'end': '162.66.251.62'}], 'gateway_ip': '162.66.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-28T02:28:03.219516', 'updated_at': '2026-09-28T02:28:03.219516', 'dns_server_address': '162.66.251.2', 'tags': [], 'project_id': '1afda1f142dc42b088f77c9b76043e2d'}}
2026-09-28 02:28:03,320 - INFO - Created VN ctest-vn-22256349
2026-09-28 02:28:03,376 - DEBUG - VN ctest-vn-22256349 UUID is 273b1d80-a1d0-428d-a802-69ac2ba7d660
2026-09-28 02:28:03,713 - DEBUG - Response for create_network : {'network': {'id': '6930f589-3593-4fb4-8802-27efd36a80cc', 'name': 'ctest-vn-61170956', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'project_id': '1afda1f142dc42b088f77c9b76043e2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-vn-61170956'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-09-28 02:28:03,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '66686e36-8f46-4144-b3fd-8a58da45331d', 'name': '', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'network_id': '6930f589-3593-4fb4-8802-27efd36a80cc', 'ip_version': 4, 'cidr': '217.158.193.192/26', 'allocation_pools': [{'start': '217.158.193.194', 'end': '217.158.193.254'}], 'gateway_ip': '217.158.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-28T02:28:03.816160', 'updated_at': '2026-09-28T02:28:03.816160', 'dns_server_address': '217.158.193.194', 'tags': [], 'project_id': '1afda1f142dc42b088f77c9b76043e2d'}}
2026-09-28 02:28:03,913 - INFO - Created VN ctest-vn-61170956
2026-09-28 02:28:03,968 - DEBUG - VN ctest-vn-61170956 UUID is 6930f589-3593-4fb4-8802-27efd36a80cc
2026-09-28 02:28:04,093 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349, 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-84959422:ctest-vn-61170956, 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-28 02:28:04,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '273b1d80-a1d0-428d-a802-69ac2ba7d660', 'name': 'ctest-vn-22256349', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'project_id': '1afda1f142dc42b088f77c9b76043e2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['313f71c4-ed60-4931-a285-7265dd471ea3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-vn-22256349'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-policy-allow-all-51133371']], 'subnet_ipam': [{'subnet_cidr': '162.66.251.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-09-28T02:28:03.019328', 'updated_at': '2026-09-28T02:28:03.236718'}}
2026-09-28 02:28:04,741 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6930f589-3593-4fb4-8802-27efd36a80cc', 'name': 'ctest-vn-61170956', 'tenant_id': '1afda1f142dc42b088f77c9b76043e2d', 'project_id': '1afda1f142dc42b088f77c9b76043e2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['66686e36-8f46-4144-b3fd-8a58da45331d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-vn-61170956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-policy-allow-all-51133371']], 'subnet_ipam': [{'subnet_cidr': '217.158.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-09-28T02:28:03.673375', 'updated_at': '2026-09-28T02:28:03.836211'}}
2026-09-28 02:28:04,924 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-28 02:28:05,335 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-28 02:28:05,368 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8
2026-09-28 02:28:05,382 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d
2026-09-28 02:28:05,466 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660
2026-09-28 02:28:05,489 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660
2026-09-28 02:28:05,500 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382
2026-09-28 02:28:05,509 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382
2026-09-28 02:28:05,517 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/b31da5ec-5e8e-4444-b5dc-cb6046381f4e
2026-09-28 02:28:05,526 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-28 02:28:05,526 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660
2026-09-28 02:28:05,539 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382
2026-09-28 02:28:05,557 - INFO - Verified VN network id 12 for VN 273b1d80-a1d0-428d-a802-69ac2ba7d660
2026-09-28 02:28:05,557 - INFO - Verifications in API Server for VN ctest-vn-22256349 passed
2026-09-28 02:28:05,557 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660
2026-09-28 02:28:05,568 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382
2026-09-28 02:28:05,577 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/cce3c425-43ae-4d58-bb5b-73a54bf42382
2026-09-28 02:28:05,586 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/b31da5ec-5e8e-4444-b5dc-cb6046381f4e
2026-09-28 02:28:05,600 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84959422', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2826885629412917901', 'uuid-lslong': '12106354936513025632'}, 'enable': 'true', 'created': '2026-09-28T02:28:03', 'last-modified': '2026-09-28T02:28:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.191579'}
2026-09-28 02:28:05,609 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-28 02:28:05,609 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22256349 passed
2026-09-28 02:28:05,609 - DEBUG - ====Verifying policy data for ctest-vn-22256349 in API_Server ======
2026-09-28 02:28:05,610 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-28 02:28:05,616 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8
2026-09-28 02:28:05,629 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d
2026-09-28 02:28:05,709 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/273b1d80-a1d0-428d-a802-69ac2ba7d660
2026-09-28 02:28:05,721 - DEBUG - ==>Verifying data for policy with id: cb3f1e29-58f6-4f77-a295-d864d0d5350a, fqn: ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-policy-allow-all-51133371']
2026-09-28 02:28:05,721 - INFO - VN ctest-vn-22256349 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-28 02:28:05,721 - DEBUG - Verifying the vn in opserver
2026-09-28 02:28:05,722 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349 virtual network link through opserver 10.0.0.186
2026-09-28 02:28:05,722 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks
2026-09-28 02:28:06,101 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks
2026-09-28 02:28:06,157 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349?flat'}
2026-09-28 02:28:06,157 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-22256349 is found in opserver
2026-09-28 02:28:06,171 - DEBUG - Do not have enough data to verify VN in agent
2026-09-28 02:28:06,177 - DEBUG - VRF ids for VN ctest-vn-22256349: {}
2026-09-28 02:28:06,177 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-28 02:28:06,184 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8
2026-09-28 02:28:06,196 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d
2026-09-28 02:28:06,281 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc
2026-09-28 02:28:06,297 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc
2026-09-28 02:28:06,308 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493
2026-09-28 02:28:06,318 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493
2026-09-28 02:28:06,330 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/607ea19c-d5cd-4e42-b963-00efa300c04a
2026-09-28 02:28:06,338 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-28 02:28:06,338 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc
2026-09-28 02:28:06,351 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493
2026-09-28 02:28:06,369 - INFO - Verified VN network id 13 for VN 6930f589-3593-4fb4-8802-27efd36a80cc
2026-09-28 02:28:06,370 - INFO - Verifications in API Server for VN ctest-vn-61170956 passed
2026-09-28 02:28:06,370 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc
2026-09-28 02:28:06,384 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493
2026-09-28 02:28:06,393 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/955c85cd-c06c-4867-a206-9871bde38493
2026-09-28 02:28:06,401 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/607ea19c-d5cd-4e42-b963-00efa300c04a
2026-09-28 02:28:06,416 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84959422', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7579828142522716084', 'uuid-lslong': '9800439650109259980'}, 'enable': 'true', 'created': '2026-09-28T02:28:03', 'last-modified': '2026-09-28T02:28:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.728146'}
2026-09-28 02:28:06,423 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-28 02:28:06,423 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61170956 passed
2026-09-28 02:28:06,423 - DEBUG - ====Verifying policy data for ctest-vn-61170956 in API_Server ======
2026-09-28 02:28:06,423 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-28 02:28:06,430 - DEBUG - Requesting: http://10.0.0.186:8082/domain/280555f9-ea63-46a3-9d79-b07f1b1c68e8
2026-09-28 02:28:06,444 - DEBUG - Requesting: http://10.0.0.186:8082/project/1afda1f1-42dc-42b0-88f7-7c9b76043e2d
2026-09-28 02:28:06,543 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6930f589-3593-4fb4-8802-27efd36a80cc
2026-09-28 02:28:06,555 - DEBUG - ==>Verifying data for policy with id: cb3f1e29-58f6-4f77-a295-d864d0d5350a, fqn: ['default-domain', 'ctest-TestBasicPolicy-84959422', 'ctest-policy-allow-all-51133371']
2026-09-28 02:28:06,555 - INFO - VN ctest-vn-61170956 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-28 02:28:06,555 - DEBUG - Verifying the vn in opserver
2026-09-28 02:28:06,555 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956 virtual network link through opserver 10.0.0.186
2026-09-28 02:28:06,555 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks
2026-09-28 02:28:06,568 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956?flat'}
2026-09-28 02:28:06,568 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84959422:ctest-vn-61170956 is found in opserver
2026-09-28 02:28:06,585 - DEBUG - Do not have enough data to verify VN in agent
2026-09-28 02:28:06,593 - DEBUG - VRF ids for VN ctest-vn-61170956: {}
2026-09-28 02:28:06,690 - DEBUG - Services list from nova: [