astroidmail / astroid

A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
http://astroidmail.github.io
Other
613 stars 65 forks source link

Failed compose test #687

Closed rien333 closed 4 years ago

rien333 commented 4 years ago

I actually don't know what the protocol is for reporting failing tests, but test #2 (compose) fails on my machine when I build astroid from the newest commit. Don't really know why, but if I had to guess, it would be the newly released gcc 10?

 2/18 Test  #2: compose ..........................***Failed    1.19 sec
Source dir: /tmp/makepkg/astroid-git/src/astroid
Build dir:  /tmp/makepkg/astroid-git/src/astroid/build
Running: test_composed_message..
/tmp/makepkg/astroid-git/src/astroid/build /tmp/makepkg/astroid-git/src/astroid/build/tests
[] [] [M] [info] cf: loading test config.
[] [] [M] [debug] cf: using home and config_dir directory: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home
[] [] [M] [info] cf: test config, loading defaults.
[] [] [M] [info] date: init.
[] [] [M] [info] db path: /tmp/makepkg/astroid-git/src/astroid/build/tests/mail/test_mail
[] [] [M] [debug] searches: loading history..
[] [] [M] [info] ac: initializing accounts..
[] [] [M] [info] ac: setup account: charlie for Charlie Root (default: true)
[] [] [M] [info] plugins: starting manager..
[] [] [M] [warning] plugins: setting GI_TYPELIB_PATH: /tmp/makepkg/astroid-git/src/astroid/build
[] [] [M] [debug] plugin: adding path: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home/plugins
[] [] [M] [debug] plugins: refreshing..
[] [] [M] [debug] plugins: found 2 plugins.
[] [] [M] [debug] plugins: loading: basic plugin
[] [] [M] [debug] plugins: loaded: basic plugin
[] [] [M] [debug] plugins: registering astroid plugin..
[] [] [M] [debug] plugins: loading: threadindexplugin
[] [] [M] [debug] plugins: loaded: threadindexplugin
[] [] [M] [debug] plugins: registering threadindex plugin..
[] [] [M] [debug] plugins: activating astroid plugin: basic plugin
[] [] [M] [info] global actions: set up.
[] [] [M] [info] poll: setting up.
[] [] [M] [debug] poll: interval: 0
[] [] [M] [info] poll: periodic polling disabled.
[] [] [M] [debug] cm: initialize..
[] [] [M] [debug] cm: deinitialized.
[] [] [M] [debug] actions: cleaning up remaining actions..
[] [] [M] [info] cf: loading test config.
[] [] [M] [debug] cf: using home and config_dir directory: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home
[] [] [M] [info] cf: test config, loading defaults.
[] [] [M] [info] date: init.
[] [] [M] [info] db path: /tmp/makepkg/astroid-git/src/astroid/build/tests/mail/test_mail
[] [] [M] [debug] searches: loading history..
[] [] [M] [info] ac: initializing accounts..
[] [] [M] [info] ac: setup account: charlie for Charlie Root (default: true)
[] [] [M] [info] plugins: starting manager..
[] [] [M] [error] plugins: GI_TYPELIB_PATH already set, not touching..
[] [] [M] [debug] plugin: adding path: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home/plugins
[] [] [M] [debug] plugins: refreshing..
[] [] [M] [debug] plugins: found 2 plugins.
[] [] [M] [debug] plugins: loading: basic plugin
[] [] [M] [debug] plugins: loaded: basic plugin
[] [] [M] [debug] plugins: registering astroid plugin..
[] [] [M] [debug] plugins: loading: threadindexplugin
[] [] [M] [debug] plugins: loaded: threadindexplugin
[] [] [M] [debug] plugins: registering threadindex plugin..
[] [] [M] [debug] plugins: activating astroid plugin: basic plugin
[] [] [M] [info] global actions: set up.
[] [] [M] [info] poll: setting up.
[] [] [M] [debug] poll: interval: 0
[] [] [M] [info] poll: periodic polling disabled.
[] [] [M] [debug] cm: initialize..
[] [] [M] [trace] cm: writing utf-8 text to message body: This is test: æøå.
 > testing
testing
...
[] [] [M] [debug] cm: build..
[] [] [M] [debug] cm: finalize..
[] [] [M] [info] cm: wrote tmp file: /tmp/astroid-compose-vU9Ug5
[] [] [M] [debug] cm: deinitialized.
[] [] [M] [info] msg: loading message from file:
[] [] [M] [debug] chunk (0): content-type: text/plain
[] [] [M] [debug] chunk: preferred.
[] [] [M] [debug] chunk: is part (viewable: true, attachment: false)
[] [] [M] [debug] chunk: body: part
[] [] [M] [debug] chunk: plain text (out html: false)
[] [] [M] [debug] enc: quoted-printable
[] [] [M] [debug] charset: utf-8
Running 6 test cases...
../tests/test_composed_message.cc(55): error: in "Composing/compose_test_body": message readingproduces the same output as compose message input
[] [] [M] [debug] actions: cleaning up remaining actions..
[] [] [M] [info] cf: loading test config.
[] [] [M] [debug] cf: using home and config_dir directory: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home
[] [] [M] [info] cf: test config, loading defaults.
[] [] [M] [info] date: init.
[] [] [M] [info] db path: /tmp/makepkg/astroid-git/src/astroid/build/tests/mail/test_mail
[] [] [M] [debug] searches: loading history..
[] [] [M] [info] ac: initializing accounts..
[] [] [M] [info] ac: setup account: charlie for Charlie Root (default: true)
[] [] [M] [info] plugins: starting manager..
[] [] [M] [error] plugins: GI_TYPELIB_PATH already set, not touching..
[] [] [M] [debug] plugin: adding path: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home/plugins
[] [] [M] [debug] plugins: refreshing..
[] [] [M] [debug] plugins: found 2 plugins.
[] [] [M] [debug] plugins: loading: basic plugin
[] [] [M] [debug] plugins: loaded: basic plugin
[] [] [M] [debug] plugins: registering astroid plugin..
[] [] [M] [debug] plugins: loading: threadindexplugin
[] [] [M] [debug] plugins: loaded: threadindexplugin
[] [] [M] [debug] plugins: registering threadindex plugin..
[] [] [M] [debug] plugins: activating astroid plugin: basic plugin
[] [] [M] [info] global actions: set up.
[] [] [M] [info] poll: setting up.
[] [] [M] [debug] poll: interval: 0
[] [] [M] [info] poll: periodic polling disabled.
[] [] [M] [debug] cm: initialize..
[] [] [M] [trace] cm: writing utf-8 text to message body: This is test: æøå.
 > testing
testing
...
[] [] [M] [debug] cm: build..
[] [] [M] [debug] cm: finalize..
[] [] [M] [debug] cm: wrote to stream.
[] [] [M] [info] msg: loading message from GMimeStream.
[] [] [M] [debug] chunk (1): content-type: text/plain
[] [] [M] [debug] chunk: preferred.
[] [] [M] [debug] chunk: is part (viewable: true, attachment: false)
[] [] [M] [debug] cm: deinitialized.
[] [] [M] [debug] chunk: body: part
[] [] [M] [debug] chunk: plain text (out html: false)
[] [] [M] [debug] enc: quoted-printable
[] [] [M] [debug] charset: utf-8
[2020-05-16 09:12:32.129069] [0x00007fb96a5ddc40] [debug]   ms: deconstruct
[2020-05-16 09:12:32.129080] [0x00007fb96a5ddc40] [debug]   chunk: deconstruct.
../tests/test_composed_message.cc(92): error: in "Composing/compose_test_mem": message reading produces the same output as compose message input
[] [] [M] [debug] actions: cleaning up remaining actions..
[] [] [M] [info] cf: loading test config.
[] [] [M] [debug] cf: using home and config_dir directory: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home
[] [] [M] [info] cf: test config, loading defaults.
[] [] [M] [info] date: init.
[] [] [M] [info] db path: /tmp/makepkg/astroid-git/src/astroid/build/tests/mail/test_mail
[] [] [M] [debug] searches: loading history..
[] [] [M] [info] ac: initializing accounts..
[] [] [M] [info] ac: setup account: charlie for Charlie Root (default: true)
[] [] [M] [info] plugins: starting manager..
[] [] [M] [error] plugins: GI_TYPELIB_PATH already set, not touching..
[] [] [M] [debug] plugin: adding path: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home/plugins
[] [] [M] [debug] plugins: refreshing..
[] [] [M] [debug] plugins: found 2 plugins.
[] [] [M] [debug] plugins: loading: basic plugin
[] [] [M] [debug] plugins: loaded: basic plugin
[] [] [M] [debug] plugins: registering astroid plugin..
[] [] [M] [debug] plugins: loading: threadindexplugin
[] [] [M] [debug] plugins: loaded: threadindexplugin
[] [] [M] [debug] plugins: registering threadindex plugin..
[] [] [M] [debug] plugins: activating astroid plugin: basic plugin
[] [] [M] [info] global actions: set up.
[] [] [M] [info] poll: setting up.
[] [] [M] [debug] poll: interval: 0
[] [] [M] [info] poll: periodic polling disabled.
[] [] [M] [debug] cm: initialize..
[] [] [M] [debug] actions: cleaning up remaining actions..
[] [] [M] [info] cf: loading test config.
[] [] [M] [debug] cf: using home and config_dir directory: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home
[] [] [M] [info] cf: test config, loading defaults.
[] [] [M] [info] date: init.
[] [] [M] [info] db path: /tmp/makepkg/astroid-git/src/astroid/build/tests/mail/test_mail
[] [] [M] [debug] searches: loading history..
[] [] [M] [info] ac: initializing accounts..
[] [] [M] [info] ac: setup account: charlie for Charlie Root (default: true)
[] [] [M] [info] plugins: starting manager..
[] [] [M] [error] plugins: GI_TYPELIB_PATH already set, not touching..
[] [] [M] [debug] plugin: adding path: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home/plugins
[] [] [M] [debug] plugins: refreshing..
[] [] [M] [debug] plugins: found 2 plugins.
[] [] [M] [debug] plugins: loading: basic plugin
[] [] [M] [debug] plugins: loaded: basic plugin
[] [] [M] [debug] plugins: registering astroid plugin..
[] [] [M] [debug] plugins: loading: threadindexplugin
[] [] [M] [debug] plugins: loaded: threadindexplugin
[] [] [M] [debug] plugins: registering threadindex plugin..
[] [] [M] [debug] plugins: activating astroid plugin: basic plugin
[] [] [M] [info] global actions: set up.
[] [] [M] [info] poll: setting up.
[] [] [M] [debug] poll: interval: 0
[] [] [M] [info] poll: periodic polling disabled.
[] [] [M] [trace] cm: account gpg: gaute@astroidmail.bar
[] [] [M] [debug] cm: signature file: "tests/test_home/signature.txt"
[] [] [M] [debug] cm: sendmail: tests/forktee.sh tests/mail/test_mail/test-output.eml
[] [] [M] [debug] cm: initialize..
[] [] [M] [debug] cm: build..
[] [] [M] [debug] cm: adding inline signature from: tests/test_home/signature.txt
[] [] [M] [debug] cm: finalize..
[] [] [M] [info] cm: sending (threaded)..
[] [] [M] [warning] cm: sending message from account: Charlie Root <gaute@astroidmail.bar>
[] [] [M] [debug] cm: sending message using command: tests/forktee.sh tests/mail/test_mail/test-output.eml
[] [] [M] [debug] sendmail: delivering to: tests/mail/test_mail/test-output.eml
forking forktee2..
exiting main process
forktee2: tests/mail/test_mail/test-output.eml
forking tee..
[] [] [M] [warning] cm: message sent successfully!
[] [] [M] [debug] cm: deinitialized.
[] [] [M] [info] msg: loading message from file:
[] [] [M] [debug] chunk (2): content-type: text/plain
[] [] [M] [debug] chunk: preferred.
[] [] [M] [debug] chunk: is part (viewable: true, attachment: false)
[] [] [M] [debug] chunk: body: part
[] [] [M] [debug] chunk: plain text (out html: false)
[] [] [M] [debug] enc: quoted-printable
[] [] [M] [debug] charset: utf-8
[] [] [M] [debug] ms: deconstruct
[] [] [M] [debug] chunk: deconstruct.
[] [] [M] [debug] actions: cleaning up remaining actions..
[] [] [M] [info] cf: loading test config.
[] [] [M] [debug] cf: using home and config_dir directory: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home
[] [] [M] [info] cf: test config, loading defaults.
[] [] [M] [info] date: init.
[] [] [M] [info] db path: /tmp/makepkg/astroid-git/src/astroid/build/tests/mail/test_mail
[] [] [M] [debug] searches: loading history..
[] [] [M] [info] ac: initializing accounts..
[] [] [M] [info] ac: setup account: charlie for Charlie Root (default: true)
[] [] [M] [info] plugins: starting manager..
[] [] [M] [error] plugins: GI_TYPELIB_PATH already set, not touching..
[] [] [M] [debug] plugin: adding path: /tmp/makepkg/astroid-git/src/astroid/build/tests/test_home/plugins
[] [] [M] [debug] plugins: refreshing..
[] [] [M] [debug] plugins: found 2 plugins.
[] [] [M] [debug] plugins: loading: basic plugin
[] [] [M] [debug] plugins: loaded: basic plugin
[] [] [M] [debug] plugins: registering astroid plugin..
[] [] [M] [debug] plugins: loading: threadindexplugin
[] [] [M] [debug] plugins: loaded: threadindexplugin
[] [] [M] [debug] plugins: registering threadindex plugin..
[] [] [M] [debug] plugins: activating astroid plugin: basic plugin
[] [] [M] [info] global actions: set up.
[] [] [M] [info] poll: setting up.
[] [] [M] [debug] poll: interval: 0
[] [] [M] [info] poll: periodic polling disabled.
[] [] [M] [debug] cm: initialize..
[] [] [M] [trace] cm: writing utf-8 text to message body: This is test: æøå.
 > testing
testing
...
[] [] [M] [debug] cm: build..
[] [] [M] [debug] cm: finalize..
[] [] [M] [info] cm: wrote tmp file: /tmp/astroid-compose-nPO2l4
[] [] [M] [debug] cm: deinitialized.
[] [] [M] [info] msg: loading message from file:
[] [] [M] [debug] chunk (3): content-type: text/plain
[] [] [M] [debug] chunk: is part (viewable: true, attachment: false)
[] [] [M] [debug] chunk: body: part
[] [] [M] [debug] chunk: plain text (out html: false)
[] [] [M] [debug] enc: quoted-printable
[] [] [M] [debug] charset: utf-8
[2020-05-16 09:12:32.130176] [0x00007fb96a5ddc40] [debug]   ms: deconstruct
[2020-05-16 09:12:32.130186] [0x00007fb96a5ddc40] [debug]   chunk: deconstruct.
../tests/test_composed_message.cc(222): error: in "Composing/compose_test_body_preferred_html":message reading produces the same output as compose message input
[] [] [M] [debug] actions: cleaning up remaining actions..
[2020-05-16 09:12:33.146312] [0x00007fb96a5ddc40] [debug]   ms: deconstruct
[2020-05-16 09:12:33.146323] [0x00007fb96a5ddc40] [debug]   chunk: deconstruct.

*** 3 failures are detected in the test module "TestCompose"
gauteh commented 4 years ago

Might be related to #685

rien333 commented 4 years ago

Could be, yes! iirc, it build fine a bit ago, as in, before that commit.

rien333 commented 4 years ago

The reason the test failed was due to an old patch applied to it in the PKGBUILD of arch linux's astroid-git package. Removing said patch fixes this issue, so nothing astroid should do here.