Rally Software

 View Only
  • 1.  Error: CA Agile Central VCS Connector for GitHub Enterprise

    Posted Jan 10, 2019 03:58 PM

    We are trying to configure the Agile Central VCS GitHub connector and getting following error, has anyone successfully installed and made it working?

     

    [2019-01-10 15:46:15 Z] DEBUG: EnvironmentalKey.identVector - Obtained app_owner_id as: <User>
    [2019-01-10 15:46:15 Z] DEBUG: EnvironmentalKey.executeShellCommand - Executing command: dir /q config\github_SK.yml
    [2019-01-10 15:46:15 Z] DEBUG: EnvironmentalKey.executeShellCommand - command execution returned a pipe? True
    [2019-01-10 15:46:15 Z] DEBUG: EnvironmentalKey.executeShellCommand - command execution pipe.communicated returned out? True and error? True
    [2019-01-10 15:46:15 Z] DEBUG: EnvironmentalKey.executeShellCommand - pipe.wait return code of 0
    [2019-01-10 15:46:16 Z] DEBUG: EnvironmentalKey.executeShellCommand - attempt to decode the pipe out content returned:
    Volume in drive C is System Volume Serial Number is EC05-6113 Directory of C:\Users\<user>\Documents\<user>\Rally\Installables\vcsconn-2.0.5\config 01/10/2019 09:46 AM 1,784 <user> github_SK.yml 1 File(s) 1,784 bytes 0 Dir(s) 20,627,095,552 bytes free
    [2019-01-10 15:46:16 Z] DEBUG: EnvironmentalKey.identVector - Obtained conf_owner_id as: <user>
    [2019-01-10 15:46:16 Z] DEBUG: EnvironmentalKey.identVector - Obtained config_name as: github_SK.yml
    [2019-01-10 15:46:16 Z] INFO: VCSConnectorRunner._operateService - Time File value 2019-01-07 15:46:16 Z --- Now 2019-01-10 15:46:16 Z
    [2019-01-10 15:46:16 Z] INFO: VCSConnector - Agile Central VCS Connector for GitHub, version 2.0.5
    [2019-01-10 15:46:16 Z] INFO: VCSConnector - Python platform: Windows 10
    [2019-01-10 15:46:16 Z] INFO: VCSConnector - Python version: 3.6.8
    [2019-01-10 15:46:16 Z] INFO: AgileCentralConnection - Initializing AgileCentral connection version 2.0.5
    [2019-01-10 15:46:16 Z] INFO: AgileCentralConnection - Rally WSAPI Version v2.0
    [2019-01-10 15:46:16 Z] INFO: GitHubConnection - Initializing GitHub connection version 2.0.5
    [2019-01-10 15:46:16 Z] INFO: GitHubConnection.connect - Connecting to GitHub
    [2019-01-10 15:46:16 Z] INFO: GitHubConnection.connect - Connected to GitHub server: www.github.com running at version 2017
    [2019-01-10 15:46:16 Z] INFO: GitHubConnection.connect - Url: https://www.github.com:443/graphql
    [2019-01-10 15:46:16 Z] INFO: AgileCentralConnection.connect - Connecting to AgileCentral
    [2019-01-10 15:46:19 Z] INFO: AgileCentralConnection.connect - Connected to Agile Central server: rally1.rallydev.com
    [2019-01-10 15:46:19 Z] INFO: AgileCentralConnection.connect - Workspace: DFS Development Workspace
    [2019-01-10 15:46:19 Z] INFO: AgileCentralConnection.connect - Project : Team EPMO - Development
    [2019-01-10 15:46:19 Z] INFO: AgileCentralConnection.connect - 348 sub-projects
    [2019-01-10 15:46:19 Z] INFO: VCSConnector.validate - Connector validation starting
    [2019-01-10 15:46:19 Z] INFO: VCSConnector.validate - AgileCentralConnection validation succeeded
    [2019-01-10 15:46:19 Z] DEBUG: GitHubConnection.validate - GitHubConnection - user entry "<user email>" detected in config
    [2019-01-10 15:46:19 Z] DEBUG: GitHubConnection.validate - GitHub Token will be used
    [2019-01-10 15:46:19 Z] DEBUG: GitHubGraphQLAdapter.makeQueryRequest - GitHub GraphQL query on behalf of GitHubGraphQLAdapter.getAllQueryPages:
    {search(first: 100, type: REPOSITORY, query: "user:<user email>") {
    edges {
    node {
    ... on Repository { id name }
    }
    cursor
    }
    pageInfo{endCursor hasNextPage}
    repositoryCount
    }
    }

    [2019-01-10 15:46:21 Z] ERROR: GitHubGraphQLAdapter.getAllQueryPages(139) - problem occurred in ghql_adapter.py getAllQueryPages()
    [2019-01-10 15:46:21 Z] ERROR: GitHubGraphQLAdapter.getAllQueryPages - <OperationalError> GraphQL request resulted in an error
    [2019-01-10 15:46:21 Z] FATAL: VCSConnectorRunner.run - GitHubConnection.obtainGitHubAccessibleRepositories github_connection.py(248) - GraphQL request resulted in an error



  • 2.  Re: Error: CA Agile Central VCS Connector for GitHub Enterprise

    Posted Jan 14, 2019 11:47 AM

    Has anyone came across this issue? Please reply



  • 3.  Re: Error: CA Agile Central VCS Connector for GitHub Enterprise

    Broadcom Employee
    Posted Jan 14, 2019 05:45 PM

    Hi Sanjay,

     

    Are you on Github Enterprise 2.05?  I don't believe GraphQL was included with Github Enterprise until 2.10

     

    Introducing GitHub Enterprise 2.10: build tools with the new GitHub GraphQL API, organize with topics, and level up your… 

     

    Please see our revision history where we show adding support to 2.10 because of this

    https://docs.ca.com/en-us/ca-agile-central/saas/ca-agile-central-vcs-connector-github#Revision%20History 



  • 4.  Re: Error: CA Agile Central VCS Connector for GitHub Enterprise

    Posted Jan 15, 2019 11:16 AM

    GitHub Enterprise we are on 2.12, we have not tried with it yet as preparing for the packages installation etc. We tried with github.com and we see error there.

    See log message [2019-01-10 15:46:16 Z] INFO: GitHubConnection.connect - Url: https://www.github.com:443/graphql

    Link you mentioned above with revision, should we use that instead of https://docs.ca.com/en-us/ca-agile-central/saas/ca-agile-central-vcs-connector-github to download integrator?



  • 5.  Re: Error: CA Agile Central VCS Connector for GitHub Enterprise
    Best Answer

    Broadcom Employee
    Posted Jan 15, 2019 05:00 PM

    Community followup; Had a webex with Sanjay and found that the github URL was pointing to an incorrect address.



  • 6.  Re: Error: CA Agile Central VCS Connector for GitHub Enterprise

    Posted Jan 18, 2019 05:16 PM

    It was very helpful session with Dave. We updated from www.github.com to api.github.com so basic integration is working. We are under testing and want to see how the integration can work for multiple Projects and multiple Repositories (owned by other person and added as collaborator with integration user) with single yml config file. Thanks Dave again, looking forward for multi-project/repository solution with single yml.