Package: debci
Version: 1.0.1
Severity: important

Dear debci people,

debci should monitor return codes of the test scripts to determine failure.
Analyzing if there is something spitted out to stderr will cause false 
positives.

Example is package log4cxx.
Here, a autoconf warning "configure.in is depreciated" will cause ci.debian.net 
to claim failure,
down the road a testcase which is *expected* to print an error fails, failing 
the whole check.
(I'm currently preparing an upload with an workaround by redirecting sterr to 
stdout)


Minimized testcase:

build-tests containing:

 #!/bin/sh
 echo "Everythings cool, stderr!" 1>&2

will yield to:

tobi@edoras:~/workspace/deb/packages/log4cxx/log4cxx$ adt-run --output-dir 
/tmp/output-dir8 ./ --- null
adt-run [15:03:09]: version 3.19
adt-run [15:03:09]: host edoras; command line: /usr/bin/adt-run --output-dir 
/tmp/output-dir8 ./ --- null
adt-run [15:03:09]: testbed dpkg architecture: amd64
adt-run [15:03:09]: testbed running kernel: Linux 4.3.0-1-amd64 #1 SMP Debian 
4.3.3-2 (2015-12-17)
adt-run [15:03:09]: @@@@@@@@@@@@@@@@@@@@ built-tree ./
adt-run [15:03:09]: testing package dummy version 0-1
adt-run [15:03:10]: test build-tests: preparing testbed
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
adt-run [15:03:11]: test build-tests: [-----------------------
Everythings cool, stderr!
adt-run [15:03:11]: test build-tests: -----------------------]
adt-run [15:03:12]: test build-tests:  - - - - - - - - - - results - - - - - - 
- - - -
build-tests          FAIL stderr: Everythings cool, stderr!
adt-run [15:03:12]: test build-tests:  - - - - - - - - - - stderr - - - - - - - 
- - -
Everythings cool, stderr!
adt-run [15:03:12]: @@@@@@@@@@@@@@@@@@@@ summary
build-tests          FAIL stderr: Everythings cool, stderr!


-- 
tobi

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debci depends on:
ii  adduser             3.113+nmu3
ii  amqp-tools          0.7.1-1
ii  bsdmainutils        9.0.6+b1
ii  dctrl-tools         2.24-1
ii  debootstrap         1.0.75
ii  devscripts          2.15.9
ii  fonts-font-awesome  4.4.0~dfsg-1
ii  libjs-bootstrap     3.3.6+dfsg-1
ii  libjs-jquery        1.11.3+dfsg-4
ii  libjs-jquery-flot   0.8.3+dfsg-1
ii  patchutils          0.3.4-1
ii  ruby                1:2.2.4
ii  sudo                1.8.12-1

Versions of packages debci recommends:
pn  apt-cacher-ng  <none>
ii  moreutils      0.57-1
ii  ntp            1:4.2.8p4+dfsg-3+b1

debci suggests no packages.

-- Configuration Files:
/etc/sudoers.d/debci [Errno 13] Keine Berechtigung: u'/etc/sudoers.d/debci'

-- no debconf information

Reply via email to