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

fix snyk import error #734

Merged
merged 1 commit into from Feb 27, 2023
Merged

fix snyk import error #734

merged 1 commit into from Feb 27, 2023

Conversation

Ximinhan
Copy link
Contributor

fix issue similar to openshift-eng/elliott#513

@openshift-bot
Copy link

Build #1

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/setup.py
py38 create: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38
py38 installdeps: -rrequirements-dev.txt
py38 inst: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/.tmp/package/1/rh-doozer-2.0.15.dev263+g14e8a9f.zip
py38 installed: aiofiles==23.1.0,aiohttp==3.8.4,aiosignal==1.3.1,astroid==2.14.2,async-timeout==4.0.2,asynctest==0.13.0,attrs==22.2.0,autopep8==2.0.1,bashlex==0.18,bcrypt==4.0.1,cachetools==5.3.0,certifi==2022.12.7,cffi==1.15.1,chardet==5.1.0,charset-normalizer==3.0.1,click==8.1.3,colorama==0.4.6,coverage==7.2.1,cryptography==39.0.1,decorator==5.1.1,defusedxml==0.7.1,Deprecated==1.2.13,dill==0.3.6,distlib==0.3.6,dockerfile-parse==2.0.0,exceptiongroup==1.1.0,filelock==3.9.0,flake8==6.0.0,flexmock==0.11.3,frozenlist==1.3.3,future==0.18.3,gssapi==1.8.2,idna==3.4,iniconfig==2.0.0,isort==5.12.0,jira==3.4.1,koji==1.32.0,krb5==0.5.0,lazy-object-proxy==1.9.0,mccabe==0.7.0,multidict==6.0.4,mysql-connector-python==8.0.32,oauthlib==3.2.2,openshift-client==1.0.18,packaging==23.0,paramiko==3.0.0,platformdirs==3.0.0,pluggy==1.0.0,protobuf==3.20.3,pycodestyle==2.10.0,pycparser==2.21,pyflakes==3.0.1,pygit2==1.10.1,PyGithub==1.58.0,PyJWT==2.6.0,pylint==2.16.2,PyNaCl==1.5.0,pyproject-api==1.5.0,pyspnego==0.8.0,pytest==7.2.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.2,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.10.1,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/.tmp/package/1/rh-doozer-2.0.15.dev263%2Bg14e8a9f.zip,semver==2.13.0,setuptools-scm==7.1.0,six==1.16.0,tenacity==8.2.1,tomli==2.0.1,tomlkit==0.11.6,tox==4.4.6,typing==3.7.4.3,typing-extensions==4.5.0,urllib3==1.26.14,virtualenv==20.19.0,wrapt==1.15.0,yarl==1.8.2
py38 run-test-pre: PYTHONHASHSEED='2455864676'
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.............................................................................
----------------------------------------------------------------------
Ran 250 tests in 1.717s

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                           163     32     91     11    76%
doozerlib/assembly_inspector.py                 178    159    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               366    206    152      4    40%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       123     64     28      0    39%
doozerlib/cli/__main__.py                      1084   1084    436      0     0%
doozerlib/cli/cli_opts.py                        20      3      8      0    89%
doozerlib/cli/config_plashet.py                 535    535    246      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  230     59    127      3    71%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 683    683    296      0     0%
doozerlib/cli/inspect_stream.py                  66     66     28      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           261    146    112      1    39%
doozerlib/cli/release_gen_payload.py            695    261    294     19    58%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   182    141    100      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                              263    160     68      4    35%
doozerlib/distgit.py                           1540    989    746     40    33%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    105     76     10    43%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              500    328    216      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           430    150    184     30    61%
doozerlib/model.py                              113     21     36      2    82%
doozerlib/olm/__init__.py                         0      0      0      0   100%
doozerlib/olm/bundle.py                         315    230     72      0    22%
doozerlib/osbs2_builder.py                      119     30     44     19    67%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    28     17      8      0    31%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              196     36     66     12    77%
doozerlib/rpm_builder.py                        224     28    119     31    82%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            950    692    376      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               452    217    180     13    48%
-------------------------------------------------------------------------------
TOTAL                                         11830   7349   5049    293    35%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

@codecov-commenter
Copy link

codecov-commenter commented Feb 27, 2023

Codecov Report

Base: 35.45% // Head: 35.40% // Decreases project coverage by -0.06% ⚠️

Coverage data is based on head (cad620d) compared to base (29fc1c0).
Patch coverage: 24.67% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #734      +/-   ##
==========================================
- Coverage   35.45%   35.40%   -0.06%     
==========================================
  Files          47       47              
  Lines       11779    11830      +51     
  Branches     2576     2519      -57     
==========================================
+ Hits         4176     4188      +12     
- Misses       7311     7349      +38     
- Partials      292      293       +1     
Impacted Files Coverage Δ
doozerlib/cli/__main__.py 0.00% <ø> (ø)
doozerlib/cli/images_streams.py 0.00% <ø> (ø)
doozerlib/coverity.py 12.24% <0.00%> (ø)
doozerlib/image.py 33.20% <0.00%> (-0.14%) ⬇️
doozerlib/metadata.py 58.13% <0.00%> (-1.25%) ⬇️
doozerlib/runtime.py 26.31% <20.00%> (-0.06%) ⬇️
doozerlib/cli/release_gen_payload.py 59.71% <34.88%> (-1.69%) ⬇️
doozerlib/assembly.py 73.61% <100.00%> (+0.16%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 27, 2023
@openshift-bot
Copy link

Build #2

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/setup.py
py38 recreate: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38
py38 installdeps: -rrequirements-dev.txt
py38 inst: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/.tmp/package/1/rh-doozer-2.0.15.dev263+g3db7fb4.zip
ERROR: invocation failed (exit code 1), logfile: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/log/py38-2.log
================================== log start ===================================
Processing ./.tox/.tmp/package/1/rh-doozer-2.0.15.dev263+g3db7fb4.zip
Collecting aiofiles
  Downloading aiofiles-23.1.0-py3-none-any.whl (14 kB)
Collecting bashlex
  Using cached bashlex-0.18-py2.py3-none-any.whl (69 kB)
Collecting click>=8.1.3
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting dockerfile-parse>=0.0.13
  Using cached dockerfile_parse-2.0.0-py2.py3-none-any.whl (14 kB)
Collecting future
  Using cached future-0.18.3.tar.gz (840 kB)
Collecting koji
  Downloading koji-1.32.0-py3-none-any.whl (237 kB)
Collecting PyGitHub>=1.46
  Downloading PyGithub-1.58.0-py3-none-any.whl (312 kB)
Collecting pyyaml>=5.1
  Using cached PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB)
Collecting requests
  Downloading requests-2.28.2-py3-none-any.whl (62 kB)
Collecting requests_kerberos
  Using cached requests_kerberos-0.14.0-py2.py3-none-any.whl (11 kB)
Collecting semver
  Using cached semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting tenacity
  Downloading tenacity-8.2.1-py3-none-any.whl (24 kB)
Requirement already satisfied: wrapt in ./.tox/py38/lib64/python3.8/site-packages (from rh-doozer==2.0.15.dev263+g3db7fb4) (1.15.0)
Collecting mysql-connector-python>=8.0.21
  Using cached mysql_connector_python-8.0.32-cp38-cp38-manylinux1_x86_64.whl (23.5 MB)
Collecting python-dateutil>=2.8.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting openshift-client>=1.0.12
  Using cached openshift_client-1.0.18-py2.py3-none-any.whl (75 kB)
Collecting setuptools-scm
  Using cached setuptools_scm-7.1.0-py3-none-any.whl (43 kB)
Collecting setuptools>=65.5.1
  Downloading setuptools-67.4.0-py3-none-any.whl (1.1 MB)
Collecting aiohttp
  Downloading aiohttp-3.8.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)
Collecting jira==3.4.1
  Using cached jira-3.4.1-py3-none-any.whl (70 kB)
Collecting requests-gssapi
  Using cached requests-gssapi-1.2.3.tar.gz (19 kB)
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pyjwt>=2.4.0
  Using cached PyJWT-2.6.0-py3-none-any.whl (20 kB)
Collecting deprecated
  Using cached Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
Collecting pynacl>=1.4.0
  Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.14-py2.py3-none-any.whl (140 kB)
Collecting idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
Collecting cryptography>=1.3
  Downloading cryptography-39.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB)
Collecting pyspnego[kerberos]
  Downloading pyspnego-0.8.0-py3-none-any.whl (130 kB)
Collecting protobuf<=3.20.3,>=3.11.0
  Using cached protobuf-3.20.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
Collecting paramiko
  Using cached paramiko-3.0.0-py3-none-any.whl (210 kB)
Requirement already satisfied: packaging>=20.0 in ./.tox/py38/lib/python3.8/site-packages (from setuptools-scm->rh-doozer==2.0.15.dev263+g3db7fb4) (23.0)
Requirement already satisfied: typing-extensions in ./.tox/py38/lib/python3.8/site-packages (from setuptools-scm->rh-doozer==2.0.15.dev263+g3db7fb4) (4.5.0)
Requirement already satisfied: tomli>=1.0.0; python_version < "3.11" in ./.tox/py38/lib/python3.8/site-packages (from setuptools-scm->rh-doozer==2.0.15.dev263+g3db7fb4) (2.0.1)
Collecting async-timeout<5.0,>=4.0.0a3
  Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting frozenlist>=1.1.1
  Using cached frozenlist-1.3.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (161 kB)
Collecting multidict<7.0,>=4.5
  Using cached multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (121 kB)
Collecting aiosignal>=1.1.2
  Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Requirement already satisfied: attrs>=17.3.0 in ./.tox/py38/lib/python3.8/site-packages (from aiohttp->rh-doozer==2.0.15.dev263+g3db7fb4) (22.2.0)
Collecting yarl<2.0,>=1.0
  Using cached yarl-1.8.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (262 kB)
Collecting requests-oauthlib>=1.1.0
  Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting requests-toolbelt
  Using cached requests_toolbelt-0.10.1-py2.py3-none-any.whl (54 kB)
Collecting defusedxml
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Processing /home/art/.cache/pip/wheels/1a/9c/de/bcf42d46549ed9ebe297440653c62900202f06b90fd40151a3/gssapi-1.8.2-cp38-cp38-linux_x86_64.whl
Requirement already satisfied: cffi>=1.4.1 in ./.tox/py38/lib64/python3.8/site-packages (from pynacl>=1.4.0->PyGitHub>=1.46->rh-doozer==2.0.15.dev263+g3db7fb4) (1.15.1)
Collecting krb5>=0.3.0; sys_platform != "win32" and extra == "kerberos"
  Downloading krb5-0.5.0.tar.gz (220 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-i4s32duy/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'Cython >= 0.29.29, < 3.0.0' 'setuptools >= 42.0.0'
       cwd: None
  Complete output (44 lines):
  Traceback (most recent call last):
    File "/usr/lib64/python3.8/runpy.py", line 194, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "/usr/lib64/python3.8/runpy.py", line 87, in _run_code
      exec(code, run_globals)
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/__main__.py", line 26, in <module>
      sys.exit(_main())
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 73, in main
      command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 104, in create_command
      module = importlib.import_module(module_path)
    File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 843, in exec_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 24, in <module>
      from pip._internal.cli.req_command import RequirementCommand, with_cleanup
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 16, in <module>
      from pip._internal.index.package_finder import PackageFinder
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_internal/index/package_finder.py", line 21, in <module>
      from pip._internal.index.collector import parse_links
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_internal/index/collector.py", line 14, in <module>
      from pip._vendor import html5lib, requests
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_vendor/requests/__init__.py", line 114, in <module>
      from . import utils
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_vendor/requests/utils.py", line 25, in <module>
      from . import certs
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_vendor/requests/certs.py", line 15, in <module>
      from pip._vendor.certifi import where
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_vendor/certifi/__init__.py", line 1, in <module>
      from .core import contents, where
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip/_vendor/certifi/core.py", line 12, in <module>
      from importlib.resources import read_text
    File "/usr/lib64/python3.8/importlib/resources.py", line 11, in <module>
      from typing import Iterable, Iterator, Optional, Set, Union   # noqa: F401
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/typing.py", line 1359, in <module>
      class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
    File "/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/typing.py", line 1007, in __new__
      self._abc_registry = extra._abc_registry
  AttributeError: type object 'Callable' has no attribute '_abc_registry'
  ----------------------------------------
ERROR: Command errored out with exit status 1: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-i4s32duy/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'Cython >= 0.29.29, < 3.0.0' 'setuptools >= 42.0.0' Check the logs for full command output.
WARNING: You are using pip version 20.1.1; however, version 23.0.1 is available.
You should consider upgrading via the '/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python -m pip install --upgrade pip' command.

=================================== log end ====================================
___________________________________ summary ____________________________________
ERROR:   py38: InvocationError for command /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python -m pip install --exists-action w .tox/.tmp/package/1/rh-doozer-2.0.15.dev263+g3db7fb4.zip (exited with code 1)

Copy link
Contributor

@locriandev locriandev left a comment

Choose a reason for hiding this comment

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

@openshift-bot
Copy link

Build #3

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/setup.py
py38 recreate: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38
py38 installdeps: -rrequirements-dev.txt -rrequirements.txt
ERROR: invocation failed (exit code 1), logfile: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/log/py38-1.log
================================== log start ===================================
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements-dev.txt -rrequirements.txt'
WARNING: You are using pip version 20.1.1; however, version 23.0.1 is available.
You should consider upgrading via the '/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python -m pip install --upgrade pip' command.

=================================== log end ====================================
ERROR: could not install deps [-rrequirements-dev.txt -rrequirements.txt]; v = InvocationError("/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python -m pip install '-rrequirements-dev.txt -rrequirements.txt'", 1)
___________________________________ summary ____________________________________
ERROR:   py38: could not install deps [-rrequirements-dev.txt -rrequirements.txt]; v = InvocationError("/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python -m pip install '-rrequirements-dev.txt -rrequirements.txt'", 1)

@openshift-bot
Copy link

Build #4

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/setup.py
py38 create: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38
py38 installdeps: -rrequirements-dev.txt -rrequirements.txt
ERROR: invocation failed (exit code 1), logfile: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/log/py38-1.log
================================== log start ===================================
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements-dev.txt -rrequirements.txt'
WARNING: You are using pip version 20.1.1; however, version 23.0.1 is available.
You should consider upgrading via the '/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python -m pip install --upgrade pip' command.

=================================== log end ====================================
ERROR: could not install deps [-rrequirements-dev.txt -rrequirements.txt]; v = InvocationError("/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python -m pip install '-rrequirements-dev.txt -rrequirements.txt'", 1)
___________________________________ summary ____________________________________
ERROR:   py38: could not install deps [-rrequirements-dev.txt -rrequirements.txt]; v = InvocationError("/mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38/bin/python -m pip install '-rrequirements-dev.txt -rrequirements.txt'", 1)

@openshift-bot
Copy link

Build #5

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/setup.py
py38 create: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38
py38 installdeps: -rrequirements-dev.txt, -rrequirements.txt
py38 inst: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/.tmp/package/1/rh-doozer-2.0.15.dev263+gcad620d.zip
py38 installed: aiofiles==23.1.0,aiohttp==3.8.4,aiosignal==1.3.1,astroid==2.14.2,async-timeout==4.0.2,asynctest==0.13.0,attrs==22.2.0,autopep8==2.0.1,bashlex==0.18,bcrypt==4.0.1,cachetools==5.3.0,certifi==2022.12.7,cffi==1.15.1,chardet==5.1.0,charset-normalizer==3.0.1,click==8.1.3,colorama==0.4.6,coverage==7.2.1,cryptography==39.0.1,decorator==5.1.1,defusedxml==0.7.1,Deprecated==1.2.13,dill==0.3.6,distlib==0.3.6,dockerfile-parse==2.0.0,exceptiongroup==1.1.0,filelock==3.9.0,flake8==6.0.0,flexmock==0.11.3,frozenlist==1.3.3,future==0.18.3,gssapi==1.8.2,idna==3.4,iniconfig==2.0.0,isort==5.12.0,jira==3.4.1,koji==1.32.0,krb5==0.5.0,lazy-object-proxy==1.9.0,mccabe==0.7.0,multidict==6.0.4,mysql-connector-python==8.0.32,oauthlib==3.2.2,openshift-client==1.0.18,packaging==23.0,paramiko==3.0.0,platformdirs==3.0.0,pluggy==1.0.0,protobuf==3.20.3,pycodestyle==2.10.0,pycparser==2.21,pyflakes==3.0.1,pygit2==1.10.1,PyGithub==1.58.0,PyJWT==2.6.0,pylint==2.16.2,PyNaCl==1.5.0,pyproject-api==1.5.0,pyspnego==0.8.0,pytest==7.2.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.2,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.10.1,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/.tmp/package/1/rh-doozer-2.0.15.dev263%2Bgcad620d.zip,semver==2.13.0,setuptools-scm==7.1.0,six==1.16.0,tenacity==8.2.1,tomli==2.0.1,tomlkit==0.11.6,tox==4.4.6,typing==3.7.4.3,typing-extensions==4.5.0,urllib3==1.26.14,virtualenv==20.19.0,wrapt==1.15.0,yarl==1.8.2
py38 run-test-pre: PYTHONHASHSEED='2722795774'
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.............................................................................
----------------------------------------------------------------------
Ran 250 tests in 1.855s

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                           163     32     91     11    76%
doozerlib/assembly_inspector.py                 178    159    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               366    206    152      4    40%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       123     64     28      0    39%
doozerlib/cli/__main__.py                      1084   1084    436      0     0%
doozerlib/cli/cli_opts.py                        20      3      8      0    89%
doozerlib/cli/config_plashet.py                 535    535    246      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  230     59    127      3    71%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 683    683    296      0     0%
doozerlib/cli/inspect_stream.py                  66     66     28      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           261    146    112      1    39%
doozerlib/cli/release_gen_payload.py            695    261    294     19    58%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   182    141    100      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                              263    160     68      4    35%
doozerlib/distgit.py                           1540    989    746     40    33%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    105     76     10    43%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              500    328    216      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           430    150    184     30    61%
doozerlib/model.py                              113     21     36      2    82%
doozerlib/olm/__init__.py                         0      0      0      0   100%
doozerlib/olm/bundle.py                         315    230     72      0    22%
doozerlib/osbs2_builder.py                      119     30     44     19    67%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    28     17      8      0    31%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              196     36     66     12    77%
doozerlib/rpm_builder.py                        224     28    119     31    82%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            950    692    376      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               452    217    180     13    48%
-------------------------------------------------------------------------------
TOTAL                                         11830   7349   5049    293    35%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

@locriandev
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 27, 2023
@openshift-bot
Copy link

Build #6

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/setup.py
py38 recreate: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/py38
py38 installdeps: -rrequirements-dev.txt, -rrequirements.txt
py38 inst: /mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/.tmp/package/1/rh-doozer-2.0.15.dev263+gcad620d.zip
py38 installed: aiofiles==23.1.0,aiohttp==3.8.4,aiosignal==1.3.1,astroid==2.14.2,async-timeout==4.0.2,asynctest==0.13.0,attrs==22.2.0,autopep8==2.0.1,bashlex==0.18,bcrypt==4.0.1,cachetools==5.3.0,certifi==2022.12.7,cffi==1.15.1,chardet==5.1.0,charset-normalizer==3.0.1,click==8.1.3,colorama==0.4.6,coverage==7.2.1,cryptography==39.0.1,decorator==5.1.1,defusedxml==0.7.1,Deprecated==1.2.13,dill==0.3.6,distlib==0.3.6,dockerfile-parse==2.0.0,exceptiongroup==1.1.0,filelock==3.9.0,flake8==6.0.0,flexmock==0.11.3,frozenlist==1.3.3,future==0.18.3,gssapi==1.8.2,idna==3.4,iniconfig==2.0.0,isort==5.12.0,jira==3.4.1,koji==1.32.0,krb5==0.5.0,lazy-object-proxy==1.9.0,mccabe==0.7.0,multidict==6.0.4,mysql-connector-python==8.0.32,oauthlib==3.2.2,openshift-client==1.0.18,packaging==23.0,paramiko==3.0.0,platformdirs==3.0.0,pluggy==1.0.0,protobuf==3.20.3,pycodestyle==2.10.0,pycparser==2.21,pyflakes==3.0.1,pygit2==1.10.1,PyGithub==1.58.0,PyJWT==2.6.0,pylint==2.16.2,PyNaCl==1.5.0,pyproject-api==1.5.0,pyspnego==0.8.0,pytest==7.2.1,python-dateutil==2.8.2,PyYAML==6.0,requests==2.28.2,requests-gssapi==1.2.3,requests-kerberos==0.14.0,requests-oauthlib==1.3.1,requests-toolbelt==0.10.1,rh-doozer @ file:///mnt/workspace/jenkins/working/art-tools_doozer_PR-734/.tox/.tmp/package/1/rh-doozer-2.0.15.dev263%2Bgcad620d.zip,semver==2.13.0,setuptools-scm==7.1.0,six==1.16.0,tenacity==8.2.1,tomli==2.0.1,tomlkit==0.11.6,tox==4.4.6,typing==3.7.4.3,typing-extensions==4.5.0,urllib3==1.26.14,virtualenv==20.19.0,wrapt==1.15.0,yarl==1.8.2
py38 run-test-pre: PYTHONHASHSEED='462118930'
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.............................................................................
----------------------------------------------------------------------
Ran 250 tests in 2.220s

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                           163     32     91     11    76%
doozerlib/assembly_inspector.py                 178    159    100      0     7%
doozerlib/assertion.py                           13      0      6      0   100%
doozerlib/brew.py                               366    206    152      4    40%
doozerlib/build_status_detector.py               85     10     54      3    86%
doozerlib/cli/__init__.py                       123     64     28      0    39%
doozerlib/cli/__main__.py                      1084   1084    436      0     0%
doozerlib/cli/cli_opts.py                        20      3      8      0    89%
doozerlib/cli/config_plashet.py                 535    535    246      0     0%
doozerlib/cli/detect_embargo.py                 167     35     70      8    75%
doozerlib/cli/get_nightlies.py                  230     59    127      3    71%
doozerlib/cli/images_health.py                   82     30     26      2    59%
doozerlib/cli/images_streams.py                 683    683    296      0     0%
doozerlib/cli/inspect_stream.py                  66     66     28      0     0%
doozerlib/cli/release_calc_upgrade_tests.py      24     24      6      0     0%
doozerlib/cli/release_gen_assembly.py           261    146    112      1    39%
doozerlib/cli/release_gen_payload.py            695    261    294     19    58%
doozerlib/cli/rpms_build.py                     165     59     58      8    57%
doozerlib/cli/scan_sources.py                   182    141    100      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                              263    160     68      4    35%
doozerlib/distgit.py                           1540    989    746     40    33%
doozerlib/dotconfig.py                           54     43     31      0    13%
doozerlib/exceptions.py                           2      0      0      0   100%
doozerlib/exectools.py                          197    105     76     10    43%
doozerlib/gitdata.py                            171    137     76      0    14%
doozerlib/image.py                              500    328    216      6    28%
doozerlib/logutil.py                              9      0      2      1    91%
doozerlib/metadata.py                           430    150    184     30    61%
doozerlib/model.py                              113     21     36      2    82%
doozerlib/olm/__init__.py                         0      0      0      0   100%
doozerlib/olm/bundle.py                         315    230     72      0    22%
doozerlib/osbs2_builder.py                      119     30     44     19    67%
doozerlib/plashet.py                            134      9     90     15    89%
doozerlib/pushd.py                               22      2      2      0    92%
doozerlib/release_schedule.py                    28     17      8      0    31%
doozerlib/repos.py                              209    105    113     17    44%
doozerlib/rhcos.py                              196     36     66     12    77%
doozerlib/rpm_builder.py                        224     28    119     31    82%
doozerlib/rpm_utils.py                          134     33     90     11    74%
doozerlib/rpmcfg.py                             145     61     62      8    53%
doozerlib/runtime.py                            950    692    376      8    21%
doozerlib/source_modifications.py               116     33     26      4    68%
doozerlib/state.py                               23     12      8      0    35%
doozerlib/util.py                               452    217    180     13    48%
-------------------------------------------------------------------------------
TOTAL                                         11830   7349   5049    293    35%
___________________________________ summary ____________________________________
  py38: commands succeeded
  congratulations :)

@Ximinhan Ximinhan merged commit 5e71055 into openshift-eng:master Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants