2026-04-29 10:02:35,122 - INFO - Domain Default found not creating
2026-04-29 10:02:35,316 - INFO - Project ctest-TestBasicPolicy-06628559 not found, creating it
2026-04-29 10:02:35,796 - INFO - Created Project:ctest-TestBasicPolicy-06628559, ID : 990eb565-8b84-4a20-ac4a-4ddc1d4924e5
2026-04-29 10:02:37,453 - INFO - ================================================================================
2026-04-29 10:02:37,453 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-29 10:02:37,453 - 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-04-29 10:02:37,724 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-29 10:02:37,724 - INFO - Initial checks done. Running the testcase now
2026-04-29 10:02:37,724 - INFO -
2026-04-29 10:02:38,392 - DEBUG - Response for create_network : {'network': {'id': '90fd886f-ab69-4b4d-850c-ecd085966164', 'name': 'ctest-vn-57362174', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-vn-57362174'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 10:02:38,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '72d08db2-30bb-4919-8c0d-3d9818639025', 'name': '', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'network_id': '90fd886f-ab69-4b4d-850c-ecd085966164', 'ip_version': 4, 'cidr': '64.217.224.192/26', 'allocation_pools': [{'start': '64.217.224.194', 'end': '64.217.224.254'}], 'gateway_ip': '64.217.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.217.224.194', 'tags': [], 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5'}}
2026-04-29 10:02:38,671 - INFO - Created VN ctest-vn-57362174
2026-04-29 10:02:38,726 - DEBUG - VN ctest-vn-57362174 UUID is 90fd886f-ab69-4b4d-850c-ecd085966164
2026-04-29 10:02:39,063 - DEBUG - Response for create_network : {'network': {'id': '88bdaa17-e693-4179-abbd-331a65976bf3', 'name': 'ctest-vn-11183630', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-vn-11183630'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 10:02:39,290 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe15ba93-5639-4775-94c1-3843047e043d', 'name': '', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'network_id': '88bdaa17-e693-4179-abbd-331a65976bf3', 'ip_version': 4, 'cidr': '113.237.95.64/26', 'allocation_pools': [{'start': '113.237.95.66', 'end': '113.237.95.126'}], 'gateway_ip': '113.237.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.237.95.66', 'tags': [], 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5'}}
2026-04-29 10:02:39,312 - INFO - Created VN ctest-vn-11183630
2026-04-29 10:02:39,367 - DEBUG - VN ctest-vn-11183630 UUID is 88bdaa17-e693-4179-abbd-331a65976bf3
2026-04-29 10:02:39,491 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174, 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-06628559:ctest-vn-11183630, 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-04-29 10:02:39,831 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90fd886f-ab69-4b4d-850c-ecd085966164', 'name': 'ctest-vn-57362174', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72d08db2-30bb-4919-8c0d-3d9818639025'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-vn-57362174'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-policy-allow-all-86473741']], 'subnet_ipam': [{'subnet_cidr': '64.217.224.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-29 10:02:40,079 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88bdaa17-e693-4179-abbd-331a65976bf3', 'name': 'ctest-vn-11183630', 'tenant_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'project_id': '990eb5658b844a20ac4a4ddc1d4924e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe15ba93-5639-4775-94c1-3843047e043d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-vn-11183630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-policy-allow-all-86473741']], 'subnet_ipam': [{'subnet_cidr': '113.237.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-29 10:02:40,250 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 10:02:40,557 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 10:02:40,600 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8
2026-04-29 10:02:40,619 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5
2026-04-29 10:02:40,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164
2026-04-29 10:02:40,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164
2026-04-29 10:02:40,740 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63
2026-04-29 10:02:40,749 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63
2026-04-29 10:02:40,758 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d85629f0-3af1-40e6-a252-6ee0db167254
2026-04-29 10:02:40,765 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-29 10:02:40,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164
2026-04-29 10:02:40,776 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63
2026-04-29 10:02:40,791 - INFO - Verified VN network id 11 for VN 90fd886f-ab69-4b4d-850c-ecd085966164
2026-04-29 10:02:40,792 - INFO - Verifications in API Server for VN ctest-vn-57362174 passed
2026-04-29 10:02:40,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164
2026-04-29 10:02:40,803 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63
2026-04-29 10:02:40,811 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01d69d41-6e85-41c4-8226-663a3f290b63
2026-04-29 10:02:40,819 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d85629f0-3af1-40e6-a252-6ee0db167254
2026-04-29 10:02:40,834 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06628559', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10447656723767970637', 'uuid-lslong': '9587298087103521124'}, 'enable': 'true', 'created': '2026-04-29T10:02:38', 'last-modified': '2026-04-29T10:02:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.045237'}
2026-04-29 10:02:40,842 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-29 10:02:40,843 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57362174 passed
2026-04-29 10:02:40,843 - DEBUG - ====Verifying policy data for ctest-vn-57362174 in API_Server ======
2026-04-29 10:02:40,843 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 10:02:40,850 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8
2026-04-29 10:02:40,863 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5
2026-04-29 10:02:40,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/90fd886f-ab69-4b4d-850c-ecd085966164
2026-04-29 10:02:40,949 - DEBUG - ==>Verifying data for policy with id: de924424-09c1-406c-96e4-4c5c3b03da33, fqn: ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-policy-allow-all-86473741']
2026-04-29 10:02:40,949 - INFO - VN ctest-vn-57362174 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-29 10:02:40,949 - DEBUG - Verifying the vn in opserver
2026-04-29 10:02:40,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174 virtual network link through opserver 10.0.0.38
2026-04-29 10:02:40,949 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-29 10:02:41,253 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-29 10:02:41,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174?flat'}
2026-04-29 10:02:41,333 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-57362174 is found in opserver
2026-04-29 10:02:41,344 - DEBUG - Do not have enough data to verify VN in agent
2026-04-29 10:02:41,350 - DEBUG - VRF ids for VN ctest-vn-57362174: {}
2026-04-29 10:02:41,350 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 10:02:41,356 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8
2026-04-29 10:02:41,368 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5
2026-04-29 10:02:41,446 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3
2026-04-29 10:02:41,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3
2026-04-29 10:02:41,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0
2026-04-29 10:02:41,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0
2026-04-29 10:02:41,484 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/96990c01-63d4-48fb-b65d-acc713fb24c1
2026-04-29 10:02:41,493 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-29 10:02:41,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3
2026-04-29 10:02:41,504 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0
2026-04-29 10:02:41,525 - INFO - Verified VN network id 12 for VN 88bdaa17-e693-4179-abbd-331a65976bf3
2026-04-29 10:02:41,525 - INFO - Verifications in API Server for VN ctest-vn-11183630 passed
2026-04-29 10:02:41,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3
2026-04-29 10:02:41,536 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0
2026-04-29 10:02:41,545 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7cab98d-6890-460e-9026-fde076e603f0
2026-04-29 10:02:41,555 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/96990c01-63d4-48fb-b65d-acc713fb24c1
2026-04-29 10:02:41,570 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06628559', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9853218579385893241', 'uuid-lslong': '12375103539550579699'}, 'enable': 'true', 'created': '2026-04-29T10:02:39', 'last-modified': '2026-04-29T10:02:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.519029'}
2026-04-29 10:02:41,577 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-29 10:02:41,578 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11183630 passed
2026-04-29 10:02:41,578 - DEBUG - ====Verifying policy data for ctest-vn-11183630 in API_Server ======
2026-04-29 10:02:41,578 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 10:02:41,585 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab63ec03-c50f-4e96-aa00-87722ef1dbe8
2026-04-29 10:02:41,598 - DEBUG - Requesting: http://10.0.0.38:8082/project/990eb565-8b84-4a20-ac4a-4ddc1d4924e5
2026-04-29 10:02:41,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bdaa17-e693-4179-abbd-331a65976bf3
2026-04-29 10:02:41,688 - DEBUG - ==>Verifying data for policy with id: de924424-09c1-406c-96e4-4c5c3b03da33, fqn: ['default-domain', 'ctest-TestBasicPolicy-06628559', 'ctest-policy-allow-all-86473741']
2026-04-29 10:02:41,688 - INFO - VN ctest-vn-11183630 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-29 10:02:41,688 - DEBUG - Verifying the vn in opserver
2026-04-29 10:02:41,688 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630 virtual network link through opserver 10.0.0.38
2026-04-29 10:02:41,688 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-29 10:02:41,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630?flat'}
2026-04-29 10:02:41,699 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06628559:ctest-vn-11183630 is found in opserver
2026-04-29 10:02:41,712 - DEBUG - Do not have enough data to verify VN in agent
2026-04-29 10:02:41,719 - DEBUG - VRF ids for VN ctest-vn-11183630: {}
2026-04-29 10:02:41,789 - DEBUG - Services list from nova: [