2026-08-21 07:50:22,802 - INFO - Domain Default found not creating
2026-08-21 07:50:22,993 - INFO - Project ctest-TestBasicPolicy-00000578 not found, creating it
2026-08-21 07:50:23,541 - INFO - Created Project:ctest-TestBasicPolicy-00000578, ID : e7d67919-229f-4f88-9647-c61b310227cd
2026-08-21 07:50:25,259 - INFO - ================================================================================
2026-08-21 07:50:25,259 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-21 07:50:25,260 - 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-08-21 07:50:25,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-08-21 07:50:25,532 - INFO - Initial checks done. Running the testcase now
2026-08-21 07:50:25,532 - INFO -
2026-08-21 07:50:26,195 - DEBUG - Response for create_network : {'network': {'id': 'fdbdec4e-fffc-40b2-8ebc-c6893231263d', 'name': 'ctest-vn-08806758', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'project_id': 'e7d67919229f4f889647c61b310227cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-vn-08806758'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 07:50:26,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6bac6c2-7443-4a9f-9059-dc23761a818b', 'name': '', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'network_id': 'fdbdec4e-fffc-40b2-8ebc-c6893231263d', 'ip_version': 4, 'cidr': '152.146.104.128/26', 'allocation_pools': [{'start': '152.146.104.130', 'end': '152.146.104.190'}], 'gateway_ip': '152.146.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.146.104.130', 'tags': [], 'project_id': 'e7d67919229f4f889647c61b310227cd'}}
2026-08-21 07:50:26,442 - INFO - Created VN ctest-vn-08806758
2026-08-21 07:50:26,495 - DEBUG - VN ctest-vn-08806758 UUID is fdbdec4e-fffc-40b2-8ebc-c6893231263d
2026-08-21 07:50:26,819 - DEBUG - Response for create_network : {'network': {'id': '7d6d06b7-b967-4e77-9ad1-9c421c6f142c', 'name': 'ctest-vn-05642418', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'project_id': 'e7d67919229f4f889647c61b310227cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-vn-05642418'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 07:50:27,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '681bd6ae-8b3b-4982-814f-b3c9424acbe2', 'name': '', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'network_id': '7d6d06b7-b967-4e77-9ad1-9c421c6f142c', 'ip_version': 4, 'cidr': '194.210.127.0/26', 'allocation_pools': [{'start': '194.210.127.2', 'end': '194.210.127.62'}], 'gateway_ip': '194.210.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.210.127.2', 'tags': [], 'project_id': 'e7d67919229f4f889647c61b310227cd'}}
2026-08-21 07:50:27,110 - INFO - Created VN ctest-vn-05642418
2026-08-21 07:50:27,167 - DEBUG - VN ctest-vn-05642418 UUID is 7d6d06b7-b967-4e77-9ad1-9c421c6f142c
2026-08-21 07:50:27,319 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758, 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-00000578:ctest-vn-05642418, 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-08-21 07:50:27,647 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdbdec4e-fffc-40b2-8ebc-c6893231263d', 'name': 'ctest-vn-08806758', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'project_id': 'e7d67919229f4f889647c61b310227cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f6bac6c2-7443-4a9f-9059-dc23761a818b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-vn-08806758'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-policy-allow-all-06955452']], 'subnet_ipam': [{'subnet_cidr': '152.146.104.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-21 07:50:27,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d6d06b7-b967-4e77-9ad1-9c421c6f142c', 'name': 'ctest-vn-05642418', 'tenant_id': 'e7d67919229f4f889647c61b310227cd', 'project_id': 'e7d67919229f4f889647c61b310227cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['681bd6ae-8b3b-4982-814f-b3c9424acbe2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-vn-05642418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-policy-allow-all-06955452']], 'subnet_ipam': [{'subnet_cidr': '194.210.127.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-21 07:50:28,083 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 07:50:28,454 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 07:50:28,491 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe
2026-08-21 07:50:28,507 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd
2026-08-21 07:50:28,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d
2026-08-21 07:50:28,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d
2026-08-21 07:50:28,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e
2026-08-21 07:50:28,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e
2026-08-21 07:50:28,648 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/14382765-f6dc-4af1-9afa-d00d8165b8c5
2026-08-21 07:50:28,657 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-21 07:50:28,657 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d
2026-08-21 07:50:28,670 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e
2026-08-21 07:50:28,694 - INFO - Verified VN network id 12 for VN fdbdec4e-fffc-40b2-8ebc-c6893231263d
2026-08-21 07:50:28,694 - INFO - Verifications in API Server for VN ctest-vn-08806758 passed
2026-08-21 07:50:28,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d
2026-08-21 07:50:28,712 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e
2026-08-21 07:50:28,725 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c7c605b-0284-433b-8bc0-0bfc4143b25e
2026-08-21 07:50:28,738 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/14382765-f6dc-4af1-9afa-d00d8165b8c5
2026-08-21 07:50:28,758 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00000578', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18284029886240407730', 'uuid-lslong': '10285313941562271293'}, 'enable': 'true', 'created': '2026-08-21T07:50:26', 'last-modified': '2026-08-21T07:50:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.144465'}
2026-08-21 07:50:28,767 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-21 07:50:28,767 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08806758 passed
2026-08-21 07:50:28,767 - DEBUG - ====Verifying policy data for ctest-vn-08806758 in API_Server ======
2026-08-21 07:50:28,767 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 07:50:28,776 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe
2026-08-21 07:50:28,793 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd
2026-08-21 07:50:28,872 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdbdec4e-fffc-40b2-8ebc-c6893231263d
2026-08-21 07:50:28,883 - DEBUG - ==>Verifying data for policy with id: 0eb636b4-2ac2-4628-801f-f563c66e43e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-policy-allow-all-06955452']
2026-08-21 07:50:28,883 - INFO - VN ctest-vn-08806758 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-21 07:50:28,883 - DEBUG - Verifying the vn in opserver
2026-08-21 07:50:28,883 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758 virtual network link through opserver 10.0.0.38
2026-08-21 07:50:28,883 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-21 07:50:29,259 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-21 07:50:29,322 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758?flat'}
2026-08-21 07:50:29,322 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-08806758 is found in opserver
2026-08-21 07:50:29,334 - DEBUG - Do not have enough data to verify VN in agent
2026-08-21 07:50:29,341 - DEBUG - VRF ids for VN ctest-vn-08806758: {}
2026-08-21 07:50:29,341 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 07:50:29,348 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe
2026-08-21 07:50:29,360 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd
2026-08-21 07:50:29,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c
2026-08-21 07:50:29,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c
2026-08-21 07:50:29,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6
2026-08-21 07:50:29,480 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6
2026-08-21 07:50:29,493 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/49eee606-9f86-4790-a2e4-bd1fab7613fa
2026-08-21 07:50:29,502 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-21 07:50:29,502 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c
2026-08-21 07:50:29,514 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6
2026-08-21 07:50:29,537 - INFO - Verified VN network id 13 for VN 7d6d06b7-b967-4e77-9ad1-9c421c6f142c
2026-08-21 07:50:29,537 - INFO - Verifications in API Server for VN ctest-vn-05642418 passed
2026-08-21 07:50:29,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c
2026-08-21 07:50:29,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6
2026-08-21 07:50:29,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7e569fe-11d1-4326-a347-25068f98f0b6
2026-08-21 07:50:29,566 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/49eee606-9f86-4790-a2e4-bd1fab7613fa
2026-08-21 07:50:29,586 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00000578', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9037887413361790583', 'uuid-lslong': '11155869559732245548'}, 'enable': 'true', 'created': '2026-08-21T07:50:26', 'last-modified': '2026-08-21T07:50:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.715931'}
2026-08-21 07:50:29,594 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-21 07:50:29,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05642418 passed
2026-08-21 07:50:29,594 - DEBUG - ====Verifying policy data for ctest-vn-05642418 in API_Server ======
2026-08-21 07:50:29,594 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 07:50:29,601 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d402e1-d2ef-4e3a-b843-c1f3f8e7dbbe
2026-08-21 07:50:29,614 - DEBUG - Requesting: http://10.0.0.38:8082/project/e7d67919-229f-4f88-9647-c61b310227cd
2026-08-21 07:50:29,698 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d6d06b7-b967-4e77-9ad1-9c421c6f142c
2026-08-21 07:50:29,709 - DEBUG - ==>Verifying data for policy with id: 0eb636b4-2ac2-4628-801f-f563c66e43e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-00000578', 'ctest-policy-allow-all-06955452']
2026-08-21 07:50:29,710 - INFO - VN ctest-vn-05642418 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-21 07:50:29,710 - DEBUG - Verifying the vn in opserver
2026-08-21 07:50:29,710 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418 virtual network link through opserver 10.0.0.38
2026-08-21 07:50:29,710 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-21 07:50:29,722 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418?flat'}
2026-08-21 07:50:29,722 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00000578:ctest-vn-05642418 is found in opserver
2026-08-21 07:50:29,734 - DEBUG - Do not have enough data to verify VN in agent
2026-08-21 07:50:29,740 - DEBUG - VRF ids for VN ctest-vn-05642418: {}
2026-08-21 07:50:29,810 - DEBUG - Services list from nova: [