Bug 393133 - kpackage's tests fail since 5.45.0
Summary: kpackage's tests fail since 5.45.0
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kpackage
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: 5.45.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-14 14:32 UTC by Heiko Becker
Modified: 2018-04-16 08:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Becker 2018-04-14 14:32:58 UTC
If I remember correctly the test suite passed with 5.44.0, both time built against Qt 5.10.1.

The following tests FAILED:
          7 - testfallbackpackage-appstream (Failed)
          8 - testpackage-appstream (Failed)
         10 - testjsonmetadatapackage-appstream (Failed)
         11 - testpackagesdep-appstream (Failed)
         12 - testpackagesdepinvalid-appstream (Failed)

Same on build.kde.org, e.g.:
https://build.kde.org/job/Frameworks%20kpackage%20kf5-qt5%20SUSEQt5.9/24/console
https://build.kde.org/job/Frameworks%20kpackage%20kf5-qt5%20SUSEQt5.10/47/console
https://build.kde.org/job/Frameworks%20kpackage%20kf5-qt5%20FreeBSDQt5.9/41/console


Output from the failing tests:
7: Test command: /usr/bin/cmake "-Dkpackagetool=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/bin/kpackagetool5" "
-Dgenerated=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testfallbackpackage.appdata.xml" "-Dinput=/var
/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testfallbackpackage/" "-Doutput=/var/tmp/paludi
s/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testfallbackpackage/testfallbackpackage.testappdataxml" "-
P" "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmake"
7: Environment variables: 
7:  XDG_DATA_DIRS=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/src/kpackage/data:$XDG_DATA_DIRS
7: Test timeout computed to be: 10000000
7: CMake Error at /var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmak
e:29 (message):
7:   error on compare: Files
7:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testfallbackpackage/testfallbackpacka
ge.testappdataxml"
7:   to
7:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testfallbackpackage.appdata.xml"
7:   are different.
7: 
7: 
7: 
 7/12 Test  #7: testfallbackpackage-appstream .......***Failed    0.09 sec
test 8
      Start  8: testpackage-appstream

8: Test command: /usr/bin/cmake "-Dkpackagetool=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/bin/kpackagetool5" "
-Dgenerated=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testpackage.appdata.xml" "-Dinput=/var/tmp/pal
udis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testpackage/" "-Doutput=/var/tmp/paludis/build/kde-fram
eworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testpackage/testpackage.testappdataxml" "-P" "/var/tmp/paludis/build/kde-f
rameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmake"
8: Environment variables: 
8:  XDG_DATA_DIRS=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/src/kpackage/data:$XDG_DATA_DIRS
8: Test timeout computed to be: 10000000
8: CMake Error at /var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmake:29 (message):
8:   error on compare: Files
8:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testpackage/testpackage.testappdataxml"
8:   to
8:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testpackage.appdata.xml"
8:   are different.
8: 
8: 
8: 
 8/12 Test  #8: testpackage-appstream ...............***Failed    0.09 sec

10: Test command: /usr/bin/cmake "-Dkpackagetool=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/bin/kpackagetool5" "-Dgenerated=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testjsonmetadatapackage.appdata.xml" "-Dinput=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testjsonmetadatapackage/" "-Doutput=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testjsonmetadatapackage/testjsonmetadatapackage.testappdataxml" "-P" "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmake"
10: Environment variables: 
10:  XDG_DATA_DIRS=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/src/kpackage/data:$XDG_DATA_DIRS
10: Test timeout computed to be: 10000000
10: CMake Error at /var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmake:29 (message):
10:   error on compare: Files
10:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testjsonmetadatapackage/testjsonmetadatapackage.testappdataxml"
10:   to
10:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testjsonmetadatapackage.appdata.xml"
10:   are different.
10: 
10: 
10: 
10/12 Test #10: testjsonmetadatapackage-appstream ...***Failed    0.10 sec
test 11
      Start 11: testpackagesdep-appstream

11: Test command: /usr/bin/cmake "-Dkpackagetool=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/bin/kpackagetool5" "-Dgenerated=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testpackagesdep.appdata.xml" "-Dinput=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testpackagesdep/" "-Doutput=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testpackagesdep/testpackagesdep.testappdataxml" "-P" "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmake"
11: Environment variables: 
11:  XDG_DATA_DIRS=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/src/kpackage/data:$XDG_DATA_DIRS
11: Test timeout computed to be: 10000000
11: CMake Error at /var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmake:29 (message):
11:   error on compare: Files
11:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testpackagesdep/testpackagesdep.testappdataxml"
11:   to
11:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testpackagesdep.appdata.xml"
11:   are different.
11: 
11: 
11: 
11/12 Test #11: testpackagesdep-appstream ...........***Failed    0.09 sec
test 12
      Start 12: testpackagesdepinvalid-appstream

12: Test command: /usr/bin/cmake "-Dkpackagetool=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/bin/kpackagetool5" "-Dgenerated=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testpackagesdepinvalid.appdata.xml" "-Dinput=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testpackagesdepinvalid/" "-Doutput=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testpackagesdepinvalid/testpackagesdepinvalid.testappdataxml" "-P" "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmake"
12: Environment variables: 
12:  XDG_DATA_DIRS=/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/src/kpackage/data:$XDG_DATA_DIRS
12: Test timeout computed to be: 10000000
12: CMake Error at /var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/kpackagetoolappstreamtest.cmake:29 (message):
12:   error on compare: Files
12:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/kpackage-5.45.0/autotests/data/testpackagesdepinvalid/testpackagesdepinvalid.testappdataxml"
12:   to
12:   "/var/tmp/paludis/build/kde-frameworks-kpackage-5.45.0/work/build/autotests/testpackagesdepinvalid.appdata.xml"
12:   are different.
12: 
12: 
12: 
12/12 Test #12: testpackagesdepinvalid-appstream ....***Failed    0.08 sec
Comment 1 Heiko Becker 2018-04-16 08:29:32 UTC
84f64a27fa60ffad8974c0c09aa51b76cb3baaa7 fixed it.