2026-02-10 05:17:08,996 - INFO - Domain Default found not creating
2026-02-10 05:17:09,180 - INFO - Project ctest-TestBasicPolicy-91504516 not found, creating it
2026-02-10 05:17:09,649 - INFO - Created Project:ctest-TestBasicPolicy-91504516, ID : 3659648d-bdc1-4441-804e-778a1fbcdf65
2026-02-10 05:17:11,052 - INFO - ================================================================================
2026-02-10 05:17:11,052 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 05:17:11,052 - 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-10 05:17:11,305 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-10 05:17:11,305 - INFO - Initial checks done. Running the testcase now
2026-02-10 05:17:11,305 - INFO -
2026-02-10 05:17:11,843 - DEBUG - Response for create_network : {'network': {'id': '6dcb136e-507f-4c67-92a2-5f336968c341', 'name': 'ctest-vn-52901988', 'tenant_id': '3659648dbdc14441804e778a1fbcdf65', 'project_id': '3659648dbdc14441804e778a1fbcdf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91504516', 'ctest-vn-52901988'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 05:17:12,014 - DEBUG - Response for create_subnet : {'subnet': {'id': '36308f20-bc39-43aa-a8dc-0de10db00f1f', 'name': '', 'tenant_id': '3659648dbdc14441804e778a1fbcdf65', 'network_id': '6dcb136e-507f-4c67-92a2-5f336968c341', 'ip_version': 4, 'cidr': '71.9.74.0/26', 'allocation_pools': [{'start': '71.9.74.2', 'end': '71.9.74.62'}], 'gateway_ip': '71.9.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.9.74.2', 'tags': [], 'project_id': '3659648dbdc14441804e778a1fbcdf65'}}
2026-02-10 05:17:12,030 - INFO - Created VN ctest-vn-52901988
2026-02-10 05:17:12,081 - DEBUG - VN ctest-vn-52901988 UUID is 6dcb136e-507f-4c67-92a2-5f336968c341
2026-02-10 05:17:12,384 - DEBUG - Response for create_network : {'network': {'id': 'b5d8b403-9e5f-43ce-b297-96012bfba6f2', 'name': 'ctest-vn-10720776', 'tenant_id': '3659648dbdc14441804e778a1fbcdf65', 'project_id': '3659648dbdc14441804e778a1fbcdf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91504516', 'ctest-vn-10720776'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 05:17:12,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c34fec6-f004-4c15-87df-e3cbfc22df51', 'name': '', 'tenant_id': '3659648dbdc14441804e778a1fbcdf65', 'network_id': 'b5d8b403-9e5f-43ce-b297-96012bfba6f2', 'ip_version': 4, 'cidr': '53.123.62.128/26', 'allocation_pools': [{'start': '53.123.62.130', 'end': '53.123.62.190'}], 'gateway_ip': '53.123.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.123.62.130', 'tags': [], 'project_id': '3659648dbdc14441804e778a1fbcdf65'}}
2026-02-10 05:17:12,577 - INFO - Created VN ctest-vn-10720776
2026-02-10 05:17:12,629 - DEBUG - VN ctest-vn-10720776 UUID is b5d8b403-9e5f-43ce-b297-96012bfba6f2
2026-02-10 05:17:12,773 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-52901988, 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-91504516:ctest-vn-10720776, 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-10 05:17:13,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6dcb136e-507f-4c67-92a2-5f336968c341', 'name': 'ctest-vn-52901988', 'tenant_id': '3659648dbdc14441804e778a1fbcdf65', 'project_id': '3659648dbdc14441804e778a1fbcdf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36308f20-bc39-43aa-a8dc-0de10db00f1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91504516', 'ctest-vn-52901988'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91504516', 'ctest-policy-allow-all-35788742']], 'subnet_ipam': [{'subnet_cidr': '71.9.74.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 05:17:13,340 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5d8b403-9e5f-43ce-b297-96012bfba6f2', 'name': 'ctest-vn-10720776', 'tenant_id': '3659648dbdc14441804e778a1fbcdf65', 'project_id': '3659648dbdc14441804e778a1fbcdf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c34fec6-f004-4c15-87df-e3cbfc22df51'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91504516', 'ctest-vn-10720776'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91504516', 'ctest-policy-allow-all-35788742']], 'subnet_ipam': [{'subnet_cidr': '53.123.62.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 05:17:13,473 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 05:17:13,768 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 05:17:13,797 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8239fcf5-b3e6-4964-9d80-c841c7b56c63
2026-02-10 05:17:13,807 - DEBUG - Requesting: http://10.0.0.38:8082/project/3659648d-bdc1-4441-804e-778a1fbcdf65
2026-02-10 05:17:13,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6dcb136e-507f-4c67-92a2-5f336968c341
2026-02-10 05:17:13,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6dcb136e-507f-4c67-92a2-5f336968c341
2026-02-10 05:17:13,889 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18684d73-1305-43b2-ac0d-d40af8c80020
2026-02-10 05:17:13,895 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18684d73-1305-43b2-ac0d-d40af8c80020
2026-02-10 05:17:13,902 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/53fb5a48-583d-43a3-9859-64a2aa31f51f
2026-02-10 05:17:13,907 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 05:17:13,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6dcb136e-507f-4c67-92a2-5f336968c341
2026-02-10 05:17:13,915 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18684d73-1305-43b2-ac0d-d40af8c80020
2026-02-10 05:17:13,927 - INFO - Verified VN network id 11 for VN 6dcb136e-507f-4c67-92a2-5f336968c341
2026-02-10 05:17:13,927 - INFO - Verifications in API Server for VN ctest-vn-52901988 passed
2026-02-10 05:17:13,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6dcb136e-507f-4c67-92a2-5f336968c341
2026-02-10 05:17:13,934 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18684d73-1305-43b2-ac0d-d40af8c80020
2026-02-10 05:17:13,940 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18684d73-1305-43b2-ac0d-d40af8c80020
2026-02-10 05:17:13,945 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/53fb5a48-583d-43a3-9859-64a2aa31f51f
2026-02-10 05:17:13,955 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-52901988', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91504516', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7911438534924258407', 'uuid-lslong': '10566112350181049153'}, 'enable': 'true', 'created': '2026-02-10T05:17:11', 'last-modified': '2026-02-10T05:17:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915129'}
2026-02-10 05:17:13,960 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 05:17:13,960 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52901988 passed
2026-02-10 05:17:13,960 - DEBUG - ====Verifying policy data for ctest-vn-52901988 in API_Server ======
2026-02-10 05:17:13,960 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 05:17:13,964 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8239fcf5-b3e6-4964-9d80-c841c7b56c63
2026-02-10 05:17:13,973 - DEBUG - Requesting: http://10.0.0.38:8082/project/3659648d-bdc1-4441-804e-778a1fbcdf65
2026-02-10 05:17:14,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6dcb136e-507f-4c67-92a2-5f336968c341
2026-02-10 05:17:14,047 - DEBUG - ==>Verifying data for policy with id: ff3a6ab8-ca06-45c2-8515-4c28b762e2a3, fqn: ['default-domain', 'ctest-TestBasicPolicy-91504516', 'ctest-policy-allow-all-35788742']
2026-02-10 05:17:14,047 - INFO - VN ctest-vn-52901988 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 05:17:14,047 - DEBUG - Verifying the vn in opserver
2026-02-10 05:17:14,047 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-52901988 virtual network link through opserver 10.0.0.38
2026-02-10 05:17:14,047 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 05:17:14,336 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 05:17:14,389 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-52901988', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-52901988?flat'}
2026-02-10 05:17:14,389 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-52901988 is found in opserver
2026-02-10 05:17:14,397 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 05:17:14,401 - DEBUG - VRF ids for VN ctest-vn-52901988: {}
2026-02-10 05:17:14,401 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 05:17:14,405 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8239fcf5-b3e6-4964-9d80-c841c7b56c63
2026-02-10 05:17:14,414 - DEBUG - Requesting: http://10.0.0.38:8082/project/3659648d-bdc1-4441-804e-778a1fbcdf65
2026-02-10 05:17:14,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5d8b403-9e5f-43ce-b297-96012bfba6f2
2026-02-10 05:17:14,487 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5d8b403-9e5f-43ce-b297-96012bfba6f2
2026-02-10 05:17:14,494 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/518f2eb1-3e3e-4b63-8c01-aee7fc48e3bd
2026-02-10 05:17:14,499 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/518f2eb1-3e3e-4b63-8c01-aee7fc48e3bd
2026-02-10 05:17:14,504 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d9eb8ad7-6cd8-4122-8e64-2e08cfc7a670
2026-02-10 05:17:14,509 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 05:17:14,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5d8b403-9e5f-43ce-b297-96012bfba6f2
2026-02-10 05:17:14,515 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/518f2eb1-3e3e-4b63-8c01-aee7fc48e3bd
2026-02-10 05:17:14,526 - INFO - Verified VN network id 12 for VN b5d8b403-9e5f-43ce-b297-96012bfba6f2
2026-02-10 05:17:14,526 - INFO - Verifications in API Server for VN ctest-vn-10720776 passed
2026-02-10 05:17:14,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5d8b403-9e5f-43ce-b297-96012bfba6f2
2026-02-10 05:17:14,535 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/518f2eb1-3e3e-4b63-8c01-aee7fc48e3bd
2026-02-10 05:17:14,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/518f2eb1-3e3e-4b63-8c01-aee7fc48e3bd
2026-02-10 05:17:14,545 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d9eb8ad7-6cd8-4122-8e64-2e08cfc7a670
2026-02-10 05:17:14,554 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-10720776', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91504516', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13103421043469403086', 'uuid-lslong': '12868919392011527922'}, 'enable': 'true', 'created': '2026-02-10T05:17:12', 'last-modified': '2026-02-10T05:17:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.286020'}
2026-02-10 05:17:14,559 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 05:17:14,559 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10720776 passed
2026-02-10 05:17:14,559 - DEBUG - ====Verifying policy data for ctest-vn-10720776 in API_Server ======
2026-02-10 05:17:14,559 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 05:17:14,563 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8239fcf5-b3e6-4964-9d80-c841c7b56c63
2026-02-10 05:17:14,572 - DEBUG - Requesting: http://10.0.0.38:8082/project/3659648d-bdc1-4441-804e-778a1fbcdf65
2026-02-10 05:17:14,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5d8b403-9e5f-43ce-b297-96012bfba6f2
2026-02-10 05:17:14,648 - DEBUG - ==>Verifying data for policy with id: ff3a6ab8-ca06-45c2-8515-4c28b762e2a3, fqn: ['default-domain', 'ctest-TestBasicPolicy-91504516', 'ctest-policy-allow-all-35788742']
2026-02-10 05:17:14,648 - INFO - VN ctest-vn-10720776 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 05:17:14,648 - DEBUG - Verifying the vn in opserver
2026-02-10 05:17:14,648 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-10720776 virtual network link through opserver 10.0.0.38
2026-02-10 05:17:14,648 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 05:17:14,657 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-10720776', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-10720776?flat'}
2026-02-10 05:17:14,657 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91504516:ctest-vn-10720776 is found in opserver
2026-02-10 05:17:14,665 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 05:17:14,669 - DEBUG - VRF ids for VN ctest-vn-10720776: {}
2026-02-10 05:17:14,719 - DEBUG - Services list from nova: [