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

Ocabot not merging #116

Closed
legalsylvain opened this issue May 21, 2020 · 2 comments
Closed

Ocabot not merging #116

legalsylvain opened this issue May 21, 2020 · 2 comments
Labels
question Further information is requested

Comments

@legalsylvain
Copy link
Collaborator

hi all,

Sorry if my question is not relevant. Since yesterday, my ocabot is not working. What is working :

  • catch the event : OK
  • Add label and comment the PR : OK
  • create the branch : OK
  • merge when all test are good : KO

Here are the logs :


worker_1   | [2020-05-21 07:31:20,782: INFO/MainProcess] Received task: oca_github_bot.tasks.merge_bot.merge_bot_start[f6875127-4a8a-4738-864a-9a2cd3cd5049]  
worker_1   | [2020-05-21 07:31:20,786: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com', 'repos', 'grap', 'github-ocabot-test', 'pulls', '13')
worker_1   | [2020-05-21 07:31:21,128: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:31:23,292: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com', 'repos', 'grap', 'github-ocabot-test')
worker_1   | [2020-05-21 07:31:23,501: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:31:23,507: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com/repos/grap/github-ocabot-test', 'collaborators')
worker_1   | [2020-05-21 07:31:23,702: INFO/ForkPoolWorker-1] JSON was returned
bot_1      | INFO:aiohttp.access:192.30.252.99 [21/May/2020:07:31:28 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
bot_1      | INFO:aiohttp.access:140.82.115.240 [21/May/2020:07:31:28 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
bot_1      | INFO:aiohttp.access:140.82.115.245 [21/May/2020:07:31:32 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
worker_1   | [2020-05-21 07:31:32,590: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:31:32,816: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:31:32,820: INFO/ForkPoolWorker-1] oca_github_bot.tasks.merge_bot.merge_bot_start[f6875127-4a8a-4738-864a-9a2cd3cd5049]: add merged 🎉 label to PR https://api.github.com/repos/grap/github-ocabot-test/pulls/13
worker_1   | [2020-05-21 07:31:32,821: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com/repos/grap/github-ocabot-test/issues/13', 'labels')
bot_1      | INFO:aiohttp.access:140.82.115.250 [21/May/2020:07:31:32 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
bot_1      | INFO:aiohttp.access:140.82.115.246 [21/May/2020:07:31:33 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
worker_1   | [2020-05-21 07:31:33,308: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:31:33,314: INFO/ForkPoolWorker-1] Task oca_github_bot.tasks.merge_bot.merge_bot_start[f6875127-4a8a-4738-864a-9a2cd3cd5049] succeeded in 12.528655781999987s: None
bot_1      | INFO:aiohttp.access:140.82.115.250 [21/May/2020:07:31:34 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
bot_1      | INFO:aiohttp.access:140.82.115.246 [21/May/2020:07:31:34 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
bot_1      | INFO:aiohttp.access:140.82.115.251 [21/May/2020:07:31:34 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
bot_1      | INFO:aiohttp.access:192.30.252.99 [21/May/2020:07:31:51 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
bot_1      | INFO:aiohttp.access:140.82.115.249 [21/May/2020:07:34:21 +0000] "POST / HTTP/1.1" 200 149 "-" "GitHub-Hookshot/2d8ea78"
worker_1   | [2020-05-21 07:34:22,050: INFO/MainProcess] Received task: oca_github_bot.tasks.merge_bot.merge_bot_status[42ffdb69-0daf-4775-b808-a598462f7a6a]
worker_1   | [2020-05-21 07:34:23,755: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com', 'repos', 'grap', 'github-ocabot-test')
worker_1   | [2020-05-21 07:34:25,548: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:34:25,553: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com', 'repos', 'grap', 'github-ocabot-test', 'pulls', '13')
worker_1   | [2020-05-21 07:34:25,836: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:34:25,844: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com/repos/grap/github-ocabot-test', 'commits', 'e4d0d9a1c9dde36e4c35d577039b0a3f73f57968')
worker_1   | [2020-05-21 07:34:25,845: INFO/ForkPoolWorker-1] Missed the cache building the url
worker_1   | [2020-05-21 07:34:26,082: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:34:26,083: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com/repos/grap/github-ocabot-test/commits/e4d0d9a1c9dde36e4c35d577039b0a3f73f57968', 'status')
worker_1   | [2020-05-21 07:34:26,083: INFO/ForkPoolWorker-1] Missed the cache building the url
worker_1   | [2020-05-21 07:34:26,263: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:34:26,268: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com/repos/grap/github-ocabot-test/commits/e4d0d9a1c9dde36e4c35d577039b0a3f73f57968', 'check-suites')
worker_1   | [2020-05-21 07:34:26,268: INFO/ForkPoolWorker-1] Missed the cache building the url
worker_1   | [2020-05-21 07:34:26,502: INFO/ForkPoolWorker-1] JSON was returned
worker_1   | [2020-05-21 07:34:26,505: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com', 'apps', 'codecov')
worker_1   | [2020-05-21 07:34:26,508: INFO/ForkPoolWorker-1] Building a url from ('https://api.github.com', 'apps', 'dependabot')
worker_1   | [2020-05-21 07:34:26,525: INFO/ForkPoolWorker-1] Task oca_github_bot.tasks.merge_bot.merge_bot_status[42ffdb69-0daf-4775-b808-a598462f7a6a] succeeded in 4.470859360000759s: None

Any idea of what can be wrong ?

Test PR : grap-org-test-bot/github-ocabot-test#13

Thanks for your help !

@pedrobaeza
Copy link
Member

There was a problem yesterday with a new check that arises:

#115

But it's solved.

What happens every morning is that there's still several jobs in the queue due to the nightly cron and you have to wait a bit for your command to be attended. Now it's being attended and you will see hopefully the result in short.

@sbidoul sbidoul added the question Further information is requested label May 21, 2020
@legalsylvain
Copy link
Collaborator Author

Hi @pedrobaeza. Thanks a lot to take a time to point this issue. I missed it. You saved me some time !

kind regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants