Bug#947609: cmake-extras: testsuite autopkgtests failures

2020-01-08 Thread Mike Gabriel

Hi,

On  Mi 08 Jan 2020 12:01:49 CET, Mike Gabriel wrote:

There are other autopkgtests failing for cmake-extras, I have  
started looking into those, too.


I also checked the FAILing intltool autopkgtest.

One issue was a dependency on language-pack-en which does not exist in  
Debian, only in Ubuntu.


However, if that gets worked-around (D: language-pack-en | hello),  
then the test still fails because of a non-configured locale  
en_AU.UTF-8 in the autopkg testbed. However, the intltool test does  
locale specific testing and the test case does this on some  
en_AU.UTF-8 translation (.po) file.


Thus, some of the gettext tests fail. If one dpkg-configures locales  
and enables en_AU.UTF-8, then debian/tests/intltool works.


Advice has been sought on the debian-ci ML:  
https://lists.debian.org/debian-ci/2020/01/msg00010.html


Mike

--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpubH4sSTV5p.pgp
Description: Digitale PGP-Signatur


Bug#947609: cmake-extras: testsuite autopkgtests failures

2020-01-08 Thread Mike Gabriel
Control: forcemerge -1 #946066 


Control: block -1 by #948409

Hi,

On Sat, 28 Dec 2019 15:35:25 +0100 Gianfranco Costamagna 
 wrote:

> Source: cmake-extras
> Version: 1.3+17.04.20170310-6
> Severity: serious
>
>
> Hello,
> Looks like the testsuite has two major issues:
> https://ci.debian.net/packages/c/cmake-extras/
>
> intltool FAIL badpkg
> this one fails because of:
> E: Unable to locate package language-pack-en
>
> this package seems to be existent only in Ubuntu...
>
>
> however, the most important failure
> is a regression between -5 and -6 upload, where the includechecker 
test has started to fail.

>
> (Reading database ... 22283 files and directories currently installed.)
> Removing autopkgtest-satdep (0) ...
> autopkgtest [02:03:48]: test includechecker: [---
> =
> Running build with cmake arguments: -DINCLUDE_CHECK_FORBIDDEN= 
-DINCLUDE_CHECK_ALLOWED= -DINCLUDE_CHECK_IGNORE=

> -- The C compiler identification is GNU 9.2.1
> -- The CXX compiler identification is GNU 9.2.1
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
> -- Checking for modules 'glib-2.0;gobject-2.0'
> -- Found glib-2.0, version 2.62.3
> -- Found gobject-2.0, version 2.62.3
> -- Found IncludeChecker: 
/usr/share/cmake/IncludeChecker/include_checker.py

> -- Configuring done
> -- Generating done
> -- Build files have been written to: 
/tmp/autopkgtest-lxc.ntcm2688/downtmp/autopkgtest_tmp/tmp.pevHsVmMBa/build

> Scanning dependencies of target good-header-test
> [ 25%] Building CXX object 
test/demolib/CMakeFiles/good-header-test.dir/good-header-test.cpp.o

> [ 50%] Linking CXX executable good-header-test
> [ 50%] Built target good-header-test
> Scanning dependencies of target bad-header-test
> [ 75%] Building CXX object 
test/demolib/CMakeFiles/bad-header-test.dir/bad/bad-header-test.cpp.o

> [100%] Linking CXX executable bad-header-test
> [100%] Built target bad-header-test
> Running tests...
> Test project 
/tmp/autopkgtest-lxc.ntcm2688/downtmp/autopkgtest_tmp/tmp.pevHsVmMBa/build

> Start 1: good-header-test
> 1/3 Test #1: good-header-test . Passed 0.00 sec
> Start 2: bad-header-test
> 2/3 Test #2: bad-header-test .. Passed 0.00 sec

The failing include checker tests are partially caused  by cmake-extras 
(the test in debian/tests/control still depended on python-clang, 
whereas it should be python3-clang), but also caused by a flaw in the 
python3-clang package (see [1]).


There are other autopkgtests failing for cmake-extras, I have started 
looking into those, too.


Mike

[1] https://bugs.debian.org/948409


Bug#947609: cmake-extras: testsuite autopkgtests failures

2019-12-28 Thread Gianfranco Costamagna
Source: cmake-extras
Version: 1.3+17.04.20170310-6
Severity: serious


Hello,
Looks like the testsuite has two major issues:
https://ci.debian.net/packages/c/cmake-extras/

intltool FAIL badpkg
this one fails because of:
E: Unable to locate package language-pack-en

this package seems to be existent only in Ubuntu...


however, the most important failure
is a regression between -5 and -6 upload, where the includechecker test has 
started to fail.

(Reading database ... 22283 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [02:03:48]: test includechecker: [---
=
Running build with cmake arguments: -DINCLUDE_CHECK_FORBIDDEN= 
-DINCLUDE_CHECK_ALLOWED= -DINCLUDE_CHECK_IGNORE=
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
-- Checking for modules 'glib-2.0;gobject-2.0'
--   Found glib-2.0, version 2.62.3
--   Found gobject-2.0, version 2.62.3
-- Found IncludeChecker: /usr/share/cmake/IncludeChecker/include_checker.py   
-- Configuring done
-- Generating done
-- Build files have been written to: 
/tmp/autopkgtest-lxc.ntcm2688/downtmp/autopkgtest_tmp/tmp.pevHsVmMBa/build
Scanning dependencies of target good-header-test
[ 25%] Building CXX object 
test/demolib/CMakeFiles/good-header-test.dir/good-header-test.cpp.o
[ 50%] Linking CXX executable good-header-test
[ 50%] Built target good-header-test
Scanning dependencies of target bad-header-test
[ 75%] Building CXX object 
test/demolib/CMakeFiles/bad-header-test.dir/bad/bad-header-test.cpp.o
[100%] Linking CXX executable bad-header-test
[100%] Built target bad-header-test
Running tests...
Test project 
/tmp/autopkgtest-lxc.ntcm2688/downtmp/autopkgtest_tmp/tmp.pevHsVmMBa/build
Start 1: good-header-test
1/3 Test #1: good-header-test .   Passed0.00 sec
Start 2: bad-header-test
2/3 Test #2: bad-header-test ..   Passed0.00 sec
Start 3: demolib-include-check
3/3 Test #3: demolib-include-check ***Failed0.02 sec

67% tests passed, 1 tests failed out of 3

Total Test time (real) =   0.02 sec

The following tests FAILED:
  3 - demolib-include-check (Failed)
Errors while running CTest
make: *** [Makefile:73: test] Error 8
Failed: Unexpected exit value 2, expected 0
autopkgtest [02:03:50]: test includechecker: ---]
autopkgtest [02:03:50]: test includechecker:  - - - - - - - - - - results - - - 
- - - - - - -
includechecker   FAIL non-zero exit status 1

I don't have a solution for this issue

G.