Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-18046

[Dev][Archery][Crossbow] Queue.put() should use Job.queue setter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Developer Tools
    • None

    Description

      This is related to ARROW-18028.

      Comment bot reports the following error with ARROW-18028:

      https://github.com/apache/arrow/pull/14409#issuecomment-1278351434

      'NoneType' object has no attribute 'github_commit'
      The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/3246777470
      

      https://github.com/apache/arrow/actions/runs/3246777470

      ERROR:archery:'NoneType' object has no attribute 'github_commit'
      Traceback (most recent call last):
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/bot.py", line 153, in handle_issue_comment
          self.handler(command, issue=issue, pull_request=pull,
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/bot.py", line 56, in __call__
          return self.invoke(ctx)
        File "/opt/hostedtoolcache/Python/3.8.14/x64/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
          return _process_result(sub_ctx.command.invoke(sub_ctx))
        File "/opt/hostedtoolcache/Python/3.8.14/x64/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
          return _process_result(sub_ctx.command.invoke(sub_ctx))
        File "/opt/hostedtoolcache/Python/3.8.14/x64/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
          return ctx.invoke(self.callback, **ctx.params)
        File "/opt/hostedtoolcache/Python/3.8.14/x64/lib/python3.8/site-packages/click/core.py", line 760, in invoke
          return __callback(*args, **kwargs)
        File "/opt/hostedtoolcache/Python/3.8.14/x64/lib/python3.8/site-packages/click/decorators.py", line 38, in new_func
          return f(get_current_context().obj, *args, **kwargs)
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/bot.py", line 276, in submit
          pull_request.create_issue_comment(report.show())
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/crossbow/reports.py", line 333, in show
          url=self.task_url(task)
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/crossbow/reports.py", line 69, in task_url
          if task.status().build_links:
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/crossbow/core.py", line 869, in status
          github_commit = self._queue.github_commit(self.commit)
      AttributeError: 'NoneType' object has no attribute 'github_commit'
      

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              kou Kouhei Sutou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: