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

'test_smallfile_workload' fails trying to collect 'git config --get user.name' #2137

Closed
keesturam opened this issue May 21, 2020 · 1 comment
Assignees
Labels

Comments

@keesturam
Copy link
Member

This issue was introduced by #1984 and needs to be fixed. 

Error:

       masked_stdout = mask_secrets(completed_process.stdout.decode(), secrets)
        if len(completed_process.stdout) > 0:
            log.debug(f"Command stdout: {masked_stdout}")
        else:
            log.debug("Command stdout is empty")
    
        masked_stderr = mask_secrets(completed_process.stderr.decode(), secrets)
        if len(completed_process.stderr) > 0:
            log.warning(f"Command stderr: {masked_stderr}")
        else:
            log.debug("Command stderr is empty")
        log.debug(f"Command return code: {completed_process.returncode}")
        if completed_process.returncode and not ignore_error:
            raise CommandFailed(
>               f"Error during execution of command: {masked_cmd}."
                f"\nError is {masked_stderr}"
            )
E           ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: git config --get user.name.
E           Error is

ocs_ci/utility/utils.py:458: CommandFailed
@Avilir
Copy link
Contributor

Avilir commented May 24, 2020 via email

vasukulkarni added a commit that referenced this issue May 27, 2020
Fix #2137 - Smallfile getting user and email
Neon-White pushed a commit that referenced this issue May 28, 2020
Signed-off-by: Avi Liani <alayani@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants