2025-09-18 01:50:07,649 - INFO - Domain Default found not creating
2025-09-18 01:50:07,780 - INFO - Project ctest-TestBasicPolicy-68073787 not found, creating it
2025-09-18 01:50:08,216 - INFO - Created Project:ctest-TestBasicPolicy-68073787, ID : b999d23e-1dee-496c-9255-454da6f053b6
2025-09-18 01:50:09,579 - INFO - ================================================================================
2025-09-18 01:50:09,579 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-09-18 01:50:09,579 - 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
2025-09-18 01:50:09,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2025-09-18 01:50:09,838 - INFO - Initial checks done. Running the testcase now
2025-09-18 01:50:09,838 - INFO -
2025-09-18 01:50:10,349 - DEBUG - Response for create_network : {'network': {'id': '34d3b5c2-57f5-43b7-870d-25054b1225c4', 'name': 'ctest-vn-80806268', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'project_id': 'b999d23e1dee496c9255454da6f053b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-vn-80806268'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 01:50:10,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '25cb169f-7851-475a-985a-eb69424f081e', 'name': '', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'network_id': '34d3b5c2-57f5-43b7-870d-25054b1225c4', 'ip_version': 4, 'cidr': '163.88.10.0/26', 'allocation_pools': [{'start': '163.88.10.2', 'end': '163.88.10.62'}], 'gateway_ip': '163.88.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.88.10.2', 'tags': [], 'project_id': 'b999d23e1dee496c9255454da6f053b6'}}
2025-09-18 01:50:10,543 - INFO - Created VN ctest-vn-80806268
2025-09-18 01:50:10,593 - DEBUG - VN ctest-vn-80806268 UUID is 34d3b5c2-57f5-43b7-870d-25054b1225c4
2025-09-18 01:50:10,914 - DEBUG - Response for create_network : {'network': {'id': 'cf65b36a-4863-47c5-8c5b-281754101738', 'name': 'ctest-vn-46039305', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'project_id': 'b999d23e1dee496c9255454da6f053b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-vn-46039305'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 01:50:11,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '3189b165-8fe3-4199-bb97-90e10760f2fb', 'name': '', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'network_id': 'cf65b36a-4863-47c5-8c5b-281754101738', 'ip_version': 4, 'cidr': '174.241.125.64/26', 'allocation_pools': [{'start': '174.241.125.66', 'end': '174.241.125.126'}], 'gateway_ip': '174.241.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.241.125.66', 'tags': [], 'project_id': 'b999d23e1dee496c9255454da6f053b6'}}
2025-09-18 01:50:11,103 - INFO - Created VN ctest-vn-46039305
2025-09-18 01:50:11,153 - DEBUG - VN ctest-vn-46039305 UUID is cf65b36a-4863-47c5-8c5b-281754101738
2025-09-18 01:50:11,297 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268, 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-68073787:ctest-vn-46039305, 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]
2025-09-18 01:50:11,578 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34d3b5c2-57f5-43b7-870d-25054b1225c4', 'name': 'ctest-vn-80806268', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'project_id': 'b999d23e1dee496c9255454da6f053b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25cb169f-7851-475a-985a-eb69424f081e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-vn-80806268'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-policy-allow-all-76547911']], 'subnet_ipam': [{'subnet_cidr': '163.88.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-09-18 01:50:11,852 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf65b36a-4863-47c5-8c5b-281754101738', 'name': 'ctest-vn-46039305', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'project_id': 'b999d23e1dee496c9255454da6f053b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3189b165-8fe3-4199-bb97-90e10760f2fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-vn-46039305'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-policy-allow-all-76547911']], 'subnet_ipam': [{'subnet_cidr': '174.241.125.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-09-18 01:50:12,006 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-09-18 01:50:12,295 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-09-18 01:50:12,320 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085
2025-09-18 01:50:12,331 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6
2025-09-18 01:50:12,400 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4
2025-09-18 01:50:12,409 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4
2025-09-18 01:50:12,416 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19
2025-09-18 01:50:12,422 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19
2025-09-18 01:50:12,428 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3f756220-85ca-422b-b7aa-d66aa712cf2d
2025-09-18 01:50:12,433 - DEBUG - Route Targets: ['target:64512:8000004']
2025-09-18 01:50:12,433 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4
2025-09-18 01:50:12,440 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19
2025-09-18 01:50:12,452 - INFO - Verified VN network id 12 for VN 34d3b5c2-57f5-43b7-870d-25054b1225c4
2025-09-18 01:50:12,452 - INFO - Verifications in API Server for VN ctest-vn-80806268 passed
2025-09-18 01:50:12,452 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4
2025-09-18 01:50:12,461 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19
2025-09-18 01:50:12,468 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19
2025-09-18 01:50:12,474 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3f756220-85ca-422b-b7aa-d66aa712cf2d
2025-09-18 01:50:12,483 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68073787', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3806585956362175415', 'uuid-lslong': '9731475074482054596'}, 'enable': 'true', 'created': '2025-09-18T01:50:10', 'last-modified': '2025-09-18T01:50:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924570'}
2025-09-18 01:50:12,489 - DEBUG - Route Targets: ['target:64512:8000004']
2025-09-18 01:50:12,489 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80806268 passed
2025-09-18 01:50:12,489 - DEBUG - ====Verifying policy data for ctest-vn-80806268 in API_Server ======
2025-09-18 01:50:12,489 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-09-18 01:50:12,494 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085
2025-09-18 01:50:12,503 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6
2025-09-18 01:50:12,569 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4
2025-09-18 01:50:12,577 - DEBUG - ==>Verifying data for policy with id: 44a78b46-d5d4-457e-a265-9321d069606b, fqn: ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-policy-allow-all-76547911']
2025-09-18 01:50:12,577 - INFO - VN ctest-vn-80806268 Policy verification: verify_vn_policy_in_api_server, status: True
2025-09-18 01:50:12,577 - DEBUG - Verifying the vn in opserver
2025-09-18 01:50:12,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268 virtual network link through opserver 10.0.0.19
2025-09-18 01:50:12,578 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-09-18 01:50:12,868 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-09-18 01:50:12,917 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268?flat'}
2025-09-18 01:50:12,917 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268 is found in opserver
2025-09-18 01:50:12,926 - DEBUG - Do not have enough data to verify VN in agent
2025-09-18 01:50:12,929 - DEBUG - VRF ids for VN ctest-vn-80806268: {}
2025-09-18 01:50:12,929 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-09-18 01:50:12,934 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085
2025-09-18 01:50:12,943 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6
2025-09-18 01:50:13,014 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738
2025-09-18 01:50:13,025 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738
2025-09-18 01:50:13,033 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64
2025-09-18 01:50:13,040 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64
2025-09-18 01:50:13,046 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f0bd2478-0abc-451c-bf78-d039d10f1162
2025-09-18 01:50:13,051 - DEBUG - Route Targets: ['target:64512:8000005']
2025-09-18 01:50:13,051 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738
2025-09-18 01:50:13,058 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64
2025-09-18 01:50:13,069 - INFO - Verified VN network id 13 for VN cf65b36a-4863-47c5-8c5b-281754101738
2025-09-18 01:50:13,069 - INFO - Verifications in API Server for VN ctest-vn-46039305 passed
2025-09-18 01:50:13,069 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738
2025-09-18 01:50:13,076 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64
2025-09-18 01:50:13,081 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64
2025-09-18 01:50:13,086 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f0bd2478-0abc-451c-bf78-d039d10f1162
2025-09-18 01:50:13,094 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68073787', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14944548207561230277', 'uuid-lslong': '10113721468850280248'}, 'enable': 'true', 'created': '2025-09-18T01:50:10', 'last-modified': '2025-09-18T01:50:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318788'}
2025-09-18 01:50:13,099 - DEBUG - Route Targets: ['target:64512:8000005']
2025-09-18 01:50:13,099 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46039305 passed
2025-09-18 01:50:13,099 - DEBUG - ====Verifying policy data for ctest-vn-46039305 in API_Server ======
2025-09-18 01:50:13,099 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-09-18 01:50:13,103 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085
2025-09-18 01:50:13,111 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6
2025-09-18 01:50:13,176 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738
2025-09-18 01:50:13,184 - DEBUG - ==>Verifying data for policy with id: 44a78b46-d5d4-457e-a265-9321d069606b, fqn: ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-policy-allow-all-76547911']
2025-09-18 01:50:13,184 - INFO - VN ctest-vn-46039305 Policy verification: verify_vn_policy_in_api_server, status: True
2025-09-18 01:50:13,184 - DEBUG - Verifying the vn in opserver
2025-09-18 01:50:13,184 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305 virtual network link through opserver 10.0.0.19
2025-09-18 01:50:13,184 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-09-18 01:50:13,193 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305?flat'}
2025-09-18 01:50:13,194 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305 is found in opserver
2025-09-18 01:50:13,202 - DEBUG - Do not have enough data to verify VN in agent
2025-09-18 01:50:13,206 - DEBUG - VRF ids for VN ctest-vn-46039305: {}
2025-09-18 01:50:13,261 - DEBUG - Services list from nova: [