Open Bug 370420 Opened 17 years ago Updated 2 years ago

nsprpub/pr/tests - some tests are failing

Categories

(NSPR :: NSPR, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: ray, Unassigned)

References

Details

Here is the output from the tests that are failing. The output is from doing:

$ echo testname
$ ./run-mozilla.sh testname
$ echo $?


anonfm
(hung...)

bigfile3
PR_Open failed
1

dlltest
PR_LoadLibrary failed (-5977, -2804, Unknown error: -2804)
Assertion failure: lib != NULL, at prlink.c:1501
./run-mozilla.sh: line 451:  9603 Abort trap              "$prog" ${1+"$@"}
134

getai
PR_GetAddrInfoByName failed: (-5973, 8)
1

ipv6
Translating the name kiddra1 ...PR_GetHostByName: PR_DIRECTORY_LOOKUP_ERROR(-5973), oserror = 1
1

libfilename
PR_LoadLibrary failed
1

nameshm1
Assertion failure: sem1, at nameshm1.c:442
./run-mozilla.sh: line 451: 10122 Abort trap              "$prog" ${1+"$@"}
134

parent
1

pipeping
ping process: sending "ping"
ping process: received ""
ping process: expected 5 bytes but got 0 bytes
1

pipeping2
ping process: sending "ping"
ping process: received ""
ping process: expected 5 bytes but got 0 bytes
1

pipepong
pong process: received "echo "
pong process: expected "ping" but got "echo "
(hung...)

pipepong2
PR_GetInheritedFD failed
1

poll_er.c
../../nsprpub/pr/tests/poll_er.c: line 1: /AppleInternal: is a directory
../../nsprpub/pr/tests/poll_er.c: line 1: tab-width:: command not found
../../nsprpub/pr/tests/poll_er.c: line 1: indent-tabs-mode:: command not found
../../nsprpub/pr/tests/poll_er.c: line 1: c-basic-offset:: command not found
../../nsprpub/pr/tests/poll_er.c: line 2: /AppleInternal: is a directory
../../nsprpub/pr/tests/poll_er.c: line 3: DumpColors: command not found
../../nsprpub/pr/tests/poll_er.c: line 4: DumpColors: command not found
../../nsprpub/pr/tests/poll_er.c: line 5: DumpColors: command not found
../../nsprpub/pr/tests/poll_er.c: line 6: syntax error near unexpected token `('
../../nsprpub/pr/tests/poll_er.c: line 6: ` * 1.1 (the "License"); you may not use this file except in compliance with'
2

prpollml
PR_NewTCPSocket failed
1

selct_er.c
../../nsprpub/pr/tests/selct_er.c: line 1: /AppleInternal: is a directory
../../nsprpub/pr/tests/selct_er.c: line 1: tab-width:: command not found
../../nsprpub/pr/tests/selct_er.c: line 1: indent-tabs-mode:: command not found
../../nsprpub/pr/tests/selct_er.c: line 1: c-basic-offset:: command not found
../../nsprpub/pr/tests/selct_er.c: line 2: /AppleInternal: is a directory
../../nsprpub/pr/tests/selct_er.c: line 3: DumpColors: command not found
../../nsprpub/pr/tests/selct_er.c: line 4: DumpColors: command not found
../../nsprpub/pr/tests/selct_er.c: line 5: DumpColors: command not found
../../nsprpub/pr/tests/selct_er.c: line 6: syntax error near unexpected token `('
../../nsprpub/pr/tests/selct_er.c: line 6: ` * 1.1 (the "License"); you may not use this file except in compliance with'
2

select2
(hung...)

sema
PR_OpenSemaphore failed (-5992, 0)
1

semaerr
Expected error is -5950 but got (-5992, 0)
1

semaerr1
PR_OpenSemaphore failed
1

semaping
PR_OpenSemaphore failed (-5992, 0)
1

semapong
PR_OpenSemaphore failed (-5992, 0)
1

ing process: sending "ping"
ping process: received ""
ping process: expected 5 bytes but got 0 bytes
1

sockpong
PR_GetInheritedFD failed
1


suspend


                               Suspend_Resume Test

Level_0_Thread[0x301370] created PR_LOCAL_THREAD thread 0x302470
Level_1_Thread[0x302470] created PR_LOCAL_THREAD thread 0x302550
Level_0_Thread[0x301370] created PR_LOCAL_THREAD thread 0x3026a0
Level_1_Thread[0x3026a0] created PR_LOCAL_THREAD thread 0x302780
Level_0_Thread[0x301370] created PR_LOCAL_THREAD thread 0x302890
Level_1_Thread[0x302890] created PR_LOCAL_THREAD thread 0x302970
Level_0_Thread[0x301370] created PR_LOCAL_THREAD thread 0x302a80
Level_1_Thread[0x302a80] created PR_LOCAL_THREAD thread 0x302b60
Level_0_Thread[0x301370] created PR_LOCAL_THREAD thread 0x302c70
Level_1_Thread[0x302c70] created PR_LOCAL_THREAD thread 0x302d50

print_thread[0x302470]: PR_GLOBAL_THREAD     - i = 0
./run-mozilla.sh: line 451: 11081 Bus error               "$prog" ${1+"$@"}
138

thrpool_client
(hung...)

tmoacc
(hung...)
% ./runtests.sh

NSPR Test Results - tests

BEGIN                   Sat Mar 24 23:29:29 PDT 2007
NSPR_TEST_LOGFILE       /dev/null

Test                    Result

accept                  Passed
acceptread                      Passed
acceptreademu                   Passed
affinity                        Passed
alarm                   Passed
anonfm                  Passed
atomic                  Passed
attach                  Passed
bigfile                 Passed
cleanup                 Passed
cltsrv                  Passed
concur                  Passed
cvar                    Passed
cvar2                   Passed
dlltest                 Passed
dtoa                    Passed
errcodes                        Passed
exit                    Passed
fdcach                  Passed
fileio                  Passed
foreign                 Passed
formattm                        Passed
fsync                   Passed
gethost                 Passed
getproto                        Passed
i2l                     Passed
initclk                 Passed
inrval                  Passed
instrumt                        Passed
intrio                  Passed
intrupt                 Passed
io_timeout                      Passed
ioconthr                        Passed
join                    Passed
joinkk                  Passed
joinku                  Passed
joinuk                  Passed
joinuu                  Passed
layer                   Passed
lazyinit                        Passed
libfilename                     Passed
lltest                  Passed
lock                    Passed
lockfile                        Passed
logger                  Passed
many_cv                 Passed
multiwait                       Passed
nameshm1./runtests.sh: line 277: 14002 Abort trap              DYLD_LIBRARY_PATH=../../dist/lib ./$prog >>${LOGFILE} 2>&1
                        FAILED
nblayer                 Passed
nonblock                        Passed
ntioto                  Passed
ntoh                    Passed
op_2long                        Passed
op_excl                 Passed
op_filnf                        Passed
op_filok                        Passed
op_nofil                        Passed
parent                  Passed
peek                    Passed
perf                    Passed
pipeping                        Passed
pipeping2                       Passed
pipeself                        Passed
poll_nm                 Passed
poll_to                 Passed
pollable                        Passed
prftest                 Passed
primblok                        Passed
provider                        Passed
prpollml                        FAILED
ranfile                 Passed
randseed                        Passed
rwlocktest                      Passed
sel_spd                 Passed
selct_er                        Passed
selct_nm                        Passed
selct_to                        Passed
selintr                 Passed
sema                    FAILED
semaerr                 FAILED
semaping                        FAILED
sendzlf                 Passed
server_test                     Passed
servr_kk                        Passed
servr_uk                        Passed
servr_ku                        Passed
servr_uu                        Passed
short_thread                    Passed
sigpipe                 Passed
socket                  Passed
sockopt                 Passed
sockping                        Passed
sprintf                 Passed
stack                   Passed
stdio                   Passed
str2addr                        Passed
strod                   Passed
switch                  Passed
system                  Passed
testbit                 Passed
testfile                        Passed
threads                 Passed
timemac                 Passed
timetest                        Passed
tpd                     Passed
udpsrv                  Passed
vercheck                        Passed
version                 Passed
writev                  Passed
xnotify                 Passed
zerolen                 Passed
END                     Sat Mar 24 23:39:10 PDT 2007
These test results are the same in 4.6.8 as they were before. Exactly the same tests still fail.

The semaping failure may also be tracked in bug 408799.

The nameshm1 failure may also be tracked in bug 307582.
Depends on: 469744
Summary: pubnspr/pr/tests - some tests are failing → nsprpub/pr/tests - some tests are failing

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: wtc → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.