2026-01-31 16:13:03,909 - INFO - Domain Default found not creating
2026-01-31 16:13:04,070 - INFO - Project ctest-TestBasicPolicy-68383822 not found, creating it
2026-01-31 16:13:04,514 - INFO - Created Project:ctest-TestBasicPolicy-68383822, ID : 216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1
2026-01-31 16:13:05,944 - INFO - ================================================================================
2026-01-31 16:13:05,944 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-31 16:13:05,944 - 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-01-31 16:13:06,200 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-01-31 16:13:06,200 - INFO - Initial checks done. Running the testcase now
2026-01-31 16:13:06,200 - INFO -
2026-01-31 16:13:06,735 - DEBUG - Response for create_network : {'network': {'id': '40ee99e8-ca9d-46eb-b95c-e3f667b5827b', 'name': 'ctest-vn-51625364', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-vn-51625364'], 'port_security_enabled': True, 'description': ''}}
2026-01-31 16:13:06,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '57c15fe4-6e1f-45e4-ba70-03bff7c28225', 'name': '', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'network_id': '40ee99e8-ca9d-46eb-b95c-e3f667b5827b', 'ip_version': 4, 'cidr': '203.26.167.192/26', 'allocation_pools': [{'start': '203.26.167.194', 'end': '203.26.167.254'}], 'gateway_ip': '203.26.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.26.167.194', 'tags': [], 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1'}}
2026-01-31 16:13:06,931 - INFO - Created VN ctest-vn-51625364
2026-01-31 16:13:06,986 - DEBUG - VN ctest-vn-51625364 UUID is 40ee99e8-ca9d-46eb-b95c-e3f667b5827b
2026-01-31 16:13:07,315 - DEBUG - Response for create_network : {'network': {'id': 'ee9bed5b-f274-4425-a116-cb230136cb3f', 'name': 'ctest-vn-71885053', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-vn-71885053'], 'port_security_enabled': True, 'description': ''}}
2026-01-31 16:13:07,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '618f9120-7425-468a-8807-42dd9fd35561', 'name': '', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'network_id': 'ee9bed5b-f274-4425-a116-cb230136cb3f', 'ip_version': 4, 'cidr': '147.122.104.64/26', 'allocation_pools': [{'start': '147.122.104.66', 'end': '147.122.104.126'}], 'gateway_ip': '147.122.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.122.104.66', 'tags': [], 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1'}}
2026-01-31 16:13:07,500 - INFO - Created VN ctest-vn-71885053
2026-01-31 16:13:07,550 - DEBUG - VN ctest-vn-71885053 UUID is ee9bed5b-f274-4425-a116-cb230136cb3f
2026-01-31 16:13:07,698 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364, 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-68383822:ctest-vn-71885053, 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-01-31 16:13:07,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '40ee99e8-ca9d-46eb-b95c-e3f667b5827b', 'name': 'ctest-vn-51625364', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57c15fe4-6e1f-45e4-ba70-03bff7c28225'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-vn-51625364'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-policy-allow-all-40849870']], 'subnet_ipam': [{'subnet_cidr': '203.26.167.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-31 16:13:08,201 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee9bed5b-f274-4425-a116-cb230136cb3f', 'name': 'ctest-vn-71885053', 'tenant_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'project_id': '216e9d270ccf4ddd908b5ced4ebd7ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['618f9120-7425-468a-8807-42dd9fd35561'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-vn-71885053'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-policy-allow-all-40849870']], 'subnet_ipam': [{'subnet_cidr': '147.122.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-31 16:13:08,370 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-31 16:13:08,662 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-31 16:13:08,692 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f
2026-01-31 16:13:08,703 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1
2026-01-31 16:13:08,775 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b
2026-01-31 16:13:08,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b
2026-01-31 16:13:08,791 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5
2026-01-31 16:13:08,797 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5
2026-01-31 16:13:08,803 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5193e6eb-75d4-4998-bab7-6c1af1fb8e77
2026-01-31 16:13:08,809 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-31 16:13:08,809 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b
2026-01-31 16:13:08,818 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5
2026-01-31 16:13:08,833 - INFO - Verified VN network id 12 for VN 40ee99e8-ca9d-46eb-b95c-e3f667b5827b
2026-01-31 16:13:08,833 - INFO - Verifications in API Server for VN ctest-vn-51625364 passed
2026-01-31 16:13:08,833 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b
2026-01-31 16:13:08,843 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5
2026-01-31 16:13:08,850 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4be028ea-1421-482a-a7df-10d295ee79b5
2026-01-31 16:13:08,856 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5193e6eb-75d4-4998-bab7-6c1af1fb8e77
2026-01-31 16:13:08,867 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68383822', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4678846287995291371', 'uuid-lslong': '13356801242315457147'}, 'enable': 'true', 'created': '2026-01-31T16:13:06', 'last-modified': '2026-01-31T16:13:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907933'}
2026-01-31 16:13:08,874 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-31 16:13:08,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51625364 passed
2026-01-31 16:13:08,874 - DEBUG - ====Verifying policy data for ctest-vn-51625364 in API_Server ======
2026-01-31 16:13:08,874 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-31 16:13:08,879 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f
2026-01-31 16:13:08,889 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1
2026-01-31 16:13:08,955 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/40ee99e8-ca9d-46eb-b95c-e3f667b5827b
2026-01-31 16:13:08,963 - DEBUG - ==>Verifying data for policy with id: 13b69205-9c92-4c9d-af31-ace97c66ddfa, fqn: ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-policy-allow-all-40849870']
2026-01-31 16:13:08,963 - INFO - VN ctest-vn-51625364 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-31 16:13:08,963 - DEBUG - Verifying the vn in opserver
2026-01-31 16:13:08,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364 virtual network link through opserver 10.0.0.50
2026-01-31 16:13:08,963 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-31 16:13:09,252 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-31 16:13:09,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364?flat'}
2026-01-31 16:13:09,309 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-51625364 is found in opserver
2026-01-31 16:13:09,317 - DEBUG - Do not have enough data to verify VN in agent
2026-01-31 16:13:09,321 - DEBUG - VRF ids for VN ctest-vn-51625364: {}
2026-01-31 16:13:09,321 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-31 16:13:09,326 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f
2026-01-31 16:13:09,337 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1
2026-01-31 16:13:09,406 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f
2026-01-31 16:13:09,416 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f
2026-01-31 16:13:09,424 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a
2026-01-31 16:13:09,431 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a
2026-01-31 16:13:09,437 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0df14ed7-d78c-4bc0-9b04-a4ed0e3bdd46
2026-01-31 16:13:09,442 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-31 16:13:09,443 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f
2026-01-31 16:13:09,451 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a
2026-01-31 16:13:09,464 - INFO - Verified VN network id 13 for VN ee9bed5b-f274-4425-a116-cb230136cb3f
2026-01-31 16:13:09,464 - INFO - Verifications in API Server for VN ctest-vn-71885053 passed
2026-01-31 16:13:09,464 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f
2026-01-31 16:13:09,472 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a
2026-01-31 16:13:09,478 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bef532f1-5f52-4833-80f8-fcca3857ff4a
2026-01-31 16:13:09,485 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0df14ed7-d78c-4bc0-9b04-a4ed0e3bdd46
2026-01-31 16:13:09,494 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68383822', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17193596981582513189', 'uuid-lslong': '11607688440798694207'}, 'enable': 'true', 'created': '2026-01-31T16:13:07', 'last-modified': '2026-01-31T16:13:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.310989'}
2026-01-31 16:13:09,499 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-31 16:13:09,499 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71885053 passed
2026-01-31 16:13:09,500 - DEBUG - ====Verifying policy data for ctest-vn-71885053 in API_Server ======
2026-01-31 16:13:09,500 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-31 16:13:09,504 - DEBUG - Requesting: http://10.0.0.50:8082/domain/25c20401-9e91-4c60-a660-ce8f3756086f
2026-01-31 16:13:09,514 - DEBUG - Requesting: http://10.0.0.50:8082/project/216e9d27-0ccf-4ddd-908b-5ced4ebd7ff1
2026-01-31 16:13:09,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee9bed5b-f274-4425-a116-cb230136cb3f
2026-01-31 16:13:09,587 - DEBUG - ==>Verifying data for policy with id: 13b69205-9c92-4c9d-af31-ace97c66ddfa, fqn: ['default-domain', 'ctest-TestBasicPolicy-68383822', 'ctest-policy-allow-all-40849870']
2026-01-31 16:13:09,587 - INFO - VN ctest-vn-71885053 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-31 16:13:09,587 - DEBUG - Verifying the vn in opserver
2026-01-31 16:13:09,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053 virtual network link through opserver 10.0.0.50
2026-01-31 16:13:09,587 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-31 16:13:09,596 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053?flat'}
2026-01-31 16:13:09,596 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68383822:ctest-vn-71885053 is found in opserver
2026-01-31 16:13:09,604 - DEBUG - Do not have enough data to verify VN in agent
2026-01-31 16:13:09,609 - DEBUG - VRF ids for VN ctest-vn-71885053: {}
2026-01-31 16:13:09,661 - DEBUG - Services list from nova: [