-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
-even after setup the environment variable test getting broken.
LTP net.nfs IPv6 test failures are due to internal network namespace design.
The test creates an isolated NFS server/client environment and does not use external NFS servers.
In our setup, NFS services are running on a separate host, causing mount attempts to fail.
Manual validation confirms NFSv3/v4 over IPv6 is working correctly.
we set as below,
export RHOST=192.xxx.xx.xx
export LHOST=192.xxx.xx.xx
export IPV4_LHOST="192.xxx.xx.xx"
export IPV4_RHOST="192.xxx.xx.xx"
export IPV6_LHOST="fd00:1:1:1::xx"
export IPV6_RHOST="fd00:1:1:1::xx"
export LHOST_IFACES="enp7s0"
export RHOST_IFACES="enp7s0"
./kirk --run-suite net.nfs --run-pattern nfs01_v40_ip6t -v
Suite: net.nfs
──────────────
──────────────────────────
nfs01_v40_ip6t
──────────────────────────
Executing: nfs01.sh -6 -v 4.0 -t tcp
nfs01 1 TINFO: Running: nfs01.sh -6 -v 4.0 -t tcp
nfs01 1 TINFO: initialize 'lhost' 'ltp_ns_veth2' interface
nfs01 1 TINFO: add local addr 10.0.0.2/24
nfs01 1 TINFO: add local addr fd00:1:1:1::2/64
nfs01 1 TINFO: initialize 'rhost' 'ltp_ns_veth1' interface
nfs01 1 TINFO: add remote addr 10.0.0.1/24
nfs01 1 TINFO: add remote addr fd00:1:1:1::1/64
nfs01 1 TINFO: Network config (local -- remote):
nfs01 1 TINFO: ltp_ns_veth2 -- ltp_ns_veth1
nfs01 1 TINFO: 10.0.0.2/24 -- 10.0.0.1/24
nfs01 1 TINFO: fd00:1:1:1::2/64 -- fd00:1:1:1::1/64
nfs01 1 TINFO: Using /tmp/LTP_nfs01.36BsjU5t8i as tmpdir (xfs filesystem)
tst_device.c:98: TINFO: Found free device 2 '/dev/loop2'
tst_supported_fs_types.c:157: TINFO: Skipping ext2 as requested by the test
tst_supported_fs_types.c:157: TINFO: Skipping ext3 as requested by the test
tst_supported_fs_types.c:98: TINFO: Kernel supports ext4
tst_supported_fs_types.c:63: TINFO: mkfs.ext4 does exist
tst_supported_fs_types.c:98: TINFO: Kernel supports xfs
tst_supported_fs_types.c:63: TINFO: mkfs.xfs does exist
tst_supported_fs_types.c:129: TINFO: Filesystem btrfs is not supported
tst_supported_fs_types.c:106: TINFO: Skipping bcachefs because of FUSE blacklist
tst_supported_fs_types.c:157: TINFO: Skipping vfat as requested by the test
tst_supported_fs_types.c:157: TINFO: Skipping exfat as requested by the test
tst_supported_fs_types.c:157: TINFO: Skipping ntfs as requested by the test
tst_supported_fs_types.c:157: TINFO: Skipping tmpfs as requested by the test
nfs01 1 TINFO: === Testing on ext4 ===
nfs01 1 TINFO: Formatting ext4 with opts='/dev/loop2'
nfs01 1 TINFO: Mounting device: mount -t ext4 /dev/loop2 /tmp/LTP_nfs01.36BsjU5t8i/mntpoint
nfs01 1 TINFO: ceiling LTP_TIMEOUT_MUL to 11
nfs01 1 TINFO: timeout per run is 0h 55m 0s
nfs01 1 TINFO: checking rpc.mountd/rpc.statd on rhost
nfs01 1 TINFO: mount.nfs: (linux nfs-utils 2.5.4)
nfs01 1 TINFO: setup NFSv4.0, socket type tcp6
nfs01 1 TINFO: Mounting /tmp/LTP_nfs01.36BsjU5t8i/4.0/0
nfs01 1 TINFO: Mounting NFS: mount -v -t nfs -o proto=tcp6,vers=4.0 [fd00:1:1:1::2]:/tmp/LTP_nfs01.36BsjU5t8i/mntpoint/4.0/tcp6 /tmp/LTP_nfs01.36BsjU5t8i/4.0/0
mount.nfs: mount(2): Connection timed out
mount.nfs: Connection timed out
mount.nfs: timeout set for Wed Mar 18 02:38:05 2026
mount.nfs: trying text-based options 'proto=tcp6,vers=4.0,addr=fd00:1:1:1::2,clientaddr=fd00:1:1:1::1'
nfs01 1 TBROK: mount command failed
nfs01 1 TINFO: Cleaning up testcase
nfs01 1 TINFO: SELinux enabled in enforcing mode, this may affect test results
nfs01 1 TINFO: it can be disabled with TST_DISABLE_SELINUX=1 (requires super/root)
nfs01 1 TINFO: install seinfo to find used SELinux profiles
nfs01 1 TINFO: loaded SELinux profiles: none
Summary:
passed 0
failed 0
broken 1
skipped 0
warnings 0
Duration: 3m 5s
Execution time: 3m 5s
────────────────────────
TEST SUMMARY
────────────────────────
Suite: net.nfs
Runtime: 3m 5s
Runs: 1
Results:
Passed: 0
Failed: 0
Broken: 1
Skipped: 0
Warnings: 0
Broken:
• nfs01_v40_ip6t
=====================
=====================
Suite: net.nfs
──────────────
nfs01_v30_ip4u: skip (2.998s)
nfs01_v42_ip4t: pass (12.636s)
nfs01_v30_ip6u: skip (2.957s)
nfs01_v30_ip6t: broken (2m 14s)
nfs01_v40_ip6t: broken (3m 5s)
nfs01_v41_ip6t: broken (3m 4s)
nfs01_v42_ip6t: broken (3m 4s)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working