Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Oct 2006 13:39:34 -0400
From:      Gary Corcoran <gcorcoran@rcn.com>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        emulation@freebsd.org, rdivacky@freebsd.org
Subject:   Re: Results of doing a LTP test run with the p4 patches
Message-ID:  <452937D6.2040500@rcn.com>
In-Reply-To: <20061008184042.2cfe20d1@Magellan.Leidinger.net>
References:  <20061008184042.2cfe20d1@Magellan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> Hi,
> 
> a test run for 2.4.2 reveals:
> 
> -clone05                        FAIL       1
> +clone05                        PASS       0
> 
> -fcntl17                        PASS       0
> +fcntl17                        FAIL       1
> 
> -setpriority04                  FAIL       2
> +setpriority04                  PASS       0
> 
> -wait402                        FAIL       2
> +wait402                        PASS       0
> 
> -waitpid04                      FAIL       1
> +waitpid04                      PASS       0
> 
> -Total Failures: 164
> +Total Failures: 162
> 
> 
> The fcntl17 test output is:
> ---snip---
> fcntl17     0  INFO  :  Enter preparation phase
> fcntl17     0  INFO  :  child 3 starting
> fcntl17     0  INFO  :  child 3 pid 45870 locked
> fcntl17     0  INFO  :  child 3 resuming
> fcntl17     0  INFO  :  child 3 lockw err 35
> fcntl17     0  INFO  :  child 3 exiting
> fcntl17     0  INFO  :  Enter preparation phase
> fcntl17     0  INFO  :  child 1 starting
> fcntl17     0  INFO  :  child 1 pid 45868 locked
> fcntl17     0  INFO  :  child 1 resuming
> fcntl17     0  INFO  :  child 1 unlocked
> fcntl17     0  INFO  :  child 1 exiting
> fcntl17     0  INFO  :  Enter preparation phase
> fcntl17     0  INFO  :  child 2 starting
> fcntl17     0  INFO  :  child 2 pid 45869 locked
> fcntl17     0  INFO  :  child 2 resuming
> fcntl17     0  INFO  :  child 2 lockw locked
> fcntl17     0  INFO  :  child 2 exiting
> fcntl17     0  INFO  :  Enter preparation phase
> fcntl17     0  INFO  :  Exit preparation phase
> fcntl17     0  INFO  :  Enter block 1
> fcntl17     1  FAIL  :  locking pid is wrong, should be -19668 is 45868
> fcntl17     0  INFO  :  do_test failed child 1
> fcntl17     2  FAIL  :  locking pid is wrong, should be -19667 is 45869
> fcntl17     0  INFO  :  do_test failed child 2
> fcntl17     3  FAIL  :  locking pid is wrong, should be -19666 is 45870
> fcntl17     0  INFO  :  do_test failed child 3
> fcntl17     4  FAIL  :  locking pid is wrong, should be -19667 is 45869
> fcntl17     5  FAIL  :  locking pid is wrong, should be -19666 is 45870
> fcntl17     0  INFO  :  Block 1 FAILED
> fcntl17     0  INFO  :  Exit block 1
> ---snip---
> 
> I'm a little bit puzzled. The PIDs correspond to the PIDs of the
> childs, but the expectation looks completely wrong.

Those look like somebody is using a signed 16-bit int when it should be
an unsigned int.  -19668 (as 16 bits unsigned) is the same as 45868 ...

Gary



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452937D6.2040500>