Update to 11.3-RC2 breaks SMART Reporting Script

Description

After installing 11.3-RC2 the script reporting the SMART disk status was no longer being sent.
The error being reported :

Error: [EFAULT] Failed to send email: string payload expected: <class 'list'>

The sendmail header is being built like this :

Code:

  1.  

    1.  

      1. Set email headers ###
        (
        echo "To: ${email}"
        echo "Subject: ${subject}"
        echo "Content-Type: text/html"
        echo "MIME-Version: 1.0"
        echo -e "\r\n"
        ) > "$logfile"

If I comment out the Content-Type line then the script works as it used to.
So something about Sendmail changed between 11.2 and 11.3

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Vladimir VinogradenkoFebruary 10, 2020 at 3:03 PM

 thank you, that has been fixed as well in separate ticket

Kevin P. FlemingFebruary 10, 2020 at 11:07 AM

In addition to this issue, I have a related one: I've got two cron jobs which have never sent any email headers to stdout, just their normal output. Prior to 11.3 the output of these jobs appeared in email it would have on the console; after the 11.3 upgrade the lines in the output are all wrapped, as if the newline characters have been replaced with spaces.

Bug ClerkJanuary 21, 2020 at 12:44 PM

Bug ClerkJanuary 20, 2020 at 7:46 PM

Joe MaloneyJanuary 20, 2020 at 3:54 PM

Hi  after reviewing your ticket with an engineer the issue seems straightforward but it's still possible we may need a debug.  Would you mind navigating to System -> Advanced, click save debug and upload the attachment here?

Complete

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

More fields

Katalon Platform

Created January 18, 2020 at 6:24 PM
Updated July 1, 2022 at 4:46 PM
Resolved January 21, 2020 at 12:44 PM