2026-01-29 17:11:49,457 - INFO - Domain Default found not creating
2026-01-29 17:11:49,633 - INFO - Project ctest-TestBasicPolicy-29388769 not found, creating it
2026-01-29 17:11:50,117 - INFO - Created Project:ctest-TestBasicPolicy-29388769, ID : 717d6656-5ad6-4efe-b2a6-e32552928e78
2026-01-29 17:11:51,649 - INFO - ================================================================================
2026-01-29 17:11:51,649 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 17:11:51,649 - 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
2026-01-29 17:11:51,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.25': '0'}} with
2026-01-29 17:11:51,907 - INFO - Initial checks done. Running the testcase now
2026-01-29 17:11:51,907 - INFO -
2026-01-29 17:11:52,454 - DEBUG - Response for create_network : {'network': {'id': '3075ba6f-7a1e-4fd2-b48d-ed52903978bc', 'name': 'ctest-vn-12572959', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'project_id': '717d66565ad64efeb2a6e32552928e78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-vn-12572959'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:11:52,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b3b8351-3971-4fcd-8d23-3a012c9d62de', 'name': '', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'network_id': '3075ba6f-7a1e-4fd2-b48d-ed52903978bc', 'ip_version': 4, 'cidr': '129.162.50.192/26', 'allocation_pools': [{'start': '129.162.50.194', 'end': '129.162.50.254'}], 'gateway_ip': '129.162.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.162.50.194', 'tags': [], 'project_id': '717d66565ad64efeb2a6e32552928e78'}}
2026-01-29 17:11:52,696 - INFO - Created VN ctest-vn-12572959
2026-01-29 17:11:52,749 - DEBUG - VN ctest-vn-12572959 UUID is 3075ba6f-7a1e-4fd2-b48d-ed52903978bc
2026-01-29 17:11:53,031 - DEBUG - Response for create_network : {'network': {'id': '760672d6-9a96-433f-981a-979a281d3099', 'name': 'ctest-vn-67185807', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'project_id': '717d66565ad64efeb2a6e32552928e78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-vn-67185807'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:11:53,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '370d76fc-0733-44af-b624-5dcfdfdc20c8', 'name': '', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'network_id': '760672d6-9a96-433f-981a-979a281d3099', 'ip_version': 4, 'cidr': '20.95.250.128/26', 'allocation_pools': [{'start': '20.95.250.130', 'end': '20.95.250.190'}], 'gateway_ip': '20.95.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.95.250.130', 'tags': [], 'project_id': '717d66565ad64efeb2a6e32552928e78'}}
2026-01-29 17:11:53,231 - INFO - Created VN ctest-vn-67185807
2026-01-29 17:11:53,281 - DEBUG - VN ctest-vn-67185807 UUID is 760672d6-9a96-433f-981a-979a281d3099
2026-01-29 17:11:53,398 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959, 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-29388769:ctest-vn-67185807, 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]
2026-01-29 17:11:53,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3075ba6f-7a1e-4fd2-b48d-ed52903978bc', 'name': 'ctest-vn-12572959', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'project_id': '717d66565ad64efeb2a6e32552928e78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b3b8351-3971-4fcd-8d23-3a012c9d62de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-vn-12572959'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-policy-allow-all-53611077']], 'subnet_ipam': [{'subnet_cidr': '129.162.50.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:11:53,921 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '760672d6-9a96-433f-981a-979a281d3099', 'name': 'ctest-vn-67185807', 'tenant_id': '717d66565ad64efeb2a6e32552928e78', 'project_id': '717d66565ad64efeb2a6e32552928e78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['370d76fc-0733-44af-b624-5dcfdfdc20c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-vn-67185807'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-policy-allow-all-53611077']], 'subnet_ipam': [{'subnet_cidr': '20.95.250.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:11:54,049 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-29 17:11:54,363 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-29 17:11:54,398 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632
2026-01-29 17:11:54,412 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78
2026-01-29 17:11:54,486 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc
2026-01-29 17:11:54,497 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc
2026-01-29 17:11:54,507 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed
2026-01-29 17:11:54,515 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed
2026-01-29 17:11:54,521 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/61373b3e-4c55-4a58-a037-921be466168e
2026-01-29 17:11:54,529 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 17:11:54,529 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc
2026-01-29 17:11:54,540 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed
2026-01-29 17:11:54,558 - INFO - Verified VN network id 11 for VN 3075ba6f-7a1e-4fd2-b48d-ed52903978bc
2026-01-29 17:11:54,559 - INFO - Verifications in API Server for VN ctest-vn-12572959 passed
2026-01-29 17:11:54,559 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc
2026-01-29 17:11:54,569 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed
2026-01-29 17:11:54,577 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/bcf33933-41b1-4783-bd05-aee294a247ed
2026-01-29 17:11:54,585 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/61373b3e-4c55-4a58-a037-921be466168e
2026-01-29 17:11:54,598 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29388769', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3491902074048630738', 'uuid-lslong': '13010315837406017724'}, 'enable': 'true', 'created': '2026-01-29T17:11:52', 'last-modified': '2026-01-29T17:11:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925430'}
2026-01-29 17:11:54,605 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 17:11:54,605 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12572959 passed
2026-01-29 17:11:54,605 - DEBUG - ====Verifying policy data for ctest-vn-12572959 in API_Server ======
2026-01-29 17:11:54,605 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-29 17:11:54,611 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632
2026-01-29 17:11:54,622 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78
2026-01-29 17:11:54,692 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/3075ba6f-7a1e-4fd2-b48d-ed52903978bc
2026-01-29 17:11:54,702 - DEBUG - ==>Verifying data for policy with id: fd49aaca-c383-4ab3-b14d-c2f4ca22140a, fqn: ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-policy-allow-all-53611077']
2026-01-29 17:11:54,702 - INFO - VN ctest-vn-12572959 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 17:11:54,702 - DEBUG - Verifying the vn in opserver
2026-01-29 17:11:54,702 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959 virtual network link through opserver 10.0.0.240
2026-01-29 17:11:54,702 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-01-29 17:11:55,000 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-01-29 17:11:55,066 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959?flat'}
2026-01-29 17:11:55,066 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-12572959 is found in opserver
2026-01-29 17:11:55,076 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 17:11:55,080 - DEBUG - VRF ids for VN ctest-vn-12572959: {}
2026-01-29 17:11:55,081 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-29 17:11:55,086 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632
2026-01-29 17:11:55,097 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78
2026-01-29 17:11:55,170 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099
2026-01-29 17:11:55,181 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099
2026-01-29 17:11:55,191 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94
2026-01-29 17:11:55,198 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94
2026-01-29 17:11:55,204 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/561ffd11-b1b2-4887-beca-80e02243eccb
2026-01-29 17:11:55,211 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 17:11:55,211 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099
2026-01-29 17:11:55,220 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94
2026-01-29 17:11:55,235 - INFO - Verified VN network id 12 for VN 760672d6-9a96-433f-981a-979a281d3099
2026-01-29 17:11:55,235 - INFO - Verifications in API Server for VN ctest-vn-67185807 passed
2026-01-29 17:11:55,236 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099
2026-01-29 17:11:55,246 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94
2026-01-29 17:11:55,254 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/5b617dc6-7b5a-4e67-8ab3-6c510054bb94
2026-01-29 17:11:55,262 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/561ffd11-b1b2-4887-beca-80e02243eccb
2026-01-29 17:11:55,275 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29388769', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8504611212377867071', 'uuid-lslong': '10960239331513282713'}, 'enable': 'true', 'created': '2026-01-29T17:11:53', 'last-modified': '2026-01-29T17:11:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376177'}
2026-01-29 17:11:55,281 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 17:11:55,282 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67185807 passed
2026-01-29 17:11:55,282 - DEBUG - ====Verifying policy data for ctest-vn-67185807 in API_Server ======
2026-01-29 17:11:55,282 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-29 17:11:55,288 - DEBUG - Requesting: http://10.0.0.240:8082/domain/707db02e-1694-496e-92de-c734a10ad632
2026-01-29 17:11:55,298 - DEBUG - Requesting: http://10.0.0.240:8082/project/717d6656-5ad6-4efe-b2a6-e32552928e78
2026-01-29 17:11:55,368 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/760672d6-9a96-433f-981a-979a281d3099
2026-01-29 17:11:55,378 - DEBUG - ==>Verifying data for policy with id: fd49aaca-c383-4ab3-b14d-c2f4ca22140a, fqn: ['default-domain', 'ctest-TestBasicPolicy-29388769', 'ctest-policy-allow-all-53611077']
2026-01-29 17:11:55,378 - INFO - VN ctest-vn-67185807 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 17:11:55,378 - DEBUG - Verifying the vn in opserver
2026-01-29 17:11:55,378 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807 virtual network link through opserver 10.0.0.240
2026-01-29 17:11:55,378 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-01-29 17:11:55,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807?flat'}
2026-01-29 17:11:55,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29388769:ctest-vn-67185807 is found in opserver
2026-01-29 17:11:55,398 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 17:11:55,402 - DEBUG - VRF ids for VN ctest-vn-67185807: {}
2026-01-29 17:11:55,459 - DEBUG - Services list from nova: [