Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
This repository was archived by the owner on May 21, 2025. It is now read-only.

Error reporting missing details #307

Closed

Description

@udim

Hi, I believe our Jenkins environment is somehow broken, but it's hard to tell which file is not found and there's no way to enable stacktraces either (how do you pass debug to main()?).

From our CI logs:

14:21:34 ==> Detecting CI provider
14:21:34     Jenkins Detected
14:21:34     Fixing merge commit SHA
14:21:34 ==> Preparing upload
14:21:34 Error: 'FileNotFoundError' object has no attribute 'returncode'

Full log: https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/16554/consoleFull

I believe the issue is with this line:

% (cmd, e.returncode, str(getattr(e, "output", str(e))))

Activity

  1. udim commented on Dec 4, 2020

    @udim
    ContributorAuthor

    Adding mercurial to the virtualenv seems to resolve the failure.

    ==> Detecting CI provider
      -> Got branch from git/hg
      -> Got sha from git/hg
    ==> Preparing upload
        Error running `['hg', 'locate']`: returncode=255, output=b''
        Error running `['hg', 'locate']`: returncode=255, output=b''
    ==> Processing gcov (disable by -X gcov)
    

    edit: This was running on a Jenkins node in a git repo.

  2. added a commit that references this issue on Dec 9, 2020
    35764dd
  3. added a commit that references this issue on Dec 12, 2020
    f4b116d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions