2026-03-30 13:06:01,311 - INFO - Domain Default found not creating
2026-03-30 13:06:01,520 - INFO - Project ctest-TestBasicPolicy-96699542 not found, creating it
2026-03-30 13:06:02,001 - INFO - Created Project:ctest-TestBasicPolicy-96699542, ID : 08c10a05-f56c-489e-b102-93953f3cc3f8
2026-03-30 13:06:03,576 - INFO - ================================================================================
2026-03-30 13:06:03,576 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-30 13:06:03,576 - 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-30 13:06:03,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-03-30 13:06:03,844 - INFO - Initial checks done. Running the testcase now
2026-03-30 13:06:03,844 - INFO -
2026-03-30 13:06:04,411 - DEBUG - Response for create_network : {'network': {'id': '2733596d-ec72-4ee2-ba7b-a1ad9ab07922', 'name': 'ctest-vn-39667388', 'tenant_id': '08c10a05f56c489eb10293953f3cc3f8', 'project_id': '08c10a05f56c489eb10293953f3cc3f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96699542', 'ctest-vn-39667388'], 'port_security_enabled': True, 'description': ''}}
2026-03-30 13:06:04,604 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd90d7dbd-8234-4a7e-aebb-02ce3ee073e5', 'name': '', 'tenant_id': '08c10a05f56c489eb10293953f3cc3f8', 'network_id': '2733596d-ec72-4ee2-ba7b-a1ad9ab07922', 'ip_version': 4, 'cidr': '209.210.229.0/26', 'allocation_pools': [{'start': '209.210.229.2', 'end': '209.210.229.62'}], 'gateway_ip': '209.210.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.210.229.2', 'tags': [], 'project_id': '08c10a05f56c489eb10293953f3cc3f8'}}
2026-03-30 13:06:04,624 - INFO - Created VN ctest-vn-39667388
2026-03-30 13:06:04,677 - DEBUG - VN ctest-vn-39667388 UUID is 2733596d-ec72-4ee2-ba7b-a1ad9ab07922
2026-03-30 13:06:04,956 - DEBUG - Response for create_network : {'network': {'id': '56799df2-fedc-4e0b-81ef-a0e1331d3249', 'name': 'ctest-vn-01740701', 'tenant_id': '08c10a05f56c489eb10293953f3cc3f8', 'project_id': '08c10a05f56c489eb10293953f3cc3f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96699542', 'ctest-vn-01740701'], 'port_security_enabled': True, 'description': ''}}
2026-03-30 13:06:05,138 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abd4958e-94f7-47e4-8395-d56886f6e3f5', 'name': '', 'tenant_id': '08c10a05f56c489eb10293953f3cc3f8', 'network_id': '56799df2-fedc-4e0b-81ef-a0e1331d3249', 'ip_version': 4, 'cidr': '69.251.111.64/26', 'allocation_pools': [{'start': '69.251.111.66', 'end': '69.251.111.126'}], 'gateway_ip': '69.251.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.251.111.66', 'tags': [], 'project_id': '08c10a05f56c489eb10293953f3cc3f8'}}
2026-03-30 13:06:05,157 - INFO - Created VN ctest-vn-01740701
2026-03-30 13:06:05,209 - DEBUG - VN ctest-vn-01740701 UUID is 56799df2-fedc-4e0b-81ef-a0e1331d3249
2026-03-30 13:06:05,321 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-39667388, 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-96699542:ctest-vn-01740701, 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-30 13:06:05,625 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2733596d-ec72-4ee2-ba7b-a1ad9ab07922', 'name': 'ctest-vn-39667388', 'tenant_id': '08c10a05f56c489eb10293953f3cc3f8', 'project_id': '08c10a05f56c489eb10293953f3cc3f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d90d7dbd-8234-4a7e-aebb-02ce3ee073e5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96699542', 'ctest-vn-39667388'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96699542', 'ctest-policy-allow-all-21654464']], 'subnet_ipam': [{'subnet_cidr': '209.210.229.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-30 13:06:05,911 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56799df2-fedc-4e0b-81ef-a0e1331d3249', 'name': 'ctest-vn-01740701', 'tenant_id': '08c10a05f56c489eb10293953f3cc3f8', 'project_id': '08c10a05f56c489eb10293953f3cc3f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['abd4958e-94f7-47e4-8395-d56886f6e3f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96699542', 'ctest-vn-01740701'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96699542', 'ctest-policy-allow-all-21654464']], 'subnet_ipam': [{'subnet_cidr': '69.251.111.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-30 13:06:06,057 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 13:06:06,366 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 13:06:06,396 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f2f2ae3c-a347-4004-a6a3-9fdc2c6a8ed8
2026-03-30 13:06:06,408 - DEBUG - Requesting: http://10.0.0.22:8082/project/08c10a05-f56c-489e-b102-93953f3cc3f8
2026-03-30 13:06:06,479 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2733596d-ec72-4ee2-ba7b-a1ad9ab07922
2026-03-30 13:06:06,490 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2733596d-ec72-4ee2-ba7b-a1ad9ab07922
2026-03-30 13:06:06,500 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9654e6f7-ba5f-443a-b611-da22d79e529b
2026-03-30 13:06:06,507 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9654e6f7-ba5f-443a-b611-da22d79e529b
2026-03-30 13:06:06,515 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c7f915af-4cb7-4394-ab5c-c39cb0be1c9b
2026-03-30 13:06:06,521 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-30 13:06:06,521 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2733596d-ec72-4ee2-ba7b-a1ad9ab07922
2026-03-30 13:06:06,530 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9654e6f7-ba5f-443a-b611-da22d79e529b
2026-03-30 13:06:06,546 - INFO - Verified VN network id 11 for VN 2733596d-ec72-4ee2-ba7b-a1ad9ab07922
2026-03-30 13:06:06,546 - INFO - Verifications in API Server for VN ctest-vn-39667388 passed
2026-03-30 13:06:06,547 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2733596d-ec72-4ee2-ba7b-a1ad9ab07922
2026-03-30 13:06:06,555 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9654e6f7-ba5f-443a-b611-da22d79e529b
2026-03-30 13:06:06,562 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9654e6f7-ba5f-443a-b611-da22d79e529b
2026-03-30 13:06:06,569 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c7f915af-4cb7-4394-ab5c-c39cb0be1c9b
2026-03-30 13:06:06,581 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-39667388', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96699542', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2824699719944654562', 'uuid-lslong': '13437511680186677538'}, 'enable': 'true', 'created': '2026-03-30T13:06:04', 'last-modified': '2026-03-30T13:06:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978031'}
2026-03-30 13:06:06,587 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-30 13:06:06,587 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39667388 passed
2026-03-30 13:06:06,587 - DEBUG - ====Verifying policy data for ctest-vn-39667388 in API_Server ======
2026-03-30 13:06:06,587 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 13:06:06,593 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f2f2ae3c-a347-4004-a6a3-9fdc2c6a8ed8
2026-03-30 13:06:06,604 - DEBUG - Requesting: http://10.0.0.22:8082/project/08c10a05-f56c-489e-b102-93953f3cc3f8
2026-03-30 13:06:06,678 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2733596d-ec72-4ee2-ba7b-a1ad9ab07922
2026-03-30 13:06:06,686 - DEBUG - ==>Verifying data for policy with id: be93902d-541a-43c4-98f7-d3b4cdfd0538, fqn: ['default-domain', 'ctest-TestBasicPolicy-96699542', 'ctest-policy-allow-all-21654464']
2026-03-30 13:06:06,687 - INFO - VN ctest-vn-39667388 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-30 13:06:06,687 - DEBUG - Verifying the vn in opserver
2026-03-30 13:06:06,687 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-39667388 virtual network link through opserver 10.0.0.22
2026-03-30 13:06:06,687 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-30 13:06:06,979 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-30 13:06:07,039 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-39667388', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-39667388?flat'}
2026-03-30 13:06:07,039 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-39667388 is found in opserver
2026-03-30 13:06:07,048 - DEBUG - Do not have enough data to verify VN in agent
2026-03-30 13:06:07,053 - DEBUG - VRF ids for VN ctest-vn-39667388: {}
2026-03-30 13:06:07,053 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 13:06:07,058 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f2f2ae3c-a347-4004-a6a3-9fdc2c6a8ed8
2026-03-30 13:06:07,069 - DEBUG - Requesting: http://10.0.0.22:8082/project/08c10a05-f56c-489e-b102-93953f3cc3f8
2026-03-30 13:06:07,139 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/56799df2-fedc-4e0b-81ef-a0e1331d3249
2026-03-30 13:06:07,150 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/56799df2-fedc-4e0b-81ef-a0e1331d3249
2026-03-30 13:06:07,158 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/31b22888-4bf2-4ba7-88e9-9cfe60b80e9c
2026-03-30 13:06:07,164 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/31b22888-4bf2-4ba7-88e9-9cfe60b80e9c
2026-03-30 13:06:07,171 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f0ad2689-c784-4f63-b740-cfb9268209bb
2026-03-30 13:06:07,177 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-30 13:06:07,177 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/56799df2-fedc-4e0b-81ef-a0e1331d3249
2026-03-30 13:06:07,184 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/31b22888-4bf2-4ba7-88e9-9cfe60b80e9c
2026-03-30 13:06:07,196 - INFO - Verified VN network id 12 for VN 56799df2-fedc-4e0b-81ef-a0e1331d3249
2026-03-30 13:06:07,196 - INFO - Verifications in API Server for VN ctest-vn-01740701 passed
2026-03-30 13:06:07,196 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/56799df2-fedc-4e0b-81ef-a0e1331d3249
2026-03-30 13:06:07,204 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/31b22888-4bf2-4ba7-88e9-9cfe60b80e9c
2026-03-30 13:06:07,211 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/31b22888-4bf2-4ba7-88e9-9cfe60b80e9c
2026-03-30 13:06:07,217 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f0ad2689-c784-4f63-b740-cfb9268209bb
2026-03-30 13:06:07,226 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-01740701', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96699542', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6231185226427289099', 'uuid-lslong': '9362879039412187721'}, 'enable': 'true', 'created': '2026-03-30T13:06:04', 'last-modified': '2026-03-30T13:06:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391893'}
2026-03-30 13:06:07,232 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-30 13:06:07,232 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01740701 passed
2026-03-30 13:06:07,232 - DEBUG - ====Verifying policy data for ctest-vn-01740701 in API_Server ======
2026-03-30 13:06:07,232 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-30 13:06:07,238 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f2f2ae3c-a347-4004-a6a3-9fdc2c6a8ed8
2026-03-30 13:06:07,248 - DEBUG - Requesting: http://10.0.0.22:8082/project/08c10a05-f56c-489e-b102-93953f3cc3f8
2026-03-30 13:06:07,321 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/56799df2-fedc-4e0b-81ef-a0e1331d3249
2026-03-30 13:06:07,330 - DEBUG - ==>Verifying data for policy with id: be93902d-541a-43c4-98f7-d3b4cdfd0538, fqn: ['default-domain', 'ctest-TestBasicPolicy-96699542', 'ctest-policy-allow-all-21654464']
2026-03-30 13:06:07,330 - INFO - VN ctest-vn-01740701 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-30 13:06:07,330 - DEBUG - Verifying the vn in opserver
2026-03-30 13:06:07,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-01740701 virtual network link through opserver 10.0.0.22
2026-03-30 13:06:07,331 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-30 13:06:07,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-01740701', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-01740701?flat'}
2026-03-30 13:06:07,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96699542:ctest-vn-01740701 is found in opserver
2026-03-30 13:06:07,350 - DEBUG - Do not have enough data to verify VN in agent
2026-03-30 13:06:07,354 - DEBUG - VRF ids for VN ctest-vn-01740701: {}
2026-03-30 13:06:07,415 - DEBUG - Services list from nova: [