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

readme job failure #8226

Closed
suztomo opened this issue Aug 26, 2022 · 2 comments · Fixed by #8227
Closed

readme job failure #8226

suztomo opened this issue Aug 26, 2022 · 2 comments · Fixed by #8227
Labels
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

@suztomo
Copy link
Member

suztomo commented Aug 26, 2022

Run googleapis/code-suggester@v3
  with:
    command: pr
    upstream_owner: googleapis
    upstream_repo: google-cloud-java
    description: ran python3 generate-readme.py
    title: chore: regenerate client table in README
    message: chore: regenerate client table in README
    branch: update-readme
    primary: main
    force: true
    git_dir: .
    maintainers_can_modify: true
    fork: true
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.7.13/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.7.13/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.13/x64
    Python[2](https://github.com/googleapis/google-cloud-java/runs/8041111320?check_suite_focus=true#step:6:2)_ROOT_DIR: /opt/hostedtoolcache/Python/[3](https://github.com/googleapis/google-cloud-java/runs/8041111320?check_suite_focus=true#step:6:3).7.13/x6[4](https://github.com/googleapis/google-cloud-java/runs/8041111320?check_suite_focus=true#step:6:4)
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.13/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.7.13/x64/lib
    ACCESS_TOKEN: ***
Starting GitHub PR workflow...
Error when forking
Error: HttpError: Resource not accessible by integration
    at Object.fork (/home/runner/work/_actions/googleapis/code-suggester/v3/action/webpack:/build/src/github/fork.js:44:1)
    at processTicksAndRejections (internal/process/task_queues.js:97:[5](https://github.com/googleapis/google-cloud-java/runs/8041111320?check_suite_focus=true#step:6:5))
Error: HttpError: Resource not accessible by integration
@suztomo suztomo 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. labels Aug 26, 2022
@suztomo
Copy link
Member Author

suztomo commented Aug 26, 2022

Now it fails merge conflict

Run googleapis/code-suggester@v4
Starting GitHub PR workflow...
Create fork request was successful for yoshi-code-bot/google-cloud-java
RequestError [HttpError]: There are merge conflicts
    at /home/runner/work/_actions/googleapis/code-suggester/v4/action/webpack:/code-suggester-action/node_modules/@octokit/request/dist-node/index.js:88:1
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at retry.retries (/home/runner/work/_actions/googleapis/code-suggester/v4/action/webpack:/build/src/index.js:104:1)
    at createPullRequest (/home/runner/work/_actions/googleapis/code-suggester/v4/action/webpack:/build/src/index.js:104:1)
    at run (/home/runner/work/_actions/googleapis/code-suggester/v4/action/dist/index.js:14020:43) {
  status: 409,
  response: {
    url: 'https://api.github.com/repos/yoshi-code-bot/google-cloud-java/merge-upstream',
    status: 409,
    headers: {
      'access-control-allow-origin': '*',
      'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
      connection: 'close',
      'content-length': '154',
      'content-security-policy': "default-src 'none'",
      'content-type': 'application/json; charset=utf-8',
      date: 'Fri, [26](https://github.com/googleapis/google-cloud-java/runs/8041532687?check_suite_focus=true#step:6:27) Aug 2022 17:30:31 GMT',
      'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
      server: 'GitHub.com',
      'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
      vary: 'Accept-Encoding, Accept, X-Requested-With',
      'x-accepted-oauth-scopes': '',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'deny',
      'x-github-media-type': 'github.v3; format=json',
      'x-github-request-id': '07C7:01DA:6F0631:1205F[29](https://github.com/googleapis/google-cloud-java/runs/8041532687?check_suite_focus=true#step:6:30):6[30](https://github.com/googleapis/google-cloud-java/runs/8041532687?check_suite_focus=true#step:6:31)90[33](https://github.com/googleapis/google-cloud-java/runs/8041532687?check_suite_focus=true#step:6:34)6',
      'x-oauth-scopes': 'public_repo',
      'x-ratelimit-limit': '5000',
      'x-ratelimit-remaining': '4987',
      'x-ratelimit-reset': '1661536670',
      'x-ratelimit-resource': 'core',
      'x-ratelimit-used': '13',
      'x-xss-protection': '0'
    },
    data: {
      message: 'There are merge conflicts',
      documentation_url: 'https://docs.github.com/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository'
    }
  },
  request: {
    method: 'POST',
    url: 'https://api.github.com/repos/yoshi-code-bot/google-cloud-java/merge-upstream',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'octokit-rest.js/19.0.3 octokit-core.js/4.0.4 Node.js/16.13.0 (linux; x64)',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: '{"branch":"main"}',
    request: { hook: [Function: bound bound register] }
  }
}
Error: There are merge conflicts

It's probably because the main branch of this repository has diverged from yoshi-code-bot account's main branch.

Screen Shot 2022-08-26 at 1 32 46 PM

@suztomo suztomo reopened this Aug 26, 2022
@suztomo
Copy link
Member Author

suztomo commented Aug 26, 2022

It worked. #8228

@suztomo suztomo closed this as completed Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

Successfully merging a pull request may close this issue.

1 participant