← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-qa #2281

 

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

Changes:

[Wayne Stambaugh] Make the schematic I/O plugin the only option.

[Wayne Stambaugh] Prevent schematic I/O plugin from setting the library cache to null.

[Wayne Stambaugh] Fix missing part library broken by schematic I/O plugin changes.

[Wayne Stambaugh] Use library ID to store library symbol information in the schematic

------------------------------------------
Started by an SCM change
Building remotely on debian8 (gcc clang 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 7ccdca5cedb1f2194a67564beaf9395b33639441 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7ccdca5cedb1f2194a67564beaf9395b33639441
 > git rev-list 283ba553baf2a48e832a7cf48a9f2aba735617d5 # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/hudson1910491049504331399.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) 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>
-- Found Glew: /usr/lib/x86_64-linux-gnu/libGLEW.so
-- Check for installed GLEW -- found
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   context
--   system
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/dist-packages
-- wxPython version 3.0 found.
INFO: KICADSG_VERSION_MAJOR = 2
INFO: KICADSG_VERSION_MINOR = 0
INFO: KICADSG_VERSION_PATCH = 0
INFO: KICADSG_VERSION_REVI = 0
-- 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
+ grep -q ^MAKEJOBS=
+ env
+ echo The MAKEJOBS variable is empty
The MAKEJOBS variable is empty
+ JOBS=4
+ make -j4 _pcbnew
[  0%] Built target specctra_lexer_source_files
[  0%] Built target lib-dependencies
[  0%] [  0%] Built target pcb_plot_lexer_source_files
[  1%] Built target idf3
[  3%] Built target pcb_lexer_source_files
Built target kicad_3dsg
[  3%] [  3%] [  3%] Built target lib_table_lexer_source_files
Built target netlist_lexer_source_files
[  3%] Generating version string header
Built target page_layout_lexer_source_files
-- Using Git to determine build version string.
-- Found Git: /usr/bin/git (found version "2.1.4") 
-- Git hash: 7ccdca5cedb1f2194a67564beaf9395b33639441
-- Git branch: HEAD
-- Writing <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file with version: (2017-02-10 revision 7ccdca5)-HEAD
[  3%] [  3%] Built target version_header
[  3%] Built target lib_dxf
Built target polygon
[ 48%] Built target bitmaps
[ 50%] Built target gal
Scanning dependencies of target pcbcommon
Scanning dependencies of target common
[ 50%] [ 50%] [ 50%] Building CXX object common/CMakeFiles/pcbcommon.dir/footprint_info.cpp.o
Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/basepcbframe.cpp.o
Building CXX object common/CMakeFiles/pcbcommon.dir/fp_lib_table.cpp.o
[ 50%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o
[ 50%] Building CXX object common/CMakeFiles/common.dir/lib_table_base.cpp.o
Linking CXX static library libcommon.a
Linking CXX static library libpcbcommon.a
[ 54%] Built target pcbcommon
[ 61%] Built target 3d-viewer
[ 62%] Built target pcad2kicadpcb
[ 66%] Built target pnsrouter
[ 77%] Built target common
Scanning dependencies of target github_plugin
[ 77%] Building CXX object pcbnew/github/CMakeFiles/github_plugin.dir/github_plugin.cpp.o
Linking CXX static library libgithub_plugin.a
[ 77%] Built target github_plugin
[ 77%] Swig source
[ 77%] Generating pcbnew_wrap.cxx, pcbnew.py
swig_import_helper fixed for <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew.py>
Scanning dependencies of target _pcbnew
[ 77%] [ 77%] [ 77%] [ 77%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/pcbframe.cpp.o
Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/pcbnewPYTHON_wrap.cxx.o
Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/pcbnew.cpp.o
Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/modview_frame.cpp.o
[ 77%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_fp_lib_table.cpp.o
[ 77%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_fp_plugin_options.cpp.o
[ 77%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/wizard_add_fplib.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/files.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/librairi.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/loadcmp.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/moduleframe.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/netlist.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/pcbnew_config.cpp.o
Linking CXX shared module _pcbnew.so
[100%] Built target _pcbnew
+ pwd
+ export PYTHONPATH=<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew>
+ cd ../qa
+ /usr/bin/python2 test.py
test_002_board_class (unittest.loader.ModuleImportFailure) ... ERROR
test_001_pcb_load (unittest.loader.ModuleImportFailure) ... ERROR
test_assert_equal (test_000_qa_works.TestQAWorks) ... ok
test_assert_true (test_000_qa_works.TestQAWorks) ... ok

======================================================================
ERROR: test_002_board_class (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_002_board_class
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
    __import__(name)
  File "<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/testcases/test_002_board_class.py";,> line 4, in <module>
    import pcbnew
  File "<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew.py";,> line 15628
    -style classes.
                 ^
SyntaxError: invalid syntax


======================================================================
ERROR: test_001_pcb_load (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_001_pcb_load
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
    __import__(name)
  File "<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/testcases/test_001_pcb_load.py";,> line 3, in <module>
    import pcbnew
  File "<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew.py";,> line 15628
    -style classes.
                 ^
SyntaxError: invalid syntax


----------------------------------------------------------------------
Ran 4 tests in 0.001s

FAILED (errors=2)
Build step 'Execute shell' marked build as failure


Follow ups