2026-01-29 13:10:55,282 - INFO - Domain Default found not creating
2026-01-29 13:10:55,513 - INFO - Project ctest-TestBasicPolicy-03727030 not found, creating it
2026-01-29 13:10:56,039 - INFO - Created Project:ctest-TestBasicPolicy-03727030, ID : 99e38c40-3cf4-446a-a375-05cd5e5459d5
2026-01-29 13:10:57,760 - INFO - ================================================================================
2026-01-29 13:10:57,760 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 13:10:57,760 - 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-29 13:10:58,024 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.17': '0'}} with
2026-01-29 13:10:58,024 - INFO - Initial checks done. Running the testcase now
2026-01-29 13:10:58,024 - INFO -
2026-01-29 13:10:58,603 - DEBUG - Response for create_network : {'network': {'id': '81fe15fd-95d0-4580-b504-7c8e9ba25bd3', 'name': 'ctest-vn-45168698', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'project_id': '99e38c403cf4446aa37505cd5e5459d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-vn-45168698'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:10:58,806 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb74397b-0a72-4efb-99e4-368ff5586dcb', 'name': '', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'network_id': '81fe15fd-95d0-4580-b504-7c8e9ba25bd3', 'ip_version': 4, 'cidr': '126.150.255.64/26', 'allocation_pools': [{'start': '126.150.255.66', 'end': '126.150.255.126'}], 'gateway_ip': '126.150.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.150.255.66', 'tags': [], 'project_id': '99e38c403cf4446aa37505cd5e5459d5'}}
2026-01-29 13:10:58,826 - INFO - Created VN ctest-vn-45168698
2026-01-29 13:10:58,881 - DEBUG - VN ctest-vn-45168698 UUID is 81fe15fd-95d0-4580-b504-7c8e9ba25bd3
2026-01-29 13:10:59,189 - DEBUG - Response for create_network : {'network': {'id': '8078e43f-d338-45e9-97bb-336f503a2103', 'name': 'ctest-vn-90497481', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'project_id': '99e38c403cf4446aa37505cd5e5459d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-vn-90497481'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:10:59,373 - DEBUG - Response for create_subnet : {'subnet': {'id': '58fbf70c-10c4-48ed-9f06-ef7c7e745352', 'name': '', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'network_id': '8078e43f-d338-45e9-97bb-336f503a2103', 'ip_version': 4, 'cidr': '172.236.50.192/26', 'allocation_pools': [{'start': '172.236.50.194', 'end': '172.236.50.254'}], 'gateway_ip': '172.236.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.236.50.194', 'tags': [], 'project_id': '99e38c403cf4446aa37505cd5e5459d5'}}
2026-01-29 13:10:59,395 - INFO - Created VN ctest-vn-90497481
2026-01-29 13:10:59,449 - DEBUG - VN ctest-vn-90497481 UUID is 8078e43f-d338-45e9-97bb-336f503a2103
2026-01-29 13:10:59,573 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698, 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-03727030:ctest-vn-90497481, 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-29 13:10:59,917 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81fe15fd-95d0-4580-b504-7c8e9ba25bd3', 'name': 'ctest-vn-45168698', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'project_id': '99e38c403cf4446aa37505cd5e5459d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eb74397b-0a72-4efb-99e4-368ff5586dcb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-vn-45168698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-policy-allow-all-48907034']], 'subnet_ipam': [{'subnet_cidr': '126.150.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:11:00,218 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8078e43f-d338-45e9-97bb-336f503a2103', 'name': 'ctest-vn-90497481', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'project_id': '99e38c403cf4446aa37505cd5e5459d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58fbf70c-10c4-48ed-9f06-ef7c7e745352'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-vn-90497481'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-policy-allow-all-48907034']], 'subnet_ipam': [{'subnet_cidr': '172.236.50.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:11:00,373 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 13:11:00,686 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 13:11:00,723 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787
2026-01-29 13:11:00,739 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5
2026-01-29 13:11:00,817 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3
2026-01-29 13:11:00,830 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3
2026-01-29 13:11:00,842 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021
2026-01-29 13:11:00,853 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021
2026-01-29 13:11:00,863 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/c145bd96-6ebb-4163-bde1-55013c74d344
2026-01-29 13:11:00,871 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 13:11:00,871 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3
2026-01-29 13:11:00,882 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021
2026-01-29 13:11:00,899 - INFO - Verified VN network id 11 for VN 81fe15fd-95d0-4580-b504-7c8e9ba25bd3
2026-01-29 13:11:00,899 - INFO - Verifications in API Server for VN ctest-vn-45168698 passed
2026-01-29 13:11:00,900 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3
2026-01-29 13:11:00,911 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021
2026-01-29 13:11:00,922 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021
2026-01-29 13:11:00,933 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/c145bd96-6ebb-4163-bde1-55013c74d344
2026-01-29 13:11:00,949 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03727030', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9366948453861574016', 'uuid-lslong': '13043687372710108115'}, 'enable': 'true', 'created': '2026-01-29T13:10:58', 'last-modified': '2026-01-29T13:10:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.065865'}
2026-01-29 13:11:00,957 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 13:11:00,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45168698 passed
2026-01-29 13:11:00,957 - DEBUG - ====Verifying policy data for ctest-vn-45168698 in API_Server ======
2026-01-29 13:11:00,957 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 13:11:00,964 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787
2026-01-29 13:11:00,977 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5
2026-01-29 13:11:01,049 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3
2026-01-29 13:11:01,061 - DEBUG - ==>Verifying data for policy with id: 34831565-5d65-4d41-968b-28bf39595c0d, fqn: ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-policy-allow-all-48907034']
2026-01-29 13:11:01,061 - INFO - VN ctest-vn-45168698 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 13:11:01,061 - DEBUG - Verifying the vn in opserver
2026-01-29 13:11:01,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698 virtual network link through opserver 10.0.0.133
2026-01-29 13:11:01,062 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks
2026-01-29 13:11:01,362 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks
2026-01-29 13:11:01,441 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698?flat'}
2026-01-29 13:11:01,441 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698 is found in opserver
2026-01-29 13:11:01,451 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 13:11:01,456 - DEBUG - VRF ids for VN ctest-vn-45168698: {}
2026-01-29 13:11:01,456 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 13:11:01,462 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787
2026-01-29 13:11:01,473 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5
2026-01-29 13:11:01,545 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103
2026-01-29 13:11:01,557 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103
2026-01-29 13:11:01,567 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f
2026-01-29 13:11:01,574 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f
2026-01-29 13:11:01,582 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/128de758-5fdf-487b-8782-1b5668011f7c
2026-01-29 13:11:01,591 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 13:11:01,591 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103
2026-01-29 13:11:01,601 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f
2026-01-29 13:11:01,616 - INFO - Verified VN network id 12 for VN 8078e43f-d338-45e9-97bb-336f503a2103
2026-01-29 13:11:01,617 - INFO - Verifications in API Server for VN ctest-vn-90497481 passed
2026-01-29 13:11:01,617 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103
2026-01-29 13:11:01,627 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f
2026-01-29 13:11:01,635 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f
2026-01-29 13:11:01,643 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/128de758-5fdf-487b-8782-1b5668011f7c
2026-01-29 13:11:01,657 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03727030', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9257399996837807593', 'uuid-lslong': '10933389073552384259'}, 'enable': 'true', 'created': '2026-01-29T13:10:59', 'last-modified': '2026-01-29T13:11:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510257'}
2026-01-29 13:11:01,663 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 13:11:01,663 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90497481 passed
2026-01-29 13:11:01,663 - DEBUG - ====Verifying policy data for ctest-vn-90497481 in API_Server ======
2026-01-29 13:11:01,663 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 13:11:01,670 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787
2026-01-29 13:11:01,683 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5
2026-01-29 13:11:01,769 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103
2026-01-29 13:11:01,780 - DEBUG - ==>Verifying data for policy with id: 34831565-5d65-4d41-968b-28bf39595c0d, fqn: ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-policy-allow-all-48907034']
2026-01-29 13:11:01,780 - INFO - VN ctest-vn-90497481 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 13:11:01,780 - DEBUG - Verifying the vn in opserver
2026-01-29 13:11:01,780 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481 virtual network link through opserver 10.0.0.133
2026-01-29 13:11:01,780 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks
2026-01-29 13:11:01,792 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481?flat'}
2026-01-29 13:11:01,792 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481 is found in opserver
2026-01-29 13:11:01,806 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 13:11:01,812 - DEBUG - VRF ids for VN ctest-vn-90497481: {}
2026-01-29 13:11:01,891 - DEBUG - Services list from nova: [