Discussion:
[farm-report] Daily Snake Farm report
Anders Qvist
2002-10-08 05:59:54 UTC
Permalink
vanity [Linux 2.4.18 i686] <
370 - last successful build [0 warnings]
371 - failed http://www.lysator.liu.se/xenofarm/python/files/371_1
final build failed
4 skips unexpected on linux2:
test_dbm test_gdbm test_mpz test_bsddb
--
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
Anders Qvist
2002-10-09 05:36:47 UTC
Permalink
Post by Anders Qvist
vanity [Linux 2.4.18 i686] <
370 - last successful build [0 warnings]
371 - failed http://www.lysator.liu.se/xenofarm/python/files/371_1
final build failed
test_dbm test_gdbm test_mpz test_bsddb
Some days you wonder who you were. What I was trying to say is that
the tests on (at least) all Linux versions broke yesterday. The only
thing I can see to generate a non-zero exitcode is:

test test___all__ crashed -- exceptions.AttributeError: 'module' object has no attribute 'getwindowsversion'

This didn't occur in the builds before 371.
--
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
Anders Qvist
2002-10-09 06:08:14 UTC
Permalink
Post by Anders Qvist
Post by Anders Qvist
vanity [Linux 2.4.18 i686] <
370 - last successful build [0 warnings]
371 - failed http://www.lysator.liu.se/xenofarm/python/files/371_1
final build failed
test_dbm test_gdbm test_mpz test_bsddb
Some days you wonder who you were. What I was trying to say is that
the tests on (at least) all Linux versions broke yesterday. The only
test test___all__ crashed -- exceptions.AttributeError: 'module' object has no attribute 'getwindowsversion'
This didn't occur in the builds before 371.
[ 8:06 ] - ./python ../../python/dist/src/Lib/test/test___all__.py
Traceback (most recent call last):
File "../../python/dist/src/Lib/test/test___all__.py", line 112, in ?
check_all("ntpath")
File "../../python/dist/src/Lib/test/test___all__.py", line 15, in check_all
exec "import %s" % modname in names
File "<string>", line 1, in ?
File "/home/quest/tmp/compile-python/python/dist/src/Lib/ntpath.py", line 482, in ?
supports_unicode_filenames = sys.getwindowsversion()[3] >= 2
AttributeError: 'module' object has no attribute 'getwindowsversion'
--
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
Tim Peters
2002-10-09 07:59:29 UTC
Permalink
[Anders Qvist]
Post by Anders Qvist
...
check_all("ntpath")
File "../../python/dist/src/Lib/test/test___all__.py", line 15,
in check_all
exec "import %s" % modname in names
File "<string>", line 1, in ?
File "/home/quest/tmp/compile-
python/python/dist/src/Lib/ntpath.py", line 482, in ?
supports_unicode_filenames = sys.getwindowsversion()[3] >= 2
AttributeError: 'module' object has no attribute 'getwindowsversion'
Grrr. I expect I just fixed this, but can't test it now on Linux for
you. The person who checked this change in probably didn't realize
that ntpath was imported on any system other than Windows. I'm
surprised the bug went uncaught for so long! (Ya, it was less than a
day, but still ...)

Thank you for tracking this down, Anders!
Anders Qvist
2002-10-09 10:55:00 UTC
Permalink
Post by Tim Peters
[Anders Qvist]
Post by Anders Qvist
...
check_all("ntpath")
File "../../python/dist/src/Lib/test/test___all__.py", line 15,
in check_all
exec "import %s" % modname in names
File "<string>", line 1, in ?
File "/home/quest/tmp/compile-
python/python/dist/src/Lib/ntpath.py", line 482, in ?
supports_unicode_filenames = sys.getwindowsversion()[3] >= 2
AttributeError: 'module' object has no attribute 'getwindowsversion'
Grrr. I expect I just fixed this, but can't test it now on Linux for
you. The person who checked this change in probably didn't realize
that ntpath was imported on any system other than Windows. I'm
surprised the bug went uncaught for so long! (Ya, it was less than a
day, but still ...)
Thank you for tracking this down, Anders!
I can try a patch on most of the archs in the farm on reasonably short
notice if you have it. Of course, some take a full day to compile and
test python ...
--
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
Tim Peters
2002-10-09 15:40:19 UTC
Permalink
[Anders Qvist]
Post by Anders Qvist
I can try a patch on most of the archs in the farm on reasonably short
notice if you have it.
This particular problem should go away by itself the next time you cvs up.
Post by Anders Qvist
Of course, some take a full day to compile and test python ...
No dinner for them, then <wink>!
Neal Norwitz
2002-10-09 13:11:42 UTC
Permalink
Post by Tim Peters
[Anders Qvist]
Post by Anders Qvist
...
check_all("ntpath")
File "../../python/dist/src/Lib/test/test___all__.py", line 15,
in check_all
exec "import %s" % modname in names
File "<string>", line 1, in ?
File "/home/quest/tmp/compile-
python/python/dist/src/Lib/ntpath.py", line 482, in ?
supports_unicode_filenames = sys.getwindowsversion()[3] >= 2
AttributeError: 'module' object has no attribute 'getwindowsversion'
Grrr. I expect I just fixed this, but can't test it now on Linux for
you. The person who checked this change in probably didn't realize
that ntpath was imported on any system other than Windows. I'm
surprised the bug went uncaught for so long! (Ya, it was less than a
day, but still ...)
:-) I've been running 2.2.2 only.

I just tried to run 2.3 and had some problems. __all__ is ok, though.

The first problem is in regrtest. This exception causes regrtest to crash.

test_pyexpat
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 877, in ?
main()
File "./Lib/test/regrtest.py", line 229, in main
ok = runtest(test, generate, verbose, quiet, testdir)
File "./Lib/test/regrtest.py", line 392, in runtest
output = cfp.getvalue()
File "/home/neal/build/python/dist/src/Lib/StringIO.py", line 195, in getvalue
self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 36: ordinal not in range(128)

I put a try/except around line 392 in regrtest and then had 2 failures:

test_pyexpat had no output (the unicode problem I guess) and test_rotor:

test test_rotor produced unexpected output:
**********************************************************************
*** mismatch between lines 2-3 of expected output and lines 2-3 of actual output:
- '\xb5q\x90\xa3\xe8IT\xd1\x07\xda\x1d\xdc\xdf'
+ 'qqqqq\x90
...

Some unicode problem complaining about these 2 chars: \xcb and \xe2
which are printed as e umlaut and e circumflex.

Maybe this is just me again though?

Neal
Guido van Rossum
2002-10-09 18:17:51 UTC
Permalink
Post by Neal Norwitz
The first problem is in regrtest. This exception causes regrtest to crash.
test_pyexpat
File "./Lib/test/regrtest.py", line 877, in ?
main()
File "./Lib/test/regrtest.py", line 229, in main
ok = runtest(test, generate, verbose, quiet, testdir)
File "./Lib/test/regrtest.py", line 392, in runtest
output = cfp.getvalue()
File "/home/neal/build/python/dist/src/Lib/StringIO.py", line 195, in getvalue
self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 36: ordinal not in range(128)
**********************************************************************
- '\xb5q\x90\xa3\xe8IT\xd1\x07\xda\x1d\xdc\xdf'
+ 'qqqqq\x90
...
Some unicode problem complaining about these 2 chars: \xcb and \xe2
which are printed as e umlaut and e circumflex.
Maybe this is just me again though?
I saw this too. The fix was to add a setlocale() call to
test___all__.py. Read my checkin comments and weep.

--Guido van Rossum (home page: http://www.python.org/~guido/)
Anders Qvist
2002-10-09 18:34:33 UTC
Permalink
Post by Guido van Rossum
I saw this too. The fix was to add a setlocale() call to
test___all__.py. Read my checkin comments and weep.
The intel/linux-boxen in the green again:

http://www.lysator.liu.se/~sfarmer/xeno/latest.html
--
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
Guido van Rossum
2002-10-09 14:28:59 UTC
Permalink
Post by Anders Qvist
vanity [Linux 2.4.18 i686] <
370 - last successful build [0 warnings]
371 - failed http://www.lysator.liu.se/xenofarm/python/files/371_1
final build failed
test_dbm test_gdbm test_mpz test_bsddb
I wouldn't worry about those. These all depend on external libraries
that you apparently don't have (dbm, gdbm, mpz, and Berkeley db 1.85).

--Guido van Rossum (home page: http://www.python.org/~guido/)
Loading...