Bug#860949: Unittests are failing

Anton Gladky gladk at debian.org
Sat Apr 22 12:49:16 UTC 2017


Package: heaptrack
Version: 1.0.0-3
Severity: normal
Tags: upstream

Unittests are failing during the build process. That is why they are disabled ar the moment.

Relevant part of the buildlog is in attachment.

Anton
-------------- next part --------------
Running tests...
/usr/bin/ctest --force-new-ctest-process -VV
UpdateCTestConfiguration  from :/builddir/heaptrack/heaptrack-1.0.0/debian/build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/builddir/heaptrack/heaptrack-1.0.0/debian/build/DartConfiguration.tcl
Test project /builddir/heaptrack/heaptrack-1.0.0/debian/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
    Start 1: appstreamtest

1: Test command: /usr/bin/cmake "-DAPPSTREAMCLI=/usr/bin/appstreamcli" "-DINSTALL_FILES=/builddir/heaptrack/heaptrack-1.0.0/debian/build/install_manifest.txt" "-P" "/usr/share/ECM/kde-modules/appstreamtest.cmake"
1: Test timeout computed to be: 9.99988e+06
1: -- I - org.kde.heaptrack.appdata.xml:org.kde.heaptrack.desktop:23
1:     The component summary should not end with a "." [Un analizador de rendimiento de 
1:     la memoria de almacenamiento libre para Linux.]
1: 
1: I - org.kde.heaptrack.appdata.xml:org.kde.heaptrack.desktop:21
1:     The component summary should not end with a "." [Un perfilador de mem?ria en 
1:     monticles per a Linux.]
1: 
1: I - org.kde.heaptrack.appdata.xml:org.kde.heaptrack.desktop:22
1:     The component summary should not end with a "." [A heap memory profiler for 
1:     Linux.]
1: 
1: I - org.kde.heaptrack.appdata.xml:org.kde.heaptrack.desktop:25
1:     The component summary should not end with a "." [Um analisador da mem?ria de 
1:     dados para o Linux.]
1: 
1: I - org.kde.heaptrack.appdata.xml:org.kde.heaptrack.desktop:26
1:     The component summary should not end with a "." [Ett heap-profileringsverktyg 
1:     f?r Linux.]
1: 
1: I - org.kde.heaptrack.appdata.xml:org.kde.heaptrack.desktop:24
1:     The component summary should not end with a "." [Een profiler van heap-geheugen 
1:     voor Linux.]
1: 
1: I - org.kde.heaptrack.appdata.xml:org.kde.heaptrack.desktop:27
1:     The component summary should not end with a "." [????? ???????????? ?????? 
1:     ??????? ??? Linux.]
1: 
1: I - org.kde.heaptrack.appdata.xml:org.kde.heaptrack.desktop:19
1:     The component summary should not end with a "." [A heap memory profiler for 
1:     Linux.]
1: 
1: I - org.kde.heaptrack.appdata.xml:org.kde.heaptrack.desktop:20
1:     The component summary should not end with a "." [Un perfilador de mem?ria en 
1:     monticles per a Linux.]
1: 
1: Validation was successful: infos: 9
1: 
1/2 Test #1: appstreamtest ....................   Passed    0.03 sec
test 2
    Start 2: tst_trace

2: Test command: /builddir/heaptrack/heaptrack-1.0.0/debian/build/tests/auto/tst_trace
2: Test timeout computed to be: 9.99988e+06
2: 
2: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2: tst_trace is a Catch v1.2.1 host application.
2: Run with -? for options
2: 
2: -------------------------------------------------------------------------------
2: getting backtrace traces
2:   fill without skipping
2:   validate trace contents
2: -------------------------------------------------------------------------------
2: /builddir/heaptrack/heaptrack-1.0.0/tests/auto/tst_trace.cpp:49
2: ...............................................................................
2: 
2: /builddir/heaptrack/heaptrack-1.0.0/tests/auto/tst_trace.cpp:44: FAILED:
2:   REQUIRE( find(trace.begin(), trace.end(), Trace::ip_t(0)) == trace.end() )
2: with expansion:
2:   0x00007ffe262b4fe0 == 0x00007ffe262b4fe8
2: 
2: -------------------------------------------------------------------------------
2: getting backtrace traces
2:   fill without skipping
2:   fill with skipping
2:   validate the trace size
2: -------------------------------------------------------------------------------
2: /builddir/heaptrack/heaptrack-1.0.0/tests/auto/tst_trace.cpp:49
2: ...............................................................................
2: 
2: /builddir/heaptrack/heaptrack-1.0.0/tests/auto/tst_trace.cpp:40: FAILED:
2:   REQUIRE( trace.size() == expectedSize )
2: with expansion:
2:   6 == 7
2: 
2: ===============================================================================
2: test cases:  1 |  0 passed | 1 failed
2: assertions: 14 | 12 passed | 2 failed
2: 
2/2 Test #2: tst_trace ........................***Failed    0.00 sec

50% tests passed, 1 tests failed out of 2

Total Test time (real) =   0.04 sec

The following tests FAILED:
	  2 - tst_trace (Failed)
Makefile:86: recipe for target 'test' failed


More information about the debian-science-maintainers mailing list