Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656676 - app-office/libreoffice-6.0.3.2: test failure: SigningTest::testODFEncryptedGPG
Summary: app-office/libreoffice-6.0.3.2: test failure: SigningTest::testODFEncryptedGPG
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 652638
  Show dependency tree
 
Reported: 2018-05-27 12:25 UTC by Thomas Deutschmann (RETIRED)
Modified: 2018-05-27 22:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-05-27 12:25:44 UTC
> SigningTest::testODFBrokenDsigGPG finished in: 5467ms
> /var/tmp/portage/app-office/libreoffice-6.0.3.2/work/libreoffice-6.0.3.2/unotest/source/cpp/macros_test.cxx:52:SigningTest::testODFEncryptedGPG
> assertion failed
> - Expression: xComponent.is()
> - loading failed: file:///var/tmp/portage/app-office/libreoffice-6.0.3.2/work/libreoffice-6.0.3.2//xmlsecurity/qa/unit/s
> igning/data/encryptedGPG.odt
> 
> SigningTest::testODFEncryptedGPG finished in: 10120ms
> macros_test.cxx:52:Assertion
> Test name: SigningTest::testODFEncryptedGPG
> assertion failed
> - Expression: xComponent.is()
> - loading failed: file:///var/tmp/portage/app-office/libreoffice-6.0.3.2/work/libreoffice-6.0.3.2//xmlsecurity/qa/unit/s
> igning/data/encryptedGPG.odt
> 
> Failures !!!
> Run: 21   Failure total: 1   Failures: 1   Errors: 0
> Imported file 'file:///var/tmp/portage/app-office/libreoffice-6.0.3.2/work/libreoffice-6.0.3.2/extras/source/gallery/tra
> nsportation/Train-Red.png' (13)


For complete build.log see https://bugs.gentoo.org/attachment.cgi?id=533428

Found this thread: https://lists.freedesktop.org/archives/libreoffice/2018-January/079289.html ... looks like some have just disabled this test, no real solution. :/
Comment 2 Larry the Git Cow gentoo-dev 2018-05-27 19:54:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0578a158a4943a264c38f9fc4f68d9060b74190b

commit 0578a158a4943a264c38f9fc4f68d9060b74190b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-05-27 19:52:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-05-27 19:53:33 +0000

    app-office/libreoffice: Fix testODFEncryptedGPG, fix test deps
    
    Thanks-to: Thomas Deutschmann <whissi@gentoo.org>
    Closes: https://bugs.gentoo.org/656676
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../libreoffice-6.0.3.2-testODFEncryptedGPG.patch  | 89 ++++++++++++++++++++++
 .../files/libreoffice-6.0.3.2-testTdf108947.patch  |  2 +-
 app-office/libreoffice/libreoffice-6.0.3.2.ebuild  |  2 +
 app-office/libreoffice/libreoffice-6.0.4.2.ebuild  |  1 +
 app-office/libreoffice/libreoffice-6.0.9999.ebuild |  1 +
 app-office/libreoffice/libreoffice-9999.ebuild     |  1 +
 6 files changed, 95 insertions(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2018-05-27 22:59:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1d5c1246d2cfd5321004c519addda8f819cdee

commit 8c1d5c1246d2cfd5321004c519addda8f819cdee
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-05-27 22:56:51 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-05-27 22:58:25 +0000

    app-office/libreoffice: Tests are unfixable
    
    Bug: https://bugs.gentoo.org/656676
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../libreoffice-6.0.3.2-disable-flaky-tests.patch  | 216 +++++++++++++++++++++
 .../libreoffice-6.0.3.2-testODFEncryptedGPG.patch  |  89 ---------
 app-office/libreoffice/libreoffice-6.0.3.2.ebuild  |   2 +-
 app-office/libreoffice/libreoffice-6.0.4.2.ebuild  |   1 +
 app-office/libreoffice/libreoffice-6.0.9999.ebuild |   1 +
 5 files changed, 219 insertions(+), 90 deletions(-)