2026-01-22 02:32:47,488 - INFO - Domain Default found not creating 2026-01-22 02:32:47,662 - INFO - Project ctest-TestBasicPolicy-65736709 not found, creating it 2026-01-22 02:32:48,187 - INFO - Created Project:ctest-TestBasicPolicy-65736709, ID : 9b0ec671-92a4-4c21-bb31-6f9a1592a133 2026-01-22 02:32:49,857 - INFO - ================================================================================ 2026-01-22 02:32:49,857 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-22 02:32:49,857 - 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-22 02:32:51,128 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.19': '0', '10.20.0.5': '0'}, '10.0.0.141': {'10.20.0.19': '0', '10.20.0.5': '0'}} with 2026-01-22 02:32:51,128 - INFO - Initial checks done. Running the testcase now 2026-01-22 02:32:51,128 - INFO - 2026-01-22 02:32:51,814 - DEBUG - Response for create_network : {'network': {'id': '3598d517-4887-45f4-9445-15e01d6efd8d', 'name': 'ctest-vn-40723472', 'tenant_id': '9b0ec67192a44c21bb316f9a1592a133', 'project_id': '9b0ec67192a44c21bb316f9a1592a133', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65736709', 'ctest-vn-40723472'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:32:52,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '23363fe6-4742-463b-9bff-e051b7a406b3', 'name': '', 'tenant_id': '9b0ec67192a44c21bb316f9a1592a133', 'network_id': '3598d517-4887-45f4-9445-15e01d6efd8d', 'ip_version': 4, 'cidr': '64.98.207.64/26', 'allocation_pools': [{'start': '64.98.207.66', 'end': '64.98.207.126'}], 'gateway_ip': '64.98.207.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.98.207.66', 'tags': [], 'project_id': '9b0ec67192a44c21bb316f9a1592a133'}} 2026-01-22 02:32:52,123 - INFO - Created VN ctest-vn-40723472 2026-01-22 02:32:52,133 - DEBUG - VN ctest-vn-40723472 UUID is 3598d517-4887-45f4-9445-15e01d6efd8d 2026-01-22 02:32:52,527 - DEBUG - Response for create_network : {'network': {'id': '3100c7bd-3ce2-4703-8d56-2b2033a6d0ee', 'name': 'ctest-vn-43105873', 'tenant_id': '9b0ec67192a44c21bb316f9a1592a133', 'project_id': '9b0ec67192a44c21bb316f9a1592a133', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65736709', 'ctest-vn-43105873'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:32:52,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dd55c5a-c556-471a-b7e4-279b100695cd', 'name': '', 'tenant_id': '9b0ec67192a44c21bb316f9a1592a133', 'network_id': '3100c7bd-3ce2-4703-8d56-2b2033a6d0ee', 'ip_version': 4, 'cidr': '114.233.48.128/26', 'allocation_pools': [{'start': '114.233.48.130', 'end': '114.233.48.190'}], 'gateway_ip': '114.233.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.233.48.130', 'tags': [], 'project_id': '9b0ec67192a44c21bb316f9a1592a133'}} 2026-01-22 02:32:52,807 - INFO - Created VN ctest-vn-43105873 2026-01-22 02:32:52,821 - DEBUG - VN ctest-vn-43105873 UUID is 3100c7bd-3ce2-4703-8d56-2b2033a6d0ee 2026-01-22 02:32:52,944 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472, 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-65736709:ctest-vn-43105873, 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-22 02:32:53,265 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3598d517-4887-45f4-9445-15e01d6efd8d', 'name': 'ctest-vn-40723472', 'tenant_id': '9b0ec67192a44c21bb316f9a1592a133', 'project_id': '9b0ec67192a44c21bb316f9a1592a133', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['23363fe6-4742-463b-9bff-e051b7a406b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65736709', 'ctest-vn-40723472'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65736709', 'ctest-policy-allow-all-56247909']], 'subnet_ipam': [{'subnet_cidr': '64.98.207.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:32:53,497 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3100c7bd-3ce2-4703-8d56-2b2033a6d0ee', 'name': 'ctest-vn-43105873', 'tenant_id': '9b0ec67192a44c21bb316f9a1592a133', 'project_id': '9b0ec67192a44c21bb316f9a1592a133', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4dd55c5a-c556-471a-b7e4-279b100695cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65736709', 'ctest-vn-43105873'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65736709', 'ctest-policy-allow-all-56247909']], 'subnet_ipam': [{'subnet_cidr': '114.233.48.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:32:53,617 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 02:32:53,946 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 02:32:53,978 - DEBUG - Requesting: http://10.0.0.38:8082/domain/43eea14e-faa6-4579-85d2-09c8cc682740 2026-01-22 02:32:53,993 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b0ec671-92a4-4c21-bb31-6f9a1592a133 2026-01-22 02:32:54,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3598d517-4887-45f4-9445-15e01d6efd8d 2026-01-22 02:32:54,104 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3598d517-4887-45f4-9445-15e01d6efd8d 2026-01-22 02:32:54,115 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bab55023-8a45-40a4-82f8-406c610d5d63 2026-01-22 02:32:54,122 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bab55023-8a45-40a4-82f8-406c610d5d63 2026-01-22 02:32:54,128 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2eca342c-c6a3-4cc9-949e-d807ed766cf3 2026-01-22 02:32:54,135 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 02:32:54,135 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3598d517-4887-45f4-9445-15e01d6efd8d 2026-01-22 02:32:54,145 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bab55023-8a45-40a4-82f8-406c610d5d63 2026-01-22 02:32:54,162 - INFO - Verified VN network id 12 for VN 3598d517-4887-45f4-9445-15e01d6efd8d 2026-01-22 02:32:54,162 - INFO - Verifications in API Server for VN ctest-vn-40723472 passed 2026-01-22 02:32:54,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3598d517-4887-45f4-9445-15e01d6efd8d 2026-01-22 02:32:54,171 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bab55023-8a45-40a4-82f8-406c610d5d63 2026-01-22 02:32:54,179 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bab55023-8a45-40a4-82f8-406c610d5d63 2026-01-22 02:32:54,185 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2eca342c-c6a3-4cc9-949e-d807ed766cf3 2026-01-22 02:32:54,196 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65736709', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3862070976447989236', 'uuid-lslong': '10683969743317040525'}, 'enable': 'true', 'created': '2026-01-22T02:32:51', 'last-modified': '2026-01-22T02:32:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981009'} 2026-01-22 02:32:54,201 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 02:32:54,206 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65736709', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3862070976447989236', 'uuid-lslong': '10683969743317040525'}, 'enable': 'true', 'created': '2026-01-22T02:32:51', 'last-modified': '2026-01-22T02:32:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994703'} 2026-01-22 02:32:54,212 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 02:32:54,216 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65736709', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3862070976447989236', 'uuid-lslong': '10683969743317040525'}, 'enable': 'true', 'created': '2026-01-22T02:32:51', 'last-modified': '2026-01-22T02:32:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.997820'} 2026-01-22 02:32:54,221 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 02:32:54,222 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40723472 passed 2026-01-22 02:32:54,222 - DEBUG - ====Verifying policy data for ctest-vn-40723472 in API_Server ====== 2026-01-22 02:32:54,222 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 02:32:54,228 - DEBUG - Requesting: http://10.0.0.38:8082/domain/43eea14e-faa6-4579-85d2-09c8cc682740 2026-01-22 02:32:54,239 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b0ec671-92a4-4c21-bb31-6f9a1592a133 2026-01-22 02:32:54,339 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3598d517-4887-45f4-9445-15e01d6efd8d 2026-01-22 02:32:54,348 - DEBUG - ==>Verifying data for policy with id: 1c38af2d-8bd8-48b9-822b-1decbc9afc81, fqn: ['default-domain', 'ctest-TestBasicPolicy-65736709', 'ctest-policy-allow-all-56247909'] 2026-01-22 02:32:54,348 - INFO - VN ctest-vn-40723472 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 02:32:54,348 - DEBUG - Verifying the vn in opserver 2026-01-22 02:32:54,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 virtual network link through opserver 10.0.0.38 2026-01-22 02:32:54,348 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-22 02:32:54,648 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-22 02:32:54,711 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472?flat'} 2026-01-22 02:32:54,711 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 virtual network link through opserver 10.0.0.50 2026-01-22 02:32:54,711 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-22 02:32:55,017 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-22 02:32:55,095 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472?flat'} 2026-01-22 02:32:55,095 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 virtual network link through opserver 10.0.0.131 2026-01-22 02:32:55,095 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2026-01-22 02:32:55,392 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2026-01-22 02:32:55,453 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472?flat'} 2026-01-22 02:32:55,453 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 is found in opserver 2026-01-22 02:32:55,479 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 02:32:55,490 - DEBUG - VRF ids for VN ctest-vn-40723472: {} 2026-01-22 02:32:55,490 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 02:32:55,497 - DEBUG - Requesting: http://10.0.0.38:8082/domain/43eea14e-faa6-4579-85d2-09c8cc682740 2026-01-22 02:32:55,508 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b0ec671-92a4-4c21-bb31-6f9a1592a133 2026-01-22 02:32:55,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3100c7bd-3ce2-4703-8d56-2b2033a6d0ee 2026-01-22 02:32:55,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3100c7bd-3ce2-4703-8d56-2b2033a6d0ee 2026-01-22 02:32:55,636 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd54ad6-0856-4fab-a537-7bc1e676a6a6 2026-01-22 02:32:55,644 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd54ad6-0856-4fab-a537-7bc1e676a6a6 2026-01-22 02:32:55,652 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dc36254f-bde0-472b-9d0f-0f87980acdc8 2026-01-22 02:32:55,660 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 02:32:55,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3100c7bd-3ce2-4703-8d56-2b2033a6d0ee 2026-01-22 02:32:55,669 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd54ad6-0856-4fab-a537-7bc1e676a6a6 2026-01-22 02:32:55,686 - INFO - Verified VN network id 13 for VN 3100c7bd-3ce2-4703-8d56-2b2033a6d0ee 2026-01-22 02:32:55,686 - INFO - Verifications in API Server for VN ctest-vn-43105873 passed 2026-01-22 02:32:55,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3100c7bd-3ce2-4703-8d56-2b2033a6d0ee 2026-01-22 02:32:55,695 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd54ad6-0856-4fab-a537-7bc1e676a6a6 2026-01-22 02:32:55,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd54ad6-0856-4fab-a537-7bc1e676a6a6 2026-01-22 02:32:55,711 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dc36254f-bde0-472b-9d0f-0f87980acdc8 2026-01-22 02:32:55,723 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65736709', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3531041723442677507', 'uuid-lslong': '10184375024650473710'}, 'enable': 'true', 'created': '2026-01-22T02:32:52', 'last-modified': '2026-01-22T02:32:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.281585'} 2026-01-22 02:32:55,730 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 02:32:55,736 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65736709', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3531041723442677507', 'uuid-lslong': '10184375024650473710'}, 'enable': 'true', 'created': '2026-01-22T02:32:52', 'last-modified': '2026-01-22T02:32:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.293333'} 2026-01-22 02:32:55,741 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 02:32:55,746 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65736709', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3531041723442677507', 'uuid-lslong': '10184375024650473710'}, 'enable': 'true', 'created': '2026-01-22T02:32:52', 'last-modified': '2026-01-22T02:32:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.302910'} 2026-01-22 02:32:55,752 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 02:32:55,752 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43105873 passed 2026-01-22 02:32:55,752 - DEBUG - ====Verifying policy data for ctest-vn-43105873 in API_Server ====== 2026-01-22 02:32:55,753 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 02:32:55,760 - DEBUG - Requesting: http://10.0.0.38:8082/domain/43eea14e-faa6-4579-85d2-09c8cc682740 2026-01-22 02:32:55,771 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b0ec671-92a4-4c21-bb31-6f9a1592a133 2026-01-22 02:32:55,867 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3100c7bd-3ce2-4703-8d56-2b2033a6d0ee 2026-01-22 02:32:55,876 - DEBUG - ==>Verifying data for policy with id: 1c38af2d-8bd8-48b9-822b-1decbc9afc81, fqn: ['default-domain', 'ctest-TestBasicPolicy-65736709', 'ctest-policy-allow-all-56247909'] 2026-01-22 02:32:55,876 - INFO - VN ctest-vn-43105873 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 02:32:55,876 - DEBUG - Verifying the vn in opserver 2026-01-22 02:32:55,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873 virtual network link through opserver 10.0.0.38 2026-01-22 02:32:55,877 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-22 02:32:55,945 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873?flat'} 2026-01-22 02:32:55,945 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873 virtual network link through opserver 10.0.0.50 2026-01-22 02:32:55,945 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-22 02:32:56,007 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873?flat'} 2026-01-22 02:32:56,007 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873 virtual network link through opserver 10.0.0.131 2026-01-22 02:32:56,007 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2026-01-22 02:32:56,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873?flat'} 2026-01-22 02:32:56,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-43105873 is found in opserver 2026-01-22 02:32:56,093 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 02:32:56,104 - DEBUG - VRF ids for VN ctest-vn-43105873: {} 2026-01-22 02:32:56,163 - DEBUG - Services list from nova: [, , , ] 2026-01-22 02:32:57,299 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5055-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5055-1) 2026-01-22 02:32:58,654 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5055-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5055-2) 2026-01-22 02:32:58,654 - INFO - Waiting for VM ctest-TestBasicPolicy-65736709-86927881 to be up.. 2026-01-22 02:32:58,748 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 02:33:03,844 - DEBUG - VM is in ACTIVE state now 2026-01-22 02:33:03,844 - INFO - VM name : ctest-TestBasicPolicy-65736709-86927881 2026-01-22 02:33:03,930 - DEBUG - VM ctest-TestBasicPolicy-65736709-86927881 ID is 06254fe1-7327-461f-8233-d76040c1c7ac 2026-01-22 02:33:03,953 - DEBUG - VM ctest-TestBasicPolicy-65736709-86927881 launched on Node an-jenkins-deploy-platform-ansible-os-5055-1 2026-01-22 02:33:04,035 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/06254fe1-7327-461f-8233-d76040c1c7ac 2026-01-22 02:33:04,337 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/06254fe1-7327-461f-8233-d76040c1c7ac 2026-01-22 02:33:04,376 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/7244ea24-9f2b-47b4-9b22-6679d914045c 2026-01-22 02:33:07,566 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1032ms') 2026-01-22 02:33:07,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-86927881 failed! 2026-01-22 02:33:07,581 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 is 64.98.207.65 and allocation pool is NOT set 2026-01-22 02:33:11,665 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-01-22 02:33:11,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-86927881 failed! 2026-01-22 02:33:11,679 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 is 64.98.207.65 and allocation pool is NOT set 2026-01-22 02:33:15,761 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-01-22 02:33:15,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-86927881 failed! 2026-01-22 02:33:15,774 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 is 64.98.207.65 and allocation pool is NOT set 2026-01-22 02:33:19,859 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-01-22 02:33:19,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-86927881 failed! 2026-01-22 02:33:19,873 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 is 64.98.207.65 and allocation pool is NOT set 2026-01-22 02:33:23,953 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-01-22 02:33:23,953 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-86927881 failed! 2026-01-22 02:33:23,967 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 is 64.98.207.65 and allocation pool is NOT set 2026-01-22 02:33:28,051 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-01-22 02:33:28,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-86927881 failed! 2026-01-22 02:33:28,065 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 is 64.98.207.65 and allocation pool is NOT set 2026-01-22 02:33:32,149 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-01-22 02:33:32,149 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-86927881 failed! 2026-01-22 02:33:32,162 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 is 64.98.207.65 and allocation pool is NOT set 2026-01-22 02:33:36,237 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-01-22 02:33:36,237 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-86927881 failed! 2026-01-22 02:33:36,253 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65736709:ctest-vn-40723472 is 64.98.207.65 and allocation pool is NOT set 2026-01-22 02:33:38,317 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.724 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.724/5.362/10.001/4.638 ms') 2026-01-22 02:33:38,317 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-86927881 passed 2026-01-22 02:33:38,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:33:38,384 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65736709-86927881, IP 64.98.207.67, Port 22 2026-01-22 02:33:38,453 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-22 02:33:38,538 - DEBUG - VM ctest-TestBasicPolicy-65736709-86927881 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 02:33:43,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:33:43,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65736709-86927881, IP 64.98.207.67, Port 22 2026-01-22 02:33:43,605 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-22 02:33:43,708 - DEBUG - VM ctest-TestBasicPolicy-65736709-86927881 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 02:33:48,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:33:48,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65736709-86927881, IP 64.98.207.67, Port 22 2026-01-22 02:33:48,777 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-22 02:33:48,880 - DEBUG - VM ctest-TestBasicPolicy-65736709-86927881 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 02:33:53,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:33:53,881 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65736709-86927881, IP 64.98.207.67, Port 22 2026-01-22 02:33:53,949 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-22 02:33:54,041 - DEBUG - VM ctest-TestBasicPolicy-65736709-86927881 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 02:33:59,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:33:59,042 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65736709-86927881, IP 64.98.207.67, Port 22 2026-01-22 02:33:59,098 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-22 02:33:59,185 - DEBUG - VM ctest-TestBasicPolicy-65736709-86927881 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 02:34:04,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:34:04,186 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65736709-86927881, IP 64.98.207.67, Port 22 2026-01-22 02:34:04,346 - DEBUG - VM ctest-TestBasicPolicy-65736709-86927881 is ready for SSH connections 2026-01-22 02:34:04,346 - INFO - Waiting for VM ctest-TestBasicPolicy-65736709-06460309 to be up.. 2026-01-22 02:34:04,433 - DEBUG - VM is in ACTIVE state now 2026-01-22 02:34:04,434 - INFO - VM name : ctest-TestBasicPolicy-65736709-06460309 2026-01-22 02:34:04,529 - DEBUG - VM ctest-TestBasicPolicy-65736709-06460309 ID is 4b7550ce-fb48-4396-91c4-2b69cdad37cf 2026-01-22 02:34:04,529 - DEBUG - VM ctest-TestBasicPolicy-65736709-06460309 launched on Node an-jenkins-deploy-platform-ansible-os-5055-2 2026-01-22 02:34:04,621 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4b7550ce-fb48-4396-91c4-2b69cdad37cf 2026-01-22 02:34:04,634 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/beae0376-2ebd-45fe-89a8-82f68e32bf94 2026-01-22 02:34:05,797 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.404/2.032/3.660/1.628 ms') 2026-01-22 02:34:05,798 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65736709-06460309 passed 2026-01-22 02:34:05,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:34:05,868 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65736709-06460309, IP 114.233.48.131, Port 22 2026-01-22 02:34:06,024 - DEBUG - VM ctest-TestBasicPolicy-65736709-06460309 is ready for SSH connections 2026-01-22 02:34:06,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:34:06,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.233.48.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-22 02:34:06,024 - DEBUG - ping -s 56 -c 3 -W 1 114.233.48.131 2026-01-22 02:34:27,904 - DEBUG - PING 114.233.48.131 (114.233.48.131) 56(84) bytes of data. 64 bytes from 114.233.48.131: icmp_req=1 ttl=63 time=9.59 ms 64 bytes from 114.233.48.131: icmp_req=2 ttl=63 time=2.13 ms 64 bytes from 114.233.48.131: icmp_req=3 ttl=63 time=1.07 ms --- 114.233.48.131 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2013ms rtt min/avg/max/mdev = 1.073/4.266/9.594/3.792 ms 2026-01-22 02:34:27,904 - INFO - Ping to IP 114.233.48.131 from VM ctest-TestBasicPolicy-65736709-86927881 passed 2026-01-22 02:34:28,131 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1c38af2d-8bd8-48b9-822b-1decbc9afc81", "href": "http://10.0.0.131:8082/network-policy/1c38af2d-8bd8-48b9-822b-1decbc9afc81"}} 2026-01-22 02:34:28,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:34:28,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.233.48.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-22 02:34:28,131 - DEBUG - ping -s 56 -c 3 -W 1 114.233.48.131 2026-01-22 02:34:31,872 - DEBUG - PING 114.233.48.131 (114.233.48.131) 56(84) bytes of data. --- 114.233.48.131 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2003ms 2026-01-22 02:34:31,872 - WARNING - Ping to IP 114.233.48.131 from VM ctest-TestBasicPolicy-65736709-86927881 failed 2026-01-22 02:34:31,872 - INFO - Deleting VM ctest-TestBasicPolicy-65736709-06460309 2026-01-22 02:34:31,942 - INFO - Deleting VM ctest-TestBasicPolicy-65736709-86927881 2026-01-22 02:34:32,392 - INFO - Deleted policy ctest-policy-allow-all-56247909 2026-01-22 02:34:32,392 - INFO - Deleting VN ctest-vn-43105873 2026-01-22 02:34:32,437 - DEBUG - VN 3100c7bd-3ce2-4703-8d56-2b2033a6d0ee still in use: Unable to complete operation on network 3100c7bd-3ce2-4703-8d56-2b2033a6d0ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6071656-bfa1-42a4-ad08-33dbdf790658'] 2026-01-22 02:34:32,437 - WARNING - Deleting VN ctest-vn-43105873 failed..Will retry 2026-01-22 02:34:34,617 - DEBUG - Response for deleting network () 2026-01-22 02:34:34,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd54ad6-0856-4fab-a537-7bc1e676a6a6 2026-01-22 02:34:34,623 - DEBUG - Response Code: 404 2026-01-22 02:34:34,623 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 02:34:34,628 - DEBUG - Requesting: http://10.0.0.38:8082/domain/43eea14e-faa6-4579-85d2-09c8cc682740 2026-01-22 02:34:34,682 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b0ec671-92a4-4c21-bb31-6f9a1592a133 2026-01-22 02:34:34,772 - INFO - Validated that VN ctest-vn-43105873 is not found in API Server 2026-01-22 02:34:34,784 - DEBUG - VN ctest-vn-43105873 is not present in Agent 10.0.0.23 2026-01-22 02:34:34,796 - DEBUG - VN ctest-vn-43105873 is not present in Agent 10.0.0.141 2026-01-22 02:34:34,796 - INFO - Validated that VN ctest-vn-43105873 is not in any agent 2026-01-22 02:34:34,826 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43105873 info 2026-01-22 02:34:34,826 - INFO - Deleting VN ctest-vn-40723472 2026-01-22 02:34:34,980 - DEBUG - Response for deleting network () 2026-01-22 02:34:34,980 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bab55023-8a45-40a4-82f8-406c610d5d63 2026-01-22 02:34:34,988 - DEBUG - Response Code: 404 2026-01-22 02:34:34,988 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 02:34:34,999 - DEBUG - Requesting: http://10.0.0.38:8082/domain/43eea14e-faa6-4579-85d2-09c8cc682740 2026-01-22 02:34:35,020 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b0ec671-92a4-4c21-bb31-6f9a1592a133 2026-01-22 02:34:35,118 - INFO - Validated that VN ctest-vn-40723472 is not found in API Server 2026-01-22 02:34:35,129 - DEBUG - VN ctest-vn-40723472 is not present in Agent 10.0.0.23 2026-01-22 02:34:35,143 - DEBUG - VN ctest-vn-40723472 is not present in Agent 10.0.0.141 2026-01-22 02:34:35,143 - INFO - Validated that VN ctest-vn-40723472 is not in any agent 2026-01-22 02:34:35,173 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40723472 info 2026-01-22 02:34:36,440 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 02:34:36,440 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:47]
2026-01-22 02:34:36,440 - INFO - -------------------------------------------------------------------------------- 2026-01-22 02:34:37,186 - INFO - Deleted project: ctest-TestBasicPolicy-65736709, ID : 9b0ec671-92a4-4c21-bb31-6f9a1592a133