2025-10-29 16:54:35,186 - INFO - Domain Default found not creating
2025-10-29 16:54:35,352 - INFO - Project ctest-TestBasicPolicy-36084931 not found, creating it
2025-10-29 16:54:35,828 - INFO - Created Project:ctest-TestBasicPolicy-36084931, ID : b70e817e-280e-4d67-9f85-606005032e02 
2025-10-29 16:54:37,385 - INFO - ================================================================================
2025-10-29 16:54:37,385 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-29 16:54:37,385 - 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-29 16:54:37,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with
2025-10-29 16:54:37,639 - INFO - Initial checks done. Running the testcase now
2025-10-29 16:54:37,640 - INFO - 
2025-10-29 16:54:38,217 - DEBUG - Response for create_network : {'network': {'id': '3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b', 'name': 'ctest-vn-93007187', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'project_id': 'b70e817e280e4d679f85606005032e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-vn-93007187'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 16:54:38,438 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0237546-4539-4309-bbea-5e827ece6223', 'name': '', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'network_id': '3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b', 'ip_version': 4, 'cidr': '120.183.61.192/26', 'allocation_pools': [{'start': '120.183.61.194', 'end': '120.183.61.254'}], 'gateway_ip': '120.183.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.183.61.194', 'tags': [], 'project_id': 'b70e817e280e4d679f85606005032e02'}}
2025-10-29 16:54:38,456 - INFO - Created VN ctest-vn-93007187
2025-10-29 16:54:38,507 - DEBUG - VN ctest-vn-93007187 UUID is 3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b
2025-10-29 16:54:38,811 - DEBUG - Response for create_network : {'network': {'id': '7cf58719-38a7-4a93-bac8-b0c36d793d27', 'name': 'ctest-vn-34915223', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'project_id': 'b70e817e280e4d679f85606005032e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-vn-34915223'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 16:54:38,974 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdf60788-ffc1-4295-a802-4efbb366a08e', 'name': '', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'network_id': '7cf58719-38a7-4a93-bac8-b0c36d793d27', 'ip_version': 4, 'cidr': '129.248.66.192/26', 'allocation_pools': [{'start': '129.248.66.194', 'end': '129.248.66.254'}], 'gateway_ip': '129.248.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.248.66.194', 'tags': [], 'project_id': 'b70e817e280e4d679f85606005032e02'}}
2025-10-29 16:54:38,991 - INFO - Created VN ctest-vn-34915223
2025-10-29 16:54:39,043 - DEBUG - VN ctest-vn-34915223 UUID is 7cf58719-38a7-4a93-bac8-b0c36d793d27
2025-10-29 16:54:39,169 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187, 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-36084931:ctest-vn-34915223, 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-29 16:54:39,474 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b', 'name': 'ctest-vn-93007187', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'project_id': 'b70e817e280e4d679f85606005032e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0237546-4539-4309-bbea-5e827ece6223'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-vn-93007187'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-policy-allow-all-03918727']], 'subnet_ipam': [{'subnet_cidr': '120.183.61.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-29 16:54:39,762 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cf58719-38a7-4a93-bac8-b0c36d793d27', 'name': 'ctest-vn-34915223', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'project_id': 'b70e817e280e4d679f85606005032e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cdf60788-ffc1-4295-a802-4efbb366a08e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-vn-34915223'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-policy-allow-all-03918727']], 'subnet_ipam': [{'subnet_cidr': '129.248.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-29 16:54:39,911 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 16:54:40,246 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 16:54:40,275 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517
2025-10-29 16:54:40,287 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02
2025-10-29 16:54:40,360 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b
2025-10-29 16:54:40,371 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b
2025-10-29 16:54:40,380 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f
2025-10-29 16:54:40,386 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f
2025-10-29 16:54:40,393 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/18a50c21-ce11-4e0e-bbfa-bed127cfa282
2025-10-29 16:54:40,398 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-29 16:54:40,398 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b
2025-10-29 16:54:40,407 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f
2025-10-29 16:54:40,420 - INFO - Verified VN network id 11 for VN 3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b
2025-10-29 16:54:40,420 - INFO - Verifications in API Server for VN ctest-vn-93007187 passed
2025-10-29 16:54:40,420 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b
2025-10-29 16:54:40,430 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f
2025-10-29 16:54:40,438 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f
2025-10-29 16:54:40,445 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/18a50c21-ce11-4e0e-bbfa-bed127cfa282
2025-10-29 16:54:40,458 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36084931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4261997722055887333', 'uuid-lslong': '12583496599363784219'}, 'enable': 'true', 'created': '2025-10-29T16:54:38', 'last-modified': '2025-10-29T16:54:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009579'}
2025-10-29 16:54:40,465 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-29 16:54:40,466 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93007187 passed
2025-10-29 16:54:40,466 - DEBUG - ====Verifying policy data for ctest-vn-93007187 in API_Server ======
2025-10-29 16:54:40,466 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 16:54:40,471 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517
2025-10-29 16:54:40,483 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02
2025-10-29 16:54:40,553 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b
2025-10-29 16:54:40,562 - DEBUG - ==>Verifying data for policy with id: 1ba2bbbe-3c49-4ba2-b2c8-cff6d3d77570, fqn: ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-policy-allow-all-03918727']
2025-10-29 16:54:40,562 - INFO - VN ctest-vn-93007187 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-29 16:54:40,562 - DEBUG - Verifying the vn in opserver
2025-10-29 16:54:40,562 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187 virtual network link  through opserver 10.0.0.242
2025-10-29 16:54:40,562 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-29 16:54:40,903 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-29 16:54:40,962 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187?flat'}
2025-10-29 16:54:40,962 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187 is found in opserver
2025-10-29 16:54:40,974 - DEBUG - Do not have enough data to verify VN in agent
2025-10-29 16:54:40,978 - DEBUG - VRF ids for VN ctest-vn-93007187: {}
2025-10-29 16:54:40,978 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 16:54:40,984 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517
2025-10-29 16:54:40,995 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02
2025-10-29 16:54:41,069 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27
2025-10-29 16:54:41,080 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27
2025-10-29 16:54:41,089 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c
2025-10-29 16:54:41,096 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c
2025-10-29 16:54:41,102 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/24c67186-1eb7-47cb-b044-a5dff900fce6
2025-10-29 16:54:41,108 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-29 16:54:41,108 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27
2025-10-29 16:54:41,116 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c
2025-10-29 16:54:41,129 - INFO - Verified VN network id 12 for VN 7cf58719-38a7-4a93-bac8-b0c36d793d27
2025-10-29 16:54:41,129 - INFO - Verifications in API Server for VN ctest-vn-34915223 passed
2025-10-29 16:54:41,129 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27
2025-10-29 16:54:41,137 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c
2025-10-29 16:54:41,144 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c
2025-10-29 16:54:41,149 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/24c67186-1eb7-47cb-b044-a5dff900fce6
2025-10-29 16:54:41,160 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36084931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9004251572391594643', 'uuid-lslong': '13459201839798500647'}, 'enable': 'true', 'created': '2025-10-29T16:54:38', 'last-modified': '2025-10-29T16:54:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.460186'}
2025-10-29 16:54:41,166 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-29 16:54:41,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34915223 passed
2025-10-29 16:54:41,166 - DEBUG - ====Verifying policy data for ctest-vn-34915223 in API_Server ======
2025-10-29 16:54:41,166 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 16:54:41,173 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517
2025-10-29 16:54:41,183 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02
2025-10-29 16:54:41,252 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27
2025-10-29 16:54:41,262 - DEBUG - ==>Verifying data for policy with id: 1ba2bbbe-3c49-4ba2-b2c8-cff6d3d77570, fqn: ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-policy-allow-all-03918727']
2025-10-29 16:54:41,262 - INFO - VN ctest-vn-34915223 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-29 16:54:41,262 - DEBUG - Verifying the vn in opserver
2025-10-29 16:54:41,262 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223 virtual network link  through opserver 10.0.0.242
2025-10-29 16:54:41,262 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-29 16:54:41,273 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223?flat'}
2025-10-29 16:54:41,273 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223 is found in opserver
2025-10-29 16:54:41,283 - DEBUG - Do not have enough data to verify VN in agent
2025-10-29 16:54:41,289 - DEBUG - VRF ids for VN ctest-vn-34915223: {}
2025-10-29 16:54:41,346 - DEBUG - Services list from nova: [