← Back to team overview

kicad-developers team mailing list archive

Re: Build failed in Jenkins: kicad-qa #4256

 

For the record: the issue has been already fixed by Jean-Pierre and was
not really related to the documentation fixes. Thank you!

Cheers,
Orson

On 06/12/2018 04:28 PM, Miguel Angel Ajo wrote:
> See <http://ci.kicad-pcb.org/job/kicad-qa/4256/display/redirect?page=changes>
> 
> Changes:
> 
> [Wayne Stambaugh] Minor Python scripting documentation fixes.
> 
> ------------------------------------------
> Started by an SCM change
> Building remotely on debian8 (clang gcc linux) in workspace <http://ci.kicad-pcb.org/job/kicad-qa/ws/>
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url https://github.com/KiCad/kicad-source-mirror.git # timeout=10
> Fetching upstream changes from https://github.com/KiCad/kicad-source-mirror.git
>  > git --version # timeout=10
>  > git fetch --tags --progress https://github.com/KiCad/kicad-source-mirror.git +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
> Checking out Revision ade3c2b12921a01360c75ad7e5a77371ae6d4f0e (refs/remotes/origin/master)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f ade3c2b12921a01360c75ad7e5a77371ae6d4f0e
> Commit message: "Minor Python scripting documentation fixes."
>  > git rev-list --no-walk 660aed71b4e21c7e3052c665accf1d36ad612a13 # timeout=10
> [kicad-qa] $ /bin/sh -xe /tmp/jenkins1165005224288930315.sh
> + cmake --version
> cmake version 3.0.2
> 
> CMake suite maintained and supported by Kitware (kitware.com/cmake).
> + gcc --version
> gcc (Debian 4.9.2-10+deb8u1) 4.9.2
> Copyright (C) 2014 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> + git --version
> git version 2.1.4
> + OPTS= -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
> + [ -d passed-qa ]
> + [ -d build ]
> + cd build
> + /usr/bin/cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
> -- Kicad install dir: </usr/local>
> -- Check for installed GLEW -- found
> -- Boost version: 1.55.0
> -- Check for installed Python Interpreter -- found
> -- Python module install path: lib/python2.7/dist-packages
> -- wxPython version 3.0 found.
> -- S3DSG version: 2.0.0
> -- Boost version: 1.55.0
> -- Found the following Boost libraries:
> --   unit_test_framework
> -- Boost version: 1.55.0
> -- Found the following Boost libraries:
> --   unit_test_framework
> -- Boost version: 1.55.0
> -- Found the following Boost libraries:
> --   unit_test_framework
> -- Configuring done
> -- Generating done
> -- Build files have been written to: <http://ci.kicad-pcb.org/job/kicad-qa/ws/build>
> + echo CMAKE exit code is 0
> CMAKE exit code is 0
> + rm -f pcbnew/pcbnewPYTHON_wrap.cxx
> + env
> + grep -q ^MAKEJOBS=
> + echo The MAKEJOBS variable is empty
> The MAKEJOBS variable is empty
> + JOBS=4
> + make -j4 pcbnew_python_module
> [  1%] Built target pcb_plot_lexer_source_files
> [  1%] [  1%] Built target lib_table_lexer_source_files
> Built target pcb_lexer_source_files
> [  1%] Built target netlist_lexer_source_files
> [  1%] Built target idf3
> [  1%] [  1%] Built target page_layout_lexer_source_files
> Generating version string header
> -- Using Git to determine build version string.
> -- Found Git: /usr/bin/git (found version "2.1.4") 
> [  4%] Built target gal
> [  7%] Built target kicad_3dsg
> -- Writing <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file with version: (5.0.0-rc2-127-gade3c2b)
> [  7%] [  7%] Built target lib_dxf
> Built target version_header
> [  7%] Built target polygon
> [ 49%] Built target bitmaps
> [ 49%] Built target specctra_lexer_source_files
> [ 53%] Built target pcbcommon
> [ 54%] Built target pcad2kicadpcb
> [ 60%] Built target 3d-viewer
> Scanning dependencies of target common
> [ 61%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o
> [ 83%] Built target pcbnew_kiface_objects
> Linking CXX static library libcommon.a
> [ 97%] Built target common
> [ 97%] Built target github_plugin
> [100%] Built target pnsrouter
> Linking CXX shared module _pcbnew.kiface
> [100%] Built target pcbnew_kiface
> [100%] Creating python's pcbnew native module _pcbnew.so for command line use.
> [100%] Built target pcbnew_python_module
> + pwd
> + export PYTHONPATH=<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew>
> + cd ../qa
> + /usr/bin/python2 test.py
> test_pcb_bounding_box (test_002_board_class.TestBoardClass) ... FAIL
> test_pcb_find_module (test_002_board_class.TestBoardClass) ... ok
> test_pcb_get_pad (test_002_board_class.TestBoardClass) ... ok
> test_pcb_get_track_count (test_002_board_class.TestBoardClass) ... ok
> test_pcb_layer_id_get (test_002_board_class.TestBoardClass) ... ok
> test_pcb_layer_name_set_get (test_002_board_class.TestBoardClass) ... ok
> test_pcb_save_and_load (test_002_board_class.TestBoardClass) ... ok
> test_pcb_load (test_001_pcb_load.TestPCBLoad) ... ok
> test_pcb_module_references (test_001_pcb_load.TestPCBLoad) ... ok
> test_pcb_modules (test_001_pcb_load.TestPCBLoad) ... ok
> test_pcb_netcount (test_001_pcb_load.TestPCBLoad) ... ok
> test_pcb_track_count (test_001_pcb_load.TestPCBLoad) ... ok
> test_assert_equal (test_000_qa_works.TestQAWorks) ... ok
> test_assert_true (test_000_qa_works.TestQAWorks) ... ok
> 
> ======================================================================
> FAIL: test_pcb_bounding_box (test_002_board_class.TestBoardClass)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/testcases/test_002_board_class.py";,> line 61, in test_pcb_bounding_box
>     self.assertAlmostEqual(width, (30-10) + 0.5 + clearance, 2)
> AssertionError: 20.500001 != 20.9 within 2 places
> 
> ----------------------------------------------------------------------
> Ran 14 tests in 1.107s
> 
> FAILED (failures=1)
> Build step 'Execute shell' marked build as failure
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


Attachment: signature.asc
Description: OpenPGP digital signature


References