2026-05-29 22:28:27,659 - INFO - Domain Default found not creating
2026-05-29 22:28:27,838 - INFO - Project ctest-TestBasicPolicy-52489800 not found, creating it
2026-05-29 22:28:28,303 - INFO - Created Project:ctest-TestBasicPolicy-52489800, ID : 52295142-815d-42ca-ac86-f883e04cd21b
2026-05-29 22:28:29,798 - INFO - ================================================================================
2026-05-29 22:28:29,798 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-29 22:28:29,798 - 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-29 22:28:30,053 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-05-29 22:28:30,053 - INFO - Initial checks done. Running the testcase now
2026-05-29 22:28:30,053 - INFO -
2026-05-29 22:28:30,601 - DEBUG - Response for create_network : {'network': {'id': 'f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7', 'name': 'ctest-vn-33517091', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'project_id': '52295142815d42caac86f883e04cd21b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-vn-33517091'], 'port_security_enabled': True, 'description': ''}}
2026-05-29 22:28:30,825 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1c12ebf-3d64-405c-bf16-05b8635b3860', 'name': '', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'network_id': 'f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7', 'ip_version': 4, 'cidr': '65.90.54.192/26', 'allocation_pools': [{'start': '65.90.54.194', 'end': '65.90.54.254'}], 'gateway_ip': '65.90.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.90.54.194', 'tags': [], 'project_id': '52295142815d42caac86f883e04cd21b'}}
2026-05-29 22:28:30,843 - INFO - Created VN ctest-vn-33517091
2026-05-29 22:28:30,896 - DEBUG - VN ctest-vn-33517091 UUID is f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7
2026-05-29 22:28:31,192 - DEBUG - Response for create_network : {'network': {'id': '9ff1930f-787c-40e4-90ef-cdd2666b2b1e', 'name': 'ctest-vn-02205938', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'project_id': '52295142815d42caac86f883e04cd21b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-vn-02205938'], 'port_security_enabled': True, 'description': ''}}
2026-05-29 22:28:31,407 - DEBUG - Response for create_subnet : {'subnet': {'id': '18a0c34e-27db-44e5-8d94-c603ae9130e8', 'name': '', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'network_id': '9ff1930f-787c-40e4-90ef-cdd2666b2b1e', 'ip_version': 4, 'cidr': '190.159.74.64/26', 'allocation_pools': [{'start': '190.159.74.66', 'end': '190.159.74.126'}], 'gateway_ip': '190.159.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.159.74.66', 'tags': [], 'project_id': '52295142815d42caac86f883e04cd21b'}}
2026-05-29 22:28:31,428 - INFO - Created VN ctest-vn-02205938
2026-05-29 22:28:31,480 - DEBUG - VN ctest-vn-02205938 UUID is 9ff1930f-787c-40e4-90ef-cdd2666b2b1e
2026-05-29 22:28:31,596 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091, 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-52489800:ctest-vn-02205938, 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-29 22:28:31,890 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7', 'name': 'ctest-vn-33517091', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'project_id': '52295142815d42caac86f883e04cd21b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1c12ebf-3d64-405c-bf16-05b8635b3860'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-vn-33517091'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-policy-allow-all-70358139']], 'subnet_ipam': [{'subnet_cidr': '65.90.54.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-29 22:28:32,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ff1930f-787c-40e4-90ef-cdd2666b2b1e', 'name': 'ctest-vn-02205938', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'project_id': '52295142815d42caac86f883e04cd21b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18a0c34e-27db-44e5-8d94-c603ae9130e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-vn-02205938'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-policy-allow-all-70358139']], 'subnet_ipam': [{'subnet_cidr': '190.159.74.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-29 22:28:32,296 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 22:28:32,595 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 22:28:32,626 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba
2026-05-29 22:28:32,638 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b
2026-05-29 22:28:32,711 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7
2026-05-29 22:28:32,721 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7
2026-05-29 22:28:32,731 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf
2026-05-29 22:28:32,739 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf
2026-05-29 22:28:32,745 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9bdfc859-61ef-456e-9a84-3b32c0301868
2026-05-29 22:28:32,752 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-29 22:28:32,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7
2026-05-29 22:28:32,763 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf
2026-05-29 22:28:32,781 - INFO - Verified VN network id 11 for VN f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7
2026-05-29 22:28:32,781 - INFO - Verifications in API Server for VN ctest-vn-33517091 passed
2026-05-29 22:28:32,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7
2026-05-29 22:28:32,792 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf
2026-05-29 22:28:32,800 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf
2026-05-29 22:28:32,809 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9bdfc859-61ef-456e-9a84-3b32c0301868
2026-05-29 22:28:32,821 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52489800', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17657913388175412862', 'uuid-lslong': '9794958274257954759'}, 'enable': 'true', 'created': '2026-05-29T22:28:30', 'last-modified': '2026-05-29T22:28:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959252'}
2026-05-29 22:28:32,826 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-29 22:28:32,826 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33517091 passed
2026-05-29 22:28:32,826 - DEBUG - ====Verifying policy data for ctest-vn-33517091 in API_Server ======
2026-05-29 22:28:32,826 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 22:28:32,832 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba
2026-05-29 22:28:32,842 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b
2026-05-29 22:28:32,925 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7
2026-05-29 22:28:32,937 - DEBUG - ==>Verifying data for policy with id: 8b187a10-bdec-44fb-bcdc-3e2e3d593460, fqn: ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-policy-allow-all-70358139']
2026-05-29 22:28:32,937 - INFO - VN ctest-vn-33517091 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-29 22:28:32,937 - DEBUG - Verifying the vn in opserver
2026-05-29 22:28:32,937 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091 virtual network link through opserver 10.0.0.50
2026-05-29 22:28:32,938 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-29 22:28:33,245 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-29 22:28:33,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091?flat'}
2026-05-29 22:28:33,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091 is found in opserver
2026-05-29 22:28:33,334 - DEBUG - Do not have enough data to verify VN in agent
2026-05-29 22:28:33,340 - DEBUG - VRF ids for VN ctest-vn-33517091: {}
2026-05-29 22:28:33,340 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 22:28:33,346 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba
2026-05-29 22:28:33,357 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b
2026-05-29 22:28:33,434 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e
2026-05-29 22:28:33,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e
2026-05-29 22:28:33,456 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41
2026-05-29 22:28:33,464 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41
2026-05-29 22:28:33,471 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/307a54a9-664a-4a7f-bcb3-44c895e3a401
2026-05-29 22:28:33,477 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-29 22:28:33,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e
2026-05-29 22:28:33,487 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41
2026-05-29 22:28:33,506 - INFO - Verified VN network id 12 for VN 9ff1930f-787c-40e4-90ef-cdd2666b2b1e
2026-05-29 22:28:33,506 - INFO - Verifications in API Server for VN ctest-vn-02205938 passed
2026-05-29 22:28:33,507 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e
2026-05-29 22:28:33,517 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41
2026-05-29 22:28:33,529 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41
2026-05-29 22:28:33,538 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/307a54a9-664a-4a7f-bcb3-44c895e3a401
2026-05-29 22:28:33,552 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52489800', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11525154616073011428', 'uuid-lslong': '10443792364440595230'}, 'enable': 'true', 'created': '2026-05-29T22:28:31', 'last-modified': '2026-05-29T22:28:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430782'}
2026-05-29 22:28:33,558 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-29 22:28:33,558 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02205938 passed
2026-05-29 22:28:33,558 - DEBUG - ====Verifying policy data for ctest-vn-02205938 in API_Server ======
2026-05-29 22:28:33,558 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 22:28:33,564 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba
2026-05-29 22:28:33,575 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b
2026-05-29 22:28:33,644 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e
2026-05-29 22:28:33,654 - DEBUG - ==>Verifying data for policy with id: 8b187a10-bdec-44fb-bcdc-3e2e3d593460, fqn: ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-policy-allow-all-70358139']
2026-05-29 22:28:33,654 - INFO - VN ctest-vn-02205938 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-29 22:28:33,654 - DEBUG - Verifying the vn in opserver
2026-05-29 22:28:33,654 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938 virtual network link through opserver 10.0.0.50
2026-05-29 22:28:33,654 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-29 22:28:33,665 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938?flat'}
2026-05-29 22:28:33,665 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938 is found in opserver
2026-05-29 22:28:33,677 - DEBUG - Do not have enough data to verify VN in agent
2026-05-29 22:28:33,682 - DEBUG - VRF ids for VN ctest-vn-02205938: {}
2026-05-29 22:28:33,747 - DEBUG - Services list from nova: [