2025-06-01 04:12:29,099 - INFO - Domain Default found not creating
2025-06-01 04:12:29,239 - INFO - Project ctest-TestBasicPolicy-03926015 not found, creating it
2025-06-01 04:12:29,693 - INFO - Created Project:ctest-TestBasicPolicy-03926015, ID : 06c71591-3790-41ee-9d02-ac3fd56e2e43
2025-06-01 04:12:31,252 - INFO - ================================================================================
2025-06-01 04:12:31,252 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-06-01 04:12:31,252 - 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
2025-06-01 04:12:31,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-01 04:12:31,522 - INFO - Initial checks done. Running the testcase now
2025-06-01 04:12:31,523 - INFO -
2025-06-01 04:12:32,130 - DEBUG - Response for create_network : {'network': {'id': '83c17a11-d226-4d13-975d-233d42dd9f43', 'name': 'ctest-vn-13110576', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'project_id': '06c71591379041ee9d02ac3fd56e2e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-vn-13110576'], 'port_security_enabled': True, 'description': ''}}
2025-06-01 04:12:32,330 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd51a8f86-c43b-4a22-83a9-95f59a38860b', 'name': '', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'network_id': '83c17a11-d226-4d13-975d-233d42dd9f43', 'ip_version': 4, 'cidr': '199.17.14.192/26', 'allocation_pools': [{'start': '199.17.14.194', 'end': '199.17.14.254'}], 'gateway_ip': '199.17.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.17.14.194', 'tags': [], 'project_id': '06c71591379041ee9d02ac3fd56e2e43'}}
2025-06-01 04:12:32,348 - INFO - Created VN ctest-vn-13110576
2025-06-01 04:12:32,400 - DEBUG - VN ctest-vn-13110576 UUID is 83c17a11-d226-4d13-975d-233d42dd9f43
2025-06-01 04:12:32,704 - DEBUG - Response for create_network : {'network': {'id': '17574506-d636-4bba-99ea-ed24a1a7bb73', 'name': 'ctest-vn-29972915', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'project_id': '06c71591379041ee9d02ac3fd56e2e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-vn-29972915'], 'port_security_enabled': True, 'description': ''}}
2025-06-01 04:12:32,971 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b45e53d8-dd06-41a4-89eb-80c1e29871eb', 'name': '', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'network_id': '17574506-d636-4bba-99ea-ed24a1a7bb73', 'ip_version': 4, 'cidr': '164.1.27.192/26', 'allocation_pools': [{'start': '164.1.27.194', 'end': '164.1.27.254'}], 'gateway_ip': '164.1.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.1.27.194', 'tags': [], 'project_id': '06c71591379041ee9d02ac3fd56e2e43'}}
2025-06-01 04:12:32,990 - INFO - Created VN ctest-vn-29972915
2025-06-01 04:12:33,044 - DEBUG - VN ctest-vn-29972915 UUID is 17574506-d636-4bba-99ea-ed24a1a7bb73
2025-06-01 04:12:33,159 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576, 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-03926015:ctest-vn-29972915, 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]
2025-06-01 04:12:33,444 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83c17a11-d226-4d13-975d-233d42dd9f43', 'name': 'ctest-vn-13110576', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'project_id': '06c71591379041ee9d02ac3fd56e2e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d51a8f86-c43b-4a22-83a9-95f59a38860b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-vn-13110576'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-policy-allow-all-26672208']], 'subnet_ipam': [{'subnet_cidr': '199.17.14.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-06-01 04:12:33,687 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17574506-d636-4bba-99ea-ed24a1a7bb73', 'name': 'ctest-vn-29972915', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'project_id': '06c71591379041ee9d02ac3fd56e2e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b45e53d8-dd06-41a4-89eb-80c1e29871eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-vn-29972915'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-policy-allow-all-26672208']], 'subnet_ipam': [{'subnet_cidr': '164.1.27.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-06-01 04:12:33,860 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-06-01 04:12:34,191 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-06-01 04:12:34,223 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95
2025-06-01 04:12:34,237 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43
2025-06-01 04:12:34,315 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43
2025-06-01 04:12:34,327 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43
2025-06-01 04:12:34,337 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4
2025-06-01 04:12:34,345 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4
2025-06-01 04:12:34,352 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/df73d474-8151-4d1b-9b4e-f70931d21c58
2025-06-01 04:12:34,359 - DEBUG - Route Targets: ['target:64512:8000005']
2025-06-01 04:12:34,359 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43
2025-06-01 04:12:34,369 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4
2025-06-01 04:12:34,385 - INFO - Verified VN network id 8 for VN 83c17a11-d226-4d13-975d-233d42dd9f43
2025-06-01 04:12:34,385 - INFO - Verifications in API Server for VN ctest-vn-13110576 passed
2025-06-01 04:12:34,385 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43
2025-06-01 04:12:34,396 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4
2025-06-01 04:12:34,403 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4
2025-06-01 04:12:34,410 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/df73d474-8151-4d1b-9b4e-f70931d21c58
2025-06-01 04:12:34,422 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03926015', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9494003706432474387', 'uuid-lslong': '10906912618583007043'}, 'enable': 'true', 'created': '2025-06-01T04:12:32', 'last-modified': '2025-06-01T04:12:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999979'}
2025-06-01 04:12:34,429 - DEBUG - Route Targets: ['target:64512:8000005']
2025-06-01 04:12:34,429 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13110576 passed
2025-06-01 04:12:34,430 - DEBUG - ====Verifying policy data for ctest-vn-13110576 in API_Server ======
2025-06-01 04:12:34,430 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-06-01 04:12:34,436 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95
2025-06-01 04:12:34,448 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43
2025-06-01 04:12:34,519 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43
2025-06-01 04:12:34,531 - DEBUG - ==>Verifying data for policy with id: 7fb3965c-e999-4a32-8bf9-1a3b74946466, fqn: ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-policy-allow-all-26672208']
2025-06-01 04:12:34,531 - INFO - VN ctest-vn-13110576 Policy verification: verify_vn_policy_in_api_server, status: True
2025-06-01 04:12:34,531 - DEBUG - Verifying the vn in opserver
2025-06-01 04:12:34,531 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576 virtual network link through opserver 10.0.0.254
2025-06-01 04:12:34,531 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-06-01 04:12:34,863 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-06-01 04:12:34,916 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576?flat'}
2025-06-01 04:12:34,916 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576 is found in opserver
2025-06-01 04:12:34,927 - DEBUG - Do not have enough data to verify VN in agent
2025-06-01 04:12:34,932 - DEBUG - VRF ids for VN ctest-vn-13110576: {}
2025-06-01 04:12:34,932 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-06-01 04:12:34,938 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95
2025-06-01 04:12:34,949 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43
2025-06-01 04:12:35,026 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73
2025-06-01 04:12:35,040 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73
2025-06-01 04:12:35,051 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd
2025-06-01 04:12:35,058 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd
2025-06-01 04:12:35,065 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b5724234-5dd3-4323-b3fb-6aa90588238e
2025-06-01 04:12:35,073 - DEBUG - Route Targets: ['target:64512:8000006']
2025-06-01 04:12:35,073 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73
2025-06-01 04:12:35,083 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd
2025-06-01 04:12:35,099 - INFO - Verified VN network id 9 for VN 17574506-d636-4bba-99ea-ed24a1a7bb73
2025-06-01 04:12:35,099 - INFO - Verifications in API Server for VN ctest-vn-29972915 passed
2025-06-01 04:12:35,099 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73
2025-06-01 04:12:35,110 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd
2025-06-01 04:12:35,116 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd
2025-06-01 04:12:35,123 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b5724234-5dd3-4323-b3fb-6aa90588238e
2025-06-01 04:12:35,134 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03926015', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1681888881512172474', 'uuid-lslong': '11090937773939997555'}, 'enable': 'true', 'created': '2025-06-01T04:12:32', 'last-modified': '2025-06-01T04:12:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469820'}
2025-06-01 04:12:35,141 - DEBUG - Route Targets: ['target:64512:8000006']
2025-06-01 04:12:35,141 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29972915 passed
2025-06-01 04:12:35,141 - DEBUG - ====Verifying policy data for ctest-vn-29972915 in API_Server ======
2025-06-01 04:12:35,141 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-06-01 04:12:35,146 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95
2025-06-01 04:12:35,157 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43
2025-06-01 04:12:35,235 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73
2025-06-01 04:12:35,248 - DEBUG - ==>Verifying data for policy with id: 7fb3965c-e999-4a32-8bf9-1a3b74946466, fqn: ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-policy-allow-all-26672208']
2025-06-01 04:12:35,248 - INFO - VN ctest-vn-29972915 Policy verification: verify_vn_policy_in_api_server, status: True
2025-06-01 04:12:35,248 - DEBUG - Verifying the vn in opserver
2025-06-01 04:12:35,248 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915 virtual network link through opserver 10.0.0.254
2025-06-01 04:12:35,248 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-06-01 04:12:35,260 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915?flat'}
2025-06-01 04:12:35,260 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915 is found in opserver
2025-06-01 04:12:35,272 - DEBUG - Do not have enough data to verify VN in agent
2025-06-01 04:12:35,277 - DEBUG - VRF ids for VN ctest-vn-29972915: {}
2025-06-01 04:12:35,333 - DEBUG - Services list from nova: [