Skip to content

[CI] Extra scheduled jobs fail sending email #48861

@raulcd

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

The C++ Extra, CUDA Extra and others send a chat report to Zulip and an email report. They are currently failing to send the email with the following error:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.14.2/x64/bin/archery", line 7, in <module>
    sys.exit(archery())
             ~~~~~~~^^
  File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/click/core.py", line 1485, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/click/core.py", line 1406, in main
    rv = self.invoke(ctx)
  File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/click/core.py", line 1873, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/click/core.py", line 1873, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/click/core.py", line 1269, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/click/core.py", line 824, in invoke
    return callback(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/click/decorators.py", line 46, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/home/runner/work/arrow/arrow/dev/archery/archery/ci/cli.py", line 134, in report_email
    ReportUtils.send_email(
    ~~~~~~~~~~~~~~~~~~~~~~^
        smtp_user=smtp_user,
        ^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
        report=email_report
        ^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/runner/work/arrow/arrow/dev/archery/archery/crossbow/reports.py", line 267, in send_email
    smtp.send_message(smtp_user, report.recipient_email, message)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/smtplib.py", line 945, in send_message
    resent = msg.get_all('Resent-Date')
             ^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'get_all'

Component(s)

Continuous Integration

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions