[lsb-discuss] /tset/POSIX.os/procprim/exec/T.execle 30 Failed on ia64

Zhang Kexin kzhang at redhat.com
Tue Oct 16 03:05:43 PDT 2007


Hi,
I run lsb3.1.1-4 on ia64 machine, the OS is RHEL5.
got following failures:

	Test Results:
	
	************************************************************************
	/tset/POSIX.os/procprim/exec/T.execv 30	Failed
	
		Test Description:
	The new process image of the calling process inherits the following
	attributes from the calling process:
	a. process ID;
	b. parent process ID;
	c. process group ID;
	d. session membership;
	e. real user ID;
	f. real group ID;
	g. supplementary group IDs;
	h. time left until an alarm clock signal;
	i. current working directory;
	j. root directory;
	k. file mode creation mask;
	l. process signal mask;
	m. pending signals;
	n. tms_utime, tms_stime, tms_cutime, and tms_cstime.
	Posix Ref: Component EXECV Assertion 3.1.2.2-53(A)
	
		Test Strategy:
	WHEN testing the XNFS specification:
	  CHANGE to a directory under XNFS_MOUNT_ROOT
	CREATE pipe to report results from child
	CREATE process pair
	CHILD process:
	  OBTAIN attributes before calling execv()
	  WRITE results obtained to pipe
	  CALL execv()
	  VERIFY that execv() does not return
	  IN new process:
	    OBTAIN attributes after calling execv()
	    WRITE results obtained to pipe
	PARENT process:
	  READ results before execv() from pipe
	  READ results after execv() from pipe
	IF _POSIX_JOB_CONTROL is defined:
	  CREATE process pair
	  CHILD process:
	    INITIALISE file to exec_tstop (set-user ID root)
	    CALL execv(file, ...)
	    VERIFY that execv() does not return
	    IN new process:
	      SET real and effective user ID to vguid2
	      SET signal action for SIGCONT to signal catching function
	      SEND the SIGSTOP signal to itself
	      INITIALISE sig_recvd to number of caught signal
	      EXIT from the process using exit(sig_recvd)
	  PARENT process:
	    WAIT for child process for WAITTIME
	    VERIFY that child process is stopped
	    SEND signal SIGKILL to child process
	    VERIFY that kill() returns -1 and sets errno to EPERM
	    SEND signal SIGCONT to child process
	    VERIFY that kill() succeeds
	    VERIFY that child process exited with exit code SIGCONT
	REPORT differences in attributes before and after execv()
	
		Test Information:
	kill(pid, SIGCONT) did not cause delivery of SIGCONT signal
	expected action: process exitted - exit code 18
	observed action: process exitted - exit code 0

	************************************************************************

I googled the failure and found 
> http://www.linux-foundation.org/impl/lsbsi-results30.html
it says this may related to chroot, but I did not set chroot.

can anyone explain whether this is a real failure?

thanks a lot.

regards,
Kexin




More information about the lsb-discuss mailing list