Bug 12557 - nightly-oe-selftest failed for nightly build 849
Summary: nightly-oe-selftest failed for nightly build 849
Status: RESOLVED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Stephano Cetola
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-02-16 21:27 UTC by Tracy Graydon
Modified: 2018-02-22 15:46 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
nightly-oe-selftest failure log (401.06 KB, text/plain)
2018-02-16 21:27 UTC, Tracy Graydon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tracy Graydon 2018-02-16 21:27:17 UTC
Created attachment 4214 [details]
nightly-oe-selftest failure log

On master-next branch

https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/820/steps/Running%20oe-selftest/logs/stdio (attached)

There are a number of warnings in nightly-oe-selftest log. Not sure if those are related to the actual test failure or not. Looks plausible.

i.e. 2018-02-15 23:14:16,501 - oe-selftest - INFO - test_meta_ide_can_build_cpio_project (meta_ide.MetaIDE)
configure: WARNING: unrecognized options: --with-libtool-sysroot

checking for structure packing via __attribute__((packed))... yes
./configure: line 26866: test: =: unary operator expected

config.status: executing tests/atconfig commands
configure: WARNING: unrecognized options: --with-libtool-sysroot

Making all in src
make[3]: Entering directory '/tmp/metaidewsfv1cfi/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));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      (truncated)

More warnings and funky stuff, then the actual failure in do_image_ext4

NOTE: recipe core-image-minimal-1.0-r0: task do_image_tar: Succeeded
ERROR: core-image-minimal-1.0-r0 do_image_ext4: Function failed: do_image_ext4 (log file is located at /tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_ext4.51369)
ERROR: Logfile of failure stored in: /tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_ext4.51369
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 6453.200000 = 4964 * 1.300000
| DEBUG: 8192.000000 = max(6453.200000, 8192)[8192.000000] + 1
| DEBUG: 8192.000000 = int(8192.000000)
| DEBUG: 8192 = aligned(8192)
| DEBUG: returning 8192
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.8.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/opkg/opkg_0.3.5.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/rpm/rpm_4.14.1.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/dnf/dnf_2.7.5.bb:do_populate_sysroot', '/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', 'virtual:native:/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.5.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pbzip2-native', 'createrepo-c-native', 'update-rc.d-native', 'prelink-native', 'e2fsprogs-native', 'pigz-native', 'qemuwrapper-cross', 'makedevs-native', 'ldconfig-native', 'opkg-native', 'rpm-native', 'dnf-native', 'depmodwrapper-cross', 'pseudo-native', 'mklibs-native', 'opkg-utils-native', 'qemu-native', 'quilt-native', 'bzip2-native', 'cmake-native', 'expat-native', 'pkgconfig-native', 'zlib-native', 'xz-native', 'ninja-native', 'file-native', 'glib-2.0-native', 'curl-native', 'sqlite3-native', 'python3-native', 'libxml2-native', 'openssl-native', 'elfutils-native', 'automake-native', 'libtool-native', 'autoconf-native', 'gnu-config-native', 'binutils-native', 'shadow-native', 'util-linux-native', 'attr-native', 'gettext-minimal-native', 'texinfo-dummy-native', 'libarchive-native', 'libsolv-native', 'db-native', 'dbus-native', 'popt-native', 'nss-native', 'libcomps-native', 'python3-iniparse-native', 'libdnf-native', 'librepo-native', 'kmod-native', 'libsdl-native', 'alsa-lib-native', 'pixman-native', 'dtc-native', 're2c-native', 'libpcre-native', 'gtk-doc-native', 'libffi-native', 'gdbm-native', 'readline-native', 'makedepend-native', 'cryptodev-linux-native', 'm4-native', 'flex-native', 'bison-native', 'ncurses-native', 'lzo-native', 'autoconf-archive-native', 'nspr-native', 'libcheck-native', 'python3-six-native', 'gobject-introspection-native', 'gpgme-native', 'libxrender-native', 'libxext-native', 'libx11-native', 'libxrandr-native', 'libpng-native', 'util-macros-native', 'xproto-native', 'python3-setuptools-native', 'libgpg-error-native', 'swig-native', 'libassuan-native', 'renderproto-native', 'xextproto-native', 'kbproto-native', 'libxcb-native', 'inputproto-native', 'xtrans-native', 'randrproto-native', 'unzip-native', 'libxdmcp-native', 'xcb-proto-native', 'libpthread-stubs-native', 'libxau-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_ext4
| DEBUG: Executing dd if=/dev/zero of=/tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-qemux86-64-20180215225923.rootfs.ext4 seek=8192 count=0 bs=1024
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 5.3298e-05 s, 0.0 kB/s
| DEBUG: Actual Rootfs size:  4964	/tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs
| DEBUG: Actual Partion size: 8388608
| DEBUG: Executing mkfs.ext4 -F -i 4096 /tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-qemux86-64-20180215225923.rootfs.ext4 -d /tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs
| mke2fs 1.43.8 (1-Jan-2018)
| Discarding device blocks: 1024/8192         done
| Creating filesystem with 8192 1k blocks and 2048 inodes
| 
| Allocating group tables: 0/1   done
| Writing inode tables: 0/1   done
| Creating journal (1024 blocks): done
| Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "udevd"
| mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
| WARNING: /tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_ext4.51369:1 exit 1 from 'mkfs.$fstype -F $extra_imagecmd /tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-qemux86-64-20180215225923.rootfs.$fstype -d /tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs'
| ERROR: Function failed: do_image_ext4 (log file is located at /tmp/eSDKQAihcc1tbs/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_ext4.51369)
NOTE: recipe core-image-minimal-1.0-r0: task do_image_ext4: Failed
ERROR: Task (/tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-core/images/core-image-minimal.bb:do_image_ext4) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2522 tasks of which 2306 didn't need to be rerun and 1 failed.
NOTE: The errors for this build are stored in /tmp/eSDKQAihcc1tbs/tmp/log/error-report/error_report_20180215225923.txt
You can send the errors to a reports server by running:
  send-error-report /tmp/eSDKQAihcc1tbs/tmp/log/error-report/error_report_20180215225923.txt [-s server]
NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.

Summary: 1 task failed:
  /tmp/eSDKQAihcc1tbs/layers/build/meta/recipes-core/images/core-image-minimal.bb:do_image_ext4
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
======================================================================
2018-02-16 00:34:34,296 - oe-selftest - INFO - FAIL: test_fs_types (wic.Wic)
2018-02-16 00:34:34,296 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-02-16 00:34:34,296 - oe-selftest - INFO - Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/wic.py", line 771, in test_fs_types
    self.assertEqual(0, runCmd(cmd).status)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 191, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'wic create /tmp/tmpl8tu_kuf.wks -e core-image-minimal -o /var/tmp/wic.oe-selftest/' returned non-zero exit status 1:
Comment 1 Richard Purdie 2018-02-22 15:46:34 UTC
We didn't merge the btrfs changes which resulted in this set of btrfs errors. The second ext4 issue is likely some kind of interaction with the opensuse builder and we have a separate bug for that so marking this bug as obsolete.