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

Working directory not cleaned up properly #228

Open
sentry-io bot opened this issue Oct 14, 2021 · 0 comments
Open

Working directory not cleaned up properly #228

sentry-io bot opened this issue Oct 14, 2021 · 0 comments
Labels
kind/bug Something isn't working.

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 14, 2021

Sentry Issue: DIST2SRC-UPDATE-E

GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v https://git.centos.org/rpms/hwdata.git /workdir/rpms/hwdata
  stderr: 'fatal: destination path '/workdir/rpms/hwdata' already exists and is not an empty directory.
'
(2 additional frame(s) were not displayed)
...
  File "dist2src/worker/processor.py", line 110, in update_project
    f"https://{self.cfg.dist_git_host}/{self.fullname}.git", self.dist_git_dir
  File "git/repo/base.py", line 1017, in clone_from
    return cls._clone(git, url, to_path, GitCmdObjectDB, progress, multi_options, **kwargs)
  File "git/repo/base.py", line 958, in _clone
    finalize_process(proc, stderr=stderr)
  File "git/util.py", line 328, in finalize_process
    proc.wait(**kwargs)
  File "git/cmd.py", line 408, in wait
    raise GitCommandError(self.args, status, errstr)
@TomasTomecek TomasTomecek added the kind/bug Something isn't working. label Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant