2026-11-07 02:33:51,207 - INFO - Domain Default found not creating
2026-11-07 02:33:51,369 - INFO - Project ctest-TestBasicPolicy-49525715 not found, creating it
2026-11-07 02:33:51,829 - INFO - Created Project:ctest-TestBasicPolicy-49525715, ID : a5707683-920f-413d-9c43-64413458ed9d
2026-11-07 02:33:53,373 - INFO - ================================================================================
2026-11-07 02:33:53,373 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-07 02:33:53,373 - 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-11-07 02:33:53,635 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-11-07 02:33:53,635 - INFO - Initial checks done. Running the testcase now
2026-11-07 02:33:53,635 - INFO -
2026-11-07 02:33:54,236 - DEBUG - Response for create_network : {'network': {'id': 'a19a34e2-3b26-4412-8551-a0dcf851278c', 'name': 'ctest-vn-31672729', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'project_id': 'a5707683920f413d9c4364413458ed9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-vn-31672729'], 'port_security_enabled': True, 'description': ''}}
2026-11-07 02:33:54,448 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff49b23b-fbf7-488a-b124-d8455a451158', 'name': '', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'network_id': 'a19a34e2-3b26-4412-8551-a0dcf851278c', 'ip_version': 4, 'cidr': '57.27.82.0/26', 'allocation_pools': [{'start': '57.27.82.2', 'end': '57.27.82.62'}], 'gateway_ip': '57.27.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.27.82.2', 'tags': [], 'project_id': 'a5707683920f413d9c4364413458ed9d'}}
2026-11-07 02:33:54,467 - INFO - Created VN ctest-vn-31672729
2026-11-07 02:33:54,519 - DEBUG - VN ctest-vn-31672729 UUID is a19a34e2-3b26-4412-8551-a0dcf851278c
2026-11-07 02:33:54,846 - DEBUG - Response for create_network : {'network': {'id': 'bf933eda-e32a-4333-8c74-17504ad92fbe', 'name': 'ctest-vn-82130717', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'project_id': 'a5707683920f413d9c4364413458ed9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-vn-82130717'], 'port_security_enabled': True, 'description': ''}}
2026-11-07 02:33:55,061 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b36b8ecc-d953-4aa0-bdbd-763b7146b482', 'name': '', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'network_id': 'bf933eda-e32a-4333-8c74-17504ad92fbe', 'ip_version': 4, 'cidr': '139.116.179.128/26', 'allocation_pools': [{'start': '139.116.179.130', 'end': '139.116.179.190'}], 'gateway_ip': '139.116.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.116.179.130', 'tags': [], 'project_id': 'a5707683920f413d9c4364413458ed9d'}}
2026-11-07 02:33:55,080 - INFO - Created VN ctest-vn-82130717
2026-11-07 02:33:55,135 - DEBUG - VN ctest-vn-82130717 UUID is bf933eda-e32a-4333-8c74-17504ad92fbe
2026-11-07 02:33:55,287 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729, 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-49525715:ctest-vn-82130717, 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-11-07 02:33:55,582 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a19a34e2-3b26-4412-8551-a0dcf851278c', 'name': 'ctest-vn-31672729', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'project_id': 'a5707683920f413d9c4364413458ed9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ff49b23b-fbf7-488a-b124-d8455a451158'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-vn-31672729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-policy-allow-all-71552005']], 'subnet_ipam': [{'subnet_cidr': '57.27.82.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-07 02:33:55,806 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf933eda-e32a-4333-8c74-17504ad92fbe', 'name': 'ctest-vn-82130717', 'tenant_id': 'a5707683920f413d9c4364413458ed9d', 'project_id': 'a5707683920f413d9c4364413458ed9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b36b8ecc-d953-4aa0-bdbd-763b7146b482'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-vn-82130717'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-policy-allow-all-71552005']], 'subnet_ipam': [{'subnet_cidr': '139.116.179.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-07 02:33:55,971 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-07 02:33:56,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-07 02:33:56,317 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851
2026-11-07 02:33:56,330 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d
2026-11-07 02:33:56,412 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c
2026-11-07 02:33:56,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c
2026-11-07 02:33:56,432 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812
2026-11-07 02:33:56,441 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812
2026-11-07 02:33:56,448 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37ceed1c-e3ae-4ffc-a12f-906c4c024c12
2026-11-07 02:33:56,454 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-07 02:33:56,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c
2026-11-07 02:33:56,463 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812
2026-11-07 02:33:56,476 - INFO - Verified VN network id 12 for VN a19a34e2-3b26-4412-8551-a0dcf851278c
2026-11-07 02:33:56,477 - INFO - Verifications in API Server for VN ctest-vn-31672729 passed
2026-11-07 02:33:56,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c
2026-11-07 02:33:56,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812
2026-11-07 02:33:56,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3126f05-1d90-4295-ad55-8f9343716812
2026-11-07 02:33:56,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37ceed1c-e3ae-4ffc-a12f-906c4c024c12
2026-11-07 02:33:56,514 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49525715', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11644677932779455506', 'uuid-lslong': '9606636351077296012'}, 'enable': 'true', 'created': '2026-11-07T02:33:54', 'last-modified': '2026-11-07T02:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957313'}
2026-11-07 02:33:56,520 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-07 02:33:56,521 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31672729 passed
2026-11-07 02:33:56,522 - DEBUG - ====Verifying policy data for ctest-vn-31672729 in API_Server ======
2026-11-07 02:33:56,522 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-07 02:33:56,527 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851
2026-11-07 02:33:56,538 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d
2026-11-07 02:33:56,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a19a34e2-3b26-4412-8551-a0dcf851278c
2026-11-07 02:33:56,625 - DEBUG - ==>Verifying data for policy with id: 0b0971bb-cc86-4c24-ada0-ad913f1fe460, fqn: ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-policy-allow-all-71552005']
2026-11-07 02:33:56,625 - INFO - VN ctest-vn-31672729 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-07 02:33:56,626 - DEBUG - Verifying the vn in opserver
2026-11-07 02:33:56,626 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729 virtual network link through opserver 10.0.0.38
2026-11-07 02:33:56,626 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-07 02:33:56,946 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-07 02:33:56,998 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729?flat'}
2026-11-07 02:33:56,998 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-31672729 is found in opserver
2026-11-07 02:33:57,009 - DEBUG - Do not have enough data to verify VN in agent
2026-11-07 02:33:57,015 - DEBUG - VRF ids for VN ctest-vn-31672729: {}
2026-11-07 02:33:57,015 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-07 02:33:57,021 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851
2026-11-07 02:33:57,031 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d
2026-11-07 02:33:57,098 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe
2026-11-07 02:33:57,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe
2026-11-07 02:33:57,117 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd
2026-11-07 02:33:57,123 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd
2026-11-07 02:33:57,129 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/084fb106-a582-4819-8664-28db07e0ec8e
2026-11-07 02:33:57,135 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-07 02:33:57,135 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe
2026-11-07 02:33:57,143 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd
2026-11-07 02:33:57,156 - INFO - Verified VN network id 13 for VN bf933eda-e32a-4333-8c74-17504ad92fbe
2026-11-07 02:33:57,156 - INFO - Verifications in API Server for VN ctest-vn-82130717 passed
2026-11-07 02:33:57,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe
2026-11-07 02:33:57,165 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd
2026-11-07 02:33:57,171 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a433d78-0828-44c3-b006-f5afc05acefd
2026-11-07 02:33:57,177 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/084fb106-a582-4819-8664-28db07e0ec8e
2026-11-07 02:33:57,188 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49525715', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13804446392655692595', 'uuid-lslong': '10120739896228917182'}, 'enable': 'true', 'created': '2026-11-07T02:33:54', 'last-modified': '2026-11-07T02:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412552'}
2026-11-07 02:33:57,195 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-07 02:33:57,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82130717 passed
2026-11-07 02:33:57,195 - DEBUG - ====Verifying policy data for ctest-vn-82130717 in API_Server ======
2026-11-07 02:33:57,195 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-07 02:33:57,200 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33f2d545-546e-4b43-a103-de66cd1c2851
2026-11-07 02:33:57,210 - DEBUG - Requesting: http://10.0.0.38:8082/project/a5707683-920f-413d-9c43-64413458ed9d
2026-11-07 02:33:57,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf933eda-e32a-4333-8c74-17504ad92fbe
2026-11-07 02:33:57,290 - DEBUG - ==>Verifying data for policy with id: 0b0971bb-cc86-4c24-ada0-ad913f1fe460, fqn: ['default-domain', 'ctest-TestBasicPolicy-49525715', 'ctest-policy-allow-all-71552005']
2026-11-07 02:33:57,290 - INFO - VN ctest-vn-82130717 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-07 02:33:57,290 - DEBUG - Verifying the vn in opserver
2026-11-07 02:33:57,290 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717 virtual network link through opserver 10.0.0.38
2026-11-07 02:33:57,291 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-07 02:33:57,300 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717?flat'}
2026-11-07 02:33:57,300 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49525715:ctest-vn-82130717 is found in opserver
2026-11-07 02:33:57,312 - DEBUG - Do not have enough data to verify VN in agent
2026-11-07 02:33:57,316 - DEBUG - VRF ids for VN ctest-vn-82130717: {}
2026-11-07 02:33:57,373 - DEBUG - Services list from nova: [