From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CD482126BF7 for ; Fri, 18 Apr 2025 19:02:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745002971; cv=none; b=DSA6WD4DHv299qtLOQPcTS8Ln3+AVCqYfFqjH87xmcawpsCPPT2etJTCtMNtQHbKzvIRhT4qi0hE/Nr+jphXRydM5qTvtY0U/nm+lCZ/uFFfRKs/2VcOOpU5AzrzAQ3BKTpQUfJod2jGFbgZeazaHpSVoHxZjcAXldSFXkXqWIY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745002971; c=relaxed/simple; bh=Hw0Mvf85LDqYDWpxk+aOn9dAw3ldYQPcz68ih2lS5Hg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Xk23n52li24xMwh7Q2XvkAJSEETJN4Sz07rz84cIzBPjwyTtqHKBWuK1szAvHjLbz5mJCmjGdg9sRA4yjvzCydZ0oK19V5un6JwXORS/zUcEwgUJGeKZTftbZwV8DJk6efclMwf1LgtP8hx6xgg1dgzLLaC8oKsUJMGrTCWGOWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=oH/zCxAV; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="oH/zCxAV" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=4BFpwYo/DWo6p+J2zqsDlmKdxW5Q0mi8ryvvW92lOEw=; b=oH/zCxAVNrECrtYrXrecnKoqpO DQOyXLeJgVGCL2kWp+ICwaMSUf1dqD3pUNdYR3jv64voxjGKNGUC4WACmbt9yVPRRziWISLn3nAO+ 2RHHy6zRrBMVAaIKAXo+90z8ddAVXEVLUHsfwurnitDapX6k2Wvr4uOHbGivVM/ckSghzjiXasZol xPHn9b/1LCp9XAZwoMVVOcNXbXOchF1BBmsGZu1rCw8MmPGLOChfauKp1BAvhWFFobSDuTmpqQsdK NVY+/Yko9NE61pzFI+9KeU1zDgLRtK9iQmugnjHj7IAWlOtLrzEWYIIzmbX2r8jeeGxJa9ID/HQ75 xDNAIs5w==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1u5qzB-0000000HY0p-10wj; Fri, 18 Apr 2025 19:02:49 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: tytso@mit.edu, Luis Chamberlain Subject: [PATCH] fstests: collect ${seq}.*.fsx{good,bad,log} results too Date: Fri, 18 Apr 2025 12:02:48 -0700 Message-ID: <20250418190248.4182312-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain Ted suggests to collect these files too. Suggested-by: Theodore Ts'o Signed-off-by: Luis Chamberlain --- I'll let the automatic kdevops CI which will run this after it hits patchwork run this and see if it works. If it does, then we can apply it. Every single patch posted to kdevops list triggers a simple fstests test, and a hit to the kdevops-results-archive --> dashboard. playbooks/roles/fstests/tasks/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/playbooks/roles/fstests/tasks/main.yml b/playbooks/roles/fstests/tasks/main.yml index eab35fba026c..e134ee1043dd 100644 --- a/playbooks/roles/fstests/tasks/main.yml +++ b/playbooks/roles/fstests/tasks/main.yml @@ -1377,6 +1377,17 @@ patterns: "*.out.bad" register: failed_tests +- name: Look for all other test attribute files + tags: [ 'oscheck', 'fstests', 'copy_results', 'test_artifacts' ] + become: yes + become_flags: 'su - -c' + become_method: sudo + find: + paths: "{{ fstests_data_target }}" + recurse: yes + patterns: "*.fsx{good,bad,log}" + register: test_artifacts + - name: Look for TFB results files tags: [ 'copy_results', 'failed_tests', 'tfb' ] become: yes @@ -1472,6 +1483,21 @@ - not fstests_tfp_copy_enable_list|bool - failed_tests.matched > 0 +- name: Copy over all other test attribute files for test results + tags: [ 'oscheck', 'fstests', 'copy_results', 'copy_final', 'test_artifacts', 'tfb' ] + vars: + item_path_without_host: "{{ item.path | regex_replace('results') | regex_replace(ansible_host) }}" + fetch: + src: "{{ item.path }}" + dest: "{{ fstests_results_target }}/{{ item_path_without_host | regex_replace(fstests_data_target | regex_escape()) | regex_replace('^/', '') }}" + flat: yes + validate_checksum: False + with_items: "{{ test_artifacts.files }}" + loop_control: + label: "{{ item.path | regex_replace(fstests_data_target | regex_escape()) | regex_replace('^/', '') }}" + when: + - test_artifacts.matched > 0 + - name: Check if respective bad full file exists tags: [ 'oscheck', 'fstests', 'copy_results', 'failed_tests' ] become: yes -- 2.47.2