2026-04-06 02:00:55,384 - INFO - Domain Default found not creating
2026-04-06 02:00:55,521 - INFO - Project ctest-TestBasicPolicy-45188229 not found, creating it
2026-04-06 02:00:55,933 - INFO - Created Project:ctest-TestBasicPolicy-45188229, ID : 79270f3e-e69a-4fde-8cbe-7c6ecbad08c1
2026-04-06 02:00:57,304 - INFO - ================================================================================
2026-04-06 02:00:57,304 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-06 02:00:57,304 - 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-04-06 02:00:57,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2026-04-06 02:00:57,559 - INFO - Initial checks done. Running the testcase now
2026-04-06 02:00:57,559 - INFO -
2026-04-06 02:00:58,099 - DEBUG - Response for create_network : {'network': {'id': '7aa53793-1c29-4ae4-9944-b68fabf47ec4', 'name': 'ctest-vn-09338269', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-vn-09338269'], 'port_security_enabled': True, 'description': ''}}
2026-04-06 02:00:58,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '143013e6-1d43-4d0d-b419-d31ff5838ca9', 'name': '', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'network_id': '7aa53793-1c29-4ae4-9944-b68fabf47ec4', 'ip_version': 4, 'cidr': '22.232.39.128/26', 'allocation_pools': [{'start': '22.232.39.130', 'end': '22.232.39.190'}], 'gateway_ip': '22.232.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.232.39.130', 'tags': [], 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1'}}
2026-04-06 02:00:58,301 - INFO - Created VN ctest-vn-09338269
2026-04-06 02:00:58,351 - DEBUG - VN ctest-vn-09338269 UUID is 7aa53793-1c29-4ae4-9944-b68fabf47ec4
2026-04-06 02:00:58,640 - DEBUG - Response for create_network : {'network': {'id': '10d221ad-71ed-4a47-862a-a2d9ad07b7ca', 'name': 'ctest-vn-34427464', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-vn-34427464'], 'port_security_enabled': True, 'description': ''}}
2026-04-06 02:00:58,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '30821c0f-64fd-45cd-9ddd-7429189018ef', 'name': '', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'network_id': '10d221ad-71ed-4a47-862a-a2d9ad07b7ca', 'ip_version': 4, 'cidr': '215.238.67.0/26', 'allocation_pools': [{'start': '215.238.67.2', 'end': '215.238.67.62'}], 'gateway_ip': '215.238.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.238.67.2', 'tags': [], 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1'}}
2026-04-06 02:00:58,794 - INFO - Created VN ctest-vn-34427464
2026-04-06 02:00:58,843 - DEBUG - VN ctest-vn-34427464 UUID is 10d221ad-71ed-4a47-862a-a2d9ad07b7ca
2026-04-06 02:00:58,987 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269, 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-45188229:ctest-vn-34427464, 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-04-06 02:00:59,264 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7aa53793-1c29-4ae4-9944-b68fabf47ec4', 'name': 'ctest-vn-09338269', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['143013e6-1d43-4d0d-b419-d31ff5838ca9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-vn-09338269'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-policy-allow-all-26168738']], 'subnet_ipam': [{'subnet_cidr': '22.232.39.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-06 02:00:59,489 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10d221ad-71ed-4a47-862a-a2d9ad07b7ca', 'name': 'ctest-vn-34427464', 'tenant_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'project_id': '79270f3ee69a4fde8cbe7c6ecbad08c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30821c0f-64fd-45cd-9ddd-7429189018ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-vn-34427464'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-policy-allow-all-26168738']], 'subnet_ipam': [{'subnet_cidr': '215.238.67.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-06 02:00:59,639 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-04-06 02:00:59,929 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-04-06 02:00:59,956 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570
2026-04-06 02:00:59,967 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1
2026-04-06 02:01:00,036 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4
2026-04-06 02:01:00,046 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4
2026-04-06 02:01:00,054 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8
2026-04-06 02:01:00,061 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8
2026-04-06 02:01:00,067 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/480fbe63-c450-4151-9cf8-5cf12b81b667
2026-04-06 02:01:00,074 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-06 02:01:00,074 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4
2026-04-06 02:01:00,082 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8
2026-04-06 02:01:00,094 - INFO - Verified VN network id 12 for VN 7aa53793-1c29-4ae4-9944-b68fabf47ec4
2026-04-06 02:01:00,094 - INFO - Verifications in API Server for VN ctest-vn-09338269 passed
2026-04-06 02:01:00,095 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4
2026-04-06 02:01:00,101 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8
2026-04-06 02:01:00,107 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c64b4248-9ed5-4c7c-91d3-ec733d71a3c8
2026-04-06 02:01:00,111 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/480fbe63-c450-4151-9cf8-5cf12b81b667
2026-04-06 02:01:00,120 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45188229', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8837530948756654820', 'uuid-lslong': '11044152914400804548'}, 'enable': 'true', 'created': '2026-04-06T02:00:58', 'last-modified': '2026-04-06T02:00:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.872189'}
2026-04-06 02:01:00,124 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-06 02:01:00,125 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09338269 passed
2026-04-06 02:01:00,125 - DEBUG - ====Verifying policy data for ctest-vn-09338269 in API_Server ======
2026-04-06 02:01:00,125 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-04-06 02:01:00,129 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570
2026-04-06 02:01:00,138 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1
2026-04-06 02:01:00,210 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7aa53793-1c29-4ae4-9944-b68fabf47ec4
2026-04-06 02:01:00,217 - DEBUG - ==>Verifying data for policy with id: b8863315-b594-40ab-9915-2e9de1a62ed0, fqn: ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-policy-allow-all-26168738']
2026-04-06 02:01:00,217 - INFO - VN ctest-vn-09338269 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-06 02:01:00,218 - DEBUG - Verifying the vn in opserver
2026-04-06 02:01:00,218 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269 virtual network link through opserver 10.0.0.41
2026-04-06 02:01:00,218 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-04-06 02:01:00,510 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-04-06 02:01:00,564 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269?flat'}
2026-04-06 02:01:00,564 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-09338269 is found in opserver
2026-04-06 02:01:00,572 - DEBUG - Do not have enough data to verify VN in agent
2026-04-06 02:01:00,575 - DEBUG - VRF ids for VN ctest-vn-09338269: {}
2026-04-06 02:01:00,576 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-04-06 02:01:00,580 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570
2026-04-06 02:01:00,589 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1
2026-04-06 02:01:00,652 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca
2026-04-06 02:01:00,661 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca
2026-04-06 02:01:00,669 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714
2026-04-06 02:01:00,674 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714
2026-04-06 02:01:00,679 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0b29990f-c851-429a-afb0-462f00327644
2026-04-06 02:01:00,685 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-06 02:01:00,685 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca
2026-04-06 02:01:00,692 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714
2026-04-06 02:01:00,702 - INFO - Verified VN network id 13 for VN 10d221ad-71ed-4a47-862a-a2d9ad07b7ca
2026-04-06 02:01:00,702 - INFO - Verifications in API Server for VN ctest-vn-34427464 passed
2026-04-06 02:01:00,702 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca
2026-04-06 02:01:00,709 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714
2026-04-06 02:01:00,714 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d093603e-a7e6-4282-88e1-514c20ddc714
2026-04-06 02:01:00,720 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0b29990f-c851-429a-afb0-462f00327644
2026-04-06 02:01:00,730 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45188229', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1212068278540520007', 'uuid-lslong': '9667718605898758090'}, 'enable': 'true', 'created': '2026-04-06T02:00:58', 'last-modified': '2026-04-06T02:00:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.261174'}
2026-04-06 02:01:00,736 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-06 02:01:00,736 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34427464 passed
2026-04-06 02:01:00,736 - DEBUG - ====Verifying policy data for ctest-vn-34427464 in API_Server ======
2026-04-06 02:01:00,736 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-04-06 02:01:00,741 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c79f5fa3-9a9e-4a26-8d0b-3ffd4838e570
2026-04-06 02:01:00,749 - DEBUG - Requesting: http://10.0.0.41:8082/project/79270f3e-e69a-4fde-8cbe-7c6ecbad08c1
2026-04-06 02:01:00,814 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/10d221ad-71ed-4a47-862a-a2d9ad07b7ca
2026-04-06 02:01:00,822 - DEBUG - ==>Verifying data for policy with id: b8863315-b594-40ab-9915-2e9de1a62ed0, fqn: ['default-domain', 'ctest-TestBasicPolicy-45188229', 'ctest-policy-allow-all-26168738']
2026-04-06 02:01:00,822 - INFO - VN ctest-vn-34427464 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-06 02:01:00,822 - DEBUG - Verifying the vn in opserver
2026-04-06 02:01:00,822 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464 virtual network link through opserver 10.0.0.41
2026-04-06 02:01:00,822 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-04-06 02:01:00,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464?flat'}
2026-04-06 02:01:00,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45188229:ctest-vn-34427464 is found in opserver
2026-04-06 02:01:00,839 - DEBUG - Do not have enough data to verify VN in agent
2026-04-06 02:01:00,844 - DEBUG - VRF ids for VN ctest-vn-34427464: {}
2026-04-06 02:01:00,902 - DEBUG - Services list from nova: [