2026-05-04 02:11:42,647 - INFO - Domain Default found not creating
2026-05-04 02:11:42,848 - INFO - Project ctest-TestBasicPolicy-82380988 not found, creating it
2026-05-04 02:11:43,308 - INFO - Created Project:ctest-TestBasicPolicy-82380988, ID : 6b418545-2697-43de-8308-3976a54299ba
2026-05-04 02:11:44,840 - INFO - ================================================================================
2026-05-04 02:11:44,840 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-04 02:11:44,840 - 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-05-04 02:11:45,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-05-04 02:11:45,110 - INFO - Initial checks done. Running the testcase now
2026-05-04 02:11:45,110 - INFO -
2026-05-04 02:11:45,673 - DEBUG - Response for create_network : {'network': {'id': '75138332-21a7-42bd-a2b1-e7c55503c627', 'name': 'ctest-vn-79936094', 'tenant_id': '6b418545269743de83083976a54299ba', 'project_id': '6b418545269743de83083976a54299ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-vn-79936094'], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:11:45,875 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb56ec8e-d015-4e5f-8eb6-acc36ee46844', 'name': '', 'tenant_id': '6b418545269743de83083976a54299ba', 'network_id': '75138332-21a7-42bd-a2b1-e7c55503c627', 'ip_version': 4, 'cidr': '51.146.44.64/26', 'allocation_pools': [{'start': '51.146.44.66', 'end': '51.146.44.126'}], 'gateway_ip': '51.146.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.146.44.66', 'tags': [], 'project_id': '6b418545269743de83083976a54299ba'}}
2026-05-04 02:11:45,892 - INFO - Created VN ctest-vn-79936094
2026-05-04 02:11:45,946 - DEBUG - VN ctest-vn-79936094 UUID is 75138332-21a7-42bd-a2b1-e7c55503c627
2026-05-04 02:11:46,238 - DEBUG - Response for create_network : {'network': {'id': '45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0', 'name': 'ctest-vn-66738884', 'tenant_id': '6b418545269743de83083976a54299ba', 'project_id': '6b418545269743de83083976a54299ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-vn-66738884'], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:11:46,412 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e370d332-62e8-40db-94c4-8e77a291db0d', 'name': '', 'tenant_id': '6b418545269743de83083976a54299ba', 'network_id': '45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0', 'ip_version': 4, 'cidr': '185.164.120.128/26', 'allocation_pools': [{'start': '185.164.120.130', 'end': '185.164.120.190'}], 'gateway_ip': '185.164.120.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.164.120.130', 'tags': [], 'project_id': '6b418545269743de83083976a54299ba'}}
2026-05-04 02:11:46,437 - INFO - Created VN ctest-vn-66738884
2026-05-04 02:11:46,490 - DEBUG - VN ctest-vn-66738884 UUID is 45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0
2026-05-04 02:11:46,616 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094, 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-82380988:ctest-vn-66738884, 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-05-04 02:11:46,910 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75138332-21a7-42bd-a2b1-e7c55503c627', 'name': 'ctest-vn-79936094', 'tenant_id': '6b418545269743de83083976a54299ba', 'project_id': '6b418545269743de83083976a54299ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb56ec8e-d015-4e5f-8eb6-acc36ee46844'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-vn-79936094'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-policy-allow-all-40317581']], 'subnet_ipam': [{'subnet_cidr': '51.146.44.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:11:47,143 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0', 'name': 'ctest-vn-66738884', 'tenant_id': '6b418545269743de83083976a54299ba', 'project_id': '6b418545269743de83083976a54299ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e370d332-62e8-40db-94c4-8e77a291db0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-vn-66738884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-policy-allow-all-40317581']], 'subnet_ipam': [{'subnet_cidr': '185.164.120.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:11:47,306 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-04 02:11:47,608 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-04 02:11:47,645 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3
2026-05-04 02:11:47,658 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba
2026-05-04 02:11:47,728 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627
2026-05-04 02:11:47,739 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627
2026-05-04 02:11:47,748 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1
2026-05-04 02:11:47,755 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1
2026-05-04 02:11:47,762 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6072b152-9fb9-467e-bc63-3d4f47cda057
2026-05-04 02:11:47,769 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-04 02:11:47,769 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627
2026-05-04 02:11:47,777 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1
2026-05-04 02:11:47,794 - INFO - Verified VN network id 11 for VN 75138332-21a7-42bd-a2b1-e7c55503c627
2026-05-04 02:11:47,794 - INFO - Verifications in API Server for VN ctest-vn-79936094 passed
2026-05-04 02:11:47,794 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627
2026-05-04 02:11:47,805 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1
2026-05-04 02:11:47,812 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2d3b288e-700f-49dc-878e-0bf40f5c8ed1
2026-05-04 02:11:47,822 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6072b152-9fb9-467e-bc63-3d4f47cda057
2026-05-04 02:11:47,835 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82380988', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8436230778331284157', 'uuid-lslong': '11723406139742996007'}, 'enable': 'true', 'created': '2026-05-04T02:11:45', 'last-modified': '2026-05-04T02:11:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943396'}
2026-05-04 02:11:47,841 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-04 02:11:47,841 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79936094 passed
2026-05-04 02:11:47,841 - DEBUG - ====Verifying policy data for ctest-vn-79936094 in API_Server ======
2026-05-04 02:11:47,841 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-04 02:11:47,847 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3
2026-05-04 02:11:47,858 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba
2026-05-04 02:11:47,934 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75138332-21a7-42bd-a2b1-e7c55503c627
2026-05-04 02:11:47,943 - DEBUG - ==>Verifying data for policy with id: a39ba2ec-ebab-4880-8036-c33cd33d889c, fqn: ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-policy-allow-all-40317581']
2026-05-04 02:11:47,943 - INFO - VN ctest-vn-79936094 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-04 02:11:47,943 - DEBUG - Verifying the vn in opserver
2026-05-04 02:11:47,943 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094 virtual network link through opserver 10.0.0.33
2026-05-04 02:11:47,943 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-04 02:11:48,238 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-04 02:11:48,302 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094?flat'}
2026-05-04 02:11:48,302 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-79936094 is found in opserver
2026-05-04 02:11:48,314 - DEBUG - Do not have enough data to verify VN in agent
2026-05-04 02:11:48,319 - DEBUG - VRF ids for VN ctest-vn-79936094: {}
2026-05-04 02:11:48,319 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-04 02:11:48,324 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3
2026-05-04 02:11:48,334 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba
2026-05-04 02:11:48,406 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0
2026-05-04 02:11:48,417 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0
2026-05-04 02:11:48,426 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7
2026-05-04 02:11:48,432 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7
2026-05-04 02:11:48,438 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2d57ef0f-9636-4465-84e6-51c142e339c6
2026-05-04 02:11:48,444 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-04 02:11:48,444 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0
2026-05-04 02:11:48,455 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7
2026-05-04 02:11:48,470 - INFO - Verified VN network id 12 for VN 45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0
2026-05-04 02:11:48,470 - INFO - Verifications in API Server for VN ctest-vn-66738884 passed
2026-05-04 02:11:48,470 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0
2026-05-04 02:11:48,479 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7
2026-05-04 02:11:48,487 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5d206c00-2014-4ca0-a3e9-031e90f17fe7
2026-05-04 02:11:48,495 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2d57ef0f-9636-4465-84e6-51c142e339c6
2026-05-04 02:11:48,508 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82380988', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5040911689880718378', 'uuid-lslong': '11453666359368405424'}, 'enable': 'true', 'created': '2026-05-04T02:11:46', 'last-modified': '2026-05-04T02:11:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.381642'}
2026-05-04 02:11:48,514 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-04 02:11:48,514 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66738884 passed
2026-05-04 02:11:48,514 - DEBUG - ====Verifying policy data for ctest-vn-66738884 in API_Server ======
2026-05-04 02:11:48,514 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-04 02:11:48,521 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5048bc41-f41f-4082-8e88-2243b78708f3
2026-05-04 02:11:48,532 - DEBUG - Requesting: http://10.0.0.33:8082/project/6b418545-2697-43de-8308-3976a54299ba
2026-05-04 02:11:48,607 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45f4ea79-5b74-4c2a-9ef3-98dea5fed1b0
2026-05-04 02:11:48,615 - DEBUG - ==>Verifying data for policy with id: a39ba2ec-ebab-4880-8036-c33cd33d889c, fqn: ['default-domain', 'ctest-TestBasicPolicy-82380988', 'ctest-policy-allow-all-40317581']
2026-05-04 02:11:48,616 - INFO - VN ctest-vn-66738884 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-04 02:11:48,616 - DEBUG - Verifying the vn in opserver
2026-05-04 02:11:48,616 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884 virtual network link through opserver 10.0.0.33
2026-05-04 02:11:48,616 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-04 02:11:48,626 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884?flat'}
2026-05-04 02:11:48,626 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82380988:ctest-vn-66738884 is found in opserver
2026-05-04 02:11:48,636 - DEBUG - Do not have enough data to verify VN in agent
2026-05-04 02:11:48,640 - DEBUG - VRF ids for VN ctest-vn-66738884: {}
2026-05-04 02:11:48,701 - DEBUG - Services list from nova: [