2026-03-23 15:29:46,707 - INFO - Domain Default found not creating
2026-03-23 15:29:46,877 - INFO - Project ctest-TestBasicPolicy-03759992 not found, creating it
2026-03-23 15:29:47,372 - INFO - Created Project:ctest-TestBasicPolicy-03759992, ID : 217b210a-6896-43ef-a5a3-24be00ea67ba
2026-03-23 15:29:49,044 - INFO - ================================================================================
2026-03-23 15:29:49,044 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-23 15:29:49,044 - 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-03-23 15:29:49,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-03-23 15:29:49,320 - INFO - Initial checks done. Running the testcase now
2026-03-23 15:29:49,321 - INFO -
2026-03-23 15:29:49,965 - DEBUG - Response for create_network : {'network': {'id': '63a1fb44-5a32-4e2c-b518-b4e3bb922819', 'name': 'ctest-vn-05808300', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'project_id': '217b210a689643efa5a324be00ea67ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-vn-05808300'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 15:29:50,365 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb082ecd-44ad-4650-a8db-c88805eb558c', 'name': '', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'network_id': '63a1fb44-5a32-4e2c-b518-b4e3bb922819', 'ip_version': 4, 'cidr': '154.173.229.0/26', 'allocation_pools': [{'start': '154.173.229.2', 'end': '154.173.229.62'}], 'gateway_ip': '154.173.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.173.229.2', 'tags': [], 'project_id': '217b210a689643efa5a324be00ea67ba'}}
2026-03-23 15:29:50,390 - INFO - Created VN ctest-vn-05808300
2026-03-23 15:29:50,451 - DEBUG - VN ctest-vn-05808300 UUID is 63a1fb44-5a32-4e2c-b518-b4e3bb922819
2026-03-23 15:29:50,940 - DEBUG - Response for create_network : {'network': {'id': '9d897947-208b-498f-8194-2ba9eca0620a', 'name': 'ctest-vn-39975104', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'project_id': '217b210a689643efa5a324be00ea67ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-vn-39975104'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 15:29:51,151 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a078ceed-d341-437e-9bdf-b794d2e2b48c', 'name': '', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'network_id': '9d897947-208b-498f-8194-2ba9eca0620a', 'ip_version': 4, 'cidr': '55.112.220.0/26', 'allocation_pools': [{'start': '55.112.220.2', 'end': '55.112.220.62'}], 'gateway_ip': '55.112.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.112.220.2', 'tags': [], 'project_id': '217b210a689643efa5a324be00ea67ba'}}
2026-03-23 15:29:51,171 - INFO - Created VN ctest-vn-39975104
2026-03-23 15:29:51,231 - DEBUG - VN ctest-vn-39975104 UUID is 9d897947-208b-498f-8194-2ba9eca0620a
2026-03-23 15:29:51,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300, 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-03759992:ctest-vn-39975104, 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-03-23 15:29:51,712 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '63a1fb44-5a32-4e2c-b518-b4e3bb922819', 'name': 'ctest-vn-05808300', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'project_id': '217b210a689643efa5a324be00ea67ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb082ecd-44ad-4650-a8db-c88805eb558c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-vn-05808300'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-policy-allow-all-64700910']], 'subnet_ipam': [{'subnet_cidr': '154.173.229.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 15:29:51,958 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d897947-208b-498f-8194-2ba9eca0620a', 'name': 'ctest-vn-39975104', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'project_id': '217b210a689643efa5a324be00ea67ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a078ceed-d341-437e-9bdf-b794d2e2b48c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-vn-39975104'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-policy-allow-all-64700910']], 'subnet_ipam': [{'subnet_cidr': '55.112.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 15:29:52,124 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-23 15:29:52,461 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-23 15:29:52,498 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2
2026-03-23 15:29:52,514 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba
2026-03-23 15:29:52,597 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819
2026-03-23 15:29:52,611 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819
2026-03-23 15:29:52,622 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e
2026-03-23 15:29:52,630 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e
2026-03-23 15:29:52,637 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a29c261-8480-4413-87a7-fa1bc7a5470d
2026-03-23 15:29:52,644 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 15:29:52,644 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819
2026-03-23 15:29:52,656 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e
2026-03-23 15:29:52,672 - INFO - Verified VN network id 10 for VN 63a1fb44-5a32-4e2c-b518-b4e3bb922819
2026-03-23 15:29:52,672 - INFO - Verifications in API Server for VN ctest-vn-05808300 passed
2026-03-23 15:29:52,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819
2026-03-23 15:29:52,684 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e
2026-03-23 15:29:52,694 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e
2026-03-23 15:29:52,703 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a29c261-8480-4413-87a7-fa1bc7a5470d
2026-03-23 15:29:52,715 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03759992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7179295551994875436', 'uuid-lslong': '13049378810503505945'}, 'enable': 'true', 'created': '2026-03-23T15:29:49', 'last-modified': '2026-03-23T15:29:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033088'}
2026-03-23 15:29:52,721 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 15:29:52,721 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05808300 passed
2026-03-23 15:29:52,721 - DEBUG - ====Verifying policy data for ctest-vn-05808300 in API_Server ======
2026-03-23 15:29:52,721 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-23 15:29:52,727 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2
2026-03-23 15:29:52,740 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba
2026-03-23 15:29:52,813 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819
2026-03-23 15:29:52,824 - DEBUG - ==>Verifying data for policy with id: 25c22415-a9d2-4c6d-a304-8d176096e396, fqn: ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-policy-allow-all-64700910']
2026-03-23 15:29:52,825 - INFO - VN ctest-vn-05808300 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 15:29:52,825 - DEBUG - Verifying the vn in opserver
2026-03-23 15:29:52,825 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300 virtual network link through opserver 10.0.0.50
2026-03-23 15:29:52,825 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-23 15:29:53,154 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-23 15:29:53,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300?flat'}
2026-03-23 15:29:53,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300 is found in opserver
2026-03-23 15:29:53,239 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 15:29:53,244 - DEBUG - VRF ids for VN ctest-vn-05808300: {}
2026-03-23 15:29:53,244 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-23 15:29:53,251 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2
2026-03-23 15:29:53,264 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba
2026-03-23 15:29:53,335 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a
2026-03-23 15:29:53,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a
2026-03-23 15:29:53,356 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0
2026-03-23 15:29:53,365 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0
2026-03-23 15:29:53,374 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d1671f90-1933-4317-8cb5-1ae4f8d87b24
2026-03-23 15:29:53,382 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 15:29:53,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a
2026-03-23 15:29:53,393 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0
2026-03-23 15:29:53,410 - INFO - Verified VN network id 11 for VN 9d897947-208b-498f-8194-2ba9eca0620a
2026-03-23 15:29:53,411 - INFO - Verifications in API Server for VN ctest-vn-39975104 passed
2026-03-23 15:29:53,411 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a
2026-03-23 15:29:53,421 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0
2026-03-23 15:29:53,429 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0
2026-03-23 15:29:53,438 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d1671f90-1933-4317-8cb5-1ae4f8d87b24
2026-03-23 15:29:53,453 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03759992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11351737682159683983', 'uuid-lslong': '9337135936265282058'}, 'enable': 'true', 'created': '2026-03-23T15:29:50', 'last-modified': '2026-03-23T15:29:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518638'}
2026-03-23 15:29:53,461 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 15:29:53,461 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39975104 passed
2026-03-23 15:29:53,461 - DEBUG - ====Verifying policy data for ctest-vn-39975104 in API_Server ======
2026-03-23 15:29:53,461 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-23 15:29:53,469 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2
2026-03-23 15:29:53,483 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba
2026-03-23 15:29:53,557 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a
2026-03-23 15:29:53,567 - DEBUG - ==>Verifying data for policy with id: 25c22415-a9d2-4c6d-a304-8d176096e396, fqn: ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-policy-allow-all-64700910']
2026-03-23 15:29:53,567 - INFO - VN ctest-vn-39975104 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 15:29:53,567 - DEBUG - Verifying the vn in opserver
2026-03-23 15:29:53,567 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104 virtual network link through opserver 10.0.0.50
2026-03-23 15:29:53,567 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-23 15:29:53,578 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104?flat'}
2026-03-23 15:29:53,578 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104 is found in opserver
2026-03-23 15:29:53,590 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 15:29:53,596 - DEBUG - VRF ids for VN ctest-vn-39975104: {}
2026-03-23 15:29:53,672 - DEBUG - Services list from nova: [