Bug 14326 - do_testimage error test_galculator failure
Summary: do_testimage error test_galculator failure
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: testimage (show other bugs)
Version: 3.3
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
: 14327 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-25 09:36 UTC by Oleksiy Obitotskyy
Modified: 2021-03-25 15:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksiy Obitotskyy 2021-03-25 09:36:32 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/3232


SDK testing environment: core2-32-poky-linux
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/pkgman-deb-non-deb/build/meta/lib/oeqa/sdk/cases/buildgalculator.py", line 38, in test_galculator
    self._run("cd {source} && sed -i -e '/s_preferences.*prefs;/d' src/main.c && autoreconf -i -f -I $OECORE_TARGET_SYSROOT/usr/share/aclocal -I m4".format(**dirs))
  File "/home/pokybuild/yocto-worker/pkgman-deb-non-deb/build/meta/lib/oeqa/sdk/case.py", line 14, in _run
    return subprocess.check_output(". %s > /dev/null; %s;" % \
  File "/usr/lib64/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib64/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '. /home/pokybuild/yocto-worker/pkgman-deb-non-deb/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/environment-setup-core2-32-poky-linux > /dev/null; cd /home/pokybuild/yocto-worker/pkgman-deb-non-deb/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/galculatorfgm35zvo/galculator-2.1.4 && sed -i -e '/s_preferences.*prefs;/d' src/main.c && autoreconf -i -f -I $OECORE_TARGET_SYSROOT/usr/share/aclocal -I m4;' returned non-zero exit status 1
Standard Output: autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: couldn't open directory '/home/pokybuild/yocto-worker/pkgman-deb-non-deb/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/share/aclocal': No such file or directory
configure.in:76: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
...
configure.in:83: the top level
configure.in:102: warning: AC_OUTPUT should be used without arguments.
configure.in:102: You should run autoupdate.
configure.in:76: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: error: /home/pokybuild/yocto-worker/pkgman-deb-non-deb/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/i686-pokysdk-linux/usr/bin/autoconf failed with exit status: 1
...
No python package in the SDK
RESULTS:
RESULTS - assimp.BuildAssimp.test_assimp: PASSED (112.24s)
RESULTS - buildcpio.BuildCpioTest.test_cpio: PASSED (28.16s)
RESULTS - buildepoxy.EpoxyTest.test_epoxy: PASSED (18.48s)
RESULTS - buildlzip.BuildLzipTest.test_lzip: PASSED (3.01s)
RESULTS - gcc.GccCompileTest.test_gcc_compile: PASSED (0.09s)
RESULTS - gcc.GccCompileTest.test_gpp2_compile: PASSED (0.13s)
RESULTS - gcc.GccCompileTest.test_gpp_compile: PASSED (0.20s)
RESULTS - gcc.GccCompileTest.test_make: PASSED (0.10s)
RESULTS - perl.PerlTest.test_perl: PASSED (0.02s)
RESULTS - python.Python3Test.test_python3: PASSED (0.04s)
RESULTS - python.Python2Test.test_python2: SKIPPED (0.00s)
RESULTS - buildgalculator.GalculatorTest.test_galculator: ERROR (6.01s)
SUMMARY:
core-image-sato sdk (poky-glibc-i686-core-image-sato-core2-32-qemux86-toolchain-3.2+snapshot.sh:environment-setup-core2-32-poky-linux) - Ran 12 tests in 168.928s
core-image-sato sdk - FAIL - Required tests failed (successes=10, skipped=1, failures=0, errors=1)
ERROR: core-image-sato-1.0-r0 do_testsdk: core-image-sato - FAILED - check the task log and the commands log
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/pkgman-deb-non-deb/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/temp/log.do_testsdk.31909
NOTE: recipe core-image-sato-1.0-r0: task do_testsdk: Failed
ERROR: Task (/home/pokybuild/yocto-worker/pkgman-deb-non-deb/build/meta/recipes-sato/images/core-image-sato.bb:do_testsdk) failed with exit code '1'
Comment 1 Oleksiy Obitotskyy 2021-03-25 09:43:06 UTC
Build has two issues - this one is described:

https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/3232/steps/12/logs/stdio
Comment 2 Oleksiy Obitotskyy 2021-03-25 09:47:13 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/3250/steps/15/logs/stdio

SDK testing environment: armv7vet2hf-neon-oe-linux-gnueabi
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/sdk/cases/buildgalculator.py", line 39, in test_galculator
    self._run("cd {build} && {source}/configure $CONFIGURE_FLAGS".format(**dirs))
  File "/home/pokybuild/yocto-worker/qemuarm-oecore/build/meta/lib/oeqa/sdk/case.py", line 16, in _run
    stderr=subprocess.STDOUT, universal_newlines=True)
  File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.7/subprocess.py", line 487, in run
    output=stdout, stderr=stderr)
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '. /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/testimage-sdk/environment-setup-armv7vet2hf-neon-oe-linux-gnueabi > /dev/null; cd /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/testimage-sdk/galculator9ruo4l5g/build && /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-sato/1.0-r0/testimage-sdk/galculator9ruo4l5g/galculator-2.1.4/configure $CONFIGURE_FLAGS;' returned non-zero exit status 1
Comment 3 Randy MacLeod 2021-03-25 15:15:58 UTC
Happened on master-next.
It had problems with util-linux according to Richard.
It shouldn't have been able to build the SDK in the first place.
The patch that caused the problem has been drop from master-next and was never in master.
Comment 4 Randy MacLeod 2021-03-25 15:16:30 UTC
*** Bug 14327 has been marked as a duplicate of this bug. ***