2026-09-09 15:25:07,964 - INFO - Domain Default found not creating
2026-09-09 15:25:08,122 - INFO - Project ctest-TestBasicPolicy-43244514 not found, creating it
2026-09-09 15:25:08,619 - INFO - Created Project:ctest-TestBasicPolicy-43244514, ID : 93e4aa5b-941c-4834-b18e-d31c8186c4d6
2026-09-09 15:25:10,211 - INFO - ================================================================================
2026-09-09 15:25:10,211 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-09 15:25:10,211 - 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 15:25:10,470 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with
2026-09-09 15:25:10,470 - INFO - Initial checks done. Running the testcase now
2026-09-09 15:25:10,470 - INFO -
2026-09-09 15:25:11,104 - DEBUG - Response for create_network : {'network': {'id': '4745c708-19a7-4912-8efb-7ede0fcd12d6', 'name': 'ctest-vn-31113203', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-vn-31113203'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 15:25:11,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '0850882e-31ef-4f7a-ad03-3a810d2c6c6e', 'name': '', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'network_id': '4745c708-19a7-4912-8efb-7ede0fcd12d6', 'ip_version': 4, 'cidr': '56.131.57.192/26', 'allocation_pools': [{'start': '56.131.57.194', 'end': '56.131.57.254'}], 'gateway_ip': '56.131.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.131.57.194', 'tags': [], 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6'}}
2026-09-09 15:25:11,341 - INFO - Created VN ctest-vn-31113203
2026-09-09 15:25:11,394 - DEBUG - VN ctest-vn-31113203 UUID is 4745c708-19a7-4912-8efb-7ede0fcd12d6
2026-09-09 15:25:11,774 - DEBUG - Response for create_network : {'network': {'id': 'a3378254-58b6-43a9-915a-25f080e2db3f', 'name': 'ctest-vn-15595604', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-vn-15595604'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 15:25:11,963 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dedde9e1-a61e-43c5-8bb0-2e032c0573ee', 'name': '', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'network_id': 'a3378254-58b6-43a9-915a-25f080e2db3f', 'ip_version': 4, 'cidr': '117.253.134.64/26', 'allocation_pools': [{'start': '117.253.134.66', 'end': '117.253.134.126'}], 'gateway_ip': '117.253.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.253.134.66', 'tags': [], 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6'}}
2026-09-09 15:25:11,980 - INFO - Created VN ctest-vn-15595604
2026-09-09 15:25:12,034 - DEBUG - VN ctest-vn-15595604 UUID is a3378254-58b6-43a9-915a-25f080e2db3f
2026-09-09 15:25:12,182 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203, 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-43244514:ctest-vn-15595604, 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 15:25:12,497 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4745c708-19a7-4912-8efb-7ede0fcd12d6', 'name': 'ctest-vn-31113203', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0850882e-31ef-4f7a-ad03-3a810d2c6c6e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-vn-31113203'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-policy-allow-all-53646435']], 'subnet_ipam': [{'subnet_cidr': '56.131.57.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 15:25:12,753 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a3378254-58b6-43a9-915a-25f080e2db3f', 'name': 'ctest-vn-15595604', 'tenant_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'project_id': '93e4aa5b941c4834b18ed31c8186c4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['dedde9e1-a61e-43c5-8bb0-2e032c0573ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-vn-15595604'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-policy-allow-all-53646435']], 'subnet_ipam': [{'subnet_cidr': '117.253.134.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 15:25:12,918 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-09 15:25:13,239 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-09 15:25:13,266 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01
2026-09-09 15:25:13,278 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6
2026-09-09 15:25:13,355 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6
2026-09-09 15:25:13,367 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6
2026-09-09 15:25:13,378 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f
2026-09-09 15:25:13,388 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f
2026-09-09 15:25:13,398 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/e637f0ac-e185-4288-8935-052d9dcf5f0c
2026-09-09 15:25:13,407 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 15:25:13,407 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6
2026-09-09 15:25:13,419 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f
2026-09-09 15:25:13,435 - INFO - Verified VN network id 12 for VN 4745c708-19a7-4912-8efb-7ede0fcd12d6
2026-09-09 15:25:13,436 - INFO - Verifications in API Server for VN ctest-vn-31113203 passed
2026-09-09 15:25:13,436 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6
2026-09-09 15:25:13,445 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f
2026-09-09 15:25:13,453 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/bbb772fd-2624-408d-8bf7-154d6c025f2f
2026-09-09 15:25:13,461 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/e637f0ac-e185-4288-8935-052d9dcf5f0c
2026-09-09 15:25:13,475 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43244514', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5135729787689978130', 'uuid-lslong': '10302968064753078998'}, 'enable': 'true', 'created': '2026-09-09T15:25:11', 'last-modified': '2026-09-09T15:25:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000311'}
2026-09-09 15:25:13,483 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 15:25:13,483 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31113203 passed
2026-09-09 15:25:13,483 - DEBUG - ====Verifying policy data for ctest-vn-31113203 in API_Server ======
2026-09-09 15:25:13,483 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-09 15:25:13,489 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01
2026-09-09 15:25:13,500 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6
2026-09-09 15:25:13,587 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/4745c708-19a7-4912-8efb-7ede0fcd12d6
2026-09-09 15:25:13,597 - DEBUG - ==>Verifying data for policy with id: 7416d0ba-836c-426f-be0f-89019a1ce1ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-policy-allow-all-53646435']
2026-09-09 15:25:13,597 - INFO - VN ctest-vn-31113203 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 15:25:13,597 - DEBUG - Verifying the vn in opserver
2026-09-09 15:25:13,597 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203 virtual network link through opserver 10.0.0.185
2026-09-09 15:25:13,597 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-09-09 15:25:13,915 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-09-09 15:25:13,965 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203?flat'}
2026-09-09 15:25:13,965 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-31113203 is found in opserver
2026-09-09 15:25:13,976 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 15:25:13,982 - DEBUG - VRF ids for VN ctest-vn-31113203: {}
2026-09-09 15:25:13,982 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-09 15:25:13,988 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01
2026-09-09 15:25:14,000 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6
2026-09-09 15:25:14,080 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f
2026-09-09 15:25:14,091 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f
2026-09-09 15:25:14,101 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02
2026-09-09 15:25:14,108 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02
2026-09-09 15:25:14,114 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/4dbbc0ee-8473-4693-a619-3b44f7f9a980
2026-09-09 15:25:14,121 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 15:25:14,121 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f
2026-09-09 15:25:14,130 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02
2026-09-09 15:25:14,145 - INFO - Verified VN network id 13 for VN a3378254-58b6-43a9-915a-25f080e2db3f
2026-09-09 15:25:14,145 - INFO - Verifications in API Server for VN ctest-vn-15595604 passed
2026-09-09 15:25:14,145 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f
2026-09-09 15:25:14,154 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02
2026-09-09 15:25:14,160 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/cc9ca37a-9bdf-4782-b970-cce0ac041b02
2026-09-09 15:25:14,166 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/4dbbc0ee-8473-4693-a619-3b44f7f9a980
2026-09-09 15:25:14,179 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43244514', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11761012250678543273', 'uuid-lslong': '10473725598288239423'}, 'enable': 'true', 'created': '2026-09-09T15:25:11', 'last-modified': '2026-09-09T15:25:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455802'}
2026-09-09 15:25:14,187 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 15:25:14,187 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15595604 passed
2026-09-09 15:25:14,187 - DEBUG - ====Verifying policy data for ctest-vn-15595604 in API_Server ======
2026-09-09 15:25:14,187 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-09 15:25:14,193 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8976d84-25ad-4b4f-947b-cb8048bfcd01
2026-09-09 15:25:14,206 - DEBUG - Requesting: http://10.0.0.185:8082/project/93e4aa5b-941c-4834-b18e-d31c8186c4d6
2026-09-09 15:25:14,282 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a3378254-58b6-43a9-915a-25f080e2db3f
2026-09-09 15:25:14,291 - DEBUG - ==>Verifying data for policy with id: 7416d0ba-836c-426f-be0f-89019a1ce1ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-43244514', 'ctest-policy-allow-all-53646435']
2026-09-09 15:25:14,291 - INFO - VN ctest-vn-15595604 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 15:25:14,291 - DEBUG - Verifying the vn in opserver
2026-09-09 15:25:14,291 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604 virtual network link through opserver 10.0.0.185
2026-09-09 15:25:14,291 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-09-09 15:25:14,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604?flat'}
2026-09-09 15:25:14,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43244514:ctest-vn-15595604 is found in opserver
2026-09-09 15:25:14,311 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 15:25:14,316 - DEBUG - VRF ids for VN ctest-vn-15595604: {}
2026-09-09 15:25:14,379 - DEBUG - Services list from nova: [