openshift-eng / elliott

Apache License 2.0
15 stars 28 forks source link

Enable onlyjira mode for testing #347

Closed thegreyd closed 2 years ago

thegreyd commented 2 years ago

Note: I'm breaking changes in this PR into several self-contained ones. After those merge, this should be the PR which has only 'onlyjira' changes

We want 3 modes when working with jira and bugzilla 1) Strictly use bugzilla only

We have mode 1 and 2 in place, this PR puts in place 3, and also the logical behavior of 2.

Test

openshift-bot commented 2 years ago

Build #1

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 create: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev34+gfc8f42f.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.5,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.5.18.1,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.1.2,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev34%2Bgfc8f42f.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='1263486346'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
..................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
........................F.................F.F.................Retrieving bugs for advisory ['12345']
...
======================================================================
FAIL: test_find_bugs_sweep_report_jira (tests.test_find_bugs_sweep_cli.FindBugsSweepTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_find_bugs_sweep_cli.py", line 192, in test_find_bugs_sweep_report_jira
    self.fail(t)
AssertionError: Traceback (most recent call last):

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/testing.py", line 408, in invoke
    return_value = cli.main(args=args or (), prog_name=prog_name, **extra)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/decorators.py", line 38, in new_func
    return f(get_current_context().obj, *args, **kwargs)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/cli/find_bugs_sweep_cli.py", line 116, in find_bugs_sweep_cli
    for b in runtime.bug_trackers:

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/runtime.py", line 286, in bug_trackers
    self._bug_trackers['jira'] = JIRABugTracker(JIRABugTracker.get_config(self))

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/bzutil.py", line 290, in get_config
    return runtime.gitdata.load_data(key='bug').data

AttributeError: 'Runtime' object has no attribute 'gitdata'

======================================================================
FAIL: test_remove_all (tests.test_remove_bugs_cli.RemoveBugsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_remove_bugs_cli.py", line 72, in test_remove_all
    self.assertIn("Found 2 bugs", result.output)
AssertionError: 'Found 2 bugs' not found in ''

======================================================================
FAIL: test_remove_bugzilla_bug (tests.test_remove_bugs_cli.RemoveBugsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_remove_bugs_cli.py", line 27, in test_remove_bugzilla_bug
    self.assertIn("Found 2 bugs", result.output)
AssertionError: 'Found 2 bugs' not found in ''

----------------------------------------------------------------------
Ran 156 tests in 1.633s

FAILED (failures=3)
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/bin/coverage run --branch --source elliottlib -m unittest discover -t . -s tests/ (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py36: commands failed
openshift-bot commented 2 years ago

Build #2

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 recreate: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev35+gfafd598.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.5,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.5.18.1,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.1.2,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev35%2Bgfafd598.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='948412969'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
..................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
........................F.................F.F.................Retrieving bugs for advisory ['12345']
...
======================================================================
FAIL: test_find_bugs_sweep_report_jira (tests.test_find_bugs_sweep_cli.FindBugsSweepTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_find_bugs_sweep_cli.py", line 192, in test_find_bugs_sweep_report_jira
    self.fail(t)
AssertionError: Traceback (most recent call last):

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/testing.py", line 408, in invoke
    return_value = cli.main(args=args or (), prog_name=prog_name, **extra)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/click/decorators.py", line 38, in new_func
    return f(get_current_context().obj, *args, **kwargs)

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/cli/find_bugs_sweep_cli.py", line 116, in find_bugs_sweep_cli
    for b in runtime.bug_trackers.values():

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/runtime.py", line 286, in bug_trackers
    self._bug_trackers['jira'] = JIRABugTracker(JIRABugTracker.get_config(self))

  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/bzutil.py", line 290, in get_config
    return runtime.gitdata.load_data(key='bug').data

AttributeError: 'Runtime' object has no attribute 'gitdata'

======================================================================
FAIL: test_remove_all (tests.test_remove_bugs_cli.RemoveBugsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_remove_bugs_cli.py", line 72, in test_remove_all
    self.assertIn("Found 2 bugs", result.output)
AssertionError: 'Found 2 bugs' not found in ''

======================================================================
FAIL: test_remove_bugzilla_bug (tests.test_remove_bugs_cli.RemoveBugsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_remove_bugs_cli.py", line 27, in test_remove_bugzilla_bug
    self.assertIn("Found 2 bugs", result.output)
AssertionError: 'Found 2 bugs' not found in ''

----------------------------------------------------------------------
Ran 156 tests in 1.537s

FAILED (failures=3)
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/bin/coverage run --branch --source elliottlib -m unittest discover -t . -s tests/ (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py36: commands failed
openshift-bot commented 2 years ago

Build #3

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 recreate: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev36+g8bf8a6a.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.5,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.5.18.1,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.1.2,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev36%2Bg8bf8a6a.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='2600944690'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
..................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
...........................................................Retrieving bugs for advisory ['12345']
...
----------------------------------------------------------------------
Ran 156 tests in 1.698s

OK
py36 run-test: commands[1] | coverage report
Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
elliottlib/__init__.py                                7      2      2      1    67%
elliottlib/assembly.py                               92      9     54      7    89%
elliottlib/assertion.py                              11      0      6      0   100%
elliottlib/brew.py                                  317    188    134      5    35%
elliottlib/bug/__init__.py                            0      0      0      0   100%
elliottlib/build_finder.py                          114     12     74     15    86%
elliottlib/bzutil.py                                615    185    288     33    67%
elliottlib/cincinnati.py                             21     21      4      0     0%
elliottlib/cli/__init__.py                            0      0      0      0   100%
elliottlib/cli/__main__.py                          268    268     72      0     0%
elliottlib/cli/add_metadata_cli.py                   32     32      4      0     0%
elliottlib/cli/advisory_commons_cli.py               89     89     38      0     0%
elliottlib/cli/advisory_drop_cli.py                  20     20      2      0     0%
elliottlib/cli/advisory_images_cli.py                13     13      2      0     0%
elliottlib/cli/advisory_impetus_cli.py               21     21      6      0     0%
elliottlib/cli/attach_bugs_cli.py                    40     40     16      0     0%
elliottlib/cli/attach_cve_flaws_cli.py              105     54     46      6    46%
elliottlib/cli/change_state_cli.py                   52     52     20      0     0%
elliottlib/cli/cli_opts.py                           13      0     15      0   100%
elliottlib/cli/common.py                             49     14      6      1    65%
elliottlib/cli/create_cli.py                         70     70     20      0     0%
elliottlib/cli/create_placeholder_cli.py             48     48     12      0     0%
elliottlib/cli/create_textonly_cli.py                56     56      8      0     0%
elliottlib/cli/find_bugs_blocker_cli.py              33      0     10      3    93%
elliottlib/cli/find_bugs_qe_cli.py                   23      0      6      0   100%
elliottlib/cli/find_bugs_sweep_cli.py               153     45     74     11    65%
elliottlib/cli/find_builds_cli.py                   255    188    169      2    20%
elliottlib/cli/get_golang_versions_cli.py            55     21     32      5    49%
elliottlib/cli/list_cli.py                           16     16      4      0     0%
elliottlib/cli/puddle_advisories_cli.py              36     36     10      0     0%
elliottlib/cli/remove_bugs_cli.py                    60     10     34      7    80%
elliottlib/cli/repair_bugs_cli.py                    63     10     28      7    77%
elliottlib/cli/rhcos_cli.py                          96     96     54      0     0%
elliottlib/cli/rpmdiff_cli.py                       100    100     34      0     0%
elliottlib/cli/tag_builds_cli.py                    128    128     62      0     0%
elliottlib/cli/tarball_sources_cli.py                81     81     26      0     0%
elliottlib/cli/validate_rhsa.py                      40     40     10      0     0%
elliottlib/cli/verify_attached_bugs_cli.py          202    145    121      1    20%
elliottlib/cli/verify_attached_operators_cli.py     114     81     52      0    20%
elliottlib/cli/verify_cvp_cli.py                    286    286    138      0     0%
elliottlib/constants.py                              50      0      0      0   100%
elliottlib/dotconfig.py                              54     11     30      6    75%
elliottlib/errata.py                                289    177    130      4    35%
elliottlib/errata_async.py                          109      6     38      5    93%
elliottlib/exceptions.py                             12      0      0      0   100%
elliottlib/exectools.py                              75      5     24      3    90%
elliottlib/gitdata.py                               170    137     76      0    13%
elliottlib/imagecfg.py                               18      2      0      0    89%
elliottlib/logutil.py                                 9      1      2      1    82%
elliottlib/metadata.py                              154     43     76     18    67%
elliottlib/model.py                                 102     22     30      2    79%
elliottlib/openshiftclient.py                        34     34      8      0     0%
elliottlib/pushd.py                                  20      0      2      0   100%
elliottlib/resultsdb.py                              28     28      8      0     0%
elliottlib/rhcos.py                                  51     51     12      0     0%
elliottlib/rpm_utils.py                              30     14     16      5    46%
elliottlib/rpmcfg.py                                  5      2      0      0    60%
elliottlib/rpmdiff.py                                31      0      0      0   100%
elliottlib/runtime.py                               269    200    104      2    20%
elliottlib/tarball_sources.py                        90     61     34      0    30%
elliottlib/util.py                                  299    166    110      9    41%
-----------------------------------------------------------------------------------
TOTAL                                              5693   3437   2393    159    37%
py36 run-test: commands[2] | flake8
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)
openshift-bot commented 2 years ago

Build #4

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 recreate: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev38+g3533a25.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.5,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.5.18.1,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.1.2,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev38%2Bg3533a25.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='1925306007'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
..................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
........................................................Retrieving bugs for advisory ['12345']
...
----------------------------------------------------------------------
Ran 153 tests in 1.537s

OK
py36 run-test: commands[1] | coverage report
Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
elliottlib/__init__.py                                7      2      2      1    67%
elliottlib/assembly.py                               92      9     54      7    89%
elliottlib/assertion.py                              11      0      6      0   100%
elliottlib/brew.py                                  317    188    134      5    35%
elliottlib/bug/__init__.py                            0      0      0      0   100%
elliottlib/build_finder.py                          114     12     74     15    86%
elliottlib/bzutil.py                                623    193    292     33    66%
elliottlib/cincinnati.py                             21     21      4      0     0%
elliottlib/cli/__init__.py                            0      0      0      0   100%
elliottlib/cli/__main__.py                          268    268     72      0     0%
elliottlib/cli/add_metadata_cli.py                   32     32      4      0     0%
elliottlib/cli/advisory_commons_cli.py               89     89     38      0     0%
elliottlib/cli/advisory_drop_cli.py                  20     20      2      0     0%
elliottlib/cli/advisory_images_cli.py                13     13      2      0     0%
elliottlib/cli/advisory_impetus_cli.py               21     21      6      0     0%
elliottlib/cli/attach_bugs_cli.py                    40     40     16      0     0%
elliottlib/cli/attach_cve_flaws_cli.py              105     54     46      6    46%
elliottlib/cli/change_state_cli.py                   52     52     20      0     0%
elliottlib/cli/cli_opts.py                           13      0     15      0   100%
elliottlib/cli/common.py                             49     14      6      1    65%
elliottlib/cli/create_cli.py                         70     70     20      0     0%
elliottlib/cli/create_placeholder_cli.py             48     48     12      0     0%
elliottlib/cli/create_textonly_cli.py                56     56      8      0     0%
elliottlib/cli/find_bugs_blocker_cli.py              33      0     10      3    93%
elliottlib/cli/find_bugs_qe_cli.py                   23      0      6      0   100%
elliottlib/cli/find_bugs_sweep_cli.py               153     45     74     11    65%
elliottlib/cli/find_builds_cli.py                   255    188    169      2    20%
elliottlib/cli/get_golang_versions_cli.py            55     21     32      5    49%
elliottlib/cli/list_cli.py                           16     16      4      0     0%
elliottlib/cli/puddle_advisories_cli.py              36     36     10      0     0%
elliottlib/cli/remove_bugs_cli.py                    60     10     34      7    80%
elliottlib/cli/repair_bugs_cli.py                    63     10     28      7    77%
elliottlib/cli/rhcos_cli.py                          96     96     54      0     0%
elliottlib/cli/rpmdiff_cli.py                       100    100     34      0     0%
elliottlib/cli/tag_builds_cli.py                    128    128     62      0     0%
elliottlib/cli/tarball_sources_cli.py                81     81     26      0     0%
elliottlib/cli/validate_rhsa.py                      40     40     10      0     0%
elliottlib/cli/verify_attached_bugs_cli.py          202    145    121      1    20%
elliottlib/cli/verify_attached_operators_cli.py     114     81     52      0    20%
elliottlib/cli/verify_cvp_cli.py                    286    286    138      0     0%
elliottlib/constants.py                              50      0      0      0   100%
elliottlib/dotconfig.py                              54     11     30      6    75%
elliottlib/errata.py                                289    177    130      4    35%
elliottlib/errata_async.py                          109      6     38      5    93%
elliottlib/exceptions.py                             12      0      0      0   100%
elliottlib/exectools.py                              75      5     24      3    90%
elliottlib/gitdata.py                               170    137     76      0    13%
elliottlib/imagecfg.py                               18      2      0      0    89%
elliottlib/logutil.py                                 9      1      2      1    82%
elliottlib/metadata.py                              154     43     76     18    67%
elliottlib/model.py                                 102     22     30      2    79%
elliottlib/openshiftclient.py                        34     34      8      0     0%
elliottlib/pushd.py                                  20      0      2      0   100%
elliottlib/resultsdb.py                              28     28      8      0     0%
elliottlib/rhcos.py                                  51     51     12      0     0%
elliottlib/rpm_utils.py                              30     14     16      5    46%
elliottlib/rpmcfg.py                                  5      2      0      0    60%
elliottlib/rpmdiff.py                                31      0      0      0   100%
elliottlib/runtime.py                               269    200    104      2    20%
elliottlib/tarball_sources.py                        90     61     34      0    30%
elliottlib/util.py                                  299    166    110      9    41%
-----------------------------------------------------------------------------------
TOTAL                                              5701   3445   2397    159    37%
py36 run-test: commands[2] | flake8
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)
openshift-bot commented 2 years ago

Build #5

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 recreate: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev40+gf914946.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.5,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.5.18.1,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.1.2,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev40%2Bgf914946.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='774128650'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
..................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
........................................................Retrieving bugs for advisory ['12345']
...
----------------------------------------------------------------------
Ran 153 tests in 1.588s

OK
py36 run-test: commands[1] | coverage report
Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
elliottlib/__init__.py                                7      2      2      1    67%
elliottlib/assembly.py                               92      9     54      7    89%
elliottlib/assertion.py                              11      0      6      0   100%
elliottlib/brew.py                                  317    188    134      5    35%
elliottlib/bug/__init__.py                            0      0      0      0   100%
elliottlib/build_finder.py                          114     12     74     15    86%
elliottlib/bzutil.py                                623    193    292     33    66%
elliottlib/cincinnati.py                             21     21      4      0     0%
elliottlib/cli/__init__.py                            0      0      0      0   100%
elliottlib/cli/__main__.py                          268    268     72      0     0%
elliottlib/cli/add_metadata_cli.py                   32     32      4      0     0%
elliottlib/cli/advisory_commons_cli.py               89     89     38      0     0%
elliottlib/cli/advisory_drop_cli.py                  20     20      2      0     0%
elliottlib/cli/advisory_images_cli.py                13     13      2      0     0%
elliottlib/cli/advisory_impetus_cli.py               21     21      6      0     0%
elliottlib/cli/attach_bugs_cli.py                    40     40     16      0     0%
elliottlib/cli/attach_cve_flaws_cli.py              105     54     46      6    46%
elliottlib/cli/change_state_cli.py                   52     52     20      0     0%
elliottlib/cli/cli_opts.py                           13      0     15      0   100%
elliottlib/cli/common.py                             49     14      6      1    65%
elliottlib/cli/create_cli.py                         70     70     20      0     0%
elliottlib/cli/create_placeholder_cli.py             48     48     12      0     0%
elliottlib/cli/create_textonly_cli.py                56     56      8      0     0%
elliottlib/cli/find_bugs_blocker_cli.py              33      0     10      3    93%
elliottlib/cli/find_bugs_qe_cli.py                   23      0      6      0   100%
elliottlib/cli/find_bugs_sweep_cli.py               154     45     74     11    65%
elliottlib/cli/find_builds_cli.py                   255    188    169      2    20%
elliottlib/cli/get_golang_versions_cli.py            55     21     32      5    49%
elliottlib/cli/list_cli.py                           16     16      4      0     0%
elliottlib/cli/puddle_advisories_cli.py              36     36     10      0     0%
elliottlib/cli/remove_bugs_cli.py                    60     10     34      7    80%
elliottlib/cli/repair_bugs_cli.py                    63     10     28      7    77%
elliottlib/cli/rhcos_cli.py                          96     96     54      0     0%
elliottlib/cli/rpmdiff_cli.py                       100    100     34      0     0%
elliottlib/cli/tag_builds_cli.py                    128    128     62      0     0%
elliottlib/cli/tarball_sources_cli.py                81     81     26      0     0%
elliottlib/cli/validate_rhsa.py                      40     40     10      0     0%
elliottlib/cli/verify_attached_bugs_cli.py          202    145    121      1    20%
elliottlib/cli/verify_attached_operators_cli.py     114     81     52      0    20%
elliottlib/cli/verify_cvp_cli.py                    286    286    138      0     0%
elliottlib/constants.py                              50      0      0      0   100%
elliottlib/dotconfig.py                              54     11     30      6    75%
elliottlib/errata.py                                289    177    130      4    35%
elliottlib/errata_async.py                          109      6     38      5    93%
elliottlib/exceptions.py                             12      0      0      0   100%
elliottlib/exectools.py                              75      5     24      3    90%
elliottlib/gitdata.py                               170    137     76      0    13%
elliottlib/imagecfg.py                               18      2      0      0    89%
elliottlib/logutil.py                                 9      1      2      1    82%
elliottlib/metadata.py                              154     43     76     18    67%
elliottlib/model.py                                 102     22     30      2    79%
elliottlib/openshiftclient.py                        34     34      8      0     0%
elliottlib/pushd.py                                  20      0      2      0   100%
elliottlib/resultsdb.py                              28     28      8      0     0%
elliottlib/rhcos.py                                  51     51     12      0     0%
elliottlib/rpm_utils.py                              30     14     16      5    46%
elliottlib/rpmcfg.py                                  5      2      0      0    60%
elliottlib/rpmdiff.py                                31      0      0      0   100%
elliottlib/runtime.py                               269    200    104      2    20%
elliottlib/tarball_sources.py                        90     61     34      0    30%
elliottlib/util.py                                  299    166    110      9    41%
-----------------------------------------------------------------------------------
TOTAL                                              5702   3445   2397    159    37%
py36 run-test: commands[2] | flake8
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)
openshift-bot commented 2 years ago

Build #6

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 recreate: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev41+gffd9ebd.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.5,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.5.18.1,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.1.2,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev41%2Bgffd9ebd.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='2703820770'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
..................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
...............F.F........................................Retrieving bugs for advisory ['12345']
...
======================================================================
FAIL: test_find_bugs_qe_bz (tests.test_find_bugs_qe_cli.FindBugsQETestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_find_bugs_qe_cli.py", line 31, in test_find_bugs_qe_bz
    self.assertIn(search_string1, result.output)
AssertionError: 'Searching for bugs with status MODIFIED and target release(s): 4.6.z' not found in "Searching bugzilla for bugs with status ['MODIFIED'] and target releases: ['4.6.z']\nFound 1 bugs: 123\n"

======================================================================
FAIL: test_find_bugs_qe_jira (tests.test_find_bugs_qe_cli.FindBugsQETestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/mock/mock.py", line 1778, in _inner
    return f(*args, **kw)
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_find_bugs_qe_cli.py", line 63, in test_find_bugs_qe_jira
    self.assertIn(search_string1, result.output)
AssertionError: 'Searching for bugs with status MODIFIED and target release(s): 4.6.z' not found in "Searching bugzilla for bugs with status ['MODIFIED'] and target releases: ['4.6.z']\nFound 1 bugs: OCPBUGS-123\nSearching jira for bugs with status ['MODIFIED'] and target releases: ['4.6.z']\nFound 1 bugs: OCPBUGS-123\n"

----------------------------------------------------------------------
Ran 153 tests in 1.618s

FAILED (failures=2)
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/bin/coverage run --branch --source elliottlib -m unittest discover -t . -s tests/ (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py36: commands failed
openshift-bot commented 2 years ago

Build #7

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev42+g1ef11e7.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.5,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.5.18.1,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.1.2,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev42%2Bg1ef11e7.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='2329170513'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
..................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
...............F.F........................................Retrieving bugs for advisory ['12345']
...
======================================================================
FAIL: test_find_bugs_qe_bz (tests.test_find_bugs_qe_cli.FindBugsQETestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_find_bugs_qe_cli.py", line 31, in test_find_bugs_qe_bz
    self.assertIn(search_string1, result.output)
AssertionError: 'Searching for bugs with status MODIFIED and target release(s): 4.6.z' not found in "Searching bugzilla for bugs with status ['MODIFIED'] and target releases: ['4.6.z']\nFound 1 bugs: 123\n"

======================================================================
FAIL: test_find_bugs_qe_jira (tests.test_find_bugs_qe_cli.FindBugsQETestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/mock/mock.py", line 1778, in _inner
    return f(*args, **kw)
  File "/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/tests/test_find_bugs_qe_cli.py", line 63, in test_find_bugs_qe_jira
    self.assertIn(search_string1, result.output)
AssertionError: 'Searching for bugs with status MODIFIED and target release(s): 4.6.z' not found in "Searching bugzilla for bugs with status ['MODIFIED'] and target releases: ['4.6.z']\nFound 1 bugs: OCPBUGS-123\nSearching jira for bugs with status ['MODIFIED'] and target releases: ['4.6.z']\nFound 1 bugs: OCPBUGS-123\n"

----------------------------------------------------------------------
Ran 153 tests in 1.608s

FAILED (failures=2)
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/bin/coverage run --branch --source elliottlib -m unittest discover -t . -s tests/ (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py36: commands failed
openshift-bot commented 2 years ago

Build #8

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev45+gc05caa7.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.5,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.5.18.1,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.1.2,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev45%2Bgc05caa7.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='3213781223'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
....................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
........................................................Retrieving bugs for advisory ['12345']
...
----------------------------------------------------------------------
Ran 155 tests in 1.593s

OK
py36 run-test: commands[1] | coverage report
Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
elliottlib/__init__.py                                7      2      2      1    67%
elliottlib/assembly.py                               92      9     54      7    89%
elliottlib/assertion.py                              11      0      6      0   100%
elliottlib/brew.py                                  317    188    134      5    35%
elliottlib/bug/__init__.py                            0      0      0      0   100%
elliottlib/build_finder.py                          114     12     74     15    86%
elliottlib/bzutil.py                                622    187    286     34    67%
elliottlib/cincinnati.py                             21     21      4      0     0%
elliottlib/cli/__init__.py                            0      0      0      0   100%
elliottlib/cli/__main__.py                          268    268     72      0     0%
elliottlib/cli/add_metadata_cli.py                   32     32      4      0     0%
elliottlib/cli/advisory_commons_cli.py               89     89     38      0     0%
elliottlib/cli/advisory_drop_cli.py                  20     20      2      0     0%
elliottlib/cli/advisory_images_cli.py                13     13      2      0     0%
elliottlib/cli/advisory_impetus_cli.py               21     21      6      0     0%
elliottlib/cli/attach_bugs_cli.py                    39     39     16      0     0%
elliottlib/cli/attach_cve_flaws_cli.py              106     55     48      6    45%
elliottlib/cli/change_state_cli.py                   52     52     20      0     0%
elliottlib/cli/cli_opts.py                           13      0     15      0   100%
elliottlib/cli/common.py                             49     14      6      1    65%
elliottlib/cli/create_cli.py                         70     70     20      0     0%
elliottlib/cli/create_placeholder_cli.py             48     48     12      0     0%
elliottlib/cli/create_textonly_cli.py                56     56      8      0     0%
elliottlib/cli/find_bugs_blocker_cli.py              34      0     10      3    93%
elliottlib/cli/find_bugs_qe_cli.py                   27      0      6      0   100%
elliottlib/cli/find_bugs_sweep_cli.py               154     45     74     11    65%
elliottlib/cli/find_builds_cli.py                   255    188    169      2    20%
elliottlib/cli/get_golang_versions_cli.py            55     21     32      5    49%
elliottlib/cli/list_cli.py                           16     16      4      0     0%
elliottlib/cli/puddle_advisories_cli.py              36     36     10      0     0%
elliottlib/cli/remove_bugs_cli.py                    60     10     34      7    80%
elliottlib/cli/repair_bugs_cli.py                    63     10     28      7    77%
elliottlib/cli/rhcos_cli.py                          96     96     54      0     0%
elliottlib/cli/rpmdiff_cli.py                       100    100     34      0     0%
elliottlib/cli/tag_builds_cli.py                    128    128     62      0     0%
elliottlib/cli/tarball_sources_cli.py                81     81     26      0     0%
elliottlib/cli/validate_rhsa.py                      40     40     10      0     0%
elliottlib/cli/verify_attached_bugs_cli.py          202    145    121      1    20%
elliottlib/cli/verify_attached_operators_cli.py     114     81     52      0    20%
elliottlib/cli/verify_cvp_cli.py                    286    286    138      0     0%
elliottlib/constants.py                              50      0      0      0   100%
elliottlib/dotconfig.py                              54     11     30      6    75%
elliottlib/errata.py                                289    177    130      4    35%
elliottlib/errata_async.py                          109      6     38      5    93%
elliottlib/exceptions.py                             12      0      0      0   100%
elliottlib/exectools.py                              75      5     24      3    90%
elliottlib/gitdata.py                               170    137     76      0    13%
elliottlib/imagecfg.py                               18      2      0      0    89%
elliottlib/logutil.py                                 9      1      2      1    82%
elliottlib/metadata.py                              154     43     76     18    67%
elliottlib/model.py                                 102     22     30      2    79%
elliottlib/openshiftclient.py                        34     34      8      0     0%
elliottlib/pushd.py                                  20      0      2      0   100%
elliottlib/resultsdb.py                              28     28      8      0     0%
elliottlib/rhcos.py                                  51     51     12      0     0%
elliottlib/rpm_utils.py                              30     14     16      5    46%
elliottlib/rpmcfg.py                                  5      2      0      0    60%
elliottlib/rpmdiff.py                                31      0      0      0   100%
elliottlib/runtime.py                               269    200    104      2    20%
elliottlib/tarball_sources.py                        90     61     34      0    30%
elliottlib/util.py                                  299    166    110      9    41%
-----------------------------------------------------------------------------------
TOTAL                                              5706   3439   2393    160    37%
py36 run-test: commands[2] | flake8
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)
openshift-bot commented 2 years ago

Build #11

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 recreate: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev47+g592e7f5.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.6,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.6.15,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.2.0,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev47%2Bg592e7f5.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='1762822324'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
......................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
........................................................Retrieving bugs for advisory ['12345']
...
----------------------------------------------------------------------
Ran 157 tests in 1.411s

OK
py36 run-test: commands[1] | coverage report
Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
elliottlib/__init__.py                                8      2      2      1    70%
elliottlib/assembly.py                               92      9     54      7    89%
elliottlib/assertion.py                              11      0      6      0   100%
elliottlib/brew.py                                  317    188    134      5    35%
elliottlib/bug/__init__.py                            0      0      0      0   100%
elliottlib/build_finder.py                          114     12     74     15    86%
elliottlib/bzutil.py                                656    201    308     38    66%
elliottlib/cincinnati.py                             21     21      4      0     0%
elliottlib/cli/__init__.py                            0      0      0      0   100%
elliottlib/cli/__main__.py                          268    268     72      0     0%
elliottlib/cli/add_metadata_cli.py                   32     32      4      0     0%
elliottlib/cli/advisory_commons_cli.py               89     89     38      0     0%
elliottlib/cli/advisory_drop_cli.py                  20     20      2      0     0%
elliottlib/cli/advisory_images_cli.py                13     13      2      0     0%
elliottlib/cli/advisory_impetus_cli.py               21     21      6      0     0%
elliottlib/cli/attach_bugs_cli.py                    39     39     16      0     0%
elliottlib/cli/attach_cve_flaws_cli.py              107     56     48      6    45%
elliottlib/cli/change_state_cli.py                   52     52     20      0     0%
elliottlib/cli/cli_opts.py                           13      0     15      0   100%
elliottlib/cli/common.py                             49     14      6      1    65%
elliottlib/cli/create_cli.py                         70     70     20      0     0%
elliottlib/cli/create_placeholder_cli.py             48     48     12      0     0%
elliottlib/cli/create_textonly_cli.py                56     56      8      0     0%
elliottlib/cli/find_bugs_blocker_cli.py              34      0     10      3    93%
elliottlib/cli/find_bugs_qe_cli.py                   27      0      6      0   100%
elliottlib/cli/find_bugs_sweep_cli.py               154     45     74     11    65%
elliottlib/cli/find_builds_cli.py                   255    188    169      2    20%
elliottlib/cli/get_golang_versions_cli.py            55     21     32      5    49%
elliottlib/cli/list_cli.py                           16     16      4      0     0%
elliottlib/cli/puddle_advisories_cli.py              36     36     10      0     0%
elliottlib/cli/remove_bugs_cli.py                    50      9     16      5    79%
elliottlib/cli/repair_bugs_cli.py                    64     10     28      7    77%
elliottlib/cli/rhcos_cli.py                          96     96     54      0     0%
elliottlib/cli/rpmdiff_cli.py                       100    100     34      0     0%
elliottlib/cli/tag_builds_cli.py                    128    128     62      0     0%
elliottlib/cli/tarball_sources_cli.py                81     81     26      0     0%
elliottlib/cli/validate_rhsa.py                      40     40     10      0     0%
elliottlib/cli/verify_attached_bugs_cli.py          202    145    121      1    20%
elliottlib/cli/verify_attached_operators_cli.py     114     81     52      0    20%
elliottlib/cli/verify_cvp_cli.py                    286    286    138      0     0%
elliottlib/constants.py                              50      0      0      0   100%
elliottlib/dotconfig.py                              54     11     30      6    75%
elliottlib/errata.py                                308    193    134      4    34%
elliottlib/errata_async.py                          109      6     38      5    93%
elliottlib/exceptions.py                             12      0      0      0   100%
elliottlib/exectools.py                              75      5     24      3    90%
elliottlib/gitdata.py                               170    137     76      0    13%
elliottlib/imagecfg.py                               18      2      0      0    89%
elliottlib/logutil.py                                 9      1      2      1    82%
elliottlib/metadata.py                              154     43     76     18    67%
elliottlib/model.py                                 102     22     30      2    79%
elliottlib/openshiftclient.py                        34     34      8      0     0%
elliottlib/pushd.py                                  20      0      2      0   100%
elliottlib/resultsdb.py                              28     28      8      0     0%
elliottlib/rhcos.py                                  51     51     12      0     0%
elliottlib/rpm_utils.py                              30     14     16      5    46%
elliottlib/rpmcfg.py                                  5      2      0      0    60%
elliottlib/rpmdiff.py                                31      0      0      0   100%
elliottlib/runtime.py                               269    200    104      1    20%
elliottlib/tarball_sources.py                        90     61     34      0    30%
elliottlib/util.py                                  299    166    110      9    41%
-----------------------------------------------------------------------------------
TOTAL                                              5752   3469   2401    161    37%
py36 run-test: commands[2] | flake8
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)
openshift-bot commented 2 years ago

Build #12

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 recreate: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev48+g1b0f655.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.6,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.6.15,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.2.0,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev48%2Bg1b0f655.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='2216584212'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
......................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
........................................................Retrieving bugs for advisory ['12345']
...
----------------------------------------------------------------------
Ran 157 tests in 1.424s

OK
py36 run-test: commands[1] | coverage report
Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
elliottlib/__init__.py                                8      2      2      1    70%
elliottlib/assembly.py                               92      9     54      7    89%
elliottlib/assertion.py                              11      0      6      0   100%
elliottlib/brew.py                                  317    188    134      5    35%
elliottlib/bug/__init__.py                            0      0      0      0   100%
elliottlib/build_finder.py                          114     12     74     15    86%
elliottlib/bzutil.py                                656    201    308     38    66%
elliottlib/cincinnati.py                             21     21      4      0     0%
elliottlib/cli/__init__.py                            0      0      0      0   100%
elliottlib/cli/__main__.py                          268    268     72      0     0%
elliottlib/cli/add_metadata_cli.py                   32     32      4      0     0%
elliottlib/cli/advisory_commons_cli.py               89     89     38      0     0%
elliottlib/cli/advisory_drop_cli.py                  20     20      2      0     0%
elliottlib/cli/advisory_images_cli.py                13     13      2      0     0%
elliottlib/cli/advisory_impetus_cli.py               21     21      6      0     0%
elliottlib/cli/attach_bugs_cli.py                    39     39     16      0     0%
elliottlib/cli/attach_cve_flaws_cli.py              107     56     48      6    45%
elliottlib/cli/change_state_cli.py                   52     52     20      0     0%
elliottlib/cli/cli_opts.py                           13      0     15      0   100%
elliottlib/cli/common.py                             49     14      6      1    65%
elliottlib/cli/create_cli.py                         70     70     20      0     0%
elliottlib/cli/create_placeholder_cli.py             48     48     12      0     0%
elliottlib/cli/create_textonly_cli.py                56     56      8      0     0%
elliottlib/cli/find_bugs_blocker_cli.py              34      0     10      3    93%
elliottlib/cli/find_bugs_qe_cli.py                   27      0      6      0   100%
elliottlib/cli/find_bugs_sweep_cli.py               154     45     74     11    65%
elliottlib/cli/find_builds_cli.py                   255    188    169      2    20%
elliottlib/cli/get_golang_versions_cli.py            55     21     32      5    49%
elliottlib/cli/list_cli.py                           16     16      4      0     0%
elliottlib/cli/puddle_advisories_cli.py              36     36     10      0     0%
elliottlib/cli/remove_bugs_cli.py                    50      9     16      5    79%
elliottlib/cli/repair_bugs_cli.py                    64     10     28      7    77%
elliottlib/cli/rhcos_cli.py                          96     96     54      0     0%
elliottlib/cli/rpmdiff_cli.py                       100    100     34      0     0%
elliottlib/cli/tag_builds_cli.py                    128    128     62      0     0%
elliottlib/cli/tarball_sources_cli.py                81     81     26      0     0%
elliottlib/cli/validate_rhsa.py                      40     40     10      0     0%
elliottlib/cli/verify_attached_bugs_cli.py          202    145    121      1    20%
elliottlib/cli/verify_attached_operators_cli.py     114     81     52      0    20%
elliottlib/cli/verify_cvp_cli.py                    286    286    138      0     0%
elliottlib/constants.py                              50      0      0      0   100%
elliottlib/dotconfig.py                              54     11     30      6    75%
elliottlib/errata.py                                308    193    134      4    34%
elliottlib/errata_async.py                          109      6     38      5    93%
elliottlib/exceptions.py                             12      0      0      0   100%
elliottlib/exectools.py                              75      5     24      3    90%
elliottlib/gitdata.py                               170    137     76      0    13%
elliottlib/imagecfg.py                               18      2      0      0    89%
elliottlib/logutil.py                                 9      1      2      1    82%
elliottlib/metadata.py                              154     43     76     18    67%
elliottlib/model.py                                 102     22     30      2    79%
elliottlib/openshiftclient.py                        34     34      8      0     0%
elliottlib/pushd.py                                  20      0      2      0   100%
elliottlib/resultsdb.py                              28     28      8      0     0%
elliottlib/rhcos.py                                  51     51     12      0     0%
elliottlib/rpm_utils.py                              30     14     16      5    46%
elliottlib/rpmcfg.py                                  5      2      0      0    60%
elliottlib/rpmdiff.py                                31      0      0      0   100%
elliottlib/runtime.py                               269    200    104      1    20%
elliottlib/tarball_sources.py                        90     61     34      0    30%
elliottlib/util.py                                  299    166    110      9    41%
-----------------------------------------------------------------------------------
TOTAL                                              5752   3469   2401    161    37%
py36 run-test: commands[2] | flake8
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)
Ximinhan commented 2 years ago

/lgtm

openshift-ci[bot] commented 2 years ago

New changes are detected. LGTM label has been removed.

openshift-bot commented 2 years ago

Build #13

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/setup.py
py36 recreate: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev49+g8b1e23d.zip
py36 installed: aiodns==3.0.0,aiohttp==3.8.1,aiosignal==1.2.0,appdirs==1.4.4,astroid==2.11.6,async-timeout==4.0.2,asynctest==0.13.0,attrs==21.4.0,Brotli==1.0.9,cached-property==1.5.2,cchardet==2.1.7,certifi==2022.6.15,cffi==1.15.0,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==5.5,cryptography==37.0.2,dataclasses==0.8,decorator==5.1.1,defusedxml==0.7.1,dill==0.3.4,distlib==0.3.4,errata-tool==1.27.1,filelock==3.4.1,flake8==3.8.4,flexmock==0.11.3,frozenlist==1.2.0,future==0.18.2,gssapi==1.7.3,idna==3.3,idna-ssl==1.1.0,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,jeepney==0.7.1,jira==3.2.0,jsonpath-rw==1.4.0,keyring==23.4.1,koji==1.29.0,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.6.1,mock==4.0.3,multidict==5.2.0,mypy==0.961,mypy-extensions==0.4.3,oauthlib==3.2.0,packaging==21.3,platformdirs==2.4.0,pluggy==1.0.0,ply==3.11,py==1.11.0,pycares==4.2.0,pycodestyle==2.6.0,pycparser==2.21,pyflakes==2.2.0,pygit2==1.6.1,pylint==2.13.9,pyparsing==3.0.9,pyspnego==0.5.2,pytest==6.2.5,python-bugzilla==3.2.0,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.9.1,rh-elliott @ file:///mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/.tmp/package/1/rh-elliott-2.0.14.dev49%2Bg8b1e23d.zip,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,SecretStorage==3.3.2,semver==2.13.0,setuptools-scm==6.4.2,six==1.16.0,tenacity==8.0.1,toml==0.10.2,tomli==1.2.3,tox==3.20.1,typed-ast==1.5.4,typing-extensions==4.1.1,urllib3==1.26.9,virtualenv==20.2.2,wrapt==1.14.1,yarl==1.7.2,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='2853258384'
py36 run-test: commands[0] | coverage run --branch --source elliottlib -m unittest discover -t . -s tests/
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib/python3.6/site-packages/spnego/_ntlm_raw/crypto.py:22: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
...........For flaw bug 5 - these tracker bugs do not have a valid whiteboard component value: [1] Cannot reliably determine if flaw bug is first fix. Check tracker bugs manually
......................................................changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
..changed 123 from status1 to status2
.123 is already on status1
.changed 123 from status1 to status2
................../mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:777: DeprecationWarning: The object should be created within an async function
  loop=loop,
/mnt/workspace/jenkins/working/art-tools_elliott_PR-347/.tox/py36/lib64/python3.6/site-packages/aiohttp/connector.py:782: DeprecationWarning: The object should be created within an async function
  resolver = DefaultResolver(loop=self._loop)
........./mnt/workspace/jenkins/working/art-tools_elliott_PR-347/elliottlib/errata_async.py:41: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
  resp.raise_for_status()
........................................................Retrieving bugs for advisory ['12345']
...
----------------------------------------------------------------------
Ran 157 tests in 1.430s

OK
py36 run-test: commands[1] | coverage report
Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
elliottlib/__init__.py                                8      2      2      1    70%
elliottlib/assembly.py                               92      9     54      7    89%
elliottlib/assertion.py                              11      0      6      0   100%
elliottlib/brew.py                                  317    188    134      5    35%
elliottlib/bug/__init__.py                            0      0      0      0   100%
elliottlib/build_finder.py                          114     12     74     15    86%
elliottlib/bzutil.py                                656    201    308     38    66%
elliottlib/cincinnati.py                             21     21      4      0     0%
elliottlib/cli/__init__.py                            0      0      0      0   100%
elliottlib/cli/__main__.py                          268    268     72      0     0%
elliottlib/cli/add_metadata_cli.py                   32     32      4      0     0%
elliottlib/cli/advisory_commons_cli.py               89     89     38      0     0%
elliottlib/cli/advisory_drop_cli.py                  20     20      2      0     0%
elliottlib/cli/advisory_images_cli.py                13     13      2      0     0%
elliottlib/cli/advisory_impetus_cli.py               21     21      6      0     0%
elliottlib/cli/attach_bugs_cli.py                    39     39     16      0     0%
elliottlib/cli/attach_cve_flaws_cli.py              114     62     48      6    43%
elliottlib/cli/change_state_cli.py                   52     52     20      0     0%
elliottlib/cli/cli_opts.py                           13      0     15      0   100%
elliottlib/cli/common.py                             49     14      6      1    65%
elliottlib/cli/create_cli.py                         70     70     20      0     0%
elliottlib/cli/create_placeholder_cli.py             48     48     12      0     0%
elliottlib/cli/create_textonly_cli.py                56     56      8      0     0%
elliottlib/cli/find_bugs_blocker_cli.py              41      3     10      3    88%
elliottlib/cli/find_bugs_qe_cli.py                   34      3      6      0    92%
elliottlib/cli/find_bugs_sweep_cli.py               161     48     74     11    65%
elliottlib/cli/find_builds_cli.py                   255    188    169      2    20%
elliottlib/cli/get_golang_versions_cli.py            55     21     32      5    49%
elliottlib/cli/list_cli.py                           16     16      4      0     0%
elliottlib/cli/puddle_advisories_cli.py              36     36     10      0     0%
elliottlib/cli/remove_bugs_cli.py                    50      9     16      5    79%
elliottlib/cli/repair_bugs_cli.py                    64     10     28      7    77%
elliottlib/cli/rhcos_cli.py                          96     96     54      0     0%
elliottlib/cli/rpmdiff_cli.py                       100    100     34      0     0%
elliottlib/cli/tag_builds_cli.py                    128    128     62      0     0%
elliottlib/cli/tarball_sources_cli.py                81     81     26      0     0%
elliottlib/cli/validate_rhsa.py                      40     40     10      0     0%
elliottlib/cli/verify_attached_bugs_cli.py          202    145    121      1    20%
elliottlib/cli/verify_attached_operators_cli.py     114     81     52      0    20%
elliottlib/cli/verify_cvp_cli.py                    286    286    138      0     0%
elliottlib/constants.py                              50      0      0      0   100%
elliottlib/dotconfig.py                              54     11     30      6    75%
elliottlib/errata.py                                308    193    134      4    34%
elliottlib/errata_async.py                          109      6     38      5    93%
elliottlib/exceptions.py                             12      0      0      0   100%
elliottlib/exectools.py                              75      5     24      3    90%
elliottlib/gitdata.py                               170    137     76      0    13%
elliottlib/imagecfg.py                               18      2      0      0    89%
elliottlib/logutil.py                                 9      1      2      1    82%
elliottlib/metadata.py                              154     43     76     18    67%
elliottlib/model.py                                 102     22     30      2    79%
elliottlib/openshiftclient.py                        34     34      8      0     0%
elliottlib/pushd.py                                  20      0      2      0   100%
elliottlib/resultsdb.py                              28     28      8      0     0%
elliottlib/rhcos.py                                  51     51     12      0     0%
elliottlib/rpm_utils.py                              30     14     16      5    46%
elliottlib/rpmcfg.py                                  5      2      0      0    60%
elliottlib/rpmdiff.py                                31      0      0      0   100%
elliottlib/runtime.py                               269    200    104      1    20%
elliottlib/tarball_sources.py                        90     61     34      0    30%
elliottlib/util.py                                  299    166    110      9    41%
-----------------------------------------------------------------------------------
TOTAL                                              5780   3484   2401    161    37%
py36 run-test: commands[2] | flake8
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)