2025-11-03 10:27:21,658 - INFO - Domain Default found not creating
2025-11-03 10:27:22,046 - INFO - Project ctest-TestBasicPolicy-05669395 not found, creating it
2025-11-03 10:27:22,732 - INFO - Created Project:ctest-TestBasicPolicy-05669395, ID : d9538290-8cbc-4ccd-842a-ef11fdc4b1e1
2025-11-03 10:27:24,946 - INFO - ================================================================================
2025-11-03 10:27:24,947 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-11-03 10:27:24,947 - 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-11-03 10:27:25,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-11-03 10:27:25,291 - INFO - Initial checks done. Running the testcase now
2025-11-03 10:27:25,291 - INFO -
2025-11-03 10:27:26,063 - DEBUG - Response for create_network : {'network': {'id': '56787d40-c25c-461a-b6c7-095af6b03a95', 'name': 'ctest-vn-23026783', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-vn-23026783'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 10:27:26,342 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecbd2927-5b7e-4662-a511-305b50704699', 'name': '', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'network_id': '56787d40-c25c-461a-b6c7-095af6b03a95', 'ip_version': 4, 'cidr': '133.141.185.64/26', 'allocation_pools': [{'start': '133.141.185.66', 'end': '133.141.185.126'}], 'gateway_ip': '133.141.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.141.185.66', 'tags': [], 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1'}}
2025-11-03 10:27:26,373 - INFO - Created VN ctest-vn-23026783
2025-11-03 10:27:26,429 - DEBUG - VN ctest-vn-23026783 UUID is 56787d40-c25c-461a-b6c7-095af6b03a95
2025-11-03 10:27:26,866 - DEBUG - Response for create_network : {'network': {'id': 'c1f44c90-496a-487d-94af-a61d20953529', 'name': 'ctest-vn-29421233', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-vn-29421233'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 10:27:27,119 - DEBUG - Response for create_subnet : {'subnet': {'id': '30d2010d-3ecc-41aa-b591-3be3dd3b9425', 'name': '', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'network_id': 'c1f44c90-496a-487d-94af-a61d20953529', 'ip_version': 4, 'cidr': '213.107.19.64/26', 'allocation_pools': [{'start': '213.107.19.66', 'end': '213.107.19.126'}], 'gateway_ip': '213.107.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.107.19.66', 'tags': [], 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1'}}
2025-11-03 10:27:27,152 - INFO - Created VN ctest-vn-29421233
2025-11-03 10:27:27,214 - DEBUG - VN ctest-vn-29421233 UUID is c1f44c90-496a-487d-94af-a61d20953529
2025-11-03 10:27:27,408 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783, 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-05669395:ctest-vn-29421233, 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-11-03 10:27:27,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56787d40-c25c-461a-b6c7-095af6b03a95', 'name': 'ctest-vn-23026783', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ecbd2927-5b7e-4662-a511-305b50704699'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-vn-23026783'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-policy-allow-all-82544281']], 'subnet_ipam': [{'subnet_cidr': '133.141.185.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-11-03 10:27:28,211 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1f44c90-496a-487d-94af-a61d20953529', 'name': 'ctest-vn-29421233', 'tenant_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'project_id': 'd95382908cbc4ccd842aef11fdc4b1e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30d2010d-3ecc-41aa-b591-3be3dd3b9425'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-vn-29421233'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-policy-allow-all-82544281']], 'subnet_ipam': [{'subnet_cidr': '213.107.19.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-11-03 10:27:28,385 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2025-11-03 10:27:28,688 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2025-11-03 10:27:28,734 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e
2025-11-03 10:27:28,755 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1
2025-11-03 10:27:28,859 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95
2025-11-03 10:27:28,887 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95
2025-11-03 10:27:28,914 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da
2025-11-03 10:27:28,930 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da
2025-11-03 10:27:28,944 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/1efe218d-8ac3-4b0f-9c09-5cd0b9653c52
2025-11-03 10:27:28,962 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-03 10:27:28,963 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95
2025-11-03 10:27:28,985 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da
2025-11-03 10:27:29,023 - INFO - Verified VN network id 11 for VN 56787d40-c25c-461a-b6c7-095af6b03a95
2025-11-03 10:27:29,023 - INFO - Verifications in API Server for VN ctest-vn-23026783 passed
2025-11-03 10:27:29,023 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95
2025-11-03 10:27:29,047 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da
2025-11-03 10:27:29,063 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/da94fbc9-b9c7-4f2c-b663-8d851b0116da
2025-11-03 10:27:29,079 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/1efe218d-8ac3-4b0f-9c09-5cd0b9653c52
2025-11-03 10:27:29,108 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05669395', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6230867801559287322', 'uuid-lslong': '13170505921558755989'}, 'enable': 'true', 'created': '2025-11-03T10:27:26', 'last-modified': '2025-11-03T10:27:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274953'}
2025-11-03 10:27:29,122 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-03 10:27:29,122 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23026783 passed
2025-11-03 10:27:29,122 - DEBUG - ====Verifying policy data for ctest-vn-23026783 in API_Server ======
2025-11-03 10:27:29,123 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2025-11-03 10:27:29,134 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e
2025-11-03 10:27:29,159 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1
2025-11-03 10:27:29,272 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/56787d40-c25c-461a-b6c7-095af6b03a95
2025-11-03 10:27:29,303 - DEBUG - ==>Verifying data for policy with id: 42d5352b-0316-4022-bf88-f57c161a5da6, fqn: ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-policy-allow-all-82544281']
2025-11-03 10:27:29,303 - INFO - VN ctest-vn-23026783 Policy verification: verify_vn_policy_in_api_server, status: True
2025-11-03 10:27:29,303 - DEBUG - Verifying the vn in opserver
2025-11-03 10:27:29,304 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783 virtual network link through opserver 10.0.0.48
2025-11-03 10:27:29,304 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks
2025-11-03 10:27:29,628 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks
2025-11-03 10:27:29,785 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783?flat'}
2025-11-03 10:27:29,785 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-23026783 is found in opserver
2025-11-03 10:27:29,809 - DEBUG - Do not have enough data to verify VN in agent
2025-11-03 10:27:29,823 - DEBUG - VRF ids for VN ctest-vn-23026783: {}
2025-11-03 10:27:29,823 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2025-11-03 10:27:29,837 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e
2025-11-03 10:27:29,869 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1
2025-11-03 10:27:29,989 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529
2025-11-03 10:27:30,024 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529
2025-11-03 10:27:30,051 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb
2025-11-03 10:27:30,071 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb
2025-11-03 10:27:30,085 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/4a9229b6-ee02-4466-99bf-84f66018a9eb
2025-11-03 10:27:30,100 - DEBUG - Route Targets: ['target:64512:8000005']
2025-11-03 10:27:30,101 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529
2025-11-03 10:27:30,117 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb
2025-11-03 10:27:30,140 - INFO - Verified VN network id 12 for VN c1f44c90-496a-487d-94af-a61d20953529
2025-11-03 10:27:30,140 - INFO - Verifications in API Server for VN ctest-vn-29421233 passed
2025-11-03 10:27:30,140 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529
2025-11-03 10:27:30,155 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb
2025-11-03 10:27:30,169 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e8adade-5022-4159-a20e-ec98c63d70bb
2025-11-03 10:27:30,180 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/4a9229b6-ee02-4466-99bf-84f66018a9eb
2025-11-03 10:27:30,196 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05669395', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13975879726228195453', 'uuid-lslong': '10713964682568611113'}, 'enable': 'true', 'created': '2025-11-03T10:27:26', 'last-modified': '2025-11-03T10:27:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.026932'}
2025-11-03 10:27:30,204 - DEBUG - Route Targets: ['target:64512:8000005']
2025-11-03 10:27:30,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29421233 passed
2025-11-03 10:27:30,205 - DEBUG - ====Verifying policy data for ctest-vn-29421233 in API_Server ======
2025-11-03 10:27:30,205 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2025-11-03 10:27:30,213 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9ed9d45f-5b2e-4691-971f-cfe193980a7e
2025-11-03 10:27:30,230 - DEBUG - Requesting: http://10.0.0.48:8082/project/d9538290-8cbc-4ccd-842a-ef11fdc4b1e1
2025-11-03 10:27:30,314 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1f44c90-496a-487d-94af-a61d20953529
2025-11-03 10:27:30,327 - DEBUG - ==>Verifying data for policy with id: 42d5352b-0316-4022-bf88-f57c161a5da6, fqn: ['default-domain', 'ctest-TestBasicPolicy-05669395', 'ctest-policy-allow-all-82544281']
2025-11-03 10:27:30,327 - INFO - VN ctest-vn-29421233 Policy verification: verify_vn_policy_in_api_server, status: True
2025-11-03 10:27:30,327 - DEBUG - Verifying the vn in opserver
2025-11-03 10:27:30,327 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233 virtual network link through opserver 10.0.0.48
2025-11-03 10:27:30,327 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks
2025-11-03 10:27:30,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233?flat'}
2025-11-03 10:27:30,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05669395:ctest-vn-29421233 is found in opserver
2025-11-03 10:27:30,358 - DEBUG - Do not have enough data to verify VN in agent
2025-11-03 10:27:30,365 - DEBUG - VRF ids for VN ctest-vn-29421233: {}
2025-11-03 10:27:30,455 - DEBUG - Services list from nova: [