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

owlbot: scan and create PRs job fails on bad checkouts #5358

Open
codyoss opened this issue Jun 21, 2024 · 0 comments
Open

owlbot: scan and create PRs job fails on bad checkouts #5358

codyoss opened this issue Jun 21, 2024 · 0 comments
Assignees
Labels
bot: owl-bot priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@codyoss
Copy link
Member

codyoss commented Jun 21, 2024

I have sometimes observed the following error. From build 35c3dece-74b8-4676-9f9d-06a219b792ed:

2024-06-21T00:53:24.117Z git checkout -t origin/owl-bot-copy-apis-Google_Cloud_SecurityCenterManagement_V1
fatal: 'origin/owl-bot-copy-apis-Google_Cloud_SecurityCenterManagement_V1' is not a commit and a branch 'owl-bot-copy-apis-Google_Cloud_SecurityCenterManagement_V1' cannot be created from it
owl-bot.js scan-googleapis-gen-and-create-pull-requests

...

Error: Command failed: git checkout -t origin/owl-bot-copy-apis-Google_Cloud_SecurityCenterManagement_V1
fatal: 'origin/owl-bot-copy-apis-Google_Cloud_SecurityCenterManagement_V1' is not a commit and a branch 'owl-bot-copy-apis-Google_Cloud_SecurityCenterManagement_V1' cannot be created from it
    at findAndAppendPullRequest (/usr/src/app/build/src/copy-code.js:280:5)
    at async copyCodeAndAppendOrCreatePullRequest (/usr/src/app/build/src/copy-code.js:368:15)
    at async scanGoogleapisGenAndCreatePullRequests (/usr/src/app/build/src/scan-googleapis-gen-and-create-pull-requests.js:146:13)
    at async Object.handler (/usr/src/app/build/src/bin/commands/scan-googleapis-gen-and-create-pull-requests.js:97:9)
@codyoss codyoss added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. bot: owl-bot labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: owl-bot priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants