Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BB44526FA6E for ; Wed, 13 Aug 2025 12:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755088832; cv=none; b=K9Iv334t884SKno3lsw+jAmwrwCNw5U5CapW7tbon35TSd3WyJ9vkbgRAXnvWvpnIUpE7vzkPLbe5ZhkbPakDd0S9KvIr60EX3XqLcnO94ruLrIZMUHlVJgn7kiYID7gBrWkJuzwT/1RlcmWtjGylyrEdCL7YJuhBTd8FUUDJEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755088832; c=relaxed/simple; bh=tx3X6UO3SNSQiKfiaiiv2psgJEHZ5UkNZOO7cZF5Mc4=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=Pa7KqT3cegyLF9QYhvKdR3N/XAywVIQXvOaQ6tu0zMGQGENFZ22JRzdIIiLBQTJ0gfedz42p19tz1JfCjZ3ViGMk2L8UMBbS7l//6kgGEkwetph4HrqhJ7Ii/RwFNV9Nf/rpQFHblKQ8ca8F6PzyqXu3kzJ2r3P09G+gutIsPWs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gxWC+dGy; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gxWC+dGy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7AEC6C4CEEB; Wed, 13 Aug 2025 12:40:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755088832; bh=tx3X6UO3SNSQiKfiaiiv2psgJEHZ5UkNZOO7cZF5Mc4=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To:From; b=gxWC+dGy7773iKhLDPLX9rGIfd6OHzizX9TS1M7+LyqiP6MIWVSjbZ66utZTue/7S aLXgrHQ7CLaD119KHWLwSbWifUXadoxJK6oAMDoP5SZj2XtJYCmYs8fWmD7SMQ/hpk wtblFrham4XgsxbxEdTPmPFJGx6VBEukmraHajm8AJDiYAJjqp8wdysfM9zm6DFc/k x0TiiamSxoxQdLxULSaf5qP0bvjjW0YkDWFCD29NRFJWUQXSMyT2MwWm0tIGHLAqY7 9PbmWfvwRwLCK94FZw7/wA8dyDKSCkCBpGmOXBMFMCnnvc00FNRctr9woZmqpuZnAx mPwA7gVMwbhhQ== Message-ID: <3d471375-130e-41e6-833d-f9c559fa0c13@kernel.org> Date: Wed, 13 Aug 2025 14:40:29 +0200 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Daniel Gomez Subject: Re: [PATCH 1/2] gen_hosts: fix inventory path for dedicated mmtests workflow To: Luis Chamberlain , Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev References: <20250812004252.2256571-1-mcgrof@kernel.org> <20250812004252.2256571-2-mcgrof@kernel.org> Content-Language: en-US From: Daniel Gomez Organization: kernel.org In-Reply-To: <20250812004252.2256571-2-mcgrof@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/08/2025 17.42, Luis Chamberlain wrote: > The dedicated mmtests workflow generation was using kdevops_hosts > variable instead of ansible_cfg_inventory, causing the generated > hosts file to be placed in the wrong location. This resulted in > ansible not finding the correct inventory for mmtests runs. > > Use ansible_cfg_inventory which correctly points to the inventory > path configured in ansible.cfg, ensuring the generated hosts file > is placed where ansible expects it. > > Fixes: 0987c30034c995 ("gen_hosts: add initial support for dedicated mmtests workflow") The commit header description is wrong. It should be: Fixes: 0987c30034c9 ("Makefile: use inventory from ansible.cfg") > Generated-by: Claude AI > Signed-off-by: Luis Chamberlain > --- > playbooks/roles/gen_hosts/tasks/main.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/playbooks/roles/gen_hosts/tasks/main.yml b/playbooks/roles/gen_hosts/tasks/main.yml > index 15c1ddbb..4f29ce30 100644 > --- a/playbooks/roles/gen_hosts/tasks/main.yml > +++ b/playbooks/roles/gen_hosts/tasks/main.yml > @@ -342,7 +342,7 @@ > tags: [ 'hosts' ] > template: > src: "{{ kdevops_hosts_template }}" > - dest: "{{ topdir_path }}/{{ kdevops_hosts }}" > + dest: "{{ ansible_cfg_inventory }}" > force: yes > trim_blocks: True > lstrip_blocks: True This is incomplete. Can you also add support for localhost to the mmtests hosts template as in commit 1cf0800c9ffc ("gen_hosts: templates: include localhost in the all group")? And update mmtests hosts field from all to baseline:dev? Sorry I forgot about these changes. I can see I did only update the makefile when rebasing and I forgot about these 2 changes. With that, Reviewed-by: Daniel Gomez Thanks!