2026-11-09 03:06:07,643 - INFO - Domain Default found not creating 2026-11-09 03:06:07,855 - INFO - Project ctest-TestBasicPolicy-68547078 not found, creating it 2026-11-09 03:06:08,450 - INFO - Created Project:ctest-TestBasicPolicy-68547078, ID : 311e1255-753e-4970-aad4-79cc7a59c7b3 2026-11-09 03:06:10,285 - INFO - ================================================================================ 2026-11-09 03:06:10,285 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-09 03:06:10,285 - 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-09 03:06:11,595 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.38': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2026-11-09 03:06:11,595 - INFO - Initial checks done. Running the testcase now 2026-11-09 03:06:11,595 - INFO - 2026-11-09 03:06:12,424 - DEBUG - Response for create_network : {'network': {'id': '2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2', 'name': 'ctest-vn-66865914', 'tenant_id': '311e1255753e4970aad479cc7a59c7b3', 'project_id': '311e1255753e4970aad479cc7a59c7b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68547078', 'ctest-vn-66865914'], 'port_security_enabled': True, 'description': ''}} 2026-11-09 03:06:12,710 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c9be8ff-61d9-4ab1-ab03-ca68b99b744e', 'name': '', 'tenant_id': '311e1255753e4970aad479cc7a59c7b3', 'network_id': '2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2', 'ip_version': 4, 'cidr': '46.173.247.192/26', 'allocation_pools': [{'start': '46.173.247.194', 'end': '46.173.247.254'}], 'gateway_ip': '46.173.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.173.247.194', 'tags': [], 'project_id': '311e1255753e4970aad479cc7a59c7b3'}} 2026-11-09 03:06:12,740 - INFO - Created VN ctest-vn-66865914 2026-11-09 03:06:12,755 - DEBUG - VN ctest-vn-66865914 UUID is 2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2 2026-11-09 03:06:13,181 - DEBUG - Response for create_network : {'network': {'id': '376636e0-552e-432f-b191-bd2dfc95b36b', 'name': 'ctest-vn-12723225', 'tenant_id': '311e1255753e4970aad479cc7a59c7b3', 'project_id': '311e1255753e4970aad479cc7a59c7b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68547078', 'ctest-vn-12723225'], 'port_security_enabled': True, 'description': ''}} 2026-11-09 03:06:13,445 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b261ef92-f346-45eb-b5da-0b1f39782d93', 'name': '', 'tenant_id': '311e1255753e4970aad479cc7a59c7b3', 'network_id': '376636e0-552e-432f-b191-bd2dfc95b36b', 'ip_version': 4, 'cidr': '1.231.66.64/26', 'allocation_pools': [{'start': '1.231.66.66', 'end': '1.231.66.126'}], 'gateway_ip': '1.231.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.231.66.66', 'tags': [], 'project_id': '311e1255753e4970aad479cc7a59c7b3'}} 2026-11-09 03:06:13,472 - INFO - Created VN ctest-vn-12723225 2026-11-09 03:06:13,485 - DEBUG - VN ctest-vn-12723225 UUID is 376636e0-552e-432f-b191-bd2dfc95b36b 2026-11-09 03:06:13,584 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914, 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-68547078:ctest-vn-12723225, 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-09 03:06:13,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2', 'name': 'ctest-vn-66865914', 'tenant_id': '311e1255753e4970aad479cc7a59c7b3', 'project_id': '311e1255753e4970aad479cc7a59c7b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['7c9be8ff-61d9-4ab1-ab03-ca68b99b744e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68547078', 'ctest-vn-66865914'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68547078', 'ctest-policy-allow-all-82480189']], 'subnet_ipam': [{'subnet_cidr': '46.173.247.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-09 03:06:14,175 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '376636e0-552e-432f-b191-bd2dfc95b36b', 'name': 'ctest-vn-12723225', 'tenant_id': '311e1255753e4970aad479cc7a59c7b3', 'project_id': '311e1255753e4970aad479cc7a59c7b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b261ef92-f346-45eb-b5da-0b1f39782d93'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68547078', 'ctest-vn-12723225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68547078', 'ctest-policy-allow-all-82480189']], 'subnet_ipam': [{'subnet_cidr': '1.231.66.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-09 03:06:14,285 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-11-09 03:06:14,657 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-11-09 03:06:14,688 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062 2026-11-09 03:06:14,707 - DEBUG - Requesting: http://10.0.0.248:8082/project/311e1255-753e-4970-aad4-79cc7a59c7b3 2026-11-09 03:06:14,803 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2 2026-11-09 03:06:14,823 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2 2026-11-09 03:06:14,835 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/4facb566-50dd-4ea5-82fa-0a44d97ff7cf 2026-11-09 03:06:14,847 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/4facb566-50dd-4ea5-82fa-0a44d97ff7cf 2026-11-09 03:06:14,856 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/939a5f6f-9cdc-43da-8d4b-a5f3d27a627d 2026-11-09 03:06:14,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-09 03:06:14,864 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2 2026-11-09 03:06:14,875 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/4facb566-50dd-4ea5-82fa-0a44d97ff7cf 2026-11-09 03:06:14,893 - INFO - Verified VN network id 14 for VN 2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2 2026-11-09 03:06:14,893 - INFO - Verifications in API Server for VN ctest-vn-66865914 passed 2026-11-09 03:06:14,893 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2 2026-11-09 03:06:14,907 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/4facb566-50dd-4ea5-82fa-0a44d97ff7cf 2026-11-09 03:06:14,916 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/4facb566-50dd-4ea5-82fa-0a44d97ff7cf 2026-11-09 03:06:14,924 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/939a5f6f-9cdc-43da-8d4b-a5f3d27a627d 2026-11-09 03:06:14,937 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68547078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3029012307518244010', 'uuid-lslong': '10772676952751987890'}, 'enable': 'true', 'created': '2026-11-09T03:06:12', 'last-modified': '2026-11-09T03:06:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.039147'} 2026-11-09 03:06:14,943 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-09 03:06:14,949 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68547078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3029012307518244010', 'uuid-lslong': '10772676952751987890'}, 'enable': 'true', 'created': '2026-11-09T03:06:12', 'last-modified': '2026-11-09T03:06:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.052097'} 2026-11-09 03:06:14,955 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-09 03:06:14,961 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68547078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3029012307518244010', 'uuid-lslong': '10772676952751987890'}, 'enable': 'true', 'created': '2026-11-09T03:06:12', 'last-modified': '2026-11-09T03:06:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.063890'} 2026-11-09 03:06:14,968 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-09 03:06:14,968 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66865914 passed 2026-11-09 03:06:14,968 - DEBUG - ====Verifying policy data for ctest-vn-66865914 in API_Server ====== 2026-11-09 03:06:14,968 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-11-09 03:06:14,975 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062 2026-11-09 03:06:14,988 - DEBUG - Requesting: http://10.0.0.248:8082/project/311e1255-753e-4970-aad4-79cc7a59c7b3 2026-11-09 03:06:15,079 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/2a0936a5-31e9-44aa-9580-3c9cc8d1dcb2 2026-11-09 03:06:15,096 - DEBUG - ==>Verifying data for policy with id: 7da1e1d0-77b3-45a5-b7db-4bfa3b13e4fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-68547078', 'ctest-policy-allow-all-82480189'] 2026-11-09 03:06:15,096 - INFO - VN ctest-vn-66865914 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-09 03:06:15,096 - DEBUG - Verifying the vn in opserver 2026-11-09 03:06:15,096 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 virtual network link through opserver 10.0.0.248 2026-11-09 03:06:15,097 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-11-09 03:06:15,464 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-11-09 03:06:15,534 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914?flat'} 2026-11-09 03:06:15,534 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 virtual network link through opserver 10.0.0.249 2026-11-09 03:06:15,534 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-11-09 03:06:15,921 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-11-09 03:06:15,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914?flat'} 2026-11-09 03:06:15,992 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 virtual network link through opserver 10.0.0.33 2026-11-09 03:06:15,992 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-11-09 03:06:16,383 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-11-09 03:06:16,467 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914?flat'} 2026-11-09 03:06:16,467 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 is found in opserver 2026-11-09 03:06:16,492 - DEBUG - Do not have enough data to verify VN in agent 2026-11-09 03:06:16,506 - DEBUG - VRF ids for VN ctest-vn-66865914: {} 2026-11-09 03:06:16,506 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-11-09 03:06:16,514 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062 2026-11-09 03:06:16,529 - DEBUG - Requesting: http://10.0.0.248:8082/project/311e1255-753e-4970-aad4-79cc7a59c7b3 2026-11-09 03:06:16,634 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/376636e0-552e-432f-b191-bd2dfc95b36b 2026-11-09 03:06:16,651 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/376636e0-552e-432f-b191-bd2dfc95b36b 2026-11-09 03:06:16,665 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/b5d5d5e2-034d-4c47-b630-be8d12232885 2026-11-09 03:06:16,682 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/b5d5d5e2-034d-4c47-b630-be8d12232885 2026-11-09 03:06:16,692 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/b6db91e1-40ff-426c-bca8-124d4091deb1 2026-11-09 03:06:16,702 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-09 03:06:16,703 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/376636e0-552e-432f-b191-bd2dfc95b36b 2026-11-09 03:06:16,719 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/b5d5d5e2-034d-4c47-b630-be8d12232885 2026-11-09 03:06:16,739 - INFO - Verified VN network id 15 for VN 376636e0-552e-432f-b191-bd2dfc95b36b 2026-11-09 03:06:16,739 - INFO - Verifications in API Server for VN ctest-vn-12723225 passed 2026-11-09 03:06:16,739 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/376636e0-552e-432f-b191-bd2dfc95b36b 2026-11-09 03:06:16,755 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/b5d5d5e2-034d-4c47-b630-be8d12232885 2026-11-09 03:06:16,764 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/b5d5d5e2-034d-4c47-b630-be8d12232885 2026-11-09 03:06:16,776 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/b6db91e1-40ff-426c-bca8-124d4091deb1 2026-11-09 03:06:16,810 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68547078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3991938456840192815', 'uuid-lslong': '12795216021545137003'}, 'enable': 'true', 'created': '2026-11-09T03:06:13', 'last-modified': '2026-11-09T03:06:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.666133'} 2026-11-09 03:06:16,822 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-09 03:06:16,830 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68547078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3991938456840192815', 'uuid-lslong': '12795216021545137003'}, 'enable': 'true', 'created': '2026-11-09T03:06:13', 'last-modified': '2026-11-09T03:06:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.693209'} 2026-11-09 03:06:16,842 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-09 03:06:16,852 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68547078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3991938456840192815', 'uuid-lslong': '12795216021545137003'}, 'enable': 'true', 'created': '2026-11-09T03:06:13', 'last-modified': '2026-11-09T03:06:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.714279'} 2026-11-09 03:06:16,861 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-09 03:06:16,861 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12723225 passed 2026-11-09 03:06:16,861 - DEBUG - ====Verifying policy data for ctest-vn-12723225 in API_Server ====== 2026-11-09 03:06:16,862 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-11-09 03:06:16,870 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062 2026-11-09 03:06:16,886 - DEBUG - Requesting: http://10.0.0.248:8082/project/311e1255-753e-4970-aad4-79cc7a59c7b3 2026-11-09 03:06:16,995 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/376636e0-552e-432f-b191-bd2dfc95b36b 2026-11-09 03:06:17,007 - DEBUG - ==>Verifying data for policy with id: 7da1e1d0-77b3-45a5-b7db-4bfa3b13e4fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-68547078', 'ctest-policy-allow-all-82480189'] 2026-11-09 03:06:17,007 - INFO - VN ctest-vn-12723225 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-09 03:06:17,007 - DEBUG - Verifying the vn in opserver 2026-11-09 03:06:17,007 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225 virtual network link through opserver 10.0.0.248 2026-11-09 03:06:17,007 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-11-09 03:06:17,083 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225?flat'} 2026-11-09 03:06:17,083 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225 virtual network link through opserver 10.0.0.249 2026-11-09 03:06:17,083 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-11-09 03:06:17,156 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225?flat'} 2026-11-09 03:06:17,156 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225 virtual network link through opserver 10.0.0.33 2026-11-09 03:06:17,156 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-11-09 03:06:17,208 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225?flat'} 2026-11-09 03:06:17,208 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-12723225 is found in opserver 2026-11-09 03:06:17,234 - DEBUG - Do not have enough data to verify VN in agent 2026-11-09 03:06:17,244 - DEBUG - VRF ids for VN ctest-vn-12723225: {} 2026-11-09 03:06:17,311 - DEBUG - Services list from nova: [, , , ] 2026-11-09 03:06:17,886 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6500-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6500-2) 2026-11-09 03:06:18,535 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6500-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6500-1) 2026-11-09 03:06:18,535 - INFO - Waiting for VM ctest-TestBasicPolicy-68547078-75513940 to be up.. 2026-11-09 03:06:18,619 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 03:06:23,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 03:06:28,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 03:06:34,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 03:06:39,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 03:06:44,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 03:06:49,421 - DEBUG - VM is in ACTIVE state now 2026-11-09 03:06:49,423 - INFO - VM name : ctest-TestBasicPolicy-68547078-75513940 2026-11-09 03:06:49,541 - DEBUG - VM ctest-TestBasicPolicy-68547078-75513940 ID is 38b43938-27b2-430a-be78-da5d45b2c220 2026-11-09 03:06:49,566 - DEBUG - VM ctest-TestBasicPolicy-68547078-75513940 launched on Node an-jenkins-deploy-platform-ansible-os-6500-2 2026-11-09 03:06:49,656 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/38b43938-27b2-430a-be78-da5d45b2c220 2026-11-09 03:06:50,030 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/38b43938-27b2-430a-be78-da5d45b2c220 2026-11-09 03:06:50,065 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/15aa9d48-d1d5-4241-9deb-0ece669c0185 2026-11-09 03:06:53,249 - 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 1009ms') 2026-11-09 03:06:53,249 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-75513940 failed! 2026-11-09 03:06:53,265 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 is 46.173.247.193 and allocation pool is NOT set 2026-11-09 03:06:57,334 - 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 1005ms') 2026-11-09 03:06:57,335 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-75513940 failed! 2026-11-09 03:06:57,350 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 is 46.173.247.193 and allocation pool is NOT set 2026-11-09 03:07:01,434 - 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-11-09 03:07:01,434 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-75513940 failed! 2026-11-09 03:07:01,450 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 is 46.173.247.193 and allocation pool is NOT set 2026-11-09 03:07:05,531 - 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 1010ms') 2026-11-09 03:07:05,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-75513940 failed! 2026-11-09 03:07:05,548 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 is 46.173.247.193 and allocation pool is NOT set 2026-11-09 03:07:09,622 - 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 1009ms') 2026-11-09 03:07:09,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-75513940 failed! 2026-11-09 03:07:09,637 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 is 46.173.247.193 and allocation pool is NOT set 2026-11-09 03:07:13,717 - 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-11-09 03:07:13,717 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-75513940 failed! 2026-11-09 03:07:13,733 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 is 46.173.247.193 and allocation pool is NOT set 2026-11-09 03:07:17,814 - 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-11-09 03:07:17,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-75513940 failed! 2026-11-09 03:07:17,831 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 is 46.173.247.193 and allocation pool is NOT set 2026-11-09 03:07:21,911 - 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 1017ms') 2026-11-09 03:07:21,912 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-75513940 failed! 2026-11-09 03:07:21,929 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68547078:ctest-vn-66865914 is 46.173.247.193 and allocation pool is NOT set 2026-11-09 03:07:23,999 - 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=7.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.89 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 = 3.888/5.718/7.548/1.830 ms') 2026-11-09 03:07:23,999 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-75513940 passed 2026-11-09 03:07:24,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 03:07:24,071 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68547078-75513940, IP 46.173.247.195, Port 22 2026-11-09 03:07:24,151 - 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-11-09 03:07:24,248 - DEBUG - VM ctest-TestBasicPolicy-68547078-75513940 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-09 03:07:29,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 03:07:29,250 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68547078-75513940, IP 46.173.247.195, Port 22 2026-11-09 03:07:29,316 - 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-11-09 03:07:29,423 - DEBUG - VM ctest-TestBasicPolicy-68547078-75513940 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-09 03:07:34,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 03:07:34,425 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68547078-75513940, IP 46.173.247.195, Port 22 2026-11-09 03:07:34,492 - 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-11-09 03:07:34,607 - DEBUG - VM ctest-TestBasicPolicy-68547078-75513940 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-09 03:07:39,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 03:07:39,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68547078-75513940, IP 46.173.247.195, Port 22 2026-11-09 03:07:39,784 - DEBUG - VM ctest-TestBasicPolicy-68547078-75513940 is ready for SSH connections 2026-11-09 03:07:39,784 - INFO - Waiting for VM ctest-TestBasicPolicy-68547078-50871507 to be up.. 2026-11-09 03:07:39,876 - DEBUG - VM is in ACTIVE state now 2026-11-09 03:07:39,876 - INFO - VM name : ctest-TestBasicPolicy-68547078-50871507 2026-11-09 03:07:39,967 - DEBUG - VM ctest-TestBasicPolicy-68547078-50871507 ID is 368c320f-ca44-4d99-839e-5ee6b998aeff 2026-11-09 03:07:39,967 - DEBUG - VM ctest-TestBasicPolicy-68547078-50871507 launched on Node an-jenkins-deploy-platform-ansible-os-6500-1 2026-11-09 03:07:40,064 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/368c320f-ca44-4d99-839e-5ee6b998aeff 2026-11-09 03:07:40,075 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/86b0e937-4454-45f4-af0b-a2d0be430040 2026-11-09 03:07:41,244 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/1.908/3.402/1.493 ms') 2026-11-09 03:07:41,244 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68547078-50871507 passed 2026-11-09 03:07:41,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 03:07:41,314 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68547078-50871507, IP 1.231.66.67, Port 22 2026-11-09 03:07:41,487 - DEBUG - VM ctest-TestBasicPolicy-68547078-50871507 is ready for SSH connections 2026-11-09 03:07:41,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 03:07:41,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.231.66.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-09 03:07:41,488 - DEBUG - ping -s 56 -c 3 -W 1 1.231.66.67 2026-11-09 03:07:52,066 - DEBUG - PING 1.231.66.67 (1.231.66.67) 56(84) bytes of data. 64 bytes from 1.231.66.67: icmp_req=1 ttl=63 time=8.51 ms 64 bytes from 1.231.66.67: icmp_req=2 ttl=63 time=3.59 ms 64 bytes from 1.231.66.67: icmp_req=3 ttl=63 time=4.18 ms --- 1.231.66.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 3.592/5.432/8.518/2.196 ms 2026-11-09 03:07:52,067 - INFO - Ping to IP 1.231.66.67 from VM ctest-TestBasicPolicy-68547078-75513940 passed 2026-11-09 03:07:52,309 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7da1e1d0-77b3-45a5-b7db-4bfa3b13e4fb", "href": "http://10.0.0.33:8082/network-policy/7da1e1d0-77b3-45a5-b7db-4bfa3b13e4fb"}} 2026-11-09 03:07:52,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 03:07:52,309 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.231.66.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-09 03:07:52,309 - DEBUG - ping -s 56 -c 3 -W 1 1.231.66.67 2026-11-09 03:07:55,788 - DEBUG - PING 1.231.66.67 (1.231.66.67) 56(84) bytes of data. 64 bytes from 1.231.66.67: icmp_req=1 ttl=63 time=6.92 ms --- 1.231.66.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2002ms rtt min/avg/max/mdev = 6.924/6.924/6.924/0.000 ms 2026-11-09 03:07:55,789 - WARNING - Ping to IP 1.231.66.67 from VM ctest-TestBasicPolicy-68547078-75513940 failed 2026-11-09 03:07:55,789 - INFO - Deleting VM ctest-TestBasicPolicy-68547078-50871507 2026-11-09 03:07:55,880 - INFO - Deleting VM ctest-TestBasicPolicy-68547078-75513940 2026-11-09 03:07:56,364 - INFO - Deleted policy ctest-policy-allow-all-82480189 2026-11-09 03:07:56,364 - INFO - Deleting VN ctest-vn-12723225 2026-11-09 03:07:56,429 - DEBUG - VN 376636e0-552e-432f-b191-bd2dfc95b36b still in use: Unable to complete operation on network 376636e0-552e-432f-b191-bd2dfc95b36b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41b7c546-3d04-4cea-a954-a346f5fbe947'] 2026-11-09 03:07:56,429 - WARNING - Deleting VN ctest-vn-12723225 failed..Will retry 2026-11-09 03:07:58,535 - DEBUG - VN 376636e0-552e-432f-b191-bd2dfc95b36b still in use: Unable to complete operation on network 376636e0-552e-432f-b191-bd2dfc95b36b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-59eeccd5-5ec7-45d6-8c7b-d9f784daa49c'] 2026-11-09 03:07:58,535 - WARNING - Deleting VN ctest-vn-12723225 failed..Will retry 2026-11-09 03:08:00,702 - DEBUG - Response for deleting network () 2026-11-09 03:08:00,702 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/b5d5d5e2-034d-4c47-b630-be8d12232885 2026-11-09 03:08:00,709 - DEBUG - Response Code: 404 2026-11-09 03:08:00,709 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-11-09 03:08:00,715 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062 2026-11-09 03:08:00,766 - DEBUG - Requesting: http://10.0.0.248:8082/project/311e1255-753e-4970-aad4-79cc7a59c7b3 2026-11-09 03:08:00,870 - INFO - Validated that VN ctest-vn-12723225 is not found in API Server 2026-11-09 03:08:00,882 - DEBUG - VN ctest-vn-12723225 is not present in Agent 10.0.0.250 2026-11-09 03:08:00,893 - DEBUG - VN ctest-vn-12723225 is not present in Agent 10.0.0.38 2026-11-09 03:08:00,893 - INFO - Validated that VN ctest-vn-12723225 is not in any agent 2026-11-09 03:08:00,932 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12723225 info 2026-11-09 03:08:00,932 - INFO - Deleting VN ctest-vn-66865914 2026-11-09 03:08:01,154 - DEBUG - Response for deleting network () 2026-11-09 03:08:01,154 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/4facb566-50dd-4ea5-82fa-0a44d97ff7cf 2026-11-09 03:08:01,161 - DEBUG - Response Code: 404 2026-11-09 03:08:01,161 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-11-09 03:08:01,168 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062 2026-11-09 03:08:01,181 - DEBUG - Requesting: http://10.0.0.248:8082/project/311e1255-753e-4970-aad4-79cc7a59c7b3 2026-11-09 03:08:01,281 - INFO - Validated that VN ctest-vn-66865914 is not found in API Server 2026-11-09 03:08:01,292 - DEBUG - VN ctest-vn-66865914 is not present in Agent 10.0.0.250 2026-11-09 03:08:01,304 - DEBUG - VN ctest-vn-66865914 is not present in Agent 10.0.0.38 2026-11-09 03:08:01,304 - INFO - Validated that VN ctest-vn-66865914 is not in any agent 2026-11-09 03:08:01,341 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66865914 info 2026-11-09 03:08:02,620 - DEBUG - No XMPP flaps were noticed during the test
2026-11-09 03:08:02,620 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:52]
2026-11-09 03:08:02,620 - INFO - -------------------------------------------------------------------------------- 2026-11-09 03:08:03,532 - INFO - Deleted project: ctest-TestBasicPolicy-68547078, ID : 311e1255-753e-4970-aad4-79cc7a59c7b3