Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65E7A14003 for ; Sat, 20 Apr 2024 09:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713606108; cv=none; b=uxYGXXzH4tA9PjDurrCaqE93yZtv2WA3od5jO62mcHwiKdVOZdl6Ju7X+EQRI55/h+hDtjA8rmBl2IAjAxP8DCtQIzOVKwQFIWhm2rltf4jfdCocqDNnVnrslXkuQlLXNlDfc3mnuKw1w1JJCsyXxn4xX/fsALbFxMqQYrSBaaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713606108; c=relaxed/simple; bh=wJ7RFpcW8Mvf8fOfd7ODQg7nG8abHnw8nfgDD7yna9Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ty8xse2z0IijMA1pjoZJ3MNX8RN6JGSNpY57ypkR6k/pLzHLc7BA4rwsQDApn5xU+/Rm3nfggtCUug/zaomezZIaZil/y4mqq+hYF2bYYRbW8wZ0joKuH15ftQf9BtG2TCxo0qRBDsxrh62JylGTqh3OrUGp/Q9aL4M0R6q+H2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=C5u3rsq9; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="C5u3rsq9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713606105; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bZBHpHTgTcE+idysBXICbi0lxLYvkXsdHpCm0Ar83NY=; b=C5u3rsq9eiogZPd86TdZlAeFWrEv2m7xK4ivE/XDqvbmKQIBMB8MzW9dRh3+ImB0i58OIZ rKiebtb8WgIUQClsfVk9j6BuI+hhp1jPVvMuJKYUzjxw3k9nKnlZgmAW4dRwJzfAg21ocG dLB/TWVL6xfK37mS9xM+uR9w8zkfiQc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-672-BUGN7TblNRe-q_Lo_3mJMw-1; Sat, 20 Apr 2024 05:41:43 -0400 X-MC-Unique: BUGN7TblNRe-q_Lo_3mJMw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BA712804C61; Sat, 20 Apr 2024 09:41:42 +0000 (UTC) Received: from aion.redhat.com (unknown [10.22.8.120]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A9FF443FAD; Sat, 20 Apr 2024 09:41:42 +0000 (UTC) Received: from aion.redhat.com (localhost [IPv6:::1]) by aion.redhat.com (Postfix) with ESMTP id 3CB40148DE8; Sat, 20 Apr 2024 05:41:42 -0400 (EDT) From: Scott Mayhew To: kdevops@lists.linux.dev Cc: chuck.lever@oracle.com Subject: [PATCH] gen_nodes: fix breakage from "Split ltp set-up from gen_nodes" Date: Sat, 20 Apr 2024 05:41:42 -0400 Message-ID: <20240420094142.2498672-1-smayhew@redhat.com> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true Commit ee1e9d2 inserted a new task in the middle of the "Initialize the enabled nodes list for ltp" task, effectively getting rid of that task's when clause, causing it to run for non-LTP workloads. Fixes: ee1e9d2 ("gen_nodes: Split ltp set-up from gen_nodes") Signed-off-by: Scott Mayhew --- playbooks/roles/gen_nodes/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/playbooks/roles/gen_nodes/tasks/main.yml b/playbooks/roles/gen_nodes/tasks/main.yml index ac9ddd9..06c6a94 100644 --- a/playbooks/roles/gen_nodes/tasks/main.yml +++ b/playbooks/roles/gen_nodes/tasks/main.yml @@ -171,6 +171,11 @@ set_fact: is_ltp: True ltp_enabled_nodes: "{{ ltp_enabled_test_groups|ansible.builtin.split }}" + when: + - kdevops_workflows_dedicated_workflow + - kdevops_workflow_enable_ltp + - ansible_nodes_template.stat.exists + - name: Generate a kdevops nodes file for the ltp workflow tags: hosts ansible.builtin.include_role: -- 2.44.0