2025-12-08 02:37:56,713 - INFO - Domain Default found not creating
2025-12-08 02:37:56,934 - INFO - Project ctest-TestBasicPolicy-97781675 not found, creating it
2025-12-08 02:37:57,434 - INFO - Created Project:ctest-TestBasicPolicy-97781675, ID : 3e987c21-545c-4829-810c-a006aba7ec39
2025-12-08 02:37:59,280 - INFO - ================================================================================
2025-12-08 02:37:59,280 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-08 02:37:59,280 - 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
2025-12-08 02:37:59,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.130': '0'}} with
2025-12-08 02:37:59,552 - INFO - Initial checks done. Running the testcase now
2025-12-08 02:37:59,552 - INFO -
2025-12-08 02:38:00,182 - DEBUG - Response for create_network : {'network': {'id': '4665e3ee-e1eb-48f2-b35c-9152da369979', 'name': 'ctest-vn-23994087', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'project_id': '3e987c21545c4829810ca006aba7ec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-vn-23994087'], 'port_security_enabled': True, 'description': ''}}
2025-12-08 02:38:00,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '13b8cf92-2e70-43a2-8946-520718959c3a', 'name': '', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'network_id': '4665e3ee-e1eb-48f2-b35c-9152da369979', 'ip_version': 4, 'cidr': '203.15.67.192/26', 'allocation_pools': [{'start': '203.15.67.194', 'end': '203.15.67.254'}], 'gateway_ip': '203.15.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.15.67.194', 'tags': [], 'project_id': '3e987c21545c4829810ca006aba7ec39'}}
2025-12-08 02:38:00,380 - INFO - Created VN ctest-vn-23994087
2025-12-08 02:38:00,435 - DEBUG - VN ctest-vn-23994087 UUID is 4665e3ee-e1eb-48f2-b35c-9152da369979
2025-12-08 02:38:00,783 - DEBUG - Response for create_network : {'network': {'id': 'c6473644-b4c7-403a-9699-9c51e49415ee', 'name': 'ctest-vn-12791441', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'project_id': '3e987c21545c4829810ca006aba7ec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-vn-12791441'], 'port_security_enabled': True, 'description': ''}}
2025-12-08 02:38:00,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '06421ee4-add2-4c14-9ba3-69c149a78f17', 'name': '', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'network_id': 'c6473644-b4c7-403a-9699-9c51e49415ee', 'ip_version': 4, 'cidr': '176.24.220.0/26', 'allocation_pools': [{'start': '176.24.220.2', 'end': '176.24.220.62'}], 'gateway_ip': '176.24.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.24.220.2', 'tags': [], 'project_id': '3e987c21545c4829810ca006aba7ec39'}}
2025-12-08 02:38:00,977 - INFO - Created VN ctest-vn-12791441
2025-12-08 02:38:01,031 - DEBUG - VN ctest-vn-12791441 UUID is c6473644-b4c7-403a-9699-9c51e49415ee
2025-12-08 02:38:01,169 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087, 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-97781675:ctest-vn-12791441, 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]
2025-12-08 02:38:01,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4665e3ee-e1eb-48f2-b35c-9152da369979', 'name': 'ctest-vn-23994087', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'project_id': '3e987c21545c4829810ca006aba7ec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13b8cf92-2e70-43a2-8946-520718959c3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-vn-23994087'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-policy-allow-all-52040223']], 'subnet_ipam': [{'subnet_cidr': '203.15.67.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-08 02:38:01,796 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6473644-b4c7-403a-9699-9c51e49415ee', 'name': 'ctest-vn-12791441', 'tenant_id': '3e987c21545c4829810ca006aba7ec39', 'project_id': '3e987c21545c4829810ca006aba7ec39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06421ee4-add2-4c14-9ba3-69c149a78f17'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-vn-12791441'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-policy-allow-all-52040223']], 'subnet_ipam': [{'subnet_cidr': '176.24.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-08 02:38:01,967 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-08 02:38:02,315 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-08 02:38:02,352 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886
2025-12-08 02:38:02,366 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39
2025-12-08 02:38:02,450 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979
2025-12-08 02:38:02,462 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979
2025-12-08 02:38:02,472 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d
2025-12-08 02:38:02,481 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d
2025-12-08 02:38:02,489 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/47b0dfaf-3ebd-4eeb-9a77-c0fdf580f7b4
2025-12-08 02:38:02,496 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-08 02:38:02,496 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979
2025-12-08 02:38:02,506 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d
2025-12-08 02:38:02,524 - INFO - Verified VN network id 12 for VN 4665e3ee-e1eb-48f2-b35c-9152da369979
2025-12-08 02:38:02,524 - INFO - Verifications in API Server for VN ctest-vn-23994087 passed
2025-12-08 02:38:02,524 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979
2025-12-08 02:38:02,535 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d
2025-12-08 02:38:02,543 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ccaef59d-7452-46c9-8241-a1d37242312d
2025-12-08 02:38:02,553 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/47b0dfaf-3ebd-4eeb-9a77-c0fdf580f7b4
2025-12-08 02:38:02,568 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97781675', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5072711170434746610', 'uuid-lslong': '12924364815680838009'}, 'enable': 'true', 'created': '2025-12-08T02:38:00', 'last-modified': '2025-12-08T02:38:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092446'}
2025-12-08 02:38:02,575 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-08 02:38:02,575 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23994087 passed
2025-12-08 02:38:02,576 - DEBUG - ====Verifying policy data for ctest-vn-23994087 in API_Server ======
2025-12-08 02:38:02,576 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-08 02:38:02,584 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886
2025-12-08 02:38:02,597 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39
2025-12-08 02:38:02,676 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/4665e3ee-e1eb-48f2-b35c-9152da369979
2025-12-08 02:38:02,687 - DEBUG - ==>Verifying data for policy with id: 04b73213-74bb-4e8c-a067-00b8b73f5856, fqn: ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-policy-allow-all-52040223']
2025-12-08 02:38:02,687 - INFO - VN ctest-vn-23994087 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-08 02:38:02,687 - DEBUG - Verifying the vn in opserver
2025-12-08 02:38:02,687 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087 virtual network link through opserver 10.0.0.73
2025-12-08 02:38:02,688 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2025-12-08 02:38:03,027 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2025-12-08 02:38:03,098 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087?flat'}
2025-12-08 02:38:03,099 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-23994087 is found in opserver
2025-12-08 02:38:03,112 - DEBUG - Do not have enough data to verify VN in agent
2025-12-08 02:38:03,118 - DEBUG - VRF ids for VN ctest-vn-23994087: {}
2025-12-08 02:38:03,118 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-08 02:38:03,125 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886
2025-12-08 02:38:03,139 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39
2025-12-08 02:38:03,215 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee
2025-12-08 02:38:03,229 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee
2025-12-08 02:38:03,239 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb
2025-12-08 02:38:03,247 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb
2025-12-08 02:38:03,256 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/4106e418-4ba7-4b9e-a3a0-935b95d5003c
2025-12-08 02:38:03,264 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-08 02:38:03,264 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee
2025-12-08 02:38:03,275 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb
2025-12-08 02:38:03,293 - INFO - Verified VN network id 13 for VN c6473644-b4c7-403a-9699-9c51e49415ee
2025-12-08 02:38:03,294 - INFO - Verifications in API Server for VN ctest-vn-12791441 passed
2025-12-08 02:38:03,294 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee
2025-12-08 02:38:03,305 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb
2025-12-08 02:38:03,315 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f7b77e06-2514-4ef9-988b-adb7fca29acb
2025-12-08 02:38:03,324 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/4106e418-4ba7-4b9e-a3a0-935b95d5003c
2025-12-08 02:38:03,337 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97781675', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14287448011574820922', 'uuid-lslong': '10851876652667114990'}, 'enable': 'true', 'created': '2025-12-08T02:38:00', 'last-modified': '2025-12-08T02:38:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.580302'}
2025-12-08 02:38:03,344 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-08 02:38:03,344 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12791441 passed
2025-12-08 02:38:03,345 - DEBUG - ====Verifying policy data for ctest-vn-12791441 in API_Server ======
2025-12-08 02:38:03,345 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-08 02:38:03,354 - DEBUG - Requesting: http://10.0.0.73:8082/domain/bdb80538-3a76-4907-b398-c529616d0886
2025-12-08 02:38:03,368 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e987c21-545c-4829-810c-a006aba7ec39
2025-12-08 02:38:03,453 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/c6473644-b4c7-403a-9699-9c51e49415ee
2025-12-08 02:38:03,463 - DEBUG - ==>Verifying data for policy with id: 04b73213-74bb-4e8c-a067-00b8b73f5856, fqn: ['default-domain', 'ctest-TestBasicPolicy-97781675', 'ctest-policy-allow-all-52040223']
2025-12-08 02:38:03,464 - INFO - VN ctest-vn-12791441 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-08 02:38:03,464 - DEBUG - Verifying the vn in opserver
2025-12-08 02:38:03,464 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441 virtual network link through opserver 10.0.0.73
2025-12-08 02:38:03,464 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2025-12-08 02:38:03,477 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441?flat'}
2025-12-08 02:38:03,477 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97781675:ctest-vn-12791441 is found in opserver
2025-12-08 02:38:03,488 - DEBUG - Do not have enough data to verify VN in agent
2025-12-08 02:38:03,493 - DEBUG - VRF ids for VN ctest-vn-12791441: {}
2025-12-08 02:38:03,566 - DEBUG - Services list from nova: [