2026-06-22 01:48:40,480 - INFO - Reading existing Domain with UUID 3d18adb4-0133-48c0-977a-27957b969067
2026-06-22 01:48:40,490 - INFO - Using existing domain ['admin_domain'](3d18adb4-0133-48c0-977a-27957b969067)
2026-06-22 01:48:40,697 - INFO - Project ctest-TestBasicPolicy-21314400 not found, creating it
2026-06-22 01:48:41,248 - INFO - Created Project:ctest-TestBasicPolicy-21314400, ID : b9210dde-c31f-4ed5-a880-4eda48388425
2026-06-22 01:48:42,982 - INFO - ================================================================================
2026-06-22 01:48:42,982 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-22 01:48:42,982 - 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-06-22 01:48:43,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with
2026-06-22 01:48:43,362 - INFO - Initial checks done. Running the testcase now
2026-06-22 01:48:43,362 - INFO -
2026-06-22 01:48:44,100 - DEBUG - Response for create_network : {'network': {'id': '6badfd5d-610d-45e1-8ce4-218569daa6ec', 'name': 'ctest-vn-73153682', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'project_id': 'b9210ddec31f4ed5a8804eda48388425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-vn-73153682'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-06-22 01:48:44,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f05a9ff-5f22-465f-8e92-08e019db75f9', 'name': '', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'network_id': '6badfd5d-610d-45e1-8ce4-218569daa6ec', 'ip_version': 4, 'cidr': '25.160.156.64/26', 'allocation_pools': [{'start': '25.160.156.66', 'end': '25.160.156.126'}], 'gateway_ip': '25.160.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-22T01:48:44.230667', 'updated_at': '2026-06-22T01:48:44.230667', 'dns_server_address': '25.160.156.66', 'tags': [], 'project_id': 'b9210ddec31f4ed5a8804eda48388425'}}
2026-06-22 01:48:44,383 - INFO - Created VN ctest-vn-73153682
2026-06-22 01:48:44,437 - DEBUG - VN ctest-vn-73153682 UUID is 6badfd5d-610d-45e1-8ce4-218569daa6ec
2026-06-22 01:48:44,918 - DEBUG - Response for create_network : {'network': {'id': 'a05588cb-9500-49b6-8835-5d05fa8c3a73', 'name': 'ctest-vn-74373496', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'project_id': 'b9210ddec31f4ed5a8804eda48388425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-vn-74373496'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-06-22 01:48:45,198 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f1b4d7a-786a-4e52-a293-ead0212fb0e9', 'name': '', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'network_id': 'a05588cb-9500-49b6-8835-5d05fa8c3a73', 'ip_version': 4, 'cidr': '94.246.69.128/26', 'allocation_pools': [{'start': '94.246.69.130', 'end': '94.246.69.190'}], 'gateway_ip': '94.246.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-22T01:48:45.091407', 'updated_at': '2026-06-22T01:48:45.091407', 'dns_server_address': '94.246.69.130', 'tags': [], 'project_id': 'b9210ddec31f4ed5a8804eda48388425'}}
2026-06-22 01:48:45,263 - INFO - Created VN ctest-vn-74373496
2026-06-22 01:48:45,317 - DEBUG - VN ctest-vn-74373496 UUID is a05588cb-9500-49b6-8835-5d05fa8c3a73
2026-06-22 01:48:45,529 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496, 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-06-22 01:48:45,937 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6badfd5d-610d-45e1-8ce4-218569daa6ec', 'name': 'ctest-vn-73153682', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'project_id': 'b9210ddec31f4ed5a8804eda48388425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f05a9ff-5f22-465f-8e92-08e019db75f9'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-vn-73153682'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-policy-allow-all-42084192']], 'subnet_ipam': [{'subnet_cidr': '25.160.156.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-22T01:48:44.025345', 'updated_at': '2026-06-22T01:48:44.242628'}}
2026-06-22 01:48:46,281 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a05588cb-9500-49b6-8835-5d05fa8c3a73', 'name': 'ctest-vn-74373496', 'tenant_id': 'b9210ddec31f4ed5a8804eda48388425', 'project_id': 'b9210ddec31f4ed5a8804eda48388425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f1b4d7a-786a-4e52-a293-ead0212fb0e9'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-vn-74373496'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-policy-allow-all-42084192']], 'subnet_ipam': [{'subnet_cidr': '94.246.69.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-22T01:48:44.844669', 'updated_at': '2026-06-22T01:48:45.106145'}}
2026-06-22 01:48:46,461 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-22 01:48:46,804 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-22 01:48:46,901 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067
2026-06-22 01:48:46,958 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425
2026-06-22 01:48:47,034 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec
2026-06-22 01:48:47,095 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec
2026-06-22 01:48:47,151 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd
2026-06-22 01:48:47,206 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd
2026-06-22 01:48:47,258 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/21abacc0-263a-4a59-942e-c53b1d20b538
2026-06-22 01:48:47,314 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-22 01:48:47,314 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec
2026-06-22 01:48:47,367 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd
2026-06-22 01:48:47,431 - INFO - Verified VN network id 9 for VN 6badfd5d-610d-45e1-8ce4-218569daa6ec
2026-06-22 01:48:47,431 - INFO - Verifications in API Server for VN ctest-vn-73153682 passed
2026-06-22 01:48:47,431 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec
2026-06-22 01:48:47,487 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd
2026-06-22 01:48:47,538 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/c4424826-5807-4f7d-b317-19f5d2e851fd
2026-06-22 01:48:47,590 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/21abacc0-263a-4a59-942e-c53b1d20b538
2026-06-22 01:48:47,694 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21314400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7759136310531278305', 'uuid-lslong': '10152276316890244844'}, 'enable': 'true', 'created': '2026-06-22T01:48:44', 'last-modified': '2026-06-22T01:48:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.788348'}
2026-06-22 01:48:47,743 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-22 01:48:47,743 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73153682 passed
2026-06-22 01:48:47,743 - DEBUG - ====Verifying policy data for ctest-vn-73153682 in API_Server ======
2026-06-22 01:48:47,743 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-22 01:48:47,793 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067
2026-06-22 01:48:47,854 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425
2026-06-22 01:48:47,934 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/6badfd5d-610d-45e1-8ce4-218569daa6ec
2026-06-22 01:48:47,991 - DEBUG - ==>Verifying data for policy with id: e1c8ec3c-78a7-42bb-8b3f-a8d3c6222068, fqn: ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-policy-allow-all-42084192']
2026-06-22 01:48:47,991 - INFO - VN ctest-vn-73153682 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-22 01:48:47,991 - DEBUG - Verifying the vn in opserver
2026-06-22 01:48:47,991 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682 virtual network link through opserver 10.0.0.129
2026-06-22 01:48:47,991 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-06-22 01:48:48,335 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-06-22 01:48:48,445 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682?flat'}
2026-06-22 01:48:48,445 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-73153682 is found in opserver
2026-06-22 01:48:48,542 - DEBUG - Do not have enough data to verify VN in agent
2026-06-22 01:48:48,589 - DEBUG - VRF ids for VN ctest-vn-73153682: {}
2026-06-22 01:48:48,589 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-22 01:48:48,641 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067
2026-06-22 01:48:48,698 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425
2026-06-22 01:48:48,774 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73
2026-06-22 01:48:48,830 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73
2026-06-22 01:48:48,887 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad
2026-06-22 01:48:48,942 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad
2026-06-22 01:48:48,994 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/ef87b0b8-7302-4ee3-a1c2-b48bb53f811c
2026-06-22 01:48:49,046 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-22 01:48:49,046 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73
2026-06-22 01:48:49,103 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad
2026-06-22 01:48:49,168 - INFO - Verified VN network id 10 for VN a05588cb-9500-49b6-8835-5d05fa8c3a73
2026-06-22 01:48:49,168 - INFO - Verifications in API Server for VN ctest-vn-74373496 passed
2026-06-22 01:48:49,168 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73
2026-06-22 01:48:49,224 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad
2026-06-22 01:48:49,278 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/8f9533b9-d8ab-4b59-91f4-d1b3a2b119ad
2026-06-22 01:48:49,330 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/ef87b0b8-7302-4ee3-a1c2-b48bb53f811c
2026-06-22 01:48:49,438 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21314400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11553290827048438198', 'uuid-lslong': '9814853243183577715'}, 'enable': 'true', 'created': '2026-06-22T01:48:44', 'last-modified': '2026-06-22T01:48:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.189287'}
2026-06-22 01:48:49,491 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-22 01:48:49,491 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74373496 passed
2026-06-22 01:48:49,491 - DEBUG - ====Verifying policy data for ctest-vn-74373496 in API_Server ======
2026-06-22 01:48:49,491 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-06-22 01:48:49,545 - DEBUG - Requesting: https://10.0.0.129:8082/domain/3d18adb4-0133-48c0-977a-27957b969067
2026-06-22 01:48:49,606 - DEBUG - Requesting: https://10.0.0.129:8082/project/b9210dde-c31f-4ed5-a880-4eda48388425
2026-06-22 01:48:49,679 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a05588cb-9500-49b6-8835-5d05fa8c3a73
2026-06-22 01:48:49,735 - DEBUG - ==>Verifying data for policy with id: e1c8ec3c-78a7-42bb-8b3f-a8d3c6222068, fqn: ['admin_domain', 'ctest-TestBasicPolicy-21314400', 'ctest-policy-allow-all-42084192']
2026-06-22 01:48:49,735 - INFO - VN ctest-vn-74373496 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-22 01:48:49,735 - DEBUG - Verifying the vn in opserver
2026-06-22 01:48:49,735 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496 virtual network link through opserver 10.0.0.129
2026-06-22 01:48:49,735 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-06-22 01:48:49,789 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496?flat'}
2026-06-22 01:48:49,790 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-21314400:ctest-vn-74373496 is found in opserver
2026-06-22 01:48:49,885 - DEBUG - Do not have enough data to verify VN in agent
2026-06-22 01:48:49,937 - DEBUG - VRF ids for VN ctest-vn-74373496: {}
2026-06-22 01:48:50,002 - DEBUG - Services list from nova: [