From patchwork Tue Dec 20 00:01:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 13077303 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28865C4332F for ; Tue, 20 Dec 2022 00:01:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232240AbiLTABT (ORCPT ); Mon, 19 Dec 2022 19:01:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232798AbiLTABJ (ORCPT ); Mon, 19 Dec 2022 19:01:09 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60391A46F; Mon, 19 Dec 2022 16:01:05 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F0C356117E; Tue, 20 Dec 2022 00:01:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F891C433EF; Tue, 20 Dec 2022 00:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671494464; bh=4zn2xuFc1yOSaUF7eMyuTKLng4SSlpqNcVU4ptwF3rE=; h=Subject:From:To:Cc:Date:From; b=iZ3i5yGJ7HxuCDpj6BHij9NO+F/l6u/Efs8875tkRbvRM2IIHKdvHN5I1DOmWrstc +Wfpj+Mfrc78aHny193NOBLWwbrIUS9O9B/vaji/UKP8gDTw6G25nCCpxKbWZmWsPx /BoadlJ/pgYKg3w4zYiGl3SMmYi9agQQbAMJLNhRdSmDbhiJ4IhofuR+R8C6mAm9bv HBMjfSdH4YsZ5G+8CM5PiLjeB8k9MfsnLfCYmzQ3IT/kVNEmfNqNSjA/d/F8Ahvn1I zDN0J4zlOoIF7Lsgkmfe2TiRCgw5VMZnP8UPi49OuRsUaL3zxn+yG/ZQplAgTj7NiB sHZzhqSCNvPMg== Subject: [PATCHSET RFC 0/8] fstests: improve junit xml reporting From: "Darrick J. Wong" To: djwong@kernel.org, zlang@redhat.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org, guan@eryu.me, leah.rumancik@gmail.com, quwenruo.btrfs@gmx.com Date: Mon, 19 Dec 2022 16:01:03 -0800 Message-ID: <167149446381.332657.9402608531757557463.stgit@magnolia> User-Agent: StGit/0.19 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org Hi all, This series improves the fstests reporting code in several ways. First, change the ./check code to generate the report after every test, so that a cluster-based fstest scheduler can reschedule tests after a VM crash. Personally, I was using it to get live status on my tests dashboard. The bulk of the patches in here improve the junit xml reporting so that we (a) actually declare which xml schema we're trying to emit and (b) capture a lot more information about what was being tested. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D fstests git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=xunit-reporting-improvements --- check | 10 +++ common/ext4 | 5 + common/report | 77 +++++++++++++++++-- common/xfs | 10 +++ doc/xunit.xsd | 226 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 318 insertions(+), 10 deletions(-) create mode 100644 doc/xunit.xsd