2025-10-17 17:44:11,762 - INFO - Domain Default found not creating
2025-10-17 17:44:12,083 - INFO - Project ctest-TestBasicPolicy-04293704 not found, creating it
2025-10-17 17:44:12,755 - INFO - Created Project:ctest-TestBasicPolicy-04293704, ID : b7abf873-b88b-4f9a-9d16-20d94e3e0efa 
2025-10-17 17:44:14,835 - INFO - ================================================================================
2025-10-17 17:44:14,835 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-17 17:44:14,836 - 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-10-17 17:44:15,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-10-17 17:44:15,179 - INFO - Initial checks done. Running the testcase now
2025-10-17 17:44:15,180 - INFO - 
2025-10-17 17:44:15,918 - DEBUG - Response for create_network : {'network': {'id': '98136fcb-0ef5-4fb8-81f4-a385e6c5a919', 'name': 'ctest-vn-49655193', 'tenant_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'project_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04293704', 'ctest-vn-49655193'], 'port_security_enabled': True, 'description': ''}}
2025-10-17 17:44:16,175 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dbf1bf6-a13f-4895-a4ba-b9eb7adbbe2b', 'name': '', 'tenant_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'network_id': '98136fcb-0ef5-4fb8-81f4-a385e6c5a919', 'ip_version': 4, 'cidr': '97.80.103.128/26', 'allocation_pools': [{'start': '97.80.103.130', 'end': '97.80.103.190'}], 'gateway_ip': '97.80.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.80.103.130', 'tags': [], 'project_id': 'b7abf873b88b4f9a9d1620d94e3e0efa'}}
2025-10-17 17:44:16,202 - INFO - Created VN ctest-vn-49655193
2025-10-17 17:44:16,261 - DEBUG - VN ctest-vn-49655193 UUID is 98136fcb-0ef5-4fb8-81f4-a385e6c5a919
2025-10-17 17:44:16,711 - DEBUG - Response for create_network : {'network': {'id': 'ec39aef4-36fe-44d9-b0ae-93cb254787aa', 'name': 'ctest-vn-95864437', 'tenant_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'project_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04293704', 'ctest-vn-95864437'], 'port_security_enabled': True, 'description': ''}}
2025-10-17 17:44:16,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ce9165d-de11-4145-ae91-be2367bd97bd', 'name': '', 'tenant_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'network_id': 'ec39aef4-36fe-44d9-b0ae-93cb254787aa', 'ip_version': 4, 'cidr': '166.104.112.64/26', 'allocation_pools': [{'start': '166.104.112.66', 'end': '166.104.112.126'}], 'gateway_ip': '166.104.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.104.112.66', 'tags': [], 'project_id': 'b7abf873b88b4f9a9d1620d94e3e0efa'}}
2025-10-17 17:44:16,909 - INFO - Created VN ctest-vn-95864437
2025-10-17 17:44:16,960 - DEBUG - VN ctest-vn-95864437 UUID is ec39aef4-36fe-44d9-b0ae-93cb254787aa
2025-10-17 17:44:17,101 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-49655193, 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-04293704:ctest-vn-95864437, 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-10-17 17:44:17,485 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98136fcb-0ef5-4fb8-81f4-a385e6c5a919', 'name': 'ctest-vn-49655193', 'tenant_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'project_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4dbf1bf6-a13f-4895-a4ba-b9eb7adbbe2b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04293704', 'ctest-vn-49655193'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04293704', 'ctest-policy-allow-all-54534384']], 'subnet_ipam': [{'subnet_cidr': '97.80.103.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-17 17:44:17,810 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec39aef4-36fe-44d9-b0ae-93cb254787aa', 'name': 'ctest-vn-95864437', 'tenant_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'project_id': 'b7abf873b88b4f9a9d1620d94e3e0efa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7ce9165d-de11-4145-ae91-be2367bd97bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04293704', 'ctest-vn-95864437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04293704', 'ctest-policy-allow-all-54534384']], 'subnet_ipam': [{'subnet_cidr': '166.104.112.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-17 17:44:17,992 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-17 17:44:18,321 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-17 17:44:18,360 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f53eaa-c0b6-4cb5-a484-332aed9cd156
2025-10-17 17:44:18,381 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7abf873-b88b-4f9a-9d16-20d94e3e0efa
2025-10-17 17:44:18,488 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98136fcb-0ef5-4fb8-81f4-a385e6c5a919
2025-10-17 17:44:18,529 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98136fcb-0ef5-4fb8-81f4-a385e6c5a919
2025-10-17 17:44:18,546 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/870d8b9d-bfc4-4688-a2ca-151641ea6eb9
2025-10-17 17:44:18,557 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/870d8b9d-bfc4-4688-a2ca-151641ea6eb9
2025-10-17 17:44:18,567 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/990edc6f-c7d1-492a-ba47-31539a678071
2025-10-17 17:44:18,575 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-17 17:44:18,575 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98136fcb-0ef5-4fb8-81f4-a385e6c5a919
2025-10-17 17:44:18,584 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/870d8b9d-bfc4-4688-a2ca-151641ea6eb9
2025-10-17 17:44:18,606 - INFO - Verified VN network id 11 for VN 98136fcb-0ef5-4fb8-81f4-a385e6c5a919
2025-10-17 17:44:18,607 - INFO - Verifications in API Server for VN ctest-vn-49655193 passed
2025-10-17 17:44:18,607 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98136fcb-0ef5-4fb8-81f4-a385e6c5a919
2025-10-17 17:44:18,619 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/870d8b9d-bfc4-4688-a2ca-151641ea6eb9
2025-10-17 17:44:18,628 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/870d8b9d-bfc4-4688-a2ca-151641ea6eb9
2025-10-17 17:44:18,637 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/990edc6f-c7d1-492a-ba47-31539a678071
2025-10-17 17:44:18,654 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-49655193', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04293704', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10958225236242550712', 'uuid-lslong': '9364289320707795225'}, 'enable': 'true', 'created': '2025-10-17T17:44:15', 'last-modified': '2025-10-17T17:44:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.216155'}
2025-10-17 17:44:18,668 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-17 17:44:18,668 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49655193 passed
2025-10-17 17:44:18,669 - DEBUG - ====Verifying policy data for ctest-vn-49655193 in API_Server ======
2025-10-17 17:44:18,669 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-17 17:44:18,676 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f53eaa-c0b6-4cb5-a484-332aed9cd156
2025-10-17 17:44:18,691 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7abf873-b88b-4f9a-9d16-20d94e3e0efa
2025-10-17 17:44:18,799 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98136fcb-0ef5-4fb8-81f4-a385e6c5a919
2025-10-17 17:44:18,815 - DEBUG - ==>Verifying data for policy with id: 3fba3e2d-9494-4048-a7ff-420a57e5da99, fqn: ['default-domain', 'ctest-TestBasicPolicy-04293704', 'ctest-policy-allow-all-54534384']
2025-10-17 17:44:18,815 - INFO - VN ctest-vn-49655193 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-17 17:44:18,815 - DEBUG - Verifying the vn in opserver
2025-10-17 17:44:18,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-49655193 virtual network link  through opserver 10.0.0.33
2025-10-17 17:44:18,816 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-17 17:44:19,129 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-17 17:44:19,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-49655193', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-49655193?flat'}
2025-10-17 17:44:19,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-49655193 is found in opserver
2025-10-17 17:44:19,250 - DEBUG - Do not have enough data to verify VN in agent
2025-10-17 17:44:19,269 - DEBUG - VRF ids for VN ctest-vn-49655193: {}
2025-10-17 17:44:19,269 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-17 17:44:19,281 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f53eaa-c0b6-4cb5-a484-332aed9cd156
2025-10-17 17:44:19,308 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7abf873-b88b-4f9a-9d16-20d94e3e0efa
2025-10-17 17:44:19,402 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec39aef4-36fe-44d9-b0ae-93cb254787aa
2025-10-17 17:44:19,423 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec39aef4-36fe-44d9-b0ae-93cb254787aa
2025-10-17 17:44:19,436 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a7d9e3fd-145b-4435-a621-b0258b77eaeb
2025-10-17 17:44:19,445 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a7d9e3fd-145b-4435-a621-b0258b77eaeb
2025-10-17 17:44:19,452 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/edcd464a-b09e-4fe5-9323-38aee80599ae
2025-10-17 17:44:19,461 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-17 17:44:19,461 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec39aef4-36fe-44d9-b0ae-93cb254787aa
2025-10-17 17:44:19,473 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a7d9e3fd-145b-4435-a621-b0258b77eaeb
2025-10-17 17:44:19,488 - INFO - Verified VN network id 12 for VN ec39aef4-36fe-44d9-b0ae-93cb254787aa
2025-10-17 17:44:19,488 - INFO - Verifications in API Server for VN ctest-vn-95864437 passed
2025-10-17 17:44:19,488 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec39aef4-36fe-44d9-b0ae-93cb254787aa
2025-10-17 17:44:19,498 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a7d9e3fd-145b-4435-a621-b0258b77eaeb
2025-10-17 17:44:19,506 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a7d9e3fd-145b-4435-a621-b0258b77eaeb
2025-10-17 17:44:19,514 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/edcd464a-b09e-4fe5-9323-38aee80599ae
2025-10-17 17:44:19,528 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-95864437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04293704', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17021828630541386969', 'uuid-lslong': '12731275697336059818'}, 'enable': 'true', 'created': '2025-10-17T17:44:16', 'last-modified': '2025-10-17T17:44:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.759721'}
2025-10-17 17:44:19,536 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-17 17:44:19,536 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95864437 passed
2025-10-17 17:44:19,536 - DEBUG - ====Verifying policy data for ctest-vn-95864437 in API_Server ======
2025-10-17 17:44:19,536 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-17 17:44:19,544 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f53eaa-c0b6-4cb5-a484-332aed9cd156
2025-10-17 17:44:19,558 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7abf873-b88b-4f9a-9d16-20d94e3e0efa
2025-10-17 17:44:19,652 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ec39aef4-36fe-44d9-b0ae-93cb254787aa
2025-10-17 17:44:19,669 - DEBUG - ==>Verifying data for policy with id: 3fba3e2d-9494-4048-a7ff-420a57e5da99, fqn: ['default-domain', 'ctest-TestBasicPolicy-04293704', 'ctest-policy-allow-all-54534384']
2025-10-17 17:44:19,669 - INFO - VN ctest-vn-95864437 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-17 17:44:19,669 - DEBUG - Verifying the vn in opserver
2025-10-17 17:44:19,669 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-95864437 virtual network link  through opserver 10.0.0.33
2025-10-17 17:44:19,669 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-17 17:44:19,692 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-95864437', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-95864437?flat'}
2025-10-17 17:44:19,692 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04293704:ctest-vn-95864437 is found in opserver
2025-10-17 17:44:19,707 - DEBUG - Do not have enough data to verify VN in agent
2025-10-17 17:44:19,714 - DEBUG - VRF ids for VN ctest-vn-95864437: {}
2025-10-17 17:44:19,840 - DEBUG - Services list from nova: [