2026-05-28 16:53:07,695 - INFO - Domain Default found not creating
2026-05-28 16:53:07,892 - INFO - Project ctest-TestBasicPolicy-64662238 not found, creating it
2026-05-28 16:53:08,401 - INFO - Created Project:ctest-TestBasicPolicy-64662238, ID : 5af55828-4d56-4887-bac2-b84f26f8f435
2026-05-28 16:53:10,083 - INFO - ================================================================================
2026-05-28 16:53:10,083 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-28 16:53:10,083 - 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-28 16:53:10,360 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with
2026-05-28 16:53:10,360 - INFO - Initial checks done. Running the testcase now
2026-05-28 16:53:10,360 - INFO -
2026-05-28 16:53:10,985 - DEBUG - Response for create_network : {'network': {'id': 'e63afcb5-fef0-48f0-a02b-40a7a94c063e', 'name': 'ctest-vn-95556699', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'project_id': '5af558284d564887bac2b84f26f8f435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-vn-95556699'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 16:53:11,274 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa7ed4ae-714a-423e-9db9-536535fe8156', 'name': '', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'network_id': 'e63afcb5-fef0-48f0-a02b-40a7a94c063e', 'ip_version': 4, 'cidr': '150.164.231.0/26', 'allocation_pools': [{'start': '150.164.231.2', 'end': '150.164.231.62'}], 'gateway_ip': '150.164.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.164.231.2', 'tags': [], 'project_id': '5af558284d564887bac2b84f26f8f435'}}
2026-05-28 16:53:11,304 - INFO - Created VN ctest-vn-95556699
2026-05-28 16:53:11,393 - DEBUG - VN ctest-vn-95556699 UUID is e63afcb5-fef0-48f0-a02b-40a7a94c063e
2026-05-28 16:53:11,893 - DEBUG - Response for create_network : {'network': {'id': 'b28e460f-dfa4-4716-aa86-49b511e96357', 'name': 'ctest-vn-77185275', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'project_id': '5af558284d564887bac2b84f26f8f435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-vn-77185275'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 16:53:12,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '6002f281-0e6e-43ee-97b0-3fc9f6b7e15c', 'name': '', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'network_id': 'b28e460f-dfa4-4716-aa86-49b511e96357', 'ip_version': 4, 'cidr': '43.115.128.128/26', 'allocation_pools': [{'start': '43.115.128.130', 'end': '43.115.128.190'}], 'gateway_ip': '43.115.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.115.128.130', 'tags': [], 'project_id': '5af558284d564887bac2b84f26f8f435'}}
2026-05-28 16:53:12,132 - INFO - Created VN ctest-vn-77185275
2026-05-28 16:53:12,185 - DEBUG - VN ctest-vn-77185275 UUID is b28e460f-dfa4-4716-aa86-49b511e96357
2026-05-28 16:53:12,307 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699, 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-64662238:ctest-vn-77185275, 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-28 16:53:12,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e63afcb5-fef0-48f0-a02b-40a7a94c063e', 'name': 'ctest-vn-95556699', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'project_id': '5af558284d564887bac2b84f26f8f435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa7ed4ae-714a-423e-9db9-536535fe8156'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-vn-95556699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-policy-allow-all-74028593']], 'subnet_ipam': [{'subnet_cidr': '150.164.231.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 16:53:12,895 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b28e460f-dfa4-4716-aa86-49b511e96357', 'name': 'ctest-vn-77185275', 'tenant_id': '5af558284d564887bac2b84f26f8f435', 'project_id': '5af558284d564887bac2b84f26f8f435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6002f281-0e6e-43ee-97b0-3fc9f6b7e15c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-vn-77185275'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-policy-allow-all-74028593']], 'subnet_ipam': [{'subnet_cidr': '43.115.128.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 16:53:13,069 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-28 16:53:13,381 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-28 16:53:13,417 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7
2026-05-28 16:53:13,428 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435
2026-05-28 16:53:13,512 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e
2026-05-28 16:53:13,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e
2026-05-28 16:53:13,535 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba
2026-05-28 16:53:13,545 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba
2026-05-28 16:53:13,553 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6e1bd89e-c3b3-4a0d-be38-d143ac05d4ce
2026-05-28 16:53:13,563 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 16:53:13,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e
2026-05-28 16:53:13,576 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba
2026-05-28 16:53:13,591 - INFO - Verified VN network id 12 for VN e63afcb5-fef0-48f0-a02b-40a7a94c063e
2026-05-28 16:53:13,591 - INFO - Verifications in API Server for VN ctest-vn-95556699 passed
2026-05-28 16:53:13,592 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e
2026-05-28 16:53:13,604 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba
2026-05-28 16:53:13,613 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4309fa9-bac3-450f-af26-18327c6165ba
2026-05-28 16:53:13,621 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6e1bd89e-c3b3-4a0d-be38-d143ac05d4ce
2026-05-28 16:53:13,637 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64662238', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16589850035969083632', 'uuid-lslong': '11541389558911075902'}, 'enable': 'true', 'created': '2026-05-28T16:53:10', 'last-modified': '2026-05-28T16:53:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.025900'}
2026-05-28 16:53:13,645 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 16:53:13,645 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95556699 passed
2026-05-28 16:53:13,645 - DEBUG - ====Verifying policy data for ctest-vn-95556699 in API_Server ======
2026-05-28 16:53:13,645 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-28 16:53:13,651 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7
2026-05-28 16:53:13,670 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435
2026-05-28 16:53:13,751 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e63afcb5-fef0-48f0-a02b-40a7a94c063e
2026-05-28 16:53:13,761 - DEBUG - ==>Verifying data for policy with id: 9525611c-605f-4c8c-8c92-56e34da9b4a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-policy-allow-all-74028593']
2026-05-28 16:53:13,761 - INFO - VN ctest-vn-95556699 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 16:53:13,761 - DEBUG - Verifying the vn in opserver
2026-05-28 16:53:13,761 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699 virtual network link through opserver 10.0.0.50
2026-05-28 16:53:13,761 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-28 16:53:14,079 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-28 16:53:14,155 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699?flat'}
2026-05-28 16:53:14,155 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-95556699 is found in opserver
2026-05-28 16:53:14,165 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 16:53:14,171 - DEBUG - VRF ids for VN ctest-vn-95556699: {}
2026-05-28 16:53:14,171 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-28 16:53:14,178 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7
2026-05-28 16:53:14,190 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435
2026-05-28 16:53:14,265 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357
2026-05-28 16:53:14,278 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357
2026-05-28 16:53:14,287 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f
2026-05-28 16:53:14,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f
2026-05-28 16:53:14,303 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b391ebf0-0870-42bc-bbe3-1c8138c7bf7d
2026-05-28 16:53:14,310 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 16:53:14,310 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357
2026-05-28 16:53:14,320 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f
2026-05-28 16:53:14,337 - INFO - Verified VN network id 13 for VN b28e460f-dfa4-4716-aa86-49b511e96357
2026-05-28 16:53:14,337 - INFO - Verifications in API Server for VN ctest-vn-77185275 passed
2026-05-28 16:53:14,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357
2026-05-28 16:53:14,348 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f
2026-05-28 16:53:14,356 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/488539a5-1222-46ac-ac04-84a5d7d80f8f
2026-05-28 16:53:14,364 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b391ebf0-0870-42bc-bbe3-1c8138c7bf7d
2026-05-28 16:53:14,378 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64662238', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12866298219434624790', 'uuid-lslong': '12287589675365393239'}, 'enable': 'true', 'created': '2026-05-28T16:53:11', 'last-modified': '2026-05-28T16:53:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.507548'}
2026-05-28 16:53:14,386 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 16:53:14,386 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77185275 passed
2026-05-28 16:53:14,386 - DEBUG - ====Verifying policy data for ctest-vn-77185275 in API_Server ======
2026-05-28 16:53:14,386 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-28 16:53:14,395 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6fb2d41d-38d0-493f-aa9e-9df8569e9ae7
2026-05-28 16:53:14,406 - DEBUG - Requesting: http://10.0.0.50:8082/project/5af55828-4d56-4887-bac2-b84f26f8f435
2026-05-28 16:53:14,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b28e460f-dfa4-4716-aa86-49b511e96357
2026-05-28 16:53:14,496 - DEBUG - ==>Verifying data for policy with id: 9525611c-605f-4c8c-8c92-56e34da9b4a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-64662238', 'ctest-policy-allow-all-74028593']
2026-05-28 16:53:14,496 - INFO - VN ctest-vn-77185275 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 16:53:14,496 - DEBUG - Verifying the vn in opserver
2026-05-28 16:53:14,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275 virtual network link through opserver 10.0.0.50
2026-05-28 16:53:14,496 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-28 16:53:14,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275?flat'}
2026-05-28 16:53:14,507 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64662238:ctest-vn-77185275 is found in opserver
2026-05-28 16:53:14,517 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 16:53:14,522 - DEBUG - VRF ids for VN ctest-vn-77185275: {}
2026-05-28 16:53:14,598 - DEBUG - Services list from nova: [