Bug 2115214 - perl-Database-DumpTruck-1.2-24.fc37 FTBFS: Failed test 'Proper data was retrieved from the database' with JSON::PP 4.11
Summary: perl-Database-DumpTruck-1.2-24.fc37 FTBFS: Failed test 'Proper data was retri...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Database-DumpTruck
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Josef Spacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F38FTBFS F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-08-04 07:16 UTC by Petr Pisar
Modified: 2022-09-14 00:19 UTC (History)
4 users (show)

Fixed In Version: perl-Database-DumpTruck-1.2-25.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 00:19:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github lkundrak perl-database-dumptruck issues 2 0 None open Issue in is_deeply test in t/dumptruck.t in situation when dump() returns things like JSON::PP::Boolean 2022-09-02 11:05:39 UTC

Description Petr Pisar 2022-08-04 07:16:34 UTC
perl-Database-DumpTruck-1.2-24.fc37 fails to build in Fedora 37 because a test fails:

+ cd Database-DumpTruck-1.2
+ ./Build test

#   Failed test 'Proper data was retrieved from the database'
#   at t/dumptruck.t line 189.
#     Structures begin differing at:
#          $got->[0]{random}{yes} = 1
#     $expected->[0]{random}{yes} = '1'
# Looks like you failed 1 test of 43.
t/dumptruck.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/43 subtests
t/pod.t ........ ok

This is triggered by upgrading perl-JSON-PP from 1:4.10-2.fc37 to 1:4.11-1.fc37. It's caused by this intentional change <https://github.com/makamaka/JSON-PP/pull/73>.

Comment 1 Ben Cotton 2022-08-09 13:35:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 2 Michal Josef Spacek 2022-09-06 08:38:10 UTC
One possible fix is `use Test::Deep::JSON`.

Comment 3 Fedora Update System 2022-09-06 11:44:47 UTC
FEDORA-2022-cddb896610 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-cddb896610

Comment 4 Fedora Update System 2022-09-06 20:30:10 UTC
FEDORA-2022-cddb896610 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-cddb896610`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-cddb896610

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

Comment 5 Fedora Update System 2022-09-14 00:19:41 UTC
FEDORA-2022-cddb896610 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.