Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added YT link for demo

...

Design

How to use the Bot?

Detailed Video : Apache MXNet CI Bot Demo (Youtube Link)

An authorized user can comment on the PR with following 2 commands:

...

  1. How to fix issues related to the bot?
    1. First view the logs [Isengard → Prod/Dev account → Cloudwatch Logs]
    2. Check if Lambda functions are getting triggered
      1. /send_to_sqs
      2. /jenkins
    3. Check if comment author is being verified
    4. Check if Jenkins Job is being triggered [Verify on Jenkins URL if needed]
    5. Check if the messages are being posted via Github API
  2. Send To SQS lambda isn’t triggered
    1. Check if GitHub WebHook is working correctly
      1. for Prod account, need Apache Infra team access
      2. for dev account, tested on my personal fork
        1. https://github.com/ChaiBapchya/incubator-mxnet/settings/hooks/187804995
    2. Check on CW Logs for any errors
      1. Dev account : CW → Log Groups → /aws/lambda/mxnet-ci-bot-test-send
  3. Jenkins Lambda isn’t triggered
  4. Problem within Jenkins Lambda function
    1. Check on CW Logs for any errors
      1. Dev account : CW → Log Groups → /aws/lambda/mxnet-ci-bot-test-jenkins
  5. For Jenkins - Github Communication related issues : Refer : Troubleshooting