[Python-bugs-list] [ python-Bugs-512007 ] make test failure on sunos5

noreply@sourceforge.net noreply@sourceforge.net
Thu, 21 Mar 2002 07:58:41 -0800


Bugs item #512007, was opened at 2002-02-01 22:25
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=512007&group_id=5470

Category: Build
Group: Python 2.2
Status: Open
Resolution: None
Priority: 7
Submitted By: Barry Warsaw (bwarsaw)
Assigned to: Nobody/Anonymous (nobody)
Summary: make test failure on sunos5

Initial Comment:
I don't have time to dig into this right now, but this
shouldn't get lost.  I just tried to build and test
current 2.2+ cvs on a SunOS 5.8 box on the SourceForge
compile farm.  This may be shallow, but here are the
results:

bash-2.03$ uname -a
SunOS usf-cf-sparc-solaris-2 5.8 Generic_108528-11
sun4u sparc SUNW,Ultra-60

[...]

163 tests OK.
4 tests failed:
    test_pwd test_socket test_sundry test_urllib2
20 tests skipped:
    test___all__ test_al test_asynchat test_bsddb
test_cd test_cl
    test_curses test_gdbm test_gl test_imgfile
test_linuxaudiodev
    test_minidom test_openpty test_pyexpat test_sax
test_socket_ssl
    test_socketserver test_sunaudiodev test_winreg
test_winsound
Ask someone to teach regrtest.py about which tests are
expected to get skipped on sunos5.
*** Error code 1
make: Fatal error: Command failed for target `test'


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-03-21 10:58

Message:
Logged In: YES 
user_id=33168

Here is my skipped list for 2.2c1 (16):
    test_al test_bsddb test_cd test_cl test_curses test_dl
    test_gl test_imgfile test_linuxaudiodev test_nis
    test_ntpath test_openpty test_socket_ssl 
    test_socketserver test_winreg test_winsound

All are expected AFAIK.  I can teach regrtest to ignore these.

__all__ and asynchat pass for me.

I agree about sunos5, but I'm not sure what do to about it.

So shall we close this bug?



----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2002-03-21 10:56

Message:
Logged In: YES 
user_id=6656

On the sf compile farm, _socket fails to import.  This
causes all the various skips and failures Barry and I are
seeing.

AFAICT, _socket fails to import because the machines have
the openssl headers installed (so setup.py tries to build
ssl support in), but no ssl libraries (so you get "can't
find libssl.so.X.Y messages).  I don't think this is a
problem we should be trying to cope with, so I propose
*this* bug report be closed.

----------------------------------------------------------------------

Comment By: Barry Warsaw (bwarsaw)
Date: 2002-03-21 10:04

Message:
Logged In: YES 
user_id=12800

I think I was complaining about three things:

- 4 tests failed which I did not expect to fail.  If these
are fixed now (i.e. they don't fail for you), then great!

- Some of the 20 skipped tests probably should not have been
skipped, e.g. test___all__ and test_asynchat.  Why were
these skipped?

- The entire build process fails with an exit code 1 because
regrtest doesn't know which tests are expected to fail on
"sunos5".  That designation may be meaningless, but then I
claim Martin's original followup below is right on target:
the "skipped on platform x.y" approach is inherently broken.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-03-21 08:40

Message:
Logged In: YES 
user_id=21627

Perhaps Barry could clarify what he thinks the problem is:
that there are failed test cases, that there is no list of
expected-skips on sunos5, or that a specific test case
failed or was skipped (if so, which one)?

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2002-03-21 08:08

Message:
Logged In: YES 
user_id=33168

No, I had 16 skipped tests for 2.2.1.  I think it was about
20 skipped tests for CVS version.  I only meant to point out
that there were no failures.

I used to have _socket failures (I think it was socket
failures) too.  But I thought the problem only occured with
purify.  I have several outstanding patches to get python to
work.  One is documented in #472642.

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2002-03-21 07:27

Message:
Logged In: YES 
user_id=6656

I've seen this trying to build 2.2.1 on the compile farm
machines.

I was hoping to get away with claiming the compile-farm
machines are broken <wink>.

_socket doesn't get built, which is kind of serious.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-03-21 06:28

Message:
Logged In: YES 
user_id=21627

Are you saying you have no skipped tests? Not even winsound?

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2002-03-20 21:30

Message:
Logged In: YES 
user_id=33168

Is this still a problem?  2.2.1c1 and 2.3 (CVS) work here 
(170/175 tests OK, no failures):
SunOS rest 5.8 Generic_108528-11 sun4u sparc SUNW,Sun-Blade-100

ie, Solaris 8

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-02-02 06:42

Message:
Logged In: YES 
user_id=21627

The "skipped on platform xy" approach is inherently broken.
minidom and pyexpat are not necessarily skipped; they are
only skipped if no expat library was found during build.
Likewise, the gdbm tests are skipped if no gdbm is installed.

Furthermore, "on sunos5" says nearly nothing; Solaris 2.3
classifies as sunos5 just as well as Solaris8, yet Solaris 8
has many more functions built-in.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=512007&group_id=5470