2025-12-01 17:34:27,714 - INFO - Domain Default found not creating
2025-12-01 17:34:27,930 - INFO - Project ctest-TestBasicPolicy-44660104 not found, creating it
2025-12-01 17:34:28,396 - INFO - Created Project:ctest-TestBasicPolicy-44660104, ID : 46bc691e-85f9-4fea-b61b-c65ee872a060
2025-12-01 17:34:30,164 - INFO - ================================================================================
2025-12-01 17:34:30,165 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-01 17:34:30,165 - 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-01 17:34:30,426 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with
2025-12-01 17:34:30,426 - INFO - Initial checks done. Running the testcase now
2025-12-01 17:34:30,427 - INFO -
2025-12-01 17:34:31,413 - DEBUG - Response for create_network : {'network': {'id': 'daab4786-2cdf-4bdf-b528-61c894951942', 'name': 'ctest-vn-65926341', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'project_id': '46bc691e85f94feab61bc65ee872a060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-vn-65926341'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:34:31,665 - DEBUG - Response for create_subnet : {'subnet': {'id': '4953ba89-2a3d-4d24-9194-de9c876f712c', 'name': '', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'network_id': 'daab4786-2cdf-4bdf-b528-61c894951942', 'ip_version': 4, 'cidr': '214.213.251.192/26', 'allocation_pools': [{'start': '214.213.251.194', 'end': '214.213.251.254'}], 'gateway_ip': '214.213.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.213.251.194', 'tags': [], 'project_id': '46bc691e85f94feab61bc65ee872a060'}}
2025-12-01 17:34:31,689 - INFO - Created VN ctest-vn-65926341
2025-12-01 17:34:31,743 - DEBUG - VN ctest-vn-65926341 UUID is daab4786-2cdf-4bdf-b528-61c894951942
2025-12-01 17:34:32,083 - DEBUG - Response for create_network : {'network': {'id': '8f22ba29-4f5a-49da-9043-b82bdb5c2013', 'name': 'ctest-vn-39596789', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'project_id': '46bc691e85f94feab61bc65ee872a060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-vn-39596789'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:34:32,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f3e42f5-ea75-467e-8919-d83f7959ee22', 'name': '', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'network_id': '8f22ba29-4f5a-49da-9043-b82bdb5c2013', 'ip_version': 4, 'cidr': '3.110.99.0/26', 'allocation_pools': [{'start': '3.110.99.2', 'end': '3.110.99.62'}], 'gateway_ip': '3.110.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.110.99.2', 'tags': [], 'project_id': '46bc691e85f94feab61bc65ee872a060'}}
2025-12-01 17:34:32,303 - INFO - Created VN ctest-vn-39596789
2025-12-01 17:34:32,359 - DEBUG - VN ctest-vn-39596789 UUID is 8f22ba29-4f5a-49da-9043-b82bdb5c2013
2025-12-01 17:34:32,492 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341, 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-44660104:ctest-vn-39596789, 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-01 17:34:32,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'daab4786-2cdf-4bdf-b528-61c894951942', 'name': 'ctest-vn-65926341', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'project_id': '46bc691e85f94feab61bc65ee872a060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4953ba89-2a3d-4d24-9194-de9c876f712c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-vn-65926341'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-policy-allow-all-93766946']], 'subnet_ipam': [{'subnet_cidr': '214.213.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:34:33,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f22ba29-4f5a-49da-9043-b82bdb5c2013', 'name': 'ctest-vn-39596789', 'tenant_id': '46bc691e85f94feab61bc65ee872a060', 'project_id': '46bc691e85f94feab61bc65ee872a060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f3e42f5-ea75-467e-8919-d83f7959ee22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-vn-39596789'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-policy-allow-all-93766946']], 'subnet_ipam': [{'subnet_cidr': '3.110.99.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:34:33,263 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2025-12-01 17:34:33,620 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2025-12-01 17:34:33,660 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78
2025-12-01 17:34:33,674 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060
2025-12-01 17:34:33,753 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942
2025-12-01 17:34:33,767 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942
2025-12-01 17:34:33,778 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4
2025-12-01 17:34:33,787 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4
2025-12-01 17:34:33,795 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/619f15ef-9f1f-46e9-9785-55e1ab71791c
2025-12-01 17:34:33,803 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 17:34:33,804 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942
2025-12-01 17:34:33,815 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4
2025-12-01 17:34:33,832 - INFO - Verified VN network id 12 for VN daab4786-2cdf-4bdf-b528-61c894951942
2025-12-01 17:34:33,832 - INFO - Verifications in API Server for VN ctest-vn-65926341 passed
2025-12-01 17:34:33,832 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942
2025-12-01 17:34:33,842 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4
2025-12-01 17:34:33,851 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1f4aa852-f66f-44c0-b24e-8270ae1e89c4
2025-12-01 17:34:33,858 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/619f15ef-9f1f-46e9-9785-55e1ab71791c
2025-12-01 17:34:33,873 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44660104', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15756766362889833439', 'uuid-lslong': '13053791034047535426'}, 'enable': 'true', 'created': '2025-12-01T17:34:31', 'last-modified': '2025-12-01T17:34:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.081481'}
2025-12-01 17:34:33,880 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 17:34:33,880 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65926341 passed
2025-12-01 17:34:33,881 - DEBUG - ====Verifying policy data for ctest-vn-65926341 in API_Server ======
2025-12-01 17:34:33,881 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2025-12-01 17:34:33,887 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78
2025-12-01 17:34:33,904 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060
2025-12-01 17:34:33,983 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/daab4786-2cdf-4bdf-b528-61c894951942
2025-12-01 17:34:33,994 - DEBUG - ==>Verifying data for policy with id: 5cb9d89f-fcc4-4fdf-b43f-f07ce00d0a3e, fqn: ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-policy-allow-all-93766946']
2025-12-01 17:34:33,994 - INFO - VN ctest-vn-65926341 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 17:34:33,994 - DEBUG - Verifying the vn in opserver
2025-12-01 17:34:33,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341 virtual network link through opserver 10.0.0.129
2025-12-01 17:34:33,995 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2025-12-01 17:34:34,337 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2025-12-01 17:34:34,416 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341?flat'}
2025-12-01 17:34:34,416 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-65926341 is found in opserver
2025-12-01 17:34:34,426 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 17:34:34,432 - DEBUG - VRF ids for VN ctest-vn-65926341: {}
2025-12-01 17:34:34,432 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2025-12-01 17:34:34,438 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78
2025-12-01 17:34:34,450 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060
2025-12-01 17:34:34,525 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013
2025-12-01 17:34:34,538 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013
2025-12-01 17:34:34,549 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b
2025-12-01 17:34:34,560 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b
2025-12-01 17:34:34,570 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/c6e9824d-24cb-42b1-9c99-57b77f2d6710
2025-12-01 17:34:34,578 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 17:34:34,578 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013
2025-12-01 17:34:34,588 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b
2025-12-01 17:34:34,605 - INFO - Verified VN network id 13 for VN 8f22ba29-4f5a-49da-9043-b82bdb5c2013
2025-12-01 17:34:34,606 - INFO - Verifications in API Server for VN ctest-vn-39596789 passed
2025-12-01 17:34:34,606 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013
2025-12-01 17:34:34,626 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b
2025-12-01 17:34:34,635 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/0ea1f728-554c-44c4-97d9-82c5f846a38b
2025-12-01 17:34:34,643 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/c6e9824d-24cb-42b1-9c99-57b77f2d6710
2025-12-01 17:34:34,658 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44660104', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10314010783219599834', 'uuid-lslong': '10395354863404589075'}, 'enable': 'true', 'created': '2025-12-01T17:34:32', 'last-modified': '2025-12-01T17:34:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.634110'}
2025-12-01 17:34:34,665 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 17:34:34,665 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39596789 passed
2025-12-01 17:34:34,666 - DEBUG - ====Verifying policy data for ctest-vn-39596789 in API_Server ======
2025-12-01 17:34:34,666 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2025-12-01 17:34:34,673 - DEBUG - Requesting: http://10.0.0.129:8082/domain/44a01a53-a731-463a-9b91-3fd61be53c78
2025-12-01 17:34:34,689 - DEBUG - Requesting: http://10.0.0.129:8082/project/46bc691e-85f9-4fea-b61b-c65ee872a060
2025-12-01 17:34:34,767 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8f22ba29-4f5a-49da-9043-b82bdb5c2013
2025-12-01 17:34:34,777 - DEBUG - ==>Verifying data for policy with id: 5cb9d89f-fcc4-4fdf-b43f-f07ce00d0a3e, fqn: ['default-domain', 'ctest-TestBasicPolicy-44660104', 'ctest-policy-allow-all-93766946']
2025-12-01 17:34:34,777 - INFO - VN ctest-vn-39596789 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 17:34:34,778 - DEBUG - Verifying the vn in opserver
2025-12-01 17:34:34,778 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789 virtual network link through opserver 10.0.0.129
2025-12-01 17:34:34,778 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2025-12-01 17:34:34,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789?flat'}
2025-12-01 17:34:34,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44660104:ctest-vn-39596789 is found in opserver
2025-12-01 17:34:34,800 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 17:34:34,807 - DEBUG - VRF ids for VN ctest-vn-39596789: {}
2025-12-01 17:34:34,876 - DEBUG - Services list from nova: [