Bug 4107 - PAM unit test failed: segmentation fault for tst-pam_pwhistory1
Summary: PAM unit test failed: segmentation fault for tst-pam_pwhistory1
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Low normal
Target Milestone: 1.5
Assignee: Kai Kang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-03-26 06:04 UTC by Yi Zhao
Modified: 2013-09-25 06:27 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2013-03-26 06:04:02 UTC
Tree/Branch: poky/master
Git rev: 9ffee9add2d0380f4025e7a678a166f25a7d659e

Steps:
##################
1.Add the following line to conf/local.conf:
DISTRO_FEATURES_append = " pam"
Then run bitbake core-image-sato-sdk to build a image

2. Following the section "PAM Unit Tests" in wiki page: https://wiki.yoctoproject.org/wiki/PAM_Integration to run pam unit test.
##################

The tst-pam_pwhistory1 failed:
#####################
# cd /usr/share/Linux-PAM/xtests
#  ./run-xtests.sh . tst-pam_pwhistory1
./tst-pam_pwhistory1.sh: line 4:  1221 Segmentation fault      ./tst-pam_pwhistory1
FAIL: tst-pam_pwhistory1
===================
1 of 1 tests failed
0 tests not run
===================
####################
Comment 1 Alexandru Palalau 2013-04-04 10:37:06 UTC
I was able to reproduce this behavior on master branch, commit ID:bdca49274173153b1b0a72887de6321b4756b684

Added the following in local.conf:
######################################################
DISTRO_FEATURES_append = " pam kernel-devlibpam"
IMAGE_INSTALL_append = " libpam libpam-xtests"
######################################################

core-image-sato-sdk qemux86-64 image.
Comment 3 Alexandru Palalau 2013-04-22 09:13:05 UTC
Could not reproduce it under dylan, commit ID: 789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4
Comment 4 Richard Purdie 2013-04-22 09:58:05 UTC
Fix was merged into master and dylan: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c1ac96dde194e326d98fb9a82ed002ce2e03c2ea
Comment 5 Alexandru Palalau 2013-09-25 06:27:53 UTC
Verified on master branch.
Commit ID:853bc53cd58a621918f0e5ce662dba263d1befb4