2026-01-29 21:38:18,993 - INFO - Domain Default found not creating
2026-01-29 21:38:19,145 - INFO - Project ctest-TestBasicPolicy-53219033 not found, creating it
2026-01-29 21:38:19,596 - INFO - Created Project:ctest-TestBasicPolicy-53219033, ID : 605d8e7a-3b60-4ec9-a99d-3db2c593c7a4
2026-01-29 21:38:21,095 - INFO - ================================================================================
2026-01-29 21:38:21,095 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 21:38:21,095 - 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-01-29 21:38:21,347 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-01-29 21:38:21,347 - INFO - Initial checks done. Running the testcase now
2026-01-29 21:38:21,347 - INFO -
2026-01-29 21:38:21,901 - DEBUG - Response for create_network : {'network': {'id': '8e36f51e-4095-4598-80c8-518844746e46', 'name': 'ctest-vn-81185311', 'tenant_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'project_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53219033', 'ctest-vn-81185311'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 21:38:22,109 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f79759d3-097d-4221-8faf-abe9ee540b9d', 'name': '', 'tenant_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'network_id': '8e36f51e-4095-4598-80c8-518844746e46', 'ip_version': 4, 'cidr': '177.99.228.128/26', 'allocation_pools': [{'start': '177.99.228.130', 'end': '177.99.228.190'}], 'gateway_ip': '177.99.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.99.228.130', 'tags': [], 'project_id': '605d8e7a3b604ec9a99d3db2c593c7a4'}}
2026-01-29 21:38:22,128 - INFO - Created VN ctest-vn-81185311
2026-01-29 21:38:22,179 - DEBUG - VN ctest-vn-81185311 UUID is 8e36f51e-4095-4598-80c8-518844746e46
2026-01-29 21:38:22,496 - DEBUG - Response for create_network : {'network': {'id': '02780a60-7c72-4fac-8306-17418a65bbb2', 'name': 'ctest-vn-81477613', 'tenant_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'project_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53219033', 'ctest-vn-81477613'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 21:38:22,637 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1246a4b-5098-469c-bce4-8130c6d74d2a', 'name': '', 'tenant_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'network_id': '02780a60-7c72-4fac-8306-17418a65bbb2', 'ip_version': 4, 'cidr': '31.245.172.128/26', 'allocation_pools': [{'start': '31.245.172.130', 'end': '31.245.172.190'}], 'gateway_ip': '31.245.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.245.172.130', 'tags': [], 'project_id': '605d8e7a3b604ec9a99d3db2c593c7a4'}}
2026-01-29 21:38:22,653 - INFO - Created VN ctest-vn-81477613
2026-01-29 21:38:22,703 - DEBUG - VN ctest-vn-81477613 UUID is 02780a60-7c72-4fac-8306-17418a65bbb2
2026-01-29 21:38:22,847 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81185311, 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-53219033:ctest-vn-81477613, 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-01-29 21:38:23,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e36f51e-4095-4598-80c8-518844746e46', 'name': 'ctest-vn-81185311', 'tenant_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'project_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f79759d3-097d-4221-8faf-abe9ee540b9d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53219033', 'ctest-vn-81185311'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53219033', 'ctest-policy-allow-all-40824256']], 'subnet_ipam': [{'subnet_cidr': '177.99.228.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 21:38:23,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '02780a60-7c72-4fac-8306-17418a65bbb2', 'name': 'ctest-vn-81477613', 'tenant_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'project_id': '605d8e7a3b604ec9a99d3db2c593c7a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1246a4b-5098-469c-bce4-8130c6d74d2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53219033', 'ctest-vn-81477613'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53219033', 'ctest-policy-allow-all-40824256']], 'subnet_ipam': [{'subnet_cidr': '31.245.172.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 21:38:23,551 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 21:38:23,843 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 21:38:23,873 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f5d0b84-ad51-437f-9e31-5d906a602ac9
2026-01-29 21:38:23,883 - DEBUG - Requesting: http://10.0.0.33:8082/project/605d8e7a-3b60-4ec9-a99d-3db2c593c7a4
2026-01-29 21:38:23,955 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8e36f51e-4095-4598-80c8-518844746e46
2026-01-29 21:38:23,965 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8e36f51e-4095-4598-80c8-518844746e46
2026-01-29 21:38:23,975 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/661dd635-c198-41eb-a778-5b81846704e8
2026-01-29 21:38:23,981 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/661dd635-c198-41eb-a778-5b81846704e8
2026-01-29 21:38:23,987 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/62ad8ca4-5d10-47d0-8ce9-be9d8fab8818
2026-01-29 21:38:23,992 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 21:38:23,992 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8e36f51e-4095-4598-80c8-518844746e46
2026-01-29 21:38:24,000 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/661dd635-c198-41eb-a778-5b81846704e8
2026-01-29 21:38:24,012 - INFO - Verified VN network id 11 for VN 8e36f51e-4095-4598-80c8-518844746e46
2026-01-29 21:38:24,012 - INFO - Verifications in API Server for VN ctest-vn-81185311 passed
2026-01-29 21:38:24,012 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8e36f51e-4095-4598-80c8-518844746e46
2026-01-29 21:38:24,020 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/661dd635-c198-41eb-a778-5b81846704e8
2026-01-29 21:38:24,027 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/661dd635-c198-41eb-a778-5b81846704e8
2026-01-29 21:38:24,032 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/62ad8ca4-5d10-47d0-8ce9-be9d8fab8818
2026-01-29 21:38:24,042 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81185311', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53219033', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10247647512409490840', 'uuid-lslong': '9279756677902790214'}, 'enable': 'true', 'created': '2026-01-29T21:38:21', 'last-modified': '2026-01-29T21:38:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929744'}
2026-01-29 21:38:24,048 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 21:38:24,048 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81185311 passed
2026-01-29 21:38:24,048 - DEBUG - ====Verifying policy data for ctest-vn-81185311 in API_Server ======
2026-01-29 21:38:24,048 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 21:38:24,053 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f5d0b84-ad51-437f-9e31-5d906a602ac9
2026-01-29 21:38:24,063 - DEBUG - Requesting: http://10.0.0.33:8082/project/605d8e7a-3b60-4ec9-a99d-3db2c593c7a4
2026-01-29 21:38:24,133 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8e36f51e-4095-4598-80c8-518844746e46
2026-01-29 21:38:24,141 - DEBUG - ==>Verifying data for policy with id: 1603eed8-085a-4cda-b1e9-eaf4823eea17, fqn: ['default-domain', 'ctest-TestBasicPolicy-53219033', 'ctest-policy-allow-all-40824256']
2026-01-29 21:38:24,141 - INFO - VN ctest-vn-81185311 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 21:38:24,142 - DEBUG - Verifying the vn in opserver
2026-01-29 21:38:24,142 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81185311 virtual network link through opserver 10.0.0.33
2026-01-29 21:38:24,142 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-29 21:38:24,431 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-29 21:38:24,488 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81185311', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81185311?flat'}
2026-01-29 21:38:24,488 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81185311 is found in opserver
2026-01-29 21:38:24,497 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 21:38:24,502 - DEBUG - VRF ids for VN ctest-vn-81185311: {}
2026-01-29 21:38:24,502 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 21:38:24,507 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f5d0b84-ad51-437f-9e31-5d906a602ac9
2026-01-29 21:38:24,517 - DEBUG - Requesting: http://10.0.0.33:8082/project/605d8e7a-3b60-4ec9-a99d-3db2c593c7a4
2026-01-29 21:38:24,585 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02780a60-7c72-4fac-8306-17418a65bbb2
2026-01-29 21:38:24,595 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02780a60-7c72-4fac-8306-17418a65bbb2
2026-01-29 21:38:24,604 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a3896856-e2f9-4044-ab38-039558ae59c5
2026-01-29 21:38:24,610 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a3896856-e2f9-4044-ab38-039558ae59c5
2026-01-29 21:38:24,616 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fc803e55-c19b-464d-ac30-9764718c1c0a
2026-01-29 21:38:24,622 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 21:38:24,622 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02780a60-7c72-4fac-8306-17418a65bbb2
2026-01-29 21:38:24,630 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a3896856-e2f9-4044-ab38-039558ae59c5
2026-01-29 21:38:24,644 - INFO - Verified VN network id 12 for VN 02780a60-7c72-4fac-8306-17418a65bbb2
2026-01-29 21:38:24,644 - INFO - Verifications in API Server for VN ctest-vn-81477613 passed
2026-01-29 21:38:24,644 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02780a60-7c72-4fac-8306-17418a65bbb2
2026-01-29 21:38:24,652 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a3896856-e2f9-4044-ab38-039558ae59c5
2026-01-29 21:38:24,659 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a3896856-e2f9-4044-ab38-039558ae59c5
2026-01-29 21:38:24,665 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fc803e55-c19b-464d-ac30-9764718c1c0a
2026-01-29 21:38:24,677 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81477613', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53219033', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '177903594802139052', 'uuid-lslong': '9441259239091059634'}, 'enable': 'true', 'created': '2026-01-29T21:38:22', 'last-modified': '2026-01-29T21:38:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338997'}
2026-01-29 21:38:24,684 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 21:38:24,684 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81477613 passed
2026-01-29 21:38:24,684 - DEBUG - ====Verifying policy data for ctest-vn-81477613 in API_Server ======
2026-01-29 21:38:24,684 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 21:38:24,689 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9f5d0b84-ad51-437f-9e31-5d906a602ac9
2026-01-29 21:38:24,700 - DEBUG - Requesting: http://10.0.0.33:8082/project/605d8e7a-3b60-4ec9-a99d-3db2c593c7a4
2026-01-29 21:38:24,767 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/02780a60-7c72-4fac-8306-17418a65bbb2
2026-01-29 21:38:24,775 - DEBUG - ==>Verifying data for policy with id: 1603eed8-085a-4cda-b1e9-eaf4823eea17, fqn: ['default-domain', 'ctest-TestBasicPolicy-53219033', 'ctest-policy-allow-all-40824256']
2026-01-29 21:38:24,775 - INFO - VN ctest-vn-81477613 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 21:38:24,775 - DEBUG - Verifying the vn in opserver
2026-01-29 21:38:24,775 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81477613 virtual network link through opserver 10.0.0.33
2026-01-29 21:38:24,775 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-29 21:38:24,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81477613', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81477613?flat'}
2026-01-29 21:38:24,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53219033:ctest-vn-81477613 is found in opserver
2026-01-29 21:38:24,793 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 21:38:24,797 - DEBUG - VRF ids for VN ctest-vn-81477613: {}
2026-01-29 21:38:24,856 - DEBUG - Services list from nova: [