Subject: | t/module.t started to fail (with Email::Mailer 1.09?) |
Test log of the failing test:
...
# Failed test 'html_attachment.qr'
# at t/module.t line 172.
# 'From: from@example.com
# Subject: Alert Log Message
# To: foo@example.com,bar@example.org
# Date: Sat, 17 Nov 2018 10:18:19 +0100
# MIME-Version: 1.0
# Content-Type: multipart/mixed; boundary="15424462991.181Db.76424"
# Content-Transfer-Encoding: 7bit
#
#
# --15424462991.181Db.76424
# Date: Sat, 17 Nov 2018 10:18:19 +0100
# MIME-Version: 1.0
# Content-Type: multipart/alternative; boundary="15424462990.DdF3.76424"
# Content-Transfer-Encoding: 7bit
#
#
# --15424462990.DdF3.76424
# Date: Sat, 17 Nov 2018 10:18:19 +0100
# MIME-Version: 1.0
# Content-Type: text/plain
#
# This is a generic message: This is to alert you something happened..
#
# --15424462990.DdF3.76424
# Date: Sat, 17 Nov 2018 10:18:19 +0100
# MIME-Version: 1.0
# Content-Type: text/html; charset="UTF-8"
# Content-Transfer-Encoding: quoted-printable
#
# <p>This is a generic message: <b>This is to alert you something happened.</=
# b>.</p>=
#
# --15424462990.DdF3.76424--
#
# --15424462991.181Db.76424
# Date: Sat, 17 Nov 2018 10:18:19 +0100
# MIME-Version: 1.0
# Content-Type: text/plain; name="log_file.txt"
# Content-Transfer-Encoding: base64
# Content-Disposition: attachment; filename="log_file.txt"
#
# VGhpcyBpcyBwbGFpbiB0ZXh0IGF0dGFjaG1lbnQgY29udGVudC4=
#
# --15424462991.181Db.76424--
# '
# doesn't match '(?^ms:From: from@example.com\s+Subject: Alert Log Message\s+To: foo@example.com,bar@example.org\s+Date: [^\n]+\s+MIME-Version: 1.0\s+Content-Type: multipart/mixed; boundary="[^"]+"\s+Content-Transfer-Encoding: 7bit\s+--\S+\s+Date: [^\n]+\s+MIME-Version: 1.0\s+Content-Type: multipart/alternative; boundary="[^"]+"\s+Content-Transfer-Encoding: 7bit\s+--\S+\s+Date: [^\n]+\s+MIME-Version: 1.0\s+Content-Type: text/plain\s+This is a generic message: This is to alert you something happened..\s+--\S+\s+Date: [^\n]+\s+MIME-Version: 1.0\s+Content-Type: text/html; charset="UTF-8"\s+Content-Transfer-Encoding: quoted-printable\s+<p>This is a generic message: <b>This is to alert you something happened.</=\s+b>.</p>=\s+--[^\-]+--\s+--\S+\s+Date: [^\n]+\s+MIME-Version: 1.0\s+Content-Type: text/plain; name="log_file.txt"\s+[^:]+: [^\n]+\s+[^:]+: [^\n]+\s+This is plain text attachment content.=\s+--[^\-]+--)'
# Looks like you failed 1 test of 19.
t/module.t ...............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/19 subtests
...
Statistical analysis suggests that this test fails with Email::Mailer 1.09 (theta = -1.0):
****************************************************************
Regression 'mod:Email::Mailer'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 47955971293630672.00
[1='eq_1.09'] -1.0000 0.0000 -28097598878253644.00
R^2= 1.000, N= 134, K= 2
****************************************************************