2025-12-31 03:31:50,609 - INFO - Domain Default found not creating
2025-12-31 03:31:50,790 - INFO - Project ctest-TestBasicPolicy-80067815 not found, creating it
2025-12-31 03:31:51,236 - INFO - Created Project:ctest-TestBasicPolicy-80067815, ID : 68a5e162-4679-4339-9836-b4c905b31614
2025-12-31 03:31:52,769 - INFO - ================================================================================
2025-12-31 03:31:52,770 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-31 03:31:52,770 - 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-12-31 03:31:53,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-31 03:31:53,026 - INFO - Initial checks done. Running the testcase now
2025-12-31 03:31:53,026 - INFO -
2025-12-31 03:31:53,611 - DEBUG - Response for create_network : {'network': {'id': '611e695a-b8b5-4e9c-809f-bf436717837d', 'name': 'ctest-vn-60806813', 'tenant_id': '68a5e162467943399836b4c905b31614', 'project_id': '68a5e162467943399836b4c905b31614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-vn-60806813'], 'port_security_enabled': True, 'description': ''}}
2025-12-31 03:31:53,812 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6fc74ea-9472-46f2-a610-094552911f36', 'name': '', 'tenant_id': '68a5e162467943399836b4c905b31614', 'network_id': '611e695a-b8b5-4e9c-809f-bf436717837d', 'ip_version': 4, 'cidr': '122.237.65.128/26', 'allocation_pools': [{'start': '122.237.65.130', 'end': '122.237.65.190'}], 'gateway_ip': '122.237.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.237.65.130', 'tags': [], 'project_id': '68a5e162467943399836b4c905b31614'}}
2025-12-31 03:31:53,832 - INFO - Created VN ctest-vn-60806813
2025-12-31 03:31:53,884 - DEBUG - VN ctest-vn-60806813 UUID is 611e695a-b8b5-4e9c-809f-bf436717837d
2025-12-31 03:31:54,167 - DEBUG - Response for create_network : {'network': {'id': 'f831074b-ec08-4bd5-98de-be0efda91513', 'name': 'ctest-vn-99994721', 'tenant_id': '68a5e162467943399836b4c905b31614', 'project_id': '68a5e162467943399836b4c905b31614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-vn-99994721'], 'port_security_enabled': True, 'description': ''}}
2025-12-31 03:31:54,343 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbc37b55-e2ab-4cc1-802a-7bc92f834b78', 'name': '', 'tenant_id': '68a5e162467943399836b4c905b31614', 'network_id': 'f831074b-ec08-4bd5-98de-be0efda91513', 'ip_version': 4, 'cidr': '180.90.227.128/26', 'allocation_pools': [{'start': '180.90.227.130', 'end': '180.90.227.190'}], 'gateway_ip': '180.90.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.90.227.130', 'tags': [], 'project_id': '68a5e162467943399836b4c905b31614'}}
2025-12-31 03:31:54,368 - INFO - Created VN ctest-vn-99994721
2025-12-31 03:31:54,424 - DEBUG - VN ctest-vn-99994721 UUID is f831074b-ec08-4bd5-98de-be0efda91513
2025-12-31 03:31:54,545 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813, 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-80067815:ctest-vn-99994721, 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-12-31 03:31:54,847 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '611e695a-b8b5-4e9c-809f-bf436717837d', 'name': 'ctest-vn-60806813', 'tenant_id': '68a5e162467943399836b4c905b31614', 'project_id': '68a5e162467943399836b4c905b31614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e6fc74ea-9472-46f2-a610-094552911f36'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-vn-60806813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-policy-allow-all-43674828']], 'subnet_ipam': [{'subnet_cidr': '122.237.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-31 03:31:55,121 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f831074b-ec08-4bd5-98de-be0efda91513', 'name': 'ctest-vn-99994721', 'tenant_id': '68a5e162467943399836b4c905b31614', 'project_id': '68a5e162467943399836b4c905b31614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bbc37b55-e2ab-4cc1-802a-7bc92f834b78'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-vn-99994721'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-policy-allow-all-43674828']], 'subnet_ipam': [{'subnet_cidr': '180.90.227.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-31 03:31:55,272 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-31 03:31:55,570 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-31 03:31:55,601 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e
2025-12-31 03:31:55,613 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614
2025-12-31 03:31:55,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d
2025-12-31 03:31:55,690 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d
2025-12-31 03:31:55,699 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa
2025-12-31 03:31:55,705 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa
2025-12-31 03:31:55,711 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1a79564e-c5ba-432f-859e-d71b3dfa44a9
2025-12-31 03:31:55,717 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-31 03:31:55,717 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d
2025-12-31 03:31:55,726 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa
2025-12-31 03:31:55,739 - INFO - Verified VN network id 11 for VN 611e695a-b8b5-4e9c-809f-bf436717837d
2025-12-31 03:31:55,739 - INFO - Verifications in API Server for VN ctest-vn-60806813 passed
2025-12-31 03:31:55,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d
2025-12-31 03:31:55,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa
2025-12-31 03:31:55,754 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f37db744-a297-4157-93c0-f3f3f1433ffa
2025-12-31 03:31:55,761 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1a79564e-c5ba-432f-859e-d71b3dfa44a9
2025-12-31 03:31:55,773 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80067815', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6998146709347192476', 'uuid-lslong': '9268336854365078397'}, 'enable': 'true', 'created': '2025-12-31T03:31:53', 'last-modified': '2025-12-31T03:31:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.955995'}
2025-12-31 03:31:55,779 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-31 03:31:55,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60806813 passed
2025-12-31 03:31:55,780 - DEBUG - ====Verifying policy data for ctest-vn-60806813 in API_Server ======
2025-12-31 03:31:55,780 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-31 03:31:55,785 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e
2025-12-31 03:31:55,795 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614
2025-12-31 03:31:55,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/611e695a-b8b5-4e9c-809f-bf436717837d
2025-12-31 03:31:55,875 - DEBUG - ==>Verifying data for policy with id: f08fa804-ae24-4620-8695-7b9751fb2c5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-policy-allow-all-43674828']
2025-12-31 03:31:55,875 - INFO - VN ctest-vn-60806813 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-31 03:31:55,875 - DEBUG - Verifying the vn in opserver
2025-12-31 03:31:55,875 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813 virtual network link through opserver 10.0.0.38
2025-12-31 03:31:55,875 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-31 03:31:56,166 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-31 03:31:56,227 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813?flat'}
2025-12-31 03:31:56,227 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-60806813 is found in opserver
2025-12-31 03:31:56,236 - DEBUG - Do not have enough data to verify VN in agent
2025-12-31 03:31:56,240 - DEBUG - VRF ids for VN ctest-vn-60806813: {}
2025-12-31 03:31:56,240 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-31 03:31:56,246 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e
2025-12-31 03:31:56,256 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614
2025-12-31 03:31:56,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513
2025-12-31 03:31:56,331 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513
2025-12-31 03:31:56,340 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f
2025-12-31 03:31:56,347 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f
2025-12-31 03:31:56,353 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c59a5453-30ef-4761-b1e1-6f361747ce78
2025-12-31 03:31:56,359 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-31 03:31:56,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513
2025-12-31 03:31:56,369 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f
2025-12-31 03:31:56,383 - INFO - Verified VN network id 12 for VN f831074b-ec08-4bd5-98de-be0efda91513
2025-12-31 03:31:56,383 - INFO - Verifications in API Server for VN ctest-vn-99994721 passed
2025-12-31 03:31:56,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513
2025-12-31 03:31:56,391 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f
2025-12-31 03:31:56,398 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d5b7e23e-b57e-4566-b34f-a96abfbe860f
2025-12-31 03:31:56,405 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c59a5453-30ef-4761-b1e1-6f361747ce78
2025-12-31 03:31:56,417 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80067815', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17884083617928858581', 'uuid-lslong': '11015450710189348115'}, 'enable': 'true', 'created': '2025-12-31T03:31:54', 'last-modified': '2025-12-31T03:31:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.363979'}
2025-12-31 03:31:56,422 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-31 03:31:56,422 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99994721 passed
2025-12-31 03:31:56,422 - DEBUG - ====Verifying policy data for ctest-vn-99994721 in API_Server ======
2025-12-31 03:31:56,422 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-31 03:31:56,429 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4329cd02-8fb7-471f-be73-16477e19c45e
2025-12-31 03:31:56,438 - DEBUG - Requesting: http://10.0.0.38:8082/project/68a5e162-4679-4339-9836-b4c905b31614
2025-12-31 03:31:56,505 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f831074b-ec08-4bd5-98de-be0efda91513
2025-12-31 03:31:56,514 - DEBUG - ==>Verifying data for policy with id: f08fa804-ae24-4620-8695-7b9751fb2c5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-80067815', 'ctest-policy-allow-all-43674828']
2025-12-31 03:31:56,514 - INFO - VN ctest-vn-99994721 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-31 03:31:56,514 - DEBUG - Verifying the vn in opserver
2025-12-31 03:31:56,514 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721 virtual network link through opserver 10.0.0.38
2025-12-31 03:31:56,514 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-31 03:31:56,523 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721?flat'}
2025-12-31 03:31:56,523 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80067815:ctest-vn-99994721 is found in opserver
2025-12-31 03:31:56,532 - DEBUG - Do not have enough data to verify VN in agent
2025-12-31 03:31:56,536 - DEBUG - VRF ids for VN ctest-vn-99994721: {}
2025-12-31 03:31:56,590 - DEBUG - Services list from nova: [