Bug 1130977
| Summary: | [nfstest] Segmentation fault when do test nfstest_posix | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | JianHong Yin <jiyin> |
| Component: | nfstest | Assignee: | Steve Dickson <steved> |
| Status: | CLOSED DUPLICATE | QA Contact: | JianHong Yin <jiyin> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.1 | CC: | andros, eguan, jiyin, mora |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-11 16:23:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Is it nfstest_posix or nfstest_dio? I know that nfstest_dio does failed with segmentation fault on the vectored_io test but I haven't seen the error on nfstest_posix. (In reply to Jorge Mora from comment #2) > Is it nfstest_posix or nfstest_dio? > > I know that nfstest_dio does failed with segmentation fault on the > vectored_io test > but I haven't seen the error on nfstest_posix. Yes, it is nfstest_posix. you can search "Segmentation" in test log: http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2014/08/7241/724196/1513430/23693759/TESTOUT.log I will set "core file size" to ulimited, and try to reproduce it again,, Reproduced again: at (ibm-p8-kvm-03-guest-09.rhts.eng.bos.redhat.com) J:725305 [20140819_10:35] nfs M.1.1 \1/regression/nfstest.0..--reserve-if-fail=2d Log: http://lab-02.rhts.eng.bos.redhat.com/beaker/logs/tasks/23715+/23715066/TESTOUT.log Got a corefile: ftp://10.66.12.204/core-nfstest_posix-1335-1408443145 I don't have access to Redhat internal http/ftp servers. I just noticed that you are using an old version of NFStest (1.0.2). Could you try it with the latest version: http://www.linux-nfs.org/~mora/nfstest/releases/NFStest-1.0.8.tar.gz (In reply to Jorge Mora from comment #6) > I don't have access to Redhat internal http/ftp servers. oh, sorry for my mistake. > I just noticed that you are using an old version of NFStest (1.0.2). > Could you try it with the latest version: Ok, I will download the latest version and try again. > > http://www.linux-nfs.org/~mora/nfstest/releases/NFStest-1.0.8.tar.gz BTW: a suggestion: do s/ssh -t/ssh -t -t/ in nfstest/host.py, to avoid error: "Pseudo-terminal will not be allocated because stdin is not a terminal" now I use this command to avoid this error. sed -i "s/ssh -t/& -t/" /usr/lib/python2.7/site-packages/nfstest/host.py (In reply to Jorge Mora from comment #6) > Could you try it with the latest version: > > http://www.linux-nfs.org/~mora/nfstest/releases/NFStest-1.0.8.tar.gz I use git clone from git://git.linux-nfs.org/projects/mora/nfstest.git, and test again in RHEL-7, the "Segmentation fault" still happen: *** Verify POSIX API opendir() on NFSv4 Segmentation fault (core dumped) :: [ FAIL ] :: Running 'su test -c "nfstest_posix --server $NFS_SERVER --export=$expDir --minorversion=0 --mtpoint=$nfsmp --interface=$INTERFACE"' (Expected 0, got 139) The segmentation fault only happens in KVM guests in my environment. All tests run fine when running on VMware guests. I will try to have access to a RHEL7 hardware client and run all tests to see if this problem exists. I have found no problems when running on a hardware client RHEL7.0 (3.10.0-123.el7.x86_64). Also, no problems running on KVM guest for latest RHEL7.1 (3.10.0-199.el7.x86_64) *** This bug has been marked as a duplicate of bug 1284678 *** |
Description of problem: Segmentation fault when do test nfstest_posix: *** Verify POSIX API opendir() on NFSv4 Segmentation fault (core dumped) Version-Release number of selected component (if applicable): ------------------------------------------------ Time & CURDIR : [2014-08-18 05:56:24 @/mnt/tests/kernel/filesystems/nfs/regression/nfstest] Case Name : /kernel/filesystems/nfs/regression/nfstest $HOSTNAME : ibm-z10-31.rhts.eng.bos.redhat.com Distro Info : RedHatEnterpriseServer 7.0 : RHEL-7.0-20140507.0 NVR & host : Linux ibm-z10-31.rhts.eng.bos.redhat.com 3.10.0-123.el7 cmdline : rd.dasd=0.0.21aa rd.lvm.lv=rhel_ibm-z10-31/root rd.dasd=0.0.20aa root=/dev/mapper/rhel_ibm--z10--31-root crashkernel=auto rd.dasd=0.0.23aa rd.lvm.lv=rhel_ibm-z10-31/boot rd.dasd=0.0.22aa vconsole.keymap=us vconsole.font=latarcyrheb-sun16 rd.lvm.lv=rhel_ibm-z10-31/swap LANG=en_US.UTF-8 BOOT_IMAGE=0 Package Info : libnfsidmap-0.25-9.el7 nfstest-1.0.2-2.el7.noarch nfs-utils-1.3.0-0.el7.s390x ------------------------------------------------ How reproducible: always Steps to Reproduce: 1. nfstest_dio --server $NFS_SERVER --export=$expDir --minorversion=0 --mtpoint=$nfsmp --interface=$INTERFACE Actual results: *** Verify POSIX API mkdir() on NFSv4 PASS: mkdir - directory should be created PASS: mkdir - mode permissions of created directory should be correct PASS: mkdir - parent directory st_ctime should be updated PASS: mkdir - parent directory st_mtime should be updated PASS: mkdir - create directory should return an error if name already exists as a directory PASS: mkdir - create directory should return an error if name already exists as a file PASS: mkdir - create directory should return an error if name already exists as a symbolic link TIME: 1.019726s *** Verify POSIX API opendir() on NFSv4 Segmentation fault (core dumped) :: [ FAIL ] :: Running 'su test -c "nfstest_posix --server $NFS_SERVER --export=$expDir --minorversion=0 --mtpoint=$nfsmp --interface=$INTERFACE"' (Expected 0, got 139) Expected results: no Segmentation fault happen Additional info: https://beaker.engineering.redhat.com/jobs/724196 http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2014/08/7241/724196/1513430/23693759/TESTOUT.log