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

release_gen_assembly.py option to output to file #630

Merged
merged 5 commits into from Aug 5, 2022
Merged

release_gen_assembly.py option to output to file #630

merged 5 commits into from Aug 5, 2022

Conversation

ashwindasr
Copy link
Contributor

@ashwindasr ashwindasr commented Aug 3, 2022

Option to write the output of gen-assembly doozer command to a file. Useful for openshift-eng/aos-cd-jobs#3140 as its better to read from a file rather than the output to create the PR.

@openshift-bot
Copy link

Build #1

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/setup.py
py36 create: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev72+g38f8fd4.zip
py36 installed: aiofiles==0.8.0,astroid==2.11.7,attrs==22.1.0,autopep8==1.6.0,bashlex==0.16,bcrypt==3.2.2,cached-property==1.5.2,certifi==2022.6.15,cffi==1.15.1,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==6.2,cryptography==37.0.4,dataclasses==0.8,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.4,distlib==0.3.5,dockerfile-parse==1.2.0,filelock==3.4.1,flake8==5.0.3,flexmock==0.11.3,future==0.18.2,gssapi==1.7.3,idna==3.3,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,koji==1.29.1,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==4.0.3,mysql-connector-python==8.0.30,openshift-client==1.0.17,packaging==21.3,paramiko==2.11.0,platformdirs==2.4.0,pluggy==1.0.0,protobuf==3.19.4,py==1.11.0,pycodestyle==2.9.0,pycparser==2.21,pyflakes==2.5.0,pygit2==1.6.1,PyGithub==1.55,PyJWT==2.4.0,pylint==2.13.9,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.5.3,pytest==7.0.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev72%2Bg38f8fd4.zip,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.25.1,typed-ast==1.5.4,typing==3.7.4.3,typing-extensions==4.1.1,urllib3==1.26.11,virtualenv==20.16.2,wrapt==1.14.1,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='1587721305'
py36 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
......................................................................................s.s....................................s.s...s.s.s..s.s.s........................................................................
----------------------------------------------------------------------
Ran 205 tests in 8.917s

OK (skipped=10)
py36 run-test: commands[1] | flake8
./doozerlib/image.py:611:19: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:191:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:193:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:197:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:199:18: E275 missing whitespace after keyword
./doozerlib/olm/bundle.py:290:12: E275 missing whitespace after keyword
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/py36/bin/flake8 (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py36: commands failed

@openshift-bot
Copy link

Build #2

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/setup.py
py36 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev73+gc5c87a1.zip
py36 installed: aiofiles==0.8.0,astroid==2.11.7,attrs==22.1.0,autopep8==1.6.0,bashlex==0.16,bcrypt==3.2.2,cached-property==1.5.2,certifi==2022.6.15,cffi==1.15.1,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==6.2,cryptography==37.0.4,dataclasses==0.8,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.4,distlib==0.3.5,dockerfile-parse==1.2.0,filelock==3.4.1,flake8==5.0.3,flexmock==0.11.3,future==0.18.2,gssapi==1.7.3,idna==3.3,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,koji==1.29.1,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==4.0.3,mysql-connector-python==8.0.30,openshift-client==1.0.17,packaging==21.3,paramiko==2.11.0,platformdirs==2.4.0,pluggy==1.0.0,protobuf==3.19.4,py==1.11.0,pycodestyle==2.9.0,pycparser==2.21,pyflakes==2.5.0,pygit2==1.6.1,PyGithub==1.55,PyJWT==2.4.0,pylint==2.13.9,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.5.3,pytest==7.0.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev73%2Bgc5c87a1.zip,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.25.1,typed-ast==1.5.4,typing==3.7.4.3,typing-extensions==4.1.1,urllib3==1.26.11,virtualenv==20.16.2,wrapt==1.14.1,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='1752763587'
py36 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
......................................................................................s.s....................................s.s...s.s.s..s.s.s........................................................................
----------------------------------------------------------------------
Ran 205 tests in 8.002s

OK (skipped=10)
py36 run-test: commands[1] | flake8
./doozerlib/image.py:611:19: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:191:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:193:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:197:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:199:18: E275 missing whitespace after keyword
./doozerlib/olm/bundle.py:290:12: E275 missing whitespace after keyword
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/py36/bin/flake8 (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py36: commands failed

@openshift-bot
Copy link

Build #3

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/setup.py
py36 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev74+g3b4fb31.zip
py36 installed: aiofiles==0.8.0,astroid==2.11.7,attrs==22.1.0,autopep8==1.6.0,bashlex==0.16,bcrypt==3.2.2,cached-property==1.5.2,certifi==2022.6.15,cffi==1.15.1,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==6.2,cryptography==37.0.4,dataclasses==0.8,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.4,distlib==0.3.5,dockerfile-parse==1.2.0,filelock==3.4.1,flake8==5.0.3,flexmock==0.11.3,future==0.18.2,gssapi==1.7.3,idna==3.3,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,koji==1.29.1,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==4.0.3,mysql-connector-python==8.0.30,openshift-client==1.0.17,packaging==21.3,paramiko==2.11.0,platformdirs==2.4.0,pluggy==1.0.0,protobuf==3.19.4,py==1.11.0,pycodestyle==2.9.0,pycparser==2.21,pyflakes==2.5.0,pygit2==1.6.1,PyGithub==1.55,PyJWT==2.4.0,pylint==2.13.9,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.5.3,pytest==7.0.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev74%2Bg3b4fb31.zip,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.25.1,typed-ast==1.5.4,typing==3.7.4.3,typing-extensions==4.1.1,urllib3==1.26.11,virtualenv==20.16.2,wrapt==1.14.1,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='2556552856'
py36 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
......................................................................................s.s....................................s.s...s.s.s..s.s.s........................................................................
----------------------------------------------------------------------
Ran 205 tests in 8.470s

OK (skipped=10)
py36 run-test: commands[1] | flake8
./doozerlib/image.py:611:19: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:191:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:193:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:197:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:199:18: E275 missing whitespace after keyword
./doozerlib/olm/bundle.py:290:12: E275 missing whitespace after keyword
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/py36/bin/flake8 (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py36: commands failed

@openshift-bot
Copy link

Build #4

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/setup.py
py36 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev76+gc897ba2.zip
py36 installed: aiofiles==0.8.0,astroid==2.11.7,attrs==22.1.0,autopep8==1.6.0,bashlex==0.16,bcrypt==3.2.2,cached-property==1.5.2,certifi==2022.6.15,cffi==1.15.1,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==6.2,cryptography==37.0.4,dataclasses==0.8,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.4,distlib==0.3.5,dockerfile-parse==1.2.0,filelock==3.4.1,flake8==5.0.3,flexmock==0.11.3,future==0.18.2,gssapi==1.7.3,idna==3.3,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,koji==1.29.1,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==4.0.3,mysql-connector-python==8.0.30,openshift-client==1.0.17,packaging==21.3,paramiko==2.11.0,platformdirs==2.4.0,pluggy==1.0.0,protobuf==3.19.4,py==1.11.0,pycodestyle==2.9.0,pycparser==2.21,pyflakes==2.5.0,pygit2==1.6.1,PyGithub==1.55,PyJWT==2.4.0,pylint==2.13.9,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.5.3,pytest==7.0.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev76%2Bgc897ba2.zip,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.25.1,typed-ast==1.5.4,typing==3.7.4.3,typing-extensions==4.1.1,urllib3==1.26.11,virtualenv==20.16.2,wrapt==1.14.1,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='3272307026'
py36 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
......................................................................................s.s....................................s.s...s.s.s..s.s.s........................................................................
----------------------------------------------------------------------
Ran 205 tests in 8.593s

OK (skipped=10)
py36 run-test: commands[1] | flake8
./doozerlib/image.py:611:19: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:191:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:193:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:197:18: E275 missing whitespace after keyword
./doozerlib/rpm_utils.py:199:18: E275 missing whitespace after keyword
./doozerlib/olm/bundle.py:290:12: E275 missing whitespace after keyword
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/py36/bin/flake8 (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py36: commands failed

@openshift-bot
Copy link

Build #5

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/setup.py
py36 recreate: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/py36
py36 installdeps: -rrequirements-dev.txt
py36 inst: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev77+g0994854.zip
py36 installed: aiofiles==0.8.0,astroid==2.11.7,attrs==22.1.0,autopep8==1.6.0,bashlex==0.16,bcrypt==3.2.2,cached-property==1.5.2,certifi==2022.6.15,cffi==1.15.1,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==6.2,cryptography==37.0.4,dataclasses==0.8,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.4,distlib==0.3.5,dockerfile-parse==1.2.0,filelock==3.4.1,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.7.3,idna==3.3,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,koji==1.29.1,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==4.0.3,mysql-connector-python==8.0.30,openshift-client==1.0.17,packaging==21.3,paramiko==2.11.0,platformdirs==2.4.0,pluggy==1.0.0,protobuf==3.19.4,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.6.1,PyGithub==1.55,PyJWT==2.4.0,pylint==2.13.9,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.5.3,pytest==7.0.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev77%2Bg0994854.zip,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.25.1,typed-ast==1.5.4,typing==3.7.4.3,typing-extensions==4.1.1,urllib3==1.26.11,virtualenv==20.16.2,wrapt==1.14.1,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='3226953274'
py36 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
......................................................................................s.s....................................s.s...s.s.s..s.s.s........................................................................
----------------------------------------------------------------------
Ran 205 tests in 8.460s

OK (skipped=10)
py36 run-test: commands[1] | flake8
py36 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           162     43     97      8    70%
doozerlib/assembly_inspector.py                 177    158    102      0     8%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               345    200    162      4    40%
doozerlib/build_status_detector.py               85     10     56      3    87%
doozerlib/cli/__init__.py                       102     45     20      0    47%
doozerlib/cli/__main__.py                      1126   1126    468      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 533    533    248      0     0%
doozerlib/cli/detect_embargo.py                 164     35     70      8    75%
doozerlib/cli/get_nightlies.py                  226     57    135      3    73%
doozerlib/cli/images_health.py                   81     30     26      2    59%
doozerlib/cli/images_streams.py                 617    617    264      0     0%
doozerlib/cli/inspect_stream.py                  45     45     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      23     23      6      0     0%
doozerlib/cli/release_gen_assembly.py           217    217    112      0     0%
doozerlib/cli/release_gen_payload.py            535    439    260      0    13%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   180    139     96      2    17%
doozerlib/config.py                              97     97     46      0     0%
doozerlib/constants.py                           10      0      0      0   100%
doozerlib/coverity.py                           245    215     76      0    10%
doozerlib/dblib.py                              250    154     74      4    36%
doozerlib/distgit.py                           1445    916    699     38    35%
doozerlib/dotconfig.py                           54     43     33      0    15%
doozerlib/exceptions.py                           2      0      2      0   100%
doozerlib/exectools.py                          196    107     78     10    43%
doozerlib/gitdata.py                            171    137     86      0    17%
doozerlib/image.py                              492    324    220      6    28%
doozerlib/logutil.py                              9      0      4      1    92%
doozerlib/metadata.py                           438    161    212     30    58%
doozerlib/model.py                              110     21     44      2    82%
doozerlib/olm/__init__.py                         0      0      0      0   100%
doozerlib/olm/bundle.py                         293    215     72      3    23%
doozerlib/plashet.py                            134      9     92     15    89%
doozerlib/pushd.py                               20      2      4      0    92%
doozerlib/repos.py                              206    105    117     17    45%
doozerlib/rhcos.py                              170     33     62     10    76%
doozerlib/rpm_builder.py                        232     31    125     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             143     58     62      8    55%
doozerlib/runtime.py                            914    669    378      8    21%
doozerlib/source_modifications.py               111     29     34      4    73%
doozerlib/state.py                               23     12     10      0    39%
doozerlib/util.py                               410    207    154      5    46%
-------------------------------------------------------------------------------
TOTAL                                         11129   7359   4982    243    31%
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)

@openshift-bot
Copy link

Build #6

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/setup.py
py36 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev78+g47f0019.zip
py36 installed: aiofiles==0.8.0,astroid==2.11.7,attrs==22.1.0,autopep8==1.6.0,bashlex==0.16,bcrypt==3.2.2,cached-property==1.5.2,certifi==2022.6.15,cffi==1.15.1,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==6.2,cryptography==37.0.4,dataclasses==0.8,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.4,distlib==0.3.5,dockerfile-parse==1.2.0,filelock==3.4.1,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.7.3,idna==3.3,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,koji==1.29.1,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==4.0.3,mysql-connector-python==8.0.30,openshift-client==1.0.17,packaging==21.3,paramiko==2.11.0,platformdirs==2.4.0,pluggy==1.0.0,protobuf==3.19.4,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.6.1,PyGithub==1.55,PyJWT==2.4.0,pylint==2.13.9,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.5.3,pytest==7.0.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev78%2Bg47f0019.zip,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.25.1,typed-ast==1.5.4,typing==3.7.4.3,typing-extensions==4.1.1,urllib3==1.26.11,virtualenv==20.16.2,wrapt==1.14.1,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='522273844'
py36 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
......................................................................................s.s....................................s.s...s.s.s..s.s.s........................................................................
----------------------------------------------------------------------
Ran 205 tests in 8.656s

OK (skipped=10)
py36 run-test: commands[1] | flake8
py36 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           162     43     97      8    70%
doozerlib/assembly_inspector.py                 177    158    102      0     8%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               345    200    162      4    40%
doozerlib/build_status_detector.py               85     10     56      3    87%
doozerlib/cli/__init__.py                       102     45     20      0    47%
doozerlib/cli/__main__.py                      1126   1126    468      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 533    533    248      0     0%
doozerlib/cli/detect_embargo.py                 164     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    139      3    71%
doozerlib/cli/images_health.py                   81     30     26      2    59%
doozerlib/cli/images_streams.py                 617    617    264      0     0%
doozerlib/cli/inspect_stream.py                  45     45     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      23     23      6      0     0%
doozerlib/cli/release_gen_assembly.py           217    217    112      0     0%
doozerlib/cli/release_gen_payload.py            535    439    260      0    13%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   180    139     96      2    17%
doozerlib/config.py                              97     97     46      0     0%
doozerlib/constants.py                           10      0      0      0   100%
doozerlib/coverity.py                           245    215     76      0    10%
doozerlib/dblib.py                              250    154     74      4    36%
doozerlib/distgit.py                           1445    916    699     38    35%
doozerlib/dotconfig.py                           54     43     33      0    15%
doozerlib/exceptions.py                           2      0      2      0   100%
doozerlib/exectools.py                          196    107     78     10    43%
doozerlib/gitdata.py                            171    137     86      0    17%
doozerlib/image.py                              492    324    220      6    28%
doozerlib/logutil.py                              9      0      4      1    92%
doozerlib/metadata.py                           438    161    212     30    58%
doozerlib/model.py                              110     21     44      2    82%
doozerlib/olm/__init__.py                         0      0      0      0   100%
doozerlib/olm/bundle.py                         293    215     72      3    23%
doozerlib/plashet.py                            134      9     92     15    89%
doozerlib/pushd.py                               20      2      4      0    92%
doozerlib/repos.py                              206    105    117     17    45%
doozerlib/rhcos.py                              170     33     62     10    76%
doozerlib/rpm_builder.py                        232     31    125     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             143     58     62      8    55%
doozerlib/runtime.py                            914    669    378      8    21%
doozerlib/source_modifications.py               111     29     34      4    73%
doozerlib/state.py                               23     12     10      0    39%
doozerlib/util.py                               410    207    154      5    46%
-------------------------------------------------------------------------------
TOTAL                                         11136   7365   4986    243    31%
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)

@openshift-bot
Copy link

Build #7

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/setup.py
py36 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev79+g33bcd4d.zip
py36 installed: aiofiles==0.8.0,astroid==2.11.7,attrs==22.1.0,autopep8==1.6.0,bashlex==0.16,bcrypt==3.2.2,cached-property==1.5.2,certifi==2022.6.15,cffi==1.15.1,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==6.2,cryptography==37.0.4,dataclasses==0.8,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.4,distlib==0.3.5,dockerfile-parse==1.2.0,filelock==3.4.1,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.7.3,idna==3.3,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,koji==1.29.1,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==4.0.3,mysql-connector-python==8.0.30,openshift-client==1.0.17,packaging==21.3,paramiko==2.11.0,platformdirs==2.4.0,pluggy==1.0.0,protobuf==3.19.4,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.6.1,PyGithub==1.55,PyJWT==2.4.0,pylint==2.13.9,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.5.3,pytest==7.0.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev79%2Bg33bcd4d.zip,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.25.1,typed-ast==1.5.4,typing==3.7.4.3,typing-extensions==4.1.1,urllib3==1.26.11,virtualenv==20.16.2,wrapt==1.14.1,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='149559779'
py36 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
......................................................................................s.s....................................s.s...s.s.s..s.s.s........................................................................
----------------------------------------------------------------------
Ran 205 tests in 8.460s

OK (skipped=10)
py36 run-test: commands[1] | flake8
py36 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           162     43     97      8    70%
doozerlib/assembly_inspector.py                 177    158    102      0     8%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               345    200    162      4    40%
doozerlib/build_status_detector.py               85     10     56      3    87%
doozerlib/cli/__init__.py                       102     45     20      0    47%
doozerlib/cli/__main__.py                      1126   1126    468      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 533    533    248      0     0%
doozerlib/cli/detect_embargo.py                 164     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    139      3    71%
doozerlib/cli/images_health.py                   81     30     26      2    59%
doozerlib/cli/images_streams.py                 617    617    264      0     0%
doozerlib/cli/inspect_stream.py                  45     45     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      23     23      6      0     0%
doozerlib/cli/release_gen_assembly.py           217    217    112      0     0%
doozerlib/cli/release_gen_payload.py            535    439    260      0    13%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   180    139     96      2    17%
doozerlib/config.py                              97     97     46      0     0%
doozerlib/constants.py                           10      0      0      0   100%
doozerlib/coverity.py                           245    215     76      0    10%
doozerlib/dblib.py                              250    154     74      4    36%
doozerlib/distgit.py                           1445    916    699     38    35%
doozerlib/dotconfig.py                           54     43     33      0    15%
doozerlib/exceptions.py                           2      0      2      0   100%
doozerlib/exectools.py                          196    107     78     10    43%
doozerlib/gitdata.py                            171    137     86      0    17%
doozerlib/image.py                              492    324    220      6    28%
doozerlib/logutil.py                              9      0      4      1    92%
doozerlib/metadata.py                           438    161    212     30    58%
doozerlib/model.py                              110     21     44      2    82%
doozerlib/olm/__init__.py                         0      0      0      0   100%
doozerlib/olm/bundle.py                         293    215     72      3    23%
doozerlib/plashet.py                            134      9     92     15    89%
doozerlib/pushd.py                               20      2      4      0    92%
doozerlib/repos.py                              206    105    117     17    45%
doozerlib/rhcos.py                              170     33     62     10    76%
doozerlib/rpm_builder.py                        232     31    125     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             143     58     62      8    55%
doozerlib/runtime.py                            914    669    378      8    21%
doozerlib/source_modifications.py               111     29     34      4    73%
doozerlib/state.py                               23     12     10      0    39%
doozerlib/util.py                               410    207    154      5    46%
-------------------------------------------------------------------------------
TOTAL                                         11136   7365   4986    243    31%
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)

@openshift-bot
Copy link

Build #8

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/setup.py
py36 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev80+g01d580e.zip
py36 installed: aiofiles==0.8.0,astroid==2.11.7,attrs==22.1.0,autopep8==1.6.0,bashlex==0.16,bcrypt==3.2.2,cached-property==1.5.2,certifi==2022.6.15,cffi==1.15.1,charset-normalizer==2.0.12,click==8.0.4,contextvars==2.4,coverage==6.2,cryptography==37.0.4,dataclasses==0.8,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.4,distlib==0.3.5,dockerfile-parse==1.2.0,filelock==3.4.1,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.7.3,idna==3.3,immutables==0.18,importlib-metadata==4.8.3,importlib-resources==5.4.0,iniconfig==1.1.1,isort==5.10.1,koji==1.29.1,krb5==0.3.0,lazy-object-proxy==1.7.1,mccabe==0.7.0,mock==4.0.3,mysql-connector-python==8.0.30,openshift-client==1.0.17,packaging==21.3,paramiko==2.11.0,platformdirs==2.4.0,pluggy==1.0.0,protobuf==3.19.4,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.6.1,PyGithub==1.55,PyJWT==2.4.0,pylint==2.13.9,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.5.3,pytest==7.0.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.27.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-630/.tox/.tmp/package/1/rh-doozer-2.0.15.dev80%2Bg01d580e.zip,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.25.1,typed-ast==1.5.4,typing==3.7.4.3,typing-extensions==4.1.1,urllib3==1.26.11,virtualenv==20.16.2,wrapt==1.14.1,zipp==3.6.0
py36 run-test-pre: PYTHONHASHSEED='1033291330'
py36 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
......................................................................................s.s....................................s.s...s.s.s..s.s.s........................................................................
----------------------------------------------------------------------
Ran 205 tests in 8.516s

OK (skipped=10)
py36 run-test: commands[1] | flake8
py36 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           162     43     97      8    70%
doozerlib/assembly_inspector.py                 177    158    102      0     8%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               345    200    162      4    40%
doozerlib/build_status_detector.py               85     10     56      3    87%
doozerlib/cli/__init__.py                       102     45     20      0    47%
doozerlib/cli/__main__.py                      1126   1126    468      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 533    533    248      0     0%
doozerlib/cli/detect_embargo.py                 164     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    139      3    71%
doozerlib/cli/images_health.py                   81     30     26      2    59%
doozerlib/cli/images_streams.py                 617    617    264      0     0%
doozerlib/cli/inspect_stream.py                  45     45     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      23     23      6      0     0%
doozerlib/cli/release_gen_assembly.py           217    217    112      0     0%
doozerlib/cli/release_gen_payload.py            535    439    260      0    13%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   180    139     96      2    17%
doozerlib/config.py                              97     97     46      0     0%
doozerlib/constants.py                           10      0      0      0   100%
doozerlib/coverity.py                           245    215     76      0    10%
doozerlib/dblib.py                              250    154     74      4    36%
doozerlib/distgit.py                           1445    916    699     38    35%
doozerlib/dotconfig.py                           54     43     33      0    15%
doozerlib/exceptions.py                           2      0      2      0   100%
doozerlib/exectools.py                          196    107     78     10    43%
doozerlib/gitdata.py                            171    137     86      0    17%
doozerlib/image.py                              492    324    220      6    28%
doozerlib/logutil.py                              9      0      4      1    92%
doozerlib/metadata.py                           438    161    212     30    58%
doozerlib/model.py                              110     21     44      2    82%
doozerlib/olm/__init__.py                         0      0      0      0   100%
doozerlib/olm/bundle.py                         293    215     72      3    23%
doozerlib/plashet.py                            134      9     92     15    89%
doozerlib/pushd.py                               20      2      4      0    92%
doozerlib/repos.py                              206    105    117     17    45%
doozerlib/rhcos.py                              170     33     62     10    76%
doozerlib/rpm_builder.py                        232     31    125     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             143     58     62      8    55%
doozerlib/runtime.py                            914    669    378      8    21%
doozerlib/source_modifications.py               111     29     34      4    73%
doozerlib/state.py                               23     12     10      0    39%
doozerlib/util.py                               410    207    154      5    46%
-------------------------------------------------------------------------------
TOTAL                                         11136   7365   4986    243    31%
___________________________________ summary ____________________________________
  py36: commands succeeded
  congratulations :)

@thegreyd
Copy link
Contributor

thegreyd commented Aug 5, 2022

/lgtm

@thegreyd thegreyd merged commit 2816fde into openshift-eng:master Aug 5, 2022
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants