ElliotAOram / GhostPyramid

CS39440 Major project
0 stars 0 forks source link

Revert "Feature 3: Functionality to Duplicate video feeds" #34

Closed ElliotAOram closed 7 years ago

ElliotAOram commented 7 years ago

Reverts ElliotAOram/GhostPyramid#30

ElliotAOram commented 7 years ago

See #31 for the justification of this revert

ElliotAOram commented 7 years ago

Jenkins Output

16:31:20 Building in workspace C:\Users\User\.jenkins\workspace\pythontests
16:31:20 [WS-CLEANUP] Deleting project workspace...
16:31:20 [WS-CLEANUP] Done
16:31:20 Cloning the remote Git repository
16:31:20 Cloning repository https://github.com/ElliotAOram/GhostPyramid
16:31:20  > C:/Program Files/Git/bin/git.exe. init C:\Users\User\.jenkins\workspace\pythontests # timeout=10
16:31:20 Fetching upstream changes from https://github.com/ElliotAOram/GhostPyramid
16:31:20  > C:/Program Files/Git/bin/git.exe. --version # timeout=10
16:31:20  > C:/Program Files/Git/bin/git.exe. fetch --tags --progress https://github.com/ElliotAOram/GhostPyramid +refs/heads/*:refs/remotes/origin/*
16:31:23  > C:/Program Files/Git/bin/git.exe. config remote.origin.url https://github.com/ElliotAOram/GhostPyramid # timeout=10
16:31:23  > C:/Program Files/Git/bin/git.exe. config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
16:31:23  > C:/Program Files/Git/bin/git.exe. config remote.origin.url https://github.com/ElliotAOram/GhostPyramid # timeout=10
16:31:23 Fetching upstream changes from https://github.com/ElliotAOram/GhostPyramid
16:31:23  > C:/Program Files/Git/bin/git.exe. fetch --tags --progress https://github.com/ElliotAOram/GhostPyramid +refs/heads/*:refs/remotes/origin/*
16:31:24  > C:/Program Files/Git/bin/git.exe. rev-parse "refs/remotes/origin/revert-30-29_feature_3^{commit}" # timeout=10
16:31:24  > C:/Program Files/Git/bin/git.exe. rev-parse "refs/remotes/origin/origin/revert-30-29_feature_3^{commit}" # timeout=10
16:31:24 Checking out Revision ee8664b230753d8ff24761f15e55d18d1bc5680d (refs/remotes/origin/revert-30-29_feature_3)
16:31:24  > C:/Program Files/Git/bin/git.exe. config core.sparsecheckout # timeout=10
16:31:24  > C:/Program Files/Git/bin/git.exe. checkout -f ee8664b230753d8ff24761f15e55d18d1bc5680d
16:31:24 First time build. Skipping changelog.
16:31:24 [pythontests] $ cmd /c call C:\WINDOWS\TEMP\hudson4886220917643914630.bat
16:31:24 
16:31:24 C:\Users\User\.jenkins\workspace\pythontests>set PYTHONPATH='C:\Python27' 
16:31:24 
16:31:24 C:\Users\User\.jenkins\workspace\pythontests>pip install nose 
16:31:26 Requirement already satisfied: nose in c:\python27\lib\site-packages
16:31:26 
16:31:26 C:\Users\User\.jenkins\workspace\pythontests>pip install pylint 
16:31:26 Requirement already satisfied: pylint in c:\python27\lib\site-packages
16:31:26 Requirement already satisfied: mccabe in c:\python27\lib\site-packages (from pylint)
16:31:26 Requirement already satisfied: isort>=4.2.5 in c:\python27\lib\site-packages (from pylint)
16:31:26 Requirement already satisfied: six in c:\python27\lib\site-packages (from pylint)
16:31:26 Requirement already satisfied: configparser; python_version == "2.7" in c:\python27\lib\site-packages (from pylint)
16:31:26 Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in c:\python27\lib\site-packages (from pylint)
16:31:26 Requirement already satisfied: colorama; sys_platform == "win32" in c:\python27\lib\site-packages (from pylint)
16:31:26 Requirement already satisfied: astroid<1.5.0,>=1.4.5 in c:\python27\lib\site-packages (from pylint)
16:31:26 Requirement already satisfied: wrapt in c:\python27\lib\site-packages (from astroid<1.5.0,>=1.4.5->pylint)
16:31:26 Requirement already satisfied: lazy-object-proxy in c:\python27\lib\site-packages (from astroid<1.5.0,>=1.4.5->pylint)
16:31:26 
16:31:26 C:\Users\User\.jenkins\workspace\pythontests>nosetests -v --with-xunit --with-coverage --cover-package=python --cover-inclusive --all-modules python/tests/ 
16:31:28 Ensure that when the video_feed is started, the object is no ... ok
16:31:29 vpa.begin_capture only supports integer input. ... ok
16:31:29 Ensure that the camera is correctly released after use ... ok
16:31:29 Initial state of video_feed variable should be None ... ok
16:31:29 
16:31:29 ----------------------------------------------------------------------
16:31:29 XML: C:\Users\User\.jenkins\workspace\pythontests\nosetests.xml
16:31:29 Name        Stmts   Miss  Cover
16:31:29 -------------------------------
16:31:29 python.py       0      0   100%
16:31:29 ----------------------------------------------------------------------
16:31:29 Ran 4 tests in 1.540s
16:31:29 
16:31:29 OK
16:31:29 
16:31:29 C:\Users\User\.jenkins\workspace\pythontests>python -m coverage xml --include=python* 
16:31:30 
16:31:30 C:\Users\User\.jenkins\workspace\pythontests>pylint -f parseable -d I0011,R0801,E0401,E0611 --rcfile=python\.pylintrc python   1>pylint.out  & type pylint.out 
16:31:31 
16:31:31 

16:31:31 Report

16:31:31 ======

16:31:31 41 statements analysed.

16:31:31 

16:31:31 Statistics by type

16:31:31 ------------------

16:31:31 
16:31:31 +---------+-------+-----------+-----------+------------+---------+
16:31:31 |type     |number |old number |difference |%documented |%badname |
16:31:31 +=========+=======+===========+===========+============+=========+
16:31:31 |module   |6      |6          |=          |100.00      |0.00     |
16:31:31 +---------+-------+-----------+-----------+------------+---------+
16:31:31 |class    |2      |3          |-1.00      |100.00      |0.00     |
16:31:31 +---------+-------+-----------+-----------+------------+---------+
16:31:31 |method   |10     |19         |-9.00      |100.00      |0.00     |
16:31:31 +---------+-------+-----------+-----------+------------+---------+
16:31:31 |function |0      |1          |-1.00      |0           |0        |
16:31:31 +---------+-------+-----------+-----------+------------+---------+
16:31:31 

16:31:31 

16:31:31 

16:31:31 External dependencies

16:31:31 ---------------------

16:31:31 ::
16:31:31 

16:31:31     cv2 (python.vpa.video_processor,python.tests.test_video_processor)

16:31:31     python 

16:31:31       \-tests 

16:31:31         \-context (python.tests.test_video_processor)

16:31:31 

16:31:31 

16:31:31 

16:31:31 Raw metrics

16:31:31 -----------

16:31:31 
16:31:31 +----------+-------+------+---------+-----------+
16:31:31 |type      |number |%     |previous |difference |
16:31:31 +==========+=======+======+=========+===========+
16:31:31 |code      |44     |36.36 |89       |-45.00     |
16:31:31 +----------+-------+------+---------+-----------+
16:31:31 |docstring |45     |37.19 |86       |-41.00     |
16:31:31 +----------+-------+------+---------+-----------+
16:31:31 |comment   |7      |5.79  |10       |-3.00      |
16:31:31 +----------+-------+------+---------+-----------+
16:31:31 |empty     |25     |20.66 |35       |-10.00     |
16:31:31 +----------+-------+------+---------+-----------+
16:31:31 

16:31:31 

16:31:31 

16:31:31 Duplication

16:31:31 -----------

16:31:31 
16:31:31 +-------------------------+------+---------+-----------+
16:31:31 |                         |now   |previous |difference |
16:31:31 +=========================+======+=========+===========+
16:31:31 |nb duplicated lines      |0     |0        |=          |
16:31:31 +-------------------------+------+---------+-----------+
16:31:31 |percent duplicated lines |0.000 |0.000    |=          |
16:31:31 +-------------------------+------+---------+-----------+
16:31:31 

16:31:31 

16:31:31 

16:31:31 Messages by category

16:31:31 --------------------

16:31:31 
16:31:31 +-----------+-------+---------+-----------+
16:31:31 |type       |number |previous |difference |
16:31:31 +===========+=======+=========+===========+
16:31:31 |convention |0      |0        |=          |
16:31:31 +-----------+-------+---------+-----------+
16:31:31 |refactor   |0      |0        |=          |
16:31:31 +-----------+-------+---------+-----------+
16:31:31 |warning    |0      |0        |=          |
16:31:31 +-----------+-------+---------+-----------+
16:31:31 |error      |0      |0        |=          |
16:31:31 +-----------+-------+---------+-----------+
16:31:31 

16:31:31 

16:31:31 

16:31:31 Global evaluation

16:31:31 -----------------

16:31:31 Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

16:31:31 

16:31:31 
16:31:31 C:\Users\User\.jenkins\workspace\pythontests>exit 0 
16:31:31 [Cobertura] Publishing Cobertura coverage report...
16:31:31 Publishing Cobertura coverage results...
16:31:31 Cobertura coverage report found.
16:31:31 Recording test results
16:31:31 Finished: SUCCESS
ElliotAOram commented 7 years ago

Jenkins Output: Graphs for Build 53

image

ElliotAOram commented 7 years ago

This passes on jenkins and is a roll back so does not require a review