2026-05-09 05:26:05,722 - INFO - Domain Default found not creating
2026-05-09 05:26:05,904 - INFO - Project ctest-TestBasicPolicy-86300886 not found, creating it
2026-05-09 05:26:06,345 - INFO - Created Project:ctest-TestBasicPolicy-86300886, ID : 03ef36c4-e948-4e2a-9e10-650cd2f33f4d
2026-05-09 05:26:08,139 - INFO - ================================================================================
2026-05-09 05:26:08,140 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-09 05:26:08,140 - 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-05-09 05:26:08,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-05-09 05:26:08,394 - INFO - Initial checks done. Running the testcase now
2026-05-09 05:26:08,395 - INFO -
2026-05-09 05:26:08,976 - DEBUG - Response for create_network : {'network': {'id': '5b7ae16d-1838-4946-8d84-102828cd56df', 'name': 'ctest-vn-21324372', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-vn-21324372'], 'port_security_enabled': True, 'description': ''}}
2026-05-09 05:26:09,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '843b4f5b-5c5d-4861-aeca-d99c7c10c8e4', 'name': '', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'network_id': '5b7ae16d-1838-4946-8d84-102828cd56df', 'ip_version': 4, 'cidr': '188.29.156.192/26', 'allocation_pools': [{'start': '188.29.156.194', 'end': '188.29.156.254'}], 'gateway_ip': '188.29.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.29.156.194', 'tags': [], 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d'}}
2026-05-09 05:26:09,151 - INFO - Created VN ctest-vn-21324372
2026-05-09 05:26:09,203 - DEBUG - VN ctest-vn-21324372 UUID is 5b7ae16d-1838-4946-8d84-102828cd56df
2026-05-09 05:26:09,484 - DEBUG - Response for create_network : {'network': {'id': '31f88f2d-2cca-404c-b417-2871d81ce651', 'name': 'ctest-vn-92983629', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-vn-92983629'], 'port_security_enabled': True, 'description': ''}}
2026-05-09 05:26:09,659 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc5e1519-ca18-40a7-9885-a5c15da38721', 'name': '', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'network_id': '31f88f2d-2cca-404c-b417-2871d81ce651', 'ip_version': 4, 'cidr': '9.31.242.64/26', 'allocation_pools': [{'start': '9.31.242.66', 'end': '9.31.242.126'}], 'gateway_ip': '9.31.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.31.242.66', 'tags': [], 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d'}}
2026-05-09 05:26:09,676 - INFO - Created VN ctest-vn-92983629
2026-05-09 05:26:09,727 - DEBUG - VN ctest-vn-92983629 UUID is 31f88f2d-2cca-404c-b417-2871d81ce651
2026-05-09 05:26:09,879 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372, 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-86300886:ctest-vn-92983629, 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-05-09 05:26:10,162 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b7ae16d-1838-4946-8d84-102828cd56df', 'name': 'ctest-vn-21324372', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['843b4f5b-5c5d-4861-aeca-d99c7c10c8e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-vn-21324372'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-policy-allow-all-80181231']], 'subnet_ipam': [{'subnet_cidr': '188.29.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-09 05:26:10,394 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '31f88f2d-2cca-404c-b417-2871d81ce651', 'name': 'ctest-vn-92983629', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc5e1519-ca18-40a7-9885-a5c15da38721'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-vn-92983629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-policy-allow-all-80181231']], 'subnet_ipam': [{'subnet_cidr': '9.31.242.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-09 05:26:10,555 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-09 05:26:10,848 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-09 05:26:10,882 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403
2026-05-09 05:26:10,894 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d
2026-05-09 05:26:10,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df
2026-05-09 05:26:10,991 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df
2026-05-09 05:26:11,000 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a
2026-05-09 05:26:11,007 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a
2026-05-09 05:26:11,013 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d4986399-d26e-4d20-83a0-870d0cdc3c7f
2026-05-09 05:26:11,019 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-09 05:26:11,020 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df
2026-05-09 05:26:11,028 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a
2026-05-09 05:26:11,042 - INFO - Verified VN network id 10 for VN 5b7ae16d-1838-4946-8d84-102828cd56df
2026-05-09 05:26:11,042 - INFO - Verifications in API Server for VN ctest-vn-21324372 passed
2026-05-09 05:26:11,042 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df
2026-05-09 05:26:11,051 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a
2026-05-09 05:26:11,059 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a
2026-05-09 05:26:11,066 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d4986399-d26e-4d20-83a0-870d0cdc3c7f
2026-05-09 05:26:11,076 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86300886', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6591828863284169030', 'uuid-lslong': '10197293220942927583'}, 'enable': 'true', 'created': '2026-05-09T05:26:08', 'last-modified': '2026-05-09T05:26:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935841'}
2026-05-09 05:26:11,082 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-09 05:26:11,082 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21324372 passed
2026-05-09 05:26:11,083 - DEBUG - ====Verifying policy data for ctest-vn-21324372 in API_Server ======
2026-05-09 05:26:11,083 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-09 05:26:11,088 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403
2026-05-09 05:26:11,097 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d
2026-05-09 05:26:11,179 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df
2026-05-09 05:26:11,190 - DEBUG - ==>Verifying data for policy with id: 02411ca6-c10d-4e3c-8867-d07259fb2d77, fqn: ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-policy-allow-all-80181231']
2026-05-09 05:26:11,190 - INFO - VN ctest-vn-21324372 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-09 05:26:11,191 - DEBUG - Verifying the vn in opserver
2026-05-09 05:26:11,191 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372 virtual network link through opserver 10.0.0.50
2026-05-09 05:26:11,191 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-09 05:26:11,485 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-09 05:26:11,543 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372?flat'}
2026-05-09 05:26:11,543 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372 is found in opserver
2026-05-09 05:26:11,552 - DEBUG - Do not have enough data to verify VN in agent
2026-05-09 05:26:11,556 - DEBUG - VRF ids for VN ctest-vn-21324372: {}
2026-05-09 05:26:11,556 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-09 05:26:11,561 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403
2026-05-09 05:26:11,571 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d
2026-05-09 05:26:11,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651
2026-05-09 05:26:11,653 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651
2026-05-09 05:26:11,662 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa
2026-05-09 05:26:11,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa
2026-05-09 05:26:11,675 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/806e7375-80ec-4d1e-ba4a-43568da93600
2026-05-09 05:26:11,681 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-09 05:26:11,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651
2026-05-09 05:26:11,689 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa
2026-05-09 05:26:11,700 - INFO - Verified VN network id 11 for VN 31f88f2d-2cca-404c-b417-2871d81ce651
2026-05-09 05:26:11,700 - INFO - Verifications in API Server for VN ctest-vn-92983629 passed
2026-05-09 05:26:11,700 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651
2026-05-09 05:26:11,708 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa
2026-05-09 05:26:11,714 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa
2026-05-09 05:26:11,720 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/806e7375-80ec-4d1e-ba4a-43568da93600
2026-05-09 05:26:11,731 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86300886', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3600785326270464076', 'uuid-lslong': '12976885320713561681'}, 'enable': 'true', 'created': '2026-05-09T05:26:09', 'last-modified': '2026-05-09T05:26:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.359784'}
2026-05-09 05:26:11,738 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-09 05:26:11,738 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92983629 passed
2026-05-09 05:26:11,738 - DEBUG - ====Verifying policy data for ctest-vn-92983629 in API_Server ======
2026-05-09 05:26:11,738 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-09 05:26:11,745 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403
2026-05-09 05:26:11,756 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d
2026-05-09 05:26:11,824 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651
2026-05-09 05:26:11,834 - DEBUG - ==>Verifying data for policy with id: 02411ca6-c10d-4e3c-8867-d07259fb2d77, fqn: ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-policy-allow-all-80181231']
2026-05-09 05:26:11,834 - INFO - VN ctest-vn-92983629 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-09 05:26:11,834 - DEBUG - Verifying the vn in opserver
2026-05-09 05:26:11,834 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629 virtual network link through opserver 10.0.0.50
2026-05-09 05:26:11,834 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-09 05:26:11,844 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629?flat'}
2026-05-09 05:26:11,844 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629 is found in opserver
2026-05-09 05:26:11,855 - DEBUG - Do not have enough data to verify VN in agent
2026-05-09 05:26:11,859 - DEBUG - VRF ids for VN ctest-vn-92983629: {}
2026-05-09 05:26:11,913 - DEBUG - Services list from nova: [