backwardcompatibility ssl tests fail on Sun Linux

RESOLVED INVALID

Status

NSS
Libraries
RESOLVED INVALID
16 years ago
16 years ago

People

(Reporter: Sonja Mirtitsch, Assigned: Ian McGreer)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
the first tests fail, it later hangs, I left the programs running, and hope Ian
can have a look at it.


ssl.sh: SSL tests ===============================
ssl.sh: SSL Cipher Coverage ===============================
selfserv -D -p 8443 -d ../server -n kulfi.red.iplanet.com \
         -w nss -c ABCDEFabcdefghijklm -i ../tests_pid.31137  &
selfserv started at Thu Aug 29 04:57:39 PDT 2002
tstclnt -p 8443 -h kulfi -q -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt

ssl.sh: running SSL2 RC4 128 WITH MD5 ----------------------------
tstclnt -p 8443 -h kulfi -c A -T \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt
tstclnt: write to SSL socket failed: SSL received a record with an incorrect
Message Authentication Code.
selfserv: HDX PR_Read returned error -5961:
TCP connection reset by peer.
ssl.sh: running SSL2 RC4 128 EXPORT40 WITH MD5 ----------------------------
tstclnt -p 8443 -h kulfi -c B  \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt
tstclnt: write to SSL socket failed: SSL received a record with an incorrect
Message Authentication Code.
selfserv: HDX PR_Read returned error -5961:
TCP connection reset by peer.
ssl.sh: running SSL2 RC2 128 CBC WITH MD5 ----------------------------
tstclnt -p 8443 -h kulfi -c C  \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt
tstclnt: write to SSL socket failed: SSL received a record with an incorrect
Message Authentication Code.
selfserv: HDX PR_Read returned error -5961:
TCP connection reset by peer.
ssl.sh: running SSL2 RC2 128 CBC EXPORT40 WITH MD5 ----------------------------
tstclnt -p 8443 -h kulfi -c D -T \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt
tstclnt: write to SSL socket failed: SSL received a record with an incorrect
Message Authentication Code.
selfserv: HDX PR_Read returned error -5961:
TCP connection reset by peer.
ssl.sh: running SSL2 DES 64 CBC WITH MD5 ----------------------------
tstclnt -p 8443 -h kulfi -c E  \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt
tstclnt: write to SSL socket failed: SSL received a record with an incorrect
Message Authentication Code.
selfserv: HDX PR_Read returned error -5961:
TCP connection reset by peer.
ssl.sh: running SSL2 DES 192 EDE3 CBC WITH MD5 ----------------------------
tstclnt -p 8443 -h kulfi -c F -T \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt
tstclnt: write to SSL socket failed: SSL received a record with an incorrect
Message Authentication Code.
selfserv: HDX PR_Read returned error -5961:
TCP connection reset by peer.
ssl.sh: running SSL3 RSA WITH RC4 128 MD5 ----------------------------
tstclnt -p 8443 -h kulfi -c c -T \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt
selfserv: HDX PR_Read returned error -12273:
SSL received a record with an incorrect Message Authentication Code.
tstclnt: write to SSL socket failed: SSL peer reports incorrect Message
Authentication Code.
ssl.sh: running SSL3 RSA WITH 3DES EDE CBC SHA ----------------------------
tstclnt -p 8443 -h kulfi -c d -T \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt
selfserv: HDX PR_Read returned error -12264:
SSL received a record with bad block padding.
tstclnt: write to SSL socket failed: SSL peer reports incorrect Message
Authentication Code.
ssl.sh: running SSL3 RSA WITH DES CBC SHA ----------------------------
tstclnt -p 8443 -h kulfi -c e -T \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt
selfserv: HDX PR_Read returned error -12264:
SSL received a record with bad block padding.
tstclnt: write to SSL socket failed: SSL peer reports incorrect Message
Authentication Code.
ssl.sh: running SSL3 RSA EXPORT WITH RC4 40 MD5 ----------------------------
tstclnt -p 8443 -h kulfi -c f -T \
        -f -d . <
/share/builds/mccrel3/nss/nss331/builds/20010928.2.331-RTM/booboo_Solaris8/mozilla/security/nss/tests/ssl/sslreq.txt


testclnt
Reading symbols from
/share/builds/mccrel3/nss/nsstip/builds/20020829.1/booboo_Solaris8/mozilla/dist/Linux2.4_x86_glibc_PTH_DBG.OBJ/lib/libsoftokn3.so...done.
Loaded symbols for
/share/builds/mccrel3/nss/nsstip/builds/20020829.1/booboo_Solaris8/mozilla/dist/Linux2.4_x86_glibc_PTH_DBG.OBJ/lib/libsoftokn3.so
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
0x4027c1f8 in __poll (fds=0xbfffb6a0, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:63
63      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
        in ../sysdeps/unix/sysv/linux/poll.c
(gdb) bt
#0  0x4027c1f8 in __poll (fds=0xbfffb6a0, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:63
#1  0x40154456 in _pr_poll_with_poll (pds=0xbfffccd0, npds=1, 
    timeout=4294967295)
    at ../../../../mozilla/nsprpub/pr/src/pthreads/ptio.c:3831
#2  0x4015471f in PR_Poll (pds=0xbfffccd0, npds=1, timeout=4294967295)
    at ../../../../mozilla/nsprpub/pr/src/pthreads/ptio.c:4207
#3  0x0804bdd4 in main (argc=11, argv=0xbfffcf14) at tstclnt.c:648
#4  0x401b9316 in __libc_start_main (main=0x804abfc <main>, argc=11, 
    ubp_av=0xbfffcf14, init=0x8049f64 <_init>, fini=0x8052250 <_fini>, 
    rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbfffcf0c)
    at ../sysdeps/generic/libc-start.c:129
(gdb) 
(gdb) quit


selfserv
selfserv:
Reading symbols from /lib/libpthread.so.0...done.
[New Thread 1024 (LWP 31309)]
[New Thread 2049 (LWP 31325)]
[New Thread 1026 (LWP 31326)]
[New Thread 2051 (LWP 31327)]
[New Thread 3076 (LWP 31328)]
[New Thread 4101 (LWP 31329)]
[New Thread 5126 (LWP 31330)]
[New Thread 6151 (LWP 31331)]
[New Thread 7176 (LWP 31332)]
[New Thread 8201 (LWP 31333)]

Loaded symbols for /lib/ld-linux.so.2
0x4027c1f8 in __poll (fds=0xbfffe1b8, nfds=1, timeout=5000) at
../sysdeps/unix/sysv/linux/poll.c:63
63      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
        in ../sysdeps/unix/sysv/linux/poll.c
(gdb) bt
#0  0x4027c1f8 in __poll (fds=0xbfffe1b8, nfds=1, timeout=5000) at
../sysdeps/unix/sysv/linux/poll.c:63
#1  0x4014fc5b in pt_poll_now (op=0xbfffe220) at
../../../../mozilla/nsprpub/pr/src/pthreads/ptio.c:597
#2  0x40150038 in pt_Continue (op=0xbfffe220) at
../../../../mozilla/nsprpub/pr/src/pthreads/ptio.c:720
#3  0x40151961 in pt_Accept (fd=0x807abd8, addr=0xbfffe2f0, timeout=4294967295)
    at ../../../../mozilla/nsprpub/pr/src/pthreads/ptio.c:1658
#4  0x4003f019 in ssl_Accept (fd=0x805eca8, sockaddr=0xbfffe2f0,
timeout=4294967295) at sslsock.c:1017
#5  0x40131b80 in PR_Accept (fd=0x805eca8, addr=0xbfffe2f0, timeout=4294967295)
at ../../../../mozilla/nsprpub/pr/src/io/priometh.c:194
#6  0x0804c35c in do_accepts (listen_sock=0x805eca8, model_sock=0x805eca8,
requestCert=0) at selfserv.c:964
#7  0x0804ca07 in server_main (listen_sock=0x805eca8, requestCert=0,
privKey=0xbfffe400, cert=0xbfffe410) at selfserv.c:1160
#8  0x0804d88f in main (argc=14, argv=0xbfffe4c4) at selfserv.c:1500
#9  0x401b9316 in __libc_start_main (main=0x804cd78 <main>, argc=14,
ubp_av=0xbfffe4c4, init=0x804a51c <_init>, fini=0x8053b80 <_fini>, 
    rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbfffe4bc) at
../sysdeps/generic/libc-start.c:129
(gdb)

Comment 1

16 years ago
1. Judging from the debugger message that it is reading symbols
from /share/builds/mccrel3/nss/nsstip/builds/20020829.1, I think
the version of NSS is 3.6 (the tip), not 3.4.2.

2. This is most likely a duplicate of bug 166622.  That bug
broke the backward compatibility tests on all platforms and was
introduced on 8/27 or 8/28. See my comments in
http://bugzilla.mozilla.org/show_bug.cgi?id=166622#c7.

3. It seems that the basis for your backward compatibility
testing is NSS 3.3.1.  Is that true?  We are still using NSS
3.2.2 as the basis for the backward compatibility testing.
Version: 3.4.2 → 3.6
(Reporter)

Comment 2

16 years ago
> 1. Judging from the debugger message that it is reading symbols
> from /share/builds/mccrel3/nss/nsstip/builds/20020829.1, I think
> the version of NSS is 3.6 (the tip), not 3.4.2.

You are correct. I misfiled it.

> 2. This is most likely a duplicate of bug 166622.  That bug
> broke the backward compatibility tests on all platforms and was
> introduced on 8/27 or 8/28. See my comments in
> http://bugzilla.mozilla.org/show_bug.cgi?id=166622#c7.

yes looks the same. Would be nice if you'd CC me on bugs like this.
bug 166622 is resolved fixed, so I could not see it in my query.

> 3. It seems that the basis for your backward compatibility
> testing is NSS 3.3.1.  Is that true?  We are still using NSS
> 3.2.2 as the basis for the backward compatibility testing.

NSS 3.2.2 was not released on Linux 2.4 - so Linux 2.4 backward comptibility
tests run against 3.3.1. Everything else runs against 3.2.2

Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.