Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625652 - dev-perl/Convert-PEM-0.80.0-r1 : # Failed test errstr matches decrypt failed
Summary: dev-perl/Convert-PEM-0.80.0-r1 : # Failed test errstr matches decrypt failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Public/Bug/Displa...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-07-19 18:04 UTC by Toralf Förster
Modified: 2017-10-02 16:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.93 KB, text/plain)
2017-07-19 18:04 UTC, Toralf Förster
Details
dev-perl:Convert-PEM-0.80.0-r1:20170719-122413.log (dev-perl:Convert-PEM-0.80.0-r1:20170719-122413.log,4.22 KB, text/plain)
2017-07-19 18:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,94.63 KB, text/plain)
2017-07-19 18:04 UTC, Toralf Förster
Details
environment (environment,105.99 KB, text/plain)
2017-07-19 18:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.27 KB, application/x-bzip)
2017-07-19 18:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.32 KB, application/x-bzip)
2017-07-19 18:05 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,1.64 KB, application/x-bzip)
2017-07-19 18:05 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-07-19 18:04:49 UTC
t/02-encode.t ..... 1/9 
#   Failed test 'errstr matches decrypt failed'
#   at t/02-encode.t line 28.
#                   'ASN decode failed: decode error at /usr/lib64/perl5/vendor_perl/5.24.2/Convert/ASN1/_decode.pm line 64.
# '

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_20170717-204641

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.4.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-07-19 18:04:52 UTC
Created attachment 485666 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-19 18:04:56 UTC
Created attachment 485668 [details]
dev-perl:Convert-PEM-0.80.0-r1:20170719-122413.log
Comment 3 Toralf Förster gentoo-dev 2017-07-19 18:04:59 UTC
Created attachment 485670 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-19 18:05:02 UTC
Created attachment 485672 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-07-19 18:05:05 UTC
Created attachment 485674 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-19 18:05:08 UTC
Created attachment 485676 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-07-19 18:05:11 UTC
Created attachment 485678 [details]
tests.tbz2
Comment 8 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-09-30 16:28:01 UTC
Looks like the test that fails here is just dodgy, and fails randomly because the heuristic used to determine which error message to use is not reliable (and can't be)

https://rt.cpan.org/Public/Bug/Display.html?id=27574
Comment 9 Larry the Git Cow gentoo-dev 2017-10-02 16:13:19 UTC
The bug has been closed via the following commit(s):

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

commit ad0a949482b82e580f22114f7b0c4396b4b29500
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-02 16:09:03 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-02 16:12:25 +0000

    dev-perl/Convert-PEM: Fix random test failures bug #625652
    
    Also:
    - Migrate Module::Install sed to a patch
    - Fix Test::Builder warnings
    
    Closes: https://bugs.gentoo.org/625652
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Convert-PEM/Convert-PEM-0.80.0-r1.ebuild  | 11 ++--
 .../Convert-PEM/files/Convert-PEM-0.80.0-526.patch | 23 +++++++
 .../files/Convert-PEM-0.80.0-decryptiontest.patch  | 70 ++++++++++++++++++++++
 .../files/Convert-PEM-0.80.0-testbuilder.patch     | 29 +++++++++
 4 files changed, 127 insertions(+), 6 deletions(-)