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

[ART-4931] Rebase Dockerfiles according to release schedule #659

Merged
merged 4 commits into from
Oct 12, 2022

Conversation

locriandev
Copy link
Contributor

@locriandev locriandev commented Oct 4, 2022

Ref. ART-4931

In #646, we introduced the canonical_builders_from_upstream flag that controls the way we rebase Dockerfiles.

With this PR, the flag is turned into a parameter that can (and normally should) be set to 'auto': when this happens, Doozer will clone https://gitlab.cee.redhat.com/ocp-release-schedule/schedule/-/tree/master/ and check the feature freeze date for the relevant OCP version. If we are before feature freeze, it will try to match upstream; otherwise, it will override upstream builders according to ART configuration.

The ReleaseSchedule class is responsible for cloning and parsing the schedule repo. I've decided to make it a Singleton, since we do not want to clone the repo more times than needed (just once), and we currently just want to do it when running doozer images:rebase (hence not suitable for being initialized with the runtime). Using the Singleton pattern, we can safely type ReleaseSchedule(runtime) as many times as we want without worrying about checking if we already did clone.

@locriandev locriandev changed the title Rebase Dockerfiles according to release schedule [ART-4931] Rebase Dockerfiles according to release schedule Oct 4, 2022
@locriandev locriandev requested review from vfreex, sosiouxme and jupierce and removed request for vfreex October 4, 2022 16:52
@openshift-ci openshift-ci bot requested review from joepvd and Ximinhan October 4, 2022 16:54
@openshift-bot
Copy link

Build #1

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 create: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/py38
py38 installdeps: -rrequirements-dev.txt
py38 inst: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev126+ge6b3fef.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev126%2Bge6b3fef.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='901636575'
py38 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
.............................................................................E.E.........................E.E.E.E.E.E.E.E.E.E.s.s.E.E.E.E.E.E.E.E.E.E.E.E.E.EE.E.E.E.EE.E.EEE.E...........s.s...s.s.s..s.s.s........................................./usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
.................................
======================================================================
ERROR: test_add_missing_pkgs_succeed (tests.test_distgit.test_generic_distgit.TestGenericDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_generic_distgit.py", line 666, in test_add_missing_pkgs_succeed
    d = distgit.ImageDistGitRepo(md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_cgit_file_available (tests.test_distgit.test_generic_distgit.TestGenericDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/py38/lib/python3.8/site-packages/mock/mock.py", line 1346, in patched
    return func(*newargs, **newkeywargs)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_generic_distgit.py", line 677, in test_cgit_file_available
    dg = distgit.ImageDistGitRepo(meta, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_clone_invokes_read_master_data (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
Mocking `clone` method of parent class, since we are only interested
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_package_manangers (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_package_manangers_without_git_clone (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_permanent_build_failures (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_permanent_build_failures_borkage (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_generate_osbs_image_config_with_addtional_tags (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_generate_osbs_image_config_with_cachito_enabled (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_default (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_from_config (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_imagebuilder (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_with_final_stage_user (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_without_final_stage_user (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_without_repos (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_cmds_changed (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_cmds_unchanged (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_parse_err (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push_with_io_error (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_remove_yum_update_commands (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_wait_for_build_with_build_status_false (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_wait_for_build_with_build_status_true (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push_image_dry_run (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 201, in test_push_image_dry_run
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_fail_to_create_a_push_config_dir (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 278, in test_push_image_fail_to_create_a_push_config_dir
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_insecure_source (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 523, in test_push_image_insecure_source
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_is_late_push (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 38, in test_push_image_is_late_push
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_no_push_tags (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 163, in test_push_image_no_push_tags
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_nothing_to_push (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 54, in test_push_image_nothing_to_push
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_push_config_dir_already_created_by_another_thread (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 320, in test_push_image_push_config_dir_already_created_by_another_thread
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_registry_config (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 569, in test_push_image_registry_config
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 88, in test_push_image_to_defaults
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_fail_mirroring (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 362, in test_push_image_to_defaults_fail_mirroring
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_fail_mirroring_with_lstate (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 475, in test_push_image_to_defaults_fail_mirroring_with_lstate
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_with_lstate (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 412, in test_push_image_to_defaults_with_lstate
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_without_a_push_config_dir_previously_present (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 239, in test_push_image_without_a_push_config_dir_previously_present
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_without_version_release_tuple (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 126, in test_push_image_without_version_release_tuple
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

----------------------------------------------------------------------
Ran 234 tests in 1.358s

FAILED (errors=37, skipped=10)
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/py38/bin/coverage run --branch --source doozerlib -m unittest discover -t . -s tests/ (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py38: commands failed

@openshift-bot
Copy link

Build #2

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev129+gbe7af68.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev129%2Bgbe7af68.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='778418879'
py38 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
.............................................................................E.E.........................E.E.E.E.E.E.E.E.E.E.s.s.E.E.E.E.E.E.E.E.E.E.E.E.E.EE.E.E.E.EE.E.EEE.E...........s.s...s.s.s..s.s.s.........................../usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
...............................................
======================================================================
ERROR: test_add_missing_pkgs_succeed (tests.test_distgit.test_generic_distgit.TestGenericDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_generic_distgit.py", line 666, in test_add_missing_pkgs_succeed
    d = distgit.ImageDistGitRepo(md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_cgit_file_available (tests.test_distgit.test_generic_distgit.TestGenericDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/py38/lib/python3.8/site-packages/mock/mock.py", line 1346, in patched
    return func(*newargs, **newkeywargs)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_generic_distgit.py", line 677, in test_cgit_file_available
    dg = distgit.ImageDistGitRepo(meta, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_clone_invokes_read_master_data (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
Mocking `clone` method of parent class, since we are only interested
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_package_manangers (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_package_manangers_without_git_clone (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_permanent_build_failures (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_permanent_build_failures_borkage (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_generate_osbs_image_config_with_addtional_tags (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_generate_osbs_image_config_with_cachito_enabled (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_default (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_from_config (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_imagebuilder (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_with_final_stage_user (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_without_final_stage_user (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_without_repos (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_cmds_changed (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_cmds_unchanged (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_parse_err (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push_with_io_error (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_remove_yum_update_commands (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_wait_for_build_with_build_status_false (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_wait_for_build_with_build_status_true (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push_image_dry_run (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 201, in test_push_image_dry_run
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_fail_to_create_a_push_config_dir (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 278, in test_push_image_fail_to_create_a_push_config_dir
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_insecure_source (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 523, in test_push_image_insecure_source
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_is_late_push (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 38, in test_push_image_is_late_push
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_no_push_tags (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 163, in test_push_image_no_push_tags
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_nothing_to_push (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 54, in test_push_image_nothing_to_push
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_push_config_dir_already_created_by_another_thread (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 320, in test_push_image_push_config_dir_already_created_by_another_thread
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_registry_config (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 569, in test_push_image_registry_config
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 88, in test_push_image_to_defaults
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_fail_mirroring (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 362, in test_push_image_to_defaults_fail_mirroring
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_fail_mirroring_with_lstate (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 475, in test_push_image_to_defaults_fail_mirroring_with_lstate
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_with_lstate (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 412, in test_push_image_to_defaults_with_lstate
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_without_a_push_config_dir_previously_present (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 239, in test_push_image_without_a_push_config_dir_previously_present
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_without_version_release_tuple (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 126, in test_push_image_without_version_release_tuple
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

----------------------------------------------------------------------
Ran 234 tests in 1.326s

FAILED (errors=37, skipped=10)
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/py38/bin/coverage run --branch --source doozerlib -m unittest discover -t . -s tests/ (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py38: commands failed

@openshift-bot
Copy link

Build #3

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev130+gc38b07b.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev130%2Bgc38b07b.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='2890450376'
py38 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
.............................................................................E.E.........................E.E.E.E.E.E.E.E.E.E.s.s.E.E.E.E.E.E.E.E.E.E.E.E.E.EE.E.E.E.EE.E.EEE.E...........s.s...s.s.s..s.s.s......................................../usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
..................................
======================================================================
ERROR: test_add_missing_pkgs_succeed (tests.test_distgit.test_generic_distgit.TestGenericDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_generic_distgit.py", line 666, in test_add_missing_pkgs_succeed
    d = distgit.ImageDistGitRepo(md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_cgit_file_available (tests.test_distgit.test_generic_distgit.TestGenericDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/py38/lib/python3.8/site-packages/mock/mock.py", line 1346, in patched
    return func(*newargs, **newkeywargs)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_generic_distgit.py", line 677, in test_cgit_file_available
    dg = distgit.ImageDistGitRepo(meta, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_clone_invokes_read_master_data (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
Mocking `clone` method of parent class, since we are only interested
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_package_manangers (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_package_manangers_without_git_clone (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_permanent_build_failures (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_permanent_build_failures_borkage (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_generate_osbs_image_config_with_addtional_tags (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_generate_osbs_image_config_with_cachito_enabled (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_default (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_from_config (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_imagebuilder (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_with_final_stage_user (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_without_final_stage_user (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_without_repos (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_cmds_changed (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_cmds_unchanged (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_parse_err (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push_with_io_error (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_remove_yum_update_commands (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_wait_for_build_with_build_status_false (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_wait_for_build_with_build_status_true (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push_image_dry_run (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 201, in test_push_image_dry_run
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_fail_to_create_a_push_config_dir (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 278, in test_push_image_fail_to_create_a_push_config_dir
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_insecure_source (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 523, in test_push_image_insecure_source
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_is_late_push (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 38, in test_push_image_is_late_push
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_no_push_tags (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 163, in test_push_image_no_push_tags
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_nothing_to_push (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 54, in test_push_image_nothing_to_push
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_push_config_dir_already_created_by_another_thread (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 320, in test_push_image_push_config_dir_already_created_by_another_thread
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_registry_config (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 569, in test_push_image_registry_config
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 88, in test_push_image_to_defaults
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_fail_mirroring (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 362, in test_push_image_to_defaults_fail_mirroring
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_fail_mirroring_with_lstate (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 475, in test_push_image_to_defaults_fail_mirroring_with_lstate
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_with_lstate (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 412, in test_push_image_to_defaults_with_lstate
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_without_a_push_config_dir_previously_present (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 239, in test_push_image_without_a_push_config_dir_previously_present
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_without_version_release_tuple (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 126, in test_push_image_without_version_release_tuple
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

----------------------------------------------------------------------
Ran 234 tests in 1.510s

FAILED (errors=37, skipped=10)
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/py38/bin/coverage run --branch --source doozerlib -m unittest discover -t . -s tests/ (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py38: commands failed

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 5, 2022
# Conflicts:
#	doozerlib/distgit.py
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 6, 2022
@openshift-bot
Copy link

Build #5

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev133+g5f04389.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev133%2Bg5f04389.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='3416290447'
py38 run-test: commands[0] | coverage run --branch --source doozerlib -m unittest discover -t . -s tests/
.............................................................................E.E.........................E.E.E.E.E.E.E.E.E.E.s.s.E.E.E.E.E.E.E.E.E.E.E.E.E.EE.E.E.E.EE.E.EEE.E...........s.s...s.s.s..s.s.s.........................../usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
...............................................
======================================================================
ERROR: test_add_missing_pkgs_succeed (tests.test_distgit.test_generic_distgit.TestGenericDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_generic_distgit.py", line 666, in test_add_missing_pkgs_succeed
    d = distgit.ImageDistGitRepo(md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_cgit_file_available (tests.test_distgit.test_generic_distgit.TestGenericDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/py38/lib/python3.8/site-packages/mock/mock.py", line 1346, in patched
    return func(*newargs, **newkeywargs)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_generic_distgit.py", line 677, in test_cgit_file_available
    dg = distgit.ImageDistGitRepo(meta, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_clone_invokes_read_master_data (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
Mocking `clone` method of parent class, since we are only interested
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_package_manangers (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_package_manangers_without_git_clone (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_permanent_build_failures (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_detect_permanent_build_failures_borkage (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_generate_osbs_image_config_with_addtional_tags (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_generate_osbs_image_config_with_cachito_enabled (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_default (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_from_config (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_image_build_method_imagebuilder (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_with_final_stage_user (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_without_final_stage_user (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_inject_yum_update_commands_without_repos (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_cmds_changed (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_cmds_unchanged (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_mangle_yum_parse_err (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push_with_io_error (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_remove_yum_update_commands (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_wait_for_build_with_build_status_false (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_wait_for_build_with_build_status_true (tests.test_distgit.test_image_distgit.test_image_distgit.TestImageDistGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_image_distgit.py", line 24, in setUp
    self.img_dg = distgit.ImageDistGitRepo(self.md, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockRuntime' object has no attribute 'group_config'

======================================================================
ERROR: test_push_image_dry_run (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 201, in test_push_image_dry_run
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_fail_to_create_a_push_config_dir (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 278, in test_push_image_fail_to_create_a_push_config_dir
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_insecure_source (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 523, in test_push_image_insecure_source
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_is_late_push (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 38, in test_push_image_is_late_push
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_no_push_tags (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 163, in test_push_image_no_push_tags
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_nothing_to_push (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 54, in test_push_image_nothing_to_push
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_push_config_dir_already_created_by_another_thread (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 320, in test_push_image_push_config_dir_already_created_by_another_thread
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_registry_config (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 569, in test_push_image_registry_config
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 88, in test_push_image_to_defaults
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_fail_mirroring (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 362, in test_push_image_to_defaults_fail_mirroring
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_fail_mirroring_with_lstate (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 475, in test_push_image_to_defaults_fail_mirroring_with_lstate
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_to_defaults_with_lstate (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 412, in test_push_image_to_defaults_with_lstate
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_without_a_push_config_dir_previously_present (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 239, in test_push_image_without_a_push_config_dir_previously_present
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

======================================================================
ERROR: test_push_image_without_version_release_tuple (tests.test_distgit.test_image_distgit.test_push_image.TestImageDistGitRepoPushImage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/tests/test_distgit/test_image_distgit/test_push_image.py", line 126, in test_push_image_without_version_release_tuple
    repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
  File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-659/doozerlib/distgit.py", line 434, in __init__
    if self.runtime.group_config.canonical_builders_from_upstream == 'auto':
AttributeError: 'MockClass' object has no attribute 'canonical_builders_from_upstream'

----------------------------------------------------------------------
Ran 234 tests in 1.293s

FAILED (errors=37, skipped=10)
ERROR: InvocationError for command /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/py38/bin/coverage run --branch --source doozerlib -m unittest discover -t . -s tests/ (exited with code 1)
___________________________________ summary ____________________________________
ERROR:   py38: commands failed

@openshift-bot
Copy link

Build #6

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev134+g72629c7.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev134%2Bg72629c7.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='3345567005'
py38 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.........................../usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
...............................................
----------------------------------------------------------------------
Ran 234 tests in 1.425s

OK (skipped=10)
py38 run-test: commands[1] | flake8
py38 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           164     43     93      8    70%
doozerlib/assembly_inspector.py                 177    158    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               347    200    152      4    39%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       103     45     20      0    47%
doozerlib/cli/__main__.py                      1153   1153    466      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 536    536    248      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    129      3    70%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 625    625    264      0     0%
doozerlib/cli/inspect_stream.py                  46     46     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           218    218    112      0     0%
doozerlib/cli/release_gen_payload.py            577    191    248     15    63%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   179    138     96      2    17%
doozerlib/config.py                              97     97     44      0     0%
doozerlib/constants.py                           11      0      0      0   100%
doozerlib/coverity.py                           245    215     74      0     9%
doozerlib/dblib.py                              257    154     68      4    36%
doozerlib/distgit.py                           1512    966    732     40    34%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    107     76     10    42%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              495    324    214      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           439    161    204     30    58%
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                      114     29     44     18    66%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    24     14      6      0    33%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              170     33     54     10    75%
doozerlib/rpm_builder.py                        232     31    123     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            922    670    374      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               434    228    170      5    43%
-------------------------------------------------------------------------------
TOTAL                                         11514   7294   4961    275    34%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

@openshift-bot
Copy link

Build #7

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev135+g77a2b0c.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev135%2Bg77a2b0c.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='1590580662'
py38 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.........................../usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
...............................................
----------------------------------------------------------------------
Ran 234 tests in 1.536s

OK (skipped=10)
py38 run-test: commands[1] | flake8
py38 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           164     43     93      8    70%
doozerlib/assembly_inspector.py                 177    158    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               347    200    152      4    39%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       103     45     20      0    47%
doozerlib/cli/__main__.py                      1153   1153    466      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 536    536    248      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    129      3    70%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 625    625    264      0     0%
doozerlib/cli/inspect_stream.py                  46     46     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           218    218    112      0     0%
doozerlib/cli/release_gen_payload.py            577    191    248     15    63%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   179    138     96      2    17%
doozerlib/config.py                              97     97     44      0     0%
doozerlib/constants.py                           11      0      0      0   100%
doozerlib/coverity.py                           245    215     74      0     9%
doozerlib/dblib.py                              257    154     68      4    36%
doozerlib/distgit.py                           1512    966    732     40    34%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    107     76     10    42%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              495    324    214      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           439    161    204     30    58%
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                      114     29     44     18    66%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    24     14      6      0    33%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              170     33     54     10    75%
doozerlib/rpm_builder.py                        232     31    123     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            922    670    374      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               434    228    170      5    43%
-------------------------------------------------------------------------------
TOTAL                                         11514   7294   4961    275    34%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

@openshift-bot
Copy link

Build #8

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev136+g5cd2c1c.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev136%2Bg5cd2c1c.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='441920152'
py38 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......................................../usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
..................................
----------------------------------------------------------------------
Ran 234 tests in 1.337s

OK (skipped=10)
py38 run-test: commands[1] | flake8
py38 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           164     43     93      8    70%
doozerlib/assembly_inspector.py                 177    158    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               347    200    152      4    39%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       103     45     20      0    47%
doozerlib/cli/__main__.py                      1153   1153    466      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 536    536    248      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    129      3    70%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 628    628    266      0     0%
doozerlib/cli/inspect_stream.py                  46     46     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           218    218    112      0     0%
doozerlib/cli/release_gen_payload.py            577    191    248     15    63%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   179    138     96      2    17%
doozerlib/config.py                              97     97     44      0     0%
doozerlib/constants.py                           11      0      0      0   100%
doozerlib/coverity.py                           245    215     74      0     9%
doozerlib/dblib.py                              257    154     68      4    36%
doozerlib/distgit.py                           1512    966    732     40    34%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    107     76     10    42%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              495    324    214      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           439    161    204     30    58%
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                      114     29     44     18    66%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    24     14      6      0    33%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              170     33     54     10    75%
doozerlib/rpm_builder.py                        232     31    123     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            922    670    374      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               434    228    170      5    43%
-------------------------------------------------------------------------------
TOTAL                                         11517   7297   4963    275    34%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

@openshift-bot
Copy link

Build #9

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev138+g6d7bb35.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev138%2Bg6d7bb35.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='442705853'
py38 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........................................./usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
.................................
----------------------------------------------------------------------
Ran 234 tests in 1.375s

OK (skipped=10)
py38 run-test: commands[1] | flake8
py38 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           164     43     93      8    70%
doozerlib/assembly_inspector.py                 177    158    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               347    200    152      4    39%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       103     45     20      0    47%
doozerlib/cli/__main__.py                      1153   1153    466      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 536    536    248      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    129      3    70%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 628    628    266      0     0%
doozerlib/cli/inspect_stream.py                  46     46     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           218    218    112      0     0%
doozerlib/cli/release_gen_payload.py            577    191    248     15    63%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   179    138     96      2    17%
doozerlib/config.py                              97     97     44      0     0%
doozerlib/constants.py                           11      0      0      0   100%
doozerlib/coverity.py                           245    215     74      0     9%
doozerlib/dblib.py                              257    154     68      4    36%
doozerlib/distgit.py                           1512    966    732     40    34%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    107     76     10    42%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              495    324    214      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           439    161    204     30    58%
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                      114     29     44     18    66%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    24     14      6      0    33%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              170     33     54     10    75%
doozerlib/rpm_builder.py                        232     31    123     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            922    670    374      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               434    228    170      5    43%
-------------------------------------------------------------------------------
TOTAL                                         11517   7297   4963    275    34%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

@openshift-bot
Copy link

Build #10

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev140+gf37d890.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev140%2Bgf37d890.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='1997080913'
py38 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......................................../usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
..................................
----------------------------------------------------------------------
Ran 234 tests in 1.294s

OK (skipped=10)
py38 run-test: commands[1] | flake8
py38 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           164     43     93      8    70%
doozerlib/assembly_inspector.py                 177    158    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               347    200    152      4    39%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       103     45     20      0    47%
doozerlib/cli/__main__.py                      1153   1153    466      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 536    536    248      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    129      3    70%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 628    628    266      0     0%
doozerlib/cli/inspect_stream.py                  46     46     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           218    218    112      0     0%
doozerlib/cli/release_gen_payload.py            577    191    248     15    63%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   179    138     96      2    17%
doozerlib/config.py                              97     97     44      0     0%
doozerlib/constants.py                           11      0      0      0   100%
doozerlib/coverity.py                           245    215     74      0     9%
doozerlib/dblib.py                              257    154     68      4    36%
doozerlib/distgit.py                           1511    965    732     40    34%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    107     76     10    42%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              495    324    214      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           439    161    204     30    58%
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                      114     29     44     18    66%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    24     14      6      0    33%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              170     33     54     10    75%
doozerlib/rpm_builder.py                        232     31    123     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            922    670    374      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               434    228    170      5    43%
-------------------------------------------------------------------------------
TOTAL                                         11516   7296   4963    275    34%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

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

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 10, 2022
@openshift-bot
Copy link

Build #11

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev142+g5dc792a.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev142%2Bg5dc792a.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='2322868970'
py38 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.........................../usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
...............................................
----------------------------------------------------------------------
Ran 234 tests in 1.271s

OK (skipped=10)
py38 run-test: commands[1] | flake8
py38 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           164     43     93      8    70%
doozerlib/assembly_inspector.py                 177    158    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               347    200    152      4    39%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       120     61     26      0    40%
doozerlib/cli/__main__.py                      1153   1153    466      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 536    536    248      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    129      3    70%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 628    628    266      0     0%
doozerlib/cli/inspect_stream.py                  46     46     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           218    218    112      0     0%
doozerlib/cli/release_gen_payload.py            577    191    248     15    63%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   179    138     96      2    17%
doozerlib/config.py                              97     97     44      0     0%
doozerlib/constants.py                           11      0      0      0   100%
doozerlib/coverity.py                           245    215     74      0     9%
doozerlib/dblib.py                              257    154     68      4    36%
doozerlib/distgit.py                           1511    965    732     40    34%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    107     76     10    42%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              495    324    214      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           439    161    204     30    58%
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                      114     29     44     18    66%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    24     14      6      0    33%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              170     33     54     10    75%
doozerlib/rpm_builder.py                        232     31    123     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            922    670    374      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               434    228    170      5    43%
-------------------------------------------------------------------------------
TOTAL                                         11533   7312   4969    275    33%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Oct 11, 2022
@openshift-ci
Copy link

openshift-ci bot commented Oct 11, 2022

New changes are detected. LGTM label has been removed.

@openshift-bot
Copy link

Build #12

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/setup.py
py38 inst-nodeps: /mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev143+g9d3cb3e.zip
py38 installed: aiofiles==22.1.0,astroid==2.12.10,attrs==22.1.0,autopep8==1.7.0,bashlex==0.16,bcrypt==4.0.0,certifi==2022.9.24,cffi==1.15.1,charset-normalizer==2.1.1,click==8.1.3,coverage==6.5.0,cryptography==38.0.1,decorator==5.1.1,Deprecated==1.2.13,dill==0.3.5.1,distlib==0.3.6,dockerfile-parse==1.2.0,filelock==3.8.0,flake8==5.0.4,flexmock==0.11.3,future==0.18.2,gssapi==1.8.1,idna==3.4,iniconfig==1.1.1,isort==5.10.1,koji==1.30.0,krb5==0.4.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.18,packaging==21.3,paramiko==2.11.0,platformdirs==2.5.2,pluggy==1.0.0,protobuf==3.20.1,py==1.11.0,pycodestyle==2.9.1,pycparser==2.21,pyflakes==2.5.0,pygit2==1.10.1,PyGithub==1.55,PyJWT==2.5.0,pylint==2.15.3,PyNaCl==1.5.0,pyparsing==3.0.9,pyspnego==0.6.0,pytest==7.1.3,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.1,requests-gssapi==1.2.3,requests-kerberos==0.14.0,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-659/.tox/.tmp/package/1/rh-doozer-2.0.15.dev143%2Bg9d3cb3e.zip,semver==2.13.0,setuptools-scm==7.0.5,six==1.16.0,tenacity==8.1.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.11.5,tox==3.26.0,typing==3.7.4.3,typing-extensions==4.3.0,urllib3==1.26.12,virtualenv==20.16.5,wrapt==1.14.1
py38 run-test-pre: PYTHONHASHSEED='3920585324'
py38 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......................................../usr/lib64/python3.8/multiprocessing/pool.py:265: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=10>
  _warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
..................................
----------------------------------------------------------------------
Ran 234 tests in 1.314s

OK (skipped=10)
py38 run-test: commands[1] | flake8
py38 run-test: commands[2] | coverage report
Name                                          Stmts   Miss Branch BrPart  Cover
-------------------------------------------------------------------------------
doozerlib/__init__.py                             9      2      2      1    73%
doozerlib/assembly.py                           164     43     93      8    70%
doozerlib/assembly_inspector.py                 177    158    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               347    200    152      4    39%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       120     61     26      0    40%
doozerlib/cli/__main__.py                      1153   1153    466      0     0%
doozerlib/cli/cli_opts.py                        15      3      6      0    86%
doozerlib/cli/config_plashet.py                 536    536    248      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  233     63    129      3    70%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 628    628    266      0     0%
doozerlib/cli/inspect_stream.py                  46     46     14      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           218    218    112      0     0%
doozerlib/cli/release_gen_payload.py            577    191    248     15    63%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   179    138     96      2    17%
doozerlib/config.py                              97     97     44      0     0%
doozerlib/constants.py                           11      0      0      0   100%
doozerlib/coverity.py                           245    215     74      0     9%
doozerlib/dblib.py                              257    154     68      4    36%
doozerlib/distgit.py                           1515    969    732     40    33%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    107     76     10    42%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              495    324    214      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           439    161    204     30    58%
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                      114     29     44     18    66%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    24     14      6      0    33%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              170     33     54     10    75%
doozerlib/rpm_builder.py                        232     31    123     32    81%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            922    670    374      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               434    228    170      5    43%
-------------------------------------------------------------------------------
TOTAL                                         11537   7316   4969    275    33%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

Copy link
Contributor

@sosiouxme sosiouxme left a comment

Choose a reason for hiding this comment

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

one nit, otherwise LGTM and let's roll!

Comment on lines +1646 to +1649
elif self.runtime.group_config.canonical_builders_from_upstream == 'on':
return True
elif self.runtime.group_config.canonical_builders_from_upstream == 'off':
return False
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm... did you check these still worked? :)

IIRC "on" and "off" get translated into bool equivalents, unless you quote them.

I'd be fine with replacing the rest of this with

Suggested change
elif self.runtime.group_config.canonical_builders_from_upstream == 'on':
return True
elif self.runtime.group_config.canonical_builders_from_upstream == 'off':
return False
else:
return bool(self.runtime.group_config.canonical_builders_from_upstream)

(let the validator complain if we enter something bogus)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

>>> bool('on')
True
>>> bool('off')
True

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.

5 participants