2026-09-02 00:22:24,131 - INFO - Domain Default found not creating
2026-09-02 00:22:24,302 - INFO - Project ctest-TestBasicPolicy-35393627 not found, creating it
2026-09-02 00:22:24,788 - INFO - Created Project:ctest-TestBasicPolicy-35393627, ID : edb9de00-ee3c-4b1d-bae3-535e06b9d06d
2026-09-02 00:22:26,325 - INFO - ================================================================================
2026-09-02 00:22:26,325 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-02 00:22:26,325 - 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-02 00:22:26,585 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-09-02 00:22:26,585 - INFO - Initial checks done. Running the testcase now
2026-09-02 00:22:26,585 - INFO -
2026-09-02 00:22:27,176 - DEBUG - Response for create_network : {'network': {'id': '77e713f3-f195-450f-a767-0ddaf3f66a0c', 'name': 'ctest-vn-68791734', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-vn-68791734'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 00:22:27,395 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bf5f81d-1648-4560-8ddb-5a063b6d503f', 'name': '', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'network_id': '77e713f3-f195-450f-a767-0ddaf3f66a0c', 'ip_version': 4, 'cidr': '112.132.127.0/26', 'allocation_pools': [{'start': '112.132.127.2', 'end': '112.132.127.62'}], 'gateway_ip': '112.132.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.132.127.2', 'tags': [], 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d'}}
2026-09-02 00:22:27,412 - INFO - Created VN ctest-vn-68791734
2026-09-02 00:22:27,466 - DEBUG - VN ctest-vn-68791734 UUID is 77e713f3-f195-450f-a767-0ddaf3f66a0c
2026-09-02 00:22:27,781 - DEBUG - Response for create_network : {'network': {'id': 'c5ac0635-8cd2-458b-ac71-039a6d074ba6', 'name': 'ctest-vn-91621411', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-vn-91621411'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 00:22:27,999 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9a123c1-250f-4c24-a3e1-836f956cc67b', 'name': '', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'network_id': 'c5ac0635-8cd2-458b-ac71-039a6d074ba6', 'ip_version': 4, 'cidr': '64.222.75.0/26', 'allocation_pools': [{'start': '64.222.75.2', 'end': '64.222.75.62'}], 'gateway_ip': '64.222.75.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.222.75.2', 'tags': [], 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d'}}
2026-09-02 00:22:28,018 - INFO - Created VN ctest-vn-91621411
2026-09-02 00:22:28,070 - DEBUG - VN ctest-vn-91621411 UUID is c5ac0635-8cd2-458b-ac71-039a6d074ba6
2026-09-02 00:22:28,226 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734, 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-35393627:ctest-vn-91621411, 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-02 00:22:28,549 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '77e713f3-f195-450f-a767-0ddaf3f66a0c', 'name': 'ctest-vn-68791734', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9bf5f81d-1648-4560-8ddb-5a063b6d503f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-vn-68791734'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-policy-allow-all-64901544']], 'subnet_ipam': [{'subnet_cidr': '112.132.127.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 00:22:28,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c5ac0635-8cd2-458b-ac71-039a6d074ba6', 'name': 'ctest-vn-91621411', 'tenant_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'project_id': 'edb9de00ee3c4b1dbae3535e06b9d06d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b9a123c1-250f-4c24-a3e1-836f956cc67b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-vn-91621411'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-policy-allow-all-64901544']], 'subnet_ipam': [{'subnet_cidr': '64.222.75.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 00:22:28,966 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-02 00:22:29,286 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-02 00:22:29,312 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4
2026-09-02 00:22:29,326 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d
2026-09-02 00:22:29,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c
2026-09-02 00:22:29,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c
2026-09-02 00:22:29,425 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd
2026-09-02 00:22:29,433 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd
2026-09-02 00:22:29,440 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/09d54140-d641-4614-bd8d-638e52fb5b2e
2026-09-02 00:22:29,447 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 00:22:29,447 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c
2026-09-02 00:22:29,456 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd
2026-09-02 00:22:29,469 - INFO - Verified VN network id 12 for VN 77e713f3-f195-450f-a767-0ddaf3f66a0c
2026-09-02 00:22:29,469 - INFO - Verifications in API Server for VN ctest-vn-68791734 passed
2026-09-02 00:22:29,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c
2026-09-02 00:22:29,478 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd
2026-09-02 00:22:29,485 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88807a96-ea73-49fd-9bc1-1e53acdabfcd
2026-09-02 00:22:29,491 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/09d54140-d641-4614-bd8d-638e52fb5b2e
2026-09-02 00:22:29,505 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35393627', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8639896348584658191', 'uuid-lslong': '12062625360982206988'}, 'enable': 'true', 'created': '2026-09-02T00:22:27', 'last-modified': '2026-09-02T00:22:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981691'}
2026-09-02 00:22:29,514 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 00:22:29,515 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68791734 passed
2026-09-02 00:22:29,515 - DEBUG - ====Verifying policy data for ctest-vn-68791734 in API_Server ======
2026-09-02 00:22:29,515 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-02 00:22:29,521 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4
2026-09-02 00:22:29,536 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d
2026-09-02 00:22:29,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77e713f3-f195-450f-a767-0ddaf3f66a0c
2026-09-02 00:22:29,624 - DEBUG - ==>Verifying data for policy with id: bed56016-7683-4314-9313-b2e045a56918, fqn: ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-policy-allow-all-64901544']
2026-09-02 00:22:29,624 - INFO - VN ctest-vn-68791734 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 00:22:29,624 - DEBUG - Verifying the vn in opserver
2026-09-02 00:22:29,624 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734 virtual network link through opserver 10.0.0.38
2026-09-02 00:22:29,624 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-02 00:22:29,942 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-02 00:22:29,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734?flat'}
2026-09-02 00:22:29,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-68791734 is found in opserver
2026-09-02 00:22:30,006 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 00:22:30,012 - DEBUG - VRF ids for VN ctest-vn-68791734: {}
2026-09-02 00:22:30,012 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-02 00:22:30,018 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4
2026-09-02 00:22:30,030 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d
2026-09-02 00:22:30,105 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6
2026-09-02 00:22:30,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6
2026-09-02 00:22:30,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12
2026-09-02 00:22:30,138 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12
2026-09-02 00:22:30,146 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c0b193d2-a85b-4e69-b773-47d6a278287e
2026-09-02 00:22:30,153 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 00:22:30,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6
2026-09-02 00:22:30,163 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12
2026-09-02 00:22:30,184 - INFO - Verified VN network id 13 for VN c5ac0635-8cd2-458b-ac71-039a6d074ba6
2026-09-02 00:22:30,184 - INFO - Verifications in API Server for VN ctest-vn-91621411 passed
2026-09-02 00:22:30,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6
2026-09-02 00:22:30,196 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12
2026-09-02 00:22:30,204 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8933c3ad-98df-4a64-8e38-015fa2c9ee12
2026-09-02 00:22:30,211 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c0b193d2-a85b-4e69-b773-47d6a278287e
2026-09-02 00:22:30,225 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35393627', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14243766548531660171', 'uuid-lslong': '12425716808680950694'}, 'enable': 'true', 'created': '2026-09-02T00:22:27', 'last-modified': '2026-09-02T00:22:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.450293'}
2026-09-02 00:22:30,232 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 00:22:30,232 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91621411 passed
2026-09-02 00:22:30,232 - DEBUG - ====Verifying policy data for ctest-vn-91621411 in API_Server ======
2026-09-02 00:22:30,232 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-02 00:22:30,238 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b94f452-8164-41f9-9611-e51f06b655c4
2026-09-02 00:22:30,250 - DEBUG - Requesting: http://10.0.0.38:8082/project/edb9de00-ee3c-4b1d-bae3-535e06b9d06d
2026-09-02 00:22:30,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c5ac0635-8cd2-458b-ac71-039a6d074ba6
2026-09-02 00:22:30,335 - DEBUG - ==>Verifying data for policy with id: bed56016-7683-4314-9313-b2e045a56918, fqn: ['default-domain', 'ctest-TestBasicPolicy-35393627', 'ctest-policy-allow-all-64901544']
2026-09-02 00:22:30,335 - INFO - VN ctest-vn-91621411 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 00:22:30,335 - DEBUG - Verifying the vn in opserver
2026-09-02 00:22:30,335 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411 virtual network link through opserver 10.0.0.38
2026-09-02 00:22:30,336 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-02 00:22:30,347 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411?flat'}
2026-09-02 00:22:30,347 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35393627:ctest-vn-91621411 is found in opserver
2026-09-02 00:22:30,357 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 00:22:30,364 - DEBUG - VRF ids for VN ctest-vn-91621411: {}
2026-09-02 00:22:30,423 - DEBUG - Services list from nova: [