sbernesto

Untitled

Jul 20th, 2021
22
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. lms-worker_1 | 2021-07-20 20:46:14,478 INFO 109 [edx.celery.task] [user None] [ip None] tasks.py:194 - Task 20685bc4-8cea-4dfc-a6dc-4ec08cb15c80: Preparing to queue subtasks for sending emails for course course-v1:BU+BU-001+2021, email 1
  2. lms-worker_1 | 2021-07-20 20:46:14,479 INFO 109 [edx.celery.task] [user None] [ip None] subtasks.py:309 - Task 20685bc4-8cea-4dfc-a6dc-4ec08cb15c80: updating InstructorTask 2 with subtask info for 1 subtasks to process 1 items.
  3. lms-worker_1 | 2021-07-20 20:46:14,485 INFO 109 [edx.celery.task] [user None] [ip None] subtasks.py:332 - Task 20685bc4-8cea-4dfc-a6dc-4ec08cb15c80: creating 1 subtasks to process 1 items.
  4. lms-worker_1 | 2021-07-20 20:46:14,487 INFO 109 [edx.celery.task] [user None] [ip None] subtasks.py:344 - Queueing BulkEmail Task: 20685bc4-8cea-4dfc-a6dc-4ec08cb15c80 Subtask: b3f73cf8-5c1c-4685-85d8-c82c1787948c at timestamp: 2021-07-20 20:46:14.487859
  5. lms-worker_1 | 2021-07-20 20:46:14,511 INFO 1 [celery.worker.strategy] [user None] [ip None] strategy.py:157 - Received task: lms.djangoapps.bulk_email.tasks.send_course_email[b3f73cf8-5c1c-4685-85d8-c82c1787948c]
  6. lms-worker_1 | 2021-07-20 20:46:14,511 INFO 109 [edx.celery.task] [user None] [ip None] runner.py:126 - Task: 20685bc4-8cea-4dfc-a6dc-4ec08cb15c80, InstructorTask ID: 2, Course: course-v1:BU+BU-001+2021, Input: {'email_id': 1, 'to_option': ['myself']}, Task type: emailed, Finishing task: {'action_name': 'emailed', 'attempted': 0, 'failed': 0, 'skipped': 0, 'succeeded': 0, 'total': 1, 'duration_ms': 0, 'start_time': 1626813974.4800806}
  7. lms-worker_1 | 2021-07-20 20:46:14,517 INFO 109 [celery.app.trace] [user None] [ip None] trace.py:125 - Task lms.djangoapps.instructor_task.tasks.send_bulk_course_email[20685bc4-8cea-4dfc-a6dc-4ec08cb15c80] succeeded in 0.633799602000181s: {'action_name': 'emailed', 'attempted': 0, 'failed': 0, 'skipped': 0, 'succeeded': 0, 'total': 1, 'duration_ms': 0, 'start_time': 1626813974.4800806}
  8. lms-worker_1 | /openedx/venv/lib/python3.8/site-packages/problem_builder/settings.py:70: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  9. lms-worker_1 | locale_config = yaml.load(locale_config_file)
  10. lms-worker_1 | /openedx/venv/lib/python3.8/site-packages/celery/platforms.py:800: RuntimeWarning: You're running the worker with superuser privileges: this is
  11. lms-worker_1 | absolutely not recommended!
  12. lms-worker_1 |
  13. lms-worker_1 | Please specify a different user using the --uid option.
  14. lms-worker_1 |
  15. lms-worker_1 | User information: uid=0 euid=0 gid=0 egid=0
  16. lms-worker_1 |
  17. lms-worker_1 | warnings.warn(RuntimeWarning(ROOT_DISCOURAGED.format(
  18. lms-worker_1 | 2021-07-20 20:46:14,518 INFO 110 [edx.celery.task] [user None] [ip None] tasks.py:278 - Preparing to send email 1 to 1 recipients as subtask b3f73cf8-5c1c-4685-85d8-c82c1787948c for instructor task 2: context = {'course_title': 'Word básico', 'course_root': '/courses/course-v1:BU+BU-001+2021/', 'course_language': 'en', 'course_url': 'http://edxlilac.bunited.local/courses/course-v1:BU+BU-001+2021/', 'course_image_url': 'http://edxlilac.bunited.local/asset-v1:BU+BU-001+2021+type@asset+block@PORTADA-WordBasico.png', 'course_end_date': '', 'account_settings_url': 'http://edxlilac.bunited.local/account/settings', 'email_settings_url': 'http://edxlilac.bunited.local/dashboard', 'logo_url': 'https://edx-cdn.org/v3/default/logo.png', 'platform_name': 'Edx Lilac', 'year': 2021}, status=SubtaskStatus<{'task_id': 'b3f73cf8-5c1c-4685-85d8-c82c1787948c', 'attempted': 0, 'succeeded': 0, 'failed': 0, 'skipped': 0, 'retried_nomax': 0, 'retried_withmax': 0, 'state': 'QUEUING'}>, time=2021-07-20 20:46:14.518648
  19. lms-worker_1 | 2021-07-20 20:46:14,542 INFO 110 [edx.celery.task] [user None] [ip None] tasks.py:466 - BulkEmail ==> Task: 20685bc4-8cea-4dfc-a6dc-4ec08cb15c80, SubTask: b3f73cf8-5c1c-4685-85d8-c82c1787948c, EmailId: 1, TotalRecipients: 1
  20. lms-worker_1 | 2021-07-20 20:46:15,224 INFO 110 [edx.celery.task] [user None] [ip None] tasks.py:570 - BulkEmail ==> Task: 20685bc4-8cea-4dfc-a6dc-4ec08cb15c80, SubTask: b3f73cf8-5c1c-4685-85d8-c82c1787948c, EmailId: 1, Recipient num: 1/1, Recipient name: , Email address: sbernesto@bunited.mx
  21. lms-worker_1 | 2021-07-20 20:46:15,632 ERROR 110 [edx.celery.task] [user None] [ip None] tasks.py:699 - Task b3f73cf8-5c1c-4685-85d8-c82c1787948c: email with id 1 caused send_course_email task to fail with u"fatal" exception. 1 emails unsent.
  22. lms-worker_1 | Traceback (most recent call last):
  23. lms-worker_1 | File "/openedx/edx-platform/lms/djangoapps/bulk_email/tasks.py", line 581, in _send_course_email
  24. lms-worker_1 | connection.send_messages([email_msg])
  25. lms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 110, in send_messages
  26. lms-worker_1 | sent = self._send(message)
  27. lms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 126, in _send
  28. lms-worker_1 | self.connection.sendmail(from_email, recipients, message.as_bytes(linesep='\r\n'))
  29. lms-worker_1 | File "/opt/pyenv/versions/3.8.6/lib/python3.8/smtplib.py", line 885, in sendmail
  30. lms-worker_1 | raise SMTPRecipientsRefused(senderrs)
  31. lms-worker_1 | smtplib.SMTPRecipientsRefused: {'sbernesto@bunited.mx': (550, b'Verification failed for <BU-001-sbernesto@bunited.mx>\nNo Such User Here\nSender verify failed')}
  32. lms-worker_1 | 2021-07-20 20:46:15,790 INFO 110 [edx.celery.task] [user None] [ip None] tasks.py:304 - BulkEmail ==> _send_course_email completed in : 1.2492992877960205 for task : b3f73cf8-5c1c-4685-85d8-c82c1787948c with recipient count: 1
  33. lms-worker_1 | 2021-07-20 20:46:15,790 ERROR 110 [edx.celery.task] [user None] [ip None] tasks.py:332 - Send-email task b3f73cf8-5c1c-4685-85d8-c82c1787948c for email 1: failed: {'sbernesto@bunited.mx': (550, b'Verification failed for <BU-001-sbernesto@bunited.mx>\nNo Such User Here\nSender verify failed')}
  34. lms-worker_1 | 2021-07-20 20:46:15,791 INFO 110 [edx.celery.task] [user None] [ip None] subtasks.py:520 - Preparing to update status for subtask b3f73cf8-5c1c-4685-85d8-c82c1787948c for instructor task 2 with status SubtaskStatus<{'task_id': 'b3f73cf8-5c1c-4685-85d8-c82c1787948c', 'attempted': 1, 'succeeded': 0, 'failed': 1, 'skipped': 0, 'retried_nomax': 0, 'retried_withmax': 0, 'state': 'FAILURE'}>
  35. lms-worker_1 | 2021-07-20 20:46:15,795 INFO 110 [edx.celery.task] [user None] [ip None] subtasks.py:576 - Task output updated to {"action_name": "emailed", "attempted": 1, "failed": 1, "skipped": 0, "succeeded": 0, "total": 1, "duration_ms": 1313, "start_time": 1626813974.4800806} for subtask b3f73cf8-5c1c-4685-85d8-c82c1787948c of instructor task 2
  36. lms-worker_1 | 2021-07-20 20:46:15,818 ERROR 110 [celery.app.trace] [user None] [ip None] trace.py:255 - Task lms.djangoapps.bulk_email.tasks.send_course_email[b3f73cf8-5c1c-4685-85d8-c82c1787948c] raised unexpected: SMTPRecipientsRefused({'sbernesto@bunited.mx': (550, b'Verification failed for <BU-001-sbernesto@bunited.mx>\nNo Such User Here\nSender verify failed')})
  37. lms-worker_1 | Traceback (most recent call last):
  38. lms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/celery/app/trace.py", line 412, in trace_task
  39. lms-worker_1 | R = retval = fun(*args, **kwargs)
  40. lms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/celery/app/trace.py", line 704, in __protected_call__
  41. lms-worker_1 | return self.run(*args, **kwargs)
  42. lms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/edx_django_utils/monitoring/internal/code_owner/utils.py", line 179, in new_function
  43. lms-worker_1 | return wrapped_function(*args, **kwargs)
  44. lms-worker_1 | File "/openedx/edx-platform/lms/djangoapps/bulk_email/tasks.py", line 334, in send_course_email
  45. lms-worker_1 | raise send_exception # pylint: disable=raising-bad-type
  46. lms-worker_1 | File "/openedx/edx-platform/lms/djangoapps/bulk_email/tasks.py", line 581, in _send_course_email
  47. lms-worker_1 | connection.send_messages([email_msg])
  48. lms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 110, in send_messages
  49. lms-worker_1 | sent = self._send(message)
  50. lms-worker_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 126, in _send
  51. lms-worker_1 | self.connection.sendmail(from_email, recipients, message.as_bytes(linesep='\r\n'))
  52. lms-worker_1 | File "/opt/pyenv/versions/3.8.6/lib/python3.8/smtplib.py", line 885, in sendmail
  53. lms-worker_1 | raise SMTPRecipientsRefused(senderrs)
  54. lms-worker_1 | smtplib.SMTPRecipientsRefused: {'sbernesto@bunited.mx': (550, b'Verification failed for <BU-001-sbernesto@bunited.mx>\nNo Such User Here\nSender verify failed')}
RAW Paste Data