2025-12-01 17:54:59,031 - INFO - Domain Default found not creating
2025-12-01 17:54:59,190 - INFO - Project ctest-TestBasicPolicy-76998750 not found, creating it
2025-12-01 17:54:59,645 - INFO - Created Project:ctest-TestBasicPolicy-76998750, ID : 02649985-031a-46e2-965a-a0534bea36d9
2025-12-01 17:55:01,090 - INFO - ================================================================================
2025-12-01 17:55:01,090 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-01 17:55:01,090 - 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-12-01 17:55:01,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with
2025-12-01 17:55:01,346 - INFO - Initial checks done. Running the testcase now
2025-12-01 17:55:01,346 - INFO -
2025-12-01 17:55:01,890 - DEBUG - Response for create_network : {'network': {'id': 'cbac50e1-1ced-4acc-b9d7-8dc03ea9e870', 'name': 'ctest-vn-18561083', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'project_id': '02649985031a46e2965aa0534bea36d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-vn-18561083'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:55:02,118 - DEBUG - Response for create_subnet : {'subnet': {'id': '12b691ce-68f6-43ba-a1ff-48f9ac86b51b', 'name': '', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'network_id': 'cbac50e1-1ced-4acc-b9d7-8dc03ea9e870', 'ip_version': 4, 'cidr': '125.5.95.64/26', 'allocation_pools': [{'start': '125.5.95.66', 'end': '125.5.95.126'}], 'gateway_ip': '125.5.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.5.95.66', 'tags': [], 'project_id': '02649985031a46e2965aa0534bea36d9'}}
2025-12-01 17:55:02,136 - INFO - Created VN ctest-vn-18561083
2025-12-01 17:55:02,188 - DEBUG - VN ctest-vn-18561083 UUID is cbac50e1-1ced-4acc-b9d7-8dc03ea9e870
2025-12-01 17:55:02,468 - DEBUG - Response for create_network : {'network': {'id': '8f3ee346-e7db-42e7-99dd-7f2135d9b6dd', 'name': 'ctest-vn-07538142', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'project_id': '02649985031a46e2965aa0534bea36d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-vn-07538142'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:55:02,684 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae27670e-0405-4a92-b5b6-af5fa8d274e1', 'name': '', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'network_id': '8f3ee346-e7db-42e7-99dd-7f2135d9b6dd', 'ip_version': 4, 'cidr': '44.74.119.128/26', 'allocation_pools': [{'start': '44.74.119.130', 'end': '44.74.119.190'}], 'gateway_ip': '44.74.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.74.119.130', 'tags': [], 'project_id': '02649985031a46e2965aa0534bea36d9'}}
2025-12-01 17:55:02,701 - INFO - Created VN ctest-vn-07538142
2025-12-01 17:55:02,752 - DEBUG - VN ctest-vn-07538142 UUID is 8f3ee346-e7db-42e7-99dd-7f2135d9b6dd
2025-12-01 17:55:02,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083, 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-76998750:ctest-vn-07538142, 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-12-01 17:55:03,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cbac50e1-1ced-4acc-b9d7-8dc03ea9e870', 'name': 'ctest-vn-18561083', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'project_id': '02649985031a46e2965aa0534bea36d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['12b691ce-68f6-43ba-a1ff-48f9ac86b51b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-vn-18561083'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-policy-allow-all-31737226']], 'subnet_ipam': [{'subnet_cidr': '125.5.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:55:03,419 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f3ee346-e7db-42e7-99dd-7f2135d9b6dd', 'name': 'ctest-vn-07538142', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'project_id': '02649985031a46e2965aa0534bea36d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae27670e-0405-4a92-b5b6-af5fa8d274e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-vn-07538142'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-policy-allow-all-31737226']], 'subnet_ipam': [{'subnet_cidr': '44.74.119.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:55:03,580 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-01 17:55:03,873 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-01 17:55:03,903 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d
2025-12-01 17:55:03,914 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9
2025-12-01 17:55:03,981 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870
2025-12-01 17:55:03,992 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870
2025-12-01 17:55:04,001 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21
2025-12-01 17:55:04,008 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21
2025-12-01 17:55:04,014 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/50a847ab-2fdf-4748-a91d-6ee99173824f
2025-12-01 17:55:04,020 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 17:55:04,020 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870
2025-12-01 17:55:04,028 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21
2025-12-01 17:55:04,040 - INFO - Verified VN network id 12 for VN cbac50e1-1ced-4acc-b9d7-8dc03ea9e870
2025-12-01 17:55:04,040 - INFO - Verifications in API Server for VN ctest-vn-18561083 passed
2025-12-01 17:55:04,040 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870
2025-12-01 17:55:04,048 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21
2025-12-01 17:55:04,054 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21
2025-12-01 17:55:04,060 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/50a847ab-2fdf-4748-a91d-6ee99173824f
2025-12-01 17:55:04,071 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76998750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14676194213476780748', 'uuid-lslong': '13391327873834018928'}, 'enable': 'true', 'created': '2025-12-01T17:55:01', 'last-modified': '2025-12-01T17:55:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.902490'}
2025-12-01 17:55:04,078 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 17:55:04,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18561083 passed
2025-12-01 17:55:04,078 - DEBUG - ====Verifying policy data for ctest-vn-18561083 in API_Server ======
2025-12-01 17:55:04,078 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-01 17:55:04,083 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d
2025-12-01 17:55:04,093 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9
2025-12-01 17:55:04,161 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870
2025-12-01 17:55:04,170 - DEBUG - ==>Verifying data for policy with id: 422234d2-2969-47f1-9914-df45e1902b27, fqn: ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-policy-allow-all-31737226']
2025-12-01 17:55:04,170 - INFO - VN ctest-vn-18561083 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 17:55:04,170 - DEBUG - Verifying the vn in opserver
2025-12-01 17:55:04,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083 virtual network link through opserver 10.0.0.33
2025-12-01 17:55:04,171 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-01 17:55:04,459 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-01 17:55:04,527 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083?flat'}
2025-12-01 17:55:04,527 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083 is found in opserver
2025-12-01 17:55:04,536 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 17:55:04,540 - DEBUG - VRF ids for VN ctest-vn-18561083: {}
2025-12-01 17:55:04,540 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-01 17:55:04,545 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d
2025-12-01 17:55:04,556 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9
2025-12-01 17:55:04,623 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd
2025-12-01 17:55:04,634 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd
2025-12-01 17:55:04,642 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca
2025-12-01 17:55:04,648 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca
2025-12-01 17:55:04,653 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2a4cb7d9-cd48-4299-90b8-5e14635d6f91
2025-12-01 17:55:04,659 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 17:55:04,659 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd
2025-12-01 17:55:04,669 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca
2025-12-01 17:55:04,684 - INFO - Verified VN network id 13 for VN 8f3ee346-e7db-42e7-99dd-7f2135d9b6dd
2025-12-01 17:55:04,684 - INFO - Verifications in API Server for VN ctest-vn-07538142 passed
2025-12-01 17:55:04,684 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd
2025-12-01 17:55:04,695 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca
2025-12-01 17:55:04,703 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca
2025-12-01 17:55:04,710 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2a4cb7d9-cd48-4299-90b8-5e14635d6f91
2025-12-01 17:55:04,722 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76998750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10321937289656877799', 'uuid-lslong': '11087157638270138077'}, 'enable': 'true', 'created': '2025-12-01T17:55:02', 'last-modified': '2025-12-01T17:55:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331511'}
2025-12-01 17:55:04,728 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 17:55:04,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07538142 passed
2025-12-01 17:55:04,729 - DEBUG - ====Verifying policy data for ctest-vn-07538142 in API_Server ======
2025-12-01 17:55:04,729 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-01 17:55:04,734 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d
2025-12-01 17:55:04,744 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9
2025-12-01 17:55:04,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd
2025-12-01 17:55:04,825 - DEBUG - ==>Verifying data for policy with id: 422234d2-2969-47f1-9914-df45e1902b27, fqn: ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-policy-allow-all-31737226']
2025-12-01 17:55:04,825 - INFO - VN ctest-vn-07538142 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 17:55:04,825 - DEBUG - Verifying the vn in opserver
2025-12-01 17:55:04,826 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142 virtual network link through opserver 10.0.0.33
2025-12-01 17:55:04,826 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-01 17:55:04,834 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142?flat'}
2025-12-01 17:55:04,834 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142 is found in opserver
2025-12-01 17:55:04,843 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 17:55:04,847 - DEBUG - VRF ids for VN ctest-vn-07538142: {}
2025-12-01 17:55:04,905 - DEBUG - Services list from nova: [