2026-01-28 16:18:32,763 - INFO - Domain Default found not creating
2026-01-28 16:18:32,930 - INFO - Project ctest-TestBasicPolicy-95676172 not found, creating it
2026-01-28 16:18:33,371 - INFO - Created Project:ctest-TestBasicPolicy-95676172, ID : 8366c52b-1d3c-4ba5-a78b-997dcf1f1f20
2026-01-28 16:18:34,802 - INFO - ================================================================================
2026-01-28 16:18:34,802 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-28 16:18:34,802 - 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-01-28 16:18:35,052 - WARNING - Test is running with cores: {'10.0.0.22': ['core.isc-loop-0002.71495.cn-jenkins-deploy-platform-ansible-os-5095-1.1769616681']}
2026-01-28 16:18:35,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-01-28 16:18:35,057 - INFO - Initial checks done. Running the testcase now
2026-01-28 16:18:35,057 - INFO -
2026-01-28 16:18:35,845 - DEBUG - Response for create_network : {'network': {'id': '3a0b3ccf-d467-413b-ba86-6a76c806fbdf', 'name': 'ctest-vn-69520155', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-vn-69520155'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 16:18:36,048 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d715406-a01a-4755-9970-efabfac974cb', 'name': '', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'network_id': '3a0b3ccf-d467-413b-ba86-6a76c806fbdf', 'ip_version': 4, 'cidr': '132.64.162.128/26', 'allocation_pools': [{'start': '132.64.162.130', 'end': '132.64.162.190'}], 'gateway_ip': '132.64.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.64.162.130', 'tags': [], 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20'}}
2026-01-28 16:18:36,065 - INFO - Created VN ctest-vn-69520155
2026-01-28 16:18:36,116 - DEBUG - VN ctest-vn-69520155 UUID is 3a0b3ccf-d467-413b-ba86-6a76c806fbdf
2026-01-28 16:18:36,425 - DEBUG - Response for create_network : {'network': {'id': '801c680d-0d99-4805-bf61-bb55ef5ce60e', 'name': 'ctest-vn-30614167', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-vn-30614167'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 16:18:36,617 - DEBUG - Response for create_subnet : {'subnet': {'id': '5818cf4f-093d-49a8-81f5-762ef89931ea', 'name': '', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'network_id': '801c680d-0d99-4805-bf61-bb55ef5ce60e', 'ip_version': 4, 'cidr': '143.48.172.0/26', 'allocation_pools': [{'start': '143.48.172.2', 'end': '143.48.172.62'}], 'gateway_ip': '143.48.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.48.172.2', 'tags': [], 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20'}}
2026-01-28 16:18:36,636 - INFO - Created VN ctest-vn-30614167
2026-01-28 16:18:36,688 - DEBUG - VN ctest-vn-30614167 UUID is 801c680d-0d99-4805-bf61-bb55ef5ce60e
2026-01-28 16:18:36,832 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155, 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-95676172:ctest-vn-30614167, 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-01-28 16:18:37,119 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a0b3ccf-d467-413b-ba86-6a76c806fbdf', 'name': 'ctest-vn-69520155', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d715406-a01a-4755-9970-efabfac974cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-vn-69520155'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-policy-allow-all-47495570']], 'subnet_ipam': [{'subnet_cidr': '132.64.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 16:18:37,369 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '801c680d-0d99-4805-bf61-bb55ef5ce60e', 'name': 'ctest-vn-30614167', 'tenant_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'project_id': '8366c52b1d3c4ba5a78b997dcf1f1f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5818cf4f-093d-49a8-81f5-762ef89931ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-vn-30614167'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-policy-allow-all-47495570']], 'subnet_ipam': [{'subnet_cidr': '143.48.172.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 16:18:37,512 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-28 16:18:37,806 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-28 16:18:37,846 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150
2026-01-28 16:18:37,857 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20
2026-01-28 16:18:37,929 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf
2026-01-28 16:18:37,938 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf
2026-01-28 16:18:37,949 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d
2026-01-28 16:18:37,955 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d
2026-01-28 16:18:37,960 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e7020791-a27d-4c74-8cc5-1abca86cbadf
2026-01-28 16:18:37,965 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 16:18:37,965 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf
2026-01-28 16:18:37,972 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d
2026-01-28 16:18:37,986 - INFO - Verified VN network id 10 for VN 3a0b3ccf-d467-413b-ba86-6a76c806fbdf
2026-01-28 16:18:37,986 - INFO - Verifications in API Server for VN ctest-vn-69520155 passed
2026-01-28 16:18:37,986 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf
2026-01-28 16:18:37,993 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d
2026-01-28 16:18:37,998 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/537368c8-ab3f-4f80-9532-af024cfe0c4d
2026-01-28 16:18:38,003 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e7020791-a27d-4c74-8cc5-1abca86cbadf
2026-01-28 16:18:38,013 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95676172', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4182503542263071035', 'uuid-lslong': '13440547196328410079'}, 'enable': 'true', 'created': '2026-01-28T16:18:35', 'last-modified': '2026-01-28T16:18:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.916477'}
2026-01-28 16:18:38,018 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 16:18:38,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69520155 passed
2026-01-28 16:18:38,018 - DEBUG - ====Verifying policy data for ctest-vn-69520155 in API_Server ======
2026-01-28 16:18:38,019 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-28 16:18:38,022 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150
2026-01-28 16:18:38,031 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20
2026-01-28 16:18:38,104 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3a0b3ccf-d467-413b-ba86-6a76c806fbdf
2026-01-28 16:18:38,113 - DEBUG - ==>Verifying data for policy with id: 95db9606-4102-419b-a882-e0b1f54b9ee5, fqn: ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-policy-allow-all-47495570']
2026-01-28 16:18:38,113 - INFO - VN ctest-vn-69520155 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 16:18:38,113 - DEBUG - Verifying the vn in opserver
2026-01-28 16:18:38,113 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155 virtual network link through opserver 10.0.0.22
2026-01-28 16:18:38,113 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-28 16:18:38,409 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-28 16:18:38,475 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155?flat'}
2026-01-28 16:18:38,475 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-69520155 is found in opserver
2026-01-28 16:18:38,484 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 16:18:38,488 - DEBUG - VRF ids for VN ctest-vn-69520155: {}
2026-01-28 16:18:38,488 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-28 16:18:38,492 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150
2026-01-28 16:18:38,501 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20
2026-01-28 16:18:38,572 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e
2026-01-28 16:18:38,582 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e
2026-01-28 16:18:38,589 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245
2026-01-28 16:18:38,594 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245
2026-01-28 16:18:38,599 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a5f497f8-fa38-4a4b-a970-f3000a916b01
2026-01-28 16:18:38,604 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 16:18:38,604 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e
2026-01-28 16:18:38,611 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245
2026-01-28 16:18:38,622 - INFO - Verified VN network id 11 for VN 801c680d-0d99-4805-bf61-bb55ef5ce60e
2026-01-28 16:18:38,622 - INFO - Verifications in API Server for VN ctest-vn-30614167 passed
2026-01-28 16:18:38,623 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e
2026-01-28 16:18:38,629 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245
2026-01-28 16:18:38,636 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01d1ccf5-60f2-461e-8a59-6c86862bc245
2026-01-28 16:18:38,642 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a5f497f8-fa38-4a4b-a970-f3000a916b01
2026-01-28 16:18:38,654 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95676172', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9231367741474686981', 'uuid-lslong': '13790509511747626510'}, 'enable': 'true', 'created': '2026-01-28T16:18:36', 'last-modified': '2026-01-28T16:18:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344084'}
2026-01-28 16:18:38,660 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 16:18:38,660 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30614167 passed
2026-01-28 16:18:38,660 - DEBUG - ====Verifying policy data for ctest-vn-30614167 in API_Server ======
2026-01-28 16:18:38,660 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-28 16:18:38,665 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8fc58ad7-3bf3-4fa7-9ece-4d0ee8eb2150
2026-01-28 16:18:38,674 - DEBUG - Requesting: http://10.0.0.22:8082/project/8366c52b-1d3c-4ba5-a78b-997dcf1f1f20
2026-01-28 16:18:38,740 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/801c680d-0d99-4805-bf61-bb55ef5ce60e
2026-01-28 16:18:38,748 - DEBUG - ==>Verifying data for policy with id: 95db9606-4102-419b-a882-e0b1f54b9ee5, fqn: ['default-domain', 'ctest-TestBasicPolicy-95676172', 'ctest-policy-allow-all-47495570']
2026-01-28 16:18:38,748 - INFO - VN ctest-vn-30614167 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 16:18:38,748 - DEBUG - Verifying the vn in opserver
2026-01-28 16:18:38,748 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167 virtual network link through opserver 10.0.0.22
2026-01-28 16:18:38,748 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-28 16:18:38,756 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167?flat'}
2026-01-28 16:18:38,757 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95676172:ctest-vn-30614167 is found in opserver
2026-01-28 16:18:38,765 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 16:18:38,769 - DEBUG - VRF ids for VN ctest-vn-30614167: {}
2026-01-28 16:18:38,823 - DEBUG - Services list from nova: [