Bug 391239

Summary: Don't pass #4: test_Html_formatting on openSUSE Tumbleweed (libpng warning: iCCP: known incorrect sRGB profile)
Product: [Applications] trojita Reporter: Илья Индиго <ilya>
Component: CoreAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: wbauer1
Priority: NOR    
Version: git   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot
Message

Description Илья Индиго 2018-02-28 19:19:58 UTC
https://build.opensuse.org/package/live_build_log/KDE:Extra/trojita/openSUSE_Tumbleweed/x86_64

[  347s]  4/34 Test  #4: test_Html_formatting ........................***Exception: Child aborted  0.29 sec
[  347s] QT_HASH_SEED: forced seed value is not 0, cannot guarantee that the hashing functions will produce a stable value.QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abuild'
[  347s] libEGL warning: DRI2: failed to open swrast (search paths /usr/lib64/dri)
[  347s] libEGL warning: DRI2: failed to open swrast (search paths /usr/lib64/dri)
[  347s] libEGL warning: DRI2: failed to open swrast (search paths /usr/lib64/dri)
[  347s] libEGL warning: DRI2: failed to open swrast (search paths /usr/lib64/dri)
[  347s] ********* Start testing of HtmlFormattingTest *********
[  347s] Config: Using QtTest library 5.10.0, Qt 5.10.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)
[  347s] PASS   : HtmlFormattingTest::initTestCase()
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(empty-1)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(empty-2)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(empty-3)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(empty-4)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(minimal)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(multiline-trivial-LF)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(multiline-trivial-CR)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(multiline-trivial-CRLF)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(multiline-with-empty-lines)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(signature-LF)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(signature-CRLF)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowed(gerrit-extra-leading-space)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowedDelSp(delsp-canonical)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowedDelSp(delsp-just-lf)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowedDelSp(delsp-borked-crlf)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowedDelSp(delsp-borked-lf)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowedDelSp(delsp-single-line-no-crlf)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowedDelSp(delsp-single-line-crlf)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowedDelSp(delsp-single-line-lf)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingFlowedDelSp(delsp-single-line-cr)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(containing-html)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(basic-formatting-1)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(basic-formatting-2)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(basic-formatting-3)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(basic-formatting-4)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(basic-formatting-666)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(formatting-and-newlines)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(links)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(escaping-1)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(escaping-html-url-bug-323390)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(escaping-html-mail-bug-323390)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(mailto-1)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(multiple-links-on-line)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(http-link-with-nested-mail-and-formatting-chars)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(just-underscores)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(duplicated-formatters)
[  347s] PASS   : HtmlFormattingTest::testPlainTextFormattingViaHtml(two-but-different)
[  347s] QWARN  : HtmlFormattingTest::testPlainTextFormattingViaPaste(no-quotes) libpng warning: iCCP: known incorrect sRGB profile
[  347s] QWARN  : HtmlFormattingTest::testPlainTextFormattingViaPaste(no-quotes) libpng warning: iCCP: known incorrect sRGB profile
[  347s] 
[  347s] ========= Received signal, dumping stack ==============
[  347s] ========= End of stack trace ==============
[  347s] QFATAL : HtmlFormattingTest::testPlainTextFormattingViaPaste(no-quotes) Received signal 11
[  347s]          Function time: 21ms Total time: 26ms
[  347s] FAIL!  : HtmlFormattingTest::testPlainTextFormattingViaPaste(no-quotes) Received a fatal error.
[  347s]    Loc: [Unknown file(0)]
[  347s] Totals: 38 passed, 1 failed, 0 skipped, 0 blacklisted, 31ms
[  347s] ********* Finished testing of HtmlFormattingTest *********
Comment 1 Jan Kundrát 2018-03-01 08:52:19 UTC
That means that QtWebKit is broken on Tumbleweed. Please report that against your distribution, asking them to fix their QtWebKit packaging. The warning message from libpng doesn't appear to be relevant, though.
Comment 2 Christoph Feck 2018-03-01 12:59:16 UTC
Could be related to bug 378684; Tumbleweed recently switched to annulen's branch for QtWebKit.
Comment 3 Илья Индиго 2018-03-01 13:29:58 UTC
Created attachment 111110 [details]
Screenshot
Comment 4 Илья Индиго 2018-03-01 13:30:28 UTC
Created attachment 111111 [details]
Message
Comment 5 Jan Kundrát 2018-03-01 15:17:23 UTC
(In reply to Илья Индиго from comment #3)
> Created attachment 111110 [details]
> Screenshot

Yes, that's a breakage of QtWebKit as shipped by your distribution. Please ask them to have https://github.com/annulen/webkit/issues/511 applied, and if you see any other bugs, please open a new bugreport for each of them.
Comment 6 Илья Индиго 2018-03-01 16:27:31 UTC
Thank you.
https://bugzilla.opensuse.org/show_bug.cgi?id=1083451
Comment 7 Wolfgang Bauer 2018-03-01 17:01:22 UTC
(In reply to Jan Kundrát from comment #5)
> Yes, that's a breakage of QtWebKit as shipped by your distribution. Please
> ask them to have https://github.com/annulen/webkit/issues/511 applied, and
> if you see any other bugs, please open a new bugreport for each of them.

I added these patches, they do indeed fix the broken display of plain-text mails.
An update is on the way to openSUSE Tumbleweed.

The mentioned test still fails though, while it succeeds on openSUSE Leap 42.x with the exact same QtWebKit.