Closed ElliotAOram closed 7 years ago
15:43:37 Started by user Elliot Oram
15:43:37 Building in workspace C:\Users\User\.jenkins\workspace\pythontests
15:43:37 [WS-CLEANUP] Deleting project workspace...
15:43:37 [WS-CLEANUP] Done
15:43:37 Cloning the remote Git repository
15:43:37 Cloning repository https://github.com/ElliotAOram/GhostPyramid
15:43:37 > C:/Program Files/Git/bin/git.exe. init C:\Users\User\.jenkins\workspace\pythontests # timeout=10
15:43:37 Fetching upstream changes from https://github.com/ElliotAOram/GhostPyramid
15:43:37 > C:/Program Files/Git/bin/git.exe. --version # timeout=10
15:43:37 > C:/Program Files/Git/bin/git.exe. fetch --tags --progress https://github.com/ElliotAOram/GhostPyramid +refs/heads/*:refs/remotes/origin/*
15:43:41 > C:/Program Files/Git/bin/git.exe. config remote.origin.url https://github.com/ElliotAOram/GhostPyramid # timeout=10
15:43:41 > C:/Program Files/Git/bin/git.exe. config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
15:43:41 > C:/Program Files/Git/bin/git.exe. config remote.origin.url https://github.com/ElliotAOram/GhostPyramid # timeout=10
15:43:41 Fetching upstream changes from https://github.com/ElliotAOram/GhostPyramid
15:43:41 > C:/Program Files/Git/bin/git.exe. fetch --tags --progress https://github.com/ElliotAOram/GhostPyramid +refs/heads/*:refs/remotes/origin/*
15:43:41 > C:/Program Files/Git/bin/git.exe. rev-parse "refs/remotes/origin/37_feature_4^{commit}" # timeout=10
15:43:41 > C:/Program Files/Git/bin/git.exe. rev-parse "refs/remotes/origin/origin/37_feature_4^{commit}" # timeout=10
15:43:41 Checking out Revision 3813eff5d6ed4ac4fdc131db7973ca0b9cbc4125 (refs/remotes/origin/37_feature_4)
15:43:41 > C:/Program Files/Git/bin/git.exe. config core.sparsecheckout # timeout=10
15:43:41 > C:/Program Files/Git/bin/git.exe. checkout -f 3813eff5d6ed4ac4fdc131db7973ca0b9cbc4125
15:43:42 > C:/Program Files/Git/bin/git.exe. rev-list 5ecc157456be26599a79a8a5fa5309310f6b2a30 # timeout=10
15:43:42 [pythontests] $ cmd /c call C:\WINDOWS\TEMP\hudson930351922344092954.bat
15:43:42
15:43:42 C:\Users\User\.jenkins\workspace\pythontests>set PYTHONPATH='C:\Python27'
15:43:42
15:43:42 C:\Users\User\.jenkins\workspace\pythontests>pip install nose
15:43:44 Requirement already satisfied: nose in c:\python27\lib\site-packages
15:43:44
15:43:44 C:\Users\User\.jenkins\workspace\pythontests>pip install pylint
15:43:45 Requirement already satisfied: pylint in c:\python27\lib\site-packages
15:43:45 Requirement already satisfied: mccabe in c:\python27\lib\site-packages (from pylint)
15:43:45 Requirement already satisfied: isort>=4.2.5 in c:\python27\lib\site-packages (from pylint)
15:43:45 Requirement already satisfied: six in c:\python27\lib\site-packages (from pylint)
15:43:45 Requirement already satisfied: configparser; python_version == "2.7" in c:\python27\lib\site-packages (from pylint)
15:43:45 Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in c:\python27\lib\site-packages (from pylint)
15:43:45 Requirement already satisfied: colorama; sys_platform == "win32" in c:\python27\lib\site-packages (from pylint)
15:43:45 Requirement already satisfied: astroid<1.5.0,>=1.4.5 in c:\python27\lib\site-packages (from pylint)
15:43:45 Requirement already satisfied: wrapt in c:\python27\lib\site-packages (from astroid<1.5.0,>=1.4.5->pylint)
15:43:45 Requirement already satisfied: lazy-object-proxy in c:\python27\lib\site-packages (from astroid<1.5.0,>=1.4.5->pylint)
15:43:45
15:43:45 C:\Users\User\.jenkins\workspace\pythontests>nosetests -v --with-xunit --with-coverage --cover-package=python --cover-inclusive --all-modules python/tests/
15:43:46 test_max_img_size_mt_res (python.tests.test_helper_functions.TestCalculateCropRange) ... ok
15:43:46 test_non_int_input (python.tests.test_helper_functions.TestCalculateCropRange) ... ok
15:43:46 test_non_zero_input (python.tests.test_helper_functions.TestCalculateCropRange) ... ok
15:43:46 test_positive_int (python.tests.test_helper_functions.TestCalculateCropRange) ... ok
15:43:46 test_valid_crop_range (python.tests.test_helper_functions.TestCalculateCropRange) ... ok
15:43:46 test_long_height_image_size (python.tests.test_helper_functions.TestCalculateImagePositions) ... ok
15:43:46 test_long_width_image_size (python.tests.test_helper_functions.TestCalculateImagePositions) ... ok
15:43:46 test_non_int_zero_negative (python.tests.test_helper_functions.TestCalculateImagePositions) ... ok
15:43:46 test_square_image_size (python.tests.test_helper_functions.TestCalculateImagePositions) ... ok
15:43:46 test_1080_display_length (python.tests.test_helper_functions.TestGetIdealImageResolution) ... ok
15:43:46 test_input_non_int_or_zero (python.tests.test_helper_functions.TestGetIdealImageResolution) ... ok
15:43:46 test_larger_than_known (python.tests.test_helper_functions.TestGetIdealImageResolution) ... ok
15:43:46 test_small_display_area (python.tests.test_helper_functions.TestGetIdealImageResolution) ... ok
15:43:46 test_correct_type_and_format (python.tests.test_helper_functions.TestGetScreenDimensions) ... ok
15:43:46 test_90_degree_rotation (python.tests.test_helper_functions.TestRotateImageClockwise) ... ok
15:43:46 test_no_rotation (python.tests.test_helper_functions.TestRotateImageClockwise) ... ok
15:43:46 test_height_mt_width (python.tests.test_helper_functions.TestScreenBoundaries) ... ok
15:43:46 test_non_int_zero_negative (python.tests.test_helper_functions.TestScreenBoundaries) ... ok
15:43:46 test_width_mt_height (python.tests.test_helper_functions.TestScreenBoundaries) ... ok
15:43:46 test_integer_zero (python.tests.test_parsers.TestIntParser) ... ok
15:43:46 test_negative (python.tests.test_parsers.TestIntParser) ... ok
15:43:46 test_non_int (python.tests.test_parsers.TestIntParser) ... ok
15:43:46 test_negative (python.tests.test_parsers.TestNonZeroParser) ... ok
15:43:46 test_positive (python.tests.test_parsers.TestNonZeroParser) ... ok
15:43:46 test_zero (python.tests.test_parsers.TestNonZeroParser) ... ok
15:43:46 test_negative (python.tests.test_parsers.TestPositiveParser) ... ok
15:43:46 test_positive (python.tests.test_parsers.TestPositiveParser) ... ok
15:43:46 test_zero (python.tests.test_parsers.TestPositiveParser) ... ok
15:43:46 test_begin_capture_from_webcam (python.tests.test_video_processor.TestCameraCapture) ... ok
15:43:47 test_begin_capture_with_non_int (python.tests.test_video_processor.TestCameraCapture) ... ok
15:43:47 test_end_capture_from_webcam (python.tests.test_video_processor.TestCameraCapture) ... ok
15:43:48 test_video_feed_initial_state (python.tests.test_video_processor.TestCameraCapture) ... ok
15:43:48 test_height_input (python.tests.test_video_processor.TestInitForVidoeProcessor) ... ok
15:43:48 test_no_input (python.tests.test_video_processor.TestInitForVidoeProcessor) ... ok
15:43:48 test_width_input (python.tests.test_video_processor.TestInitForVidoeProcessor) ... ok
15:43:48 test_close_to_resolution (python.tests.test_video_processor.TestScaleVideoFeed) ... ok
15:43:49 test_same_resolution_as_video (python.tests.test_video_processor.TestScaleVideoFeed) ... ok
15:43:49 test_scale_down_resolution (python.tests.test_video_processor.TestScaleVideoFeed) ... ok
15:43:50 test_up_scale_resolution (python.tests.test_video_processor.TestScaleVideoFeed) ... ok
15:43:51
15:43:51 ----------------------------------------------------------------------
15:43:51 XML: C:\Users\User\.jenkins\workspace\pythontests\nosetests.xml
15:43:51 Name Stmts Miss Cover
15:43:51 -------------------------------
15:43:51 python.py 0 0 100%
15:43:51 ----------------------------------------------------------------------
15:43:51 Ran 39 tests in 4.230s
15:43:51
15:43:51 OK
15:43:51
15:43:51 C:\Users\User\.jenkins\workspace\pythontests>python -m coverage xml --include=python* --omit=python/vpa/run_vpa.py
15:43:51
15:43:51 C:\Users\User\.jenkins\workspace\pythontests>pylint -f parseable -d I0011,R0801,E0401,E0611,W0403,W0401,C0412 --rcfile=.pylintrc python 1>pylint.out & type pylint.out
15:43:54
15:43:54
15:43:54 Report
15:43:54 ======
15:43:54 330 statements analysed.
15:43:54
15:43:54 Statistics by type
15:43:54 ------------------
15:43:54
15:43:54 +---------+-------+-----------+-----------+------------+---------+
15:43:54 |type |number |old number |difference |%documented |%badname |
15:43:54 +=========+=======+===========+===========+============+=========+
15:43:54 |module |11 |11 |= |100.00 |0.00 |
15:43:54 +---------+-------+-----------+-----------+------------+---------+
15:43:54 |class |13 |13 |= |100.00 |0.00 |
15:43:54 +---------+-------+-----------+-----------+------------+---------+
15:43:54 |method |51 |51 |= |100.00 |0.00 |
15:43:54 +---------+-------+-----------+-----------+------------+---------+
15:43:54 |function |9 |9 |= |100.00 |0.00 |
15:43:54 +---------+-------+-----------+-----------+------------+---------+
15:43:54
15:43:54
15:43:54
15:43:54 External dependencies
15:43:54 ---------------------
15:43:54 ::
15:43:54
15:43:54 cv2 (python.vpa.helper_functions,python.vpa.video_processor,python.tests.test_video_processor)
15:43:54 numpy (python.vpa.video_processor,python.tests.test_helper_functions)
15:43:54 python
15:43:54 \-tests
15:43:54 | \-context (python.tests.test_parsers,python.tests.test_helper_functions,python.tests.test_video_processor)
15:43:54 \-vpa
15:43:54 \-helper_functions (python.vpa.video_processor)
15:43:54 \-parsers (python.vpa.helper_functions,python.vpa.video_processor)
15:43:54 \-video_processor (python.vpa.run_vpa)
15:43:54
15:43:54
15:43:54
15:43:54 Raw metrics
15:43:54 -----------
15:43:54
15:43:54 +----------+-------+------+---------+-----------+
15:43:54 |type |number |% |previous |difference |
15:43:54 +==========+=======+======+=========+===========+
15:43:54 |code |378 |53.31 |378 |= |
15:43:54 +----------+-------+------+---------+-----------+
15:43:54 |docstring |154 |21.72 |154 |= |
15:43:54 +----------+-------+------+---------+-----------+
15:43:54 |comment |46 |6.49 |46 |= |
15:43:54 +----------+-------+------+---------+-----------+
15:43:54 |empty |131 |18.48 |131 |= |
15:43:54 +----------+-------+------+---------+-----------+
15:43:54
15:43:54
15:43:54
15:43:54 Duplication
15:43:54 -----------
15:43:54
15:43:54 +-------------------------+------+---------+-----------+
15:43:54 | |now |previous |difference |
15:43:54 +=========================+======+=========+===========+
15:43:54 |nb duplicated lines |0 |0 |= |
15:43:54 +-------------------------+------+---------+-----------+
15:43:54 |percent duplicated lines |0.000 |0.000 |= |
15:43:54 +-------------------------+------+---------+-----------+
15:43:54
15:43:54
15:43:54
15:43:54 Messages by category
15:43:54 --------------------
15:43:54
15:43:54 +-----------+-------+---------+-----------+
15:43:54 |type |number |previous |difference |
15:43:54 +===========+=======+=========+===========+
15:43:54 |convention |0 |0 |= |
15:43:54 +-----------+-------+---------+-----------+
15:43:54 |refactor |0 |0 |= |
15:43:54 +-----------+-------+---------+-----------+
15:43:54 |warning |0 |0 |= |
15:43:54 +-----------+-------+---------+-----------+
15:43:54 |error |0 |0 |= |
15:43:54 +-----------+-------+---------+-----------+
15:43:54
15:43:54
15:43:54
15:43:54 Global evaluation
15:43:54 -----------------
15:43:54 Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
15:43:54
15:43:54
15:43:54 C:\Users\User\.jenkins\workspace\pythontests>exit 0
15:43:54 [Cobertura] Publishing Cobertura coverage report...
15:43:54 Publishing Cobertura coverage results...
15:43:54 Cobertura coverage report found.
15:43:54 Recording test results
15:43:54 Finished: SUCCESS```
Description of work
This puts the application in the prototype phrase with the mitigation of not having background subtraction yet (this will be developed in feature 2 after this is merged). Large scale refactoring done in this issue
Merge criteria
Refs #37