On Sun, 02 Jun 2013 16:43:51 +1000, Kubilay Kocak <koobs.freebsd_at_gmail.com> wrote: > >On 2/06/2013 3:33 PM, Waitman Gobble wrote: >> On Sun, 02 Jun 2013 14:45:31 +1000, Kubilay Kocak <koobs.freebsd_at_gmail.com> >> wrote: >>> >>> On 2/06/2013 2:32 PM, Kubilay Kocak wrote: >>>> I wonder if Pythons regression test picks anything up: >>>> >>>> ./python -m test.regrtest >>>> >>>> Run that in $WRKSRC/portbld.static/ after building >>> >>> Infact, run this instead: >>> >>> ./python -bb -E -Wd -m test.regrtest -r -w -uall >>> >>> [1] http://docs.python.org/devguide/runtests.html >>> >> >> Hi, >> >> Thanks for your reply, I appreciate it. >> >> Here are some errors.. >> >> >> >> [1053] > ./python -bb -E -Wd -m test.regrtest -r -w -uall >> == CPython 2.7.5 (default, Jun 1 2013, 22:09:55) [GCC 4.2.1 Compatible FreeBSD >> Clang 3.3 (trunk 178860)] >> == FreeBSD-10.0-CURRENT-amd64-64bit-ELF little-endian >> == /usr/ports/lang/python27/work/Python-2.7.5/build/test_python_98332 >> Testing with flags: sys.flags(debug=0, py3k_warning=0, division_warning=0, >> division_new=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, >> no_user_site=0, no_site=0, ignore_environment=1, tabcheck=0, verbose=0, >> unicode=0, bytes_warning=2, hash_randomization=0) >> Using random seed 1989961 >> test_global >> ... >> test_rfc822 >> test_file >> test_decimal >> Abort (core dumped) >> >> test_dis >> test_memoryio >> test_importhooks >> test_netrc >> test_univnewlines2k >> test_codecencodings_tw >> test_property >> test_zipimport_support >> <jemalloc>: >> /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:942: Failed assertion: "arena_mapbits_allocated_get(chunk, pageind) != 0" >> Abort (core dumped) >> >> test_distutils >> <jemalloc>: >> /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:942: Failed assertion: "arena_mapbits_allocated_get(chunk, pageind) != 0" >> Abort (core dumped) >> >> >> test_threading >> test test_threading failed -- Traceback (most recent call last): >> File >> "/usr/ports/lang/python27/work/Python-2.7.5/Lib/test/test_threading.py", line >> 307, in test_finalize_runnning_thread >> self.assertEqual(rc, 42) >> AssertionError: -10 != 42 >> >> >> >> -- >> Waitman Gobble >> San Jose California USA >> +1.5108307875 >> >> > >That last failure in test_threading I can reproduce on 10.0-CURRENT but >I don't think its related. Those coredumps on the other hand. > >Incidentally, what OPTIONS did you build Python with? I ask cause >WITH_PYMALLOC is the port and upstream default > >-- >Ta, > >koobs > OK... you are correct, WITH_PYMALLOC was the deal with the jemalloc related errors, but I still get this : test_threading test test_threading failed -- Traceback (most recent call last): File "/usr/ports/lang/python27/work/Python-2.7.5/Lib/test/test_threading.py", line 307, in test_finalize_runnning_thread self.assertEqual(rc, 42) AssertionError: -6 != 42 Re-running test 'test_threading' in verbose mode test_acquire_contended (test.test_threading.LockTests) ... ok test_acquire_destroy (test.test_threading.LockTests) ... ok test_acquire_release (test.test_threading.LockTests) ... ok test_constructor (test.test_threading.LockTests) ... ok test_different_thread (test.test_threading.LockTests) ... ok test_reacquire (test.test_threading.LockTests) ... ok test_thread_leak (test.test_threading.LockTests) ... ok test_try_acquire (test.test_threading.LockTests) ... ok test_try_acquire_contended (test.test_threading.LockTests) ... ok test_with (test.test_threading.LockTests) ... ok test__is_owned (test.test_threading.RLockTests) ... ok test_acquire_contended (test.test_threading.RLockTests) ... ok test_acquire_destroy (test.test_threading.RLockTests) ... ok test_acquire_release (test.test_threading.RLockTests) ... ok test_constructor (test.test_threading.RLockTests) ... ok test_different_thread (test.test_threading.RLockTests) ... ok test_reacquire (test.test_threading.RLockTests) ... ok test_release_unacquired (test.test_threading.RLockTests) ... ok test_thread_leak (test.test_threading.RLockTests) ... ok test_try_acquire (test.test_threading.RLockTests) ... ok test_try_acquire_contended (test.test_threading.RLockTests) ... ok test_with (test.test_threading.RLockTests) ... ok test_is_set (test.test_threading.EventTests) ... ok test_notify (test.test_threading.EventTests) ... ok test_timeout (test.test_threading.EventTests) ... ok test__is_owned (test.test_threading.ConditionAsRLockTests) ... ok test_acquire_contended (test.test_threading.ConditionAsRLockTests) ... ok test_acquire_destroy (test.test_threading.ConditionAsRLockTests) ... ok test_acquire_release (test.test_threading.ConditionAsRLockTests) ... ok test_constructor (test.test_threading.ConditionAsRLockTests) ... ok test_different_thread (test.test_threading.ConditionAsRLockTests) ... ok test_reacquire (test.test_threading.ConditionAsRLockTests) ... ok test_release_unacquired (test.test_threading.ConditionAsRLockTests) ... ok test_thread_leak (test.test_threading.ConditionAsRLockTests) ... ok test_try_acquire (test.test_threading.ConditionAsRLockTests) ... ok test_try_acquire_contended (test.test_threading.ConditionAsRLockTests) ... ok test_with (test.test_threading.ConditionAsRLockTests) ... ok test_acquire (test.test_threading.ConditionTests) ... ok test_notify (test.test_threading.ConditionTests) ... ok test_timeout (test.test_threading.ConditionTests) ... ok test_unacquired_notify (test.test_threading.ConditionTests) ... ok test_unacquired_wait (test.test_threading.ConditionTests) ... ok test_acquire (test.test_threading.SemaphoreTests) ... ok test_acquire_contended (test.test_threading.SemaphoreTests) ... ok test_acquire_destroy (test.test_threading.SemaphoreTests) ... ok test_constructor (test.test_threading.SemaphoreTests) ... ok test_default_value (test.test_threading.SemaphoreTests) ... ok test_release_unacquired (test.test_threading.SemaphoreTests) ... ok test_try_acquire (test.test_threading.SemaphoreTests) ... ok test_try_acquire_contended (test.test_threading.SemaphoreTests) ... ok test_with (test.test_threading.SemaphoreTests) ... ok test_acquire (test.test_threading.BoundedSemaphoreTests) ... ok test_acquire_contended (test.test_threading.BoundedSemaphoreTests) ... ok test_acquire_destroy (test.test_threading.BoundedSemaphoreTests) ... ok test_constructor (test.test_threading.BoundedSemaphoreTests) ... ok test_default_value (test.test_threading.BoundedSemaphoreTests) ... ok test_recursion_limit (test.test_threading.BoundedSemaphoreTests) ... skipped 'test macosx problem' test_release_unacquired (test.test_threading.BoundedSemaphoreTests) ... ok test_try_acquire (test.test_threading.BoundedSemaphoreTests) ... ok test_try_acquire_contended (test.test_threading.BoundedSemaphoreTests) ... ok test_with (test.test_threading.BoundedSemaphoreTests) ... ok test_PyThreadState_SetAsyncExc (test.test_threading.ThreadTests) ... started worker thread trying nonsensical thread id waiting for worker thread to get started verifying worker hasn't exited attempting to raise asynch exception in worker waiting for worker to say it caught the exception all OK -- joining worker ok test_dummy_thread_after_fork (test.test_threading.ThreadTests) ... ok test_enumerate_after_join (test.test_threading.ThreadTests) ... ok test_finalize_runnning_thread (test.test_threading.ThreadTests) ... FAIL test_finalize_with_trace (test.test_threading.ThreadTests) ... ok test_foreign_thread (test.test_threading.ThreadTests) ... ok test_ident_of_no_threading_threads (test.test_threading.ThreadTests) ... ok test_join_nondaemon_on_shutdown (test.test_threading.ThreadTests) ... ok test_limbo_cleanup (test.test_threading.ThreadTests) ... ok test_no_refcycle_through_target (test.test_threading.ThreadTests) ... ok test_various_ops (test.test_threading.ThreadTests) ... task <thread 0> will run for 91.7 usec 1 tasks are running task <thread 0> done <thread 0> is finished. 0 tasks are running task <thread 1> will run for 7.1 usec task <thread 2> will run for 79.9 usec 1 tasks are running 2 tasks are running task <thread 1> done <thread 1> is finished. 1 tasks are running task <thread 3> will run for 59.3 usec 2 tasks are running task <thread 2> done <thread 2> is finished. 1 tasks are running task <thread 3> done <thread 3> is finished. 0 tasks are running task <thread 4> will run for 41.2 usec 1 tasks are running task <thread 5> will run for 46.6 usec task <thread 4> 2 donetasks are runningtask <thread 6> will run for 96.2 usec task <thread 7> will run for 70.8 usec <thread 4> is finished. 1 tasks are running 2 tasktasks are running <thread 5> done3 tasks are running task <thread 8> will run for 53.1 usec task <thread 6> <thread 5> is finished. 2 tasks are running donetask <thread 7> 3done tasks are running task <thread 9> will run for 13.5 usec waiting for all tasks to complete <thread 6> is finished. 2 tasks are running <thread 7> is finished. 1 tasks are running task <thread 8> 2 tasks are running done task <thread 9> <thread 8> is finished. 1 tasks are running done <thread 9> is finished. 0 tasks are running all tasks done ok test_various_ops_large_stack (test.test_threading.ThreadTests) ... with 1MB thread stack size... task <thread 0> will run for 45.1 usec task <thread 1> will run for 97.1 usec1 tasks are running 2 task <thread 2> will run for 35.9 usec tasks are running task <thread 3> will run for 99.5 usec task <thread 0> done task <thread 4> will run for 73.4 usec3 task <thread 1> donetasks are running task <thread 2> <thread 1> is finished. 2 tasks are running done<thread 0> is finished. 1 tasks are running 2 tasks are running task <thread 5> will run for 85.7 usec <thread 2> is finished. 1 tasks are runningtask <thread 3> done 2 tasks are running task <thread 6> will run for 83.3 usec <thread 3> is finished. 1 tasks are running task <thread 7> will run for 5.5 usectask <thread 4> 2 tasks are runningdone 3 tasks are runningtask task <thread 8> will run for 60.6 usec <thread 5> done <thread 4> is finished. 2 tasks are running <thread 5> is finished. 1 tasks are running task <thread 9> will run for 34.2 usec waiting for all tasks to completetask2 <thread 6> tasks are runningdone task <thread 9> done 3 tasks are running <thread 6> is finished. 2 tasks are running <thread 9> is finished. 1 tasks are running task <thread 8>2 tasks are running done <thread 8> is finished. 1 tasks are running task <thread 7> done <thread 7> is finished. 0 tasks are running all tasks done ok test_various_ops_small_stack (test.test_threading.ThreadTests) ... with 256kB thread stack size... task <thread 0> will run for 72.9 usec task <thread 1> will run for 72.7 usec 1 tasks are running task <thread 2> will run for 26.9 usec task <thread 0> 2 task <thread 3> will run for 97.9 usec tasks are running done 3 tasks are runningtask <thread 4> will run for 51.5 usec task <thread 1> task <thread 5> will run for 21.1 usec done task <thread 6> will run for 76.6 usectask <thread 2> <thread 0> is finished. 2 tasks are running done<thread 1> is finished. 1 tasks are running task <thread 7> will run for 81.1 usec <thread 2> is finished. 0 tasks are running task <thread 8> will run for 68.0 usec 1task <thread 9> will run for 47.3 usec tasks are runningwaiting for all tasks to complete 2 task <thread 7>tasks are running done 3 tasks are running <thread 7> is finished. 2 tasks are running task <thread 8> task <thread 4> 3 donetasks are running done <thread 4> is finished. 2 tasks are running task <thread 6> <thread 8> is finished. 1 tasks are running 2 tasks are running done 3 tasks are running task <thread 5> done<thread 6> is finished. 2 tasks are running task <thread 9> done <thread 5> is finished. 1 tasks are running 2 tasks are running <thread 9> is finished. 1 tasks are running task <thread 3> done <thread 3> is finished. 0 tasks are running all tasks done ok test_1_join_on_shutdown (test.test_threading.ThreadJoinOnShutdown) ... ok test_2_join_in_forked_process (test.test_threading.ThreadJoinOnShutdown) ... ok test_3_join_in_forked_from_thread (test.test_threading.ThreadJoinOnShutdown) ... ok test_4_joining_across_fork_in_worker_thread (test.test_threading.ThreadJoinOnShutdown) ... ok test_5_clear_waiter_locks_to_avoid_crash (test.test_threading.ThreadJoinOnShutdown) ... ok test_reinit_tls_after_fork (test.test_threading.ThreadJoinOnShutdown) ... ok test_daemonize_active_thread (test.test_threading.ThreadingExceptionTests) ... ok test_joining_current_thread (test.test_threading.ThreadingExceptionTests) ... ok test_joining_inactive_thread (test.test_threading.ThreadingExceptionTests) ... ok test_start_thread_again (test.test_threading.ThreadingExceptionTests) ... test test_threading failed -- Traceback (most recent call last): File "/usr/ports/lang/python27/work/Python-2.7.5/Lib/test/test_threading.py", line 307, in test_finalize_runnning_thread self.assertEqual(rc, 42) AssertionError: -6 != 42 ok ====================================================================== FAIL: test_finalize_runnning_thread (test.test_threading.ThreadTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/lang/python27/work/Python-2.7.5/Lib/test/test_threading.py", line 307, in test_finalize_runnning_thread self.assertEqual(rc, 42) AssertionError: -6 != 42 ---------------------------------------------------------------------- Ran 84 tests in 3.119s -- Waitman Gobble San Jose California USA +1.5108307875Received on Sun Jun 02 2013 - 12:41:42 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:38 UTC