Bug 12629 - oe-selftest: test_meta_ide_can_build_cpio_project produces a lot of output even if successful
Summary: oe-selftest: test_meta_ide_can_build_cpio_project produces a lot of output ev...
Status: RESOLVED FIXED
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ minor
Target Milestone: 4.99
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-03-27 20:10 UTC by Paul Eggleton
Modified: 2019-06-20 11:13 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2018-03-27 20:10:19 UTC
I saw in a recent oe-selftest run on the autobuilder that one of the recently added tests (test_meta_ide_can_build_cpio_project) produced a lot of output even though it succeeded:

https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/949/steps/Running%20oe-selftest/logs/stdio

Tests really should not be showing this kind of output (unless they fail) - can it be silenced?
Comment 1 Richard Purdie 2018-03-29 07:47:35 UTC
This may be tricky to solve since previous "fixes" here have hidden all error output which makes failures very difficult to debug. I agree we should fix this but it may be a hard issue to catch. I also remember different behaviours of logging in different python versions unfortunately.
Comment 2 Aaron Chan 2018-04-04 04:03:56 UTC
Hi Paul/Richard,

During the QA 2.5 M3 rc1 exercise, PG autobuilder encounter the same issues warning during make compilations.
A few observations 


1. configure: WARNING: unrecognized options: --with-libtool-sysroot
2. ./configure: line 26866: test: =: unary operator expected
3. 


make[3]: Leaving directory '/tmp/metaide1cb3tbhk/cpio/cpio-2.12/rmt'
Making all in src
make[3]: Entering directory '/tmp/metaide1cb3tbhk/cpio/cpio-2.12/src'
  CC       copyin.o
copyin.c: In function 'copyin_device':
copyin.c:619:13: warning: In the GNU C Library, "makedev" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "makedev", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "makedev", you should undefine it after including <sys/types.h>.
      makedev (file_hdr->c_rdev_maj, file_hdr->c_rdev_min));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                                                               
copyin.c:624:13: warning: In the GNU C Library, "makedev" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "makedev", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "makedev", you should undefine it after including <sys/types.h>.
      makedev (file_hdr->c_rdev_maj, file_hdr->c_rdev_min));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                                                               
copyin.c: In function 'read_in_old_ascii':
Comment 3 Richard Purdie 2019-06-20 11:13:58 UTC
Autobuilder no longer does this: https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/232/steps/7/logs/step2d