Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel test failing in CI #159

Open
csomh opened this issue Jan 4, 2021 · 0 comments
Open

kernel test failing in CI #159

csomh opened this issue Jan 4, 2021 · 0 comments

Comments

@csomh
Copy link
Contributor

csomh commented Jan 4, 2021

... but passing when run locally.

Logs from CI:

...
DEBUG    packit.local_project:local_project.py:244 `working_dir` is set and `git_repo` is not: let's discover...
DEBUG    packit.local_project:local_project.py:247 It's a git repo!
DEBUG    packit.local_project:local_project.py:290 Parsed ref 'c8s' from the repo <git.repo.base.Repo '/tmp/pytest-of-packit/pytest-0/test_update_kernel_c8s_0/s/kernel/.git'>.
DEBUG    packit.config.package_config:package_config.py:249 Local package config found: /tmp/pytest-of-packit/pytest-0/test_update_kernel_c8s_0/s/kernel/.packit.yaml
ERROR    packit.cli.utils:utils.py:89 [Errno 2] No such file or directory: '/tmp/pytest-of-packit/pytest-0/test_update_kernel_c8s_0/s/kernel/.git/objects/30'
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/packit/cli/utils.py", line 64, in covered_func
    func(config=config, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/packit/cli/srpm.py", line 65, in srpm
    api = get_packit_api(config=config, local_project=path_or_url)
  File "/usr/local/lib/python3.6/site-packages/packit/cli/utils.py", line 121, in get_packit_api
    try_local_dir_last=True,
  File "/usr/local/lib/python3.6/site-packages/packit/config/package_config.py", line 292, in get_local_package_config
    spec_file_path=str(get_local_specfile_path(config_file_name.parent)),
  File "/usr/local/lib/python3.6/site-packages/packit/config/package_config.py", line 369, in get_local_specfile_path
    path.relative_to(dir) for path in dir.rglob("*.spec")
  File "/usr/local/lib/python3.6/site-packages/packit/config/package_config.py", line 369, in <listcomp>
    path.relative_to(dir) for path in dir.rglob("*.spec")
  File "/usr/lib64/python3.6/pathlib.py", line 1112, in rglob
    for p in selector.select_from(self):
  File "/usr/lib64/python3.6/pathlib.py", line 560, in _select_from
    for p in successor_select(starting_point, is_dir, exists, scandir):
  File "/usr/lib64/python3.6/pathlib.py", line 523, in _select_from
    entries = list(scandir(parent_path))
  File "/usr/lib64/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-packit/pytest-0/test_update_kernel_c8s_0/s/kernel/.git/objects/30'
=============================== warnings summary ===============================
usr/lib64/python3.6/site-packages/koji/__init__.py:31
  /usr/lib64/python3.6/site-packages/koji/__init__.py:31: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp

usr/lib/python3.6/site-packages/fedora/client/bodhi.py:48
  /usr/lib/python3.6/site-packages/fedora/client/bodhi.py:48: DeprecationWarning: fedora.client.bodhi has been deprecated. Please use bodhi.client.bindings instead.
    DeprecationWarning)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED tests/test_update.py::test_update[kernel-c8s] - StopIteration
======= 1 failed, 51 passed, 1 skipped, 2 warnings in 1330.16s (0:22:10) =======
make: *** [Makefile:59: check-in-container] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant