2025-07-22 10:36:02,675 - INFO - Domain Default found not creating
2025-07-22 10:36:02,831 - INFO - Project ctest-TestBasicPolicy-20443936 not found, creating it
2025-07-22 10:36:03,303 - INFO - Created Project:ctest-TestBasicPolicy-20443936, ID : ac9d5b94-2b0e-4ed1-9d65-edada0cc82da
2025-07-22 10:36:04,794 - INFO - ================================================================================
2025-07-22 10:36:04,794 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-07-22 10:36:04,794 - 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
2025-07-22 10:36:05,051 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with
2025-07-22 10:36:05,051 - INFO - Initial checks done. Running the testcase now
2025-07-22 10:36:05,051 - INFO -
2025-07-22 10:36:05,637 - DEBUG - Response for create_network : {'network': {'id': '11695ebe-5743-4019-9228-41c1bd7d91a3', 'name': 'ctest-vn-55989050', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-vn-55989050'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 10:36:05,819 - DEBUG - Response for create_subnet : {'subnet': {'id': '508be5c4-1bc9-4ef7-9cd7-04f10f957567', 'name': '', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'network_id': '11695ebe-5743-4019-9228-41c1bd7d91a3', 'ip_version': 4, 'cidr': '91.248.129.192/26', 'allocation_pools': [{'start': '91.248.129.194', 'end': '91.248.129.254'}], 'gateway_ip': '91.248.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.248.129.194', 'tags': [], 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da'}}
2025-07-22 10:36:05,838 - INFO - Created VN ctest-vn-55989050
2025-07-22 10:36:05,892 - DEBUG - VN ctest-vn-55989050 UUID is 11695ebe-5743-4019-9228-41c1bd7d91a3
2025-07-22 10:36:06,194 - DEBUG - Response for create_network : {'network': {'id': 'cc991b5f-1181-408e-85c0-cb75faa54ae0', 'name': 'ctest-vn-78544446', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-vn-78544446'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 10:36:06,372 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cbed705-eeb0-4a16-8571-e547af13bbfd', 'name': '', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'network_id': 'cc991b5f-1181-408e-85c0-cb75faa54ae0', 'ip_version': 4, 'cidr': '180.179.224.192/26', 'allocation_pools': [{'start': '180.179.224.194', 'end': '180.179.224.254'}], 'gateway_ip': '180.179.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.179.224.194', 'tags': [], 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da'}}
2025-07-22 10:36:06,394 - INFO - Created VN ctest-vn-78544446
2025-07-22 10:36:06,448 - DEBUG - VN ctest-vn-78544446 UUID is cc991b5f-1181-408e-85c0-cb75faa54ae0
2025-07-22 10:36:06,570 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050, 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-20443936:ctest-vn-78544446, 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]
2025-07-22 10:36:06,880 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '11695ebe-5743-4019-9228-41c1bd7d91a3', 'name': 'ctest-vn-55989050', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['508be5c4-1bc9-4ef7-9cd7-04f10f957567'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-vn-55989050'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-policy-allow-all-37094341']], 'subnet_ipam': [{'subnet_cidr': '91.248.129.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-07-22 10:36:07,147 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc991b5f-1181-408e-85c0-cb75faa54ae0', 'name': 'ctest-vn-78544446', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8cbed705-eeb0-4a16-8571-e547af13bbfd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-vn-78544446'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-policy-allow-all-37094341']], 'subnet_ipam': [{'subnet_cidr': '180.179.224.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-07-22 10:36:07,316 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-07-22 10:36:07,610 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-07-22 10:36:07,639 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc
2025-07-22 10:36:07,654 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da
2025-07-22 10:36:07,731 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3
2025-07-22 10:36:07,743 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3
2025-07-22 10:36:07,755 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4
2025-07-22 10:36:07,764 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4
2025-07-22 10:36:07,772 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ac74a2b3-b917-4c81-844b-42417b222ccb
2025-07-22 10:36:07,781 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 10:36:07,781 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3
2025-07-22 10:36:07,791 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4
2025-07-22 10:36:07,809 - INFO - Verified VN network id 8 for VN 11695ebe-5743-4019-9228-41c1bd7d91a3
2025-07-22 10:36:07,810 - INFO - Verifications in API Server for VN ctest-vn-55989050 passed
2025-07-22 10:36:07,810 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3
2025-07-22 10:36:07,826 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4
2025-07-22 10:36:07,835 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4
2025-07-22 10:36:07,843 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ac74a2b3-b917-4c81-844b-42417b222ccb
2025-07-22 10:36:07,856 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20443936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1254638142800216089', 'uuid-lslong': '10531740028969521571'}, 'enable': 'true', 'created': '2025-07-22T10:36:05', 'last-modified': '2025-07-22T10:36:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987548'}
2025-07-22 10:36:07,864 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 10:36:07,864 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55989050 passed
2025-07-22 10:36:07,865 - DEBUG - ====Verifying policy data for ctest-vn-55989050 in API_Server ======
2025-07-22 10:36:07,865 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-07-22 10:36:07,871 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc
2025-07-22 10:36:07,885 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da
2025-07-22 10:36:07,969 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3
2025-07-22 10:36:07,984 - DEBUG - ==>Verifying data for policy with id: a53bc3c8-1789-4b15-8cd5-48dcd20aefab, fqn: ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-policy-allow-all-37094341']
2025-07-22 10:36:07,984 - INFO - VN ctest-vn-55989050 Policy verification: verify_vn_policy_in_api_server, status: True
2025-07-22 10:36:07,984 - DEBUG - Verifying the vn in opserver
2025-07-22 10:36:07,984 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050 virtual network link through opserver 10.0.0.65
2025-07-22 10:36:07,984 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-07-22 10:36:08,289 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-07-22 10:36:08,355 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050?flat'}
2025-07-22 10:36:08,355 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050 is found in opserver
2025-07-22 10:36:08,367 - DEBUG - Do not have enough data to verify VN in agent
2025-07-22 10:36:08,373 - DEBUG - VRF ids for VN ctest-vn-55989050: {}
2025-07-22 10:36:08,374 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-07-22 10:36:08,381 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc
2025-07-22 10:36:08,396 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da
2025-07-22 10:36:08,473 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0
2025-07-22 10:36:08,486 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0
2025-07-22 10:36:08,499 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688
2025-07-22 10:36:08,508 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688
2025-07-22 10:36:08,516 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/27615616-7222-417d-9092-f3a06ae03343
2025-07-22 10:36:08,524 - DEBUG - Route Targets: ['target:64512:8000006']
2025-07-22 10:36:08,524 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0
2025-07-22 10:36:08,536 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688
2025-07-22 10:36:08,555 - INFO - Verified VN network id 9 for VN cc991b5f-1181-408e-85c0-cb75faa54ae0
2025-07-22 10:36:08,556 - INFO - Verifications in API Server for VN ctest-vn-78544446 passed
2025-07-22 10:36:08,556 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0
2025-07-22 10:36:08,578 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688
2025-07-22 10:36:08,592 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688
2025-07-22 10:36:08,601 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/27615616-7222-417d-9092-f3a06ae03343
2025-07-22 10:36:08,616 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20443936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14742844950303555726', 'uuid-lslong': '9637926910149610208'}, 'enable': 'true', 'created': '2025-07-22T10:36:06', 'last-modified': '2025-07-22T10:36:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.503262'}
2025-07-22 10:36:08,622 - DEBUG - Route Targets: ['target:64512:8000006']
2025-07-22 10:36:08,623 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78544446 passed
2025-07-22 10:36:08,623 - DEBUG - ====Verifying policy data for ctest-vn-78544446 in API_Server ======
2025-07-22 10:36:08,623 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-07-22 10:36:08,629 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc
2025-07-22 10:36:08,642 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da
2025-07-22 10:36:08,731 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0
2025-07-22 10:36:08,742 - DEBUG - ==>Verifying data for policy with id: a53bc3c8-1789-4b15-8cd5-48dcd20aefab, fqn: ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-policy-allow-all-37094341']
2025-07-22 10:36:08,742 - INFO - VN ctest-vn-78544446 Policy verification: verify_vn_policy_in_api_server, status: True
2025-07-22 10:36:08,742 - DEBUG - Verifying the vn in opserver
2025-07-22 10:36:08,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446 virtual network link through opserver 10.0.0.65
2025-07-22 10:36:08,742 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-07-22 10:36:08,754 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446?flat'}
2025-07-22 10:36:08,754 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446 is found in opserver
2025-07-22 10:36:08,767 - DEBUG - Do not have enough data to verify VN in agent
2025-07-22 10:36:08,772 - DEBUG - VRF ids for VN ctest-vn-78544446: {}
2025-07-22 10:36:08,849 - DEBUG - Services list from nova: [