2025-10-31 10:19:06,724 - INFO - Domain Default found not creating
2025-10-31 10:19:06,899 - INFO - Project ctest-TestBasicPolicy-45781880 not found, creating it
2025-10-31 10:19:07,396 - INFO - Created Project:ctest-TestBasicPolicy-45781880, ID : a8aa9793-4881-428d-9fd1-3c5bf15c1605 
2025-10-31 10:19:08,884 - INFO - ================================================================================
2025-10-31 10:19:08,884 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-31 10:19:08,884 - 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-31 10:19:09,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-10-31 10:19:09,159 - INFO - Initial checks done. Running the testcase now
2025-10-31 10:19:09,159 - INFO - 
2025-10-31 10:19:09,734 - DEBUG - Response for create_network : {'network': {'id': '45323279-59ad-4ffd-8ed6-342c8bc6ebe3', 'name': 'ctest-vn-32540981', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'project_id': 'a8aa97934881428d9fd13c5bf15c1605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-vn-32540981'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 10:19:09,949 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b17f24d-d951-48fb-a223-120a38de5710', 'name': '', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'network_id': '45323279-59ad-4ffd-8ed6-342c8bc6ebe3', 'ip_version': 4, 'cidr': '191.176.147.192/26', 'allocation_pools': [{'start': '191.176.147.194', 'end': '191.176.147.254'}], 'gateway_ip': '191.176.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.176.147.194', 'tags': [], 'project_id': 'a8aa97934881428d9fd13c5bf15c1605'}}
2025-10-31 10:19:09,972 - INFO - Created VN ctest-vn-32540981
2025-10-31 10:19:10,027 - DEBUG - VN ctest-vn-32540981 UUID is 45323279-59ad-4ffd-8ed6-342c8bc6ebe3
2025-10-31 10:19:10,358 - DEBUG - Response for create_network : {'network': {'id': 'ce97666d-244c-4030-832f-0571870bf717', 'name': 'ctest-vn-83484925', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'project_id': 'a8aa97934881428d9fd13c5bf15c1605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-vn-83484925'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 10:19:10,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f7f221e-5b49-41f2-ac03-457b377d83ef', 'name': '', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'network_id': 'ce97666d-244c-4030-832f-0571870bf717', 'ip_version': 4, 'cidr': '206.121.80.128/26', 'allocation_pools': [{'start': '206.121.80.130', 'end': '206.121.80.190'}], 'gateway_ip': '206.121.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.121.80.130', 'tags': [], 'project_id': 'a8aa97934881428d9fd13c5bf15c1605'}}
2025-10-31 10:19:10,573 - INFO - Created VN ctest-vn-83484925
2025-10-31 10:19:10,630 - DEBUG - VN ctest-vn-83484925 UUID is ce97666d-244c-4030-832f-0571870bf717
2025-10-31 10:19:10,745 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981, 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-45781880:ctest-vn-83484925, 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-31 10:19:11,067 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45323279-59ad-4ffd-8ed6-342c8bc6ebe3', 'name': 'ctest-vn-32540981', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'project_id': 'a8aa97934881428d9fd13c5bf15c1605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b17f24d-d951-48fb-a223-120a38de5710'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-vn-32540981'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-policy-allow-all-96340896']], 'subnet_ipam': [{'subnet_cidr': '191.176.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 10:19:11,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce97666d-244c-4030-832f-0571870bf717', 'name': 'ctest-vn-83484925', 'tenant_id': 'a8aa97934881428d9fd13c5bf15c1605', 'project_id': 'a8aa97934881428d9fd13c5bf15c1605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f7f221e-5b49-41f2-ac03-457b377d83ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-vn-83484925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-policy-allow-all-96340896']], 'subnet_ipam': [{'subnet_cidr': '206.121.80.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 10:19:11,466 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 10:19:11,782 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 10:19:11,826 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37
2025-10-31 10:19:11,839 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605
2025-10-31 10:19:11,923 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3
2025-10-31 10:19:11,936 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3
2025-10-31 10:19:11,947 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a
2025-10-31 10:19:11,956 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a
2025-10-31 10:19:11,964 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4d992741-1832-4580-a002-ab0b55bb30c7
2025-10-31 10:19:11,971 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 10:19:11,971 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3
2025-10-31 10:19:11,979 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a
2025-10-31 10:19:11,992 - INFO - Verified VN network id 11 for VN 45323279-59ad-4ffd-8ed6-342c8bc6ebe3
2025-10-31 10:19:11,992 - INFO - Verifications in API Server for VN ctest-vn-32540981 passed
2025-10-31 10:19:11,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3
2025-10-31 10:19:12,002 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a
2025-10-31 10:19:12,010 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f315ef52-c355-4fd2-a5e3-0c7a2846f96a
2025-10-31 10:19:12,018 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4d992741-1832-4580-a002-ab0b55bb30c7
2025-10-31 10:19:12,031 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45781880', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4986103234229522429', 'uuid-lslong': '10292471364330122211'}, 'enable': 'true', 'created': '2025-10-31T10:19:09', 'last-modified': '2025-10-31T10:19:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988817'}
2025-10-31 10:19:12,039 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 10:19:12,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32540981 passed
2025-10-31 10:19:12,040 - DEBUG - ====Verifying policy data for ctest-vn-32540981 in API_Server ======
2025-10-31 10:19:12,040 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 10:19:12,046 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37
2025-10-31 10:19:12,059 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605
2025-10-31 10:19:12,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/45323279-59ad-4ffd-8ed6-342c8bc6ebe3
2025-10-31 10:19:12,141 - DEBUG - ==>Verifying data for policy with id: 5b7e120d-d55c-454d-8d18-684ac3e070f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-policy-allow-all-96340896']
2025-10-31 10:19:12,141 - INFO - VN ctest-vn-32540981 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 10:19:12,141 - DEBUG - Verifying the vn in opserver
2025-10-31 10:19:12,141 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981 virtual network link  through opserver 10.0.0.254
2025-10-31 10:19:12,141 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-31 10:19:12,460 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-31 10:19:12,526 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981?flat'}
2025-10-31 10:19:12,526 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-32540981 is found in opserver
2025-10-31 10:19:12,536 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 10:19:12,540 - DEBUG - VRF ids for VN ctest-vn-32540981: {}
2025-10-31 10:19:12,540 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 10:19:12,546 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37
2025-10-31 10:19:12,559 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605
2025-10-31 10:19:12,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717
2025-10-31 10:19:12,647 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717
2025-10-31 10:19:12,657 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474
2025-10-31 10:19:12,666 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474
2025-10-31 10:19:12,674 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fde580ae-4ee9-4622-b04f-172928b5584c
2025-10-31 10:19:12,681 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 10:19:12,681 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717
2025-10-31 10:19:12,690 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474
2025-10-31 10:19:12,705 - INFO - Verified VN network id 12 for VN ce97666d-244c-4030-832f-0571870bf717
2025-10-31 10:19:12,705 - INFO - Verifications in API Server for VN ctest-vn-83484925 passed
2025-10-31 10:19:12,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717
2025-10-31 10:19:12,715 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474
2025-10-31 10:19:12,723 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8f47ddc9-5f54-45b9-a9e8-19d3cd98b474
2025-10-31 10:19:12,730 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fde580ae-4ee9-4622-b04f-172928b5584c
2025-10-31 10:19:12,743 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45781880', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14886479712242909232', 'uuid-lslong': '9452780128029112087'}, 'enable': 'true', 'created': '2025-10-31T10:19:10', 'last-modified': '2025-10-31T10:19:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469459'}
2025-10-31 10:19:12,748 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 10:19:12,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83484925 passed
2025-10-31 10:19:12,748 - DEBUG - ====Verifying policy data for ctest-vn-83484925 in API_Server ======
2025-10-31 10:19:12,748 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 10:19:12,755 - DEBUG - Requesting: http://10.0.0.254:8082/domain/17fcef7e-59ca-443f-97eb-8682e8663d37
2025-10-31 10:19:12,765 - DEBUG - Requesting: http://10.0.0.254:8082/project/a8aa9793-4881-428d-9fd1-3c5bf15c1605
2025-10-31 10:19:12,835 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce97666d-244c-4030-832f-0571870bf717
2025-10-31 10:19:12,845 - DEBUG - ==>Verifying data for policy with id: 5b7e120d-d55c-454d-8d18-684ac3e070f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-45781880', 'ctest-policy-allow-all-96340896']
2025-10-31 10:19:12,845 - INFO - VN ctest-vn-83484925 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 10:19:12,845 - DEBUG - Verifying the vn in opserver
2025-10-31 10:19:12,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925 virtual network link  through opserver 10.0.0.254
2025-10-31 10:19:12,845 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-31 10:19:12,857 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925?flat'}
2025-10-31 10:19:12,857 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45781880:ctest-vn-83484925 is found in opserver
2025-10-31 10:19:12,868 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 10:19:12,874 - DEBUG - VRF ids for VN ctest-vn-83484925: {}
2025-10-31 10:19:12,940 - DEBUG - Services list from nova: [