2026-01-12 02:03:50,599 - INFO - Domain Default found not creating
2026-01-12 02:03:50,749 - INFO - Project ctest-TestBasicPolicy-63205754 not found, creating it
2026-01-12 02:03:51,177 - INFO - Created Project:ctest-TestBasicPolicy-63205754, ID : 6785e418-cd53-45c9-b8f4-2faa091f2624
2026-01-12 02:03:52,594 - INFO - ================================================================================
2026-01-12 02:03:52,594 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-12 02:03:52,594 - 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-12 02:03:52,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2026-01-12 02:03:52,852 - INFO - Initial checks done. Running the testcase now
2026-01-12 02:03:52,852 - INFO -
2026-01-12 02:03:53,390 - DEBUG - Response for create_network : {'network': {'id': '13d16b7b-f593-4b82-ac28-89ea736c8d64', 'name': 'ctest-vn-31728736', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'project_id': '6785e418cd5345c9b8f42faa091f2624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-vn-31728736'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:03:53,567 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca6c802b-8a76-4765-b7a9-2c89f9655cb7', 'name': '', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'network_id': '13d16b7b-f593-4b82-ac28-89ea736c8d64', 'ip_version': 4, 'cidr': '205.116.162.192/26', 'allocation_pools': [{'start': '205.116.162.194', 'end': '205.116.162.254'}], 'gateway_ip': '205.116.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.116.162.194', 'tags': [], 'project_id': '6785e418cd5345c9b8f42faa091f2624'}}
2026-01-12 02:03:53,585 - INFO - Created VN ctest-vn-31728736
2026-01-12 02:03:53,635 - DEBUG - VN ctest-vn-31728736 UUID is 13d16b7b-f593-4b82-ac28-89ea736c8d64
2026-01-12 02:03:53,963 - DEBUG - Response for create_network : {'network': {'id': '57ef5bc5-5cf4-457a-8d5f-306e4aa5f189', 'name': 'ctest-vn-08858607', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'project_id': '6785e418cd5345c9b8f42faa091f2624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-vn-08858607'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:03:54,166 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a9023e8-e545-4f89-b093-c823586a5a7d', 'name': '', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'network_id': '57ef5bc5-5cf4-457a-8d5f-306e4aa5f189', 'ip_version': 4, 'cidr': '198.15.121.128/26', 'allocation_pools': [{'start': '198.15.121.130', 'end': '198.15.121.190'}], 'gateway_ip': '198.15.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.15.121.130', 'tags': [], 'project_id': '6785e418cd5345c9b8f42faa091f2624'}}
2026-01-12 02:03:54,184 - INFO - Created VN ctest-vn-08858607
2026-01-12 02:03:54,235 - DEBUG - VN ctest-vn-08858607 UUID is 57ef5bc5-5cf4-457a-8d5f-306e4aa5f189
2026-01-12 02:03:54,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736, 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-63205754:ctest-vn-08858607, 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-12 02:03:54,681 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '13d16b7b-f593-4b82-ac28-89ea736c8d64', 'name': 'ctest-vn-31728736', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'project_id': '6785e418cd5345c9b8f42faa091f2624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca6c802b-8a76-4765-b7a9-2c89f9655cb7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-vn-31728736'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-policy-allow-all-63219504']], 'subnet_ipam': [{'subnet_cidr': '205.116.162.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:03:54,912 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57ef5bc5-5cf4-457a-8d5f-306e4aa5f189', 'name': 'ctest-vn-08858607', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'project_id': '6785e418cd5345c9b8f42faa091f2624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a9023e8-e545-4f89-b093-c823586a5a7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-vn-08858607'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-policy-allow-all-63219504']], 'subnet_ipam': [{'subnet_cidr': '198.15.121.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:03:55,083 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-12 02:03:55,383 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-12 02:03:55,409 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955
2026-01-12 02:03:55,419 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624
2026-01-12 02:03:55,489 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64
2026-01-12 02:03:55,499 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64
2026-01-12 02:03:55,507 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda
2026-01-12 02:03:55,515 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda
2026-01-12 02:03:55,522 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3f86bb43-e88c-43a1-9472-326053be2f18
2026-01-12 02:03:55,528 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-12 02:03:55,528 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64
2026-01-12 02:03:55,536 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda
2026-01-12 02:03:55,548 - INFO - Verified VN network id 11 for VN 13d16b7b-f593-4b82-ac28-89ea736c8d64
2026-01-12 02:03:55,548 - INFO - Verifications in API Server for VN ctest-vn-31728736 passed
2026-01-12 02:03:55,548 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64
2026-01-12 02:03:55,557 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda
2026-01-12 02:03:55,562 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda
2026-01-12 02:03:55,568 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3f86bb43-e88c-43a1-9472-326053be2f18
2026-01-12 02:03:55,578 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63205754', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1428040736998378370', 'uuid-lslong': '12405316813643877732'}, 'enable': 'true', 'created': '2026-01-12T02:03:53', 'last-modified': '2026-01-12T02:03:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922802'}
2026-01-12 02:03:55,584 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-12 02:03:55,584 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31728736 passed
2026-01-12 02:03:55,584 - DEBUG - ====Verifying policy data for ctest-vn-31728736 in API_Server ======
2026-01-12 02:03:55,584 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-12 02:03:55,589 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955
2026-01-12 02:03:55,598 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624
2026-01-12 02:03:55,666 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64
2026-01-12 02:03:55,674 - DEBUG - ==>Verifying data for policy with id: c524ce93-81f0-4ee2-a38e-d1082b1855a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-policy-allow-all-63219504']
2026-01-12 02:03:55,674 - INFO - VN ctest-vn-31728736 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-12 02:03:55,674 - DEBUG - Verifying the vn in opserver
2026-01-12 02:03:55,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736 virtual network link through opserver 10.0.0.249
2026-01-12 02:03:55,674 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-12 02:03:55,977 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-12 02:03:56,033 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736?flat'}
2026-01-12 02:03:56,033 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736 is found in opserver
2026-01-12 02:03:56,041 - DEBUG - Do not have enough data to verify VN in agent
2026-01-12 02:03:56,045 - DEBUG - VRF ids for VN ctest-vn-31728736: {}
2026-01-12 02:03:56,045 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-12 02:03:56,049 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955
2026-01-12 02:03:56,058 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624
2026-01-12 02:03:56,123 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189
2026-01-12 02:03:56,133 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189
2026-01-12 02:03:56,141 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7
2026-01-12 02:03:56,147 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7
2026-01-12 02:03:56,152 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9d33826a-9311-4adb-935e-a1aa539845f3
2026-01-12 02:03:56,157 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-12 02:03:56,157 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189
2026-01-12 02:03:56,164 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7
2026-01-12 02:03:56,175 - INFO - Verified VN network id 12 for VN 57ef5bc5-5cf4-457a-8d5f-306e4aa5f189
2026-01-12 02:03:56,175 - INFO - Verifications in API Server for VN ctest-vn-08858607 passed
2026-01-12 02:03:56,176 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189
2026-01-12 02:03:56,182 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7
2026-01-12 02:03:56,188 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7
2026-01-12 02:03:56,193 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9d33826a-9311-4adb-935e-a1aa539845f3
2026-01-12 02:03:56,203 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63205754', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6336384103959774586', 'uuid-lslong': '10186914132392276361'}, 'enable': 'true', 'created': '2026-01-12T02:03:53', 'last-modified': '2026-01-12T02:03:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.314121'}
2026-01-12 02:03:56,209 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-12 02:03:56,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08858607 passed
2026-01-12 02:03:56,210 - DEBUG - ====Verifying policy data for ctest-vn-08858607 in API_Server ======
2026-01-12 02:03:56,210 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-12 02:03:56,215 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955
2026-01-12 02:03:56,225 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624
2026-01-12 02:03:56,291 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189
2026-01-12 02:03:56,300 - DEBUG - ==>Verifying data for policy with id: c524ce93-81f0-4ee2-a38e-d1082b1855a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-policy-allow-all-63219504']
2026-01-12 02:03:56,300 - INFO - VN ctest-vn-08858607 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-12 02:03:56,300 - DEBUG - Verifying the vn in opserver
2026-01-12 02:03:56,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607 virtual network link through opserver 10.0.0.249
2026-01-12 02:03:56,300 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-12 02:03:56,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607?flat'}
2026-01-12 02:03:56,309 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607 is found in opserver
2026-01-12 02:03:56,318 - DEBUG - Do not have enough data to verify VN in agent
2026-01-12 02:03:56,322 - DEBUG - VRF ids for VN ctest-vn-08858607: {}
2026-01-12 02:03:56,373 - DEBUG - Services list from nova: [