2026-09-09 09:50:13,691 - INFO - Domain Default found not creating
2026-09-09 09:50:13,859 - INFO - Project ctest-TestBasicPolicy-73803880 not found, creating it
2026-09-09 09:50:14,661 - INFO - Created Project:ctest-TestBasicPolicy-73803880, ID : 92d07708-df2e-4dd6-8334-cc8b02a04a00
2026-09-09 09:50:16,341 - INFO - ================================================================================
2026-09-09 09:50:16,341 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-09 09:50:16,341 - 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-09-09 09:50:16,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with
2026-09-09 09:50:16,603 - INFO - Initial checks done. Running the testcase now
2026-09-09 09:50:16,603 - INFO -
2026-09-09 09:50:17,191 - DEBUG - Response for create_network : {'network': {'id': '50104628-2911-4f18-95e1-ec958708ac0b', 'name': 'ctest-vn-21970844', 'tenant_id': '92d07708df2e4dd68334cc8b02a04a00', 'project_id': '92d07708df2e4dd68334cc8b02a04a00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73803880', 'ctest-vn-21970844'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 09:50:17,411 - DEBUG - Response for create_subnet : {'subnet': {'id': '6628312f-3987-44ae-8dc8-158a78e4c1de', 'name': '', 'tenant_id': '92d07708df2e4dd68334cc8b02a04a00', 'network_id': '50104628-2911-4f18-95e1-ec958708ac0b', 'ip_version': 4, 'cidr': '107.170.73.192/26', 'allocation_pools': [{'start': '107.170.73.194', 'end': '107.170.73.254'}], 'gateway_ip': '107.170.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.170.73.194', 'tags': [], 'project_id': '92d07708df2e4dd68334cc8b02a04a00'}}
2026-09-09 09:50:17,430 - INFO - Created VN ctest-vn-21970844
2026-09-09 09:50:17,483 - DEBUG - VN ctest-vn-21970844 UUID is 50104628-2911-4f18-95e1-ec958708ac0b
2026-09-09 09:50:17,826 - DEBUG - Response for create_network : {'network': {'id': '65fd4699-c20f-40d8-b5eb-04b47f1129ee', 'name': 'ctest-vn-36122580', 'tenant_id': '92d07708df2e4dd68334cc8b02a04a00', 'project_id': '92d07708df2e4dd68334cc8b02a04a00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73803880', 'ctest-vn-36122580'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 09:50:18,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8467a0e-a9fd-4743-a3fd-cc82d7010fc3', 'name': '', 'tenant_id': '92d07708df2e4dd68334cc8b02a04a00', 'network_id': '65fd4699-c20f-40d8-b5eb-04b47f1129ee', 'ip_version': 4, 'cidr': '164.192.210.192/26', 'allocation_pools': [{'start': '164.192.210.194', 'end': '164.192.210.254'}], 'gateway_ip': '164.192.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.192.210.194', 'tags': [], 'project_id': '92d07708df2e4dd68334cc8b02a04a00'}}
2026-09-09 09:50:18,093 - INFO - Created VN ctest-vn-36122580
2026-09-09 09:50:18,147 - DEBUG - VN ctest-vn-36122580 UUID is 65fd4699-c20f-40d8-b5eb-04b47f1129ee
2026-09-09 09:50:18,265 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-21970844, 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-73803880:ctest-vn-36122580, 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-09-09 09:50:18,576 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50104628-2911-4f18-95e1-ec958708ac0b', 'name': 'ctest-vn-21970844', 'tenant_id': '92d07708df2e4dd68334cc8b02a04a00', 'project_id': '92d07708df2e4dd68334cc8b02a04a00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6628312f-3987-44ae-8dc8-158a78e4c1de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73803880', 'ctest-vn-21970844'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73803880', 'ctest-policy-allow-all-95337504']], 'subnet_ipam': [{'subnet_cidr': '107.170.73.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 09:50:18,817 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65fd4699-c20f-40d8-b5eb-04b47f1129ee', 'name': 'ctest-vn-36122580', 'tenant_id': '92d07708df2e4dd68334cc8b02a04a00', 'project_id': '92d07708df2e4dd68334cc8b02a04a00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a8467a0e-a9fd-4743-a3fd-cc82d7010fc3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73803880', 'ctest-vn-36122580'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73803880', 'ctest-policy-allow-all-95337504']], 'subnet_ipam': [{'subnet_cidr': '164.192.210.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 09:50:19,003 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 09:50:19,323 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 09:50:19,349 - DEBUG - Requesting: http://10.0.0.250:8082/domain/55b8e664-b1e1-46eb-b44c-2f65bdc76f70
2026-09-09 09:50:19,360 - DEBUG - Requesting: http://10.0.0.250:8082/project/92d07708-df2e-4dd6-8334-cc8b02a04a00
2026-09-09 09:50:19,432 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/50104628-2911-4f18-95e1-ec958708ac0b
2026-09-09 09:50:19,445 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/50104628-2911-4f18-95e1-ec958708ac0b
2026-09-09 09:50:19,455 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/869fa407-6def-4eae-970a-c5114c7869d9
2026-09-09 09:50:19,463 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/869fa407-6def-4eae-970a-c5114c7869d9
2026-09-09 09:50:19,470 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/7e142e9f-e8bf-46fa-941b-ce180114e8a2
2026-09-09 09:50:19,477 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 09:50:19,477 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/50104628-2911-4f18-95e1-ec958708ac0b
2026-09-09 09:50:19,486 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/869fa407-6def-4eae-970a-c5114c7869d9
2026-09-09 09:50:19,500 - INFO - Verified VN network id 12 for VN 50104628-2911-4f18-95e1-ec958708ac0b
2026-09-09 09:50:19,500 - INFO - Verifications in API Server for VN ctest-vn-21970844 passed
2026-09-09 09:50:19,500 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/50104628-2911-4f18-95e1-ec958708ac0b
2026-09-09 09:50:19,511 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/869fa407-6def-4eae-970a-c5114c7869d9
2026-09-09 09:50:19,519 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/869fa407-6def-4eae-970a-c5114c7869d9
2026-09-09 09:50:19,527 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/7e142e9f-e8bf-46fa-941b-ce180114e8a2
2026-09-09 09:50:19,542 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-21970844', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73803880', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5769188260963241752', 'uuid-lslong': '10800173508370934795'}, 'enable': 'true', 'created': '2026-09-09T09:50:17', 'last-modified': '2026-09-09T09:50:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999386'}
2026-09-09 09:50:19,548 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 09:50:19,548 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21970844 passed
2026-09-09 09:50:19,548 - DEBUG - ====Verifying policy data for ctest-vn-21970844 in API_Server ======
2026-09-09 09:50:19,548 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 09:50:19,555 - DEBUG - Requesting: http://10.0.0.250:8082/domain/55b8e664-b1e1-46eb-b44c-2f65bdc76f70
2026-09-09 09:50:19,565 - DEBUG - Requesting: http://10.0.0.250:8082/project/92d07708-df2e-4dd6-8334-cc8b02a04a00
2026-09-09 09:50:19,644 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/50104628-2911-4f18-95e1-ec958708ac0b
2026-09-09 09:50:19,653 - DEBUG - ==>Verifying data for policy with id: fe3a1e0e-caf7-4f7e-bad9-20aa5096c4b3, fqn: ['default-domain', 'ctest-TestBasicPolicy-73803880', 'ctest-policy-allow-all-95337504']
2026-09-09 09:50:19,653 - INFO - VN ctest-vn-21970844 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 09:50:19,653 - DEBUG - Verifying the vn in opserver
2026-09-09 09:50:19,653 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-21970844 virtual network link through opserver 10.0.0.250
2026-09-09 09:50:19,653 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-09 09:50:19,977 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-09 09:50:20,031 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-21970844', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-21970844?flat'}
2026-09-09 09:50:20,032 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-21970844 is found in opserver
2026-09-09 09:50:20,043 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 09:50:20,048 - DEBUG - VRF ids for VN ctest-vn-21970844: {}
2026-09-09 09:50:20,048 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 09:50:20,054 - DEBUG - Requesting: http://10.0.0.250:8082/domain/55b8e664-b1e1-46eb-b44c-2f65bdc76f70
2026-09-09 09:50:20,066 - DEBUG - Requesting: http://10.0.0.250:8082/project/92d07708-df2e-4dd6-8334-cc8b02a04a00
2026-09-09 09:50:20,147 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65fd4699-c20f-40d8-b5eb-04b47f1129ee
2026-09-09 09:50:20,159 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65fd4699-c20f-40d8-b5eb-04b47f1129ee
2026-09-09 09:50:20,171 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/497364d1-8651-4ba3-a11a-ab9865135946
2026-09-09 09:50:20,180 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/497364d1-8651-4ba3-a11a-ab9865135946
2026-09-09 09:50:20,188 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/8613823e-5db0-459a-9653-a0ebb9421065
2026-09-09 09:50:20,196 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 09:50:20,196 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65fd4699-c20f-40d8-b5eb-04b47f1129ee
2026-09-09 09:50:20,208 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/497364d1-8651-4ba3-a11a-ab9865135946
2026-09-09 09:50:20,224 - INFO - Verified VN network id 13 for VN 65fd4699-c20f-40d8-b5eb-04b47f1129ee
2026-09-09 09:50:20,224 - INFO - Verifications in API Server for VN ctest-vn-36122580 passed
2026-09-09 09:50:20,224 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65fd4699-c20f-40d8-b5eb-04b47f1129ee
2026-09-09 09:50:20,236 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/497364d1-8651-4ba3-a11a-ab9865135946
2026-09-09 09:50:20,246 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/497364d1-8651-4ba3-a11a-ab9865135946
2026-09-09 09:50:20,254 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/8613823e-5db0-459a-9653-a0ebb9421065
2026-09-09 09:50:20,268 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-36122580', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73803880', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7349107793138237656', 'uuid-lslong': '13108576313664416238'}, 'enable': 'true', 'created': '2026-09-09T09:50:17', 'last-modified': '2026-09-09T09:50:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.476488'}
2026-09-09 09:50:20,275 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 09:50:20,275 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36122580 passed
2026-09-09 09:50:20,276 - DEBUG - ====Verifying policy data for ctest-vn-36122580 in API_Server ======
2026-09-09 09:50:20,276 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 09:50:20,283 - DEBUG - Requesting: http://10.0.0.250:8082/domain/55b8e664-b1e1-46eb-b44c-2f65bdc76f70
2026-09-09 09:50:20,294 - DEBUG - Requesting: http://10.0.0.250:8082/project/92d07708-df2e-4dd6-8334-cc8b02a04a00
2026-09-09 09:50:20,370 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65fd4699-c20f-40d8-b5eb-04b47f1129ee
2026-09-09 09:50:20,381 - DEBUG - ==>Verifying data for policy with id: fe3a1e0e-caf7-4f7e-bad9-20aa5096c4b3, fqn: ['default-domain', 'ctest-TestBasicPolicy-73803880', 'ctest-policy-allow-all-95337504']
2026-09-09 09:50:20,382 - INFO - VN ctest-vn-36122580 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 09:50:20,382 - DEBUG - Verifying the vn in opserver
2026-09-09 09:50:20,382 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-36122580 virtual network link through opserver 10.0.0.250
2026-09-09 09:50:20,382 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-09 09:50:20,392 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-36122580', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-36122580?flat'}
2026-09-09 09:50:20,392 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73803880:ctest-vn-36122580 is found in opserver
2026-09-09 09:50:20,407 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 09:50:20,413 - DEBUG - VRF ids for VN ctest-vn-36122580: {}
2026-09-09 09:50:20,476 - DEBUG - Services list from nova: [