← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-qa #4254

 

See <http://ci.kicad-pcb.org/job/kicad-qa/4254/display/redirect?page=changes>

Changes:

[Maciej Suminski] Fix -Wparentheses in track_cleaner.cpp

------------------------------------------
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 16411c8c1ebabf934dccec8d9e8bffaef236a87d (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 16411c8c1ebabf934dccec8d9e8bffaef236a87d
Commit message: "Fix -Wparentheses in track_cleaner.cpp"
 > git rev-list --no-walk 9605dd8e1de3179643d075fa587efb26e31ca883 # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/jenkins7187636663585883735.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
[  0%] [  0%] [  1%] Built target pcb_lexer_source_files
Built target lib_table_lexer_source_files
Built target pcb_plot_lexer_source_files
[  1%] Built target idf3
[  1%] Built target page_layout_lexer_source_files
[  1%] Built target netlist_lexer_source_files
[  1%] [  4%] Generating version string header
Built target kicad_3dsg
-- Using Git to determine build version string.
[  7%] Built target gal
-- Found Git: /usr/bin/git (found version "2.1.4") 
[  7%] Built target lib_dxf
-- Writing <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file with version: (5.0.0-rc2-125-g16411c8)
[  7%] [  7%] Built target polygon
Built target version_header
[  7%] Built target specctra_lexer_source_files
[ 49%] Built target bitmaps
[ 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
Scanning dependencies of target pcbnew_kiface_objects
[ 61%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tracks_cleaner.cpp.o
Linking CXX static library libcommon.a
[ 83%] Built target pcbnew_kiface_objects
[ 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.445s

FAILED (failures=1)
Build step 'Execute shell' marked build as failure


Follow ups

References