2026-02-09 02:06:13,442 - INFO - Domain Default found not creating
2026-02-09 02:06:13,632 - INFO - Project ctest-TestBasicPolicy-00555882 not found, creating it
2026-02-09 02:06:14,094 - INFO - Created Project:ctest-TestBasicPolicy-00555882, ID : cdc76aa9-5105-43c0-adf6-e733d083bfde
2026-02-09 02:06:15,715 - INFO - ================================================================================
2026-02-09 02:06:15,715 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-09 02:06:15,715 - 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-02-09 02:06:15,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with
2026-02-09 02:06:15,971 - INFO - Initial checks done. Running the testcase now
2026-02-09 02:06:15,972 - INFO -
2026-02-09 02:06:16,604 - DEBUG - Response for create_network : {'network': {'id': 'c503b9ef-5c9d-4087-92d1-0596e1d50c77', 'name': 'ctest-vn-79752046', 'tenant_id': 'cdc76aa9510543c0adf6e733d083bfde', 'project_id': 'cdc76aa9510543c0adf6e733d083bfde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00555882', 'ctest-vn-79752046'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 02:06:16,756 - DEBUG - Response for create_subnet : {'subnet': {'id': '2768edc5-7460-4e02-a5e2-ab0f3fdc2fdd', 'name': '', 'tenant_id': 'cdc76aa9510543c0adf6e733d083bfde', 'network_id': 'c503b9ef-5c9d-4087-92d1-0596e1d50c77', 'ip_version': 4, 'cidr': '72.135.137.64/26', 'allocation_pools': [{'start': '72.135.137.66', 'end': '72.135.137.126'}], 'gateway_ip': '72.135.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.135.137.66', 'tags': [], 'project_id': 'cdc76aa9510543c0adf6e733d083bfde'}}
2026-02-09 02:06:16,774 - INFO - Created VN ctest-vn-79752046
2026-02-09 02:06:16,825 - DEBUG - VN ctest-vn-79752046 UUID is c503b9ef-5c9d-4087-92d1-0596e1d50c77
2026-02-09 02:06:17,120 - DEBUG - Response for create_network : {'network': {'id': '2d5c7631-ad9e-477c-98e0-bdb2816d615e', 'name': 'ctest-vn-05368588', 'tenant_id': 'cdc76aa9510543c0adf6e733d083bfde', 'project_id': 'cdc76aa9510543c0adf6e733d083bfde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00555882', 'ctest-vn-05368588'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 02:06:17,330 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edaae554-f472-42d8-8638-a6ae35663fa1', 'name': '', 'tenant_id': 'cdc76aa9510543c0adf6e733d083bfde', 'network_id': '2d5c7631-ad9e-477c-98e0-bdb2816d615e', 'ip_version': 4, 'cidr': '126.132.179.0/26', 'allocation_pools': [{'start': '126.132.179.2', 'end': '126.132.179.62'}], 'gateway_ip': '126.132.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.132.179.2', 'tags': [], 'project_id': 'cdc76aa9510543c0adf6e733d083bfde'}}
2026-02-09 02:06:17,348 - INFO - Created VN ctest-vn-05368588
2026-02-09 02:06:17,401 - DEBUG - VN ctest-vn-05368588 UUID is 2d5c7631-ad9e-477c-98e0-bdb2816d615e
2026-02-09 02:06:17,516 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-79752046, 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-00555882:ctest-vn-05368588, 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-02-09 02:06:17,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c503b9ef-5c9d-4087-92d1-0596e1d50c77', 'name': 'ctest-vn-79752046', 'tenant_id': 'cdc76aa9510543c0adf6e733d083bfde', 'project_id': 'cdc76aa9510543c0adf6e733d083bfde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2768edc5-7460-4e02-a5e2-ab0f3fdc2fdd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00555882', 'ctest-vn-79752046'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00555882', 'ctest-policy-allow-all-37271381']], 'subnet_ipam': [{'subnet_cidr': '72.135.137.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-09 02:06:18,100 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d5c7631-ad9e-477c-98e0-bdb2816d615e', 'name': 'ctest-vn-05368588', 'tenant_id': 'cdc76aa9510543c0adf6e733d083bfde', 'project_id': 'cdc76aa9510543c0adf6e733d083bfde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['edaae554-f472-42d8-8638-a6ae35663fa1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00555882', 'ctest-vn-05368588'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00555882', 'ctest-policy-allow-all-37271381']], 'subnet_ipam': [{'subnet_cidr': '126.132.179.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-09 02:06:18,245 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-09 02:06:18,591 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-09 02:06:18,628 - DEBUG - Requesting: http://10.0.0.141:8082/domain/5c908eb1-ca90-4dd8-8556-6bf44625a257
2026-02-09 02:06:18,642 - DEBUG - Requesting: http://10.0.0.141:8082/project/cdc76aa9-5105-43c0-adf6-e733d083bfde
2026-02-09 02:06:18,723 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c503b9ef-5c9d-4087-92d1-0596e1d50c77
2026-02-09 02:06:18,733 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c503b9ef-5c9d-4087-92d1-0596e1d50c77
2026-02-09 02:06:18,743 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5f14fedd-03c5-466f-931a-19ec11de1388
2026-02-09 02:06:18,750 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5f14fedd-03c5-466f-931a-19ec11de1388
2026-02-09 02:06:18,757 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fb6ac65f-2cd3-443a-89ff-7fec8ab15dbd
2026-02-09 02:06:18,764 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 02:06:18,764 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c503b9ef-5c9d-4087-92d1-0596e1d50c77
2026-02-09 02:06:18,776 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5f14fedd-03c5-466f-931a-19ec11de1388
2026-02-09 02:06:18,794 - INFO - Verified VN network id 9 for VN c503b9ef-5c9d-4087-92d1-0596e1d50c77
2026-02-09 02:06:18,794 - INFO - Verifications in API Server for VN ctest-vn-79752046 passed
2026-02-09 02:06:18,794 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c503b9ef-5c9d-4087-92d1-0596e1d50c77
2026-02-09 02:06:18,805 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5f14fedd-03c5-466f-931a-19ec11de1388
2026-02-09 02:06:18,813 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5f14fedd-03c5-466f-931a-19ec11de1388
2026-02-09 02:06:18,823 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fb6ac65f-2cd3-443a-89ff-7fec8ab15dbd
2026-02-09 02:06:18,836 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-79752046', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00555882', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14196394888104067207', 'uuid-lslong': '10579243145262074999'}, 'enable': 'true', 'created': '2026-02-09T02:06:16', 'last-modified': '2026-02-09T02:06:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.052095'}
2026-02-09 02:06:18,842 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 02:06:18,842 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79752046 passed
2026-02-09 02:06:18,842 - DEBUG - ====Verifying policy data for ctest-vn-79752046 in API_Server ======
2026-02-09 02:06:18,842 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-09 02:06:18,848 - DEBUG - Requesting: http://10.0.0.141:8082/domain/5c908eb1-ca90-4dd8-8556-6bf44625a257
2026-02-09 02:06:18,859 - DEBUG - Requesting: http://10.0.0.141:8082/project/cdc76aa9-5105-43c0-adf6-e733d083bfde
2026-02-09 02:06:18,933 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c503b9ef-5c9d-4087-92d1-0596e1d50c77
2026-02-09 02:06:18,943 - DEBUG - ==>Verifying data for policy with id: b4c6cff1-00ee-417b-b46d-0eec7a6f6e9d, fqn: ['default-domain', 'ctest-TestBasicPolicy-00555882', 'ctest-policy-allow-all-37271381']
2026-02-09 02:06:18,943 - INFO - VN ctest-vn-79752046 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 02:06:18,943 - DEBUG - Verifying the vn in opserver
2026-02-09 02:06:18,943 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-79752046 virtual network link through opserver 10.0.0.141
2026-02-09 02:06:18,943 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-09 02:06:19,278 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-09 02:06:19,344 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-79752046', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-79752046?flat'}
2026-02-09 02:06:19,344 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-79752046 is found in opserver
2026-02-09 02:06:19,355 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 02:06:19,360 - DEBUG - VRF ids for VN ctest-vn-79752046: {}
2026-02-09 02:06:19,360 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-09 02:06:19,366 - DEBUG - Requesting: http://10.0.0.141:8082/domain/5c908eb1-ca90-4dd8-8556-6bf44625a257
2026-02-09 02:06:19,377 - DEBUG - Requesting: http://10.0.0.141:8082/project/cdc76aa9-5105-43c0-adf6-e733d083bfde
2026-02-09 02:06:19,453 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d5c7631-ad9e-477c-98e0-bdb2816d615e
2026-02-09 02:06:19,466 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d5c7631-ad9e-477c-98e0-bdb2816d615e
2026-02-09 02:06:19,478 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b6dd622-2933-45dd-b653-06f86858b017
2026-02-09 02:06:19,486 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b6dd622-2933-45dd-b653-06f86858b017
2026-02-09 02:06:19,494 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2314a48d-b96c-4a10-b94a-176651c383b0
2026-02-09 02:06:19,501 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 02:06:19,501 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d5c7631-ad9e-477c-98e0-bdb2816d615e
2026-02-09 02:06:19,510 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b6dd622-2933-45dd-b653-06f86858b017
2026-02-09 02:06:19,525 - INFO - Verified VN network id 10 for VN 2d5c7631-ad9e-477c-98e0-bdb2816d615e
2026-02-09 02:06:19,525 - INFO - Verifications in API Server for VN ctest-vn-05368588 passed
2026-02-09 02:06:19,525 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d5c7631-ad9e-477c-98e0-bdb2816d615e
2026-02-09 02:06:19,536 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b6dd622-2933-45dd-b653-06f86858b017
2026-02-09 02:06:19,544 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b6dd622-2933-45dd-b653-06f86858b017
2026-02-09 02:06:19,552 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2314a48d-b96c-4a10-b94a-176651c383b0
2026-02-09 02:06:19,565 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-05368588', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00555882', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3268617385302443900', 'uuid-lslong': '11016013262921490782'}, 'enable': 'true', 'created': '2026-02-09T02:06:17', 'last-modified': '2026-02-09T02:06:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.535296'}
2026-02-09 02:06:19,571 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 02:06:19,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05368588 passed
2026-02-09 02:06:19,571 - DEBUG - ====Verifying policy data for ctest-vn-05368588 in API_Server ======
2026-02-09 02:06:19,571 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-09 02:06:19,576 - DEBUG - Requesting: http://10.0.0.141:8082/domain/5c908eb1-ca90-4dd8-8556-6bf44625a257
2026-02-09 02:06:19,586 - DEBUG - Requesting: http://10.0.0.141:8082/project/cdc76aa9-5105-43c0-adf6-e733d083bfde
2026-02-09 02:06:19,655 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2d5c7631-ad9e-477c-98e0-bdb2816d615e
2026-02-09 02:06:19,665 - DEBUG - ==>Verifying data for policy with id: b4c6cff1-00ee-417b-b46d-0eec7a6f6e9d, fqn: ['default-domain', 'ctest-TestBasicPolicy-00555882', 'ctest-policy-allow-all-37271381']
2026-02-09 02:06:19,665 - INFO - VN ctest-vn-05368588 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 02:06:19,665 - DEBUG - Verifying the vn in opserver
2026-02-09 02:06:19,665 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-05368588 virtual network link through opserver 10.0.0.141
2026-02-09 02:06:19,665 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-09 02:06:19,675 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-05368588', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-05368588?flat'}
2026-02-09 02:06:19,675 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00555882:ctest-vn-05368588 is found in opserver
2026-02-09 02:06:19,685 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 02:06:19,689 - DEBUG - VRF ids for VN ctest-vn-05368588: {}
2026-02-09 02:06:19,748 - DEBUG - Services list from nova: [