Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1879947

Summary: perl-Perl-Tidy-Sweetened-1.16-3.fc34 FTBFS: tests fail
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Perl-Tidy-SweetenedAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: jplesnik, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-Perl-Tidy-Sweetened?collection=f34
Whiteboard:
Fixed In Version: perl-Perl-Tidy-Sweetened-1.16-4.fc34 perl-Perl-Tidy-Sweetened-1.16-4.fc33 perl-Perl-Tidy-Sweetened-1.15-6.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-03 00:58:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1868278    

Description Petr Pisar 2020-09-17 12:28:14 UTC
perl-Perl-Tidy-Sweetened-1.16-3.fc34 fails to build in Fedora 34, because tests fail:

t/csc.t ........................ ok
#   Failed test 'With trailing comments: matches'
#   at t/lib/TidierTests.pm line 48.
# +---+---------------------------------------+---------------------------------------+
# | Ln|Got                                    |Expected                               |
# +---+---------------------------------------+---------------------------------------+
# |  1|'method name1 {    # Trailing comment  |'method name1 {    # Trailing comment  |
# |  2|}                                      |}                                      |
# |  3|                                       |                                       |
# *  4|sub name2 {    # Trailing comment      |sub name2 {      # Trailing comment    *
# |  5|}                                      |}                                      |
# |  6|'                                      |'                                      |
# +---+---------------------------------------+---------------------------------------+
#   Failed test 'With attribs trailing comments: matches'
#   at t/lib/TidierTests.pm line 48.
# +---+--------------------------------------------+--------------------------------------------+
# | Ln|Got                                         |Expected                                    |
# +---+--------------------------------------------+--------------------------------------------+
# |  1|'method name1 : Attrib(Arg) {    # comment  |'method name1 : Attrib(Arg) {    # comment  |
# |  2|}                                           |}                                           |
# |  3|                                            |                                            |
# *  4|sub name2 : Attrib(Arg) {    # comment      |sub name2 : Attrib(Arg) {      # comment    *
# |  5|}                                           |}                                           |
# |  6|'                                           |'                                           |
# +---+--------------------------------------------+--------------------------------------------+
# Looks like you failed 2 tests of 36.
t/kavorka.t .................... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/36 subtests 
#   Failed test 'With trailing comments: matches'
#   at t/lib/TidierTests.pm line 48.
# +---+---------------------------------------+---------------------------------------+
# | Ln|Got                                    |Expected                               |
# +---+---------------------------------------+---------------------------------------+
# |  1|'method name1 {    # Trailing comment  |'method name1 {    # Trailing comment  |
# |  2|}                                      |}                                      |
# |  3|                                       |                                       |
# *  4|sub name2 {    # Trailing comment      |sub name2 {      # Trailing comment    *
# |  5|}                                      |}                                      |
# |  6|'                                      |'                                      |
# +---+---------------------------------------+---------------------------------------+
#   Failed test 'With attribs trailing comments: matches'
#   at t/lib/TidierTests.pm line 48.
# +---+--------------------------------------------+--------------------------------------------+
# | Ln|Got                                         |Expected                                    |
# +---+--------------------------------------------+--------------------------------------------+
# |  1|'method name1 : Attrib(Arg) {    # comment  |'method name1 : Attrib(Arg) {    # comment  |
# |  2|}                                           |}                                           |
# |  3|                                            |                                            |
# *  4|sub name2 : Attrib(Arg) {    # comment      |sub name2 : Attrib(Arg) {      # comment    *
# |  5|}                                           |}                                           |
# |  6|'                                           |'                                           |
# +---+--------------------------------------------+--------------------------------------------+
# Looks like you failed 2 tests of 16.
t/method-signature-simple.t .... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/16 subtests 
t/moops.t ...................... ok
t/moosex-declare.t ............. ok
t/moosex-method-signatures.t ... ok
t/moosex-role-parameterized.t .. ok
t/p5-mop.t ..................... ok
t/perl-signatures.t ............ ok
Test Summary Report
-------------------
t/bugs.t                     (Wstat: 0 Tests: 24 Failed: 0)
  TODO passed:   23-24
t/kavorka.t                  (Wstat: 512 Tests: 36 Failed: 2)
  Failed tests:  26, 28
  Non-zero exit status: 2
t/method-signature-simple.t  (Wstat: 512 Tests: 16 Failed: 2)
  Failed tests:  14, 16
  Non-zero exit status: 2
t/moops.t                    (Wstat: 0 Tests: 22 Failed: 0)
  TODO passed:   4, 16, 22
Files=14, Tests=185,  5 wallclock secs ( 0.07 usr  0.03 sys +  3.84 cusr  0.55 csys =  4.49 CPU)
Result: FAIL

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/8956343>. This is probably triggered by upgrading perltidy from 20200822-1.fc34 to 20200907-1.fc34.

Comment 1 Fedora Update System 2020-10-22 12:55:23 UTC
FEDORA-2020-b6adc5b697 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-b6adc5b697

Comment 2 Fedora Update System 2020-10-22 12:55:34 UTC
FEDORA-2020-34fd4926d7 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-34fd4926d7

Comment 3 Fedora Update System 2020-10-23 23:40:07 UTC
FEDORA-2020-b6adc5b697 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-b6adc5b697`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-b6adc5b697

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2020-10-23 23:51:04 UTC
FEDORA-2020-34fd4926d7 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-34fd4926d7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-34fd4926d7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-11-03 00:58:00 UTC
FEDORA-2020-b6adc5b697 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2020-11-03 01:29:18 UTC
FEDORA-2020-34fd4926d7 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.