[PATCH 01/13] defconfigs: add NFS testing configurations

Luis Chamberlain <[email protected]>
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
Add five defconfigs for NFS testing:

NFS filesystem testing configurations:
- nfs-fstests: Filesystem testing suite (fstests) on NFS mounts
  * Enables pNFS section for testing with pNFS-capable exports
  * Tests NFSv4.2, v4.1 with pNFS export capability
- nfs-gitr: Git regression testing on NFS mounts
  * Tests git operations on NFS with pNFS export capability
  * Enables NFSv4.2 and pNFS sections for comprehensive coverage
- nfs-ltp: Linux Test Project suite on NFS mounts
  * General test suite that runs on NFS (not pNFS-specific)

NFS protocol testing configurations:
- nfstests: NFStest protocol conformance suite
  * Tests NFS protocol interoperability
  * General NFS testing (not pNFS-specific)
- pynfs-pnfs-block: PyNFS pNFS block layout protocol testing
  * Specifically tests pNFS block layout protocol conformance
  * This is the only configuration that actually tests pNFS-specific features

All configurations:
- Build kernels from Linus' tree for latest development
- Use kdevops-provided NFS server for consistent test environment
- Enable systemd journal remote for enhanced debugging
- Support 9P filesystem for efficient host-guest kernel development

Note: Most tests run on NFS mounts that may have pNFS capability enabled
on the server side, but only pynfs-pnfs-block specifically tests pNFS
protocol features.

Generated-by: Claude AI
Signed-off-by: Luis Chamberlain <[email protected]>
---
 defconfigs/nfs-fstests      | 38 +++++++++++++++++++++++++++++++++++++
 defconfigs/nfs-gitr         | 38 +++++++++++++++++++++++++++++++++++++
 defconfigs/nfs-ltp          | 31 ++++++++++++++++++++++++++++++
 defconfigs/nfstests         | 30 +++++++++++++++++++++++++++++
 defconfigs/pynfs-pnfs-block | 34 +++++++++++++++++++++++++++++++++
 5 files changed, 171 insertions(+)
 create mode 100644 defconfigs/nfs-fstests
 create mode 100644 defconfigs/nfs-gitr
 create mode 100644 defconfigs/nfs-ltp
 create mode 100644 defconfigs/nfstests
 create mode 100644 defconfigs/pynfs-pnfs-block

diff --git a/defconfigs/nfs-fstests b/defconfigs/nfs-fstests
new file mode 100644
index 00000000..03dc2e64
--- /dev/null
+++ b/defconfigs/nfs-fstests
@@ -0,0 +1,38 @@
+# pNFS configuration for filesystem testing with fstests
+
+# Use libvirt/QEMU for virtualization
+CONFIG_GUESTFS=y
+CONFIG_LIBVIRT=y
+
+# Enable workflows
+CONFIG_WORKFLOWS=y
+CONFIG_WORKFLOW_LINUX_CUSTOM=y
+
+# Linux kernel building with 9P for development
+CONFIG_BOOTLINUX=y
+CONFIG_BOOTLINUX_9P=y
+CONFIG_BOOTLINUX_LINUS=y
+CONFIG_BOOTLINUX_TREE_LINUS=y
+
+# Enable testing workflows
+CONFIG_WORKFLOWS_TESTS=y
+CONFIG_WORKFLOWS_LINUX_TESTS=y
+CONFIG_WORKFLOWS_DEDICATED_WORKFLOW=y
+
+# Enable fstests workflow with pNFS testing
+CONFIG_KDEVOPS_WORKFLOW_DEDICATE_FSTESTS=y
+CONFIG_KDEVOPS_WORKFLOW_ENABLE_FSTESTS=y
+CONFIG_FSTESTS_NFS=y
+CONFIG_FSTESTS_FSTYP="nfs"
+
+# Enable manual coverage for NFS to select pNFS
+CONFIG_FSTESTS_NFS_MANUAL_COVERAGE=y
+CONFIG_FSTESTS_NFS_SECTION_PNFS=y
+CONFIG_FSTESTS_NFS_SECTION_V42=y
+CONFIG_FSTESTS_NFS_SECTION_V41=y
+
+# Use kdevops NFS server for fstests
+CONFIG_FSTESTS_USE_KDEVOPS_NFSD=y
+
+# Enable systemd journal remote for debugging
+CONFIG_DEVCONFIG_ENABLE_SYSTEMD_JOURNAL_REMOTE=y
diff --git a/defconfigs/nfs-gitr b/defconfigs/nfs-gitr
new file mode 100644
index 00000000..2c097d01
--- /dev/null
+++ b/defconfigs/nfs-gitr
@@ -0,0 +1,38 @@
+# NFS configuration for git regression testing
+# Tests git operations on NFS mounts with pNFS export capability
+
+# Use libvirt/QEMU for virtualization
+CONFIG_GUESTFS=y
+CONFIG_LIBVIRT=y
+
+# Enable workflows
+CONFIG_WORKFLOWS=y
+CONFIG_WORKFLOW_LINUX_CUSTOM=y
+
+# Linux kernel building with 9P for development
+CONFIG_BOOTLINUX=y
+CONFIG_BOOTLINUX_9P=y
+CONFIG_BOOTLINUX_LINUS=y
+CONFIG_BOOTLINUX_TREE_LINUS=y
+
+# Enable testing workflows
+CONFIG_WORKFLOWS_TESTS=y
+CONFIG_WORKFLOWS_LINUX_TESTS=y
+CONFIG_WORKFLOWS_DEDICATED_WORKFLOW=y
+
+# Enable gitr workflow with pNFS testing
+CONFIG_KDEVOPS_WORKFLOW_DEDICATE_GITR=y
+CONFIG_KDEVOPS_WORKFLOW_ENABLE_GITR=y
+
+# Enable pNFS section for gitr workflow
+CONFIG_GITR_NFS_SECTION_PNFS=y
+CONFIG_GITR_NFS_SECTION_V42=y
+
+# Use kdevops NFS server
+CONFIG_GITR_USE_KDEVOPS_NFSD=y
+
+# Enable kdevops NFS server setup
+CONFIG_KDEVOPS_SETUP_NFSD=y
+
+# Enable systemd journal remote for debugging
+CONFIG_DEVCONFIG_ENABLE_SYSTEMD_JOURNAL_REMOTE=y
diff --git a/defconfigs/nfs-ltp b/defconfigs/nfs-ltp
new file mode 100644
index 00000000..4562874e
--- /dev/null
+++ b/defconfigs/nfs-ltp
@@ -0,0 +1,31 @@
+# pNFS configuration for Linux Test Project (LTP)
+# Note: LTP doesn't specifically test pNFS, but can run on pNFS mounts
+
+# Use libvirt/QEMU for virtualization
+CONFIG_GUESTFS=y
+CONFIG_LIBVIRT=y
+
+# Enable workflows
+CONFIG_WORKFLOWS=y
+CONFIG_WORKFLOW_LINUX_CUSTOM=y
+
+# Linux kernel building with 9P for development
+CONFIG_BOOTLINUX=y
+CONFIG_BOOTLINUX_9P=y
+CONFIG_BOOTLINUX_LINUS=y
+CONFIG_BOOTLINUX_TREE_LINUS=y
+
+# Enable testing workflows
+CONFIG_WORKFLOWS_TESTS=y
+CONFIG_WORKFLOWS_LINUX_TESTS=y
+CONFIG_WORKFLOWS_DEDICATED_WORKFLOW=y
+
+# Enable LTP workflow
+CONFIG_KDEVOPS_WORKFLOW_DEDICATE_LTP=y
+CONFIG_KDEVOPS_WORKFLOW_ENABLE_LTP=y
+
+# Use kdevops-provided NFS server for pNFS mount
+CONFIG_KDEVOPS_SETUP_NFSD=y
+
+# Enable systemd journal remote for debugging
+CONFIG_DEVCONFIG_ENABLE_SYSTEMD_JOURNAL_REMOTE=y
\ No newline at end of file
diff --git a/defconfigs/nfstests b/defconfigs/nfstests
new file mode 100644
index 00000000..543c39f3
--- /dev/null
+++ b/defconfigs/nfstests
@@ -0,0 +1,30 @@
+# NFS configuration for NFStest testing suite
+
+# Use libvirt/QEMU for virtualization
+CONFIG_GUESTFS=y
+CONFIG_LIBVIRT=y
+
+# Enable workflows
+CONFIG_WORKFLOWS=y
+CONFIG_WORKFLOW_LINUX_CUSTOM=y
+
+# Linux kernel building with 9P for development
+CONFIG_BOOTLINUX=y
+CONFIG_BOOTLINUX_9P=y
+CONFIG_BOOTLINUX_LINUS=y
+CONFIG_BOOTLINUX_TREE_LINUS=y
+
+# Enable testing workflows
+CONFIG_WORKFLOWS_TESTS=y
+CONFIG_WORKFLOWS_LINUX_TESTS=y
+CONFIG_WORKFLOWS_DEDICATED_WORKFLOW=y
+
+# Enable nfstest workflow
+CONFIG_KDEVOPS_WORKFLOW_DEDICATE_NFSTEST=y
+CONFIG_KDEVOPS_WORKFLOW_ENABLE_NFSTEST=y
+
+# Use kdevops-provided NFS server
+CONFIG_KDEVOPS_SETUP_NFSD=y
+
+# Enable systemd journal remote for debugging
+CONFIG_DEVCONFIG_ENABLE_SYSTEMD_JOURNAL_REMOTE=y
diff --git a/defconfigs/pynfs-pnfs-block b/defconfigs/pynfs-pnfs-block
new file mode 100644
index 00000000..595a850e
--- /dev/null
+++ b/defconfigs/pynfs-pnfs-block
@@ -0,0 +1,34 @@
+# PyNFS configuration for pNFS block layout protocol testing
+# Specifically tests pNFS block layout protocol conformance
+
+# Use libvirt/QEMU for virtualization
+CONFIG_GUESTFS=y
+CONFIG_LIBVIRT=y
+
+# Enable workflows
+CONFIG_WORKFLOWS=y
+CONFIG_WORKFLOW_LINUX_CUSTOM=y
+
+# Linux kernel building with 9P for development
+CONFIG_BOOTLINUX=y
+CONFIG_BOOTLINUX_9P=y
+CONFIG_BOOTLINUX_LINUS=y
+CONFIG_BOOTLINUX_TREE_LINUS=y
+
+# Enable testing workflows
+CONFIG_WORKFLOWS_TESTS=y
+CONFIG_WORKFLOWS_LINUX_TESTS=y
+CONFIG_WORKFLOWS_DEDICATED_WORKFLOW=y
+
+# Enable pynfs workflow for pNFS protocol testing
+CONFIG_KDEVOPS_WORKFLOW_DEDICATE_PYNFS=y
+CONFIG_KDEVOPS_WORKFLOW_ENABLE_PYNFS=y
+
+# Enable pNFS block layout tests
+CONFIG_PYNFS_PNFS_BLOCK=y
+
+# Use kdevops-provided NFS server
+CONFIG_KDEVOPS_SETUP_NFSD=y
+
+# Enable systemd journal remote for debugging
+CONFIG_DEVCONFIG_ENABLE_SYSTEMD_JOURNAL_REMOTE=y
-- 
2.51.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.