2025-10-30 21:54:13,016 - INFO - Domain Default found not creating
2025-10-30 21:54:13,168 - INFO - Project ctest-TestBasicPolicy-76633469 not found, creating it
2025-10-30 21:54:13,627 - INFO - Created Project:ctest-TestBasicPolicy-76633469, ID : 405657e3-4b09-4aa6-aaae-3ebc739abf8f 
2025-10-30 21:54:15,003 - INFO - ================================================================================
2025-10-30 21:54:15,003 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-30 21:54:15,003 - 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-30 21:54:15,254 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.242': '0'}} with
2025-10-30 21:54:15,254 - INFO - Initial checks done. Running the testcase now
2025-10-30 21:54:15,254 - INFO - 
2025-10-30 21:54:15,790 - DEBUG - Response for create_network : {'network': {'id': '24c9d31f-bd25-4af8-b13f-7581be67d7a6', 'name': 'ctest-vn-58586650', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'project_id': '405657e34b094aa6aaae3ebc739abf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-vn-58586650'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:54:15,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '7932a58c-df6e-47c7-996e-4dc9b1694cfe', 'name': '', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'network_id': '24c9d31f-bd25-4af8-b13f-7581be67d7a6', 'ip_version': 4, 'cidr': '23.107.9.64/26', 'allocation_pools': [{'start': '23.107.9.66', 'end': '23.107.9.126'}], 'gateway_ip': '23.107.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.107.9.66', 'tags': [], 'project_id': '405657e34b094aa6aaae3ebc739abf8f'}}
2025-10-30 21:54:15,982 - INFO - Created VN ctest-vn-58586650
2025-10-30 21:54:16,034 - DEBUG - VN ctest-vn-58586650 UUID is 24c9d31f-bd25-4af8-b13f-7581be67d7a6
2025-10-30 21:54:16,332 - DEBUG - Response for create_network : {'network': {'id': 'f31b8463-eff9-4c2b-be5b-aee77da9cad3', 'name': 'ctest-vn-22605287', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'project_id': '405657e34b094aa6aaae3ebc739abf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-vn-22605287'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:54:16,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '31a271d1-3730-43cb-ba87-a4e22e9a7b33', 'name': '', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'network_id': 'f31b8463-eff9-4c2b-be5b-aee77da9cad3', 'ip_version': 4, 'cidr': '49.238.182.0/26', 'allocation_pools': [{'start': '49.238.182.2', 'end': '49.238.182.62'}], 'gateway_ip': '49.238.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.238.182.2', 'tags': [], 'project_id': '405657e34b094aa6aaae3ebc739abf8f'}}
2025-10-30 21:54:16,499 - INFO - Created VN ctest-vn-22605287
2025-10-30 21:54:16,550 - DEBUG - VN ctest-vn-22605287 UUID is f31b8463-eff9-4c2b-be5b-aee77da9cad3
2025-10-30 21:54:16,698 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650, 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-76633469:ctest-vn-22605287, 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-30 21:54:16,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24c9d31f-bd25-4af8-b13f-7581be67d7a6', 'name': 'ctest-vn-58586650', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'project_id': '405657e34b094aa6aaae3ebc739abf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7932a58c-df6e-47c7-996e-4dc9b1694cfe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-vn-58586650'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-policy-allow-all-48816082']], 'subnet_ipam': [{'subnet_cidr': '23.107.9.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:54:17,204 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f31b8463-eff9-4c2b-be5b-aee77da9cad3', 'name': 'ctest-vn-22605287', 'tenant_id': '405657e34b094aa6aaae3ebc739abf8f', 'project_id': '405657e34b094aa6aaae3ebc739abf8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['31a271d1-3730-43cb-ba87-a4e22e9a7b33'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-vn-22605287'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-policy-allow-all-48816082']], 'subnet_ipam': [{'subnet_cidr': '49.238.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:54:17,358 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2025-10-30 21:54:17,662 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2025-10-30 21:54:17,694 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03
2025-10-30 21:54:17,704 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f
2025-10-30 21:54:17,775 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6
2025-10-30 21:54:17,784 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6
2025-10-30 21:54:17,792 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c
2025-10-30 21:54:17,798 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c
2025-10-30 21:54:17,804 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/14f121a9-2fde-4a5e-ae65-b2fce01c5b37
2025-10-30 21:54:17,811 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 21:54:17,811 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6
2025-10-30 21:54:17,820 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c
2025-10-30 21:54:17,835 - INFO - Verified VN network id 12 for VN 24c9d31f-bd25-4af8-b13f-7581be67d7a6
2025-10-30 21:54:17,835 - INFO - Verifications in API Server for VN ctest-vn-58586650 passed
2025-10-30 21:54:17,835 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6
2025-10-30 21:54:17,843 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c
2025-10-30 21:54:17,849 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a4f192c1-d230-4568-ab06-a68eee634a2c
2025-10-30 21:54:17,854 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/14f121a9-2fde-4a5e-ae65-b2fce01c5b37
2025-10-30 21:54:17,865 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76633469', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2650881988955032312', 'uuid-lslong': '12772056268351723430'}, 'enable': 'true', 'created': '2025-10-30T21:54:15', 'last-modified': '2025-10-30T21:54:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899778'}
2025-10-30 21:54:17,871 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 21:54:17,872 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58586650 passed
2025-10-30 21:54:17,872 - DEBUG - ====Verifying policy data for ctest-vn-58586650 in API_Server ======
2025-10-30 21:54:17,872 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2025-10-30 21:54:17,877 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03
2025-10-30 21:54:17,886 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f
2025-10-30 21:54:17,954 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/24c9d31f-bd25-4af8-b13f-7581be67d7a6
2025-10-30 21:54:17,963 - DEBUG - ==>Verifying data for policy with id: 56e88bff-5d87-4603-9ed3-54eb615a7574, fqn: ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-policy-allow-all-48816082']
2025-10-30 21:54:17,963 - INFO - VN ctest-vn-58586650 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 21:54:17,963 - DEBUG - Verifying the vn in opserver
2025-10-30 21:54:17,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650 virtual network link  through opserver 10.0.0.240
2025-10-30 21:54:17,963 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2025-10-30 21:54:18,252 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2025-10-30 21:54:18,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650?flat'}
2025-10-30 21:54:18,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-58586650 is found in opserver
2025-10-30 21:54:18,310 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 21:54:18,314 - DEBUG - VRF ids for VN ctest-vn-58586650: {}
2025-10-30 21:54:18,314 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2025-10-30 21:54:18,319 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03
2025-10-30 21:54:18,329 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f
2025-10-30 21:54:18,396 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3
2025-10-30 21:54:18,406 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3
2025-10-30 21:54:18,414 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea
2025-10-30 21:54:18,420 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea
2025-10-30 21:54:18,425 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/05ee7346-c5c7-48b1-ba7e-f24971e2267d
2025-10-30 21:54:18,431 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 21:54:18,431 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3
2025-10-30 21:54:18,438 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea
2025-10-30 21:54:18,450 - INFO - Verified VN network id 13 for VN f31b8463-eff9-4c2b-be5b-aee77da9cad3
2025-10-30 21:54:18,450 - INFO - Verifications in API Server for VN ctest-vn-22605287 passed
2025-10-30 21:54:18,450 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3
2025-10-30 21:54:18,457 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea
2025-10-30 21:54:18,463 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3cb081f7-00d6-4a29-8e09-58b3e7ba00ea
2025-10-30 21:54:18,469 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/05ee7346-c5c7-48b1-ba7e-f24971e2267d
2025-10-30 21:54:18,479 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76633469', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17517740740350397483', 'uuid-lslong': '13716749399355935443'}, 'enable': 'true', 'created': '2025-10-30T21:54:16', 'last-modified': '2025-10-30T21:54:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.295937'}
2025-10-30 21:54:18,485 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 21:54:18,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22605287 passed
2025-10-30 21:54:18,485 - DEBUG - ====Verifying policy data for ctest-vn-22605287 in API_Server ======
2025-10-30 21:54:18,485 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2025-10-30 21:54:18,490 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6289de67-18cd-4eae-96a8-1e72dffd8a03
2025-10-30 21:54:18,500 - DEBUG - Requesting: http://10.0.0.240:8082/project/405657e3-4b09-4aa6-aaae-3ebc739abf8f
2025-10-30 21:54:18,569 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f31b8463-eff9-4c2b-be5b-aee77da9cad3
2025-10-30 21:54:18,577 - DEBUG - ==>Verifying data for policy with id: 56e88bff-5d87-4603-9ed3-54eb615a7574, fqn: ['default-domain', 'ctest-TestBasicPolicy-76633469', 'ctest-policy-allow-all-48816082']
2025-10-30 21:54:18,577 - INFO - VN ctest-vn-22605287 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 21:54:18,577 - DEBUG - Verifying the vn in opserver
2025-10-30 21:54:18,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287 virtual network link  through opserver 10.0.0.240
2025-10-30 21:54:18,577 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2025-10-30 21:54:18,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287?flat'}
2025-10-30 21:54:18,586 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76633469:ctest-vn-22605287 is found in opserver
2025-10-30 21:54:18,594 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 21:54:18,598 - DEBUG - VRF ids for VN ctest-vn-22605287: {}
2025-10-30 21:54:18,667 - DEBUG - Services list from nova: [