You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2022/10/14 02:20:00 UTC

[jira] [Created] (ARROW-18047) [Dev][Archery][Crossbow] Queue.put() should use Job.queue setter

Kouhei Sutou created ARROW-18047:
------------------------------------

             Summary: [Dev][Archery][Crossbow] Queue.put() should use Job.queue setter
                 Key: ARROW-18047
                 URL: https://issues.apache.org/jira/browse/ARROW-18047
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Developer Tools
            Reporter: Kouhei Sutou
            Assignee: Kouhei Sutou


This is related to ARROW-18028.

Comment bot reports the following error with ARROW-18028:

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

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

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

{noformat}
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'
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)