CheckRun fails to evaluate jol#24

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.0
    • Affects Version/s: None
    • Component/s: bots
    • None

      The CheckRun in the PR bot is currently failing to process https://github.com/openjdk/jol/pull/24. This is the stacktrace:

      java.lang.RuntimeException: Exception during jcheck
      at org.openjdk.skara.bots.pr/org.openjdk.skara.bots.pr.CheckRun.checkStatus(CheckRun.java:1157)
      at org.openjdk.skara.bots.pr/org.openjdk.skara.bots.pr.CheckRun.execute(CheckRun.java:98)
      at org.openjdk.skara.bots.pr/org.openjdk.skara.bots.pr.CheckWorkItem.run(CheckWorkItem.java:353)
      at org.openjdk.skara.bot/org.openjdk.skara.bot.BotRunner$RunnableWorkItem.runMeasured(BotRunner.java:190)
      at org.openjdk.skara.bot/org.openjdk.skara.bot.BotRunner$RunnableWorkItem.run(BotRunner.java:146)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: java.io.IOException: Unexpected exit code
      'git merge-base 1b6d9fbaf4401281c2449b9c47778d5a34842fcd 385500e3bc17b8c0b3f3fd44ba31fddd16600a14' exited with status: 1
      [stdout]
      [stderr]
      at org.openjdk.skara.vcs/org.openjdk.skara.vcs.git.GitRepository.await(GitRepository.java:116)
      at org.openjdk.skara.vcs/org.openjdk.skara.vcs.git.GitRepository.mergeBase(GitRepository.java:924)
      at org.openjdk.skara.forge/org.openjdk.skara.forge.PullRequestUtils.containsForeignMerge(PullRequestUtils.java:222)
      at org.openjdk.skara.bots.pr/org.openjdk.skara.bots.pr.CheckRun.checkStatus(CheckRun.java:1113)
      ... 10 more

      I believe this is happening because there are commits in the PR branch that do not have a merge-base with the master branch.

            Assignee:
            Erik Joelsson
            Reporter:
            Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: