2026-09-16 13:48:58,094 - INFO - Domain Default found not creating
2026-09-16 13:48:58,266 - INFO - Project ctest-TestBasicPolicy-44288715 not found, creating it
2026-09-16 13:48:58,760 - INFO - Created Project:ctest-TestBasicPolicy-44288715, ID : 11b16dc7-4849-408e-a614-92e06fcf2e0f
2026-09-16 13:49:00,449 - INFO - ================================================================================
2026-09-16 13:49:00,449 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-16 13:49:00,449 - 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-09-16 13:49:00,727 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-09-16 13:49:00,727 - INFO - Initial checks done. Running the testcase now
2026-09-16 13:49:00,727 - INFO -
2026-09-16 13:49:01,363 - DEBUG - Response for create_network : {'network': {'id': '00008f9a-23c3-4d49-913b-65db37b2aaed', 'name': 'ctest-vn-81162446', 'tenant_id': '11b16dc74849408ea61492e06fcf2e0f', 'project_id': '11b16dc74849408ea61492e06fcf2e0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44288715', 'ctest-vn-81162446'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:49:01,524 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0de4824-995c-45c5-9e18-00932f90c7aa', 'name': '', 'tenant_id': '11b16dc74849408ea61492e06fcf2e0f', 'network_id': '00008f9a-23c3-4d49-913b-65db37b2aaed', 'ip_version': 4, 'cidr': '163.248.104.192/26', 'allocation_pools': [{'start': '163.248.104.194', 'end': '163.248.104.254'}], 'gateway_ip': '163.248.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.248.104.194', 'tags': [], 'project_id': '11b16dc74849408ea61492e06fcf2e0f'}}
2026-09-16 13:49:01,542 - INFO - Created VN ctest-vn-81162446
2026-09-16 13:49:01,597 - DEBUG - VN ctest-vn-81162446 UUID is 00008f9a-23c3-4d49-913b-65db37b2aaed
2026-09-16 13:49:01,930 - DEBUG - Response for create_network : {'network': {'id': 'c4660aeb-45cc-433c-8d39-167346de66fc', 'name': 'ctest-vn-73005531', 'tenant_id': '11b16dc74849408ea61492e06fcf2e0f', 'project_id': '11b16dc74849408ea61492e06fcf2e0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44288715', 'ctest-vn-73005531'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:49:02,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd0fa2e6-ec0c-4204-a39f-0c9c1864913b', 'name': '', 'tenant_id': '11b16dc74849408ea61492e06fcf2e0f', 'network_id': 'c4660aeb-45cc-433c-8d39-167346de66fc', 'ip_version': 4, 'cidr': '75.152.5.192/26', 'allocation_pools': [{'start': '75.152.5.194', 'end': '75.152.5.254'}], 'gateway_ip': '75.152.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.152.5.194', 'tags': [], 'project_id': '11b16dc74849408ea61492e06fcf2e0f'}}
2026-09-16 13:49:02,189 - INFO - Created VN ctest-vn-73005531
2026-09-16 13:49:02,241 - DEBUG - VN ctest-vn-73005531 UUID is c4660aeb-45cc-433c-8d39-167346de66fc
2026-09-16 13:49:02,358 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-81162446, 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-44288715:ctest-vn-73005531, 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-09-16 13:49:02,686 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00008f9a-23c3-4d49-913b-65db37b2aaed', 'name': 'ctest-vn-81162446', 'tenant_id': '11b16dc74849408ea61492e06fcf2e0f', 'project_id': '11b16dc74849408ea61492e06fcf2e0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b0de4824-995c-45c5-9e18-00932f90c7aa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44288715', 'ctest-vn-81162446'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44288715', 'ctest-policy-allow-all-25302964']], 'subnet_ipam': [{'subnet_cidr': '163.248.104.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:49:02,941 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4660aeb-45cc-433c-8d39-167346de66fc', 'name': 'ctest-vn-73005531', 'tenant_id': '11b16dc74849408ea61492e06fcf2e0f', 'project_id': '11b16dc74849408ea61492e06fcf2e0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['fd0fa2e6-ec0c-4204-a39f-0c9c1864913b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44288715', 'ctest-vn-73005531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44288715', 'ctest-policy-allow-all-25302964']], 'subnet_ipam': [{'subnet_cidr': '75.152.5.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:49:03,109 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-16 13:49:03,488 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-16 13:49:03,522 - DEBUG - Requesting: http://10.0.0.177:8082/domain/bbb654c8-6af1-4af3-bd16-6ed059a899ed
2026-09-16 13:49:03,537 - DEBUG - Requesting: http://10.0.0.177:8082/project/11b16dc7-4849-408e-a614-92e06fcf2e0f
2026-09-16 13:49:03,611 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/00008f9a-23c3-4d49-913b-65db37b2aaed
2026-09-16 13:49:03,627 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/00008f9a-23c3-4d49-913b-65db37b2aaed
2026-09-16 13:49:03,636 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bdc1913c-0ded-4bd9-a74c-ecc129213b64
2026-09-16 13:49:03,644 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bdc1913c-0ded-4bd9-a74c-ecc129213b64
2026-09-16 13:49:03,652 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d6f88ae2-09cf-4d5c-b753-80960cfbe179
2026-09-16 13:49:03,660 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:49:03,660 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/00008f9a-23c3-4d49-913b-65db37b2aaed
2026-09-16 13:49:03,671 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bdc1913c-0ded-4bd9-a74c-ecc129213b64
2026-09-16 13:49:03,689 - INFO - Verified VN network id 12 for VN 00008f9a-23c3-4d49-913b-65db37b2aaed
2026-09-16 13:49:03,689 - INFO - Verifications in API Server for VN ctest-vn-81162446 passed
2026-09-16 13:49:03,689 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/00008f9a-23c3-4d49-913b-65db37b2aaed
2026-09-16 13:49:03,699 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bdc1913c-0ded-4bd9-a74c-ecc129213b64
2026-09-16 13:49:03,707 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bdc1913c-0ded-4bd9-a74c-ecc129213b64
2026-09-16 13:49:03,716 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d6f88ae2-09cf-4d5c-b753-80960cfbe179
2026-09-16 13:49:03,731 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-81162446', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44288715', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '157892187737417', 'uuid-lslong': '10465070151332178669'}, 'enable': 'true', 'created': '2026-09-16T13:49:01', 'last-modified': '2026-09-16T13:49:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.069761'}
2026-09-16 13:49:03,740 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:49:03,740 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81162446 passed
2026-09-16 13:49:03,740 - DEBUG - ====Verifying policy data for ctest-vn-81162446 in API_Server ======
2026-09-16 13:49:03,740 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-16 13:49:03,748 - DEBUG - Requesting: http://10.0.0.177:8082/domain/bbb654c8-6af1-4af3-bd16-6ed059a899ed
2026-09-16 13:49:03,763 - DEBUG - Requesting: http://10.0.0.177:8082/project/11b16dc7-4849-408e-a614-92e06fcf2e0f
2026-09-16 13:49:03,845 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/00008f9a-23c3-4d49-913b-65db37b2aaed
2026-09-16 13:49:03,856 - DEBUG - ==>Verifying data for policy with id: 26ac3ea0-3403-4caa-b7e5-85f80d0dd7be, fqn: ['default-domain', 'ctest-TestBasicPolicy-44288715', 'ctest-policy-allow-all-25302964']
2026-09-16 13:49:03,856 - INFO - VN ctest-vn-81162446 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:49:03,856 - DEBUG - Verifying the vn in opserver
2026-09-16 13:49:03,856 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-81162446 virtual network link through opserver 10.0.0.177
2026-09-16 13:49:03,856 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-16 13:49:04,228 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-16 13:49:04,289 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-81162446', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-81162446?flat'}
2026-09-16 13:49:04,289 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-81162446 is found in opserver
2026-09-16 13:49:04,300 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:49:04,305 - DEBUG - VRF ids for VN ctest-vn-81162446: {}
2026-09-16 13:49:04,306 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-16 13:49:04,311 - DEBUG - Requesting: http://10.0.0.177:8082/domain/bbb654c8-6af1-4af3-bd16-6ed059a899ed
2026-09-16 13:49:04,322 - DEBUG - Requesting: http://10.0.0.177:8082/project/11b16dc7-4849-408e-a614-92e06fcf2e0f
2026-09-16 13:49:04,399 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c4660aeb-45cc-433c-8d39-167346de66fc
2026-09-16 13:49:04,410 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c4660aeb-45cc-433c-8d39-167346de66fc
2026-09-16 13:49:04,419 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/46b1b85b-c76a-443b-b795-dc53489fac20
2026-09-16 13:49:04,426 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/46b1b85b-c76a-443b-b795-dc53489fac20
2026-09-16 13:49:04,432 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/770ba3e3-3bbe-49e9-93bb-3d8d5e503c17
2026-09-16 13:49:04,437 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:49:04,437 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c4660aeb-45cc-433c-8d39-167346de66fc
2026-09-16 13:49:04,445 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/46b1b85b-c76a-443b-b795-dc53489fac20
2026-09-16 13:49:04,458 - INFO - Verified VN network id 13 for VN c4660aeb-45cc-433c-8d39-167346de66fc
2026-09-16 13:49:04,458 - INFO - Verifications in API Server for VN ctest-vn-73005531 passed
2026-09-16 13:49:04,458 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c4660aeb-45cc-433c-8d39-167346de66fc
2026-09-16 13:49:04,465 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/46b1b85b-c76a-443b-b795-dc53489fac20
2026-09-16 13:49:04,471 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/46b1b85b-c76a-443b-b795-dc53489fac20
2026-09-16 13:49:04,477 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/770ba3e3-3bbe-49e9-93bb-3d8d5e503c17
2026-09-16 13:49:04,489 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-73005531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44288715', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14152010884662969148', 'uuid-lslong': '10176189517386376956'}, 'enable': 'true', 'created': '2026-09-16T13:49:01', 'last-modified': '2026-09-16T13:49:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.583174'}
2026-09-16 13:49:04,496 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:49:04,496 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73005531 passed
2026-09-16 13:49:04,496 - DEBUG - ====Verifying policy data for ctest-vn-73005531 in API_Server ======
2026-09-16 13:49:04,496 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-16 13:49:04,502 - DEBUG - Requesting: http://10.0.0.177:8082/domain/bbb654c8-6af1-4af3-bd16-6ed059a899ed
2026-09-16 13:49:04,512 - DEBUG - Requesting: http://10.0.0.177:8082/project/11b16dc7-4849-408e-a614-92e06fcf2e0f
2026-09-16 13:49:04,595 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c4660aeb-45cc-433c-8d39-167346de66fc
2026-09-16 13:49:04,604 - DEBUG - ==>Verifying data for policy with id: 26ac3ea0-3403-4caa-b7e5-85f80d0dd7be, fqn: ['default-domain', 'ctest-TestBasicPolicy-44288715', 'ctest-policy-allow-all-25302964']
2026-09-16 13:49:04,604 - INFO - VN ctest-vn-73005531 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:49:04,604 - DEBUG - Verifying the vn in opserver
2026-09-16 13:49:04,604 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-73005531 virtual network link through opserver 10.0.0.177
2026-09-16 13:49:04,604 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-16 13:49:04,615 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-73005531', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-73005531?flat'}
2026-09-16 13:49:04,615 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44288715:ctest-vn-73005531 is found in opserver
2026-09-16 13:49:04,623 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:49:04,627 - DEBUG - VRF ids for VN ctest-vn-73005531: {}
2026-09-16 13:49:04,691 - DEBUG - Services list from nova: [