It seems that the new chapter on metrics has some doctests that need
to be made more platform independent, either by using `#doctest:
+ELLIPSIS` or by reworking them in same way.

2013/1/10  <ad...@shiningpanda.com>:
> See 
> <https://jenkins.shiningpanda-ci.com/scikit-learn/job/python-2.7-numpy-1.6.2-scipy-0.10.1/1692/>
>
> ------------------------------------------
> [...truncated 2 lines...]
> Building remotely on Default Debian 6 - Squeeze .1 in workspace 
> <https://jenkins.shiningpanda-ci.com/scikit-learn/job/python-2.7-numpy-1.6.2-scipy-0.10.1/ws/>
> Checkout:python-2.7-numpy-1.6.2-scipy-0.10.1 / 
> <https://jenkins.shiningpanda-ci.com/scikit-learn/job/python-2.7-numpy-1.6.2-scipy-0.10.1/ws/>
>  - hudson.remoting.Channel@670d0761:Default Debian 6 - Squeeze .1
> Using strategy: Default
> Last Built Revision: Revision bb1b795b2d0fc966d50f4dd684a8ee424f24f3d5 
> (origin/master)
> Fetching changes from 1 remote Git repository
> Fetching upstream changes from 
> https://github.com/scikit-learn/scikit-learn.git
> Commencing build of Revision bb1b795b2d0fc966d50f4dd684a8ee424f24f3d5 
> (origin/master)
> Checking out Revision bb1b795b2d0fc966d50f4dd684a8ee424f24f3d5 (origin/master)
> [python-2.7-numpy-1.6.2-scipy-0.10.1] $ /bin/sh -xe 
> /tmp/shiningpanda2225699778056359017.sh
> + . /home/slave/virtualenvs/cpython-2.7.2/bin/activate
> + deactivate nondestructive
> + [ -n  ]
> + [ -n  ]
> + [ -n  -o -n  ]
> + [ -n  ]
> + unset VIRTUAL_ENV
> + [ ! nondestructive = nondestructive ]
> + VIRTUAL_ENV=/home/slave/virtualenvs/cpython-2.7.2
> + export VIRTUAL_ENV
> + 
> _OLD_VIRTUAL_PATH=/sp/lib/jvm/sun-7/bin:/home/slave/virtualenvs/cpython-2.7.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> + 
> PATH=/home/slave/virtualenvs/cpython-2.7.2/bin:/sp/lib/jvm/sun-7/bin:/home/slave/virtualenvs/cpython-2.7.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> + export PATH
> + [ -n  ]
> + [ -z  ]
> + _OLD_VIRTUAL_PS1=$
> + [ x != x ]
> + basename /home/slave/virtualenvs/cpython-2.7.2
> + [ cpython-2.7.2 = __ ]
> + basename /home/slave/virtualenvs/cpython-2.7.2
> + PS1=(cpython-2.7.2)$
> + export PS1
> + [ -n  -o -n  ]
> + python -c import numpy; print 'numpy: ' + numpy.__version__
> numpy: 1.6.2
> + python -c import scipy; print 'scipy: ' + scipy.__version__
> scipy: 0.10.1
> + make clean-pyc inplace test-doc test-coverage
> find sklearn -name "*.pyc" | xargs rm -f
> python setup.py build_ext -i
> Partial import of sklearn during the build process.
> blas_opt_info:
> blas_mkl_info:
>   libraries mkl,vml,guide not found in 
> /home/slave/virtualenvs/cpython-2.7.2/lib
>   libraries mkl,vml,guide not found in /usr/local/lib
>   libraries mkl,vml,guide not found in /usr/lib64
>   libraries mkl,vml,guide not found in /usr/lib
>   NOT AVAILABLE
>
> atlas_blas_threads_info:
> Setting PTATLAS=ATLAS
>   libraries ptf77blas,ptcblas,atlas not found in 
> /home/slave/virtualenvs/cpython-2.7.2/lib
>   libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
> Setting PTATLAS=ATLAS
> customize GnuFCompiler
> Could not locate executable g77
> Could not locate executable f77
> customize IntelFCompiler
> Could not locate executable ifort
> Could not locate executable ifc
> customize LaheyFCompiler
> Could not locate executable lf95
> customize PGroupFCompiler
> Could not locate executable pgfortran
> customize AbsoftFCompiler
> Could not locate executable f90
> customize NAGFCompiler
> Found executable /usr/bin/f95
> customize VastFCompiler
> customize CompaqFCompiler
> Could not locate executable fort
> customize IntelItaniumFCompiler
> Could not locate executable efort
> Could not locate executable efc
> customize IntelEM64TFCompiler
> customize Gnu95FCompiler
> Found executable /usr/bin/gfortran
> customize Gnu95FCompiler
> customize Gnu95FCompiler using config
> compiling '_configtest.c':
>
> /* This file is generated from numpy/distutils/system_info.py */
> void ATL_buildinfo(void);
> int main(void) {
>   ATL_buildinfo();
>   return 0;
> }
>
> C compiler: gcc -pthread -fno-strict-aliasing 
> -I/tmp/132516050504/Python-2.7.2/Modules/expat -fPIC -I/opt/local/include 
> -I/usr/local/include -I/usr/include -I/include -DNDEBUG -g -fwrapv -O3 -Wall 
> -Wstrict-prototypes -fPIC
>
> compile options: '-c'
> gcc: _configtest.c
> gcc -pthread _configtest.o -L/usr/lib64/atlas-base -lptf77blas -lptcblas 
> -latlas -o _configtest
> ATLAS version 3.8.3 built by buildd on Sun Sep  5 21:14:51 UTC 2010:
>    UNAME    : Linux barber 2.6.26-2-amd64 #1 SMP Tue Aug 31 09:11:22 UTC 2010 
> x86_64 GNU/Linux
>    INSTFLG  : -1 0 -a 1
>    ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_P4E -DATL_CPUMHZ=3800 -DATL_USE64BITS 
> -DATL_GAS_x8664
>    F2CDEFS  : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
>    CACHEEDGE: 3670016
>    F77      : gfortran, version GNU Fortran (Debian 4.4.4-13) 4.4.5 20100902 
> (prerelease)
>    F77FLAGS : -fomit-frame-pointer -mfpmath=387 -O2 -falign-loops=4 
> -Wa,--noexecstack -fPIC -m64
>    SMC      : gcc, version gcc (Debian 4.4.4-13) 4.4.5 20100902 (prerelease)
>    SMCFLAGS : -fomit-frame-pointer -mfpmath=387 -O2 -falign-loops=4 
> -Wa,--noexecstack -fPIC -m64
>    SKC      : gcc, version gcc (Debian 4.4.4-13) 4.4.5 20100902 (prerelease)
>    SKCFLAGS : -fomit-frame-pointer -mfpmath=387 -O2 -falign-loops=4 
> -Wa,--noexecstack -fPIC -m64
> success!
> removing: _configtest.c _configtest.o _configtest
> Setting PTATLAS=ATLAS
>   FOUND:
>     libraries = ['ptf77blas', 'ptcblas', 'atlas']
>     library_dirs = ['/usr/lib64/atlas-base']
>     language = c
>     define_macros = [('ATLAS_INFO', '"\\"3.8.3\\""')]
>     include_dirs = ['/usr/include/atlas']
>
>   FOUND:
>     libraries = ['ptf77blas', 'ptcblas', 'atlas']
>     library_dirs = ['/usr/lib64/atlas-base']
>     language = c
>     define_macros = [('ATLAS_INFO', '"\\"3.8.3\\""')]
>     include_dirs = ['/usr/include/atlas']
>
> running build_ext
> running build_src
> build_src
> building library "libsvm-skl" sources
> building extension "sklearn.__check_build._check_build" sources
> building extension "sklearn.svm.libsvm" sources
> building extension "sklearn.svm.liblinear" sources
> building extension "sklearn.svm.libsvm_sparse" sources
> building extension "sklearn.datasets._svmlight_format" sources
> building extension "sklearn.feature_extraction._hashing" sources
> building extension "sklearn.cluster._hierarchical" sources
> building extension "sklearn.cluster._k_means" sources
> building extension "sklearn.ensemble._gradient_boosting" sources
> building extension "sklearn.utils.sparsetools._csgraph" sources
> building extension "sklearn.utils.arraybuilder" sources
> building extension "sklearn.utils.sparsefuncs" sources
> building extension "sklearn.utils.arrayfuncs" sources
> building extension "sklearn.utils.murmurhash" sources
> building extension "sklearn.utils.graph_shortest_path" sources
> building extension "sklearn.utils.seq_dataset" sources
> building extension "sklearn.utils.weight_vector" sources
> building extension "sklearn.utils.random" sources
> building extension "sklearn.neighbors.ball_tree" sources
> building extension "sklearn.metrics.pairwise_fast" sources
> building extension "sklearn.tree._tree" sources
> building extension "sklearn.metrics/cluster.expected_mutual_info_fast" sources
> building extension "sklearn._hmmc" sources
> building extension "sklearn.linear_model.cd_fast" sources
> building extension "sklearn.linear_model.sgd_fast" sources
> building extension "sklearn.utils.sparsetools._csgraph" sources
> building extension "sklearn.utils.arraybuilder" sources
> building extension "sklearn.utils.sparsefuncs" sources
> building extension "sklearn.utils.arrayfuncs" sources
> building extension "sklearn.utils.murmurhash" sources
> building extension "sklearn.utils.graph_shortest_path" sources
> building extension "sklearn.utils.seq_dataset" sources
> building extension "sklearn.utils.weight_vector" sources
> building extension "sklearn.utils.random" sources
> building data_files sources
> build_src: building npy-pkg config files
> customize UnixCCompiler
> customize UnixCCompiler using build_clib
> customize UnixCCompiler
> customize UnixCCompiler using build_ext
> resetting extension 'sklearn.svm.liblinear' language from 'c' to 'c++'.
> customize UnixCCompiler
> customize UnixCCompiler using build_ext
> running scons
> nosetests -s -v doc/ doc/modules/ doc/datasets/ \
>         doc/developers doc/tutorial/basic doc/tutorial/statistical_inference
> Doctest: clustering.rst ... ok
> Doctest: cross_validation.rst ... ok
> Doctest: ensemble.rst ... ok
> Doctest: feature_extraction.rst ... ok
> Doctest: feature_selection.rst ... ok
> Doctest: gaussian_process.rst ... ok
> Doctest: hmm.rst ... ok
> Doctest: kernel_approximation.rst ... ok
> Doctest: linear_model.rst ... ok
> Doctest: metrics.rst ... ok
> Doctest: model_evaluation.rst ... FAIL
> Doctest: multiclass.rst ... ok
> Doctest: naive_bayes.rst ... ok
> Doctest: neighbors.rst ... ok
> Doctest: pipeline.rst ... ok
> Doctest: preprocessing.rst ... ok
> Doctest: random_projection.rst ... ok
> Doctest: sgd.rst ... ok
> Doctest: svm.rst ... ok
> Doctest: tree.rst ... ok
> Doctest: index.rst ... ok
> SKIP: Skipping dataset loading doctests
> Doctest: mldata.rst ... ok
> SKIP: Skipping dataset loading doctests
> Doctest: utilities.rst ... ok
> Doctest: tutorial.rst ... ok
> Doctest: model_selection.rst ... ok
> Doctest: putting_together.rst ... ok
> Doctest: settings.rst ... ok
> Doctest: supervised_learning.rst ... ok
> Doctest: unsupervised_learning.rst ... ok
>
> ======================================================================
> FAIL: Doctest: model_evaluation.rst
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/sp/lib/python/cpython-2.7.2/lib/python2.7/doctest.py", line 2166, in 
> runTest
>     raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for model_evaluation.rst
>   File 
> "<https://jenkins.shiningpanda-ci.com/scikit-learn/job/python-2.7-numpy-1.6.2-scipy-0.10.1/ws/doc/modules/model_evaluation.rst";,>
>  line 0
>
> ----------------------------------------------------------------------
> File 
> "<https://jenkins.shiningpanda-ci.com/scikit-learn/job/python-2.7-numpy-1.6.2-scipy-0.10.1/ws/doc/modules/model_evaluation.rst";,>
>  line 314, in model_evaluation.rst
> Failed example:
>     metrics.precision_recall_fscore_support(y_true, y_pred, beta=0.5)
> Expected:
>     (array([ 0.66666667,  1.        ]), array([ 1. ,  0.5]), array([ 
> 0.71428571,  0.83333333]), array([2, 2], dtype=int64))
> Got:
>     (array([ 0.66666667,  1.        ]), array([ 1. ,  0.5]), array([ 
> 0.71428571,  0.83333333]), array([2, 2]))
> ----------------------------------------------------------------------
> File 
> "<https://jenkins.shiningpanda-ci.com/scikit-learn/job/python-2.7-numpy-1.6.2-scipy-0.10.1/ws/doc/modules/model_evaluation.rst";,>
>  line 472, in model_evaluation.rst
> Failed example:
>     metrics.precision_recall_fscore_support(y_true, y_pred, beta=0.5)
> Expected:
>     (array([ 0.66666667,  0.        ,  0.        ]), array([ 1.,  0.,  0.]), 
> array([ 0.71428571,  0.        ,  0.        ]), array([2, 2, 2], dtype=int64))
> Got:
>     (array([ 0.66666667,  0.        ,  0.        ]), array([ 1.,  0.,  0.]), 
> array([ 0.71428571,  0.        ,  0.        ]), array([2, 2, 2]))
> ----------------------------------------------------------------------
> File 
> "<https://jenkins.shiningpanda-ci.com/scikit-learn/job/python-2.7-numpy-1.6.2-scipy-0.10.1/ws/doc/modules/model_evaluation.rst";,>
>  line 506, in model_evaluation.rst
> Failed example:
>     hinge_loss([-1, 1, 1], pred_decision)
> Expected:
>     0.30303676038544258
> Got:
>     0.30303676038544253
>
>>>  raise self.failureException(self.format_failure(<StringIO.StringIO 
>>> instance at 0x41c9320>.getvalue()))
>
>
> ----------------------------------------------------------------------
> Ran 29 tests in 74.515s
>
> FAILED (SKIP=2, failures=1)
> make: *** [test-doc] Error 1
> Build step 'Custom Python Builder' marked build as failure
> Archiving artifacts
> Skipping Cobertura coverage report as build was not UNSTABLE or better ...
> Failed to send e-mail to arnaud.joly because no e-mail address is known, and 
> no default e-mail domain is configured



-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to