2026-01-08 02:00:13,130 - INFO - Domain Default found not creating
2026-01-08 02:00:13,306 - INFO - Project ctest-TestBasicPolicy-02008738 not found, creating it
2026-01-08 02:00:13,744 - INFO - Created Project:ctest-TestBasicPolicy-02008738, ID : 5191b795-0c20-4c25-8be3-1247e2b4cd9e
2026-01-08 02:00:15,158 - INFO - ================================================================================
2026-01-08 02:00:15,158 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-08 02:00:15,158 - 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-08 02:00:15,421 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with
2026-01-08 02:00:15,421 - INFO - Initial checks done. Running the testcase now
2026-01-08 02:00:15,421 - INFO -
2026-01-08 02:00:15,977 - DEBUG - Response for create_network : {'network': {'id': '602c73f0-026d-4535-96d2-82ac1bf45656', 'name': 'ctest-vn-01643128', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'project_id': '5191b7950c204c258be31247e2b4cd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-vn-01643128'], 'port_security_enabled': True, 'description': ''}}
2026-01-08 02:00:16,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '56a2e27b-acdf-4804-b3ee-af90dece864e', 'name': '', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'network_id': '602c73f0-026d-4535-96d2-82ac1bf45656', 'ip_version': 4, 'cidr': '19.139.247.128/26', 'allocation_pools': [{'start': '19.139.247.130', 'end': '19.139.247.190'}], 'gateway_ip': '19.139.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.139.247.130', 'tags': [], 'project_id': '5191b7950c204c258be31247e2b4cd9e'}}
2026-01-08 02:00:16,207 - INFO - Created VN ctest-vn-01643128
2026-01-08 02:00:16,259 - DEBUG - VN ctest-vn-01643128 UUID is 602c73f0-026d-4535-96d2-82ac1bf45656
2026-01-08 02:00:16,575 - DEBUG - Response for create_network : {'network': {'id': '81ac3b5f-c05b-483e-b4d2-2725e14d2704', 'name': 'ctest-vn-39931401', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'project_id': '5191b7950c204c258be31247e2b4cd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-vn-39931401'], 'port_security_enabled': True, 'description': ''}}
2026-01-08 02:00:16,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '89fd470a-e41e-40a0-9657-bfce3cd5be96', 'name': '', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'network_id': '81ac3b5f-c05b-483e-b4d2-2725e14d2704', 'ip_version': 4, 'cidr': '160.219.202.192/26', 'allocation_pools': [{'start': '160.219.202.194', 'end': '160.219.202.254'}], 'gateway_ip': '160.219.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.219.202.194', 'tags': [], 'project_id': '5191b7950c204c258be31247e2b4cd9e'}}
2026-01-08 02:00:16,777 - INFO - Created VN ctest-vn-39931401
2026-01-08 02:00:16,827 - DEBUG - VN ctest-vn-39931401 UUID is 81ac3b5f-c05b-483e-b4d2-2725e14d2704
2026-01-08 02:00:16,934 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128, 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-02008738:ctest-vn-39931401, 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-08 02:00:17,229 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '602c73f0-026d-4535-96d2-82ac1bf45656', 'name': 'ctest-vn-01643128', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'project_id': '5191b7950c204c258be31247e2b4cd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56a2e27b-acdf-4804-b3ee-af90dece864e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-vn-01643128'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-policy-allow-all-93347989']], 'subnet_ipam': [{'subnet_cidr': '19.139.247.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-08 02:00:17,505 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81ac3b5f-c05b-483e-b4d2-2725e14d2704', 'name': 'ctest-vn-39931401', 'tenant_id': '5191b7950c204c258be31247e2b4cd9e', 'project_id': '5191b7950c204c258be31247e2b4cd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['89fd470a-e41e-40a0-9657-bfce3cd5be96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-vn-39931401'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-policy-allow-all-93347989']], 'subnet_ipam': [{'subnet_cidr': '160.219.202.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-08 02:00:17,651 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-08 02:00:17,949 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-08 02:00:17,982 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62
2026-01-08 02:00:17,993 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e
2026-01-08 02:00:18,066 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656
2026-01-08 02:00:18,075 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656
2026-01-08 02:00:18,083 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0
2026-01-08 02:00:18,089 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0
2026-01-08 02:00:18,095 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e471f8c8-9db9-42ba-a3cb-370ce83b3c0b
2026-01-08 02:00:18,100 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-08 02:00:18,100 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656
2026-01-08 02:00:18,109 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0
2026-01-08 02:00:18,122 - INFO - Verified VN network id 11 for VN 602c73f0-026d-4535-96d2-82ac1bf45656
2026-01-08 02:00:18,122 - INFO - Verifications in API Server for VN ctest-vn-01643128 passed
2026-01-08 02:00:18,122 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656
2026-01-08 02:00:18,129 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0
2026-01-08 02:00:18,134 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/06350dc3-0414-4000-889a-fca4b8de6ba0
2026-01-08 02:00:18,139 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e471f8c8-9db9-42ba-a3cb-370ce83b3c0b
2026-01-08 02:00:18,149 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02008738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6930041401286411573', 'uuid-lslong': '10867892526513411670'}, 'enable': 'true', 'created': '2026-01-08T02:00:15', 'last-modified': '2026-01-08T02:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942605'}
2026-01-08 02:00:18,154 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-08 02:00:18,154 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01643128 passed
2026-01-08 02:00:18,154 - DEBUG - ====Verifying policy data for ctest-vn-01643128 in API_Server ======
2026-01-08 02:00:18,154 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-08 02:00:18,158 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62
2026-01-08 02:00:18,168 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e
2026-01-08 02:00:18,237 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/602c73f0-026d-4535-96d2-82ac1bf45656
2026-01-08 02:00:18,245 - DEBUG - ==>Verifying data for policy with id: 2f5873ee-883a-423e-bc5d-95955e7973cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-policy-allow-all-93347989']
2026-01-08 02:00:18,245 - INFO - VN ctest-vn-01643128 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-08 02:00:18,245 - DEBUG - Verifying the vn in opserver
2026-01-08 02:00:18,245 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128 virtual network link through opserver 10.0.0.141
2026-01-08 02:00:18,246 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-08 02:00:18,537 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-08 02:00:18,592 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128?flat'}
2026-01-08 02:00:18,592 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-01643128 is found in opserver
2026-01-08 02:00:18,602 - DEBUG - Do not have enough data to verify VN in agent
2026-01-08 02:00:18,606 - DEBUG - VRF ids for VN ctest-vn-01643128: {}
2026-01-08 02:00:18,606 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-08 02:00:18,610 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62
2026-01-08 02:00:18,620 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e
2026-01-08 02:00:18,691 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704
2026-01-08 02:00:18,703 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704
2026-01-08 02:00:18,712 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3
2026-01-08 02:00:18,718 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3
2026-01-08 02:00:18,723 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/7b1608fc-dd5c-4321-b693-9b4a74259c14
2026-01-08 02:00:18,728 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-08 02:00:18,728 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704
2026-01-08 02:00:18,736 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3
2026-01-08 02:00:18,748 - INFO - Verified VN network id 12 for VN 81ac3b5f-c05b-483e-b4d2-2725e14d2704
2026-01-08 02:00:18,748 - INFO - Verifications in API Server for VN ctest-vn-39931401 passed
2026-01-08 02:00:18,748 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704
2026-01-08 02:00:18,756 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3
2026-01-08 02:00:18,762 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0b193e51-c438-48ca-9da5-304f1b3934e3
2026-01-08 02:00:18,767 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/7b1608fc-dd5c-4321-b693-9b4a74259c14
2026-01-08 02:00:18,792 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02008738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9343908609322076222', 'uuid-lslong': '13029519715583469316'}, 'enable': 'true', 'created': '2026-01-08T02:00:16', 'last-modified': '2026-01-08T02:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352890'}
2026-01-08 02:00:18,798 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-08 02:00:18,798 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39931401 passed
2026-01-08 02:00:18,798 - DEBUG - ====Verifying policy data for ctest-vn-39931401 in API_Server ======
2026-01-08 02:00:18,799 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-08 02:00:18,804 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ba8ec429-84d6-4ba4-87aa-0c6732a20d62
2026-01-08 02:00:18,813 - DEBUG - Requesting: http://10.0.0.141:8082/project/5191b795-0c20-4c25-8be3-1247e2b4cd9e
2026-01-08 02:00:18,880 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/81ac3b5f-c05b-483e-b4d2-2725e14d2704
2026-01-08 02:00:18,887 - DEBUG - ==>Verifying data for policy with id: 2f5873ee-883a-423e-bc5d-95955e7973cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-02008738', 'ctest-policy-allow-all-93347989']
2026-01-08 02:00:18,887 - INFO - VN ctest-vn-39931401 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-08 02:00:18,887 - DEBUG - Verifying the vn in opserver
2026-01-08 02:00:18,888 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401 virtual network link through opserver 10.0.0.141
2026-01-08 02:00:18,888 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-08 02:00:18,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401?flat'}
2026-01-08 02:00:18,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02008738:ctest-vn-39931401 is found in opserver
2026-01-08 02:00:18,905 - DEBUG - Do not have enough data to verify VN in agent
2026-01-08 02:00:18,909 - DEBUG - VRF ids for VN ctest-vn-39931401: {}
2026-01-08 02:00:18,966 - DEBUG - Services list from nova: [