2025-06-25 10:00:30,432 - INFO - Domain Default found not creating
2025-06-25 10:00:30,566 - INFO - Project ctest-TestBasicPolicy-38414083 not found, creating it
2025-06-25 10:00:31,012 - INFO - Created Project:ctest-TestBasicPolicy-38414083, ID : cb682838-eac7-4d9c-a0dc-5077fc2db3ec
2025-06-25 10:00:32,399 - INFO - ================================================================================
2025-06-25 10:00:32,399 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-06-25 10:00:32,399 - 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-06-25 10:00:32,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-06-25 10:00:32,657 - INFO - Initial checks done. Running the testcase now
2025-06-25 10:00:32,657 - INFO -
2025-06-25 10:00:33,199 - DEBUG - Response for create_network : {'network': {'id': 'f4238e86-9c16-48ad-9976-5fb38f894ee7', 'name': 'ctest-vn-66369638', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-vn-66369638'], 'port_security_enabled': True, 'description': ''}}
2025-06-25 10:00:33,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '88299482-238c-406f-84fc-b35f48abcc1c', 'name': '', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'network_id': 'f4238e86-9c16-48ad-9976-5fb38f894ee7', 'ip_version': 4, 'cidr': '143.219.176.192/26', 'allocation_pools': [{'start': '143.219.176.194', 'end': '143.219.176.254'}], 'gateway_ip': '143.219.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.219.176.194', 'tags': [], 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec'}}
2025-06-25 10:00:33,384 - INFO - Created VN ctest-vn-66369638
2025-06-25 10:00:33,439 - DEBUG - VN ctest-vn-66369638 UUID is f4238e86-9c16-48ad-9976-5fb38f894ee7
2025-06-25 10:00:33,745 - DEBUG - Response for create_network : {'network': {'id': 'abef5f6d-f399-4101-ba74-397068ef214b', 'name': 'ctest-vn-10567057', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-vn-10567057'], 'port_security_enabled': True, 'description': ''}}
2025-06-25 10:00:33,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e605e47-0e98-4f3f-bca2-66dfa6d01a9d', 'name': '', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'network_id': 'abef5f6d-f399-4101-ba74-397068ef214b', 'ip_version': 4, 'cidr': '77.127.215.0/26', 'allocation_pools': [{'start': '77.127.215.2', 'end': '77.127.215.62'}], 'gateway_ip': '77.127.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.127.215.2', 'tags': [], 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec'}}
2025-06-25 10:00:33,925 - INFO - Created VN ctest-vn-10567057
2025-06-25 10:00:33,979 - DEBUG - VN ctest-vn-10567057 UUID is abef5f6d-f399-4101-ba74-397068ef214b
2025-06-25 10:00:34,091 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638, 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-38414083:ctest-vn-10567057, 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-06-25 10:00:34,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4238e86-9c16-48ad-9976-5fb38f894ee7', 'name': 'ctest-vn-66369638', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88299482-238c-406f-84fc-b35f48abcc1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-vn-66369638'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-policy-allow-all-91903072']], 'subnet_ipam': [{'subnet_cidr': '143.219.176.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-06-25 10:00:34,671 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abef5f6d-f399-4101-ba74-397068ef214b', 'name': 'ctest-vn-10567057', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e605e47-0e98-4f3f-bca2-66dfa6d01a9d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-vn-10567057'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-policy-allow-all-91903072']], 'subnet_ipam': [{'subnet_cidr': '77.127.215.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-06-25 10:00:34,823 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-06-25 10:00:35,119 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-06-25 10:00:35,145 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be
2025-06-25 10:00:35,158 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec
2025-06-25 10:00:35,232 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7
2025-06-25 10:00:35,243 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7
2025-06-25 10:00:35,253 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0
2025-06-25 10:00:35,260 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0
2025-06-25 10:00:35,266 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9ff5b36c-928a-4aa6-888d-491c6560e93f
2025-06-25 10:00:35,272 - DEBUG - Route Targets: ['target:64512:8000005']
2025-06-25 10:00:35,273 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7
2025-06-25 10:00:35,281 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0
2025-06-25 10:00:35,294 - INFO - Verified VN network id 8 for VN f4238e86-9c16-48ad-9976-5fb38f894ee7
2025-06-25 10:00:35,295 - INFO - Verifications in API Server for VN ctest-vn-66369638 passed
2025-06-25 10:00:35,295 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7
2025-06-25 10:00:35,304 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0
2025-06-25 10:00:35,311 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0
2025-06-25 10:00:35,318 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9ff5b36c-928a-4aa6-888d-491c6560e93f
2025-06-25 10:00:35,330 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38414083', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17592061278234757293', 'uuid-lslong': '11058131159866756839'}, 'enable': 'true', 'created': '2025-06-25T10:00:33', 'last-modified': '2025-06-25T10:00:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.963339'}
2025-06-25 10:00:35,336 - DEBUG - Route Targets: ['target:64512:8000005']
2025-06-25 10:00:35,336 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66369638 passed
2025-06-25 10:00:35,337 - DEBUG - ====Verifying policy data for ctest-vn-66369638 in API_Server ======
2025-06-25 10:00:35,337 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-06-25 10:00:35,343 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be
2025-06-25 10:00:35,355 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec
2025-06-25 10:00:35,429 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7
2025-06-25 10:00:35,440 - DEBUG - ==>Verifying data for policy with id: 08674ba7-3391-4cee-823c-b81f27d677aa, fqn: ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-policy-allow-all-91903072']
2025-06-25 10:00:35,440 - INFO - VN ctest-vn-66369638 Policy verification: verify_vn_policy_in_api_server, status: True
2025-06-25 10:00:35,440 - DEBUG - Verifying the vn in opserver
2025-06-25 10:00:35,441 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638 virtual network link through opserver 10.0.0.19
2025-06-25 10:00:35,441 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-06-25 10:00:35,731 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-06-25 10:00:35,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638?flat'}
2025-06-25 10:00:35,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638 is found in opserver
2025-06-25 10:00:35,795 - DEBUG - Do not have enough data to verify VN in agent
2025-06-25 10:00:35,801 - DEBUG - VRF ids for VN ctest-vn-66369638: {}
2025-06-25 10:00:35,801 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-06-25 10:00:35,807 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be
2025-06-25 10:00:35,819 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec
2025-06-25 10:00:35,887 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b
2025-06-25 10:00:35,900 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b
2025-06-25 10:00:35,912 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48
2025-06-25 10:00:35,921 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48
2025-06-25 10:00:35,929 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e7934a47-9e85-4315-8655-6a2975ead0ba
2025-06-25 10:00:35,936 - DEBUG - Route Targets: ['target:64512:8000006']
2025-06-25 10:00:35,936 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b
2025-06-25 10:00:35,945 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48
2025-06-25 10:00:35,960 - INFO - Verified VN network id 9 for VN abef5f6d-f399-4101-ba74-397068ef214b
2025-06-25 10:00:35,960 - INFO - Verifications in API Server for VN ctest-vn-10567057 passed
2025-06-25 10:00:35,961 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b
2025-06-25 10:00:35,971 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48
2025-06-25 10:00:35,979 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48
2025-06-25 10:00:35,986 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e7934a47-9e85-4315-8655-6a2975ead0ba
2025-06-25 10:00:35,999 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38414083', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12389226025762504961', 'uuid-lslong': '13435426743312654667'}, 'enable': 'true', 'created': '2025-06-25T10:00:33', 'last-modified': '2025-06-25T10:00:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398285'}
2025-06-25 10:00:36,007 - DEBUG - Route Targets: ['target:64512:8000006']
2025-06-25 10:00:36,007 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10567057 passed
2025-06-25 10:00:36,007 - DEBUG - ====Verifying policy data for ctest-vn-10567057 in API_Server ======
2025-06-25 10:00:36,007 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-06-25 10:00:36,013 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be
2025-06-25 10:00:36,026 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec
2025-06-25 10:00:36,102 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b
2025-06-25 10:00:36,112 - DEBUG - ==>Verifying data for policy with id: 08674ba7-3391-4cee-823c-b81f27d677aa, fqn: ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-policy-allow-all-91903072']
2025-06-25 10:00:36,112 - INFO - VN ctest-vn-10567057 Policy verification: verify_vn_policy_in_api_server, status: True
2025-06-25 10:00:36,112 - DEBUG - Verifying the vn in opserver
2025-06-25 10:00:36,113 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057 virtual network link through opserver 10.0.0.19
2025-06-25 10:00:36,113 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-06-25 10:00:36,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057?flat'}
2025-06-25 10:00:36,123 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057 is found in opserver
2025-06-25 10:00:36,134 - DEBUG - Do not have enough data to verify VN in agent
2025-06-25 10:00:36,139 - DEBUG - VRF ids for VN ctest-vn-10567057: {}
2025-06-25 10:00:36,194 - DEBUG - Services list from nova: [