2026-01-30 09:50:22,017 - INFO - Domain Default found not creating
2026-01-30 09:50:22,210 - INFO - Project ctest-TestBasicPolicy-33459800 not found, creating it
2026-01-30 09:50:22,685 - INFO - Created Project:ctest-TestBasicPolicy-33459800, ID : 34e4e3e3-f4b8-4c59-bd25-528e82076be2
2026-01-30 09:50:24,267 - INFO - ================================================================================
2026-01-30 09:50:24,267 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-30 09:50:24,267 - 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-30 09:50:24,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-30 09:50:24,528 - INFO - Initial checks done. Running the testcase now
2026-01-30 09:50:24,528 - INFO -
2026-01-30 09:50:25,123 - DEBUG - Response for create_network : {'network': {'id': '729d1c08-bad5-4fdc-b3d3-5f92c8e214c1', 'name': 'ctest-vn-74906137', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'project_id': '34e4e3e3f4b84c59bd25528e82076be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-vn-74906137'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 09:50:25,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '3259921b-e464-4866-b233-3f7b06ced8f2', 'name': '', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'network_id': '729d1c08-bad5-4fdc-b3d3-5f92c8e214c1', 'ip_version': 4, 'cidr': '45.4.219.128/26', 'allocation_pools': [{'start': '45.4.219.130', 'end': '45.4.219.190'}], 'gateway_ip': '45.4.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.4.219.130', 'tags': [], 'project_id': '34e4e3e3f4b84c59bd25528e82076be2'}}
2026-01-30 09:50:25,337 - INFO - Created VN ctest-vn-74906137
2026-01-30 09:50:25,390 - DEBUG - VN ctest-vn-74906137 UUID is 729d1c08-bad5-4fdc-b3d3-5f92c8e214c1
2026-01-30 09:50:25,713 - DEBUG - Response for create_network : {'network': {'id': 'a94f29f0-bf24-40f7-9bef-80d116beb104', 'name': 'ctest-vn-39944228', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'project_id': '34e4e3e3f4b84c59bd25528e82076be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-vn-39944228'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 09:50:25,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '36d2b82b-e807-4cff-908b-8ab0be405132', 'name': '', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'network_id': 'a94f29f0-bf24-40f7-9bef-80d116beb104', 'ip_version': 4, 'cidr': '109.93.208.64/26', 'allocation_pools': [{'start': '109.93.208.66', 'end': '109.93.208.126'}], 'gateway_ip': '109.93.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.93.208.66', 'tags': [], 'project_id': '34e4e3e3f4b84c59bd25528e82076be2'}}
2026-01-30 09:50:25,958 - INFO - Created VN ctest-vn-39944228
2026-01-30 09:50:26,010 - DEBUG - VN ctest-vn-39944228 UUID is a94f29f0-bf24-40f7-9bef-80d116beb104
2026-01-30 09:50:26,125 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137, 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-33459800:ctest-vn-39944228, 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-30 09:50:26,419 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '729d1c08-bad5-4fdc-b3d3-5f92c8e214c1', 'name': 'ctest-vn-74906137', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'project_id': '34e4e3e3f4b84c59bd25528e82076be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3259921b-e464-4866-b233-3f7b06ced8f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-vn-74906137'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-policy-allow-all-44030417']], 'subnet_ipam': [{'subnet_cidr': '45.4.219.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 09:50:26,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a94f29f0-bf24-40f7-9bef-80d116beb104', 'name': 'ctest-vn-39944228', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'project_id': '34e4e3e3f4b84c59bd25528e82076be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36d2b82b-e807-4cff-908b-8ab0be405132'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-vn-39944228'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-policy-allow-all-44030417']], 'subnet_ipam': [{'subnet_cidr': '109.93.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 09:50:26,842 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-30 09:50:27,154 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-30 09:50:27,188 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec
2026-01-30 09:50:27,201 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2
2026-01-30 09:50:27,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1
2026-01-30 09:50:27,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1
2026-01-30 09:50:27,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11
2026-01-30 09:50:27,305 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11
2026-01-30 09:50:27,313 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22c6d6bf-065e-4edf-b797-b7a5d9e9f08c
2026-01-30 09:50:27,319 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 09:50:27,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1
2026-01-30 09:50:27,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11
2026-01-30 09:50:27,341 - INFO - Verified VN network id 11 for VN 729d1c08-bad5-4fdc-b3d3-5f92c8e214c1
2026-01-30 09:50:27,341 - INFO - Verifications in API Server for VN ctest-vn-74906137 passed
2026-01-30 09:50:27,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1
2026-01-30 09:50:27,352 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11
2026-01-30 09:50:27,360 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11
2026-01-30 09:50:27,367 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22c6d6bf-065e-4edf-b797-b7a5d9e9f08c
2026-01-30 09:50:27,380 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33459800', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8258788115487215580', 'uuid-lslong': '12957805636915172545'}, 'enable': 'true', 'created': '2026-01-30T09:50:25', 'last-modified': '2026-01-30T09:50:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.982715'}
2026-01-30 09:50:27,387 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 09:50:27,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74906137 passed
2026-01-30 09:50:27,387 - DEBUG - ====Verifying policy data for ctest-vn-74906137 in API_Server ======
2026-01-30 09:50:27,387 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-30 09:50:27,394 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec
2026-01-30 09:50:27,407 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2
2026-01-30 09:50:27,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1
2026-01-30 09:50:27,489 - DEBUG - ==>Verifying data for policy with id: f8ce269c-b92c-4c74-ac99-814e15ec937f, fqn: ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-policy-allow-all-44030417']
2026-01-30 09:50:27,489 - INFO - VN ctest-vn-74906137 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 09:50:27,489 - DEBUG - Verifying the vn in opserver
2026-01-30 09:50:27,489 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137 virtual network link through opserver 10.0.0.38
2026-01-30 09:50:27,489 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-30 09:50:27,783 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-30 09:50:27,855 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137?flat'}
2026-01-30 09:50:27,855 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137 is found in opserver
2026-01-30 09:50:27,866 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 09:50:27,872 - DEBUG - VRF ids for VN ctest-vn-74906137: {}
2026-01-30 09:50:27,872 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-30 09:50:27,878 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec
2026-01-30 09:50:27,890 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2
2026-01-30 09:50:27,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104
2026-01-30 09:50:27,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104
2026-01-30 09:50:27,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018
2026-01-30 09:50:28,003 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018
2026-01-30 09:50:28,012 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/efe1ff1c-adbb-46d9-b748-096912a3a90e
2026-01-30 09:50:28,019 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 09:50:28,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104
2026-01-30 09:50:28,029 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018
2026-01-30 09:50:28,045 - INFO - Verified VN network id 12 for VN a94f29f0-bf24-40f7-9bef-80d116beb104
2026-01-30 09:50:28,045 - INFO - Verifications in API Server for VN ctest-vn-39944228 passed
2026-01-30 09:50:28,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104
2026-01-30 09:50:28,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018
2026-01-30 09:50:28,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018
2026-01-30 09:50:28,075 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/efe1ff1c-adbb-46d9-b748-096912a3a90e
2026-01-30 09:50:28,085 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33459800', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12200016029545677047', 'uuid-lslong': '11236341230830792964'}, 'enable': 'true', 'created': '2026-01-30T09:50:25', 'last-modified': '2026-01-30T09:50:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.461650'}
2026-01-30 09:50:28,091 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 09:50:28,091 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39944228 passed
2026-01-30 09:50:28,092 - DEBUG - ====Verifying policy data for ctest-vn-39944228 in API_Server ======
2026-01-30 09:50:28,092 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-30 09:50:28,098 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec
2026-01-30 09:50:28,110 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2
2026-01-30 09:50:28,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104
2026-01-30 09:50:28,195 - DEBUG - ==>Verifying data for policy with id: f8ce269c-b92c-4c74-ac99-814e15ec937f, fqn: ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-policy-allow-all-44030417']
2026-01-30 09:50:28,195 - INFO - VN ctest-vn-39944228 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 09:50:28,195 - DEBUG - Verifying the vn in opserver
2026-01-30 09:50:28,195 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228 virtual network link through opserver 10.0.0.38
2026-01-30 09:50:28,195 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-30 09:50:28,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228?flat'}
2026-01-30 09:50:28,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228 is found in opserver
2026-01-30 09:50:28,216 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 09:50:28,223 - DEBUG - VRF ids for VN ctest-vn-39944228: {}
2026-01-30 09:50:28,282 - DEBUG - Services list from nova: [