2026-10-05 19:00:53,026 - INFO - Domain Default found not creating
2026-10-05 19:00:53,178 - INFO - Project ctest-TestBasicPolicy-63910942 not found, creating it
2026-10-05 19:00:53,653 - INFO - Created Project:ctest-TestBasicPolicy-63910942, ID : 7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf
2026-10-05 19:00:55,303 - INFO - ================================================================================
2026-10-05 19:00:55,303 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-05 19:00:55,303 - 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-10-05 19:00:55,562 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-10-05 19:00:55,563 - INFO - Initial checks done. Running the testcase now
2026-10-05 19:00:55,563 - INFO -
2026-10-05 19:00:56,196 - DEBUG - Response for create_network : {'network': {'id': 'bcc10040-5370-4176-87c7-fbc150137791', 'name': 'ctest-vn-46456669', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-vn-46456669'], 'port_security_enabled': True, 'description': ''}}
2026-10-05 19:00:56,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cddca33-5906-4a17-8799-6f268f300469', 'name': '', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'network_id': 'bcc10040-5370-4176-87c7-fbc150137791', 'ip_version': 4, 'cidr': '23.177.86.0/26', 'allocation_pools': [{'start': '23.177.86.2', 'end': '23.177.86.62'}], 'gateway_ip': '23.177.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.177.86.2', 'tags': [], 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf'}}
2026-10-05 19:00:56,381 - INFO - Created VN ctest-vn-46456669
2026-10-05 19:00:56,433 - DEBUG - VN ctest-vn-46456669 UUID is bcc10040-5370-4176-87c7-fbc150137791
2026-10-05 19:00:56,726 - DEBUG - Response for create_network : {'network': {'id': '211f3346-7061-47a7-8d7f-dfdbd9b1ec1e', 'name': 'ctest-vn-55781686', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-vn-55781686'], 'port_security_enabled': True, 'description': ''}}
2026-10-05 19:00:56,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ca6502d-e7cf-4136-8546-896f1448839e', 'name': '', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'network_id': '211f3346-7061-47a7-8d7f-dfdbd9b1ec1e', 'ip_version': 4, 'cidr': '197.144.184.128/26', 'allocation_pools': [{'start': '197.144.184.130', 'end': '197.144.184.190'}], 'gateway_ip': '197.144.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.144.184.130', 'tags': [], 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf'}}
2026-10-05 19:00:56,926 - INFO - Created VN ctest-vn-55781686
2026-10-05 19:00:56,981 - DEBUG - VN ctest-vn-55781686 UUID is 211f3346-7061-47a7-8d7f-dfdbd9b1ec1e
2026-10-05 19:00:57,133 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669, 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-63910942:ctest-vn-55781686, 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-10-05 19:00:57,612 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bcc10040-5370-4176-87c7-fbc150137791', 'name': 'ctest-vn-46456669', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1cddca33-5906-4a17-8799-6f268f300469'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-vn-46456669'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-policy-allow-all-30403679']], 'subnet_ipam': [{'subnet_cidr': '23.177.86.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-05 19:00:57,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '211f3346-7061-47a7-8d7f-dfdbd9b1ec1e', 'name': 'ctest-vn-55781686', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3ca6502d-e7cf-4136-8546-896f1448839e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-vn-55781686'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-policy-allow-all-30403679']], 'subnet_ipam': [{'subnet_cidr': '197.144.184.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-05 19:00:57,965 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 19:00:58,342 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 19:00:58,371 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56
2026-10-05 19:00:58,383 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf
2026-10-05 19:00:58,463 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791
2026-10-05 19:00:58,476 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791
2026-10-05 19:00:58,484 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa
2026-10-05 19:00:58,492 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa
2026-10-05 19:00:58,499 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b52eb65f-23fd-47b1-a753-47c25e6dbccd
2026-10-05 19:00:58,505 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-05 19:00:58,505 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791
2026-10-05 19:00:58,515 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa
2026-10-05 19:00:58,528 - INFO - Verified VN network id 12 for VN bcc10040-5370-4176-87c7-fbc150137791
2026-10-05 19:00:58,528 - INFO - Verifications in API Server for VN ctest-vn-46456669 passed
2026-10-05 19:00:58,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791
2026-10-05 19:00:58,542 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa
2026-10-05 19:00:58,548 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa
2026-10-05 19:00:58,555 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b52eb65f-23fd-47b1-a753-47c25e6dbccd
2026-10-05 19:00:58,566 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63910942', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13601152625913381238', 'uuid-lslong': '9784065523176404881'}, 'enable': 'true', 'created': '2026-10-05T19:00:56', 'last-modified': '2026-10-05T19:00:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000583'}
2026-10-05 19:00:58,572 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-05 19:00:58,572 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46456669 passed
2026-10-05 19:00:58,572 - DEBUG - ====Verifying policy data for ctest-vn-46456669 in API_Server ======
2026-10-05 19:00:58,573 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 19:00:58,578 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56
2026-10-05 19:00:58,592 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf
2026-10-05 19:00:58,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791
2026-10-05 19:00:58,679 - DEBUG - ==>Verifying data for policy with id: 6d676dde-4f2d-47d3-abc0-fc2e251678f2, fqn: ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-policy-allow-all-30403679']
2026-10-05 19:00:58,679 - INFO - VN ctest-vn-46456669 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-05 19:00:58,679 - DEBUG - Verifying the vn in opserver
2026-10-05 19:00:58,679 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669 virtual network link through opserver 10.0.0.50
2026-10-05 19:00:58,680 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-05 19:00:59,063 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-05 19:00:59,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669?flat'}
2026-10-05 19:00:59,119 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669 is found in opserver
2026-10-05 19:00:59,129 - DEBUG - Do not have enough data to verify VN in agent
2026-10-05 19:00:59,134 - DEBUG - VRF ids for VN ctest-vn-46456669: {}
2026-10-05 19:00:59,134 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 19:00:59,139 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56
2026-10-05 19:00:59,149 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf
2026-10-05 19:00:59,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e
2026-10-05 19:00:59,237 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e
2026-10-05 19:00:59,246 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2
2026-10-05 19:00:59,254 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2
2026-10-05 19:00:59,259 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c83e9051-ab99-4d2b-90d3-d4b8ac15876d
2026-10-05 19:00:59,264 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-05 19:00:59,264 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e
2026-10-05 19:00:59,272 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2
2026-10-05 19:00:59,283 - INFO - Verified VN network id 13 for VN 211f3346-7061-47a7-8d7f-dfdbd9b1ec1e
2026-10-05 19:00:59,283 - INFO - Verifications in API Server for VN ctest-vn-55781686 passed
2026-10-05 19:00:59,283 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e
2026-10-05 19:00:59,291 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2
2026-10-05 19:00:59,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2
2026-10-05 19:00:59,302 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c83e9051-ab99-4d2b-90d3-d4b8ac15876d
2026-10-05 19:00:59,313 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63910942', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2386682705155803047', 'uuid-lslong': '10196114216733240350'}, 'enable': 'true', 'created': '2026-10-05T19:00:56', 'last-modified': '2026-10-05T19:00:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495085'}
2026-10-05 19:00:59,319 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-05 19:00:59,319 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55781686 passed
2026-10-05 19:00:59,319 - DEBUG - ====Verifying policy data for ctest-vn-55781686 in API_Server ======
2026-10-05 19:00:59,319 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 19:00:59,323 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56
2026-10-05 19:00:59,333 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf
2026-10-05 19:00:59,407 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e
2026-10-05 19:00:59,415 - DEBUG - ==>Verifying data for policy with id: 6d676dde-4f2d-47d3-abc0-fc2e251678f2, fqn: ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-policy-allow-all-30403679']
2026-10-05 19:00:59,415 - INFO - VN ctest-vn-55781686 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-05 19:00:59,415 - DEBUG - Verifying the vn in opserver
2026-10-05 19:00:59,415 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686 virtual network link through opserver 10.0.0.50
2026-10-05 19:00:59,416 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-05 19:00:59,424 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686?flat'}
2026-10-05 19:00:59,424 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686 is found in opserver
2026-10-05 19:00:59,437 - DEBUG - Do not have enough data to verify VN in agent
2026-10-05 19:00:59,443 - DEBUG - VRF ids for VN ctest-vn-55781686: {}
2026-10-05 19:00:59,494 - DEBUG - Services list from nova: [