2025-09-11 06:40:00,757 - INFO - Domain Default found not creating
2025-09-11 06:40:00,893 - INFO - Project ctest-TestBasicPolicy-63713649 not found, creating it
2025-09-11 06:40:01,370 - INFO - Created Project:ctest-TestBasicPolicy-63713649, ID : c09e1168-3369-41ba-ac45-72c98e2c6ddb
2025-09-11 06:40:02,766 - INFO - ================================================================================
2025-09-11 06:40:02,766 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-09-11 06:40:02,766 - 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-09-11 06:40:03,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-11 06:40:03,022 - INFO - Initial checks done. Running the testcase now
2025-09-11 06:40:03,022 - INFO -
2025-09-11 06:40:03,581 - DEBUG - Response for create_network : {'network': {'id': 'fb5e6202-ceb4-4382-a2d7-63187e16ebf0', 'name': 'ctest-vn-05742350', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'project_id': 'c09e1168336941baac4572c98e2c6ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-vn-05742350'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 06:40:03,775 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bcb5763-d91a-44d1-aafb-f7e01d72f655', 'name': '', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'network_id': 'fb5e6202-ceb4-4382-a2d7-63187e16ebf0', 'ip_version': 4, 'cidr': '77.137.66.0/26', 'allocation_pools': [{'start': '77.137.66.2', 'end': '77.137.66.62'}], 'gateway_ip': '77.137.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.137.66.2', 'tags': [], 'project_id': 'c09e1168336941baac4572c98e2c6ddb'}}
2025-09-11 06:40:03,792 - INFO - Created VN ctest-vn-05742350
2025-09-11 06:40:03,845 - DEBUG - VN ctest-vn-05742350 UUID is fb5e6202-ceb4-4382-a2d7-63187e16ebf0
2025-09-11 06:40:04,159 - DEBUG - Response for create_network : {'network': {'id': '642fd244-f983-4be5-9e8f-5636fe57a1f3', 'name': 'ctest-vn-10867474', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'project_id': 'c09e1168336941baac4572c98e2c6ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-vn-10867474'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 06:40:04,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a41ca8d-d809-4deb-aa29-756914fa3ff5', 'name': '', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'network_id': '642fd244-f983-4be5-9e8f-5636fe57a1f3', 'ip_version': 4, 'cidr': '65.179.57.128/26', 'allocation_pools': [{'start': '65.179.57.130', 'end': '65.179.57.190'}], 'gateway_ip': '65.179.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.179.57.130', 'tags': [], 'project_id': 'c09e1168336941baac4572c98e2c6ddb'}}
2025-09-11 06:40:04,328 - INFO - Created VN ctest-vn-10867474
2025-09-11 06:40:04,380 - DEBUG - VN ctest-vn-10867474 UUID is 642fd244-f983-4be5-9e8f-5636fe57a1f3
2025-09-11 06:40:04,536 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350, 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-63713649:ctest-vn-10867474, 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-09-11 06:40:04,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fb5e6202-ceb4-4382-a2d7-63187e16ebf0', 'name': 'ctest-vn-05742350', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'project_id': 'c09e1168336941baac4572c98e2c6ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0bcb5763-d91a-44d1-aafb-f7e01d72f655'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-vn-05742350'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-policy-allow-all-85427526']], 'subnet_ipam': [{'subnet_cidr': '77.137.66.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-09-11 06:40:05,071 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '642fd244-f983-4be5-9e8f-5636fe57a1f3', 'name': 'ctest-vn-10867474', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'project_id': 'c09e1168336941baac4572c98e2c6ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a41ca8d-d809-4deb-aa29-756914fa3ff5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-vn-10867474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-policy-allow-all-85427526']], 'subnet_ipam': [{'subnet_cidr': '65.179.57.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-09-11 06:40:05,233 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-09-11 06:40:05,529 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-09-11 06:40:05,562 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68
2025-09-11 06:40:05,575 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb
2025-09-11 06:40:05,652 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0
2025-09-11 06:40:05,661 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0
2025-09-11 06:40:05,669 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f
2025-09-11 06:40:05,674 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f
2025-09-11 06:40:05,680 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/91061f7f-dc6a-434f-9817-181d5fa2c54a
2025-09-11 06:40:05,686 - DEBUG - Route Targets: ['target:64512:8000004']
2025-09-11 06:40:05,686 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0
2025-09-11 06:40:05,695 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f
2025-09-11 06:40:05,711 - INFO - Verified VN network id 12 for VN fb5e6202-ceb4-4382-a2d7-63187e16ebf0
2025-09-11 06:40:05,711 - INFO - Verifications in API Server for VN ctest-vn-05742350 passed
2025-09-11 06:40:05,711 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0
2025-09-11 06:40:05,722 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f
2025-09-11 06:40:05,731 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f
2025-09-11 06:40:05,739 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/91061f7f-dc6a-434f-9817-181d5fa2c54a
2025-09-11 06:40:05,753 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63713649', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18113022515528090498', 'uuid-lslong': '11733956310982913008'}, 'enable': 'true', 'created': '2025-09-11T06:40:03', 'last-modified': '2025-09-11T06:40:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921266'}
2025-09-11 06:40:05,760 - DEBUG - Route Targets: ['target:64512:8000004']
2025-09-11 06:40:05,760 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05742350 passed
2025-09-11 06:40:05,760 - DEBUG - ====Verifying policy data for ctest-vn-05742350 in API_Server ======
2025-09-11 06:40:05,760 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-09-11 06:40:05,767 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68
2025-09-11 06:40:05,780 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb
2025-09-11 06:40:05,862 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0
2025-09-11 06:40:05,877 - DEBUG - ==>Verifying data for policy with id: bea1a383-411d-40eb-ad66-cb36db118fc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-policy-allow-all-85427526']
2025-09-11 06:40:05,877 - INFO - VN ctest-vn-05742350 Policy verification: verify_vn_policy_in_api_server, status: True
2025-09-11 06:40:05,877 - DEBUG - Verifying the vn in opserver
2025-09-11 06:40:05,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350 virtual network link through opserver 10.0.0.22
2025-09-11 06:40:05,878 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-09-11 06:40:06,184 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-09-11 06:40:06,255 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350?flat'}
2025-09-11 06:40:06,255 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350 is found in opserver
2025-09-11 06:40:06,266 - DEBUG - Do not have enough data to verify VN in agent
2025-09-11 06:40:06,271 - DEBUG - VRF ids for VN ctest-vn-05742350: {}
2025-09-11 06:40:06,271 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-09-11 06:40:06,277 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68
2025-09-11 06:40:06,290 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb
2025-09-11 06:40:06,392 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3
2025-09-11 06:40:06,406 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3
2025-09-11 06:40:06,419 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6
2025-09-11 06:40:06,429 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6
2025-09-11 06:40:06,436 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/208fa763-1093-41f1-be91-b6b63046f06f
2025-09-11 06:40:06,447 - DEBUG - Route Targets: ['target:64512:8000005']
2025-09-11 06:40:06,448 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3
2025-09-11 06:40:06,458 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6
2025-09-11 06:40:06,478 - INFO - Verified VN network id 13 for VN 642fd244-f983-4be5-9e8f-5636fe57a1f3
2025-09-11 06:40:06,479 - INFO - Verifications in API Server for VN ctest-vn-10867474 passed
2025-09-11 06:40:06,479 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3
2025-09-11 06:40:06,489 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6
2025-09-11 06:40:06,497 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6
2025-09-11 06:40:06,505 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/208fa763-1093-41f1-be91-b6b63046f06f
2025-09-11 06:40:06,516 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63713649', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7219219921383934949', 'uuid-lslong': '11425445573857616371'}, 'enable': 'true', 'created': '2025-09-11T06:40:04', 'last-modified': '2025-09-11T06:40:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467189'}
2025-09-11 06:40:06,521 - DEBUG - Route Targets: ['target:64512:8000005']
2025-09-11 06:40:06,521 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10867474 passed
2025-09-11 06:40:06,521 - DEBUG - ====Verifying policy data for ctest-vn-10867474 in API_Server ======
2025-09-11 06:40:06,521 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-09-11 06:40:06,527 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68
2025-09-11 06:40:06,541 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb
2025-09-11 06:40:06,612 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3
2025-09-11 06:40:06,622 - DEBUG - ==>Verifying data for policy with id: bea1a383-411d-40eb-ad66-cb36db118fc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-policy-allow-all-85427526']
2025-09-11 06:40:06,622 - INFO - VN ctest-vn-10867474 Policy verification: verify_vn_policy_in_api_server, status: True
2025-09-11 06:40:06,622 - DEBUG - Verifying the vn in opserver
2025-09-11 06:40:06,622 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474 virtual network link through opserver 10.0.0.22
2025-09-11 06:40:06,622 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-09-11 06:40:06,631 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474?flat'}
2025-09-11 06:40:06,631 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474 is found in opserver
2025-09-11 06:40:06,641 - DEBUG - Do not have enough data to verify VN in agent
2025-09-11 06:40:06,645 - DEBUG - VRF ids for VN ctest-vn-10867474: {}
2025-09-11 06:40:06,715 - DEBUG - Services list from nova: [