Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Update print method #808

Merged
merged 1 commit into from Jul 31, 2023
Merged

Update print method #808

merged 1 commit into from Jul 31, 2023

Conversation

Ximinhan
Copy link
Contributor

only print correct data to output

@@ -1829,10 +1829,10 @@ def config_rhcos_src(runtime: Runtime, version, output, brew_root, arch):
out_src_dir = out_base_dir_path.joinpath('src')
if out_src_dir.exists():
if out_src_dir.is_symlink():
print(f'Output directory already contains a symlink for {package_nvr}. Skipping.')
runtime.logger.info(f'Output directory already contains a symlink for {package_nvr}. Skipping.')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a message info which should not print to output

@openshift-bot
Copy link

Build #1

py38: install_deps> python -I -m pip install -r requirements-dev.txt -r requirements.txt
.pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel
.pkg: _optional_hooks> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: install_requires_for_build_wheel> python -I -m pip install wheel
.pkg: freeze> python -m pip freeze --all
.pkg: pip==23.2.1,setuptools==68.0.0,wheel==0.41.0
.pkg: prepare_metadata_for_build_wheel> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
py38: install_package_deps> python -I -m pip install 'PyGitHub>=1.46' aiofiles aiohttp bashlex 'click>=8.1.3' defusedxml 'dockerfile-parse>=0.0.13' future ghapi jira==3.4.1 koji 'mysql-connector-python>=8.0.21' 'openshift-client>=1.0.12' 'pydantic~=1.10.7' 'python-dateutil>=2.8.1' 'pyyaml>=5.1' requests requests-kerberos ruamel.yaml semver 'setuptools>=65.5.1' tenacity wrapt
py38: install_package> python -I -m pip install --force-reinstall --no-deps /mnt/workspace/jenkins/working/art-tools_doozer_PR-808/.tox/.tmp/package/1/rh-doozer-0.0.0.tar.gz
py38: freeze> python -m pip freeze --all
py38: aiofiles==23.1.0,aiohttp==3.8.5,aiosignal==1.3.1,astroid==2.15.6,async-timeout==4.0.2,attrs==23.1.0,autopep8==2.0.2,bashlex==0.18,bcrypt==4.0.1,cachetools==5.3.1,certifi==2023.7.22,cffi==1.15.1,chardet==5.1.0,charset-normalizer==3.2.0,click==8.1.6,colorama==0.4.6,coverage==7.2.7,cryptography==41.0.2,decorator==5.1.1,defusedxml==0.7.1,Deprecated==1.2.14,dill==0.3.7,distlib==0.3.7,dockerfile-parse==2.0.1,exceptiongroup==1.1.2,fastcore==1.5.29,filelock==3.12.2,flake8==6.1.0,flexmock==0.11.3,frozenlist==1.4.0,future==0.18.3,ghapi==1.0.4,gssapi==1.8.2,idna==3.4,iniconfig==2.0.0,isort==5.12.0,jira==3.4.1,koji==1.33.1,krb5==0.5.0,lazy-object-proxy==1.9.0,mccabe==0.7.0,multidict==6.0.4,mysql-connector-python==8.1.0,oauthlib==3.2.2,openshift-client==1.0.19,packaging==23.1,paramiko==3.3.1,pip==23.2.1,platformdirs==3.10.0,pluggy==1.2.0,protobuf==4.21.12,pycodestyle==2.11.0,pycparser==2.21,pydantic==1.10.12,pyflakes==3.1.0,pygit2==1.10.1,PyGithub==1.59.0,PyJWT==2.8.0,pylint==2.17.5,PyNaCl==1.5.0,pyproject-api==1.5.3,pyspnego==0.9.1,pytest==7.4.0,python-dateutil==2.8.2,PyYAML==6.0.1,requests==2.31.0,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==1.0.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-808/.tox/.tmp/package/1/rh-doozer-0.0.0.tar.gz#sha256=35fcb929e80bf8a52b1ea75ae8c6f99b62c05835181adc14a62428892e8967a4,ruamel.yaml==0.17.32,ruamel.yaml.clib==0.2.7,semver==3.0.1,setuptools==68.0.0,six==1.16.0,tenacity==8.2.2,tomli==2.0.1,tomlkit==0.12.1,tox==4.6.4,typing==3.7.4.3,typing_extensions==4.7.1,urllib3==2.0.4,virtualenv==20.24.2,wheel==0.41.0,wrapt==1.15.0,yarl==1.9.2
py38: commands[0]> coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
..................................................................................................................................................s.s....................................s.s...s.s...s..s.s.s....................................../mnt/workspace/jenkins/working/art-tools_doozer_PR-808/doozerlib/repodata.py:175: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 603, in run_until_complete
    self.run_forever()
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.8/unittest/async_case.py", line 102, in _asyncioLoopRunner
    ret = await awaitable
  File "/usr/lib64/python3.8/unittest/mock.py", line 1342, in patched
    return await func(*newargs, **newkeywargs)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-808/tests/test_repodata.py", line 214, in test_load
    repodata = await loader.load(repo_name, repo_url)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-808/doozerlib/repodata.py", line 175, in load
    resp.raise_for_status()
  File "/usr/lib64/python3.8/unittest/mock.py", line 1081, in __call__
    return self._mock_call(*args, **kwargs)
  File "/usr/lib64/python3.8/unittest/mock.py", line 1085, in _mock_call
    return self._execute_mock_call(*args, **kwargs)
  resp.raise_for_status()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
......................................................
----------------------------------------------------------------------
Ran 287 tests in 2.610s

OK (skipped=10)
py38: commands[1]> flake8
./doozerlib/cli/images_streams.py:25:46: E231 missing whitespace after ','
py38: exit 1 (1.04 seconds) /mnt/workspace/jenkins/working/art-tools_doozer_PR-808> flake8 pid=445
.pkg: _exit> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
  py38: FAIL code 1 (33.90=setup[28.38]+cmd[4.47,1.04] seconds)
  evaluation failed :( (34.20 seconds)

@openshift-bot
Copy link

Build #2

.pkg: _optional_hooks> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: freeze> python -m pip freeze --all
.pkg: pip==23.2.1,setuptools==68.0.0,wheel==0.41.0
.pkg: prepare_metadata_for_build_wheel> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
py38: install_package> python -I -m pip install --force-reinstall --no-deps /mnt/workspace/jenkins/working/art-tools_doozer_PR-808/.tox/.tmp/package/2/rh-doozer-0.0.0.tar.gz
py38: freeze> python -m pip freeze --all
py38: aiofiles==23.1.0,aiohttp==3.8.5,aiosignal==1.3.1,astroid==2.15.6,async-timeout==4.0.2,attrs==23.1.0,autopep8==2.0.2,bashlex==0.18,bcrypt==4.0.1,cachetools==5.3.1,certifi==2023.7.22,cffi==1.15.1,chardet==5.1.0,charset-normalizer==3.2.0,click==8.1.6,colorama==0.4.6,coverage==7.2.7,cryptography==41.0.2,decorator==5.1.1,defusedxml==0.7.1,Deprecated==1.2.14,dill==0.3.7,distlib==0.3.7,dockerfile-parse==2.0.1,exceptiongroup==1.1.2,fastcore==1.5.29,filelock==3.12.2,flake8==6.1.0,flexmock==0.11.3,frozenlist==1.4.0,future==0.18.3,ghapi==1.0.4,gssapi==1.8.2,idna==3.4,iniconfig==2.0.0,isort==5.12.0,jira==3.4.1,koji==1.33.1,krb5==0.5.0,lazy-object-proxy==1.9.0,mccabe==0.7.0,multidict==6.0.4,mysql-connector-python==8.1.0,oauthlib==3.2.2,openshift-client==1.0.19,packaging==23.1,paramiko==3.3.1,pip==23.2.1,platformdirs==3.10.0,pluggy==1.2.0,protobuf==4.21.12,pycodestyle==2.11.0,pycparser==2.21,pydantic==1.10.12,pyflakes==3.1.0,pygit2==1.10.1,PyGithub==1.59.0,PyJWT==2.8.0,pylint==2.17.5,PyNaCl==1.5.0,pyproject-api==1.5.3,pyspnego==0.9.1,pytest==7.4.0,python-dateutil==2.8.2,PyYAML==6.0.1,requests==2.31.0,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==1.0.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-808/.tox/.tmp/package/2/rh-doozer-0.0.0.tar.gz#sha256=700e321b4dba37abb2f90673e11ad29621a8e7846ae43cb418ed28ee505337ee,ruamel.yaml==0.17.32,ruamel.yaml.clib==0.2.7,semver==3.0.1,setuptools==68.0.0,six==1.16.0,tenacity==8.2.2,tomli==2.0.1,tomlkit==0.12.1,tox==4.6.4,typing==3.7.4.3,typing_extensions==4.7.1,urllib3==2.0.4,virtualenv==20.24.2,wheel==0.41.0,wrapt==1.15.0,yarl==1.9.2
py38: commands[0]> coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
..................................................................................................................................................s.s....................................s.s...s.s...s..s.s.s....................................../mnt/workspace/jenkins/working/art-tools_doozer_PR-808/doozerlib/repodata.py:175: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 603, in run_until_complete
    self.run_forever()
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.8/unittest/async_case.py", line 102, in _asyncioLoopRunner
    ret = await awaitable
  File "/usr/lib64/python3.8/unittest/mock.py", line 1342, in patched
    return await func(*newargs, **newkeywargs)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-808/tests/test_repodata.py", line 214, in test_load
    repodata = await loader.load(repo_name, repo_url)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-808/doozerlib/repodata.py", line 175, in load
    resp.raise_for_status()
  File "/usr/lib64/python3.8/unittest/mock.py", line 1081, in __call__
    return self._mock_call(*args, **kwargs)
  File "/usr/lib64/python3.8/unittest/mock.py", line 1085, in _mock_call
    return self._execute_mock_call(*args, **kwargs)
  resp.raise_for_status()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
......................................................
----------------------------------------------------------------------
Ran 287 tests in 2.362s

OK (skipped=10)
py38: commands[1]> flake8
py38: commands[2]> coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                            12      7      2      1    43%
doozerlib/assembly.py                           158     20     87     11    84%
doozerlib/assembly_inspector.py                 220    158    128      8    24%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               366    206    152      4    40%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       122     64     28      0    39%
doozerlib/cli/__main__.py                      1201   1201    474      0     0%
doozerlib/cli/cli_opts.py                        20      3      8      0    89%
doozerlib/cli/config_plashet.py                 536    536    246      0     0%
doozerlib/cli/config_tag_rpms.py                141     20     77     15    82%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  230     59    127      3    71%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 697    619    306      2     8%
doozerlib/cli/inspect_stream.py                  66     66     28      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           280    146    120      3    43%
doozerlib/cli/release_gen_payload.py            703    260    300     20    58%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/rpms_read_config.py                15     15      2      0     0%
doozerlib/cli/scan_sources.py                   185    143    100      2    17%
doozerlib/comment_on_pr.py                       46      0      8      0   100%
doozerlib/config.py                              97     97     44      0     0%
doozerlib/constants.py                           12      0      0      0   100%
doozerlib/coverity.py                           255    225     82      0     9%
doozerlib/dblib.py                              263    160     68      4    35%
doozerlib/distgit.py                           1454    901    690     40    36%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                          14      5      0      0    64%
doozerlib/exectools.py                          226    110     80     10    48%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              491    303    198      8    33%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           432    151    184     30    61%
doozerlib/model.py                              113     21     36      2    82%
doozerlib/olm/__init__.py                         0      0      0      0   100%
doozerlib/olm/bundle.py                         315    230     72      0    22%
doozerlib/osbs2_builder.py                      119     30     44     19    67%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      0      2      0   100%
doozerlib/release_schedule.py                    28     17      8      0    31%
doozerlib/repodata.py                           213     19     84     10    90%
doozerlib/repos.py                              239    110    123     18    48%
doozerlib/rhcos.py                              233     25     84     13    87%
doozerlib/rpm_builder.py                        232     32    123     32    80%
doozerlib/rpm_delivery.py                        16      1      0      0    94%
doozerlib/rpm_utils.py                          143     31     90      9    79%
doozerlib/rpmcfg.py                             151     61     64      8    55%
doozerlib/runtime.py                            907    690    374      7    18%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               455    217    182     13    49%
-------------------------------------------------------------------------------
TOTAL                                         12471   7351   5278    333    38%
.pkg: _exit> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
  py38: OK (9.91=setup[2.77]+cmd[4.17,1.12,1.84] seconds)
  congratulations :) (10.22 seconds)

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 55.25% and project coverage change: +2.93% 🎉

Comparison is base (29fc1c0) 35.45% compared to head (4b77d34) 38.38%.
Report is 145 commits behind head on master.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #808      +/-   ##
==========================================
+ Coverage   35.45%   38.38%   +2.93%     
==========================================
  Files          47       52       +5     
  Lines       11779    12471     +692     
  Branches     2576     2634      +58     
==========================================
+ Hits         4176     4787     +611     
- Misses       7311     7351      +40     
- Partials      292      333      +41     
Files Changed Coverage Δ
doozerlib/cli/__init__.py 47.54% <ø> (-0.43%) ⬇️
doozerlib/cli/__main__.py 0.00% <0.00%> (ø)
doozerlib/cli/config_plashet.py 0.00% <0.00%> (ø)
doozerlib/cli/detect_embargo.py 74.25% <0.00%> (ø)
doozerlib/cli/rpms_read_config.py 0.00% <0.00%> (ø)
doozerlib/coverity.py 11.76% <0.00%> (-0.49%) ⬇️
doozerlib/dblib.py 37.64% <0.00%> (ø)
doozerlib/olm/bundle.py 26.98% <0.00%> (ø)
doozerlib/__init__.py 33.33% <14.28%> (-33.34%) ⬇️
doozerlib/distgit.py 35.28% <15.55%> (+2.10%) ⬆️
... and 23 more

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@openshift-bot
Copy link

Build #3

.pkg: _optional_hooks> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: freeze> python -m pip freeze --all
.pkg: pip==23.2.1,setuptools==68.0.0,wheel==0.41.0
.pkg: prepare_metadata_for_build_wheel> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
py38: install_package> python -I -m pip install --force-reinstall --no-deps /mnt/workspace/jenkins/working/art-tools_doozer_PR-808/.tox/.tmp/package/3/rh-doozer-0.0.0.tar.gz
py38: freeze> python -m pip freeze --all
py38: aiofiles==23.1.0,aiohttp==3.8.5,aiosignal==1.3.1,astroid==2.15.6,async-timeout==4.0.2,attrs==23.1.0,autopep8==2.0.2,bashlex==0.18,bcrypt==4.0.1,cachetools==5.3.1,certifi==2023.7.22,cffi==1.15.1,chardet==5.1.0,charset-normalizer==3.2.0,click==8.1.6,colorama==0.4.6,coverage==7.2.7,cryptography==41.0.2,decorator==5.1.1,defusedxml==0.7.1,Deprecated==1.2.14,dill==0.3.7,distlib==0.3.7,dockerfile-parse==2.0.1,exceptiongroup==1.1.2,fastcore==1.5.29,filelock==3.12.2,flake8==6.1.0,flexmock==0.11.3,frozenlist==1.4.0,future==0.18.3,ghapi==1.0.4,gssapi==1.8.2,idna==3.4,iniconfig==2.0.0,isort==5.12.0,jira==3.4.1,koji==1.33.1,krb5==0.5.0,lazy-object-proxy==1.9.0,mccabe==0.7.0,multidict==6.0.4,mysql-connector-python==8.1.0,oauthlib==3.2.2,openshift-client==1.0.19,packaging==23.1,paramiko==3.3.1,pip==23.2.1,platformdirs==3.10.0,pluggy==1.2.0,protobuf==4.21.12,pycodestyle==2.11.0,pycparser==2.21,pydantic==1.10.12,pyflakes==3.1.0,pygit2==1.10.1,PyGithub==1.59.0,PyJWT==2.8.0,pylint==2.17.5,PyNaCl==1.5.0,pyproject-api==1.5.3,pyspnego==0.9.1,pytest==7.4.0,python-dateutil==2.8.2,PyYAML==6.0.1,requests==2.31.0,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==1.0.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-808/.tox/.tmp/package/3/rh-doozer-0.0.0.tar.gz#sha256=4b84fa947673940fc33dd9a3bc2eb8fa66444f0554686413a87892a302656b86,ruamel.yaml==0.17.32,ruamel.yaml.clib==0.2.7,semver==3.0.1,setuptools==68.0.0,six==1.16.0,tenacity==8.2.2,tomli==2.0.1,tomlkit==0.12.1,tox==4.6.4,typing==3.7.4.3,typing_extensions==4.7.1,urllib3==2.0.4,virtualenv==20.24.2,wheel==0.41.0,wrapt==1.15.0,yarl==1.9.2
py38: commands[0]> coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
..................................................................................................................................................s.s....................................s.s...s.s...s..s.s.s....................................../mnt/workspace/jenkins/working/art-tools_doozer_PR-808/doozerlib/repodata.py:175: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 603, in run_until_complete
    self.run_forever()
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 1851, in _run_once
    handle._run()
  File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.8/unittest/async_case.py", line 102, in _asyncioLoopRunner
    ret = await awaitable
  File "/usr/lib64/python3.8/unittest/mock.py", line 1342, in patched
    return await func(*newargs, **newkeywargs)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-808/tests/test_repodata.py", line 214, in test_load
    repodata = await loader.load(repo_name, repo_url)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-808/doozerlib/repodata.py", line 175, in load
    resp.raise_for_status()
  File "/usr/lib64/python3.8/unittest/mock.py", line 1081, in __call__
    return self._mock_call(*args, **kwargs)
  File "/usr/lib64/python3.8/unittest/mock.py", line 1085, in _mock_call
    return self._execute_mock_call(*args, **kwargs)
  resp.raise_for_status()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
......................................................
----------------------------------------------------------------------
Ran 287 tests in 2.267s

OK (skipped=10)
py38: commands[1]> flake8
py38: commands[2]> coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                            12      7      2      1    43%
doozerlib/assembly.py                           158     20     87     11    84%
doozerlib/assembly_inspector.py                 220    158    128      8    24%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               366    206    152      4    40%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       122     64     28      0    39%
doozerlib/cli/__main__.py                      1201   1201    474      0     0%
doozerlib/cli/cli_opts.py                        20      3      8      0    89%
doozerlib/cli/config_plashet.py                 536    536    246      0     0%
doozerlib/cli/config_tag_rpms.py                141     20     77     15    82%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  230     59    127      3    71%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 697    619    306      2     8%
doozerlib/cli/inspect_stream.py                  66     66     28      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           280    146    120      3    43%
doozerlib/cli/release_gen_payload.py            703    260    300     20    58%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/rpms_read_config.py                15     15      2      0     0%
doozerlib/cli/scan_sources.py                   185    143    100      2    17%
doozerlib/comment_on_pr.py                       46      0      8      0   100%
doozerlib/config.py                              97     97     44      0     0%
doozerlib/constants.py                           12      0      0      0   100%
doozerlib/coverity.py                           255    225     82      0     9%
doozerlib/dblib.py                              263    160     68      4    35%
doozerlib/distgit.py                           1454    901    690     40    36%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                          14      5      0      0    64%
doozerlib/exectools.py                          226    110     80     10    48%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              491    303    198      8    33%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           432    151    184     30    61%
doozerlib/model.py                              113     21     36      2    82%
doozerlib/olm/__init__.py                         0      0      0      0   100%
doozerlib/olm/bundle.py                         315    230     72      0    22%
doozerlib/osbs2_builder.py                      119     30     44     19    67%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      0      2      0   100%
doozerlib/release_schedule.py                    28     17      8      0    31%
doozerlib/repodata.py                           213     19     84     10    90%
doozerlib/repos.py                              239    110    123     18    48%
doozerlib/rhcos.py                              233     25     84     13    87%
doozerlib/rpm_builder.py                        232     32    123     32    80%
doozerlib/rpm_delivery.py                        16      1      0      0    94%
doozerlib/rpm_utils.py                          143     31     90      9    79%
doozerlib/rpmcfg.py                             151     61     64      8    55%
doozerlib/runtime.py                            907    690    374      7    18%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               455    217    182     13    49%
-------------------------------------------------------------------------------
TOTAL                                         12471   7351   5278    333    38%
.pkg: _exit> python /home/art/.local/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
  py38: OK (10.25=setup[3.15]+cmd[4.33,1.06,1.71] seconds)
  congratulations :) (10.52 seconds)

Copy link
Contributor

@joepvd joepvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@joepvd joepvd merged commit c51c7c3 into openshift-eng:master Jul 31, 2023
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants