2026-09-02 05:45:54,822 - INFO - Domain Default found not creating
2026-09-02 05:45:55,017 - INFO - Project ctest-TestBasicPolicy-49223254 not found, creating it
2026-09-02 05:45:55,530 - INFO - Created Project:ctest-TestBasicPolicy-49223254, ID : eee49780-66ec-45c0-8564-8f74c3e52698
2026-09-02 05:45:57,358 - INFO - ================================================================================
2026-09-02 05:45:57,358 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-02 05:45:57,359 - 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-09-02 05:45:57,637 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with
2026-09-02 05:45:57,637 - INFO - Initial checks done. Running the testcase now
2026-09-02 05:45:57,638 - INFO -
2026-09-02 05:45:58,308 - DEBUG - Response for create_network : {'network': {'id': '356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f', 'name': 'ctest-vn-75531591', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'project_id': 'eee4978066ec45c085648f74c3e52698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-vn-75531591'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 05:45:58,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '29df4260-669b-4851-ad78-b6476a7b4303', 'name': '', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'network_id': '356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f', 'ip_version': 4, 'cidr': '73.204.244.128/26', 'allocation_pools': [{'start': '73.204.244.130', 'end': '73.204.244.190'}], 'gateway_ip': '73.204.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.204.244.130', 'tags': [], 'project_id': 'eee4978066ec45c085648f74c3e52698'}}
2026-09-02 05:45:58,553 - INFO - Created VN ctest-vn-75531591
2026-09-02 05:45:58,606 - DEBUG - VN ctest-vn-75531591 UUID is 356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f
2026-09-02 05:45:58,954 - DEBUG - Response for create_network : {'network': {'id': 'df88de67-584d-44b0-8fc1-b9d710f17577', 'name': 'ctest-vn-44914078', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'project_id': 'eee4978066ec45c085648f74c3e52698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-vn-44914078'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 05:45:59,208 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd38aa7dd-9c7e-4e88-84ec-ed956981805a', 'name': '', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'network_id': 'df88de67-584d-44b0-8fc1-b9d710f17577', 'ip_version': 4, 'cidr': '107.229.131.128/26', 'allocation_pools': [{'start': '107.229.131.130', 'end': '107.229.131.190'}], 'gateway_ip': '107.229.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.229.131.130', 'tags': [], 'project_id': 'eee4978066ec45c085648f74c3e52698'}}
2026-09-02 05:45:59,230 - INFO - Created VN ctest-vn-44914078
2026-09-02 05:45:59,286 - DEBUG - VN ctest-vn-44914078 UUID is df88de67-584d-44b0-8fc1-b9d710f17577
2026-09-02 05:45:59,407 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591, 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-49223254:ctest-vn-44914078, 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-09-02 05:45:59,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f', 'name': 'ctest-vn-75531591', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'project_id': 'eee4978066ec45c085648f74c3e52698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['29df4260-669b-4851-ad78-b6476a7b4303'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-vn-75531591'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-policy-allow-all-07083695']], 'subnet_ipam': [{'subnet_cidr': '73.204.244.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 05:46:00,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df88de67-584d-44b0-8fc1-b9d710f17577', 'name': 'ctest-vn-44914078', 'tenant_id': 'eee4978066ec45c085648f74c3e52698', 'project_id': 'eee4978066ec45c085648f74c3e52698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d38aa7dd-9c7e-4e88-84ec-ed956981805a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-vn-44914078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-policy-allow-all-07083695']], 'subnet_ipam': [{'subnet_cidr': '107.229.131.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 05:46:00,178 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 05:46:00,559 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 05:46:00,594 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f
2026-09-02 05:46:00,611 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698
2026-09-02 05:46:00,706 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f
2026-09-02 05:46:00,721 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f
2026-09-02 05:46:00,732 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1
2026-09-02 05:46:00,742 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1
2026-09-02 05:46:00,751 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/87c271e6-17df-4b91-9dfe-284f06fb036d
2026-09-02 05:46:00,760 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 05:46:00,760 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f
2026-09-02 05:46:00,771 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1
2026-09-02 05:46:00,789 - INFO - Verified VN network id 12 for VN 356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f
2026-09-02 05:46:00,789 - INFO - Verifications in API Server for VN ctest-vn-75531591 passed
2026-09-02 05:46:00,789 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f
2026-09-02 05:46:00,803 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1
2026-09-02 05:46:00,812 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e8e8d24f-2df4-4a9a-82e7-9c97fbb310d1
2026-09-02 05:46:00,822 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/87c271e6-17df-4b91-9dfe-284f06fb036d
2026-09-02 05:46:00,838 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49223254', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3849906066089790925', 'uuid-lslong': '11429151298195852879'}, 'enable': 'true', 'created': '2026-09-02T05:45:58', 'last-modified': '2026-09-02T05:45:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.128904'}
2026-09-02 05:46:00,846 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 05:46:00,846 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75531591 passed
2026-09-02 05:46:00,846 - DEBUG - ====Verifying policy data for ctest-vn-75531591 in API_Server ======
2026-09-02 05:46:00,846 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 05:46:00,853 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f
2026-09-02 05:46:00,866 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698
2026-09-02 05:46:00,952 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/356d9d2b-5fe7-4dcd-9e9c-808d2d288e4f
2026-09-02 05:46:00,964 - DEBUG - ==>Verifying data for policy with id: 87a5e2aa-3515-4e9a-b89c-1ab46e988090, fqn: ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-policy-allow-all-07083695']
2026-09-02 05:46:00,964 - INFO - VN ctest-vn-75531591 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 05:46:00,964 - DEBUG - Verifying the vn in opserver
2026-09-02 05:46:00,964 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591 virtual network link through opserver 10.0.0.248
2026-09-02 05:46:00,964 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-02 05:46:01,346 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-02 05:46:01,427 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591?flat'}
2026-09-02 05:46:01,427 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-75531591 is found in opserver
2026-09-02 05:46:01,443 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 05:46:01,451 - DEBUG - VRF ids for VN ctest-vn-75531591: {}
2026-09-02 05:46:01,451 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 05:46:01,459 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f
2026-09-02 05:46:01,474 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698
2026-09-02 05:46:01,557 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577
2026-09-02 05:46:01,573 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577
2026-09-02 05:46:01,587 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf
2026-09-02 05:46:01,598 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf
2026-09-02 05:46:01,607 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/ef3d13fc-ddba-40c9-8da4-64f01566e995
2026-09-02 05:46:01,615 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 05:46:01,615 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577
2026-09-02 05:46:01,627 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf
2026-09-02 05:46:01,656 - INFO - Verified VN network id 13 for VN df88de67-584d-44b0-8fc1-b9d710f17577
2026-09-02 05:46:01,656 - INFO - Verifications in API Server for VN ctest-vn-44914078 passed
2026-09-02 05:46:01,657 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577
2026-09-02 05:46:01,670 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf
2026-09-02 05:46:01,679 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/891d40cf-0082-4358-8dc0-b4068835c4bf
2026-09-02 05:46:01,690 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/ef3d13fc-ddba-40c9-8da4-64f01566e995
2026-09-02 05:46:01,713 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49223254', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16107368602735035568', 'uuid-lslong': '10358764951282218359'}, 'enable': 'true', 'created': '2026-09-02T05:45:58', 'last-modified': '2026-09-02T05:45:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.746913'}
2026-09-02 05:46:01,722 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 05:46:01,722 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44914078 passed
2026-09-02 05:46:01,722 - DEBUG - ====Verifying policy data for ctest-vn-44914078 in API_Server ======
2026-09-02 05:46:01,722 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 05:46:01,731 - DEBUG - Requesting: http://10.0.0.248:8082/domain/bdf94108-fb6d-4a9c-b6bc-d43eb5fdac8f
2026-09-02 05:46:01,746 - DEBUG - Requesting: http://10.0.0.248:8082/project/eee49780-66ec-45c0-8564-8f74c3e52698
2026-09-02 05:46:01,825 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/df88de67-584d-44b0-8fc1-b9d710f17577
2026-09-02 05:46:01,842 - DEBUG - ==>Verifying data for policy with id: 87a5e2aa-3515-4e9a-b89c-1ab46e988090, fqn: ['default-domain', 'ctest-TestBasicPolicy-49223254', 'ctest-policy-allow-all-07083695']
2026-09-02 05:46:01,842 - INFO - VN ctest-vn-44914078 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 05:46:01,842 - DEBUG - Verifying the vn in opserver
2026-09-02 05:46:01,842 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078 virtual network link through opserver 10.0.0.248
2026-09-02 05:46:01,842 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-02 05:46:01,858 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078?flat'}
2026-09-02 05:46:01,858 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49223254:ctest-vn-44914078 is found in opserver
2026-09-02 05:46:01,875 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 05:46:01,880 - DEBUG - VRF ids for VN ctest-vn-44914078: {}
2026-09-02 05:46:01,953 - DEBUG - Services list from nova: [