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

How to view logs? #75

Open
adamgayoso opened this issue Apr 7, 2022 · 7 comments
Open

How to view logs? #75

adamgayoso opened this issue Apr 7, 2022 · 7 comments

Comments

@adamgayoso
Copy link

Currently can't backport this PR (scverse/scvi-tools#1490)

Is there a way I can view the logs?

Thanks!

@adamgayoso
Copy link
Author

Also having issues on this PR

scverse/scvi-tools#1457

@Carreau
Copy link
Contributor

Carreau commented Apr 7, 2022

I see this for 1490

     proc.wait(stderr=stderr_text)
   File "/app/.heroku/python/lib/python3.10/site-packages/git/cmd.py", line 408, in wait
     raise GitCommandError(self.args, status, errstr)
 git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
   cmdline: git fetch -v origin refs/heads/0.15.x:workbranch

@Carreau
Copy link
Contributor

Carreau commented Apr 7, 2022

1457 there is nothing to backport:

Apr 07 04:09:00 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545325744705547&selected=1448545325744705547) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545325744705547&selected=1448545325744705547) git config --global user.name 'MeeseeksDev[bot]'
Apr 07 04:09:00 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545325744705548&selected=1448545325744705548) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545325744705548&selected=1448545325744705548)     [backport] == Fetching branch to backport on ... 0.16.x
Apr 07 04:09:01 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545327154171904&selected=1448545327154171904) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545327154171904&selected=1448545327154171904)     [backport] == Fetching Commits to c2d7221346e427706f0ee675f1f697ba06110949 backport...
Apr 07 04:09:01 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545327154171905&selected=1448545327154171905) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545327154171905&selected=1448545327154171905)     [backport] == All has been fetched correctly
Apr 07 04:09:01 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545327154171906&selected=1448545327154171906) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545327154171906&selected=1448545327154171906)     [backport] Cherry-picking c2d7221346e427706f0ee675f1f697ba06110949
Apr 07 04:09:01 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545327154171907&selected=1448545327154171907) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545327154171907&selected=1448545327154171907)     [backport] Likely not a merge PR...Attempting squash and merge picking.
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344394&selected=1448545330723344394) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344394&selected=1448545330723344394)     [backport] 
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344395&selected=1448545330723344395) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344395&selected=1448545330723344395)   stderr: 'The previous cherry-pick is now empty, possibly due to conflict resolution.
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344396&selected=1448545330723344396) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344396&selected=1448545330723344396) If you wish to commit it anyway, use:
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344398&selected=1448545330723344398) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344398&selected=1448545330723344398)     git commit --allow-empty
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344400&selected=1448545330723344400) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344400&selected=1448545330723344400) Otherwise, please use 'git reset''
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344401&selected=1448545330723344401) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344401&selected=1448545330723344401)     [backport] ----
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344402&selected=1448545330723344402) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344402&selected=1448545330723344402)     [backport] 
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344403&selected=1448545330723344403) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344403&selected=1448545330723344403)   stdout: 'On branch workbranch
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344404&selected=1448545330723344404) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344404&selected=1448545330723344404) You are currently cherry-picking commit c2d72213.
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344406&selected=1448545330723344406) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344406&selected=1448545330723344406) nothing to commit, working tree clean'
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545330723344407&selected=1448545330723344407) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545330723344407&selected=1448545330723344407)     [backport] ----
Apr 07 04:09:02 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448545332124073991&selected=1448545332124073991) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448545332124073991&selected=1448545332124073991) (https://github.com/scverse/scvi-tools/issues/1457) Not responding to self
Apr 07 04:11:59 [meeseeksbot](https://my.papertrailapp.com/systems/meeseeksbot/events?focus=1448546074039123968&selected=1448546074039123968) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1448546074039123968&selected=1448546074039123968) org in issue None

And sorry the log can't be public, heroku does not let us do that, plus they sometime contain credentials/sensitive info

@adamgayoso
Copy link
Author

Thank you @Carreau -- is there a way to restart it on our repo? I'm not sure how to fix it given this information.

@adamgayoso
Copy link
Author

1457 makes sense, 1490 i'm not sure what to do differently?

@Carreau
Copy link
Contributor

Carreau commented Apr 7, 2022

I've restarted the bot; I would just retry as you did, it might just have been an ttemporary issue with github API ?

@pllim
Copy link
Contributor

pllim commented Jul 19, 2022

(Solved)

Hello! The bot asked me to look at the logs and I found this issue. What went wrong at astropy/astropy#13466 (comment) ? Thanks!

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

No branches or pull requests

3 participants