Skip to content

Instantly share code, notes, and snippets.

@bluecmd
Created July 28, 2016 07:26
Show Gist options
  • Save bluecmd/432020a44723ac16cb8499f742d0e274 to your computer and use it in GitHub Desktop.
Save bluecmd/432020a44723ac16cb8499f742d0e274 to your computer and use it in GitHub Desktop.
Build System for openswitch
Platform: genericx86-64
Building fs (openswitch-disk-image)...
Loading cache: 100% |################################################################################################################################################################| ETA: 00:00:00
Loaded 1604 entries from dependency cache.
Parsing recipes: 100% |##############################################################################################################################################################| Time: 00:00:02
Parsing of 1111 .bb files complete (1107 cached, 4 parsed). 1610 targets, 212 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for virtual/opennsl (opennsl-odp, opennsl-cdp)
NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/opennsl
Build Configuration:
BB_VERSION = "1.27.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Debian-8.5"
TARGET_SYS = "x86_64-openswitch-linux"
MACHINE = "genericx86-64"
DISTRO = "openswitch"
DISTRO_VERSION = "0.4.0"
TUNE_FEATURES = "m64 core2"
TARGET_FPU = ""
meta
meta-yocto
meta-yocto-bsp
meta-distro-openswitch
meta-foss-openswitch
meta-platform-openswitch-genericx86-64 = "node-exporter-only:4887280060e3b30545d5dde7ba74f6c09598a1b0"
workspace = "<unknown>:<unknown>"
NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 304 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Compiling ops-supportability from external source /home/bluecmd/openswitch/ops-build/src/ops-supportability
WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: libyaml-0-dbg-0.1.6-r0@core2_64 is already installed
WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: ops-supportability-dbg-git999-r0@core2_64 is already installed
NOTE: Tasks Summary: Attempted 4478 tasks of which 4150 didn't need to be rerun and all succeeded.
Summary: There were 7 WARNING messages shown.
Error response from daemon: Invalid filter 'image'
Exporting '/home/bluecmd/openswitch/ops-build/build/tmp/deploy/images/genericx86-64/openswitch-disk-image-genericx86-64.tar.gz' as image 'ops_bluecmd_home_bluecmd_openswitch_ops-build'...
sha256:d0f724e89f1433b4d88ef8f7fae7ee4f9a6fc16e7059fc2eb229a7bb92ccf4da
Collecting the requested code to run feature tests...
ops-supportability: using tests from devenv...
Starting feature tests execution...
Iterating the tests 1 times
Running the testsuite on iteration 1
py34 create: /home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34
py34 installdeps: -r/home/bluecmd/openswitch/ops-build/build/test/feature/requirements.txt
py34 runtests: PYTHONHASHSEED='2074489755'
py34 runtests: commands[0] | flake8 /home/bluecmd/openswitch/ops-build/build/test/feature/code_under_test
py34 runtests: commands[1] | py.test --durations=10 --junitxml=/home/bluecmd/openswitch/ops-build/build/test/feature/test-results.xml --topology-nml-dir topologies --topology-plot-dir topologies --topology-plot-format svg --topology-inject /home/bluecmd/openswitch/ops-build/build/test/feature/attributes.json --topology-platform docker -x -v -s /home/bluecmd/openswitch/ops-build/build/test/feature/code_under_test
======================================================================================== test session starts ========================================================================================
platform linux -- Python 3.4.2, pytest-2.8.4, py-1.4.31, pluggy-0.3.1 -- /home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/bin/python3.4
cachedir: ../../../.cache
topology: platform='docker'
plot_dir='/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/tmp/topologies' (svg)
nml_dir='/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/tmp/topologies'
rootdir: /home/bluecmd/openswitch/ops-build/build/test/feature, inifile:
plugins: topology-docker-openswitch-0.1.0, topology-1.7.2, logging-2015.11.4, timeout-1.0.0, xdist-1.14, random-0.02
collected 22 items
../../../code_under_test/ops-supportability/test_supportability_ft_core_dump.py::test_core_dump SKIPPED
../../../code_under_test/ops-supportability/test_supportability_ft_eventlog.py::test_ft_evtlog_feature INFO:root:Waiting for swns netns...
Traceback (most recent call last):
File "/tmp/openswitch_setup.py", line 234, in <module>
main()
File "/tmp/openswitch_setup.py", line 163, in main
raise Exception('Timed out while waiting for swns.')
Exception: Timed out while waiting for swns.
2016-07-28 09:26:44,930 Unknown Linux distribution debian.
09:26:44,0932 [topology.manager:294 ][CRITICAL] Build failed at stage "post_build" with "'debian'". Calling plugin rollback routine...
ERROR
============================================================================================== ERRORS ===============================================================================================
_____________________________________________________________________________ ERROR at setup of test_ft_evtlog_feature ______________________________________________________________________________
Error building topology in module test_supportability_ft_eventlog:
Traceback (most recent call last):
File "/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/src/topology-docker-openswitch/lib/topology_docker_openswitch/openswitch.py", line 407, in _setup_system
self.shared_dir_mount
File "/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/src/topology-docker/lib/topology_docker/node.py", line 288, in _docker_exec
)).decode('utf8')
File "/usr/lib/python3.4/subprocess.py", line 620, in check_output
raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '['docker', 'exec', 'd0b1eed0bf253d5b9199c492a3610d623c598668e2543837ab4bc2e1ae19f223', 'python', '/tmp/openswitch_setup.py', '-d']' returned non-zero exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/lib/python3.4/site-packages/topology/pytest/plugin.py", line 157, in topology
topomgr.build()
File "/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/lib/python3.4/site-packages/topology/manager.py", line 286, in build
self._platform.post_build()
File "/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/src/topology-docker/lib/topology_docker/platform.py", line 220, in post_build
enode.notify_post_build()
File "/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/src/topology-docker-openswitch/lib/topology_docker_openswitch/openswitch.py", line 388, in notify_post_build
self._setup_system()
File "/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/src/topology-docker-openswitch/lib/topology_docker_openswitch/openswitch.py", line 450, in _setup_system
platforms_log_location[linux_distro], lines_to_dump
KeyError: 'debian'
---------------------------------------------------- generated xml file: /home/bluecmd/openswitch/ops-build/build/test/feature/test-results.xml -----------------------------------------------------
===================================================================================== slowest 10 test durations =====================================================================================
42.99s setup code_under_test/ops-supportability/test_supportability_ft_eventlog.py::test_ft_evtlog_feature
0.00s teardown code_under_test/ops-supportability/test_supportability_ft_eventlog.py::test_ft_evtlog_feature
0.00s teardown code_under_test/ops-supportability/test_supportability_ft_core_dump.py::test_core_dump
0.00s setup code_under_test/ops-supportability/test_supportability_ft_core_dump.py::test_core_dump
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================ 1 skipped, 1 error in 43.36 seconds ================================================================================
ERROR: InvocationError: '/home/bluecmd/openswitch/ops-build/build/test/feature/.tox/py34/bin/py.test --durations=10 --junitxml=/home/bluecmd/openswitch/ops-build/build/test/feature/test-results.xml --topology-nml-dir topologies --topology-plot-dir topologies --topology-plot-format svg --topology-inject /home/bluecmd/openswitch/ops-build/build/test/feature/attributes.json --topology-platform docker -x -v -s /home/bluecmd/openswitch/ops-build/build/test/feature/code_under_test'
______________________________________________________________________________________________ summary ______________________________________________________________________________________________
ERROR: py34: commands failed
tools/Rules.make:762: recipe for target '_testenv_rerun' failed
make[1]: *** [_testenv_rerun] Error 1
tools/Rules.make:640: recipe for target 'testenv_run' failed
make: *** [testenv_run] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment