2026-02-16 08:29:50,962 - INFO - Domain Default found not creating
2026-02-16 08:29:51,111 - INFO - Project ctest-TestBasicPolicy-75870679 not found, creating it
2026-02-16 08:29:51,541 - INFO - Created Project:ctest-TestBasicPolicy-75870679, ID : 9122148d-f2c7-4505-8dad-260a3ad4a2e9
2026-02-16 08:29:52,951 - INFO - ================================================================================
2026-02-16 08:29:52,951 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-16 08:29:52,951 - 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-02-16 08:29:53,213 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-16 08:29:53,213 - INFO - Initial checks done. Running the testcase now
2026-02-16 08:29:53,213 - INFO -
2026-02-16 08:29:53,732 - DEBUG - Response for create_network : {'network': {'id': '78986b45-bb85-4ce5-99a2-8825e9639f2a', 'name': 'ctest-vn-63868555', 'tenant_id': '9122148df2c745058dad260a3ad4a2e9', 'project_id': '9122148df2c745058dad260a3ad4a2e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75870679', 'ctest-vn-63868555'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 08:29:53,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '67724496-ab48-4a0a-bd9a-e52ab06b8bc2', 'name': '', 'tenant_id': '9122148df2c745058dad260a3ad4a2e9', 'network_id': '78986b45-bb85-4ce5-99a2-8825e9639f2a', 'ip_version': 4, 'cidr': '48.80.135.192/26', 'allocation_pools': [{'start': '48.80.135.194', 'end': '48.80.135.254'}], 'gateway_ip': '48.80.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.80.135.194', 'tags': [], 'project_id': '9122148df2c745058dad260a3ad4a2e9'}}
2026-02-16 08:29:53,915 - INFO - Created VN ctest-vn-63868555
2026-02-16 08:29:53,968 - DEBUG - VN ctest-vn-63868555 UUID is 78986b45-bb85-4ce5-99a2-8825e9639f2a
2026-02-16 08:29:54,268 - DEBUG - Response for create_network : {'network': {'id': '3f942f05-8897-4631-9231-34d469e4fb42', 'name': 'ctest-vn-48705295', 'tenant_id': '9122148df2c745058dad260a3ad4a2e9', 'project_id': '9122148df2c745058dad260a3ad4a2e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75870679', 'ctest-vn-48705295'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 08:29:54,395 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e919dc52-e0bb-48f6-8b40-f7337bf9779e', 'name': '', 'tenant_id': '9122148df2c745058dad260a3ad4a2e9', 'network_id': '3f942f05-8897-4631-9231-34d469e4fb42', 'ip_version': 4, 'cidr': '161.239.41.0/26', 'allocation_pools': [{'start': '161.239.41.2', 'end': '161.239.41.62'}], 'gateway_ip': '161.239.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.239.41.2', 'tags': [], 'project_id': '9122148df2c745058dad260a3ad4a2e9'}}
2026-02-16 08:29:54,413 - INFO - Created VN ctest-vn-48705295
2026-02-16 08:29:54,464 - DEBUG - VN ctest-vn-48705295 UUID is 3f942f05-8897-4631-9231-34d469e4fb42
2026-02-16 08:29:54,612 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-63868555, 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-75870679:ctest-vn-48705295, 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-02-16 08:29:54,905 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78986b45-bb85-4ce5-99a2-8825e9639f2a', 'name': 'ctest-vn-63868555', 'tenant_id': '9122148df2c745058dad260a3ad4a2e9', 'project_id': '9122148df2c745058dad260a3ad4a2e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['67724496-ab48-4a0a-bd9a-e52ab06b8bc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75870679', 'ctest-vn-63868555'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75870679', 'ctest-policy-allow-all-13162266']], 'subnet_ipam': [{'subnet_cidr': '48.80.135.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 08:29:55,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f942f05-8897-4631-9231-34d469e4fb42', 'name': 'ctest-vn-48705295', 'tenant_id': '9122148df2c745058dad260a3ad4a2e9', 'project_id': '9122148df2c745058dad260a3ad4a2e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e919dc52-e0bb-48f6-8b40-f7337bf9779e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75870679', 'ctest-vn-48705295'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75870679', 'ctest-policy-allow-all-13162266']], 'subnet_ipam': [{'subnet_cidr': '161.239.41.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 08:29:55,300 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-16 08:29:55,599 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-16 08:29:55,627 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c0b722f4-d87c-49b4-a807-2db5c674ce08
2026-02-16 08:29:55,638 - DEBUG - Requesting: http://10.0.0.50:8082/project/9122148d-f2c7-4505-8dad-260a3ad4a2e9
2026-02-16 08:29:55,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78986b45-bb85-4ce5-99a2-8825e9639f2a
2026-02-16 08:29:55,717 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78986b45-bb85-4ce5-99a2-8825e9639f2a
2026-02-16 08:29:55,724 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bde9cc7-ee13-4cfb-a1ee-f7a7b8f16c4f
2026-02-16 08:29:55,730 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bde9cc7-ee13-4cfb-a1ee-f7a7b8f16c4f
2026-02-16 08:29:55,735 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/da46b6c4-e32f-4b8e-997b-fe66c21da117
2026-02-16 08:29:55,740 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 08:29:55,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78986b45-bb85-4ce5-99a2-8825e9639f2a
2026-02-16 08:29:55,748 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bde9cc7-ee13-4cfb-a1ee-f7a7b8f16c4f
2026-02-16 08:29:55,760 - INFO - Verified VN network id 11 for VN 78986b45-bb85-4ce5-99a2-8825e9639f2a
2026-02-16 08:29:55,760 - INFO - Verifications in API Server for VN ctest-vn-63868555 passed
2026-02-16 08:29:55,761 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78986b45-bb85-4ce5-99a2-8825e9639f2a
2026-02-16 08:29:55,768 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bde9cc7-ee13-4cfb-a1ee-f7a7b8f16c4f
2026-02-16 08:29:55,773 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bde9cc7-ee13-4cfb-a1ee-f7a7b8f16c4f
2026-02-16 08:29:55,778 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/da46b6c4-e32f-4b8e-997b-fe66c21da117
2026-02-16 08:29:55,787 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-63868555', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75870679', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8689813428254362853', 'uuid-lslong': '11070560530440888106'}, 'enable': 'true', 'created': '2026-02-16T08:29:53', 'last-modified': '2026-02-16T08:29:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911181'}
2026-02-16 08:29:55,792 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 08:29:55,792 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63868555 passed
2026-02-16 08:29:55,792 - DEBUG - ====Verifying policy data for ctest-vn-63868555 in API_Server ======
2026-02-16 08:29:55,792 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-16 08:29:55,796 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c0b722f4-d87c-49b4-a807-2db5c674ce08
2026-02-16 08:29:55,805 - DEBUG - Requesting: http://10.0.0.50:8082/project/9122148d-f2c7-4505-8dad-260a3ad4a2e9
2026-02-16 08:29:55,872 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78986b45-bb85-4ce5-99a2-8825e9639f2a
2026-02-16 08:29:55,880 - DEBUG - ==>Verifying data for policy with id: a608d039-68d7-44fa-83f5-e76bac383271, fqn: ['default-domain', 'ctest-TestBasicPolicy-75870679', 'ctest-policy-allow-all-13162266']
2026-02-16 08:29:55,880 - INFO - VN ctest-vn-63868555 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 08:29:55,880 - DEBUG - Verifying the vn in opserver
2026-02-16 08:29:55,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-63868555 virtual network link through opserver 10.0.0.50
2026-02-16 08:29:55,881 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-16 08:29:56,171 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-16 08:29:56,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-63868555', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-63868555?flat'}
2026-02-16 08:29:56,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-63868555 is found in opserver
2026-02-16 08:29:56,237 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 08:29:56,241 - DEBUG - VRF ids for VN ctest-vn-63868555: {}
2026-02-16 08:29:56,241 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-16 08:29:56,246 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c0b722f4-d87c-49b4-a807-2db5c674ce08
2026-02-16 08:29:56,287 - DEBUG - Requesting: http://10.0.0.50:8082/project/9122148d-f2c7-4505-8dad-260a3ad4a2e9
2026-02-16 08:29:56,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3f942f05-8897-4631-9231-34d469e4fb42
2026-02-16 08:29:56,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3f942f05-8897-4631-9231-34d469e4fb42
2026-02-16 08:29:56,336 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a728cc9f-b71f-478f-a2cb-20d00df65d79
2026-02-16 08:29:56,344 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a728cc9f-b71f-478f-a2cb-20d00df65d79
2026-02-16 08:29:56,350 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/85476a84-0b3b-45fc-b1ab-70e563f67b0b
2026-02-16 08:29:56,357 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 08:29:56,357 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3f942f05-8897-4631-9231-34d469e4fb42
2026-02-16 08:29:56,365 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a728cc9f-b71f-478f-a2cb-20d00df65d79
2026-02-16 08:29:56,378 - INFO - Verified VN network id 12 for VN 3f942f05-8897-4631-9231-34d469e4fb42
2026-02-16 08:29:56,378 - INFO - Verifications in API Server for VN ctest-vn-48705295 passed
2026-02-16 08:29:56,378 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3f942f05-8897-4631-9231-34d469e4fb42
2026-02-16 08:29:56,387 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a728cc9f-b71f-478f-a2cb-20d00df65d79
2026-02-16 08:29:56,393 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a728cc9f-b71f-478f-a2cb-20d00df65d79
2026-02-16 08:29:56,401 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/85476a84-0b3b-45fc-b1ab-70e563f67b0b
2026-02-16 08:29:56,411 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-48705295', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75870679', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4581338421755594289', 'uuid-lslong': '10534259090310626114'}, 'enable': 'true', 'created': '2026-02-16T08:29:54', 'last-modified': '2026-02-16T08:29:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315972'}
2026-02-16 08:29:56,418 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 08:29:56,418 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48705295 passed
2026-02-16 08:29:56,418 - DEBUG - ====Verifying policy data for ctest-vn-48705295 in API_Server ======
2026-02-16 08:29:56,418 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-16 08:29:56,423 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c0b722f4-d87c-49b4-a807-2db5c674ce08
2026-02-16 08:29:56,434 - DEBUG - Requesting: http://10.0.0.50:8082/project/9122148d-f2c7-4505-8dad-260a3ad4a2e9
2026-02-16 08:29:56,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3f942f05-8897-4631-9231-34d469e4fb42
2026-02-16 08:29:56,512 - DEBUG - ==>Verifying data for policy with id: a608d039-68d7-44fa-83f5-e76bac383271, fqn: ['default-domain', 'ctest-TestBasicPolicy-75870679', 'ctest-policy-allow-all-13162266']
2026-02-16 08:29:56,512 - INFO - VN ctest-vn-48705295 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 08:29:56,512 - DEBUG - Verifying the vn in opserver
2026-02-16 08:29:56,512 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-48705295 virtual network link through opserver 10.0.0.50
2026-02-16 08:29:56,513 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-16 08:29:56,521 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-48705295', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-48705295?flat'}
2026-02-16 08:29:56,521 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75870679:ctest-vn-48705295 is found in opserver
2026-02-16 08:29:56,530 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 08:29:56,535 - DEBUG - VRF ids for VN ctest-vn-48705295: {}
2026-02-16 08:29:56,592 - DEBUG - Services list from nova: [