2026-06-02 10:26:46,502 - INFO - Domain Default found not creating
2026-06-02 10:26:46,711 - INFO - Project ctest-TestBasicPolicy-29750392 not found, creating it
2026-06-02 10:26:47,199 - INFO - Created Project:ctest-TestBasicPolicy-29750392, ID : 02b5a2d9-cbe4-4c73-bdb7-d53ae3aa5173
2026-06-02 10:26:48,795 - INFO - ================================================================================
2026-06-02 10:26:48,795 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-02 10:26:48,795 - 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-06-02 10:26:49,068 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.129': '0'}} with
2026-06-02 10:26:49,068 - INFO - Initial checks done. Running the testcase now
2026-06-02 10:26:49,068 - INFO -
2026-06-02 10:26:49,832 - DEBUG - Response for create_network : {'network': {'id': '365bf329-5c1b-404a-be01-9c16caf60e37', 'name': 'ctest-vn-70642245', 'tenant_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'project_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29750392', 'ctest-vn-70642245'], 'port_security_enabled': True, 'description': ''}}
2026-06-02 10:26:50,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd7e1699-c861-4a4d-9a6d-f16fcf6a0b77', 'name': '', 'tenant_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'network_id': '365bf329-5c1b-404a-be01-9c16caf60e37', 'ip_version': 4, 'cidr': '214.86.132.64/26', 'allocation_pools': [{'start': '214.86.132.66', 'end': '214.86.132.126'}], 'gateway_ip': '214.86.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.86.132.66', 'tags': [], 'project_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173'}}
2026-06-02 10:26:50,070 - INFO - Created VN ctest-vn-70642245
2026-06-02 10:26:50,126 - DEBUG - VN ctest-vn-70642245 UUID is 365bf329-5c1b-404a-be01-9c16caf60e37
2026-06-02 10:26:50,440 - DEBUG - Response for create_network : {'network': {'id': 'b23cf28c-c0a1-4b24-bd99-8963007bc576', 'name': 'ctest-vn-15198079', 'tenant_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'project_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29750392', 'ctest-vn-15198079'], 'port_security_enabled': True, 'description': ''}}
2026-06-02 10:26:50,634 - DEBUG - Response for create_subnet : {'subnet': {'id': '98a577f9-5838-4e69-9470-1d6bfaf6f8fd', 'name': '', 'tenant_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'network_id': 'b23cf28c-c0a1-4b24-bd99-8963007bc576', 'ip_version': 4, 'cidr': '98.60.81.128/26', 'allocation_pools': [{'start': '98.60.81.130', 'end': '98.60.81.190'}], 'gateway_ip': '98.60.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.60.81.130', 'tags': [], 'project_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173'}}
2026-06-02 10:26:50,654 - INFO - Created VN ctest-vn-15198079
2026-06-02 10:26:50,710 - DEBUG - VN ctest-vn-15198079 UUID is b23cf28c-c0a1-4b24-bd99-8963007bc576
2026-06-02 10:26:50,828 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-70642245, 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-29750392:ctest-vn-15198079, 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-06-02 10:26:51,147 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '365bf329-5c1b-404a-be01-9c16caf60e37', 'name': 'ctest-vn-70642245', 'tenant_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'project_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd7e1699-c861-4a4d-9a6d-f16fcf6a0b77'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29750392', 'ctest-vn-70642245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29750392', 'ctest-policy-allow-all-76800325']], 'subnet_ipam': [{'subnet_cidr': '214.86.132.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-02 10:26:51,407 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b23cf28c-c0a1-4b24-bd99-8963007bc576', 'name': 'ctest-vn-15198079', 'tenant_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'project_id': '02b5a2d9cbe44c73bdb7d53ae3aa5173', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['98a577f9-5838-4e69-9470-1d6bfaf6f8fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29750392', 'ctest-vn-15198079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29750392', 'ctest-policy-allow-all-76800325']], 'subnet_ipam': [{'subnet_cidr': '98.60.81.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-02 10:26:51,586 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 10:26:51,887 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 10:26:51,922 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2f8a63d-4d2a-40c6-967f-5c102316db85
2026-06-02 10:26:51,935 - DEBUG - Requesting: http://10.0.0.50:8082/project/02b5a2d9-cbe4-4c73-bdb7-d53ae3aa5173
2026-06-02 10:26:52,011 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/365bf329-5c1b-404a-be01-9c16caf60e37
2026-06-02 10:26:52,024 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/365bf329-5c1b-404a-be01-9c16caf60e37
2026-06-02 10:26:52,035 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4ca9e5-7ca7-4ef2-b61f-f488e3726ab5
2026-06-02 10:26:52,044 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4ca9e5-7ca7-4ef2-b61f-f488e3726ab5
2026-06-02 10:26:52,052 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e8ea0453-0302-4892-b89e-5785ca38f8c7
2026-06-02 10:26:52,059 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-02 10:26:52,060 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/365bf329-5c1b-404a-be01-9c16caf60e37
2026-06-02 10:26:52,069 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4ca9e5-7ca7-4ef2-b61f-f488e3726ab5
2026-06-02 10:26:52,085 - INFO - Verified VN network id 12 for VN 365bf329-5c1b-404a-be01-9c16caf60e37
2026-06-02 10:26:52,085 - INFO - Verifications in API Server for VN ctest-vn-70642245 passed
2026-06-02 10:26:52,085 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/365bf329-5c1b-404a-be01-9c16caf60e37
2026-06-02 10:26:52,094 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4ca9e5-7ca7-4ef2-b61f-f488e3726ab5
2026-06-02 10:26:52,102 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba4ca9e5-7ca7-4ef2-b61f-f488e3726ab5
2026-06-02 10:26:52,110 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e8ea0453-0302-4892-b89e-5785ca38f8c7
2026-06-02 10:26:52,122 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-70642245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29750392', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3916991659893276746', 'uuid-lslong': '13691395963891355191'}, 'enable': 'true', 'created': '2026-06-02T10:26:49', 'last-modified': '2026-06-02T10:26:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.020391'}
2026-06-02 10:26:52,129 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-02 10:26:52,129 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70642245 passed
2026-06-02 10:26:52,129 - DEBUG - ====Verifying policy data for ctest-vn-70642245 in API_Server ======
2026-06-02 10:26:52,129 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 10:26:52,135 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2f8a63d-4d2a-40c6-967f-5c102316db85
2026-06-02 10:26:52,149 - DEBUG - Requesting: http://10.0.0.50:8082/project/02b5a2d9-cbe4-4c73-bdb7-d53ae3aa5173
2026-06-02 10:26:52,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/365bf329-5c1b-404a-be01-9c16caf60e37
2026-06-02 10:26:52,236 - DEBUG - ==>Verifying data for policy with id: 210f220d-cf54-4662-a109-07583980640d, fqn: ['default-domain', 'ctest-TestBasicPolicy-29750392', 'ctest-policy-allow-all-76800325']
2026-06-02 10:26:52,236 - INFO - VN ctest-vn-70642245 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-02 10:26:52,236 - DEBUG - Verifying the vn in opserver
2026-06-02 10:26:52,236 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-70642245 virtual network link through opserver 10.0.0.50
2026-06-02 10:26:52,236 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-02 10:26:52,535 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-02 10:26:52,598 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-70642245', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-70642245?flat'}
2026-06-02 10:26:52,598 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-70642245 is found in opserver
2026-06-02 10:26:52,608 - DEBUG - Do not have enough data to verify VN in agent
2026-06-02 10:26:52,613 - DEBUG - VRF ids for VN ctest-vn-70642245: {}
2026-06-02 10:26:52,613 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 10:26:52,619 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2f8a63d-4d2a-40c6-967f-5c102316db85
2026-06-02 10:26:52,629 - DEBUG - Requesting: http://10.0.0.50:8082/project/02b5a2d9-cbe4-4c73-bdb7-d53ae3aa5173
2026-06-02 10:26:52,705 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b23cf28c-c0a1-4b24-bd99-8963007bc576
2026-06-02 10:26:52,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b23cf28c-c0a1-4b24-bd99-8963007bc576
2026-06-02 10:26:52,729 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a25db430-811c-4510-8f34-b6c91077525c
2026-06-02 10:26:52,737 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a25db430-811c-4510-8f34-b6c91077525c
2026-06-02 10:26:52,745 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fad86184-0d3f-45f4-9f44-b548d47915c0
2026-06-02 10:26:52,754 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-02 10:26:52,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b23cf28c-c0a1-4b24-bd99-8963007bc576
2026-06-02 10:26:52,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a25db430-811c-4510-8f34-b6c91077525c
2026-06-02 10:26:52,783 - INFO - Verified VN network id 13 for VN b23cf28c-c0a1-4b24-bd99-8963007bc576
2026-06-02 10:26:52,783 - INFO - Verifications in API Server for VN ctest-vn-15198079 passed
2026-06-02 10:26:52,783 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b23cf28c-c0a1-4b24-bd99-8963007bc576
2026-06-02 10:26:52,794 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a25db430-811c-4510-8f34-b6c91077525c
2026-06-02 10:26:52,803 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a25db430-811c-4510-8f34-b6c91077525c
2026-06-02 10:26:52,811 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fad86184-0d3f-45f4-9f44-b548d47915c0
2026-06-02 10:26:52,825 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-15198079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29750392', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12843406923694951204', 'uuid-lslong': '13662102002907989366'}, 'enable': 'true', 'created': '2026-06-02T10:26:50', 'last-modified': '2026-06-02T10:26:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.465288'}
2026-06-02 10:26:52,832 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-02 10:26:52,832 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15198079 passed
2026-06-02 10:26:52,832 - DEBUG - ====Verifying policy data for ctest-vn-15198079 in API_Server ======
2026-06-02 10:26:52,832 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 10:26:52,839 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2f8a63d-4d2a-40c6-967f-5c102316db85
2026-06-02 10:26:52,853 - DEBUG - Requesting: http://10.0.0.50:8082/project/02b5a2d9-cbe4-4c73-bdb7-d53ae3aa5173
2026-06-02 10:26:52,926 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b23cf28c-c0a1-4b24-bd99-8963007bc576
2026-06-02 10:26:52,935 - DEBUG - ==>Verifying data for policy with id: 210f220d-cf54-4662-a109-07583980640d, fqn: ['default-domain', 'ctest-TestBasicPolicy-29750392', 'ctest-policy-allow-all-76800325']
2026-06-02 10:26:52,935 - INFO - VN ctest-vn-15198079 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-02 10:26:52,935 - DEBUG - Verifying the vn in opserver
2026-06-02 10:26:52,936 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-15198079 virtual network link through opserver 10.0.0.50
2026-06-02 10:26:52,936 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-02 10:26:52,946 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-15198079', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-15198079?flat'}
2026-06-02 10:26:52,946 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29750392:ctest-vn-15198079 is found in opserver
2026-06-02 10:26:52,956 - DEBUG - Do not have enough data to verify VN in agent
2026-06-02 10:26:52,961 - DEBUG - VRF ids for VN ctest-vn-15198079: {}
2026-06-02 10:26:53,031 - DEBUG - Services list from nova: [