Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1334124

Summary: memstomp is FTBFS on aarch64 due to crash in %check
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: memstompAssignee: Jeff Law <law>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: law
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: memstomp-0.1.4-20.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-23 20:06:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 922257    

Description Peter Robinson 2016-05-08 21:58:14 UTC
http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=15448

+ make -k check
make  check-DEJAGNU
make[1]: Entering directory '/builddir/build/BUILD/memstomp-0.1.4-38573e7d'
Making a new site.exp file ...
if [ -d testsuite ]; then \
  true; \
else \
  mkdir testsuite; \
fi
rm -f testsuite/site.exp
cp site.exp testsuite/site.exp
rootme=`pwd`; export rootme; \
srcdir=`cd .; pwd` ; export srcdir ; \
LC_ALL=C; export LC_ALL; \
EXPECT=expect ; export EXPECT ; \
runtest=runtest; \
cd testsuite; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
  $runtest --tool memstomp --srcdir ${srcdir}/testsuite \
	; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: Couldn't find the global config file.
Test Run By mockbuild on Sun May  8 21:47:57 2016
Native configuration is aarch64-redhat-linux-gnu
		=== memstomp tests ===
Schedule of variations:
    unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
Running /builddir/build/BUILD/memstomp-0.1.4-38573e7d/testsuite/memstomp.lineinfo/linenumber.exp ...
XPASS: /builddir/build/BUILD/memstomp-0.1.4-38573e7d/testsuite/memstomp.lineinfo/linenumber.c found overlap on right line memstomp: Application appears to be compiled without -rdynamic. It might be a
memstomp: good idea to recompile with -rdynamic enabled since this produces more
memstomp: useful stack traces.
memstomp: 0.1.4 successfully initialized for process a.out (pid 24930).
memcpy(dest=0x3fff0f14508, src=0x3fff0f1450d, bytes=6) overlap for a.out(24930)
	memstomp.c:381	memcpy()
	linenumber.c:8	something()
	linenumber.c:14	nothing()
	linenumber.c:20	main()
	:0	__libc_start_main()
	:0	_start()
Running /builddir/build/BUILD/memstomp-0.1.4-38573e7d/testsuite/memstomp.nooverlap/nooverlap.exp ...
Running /builddir/build/BUILD/memstomp-0.1.4-38573e7d/testsuite/memstomp.null/null.exp ...
Running /builddir/build/BUILD/memstomp-0.1.4-38573e7d/testsuite/memstomp.overlap/overlap.exp ...
		=== memstomp Summary ===
# of expected passes		165
# of unexpected successes	1
Makefile:1089: recipe for target 'check-DEJAGNU' failed
make[1]: Leaving directory '/builddir/build/BUILD/memstomp-0.1.4-38573e7d'
Makefile:927: recipe for target 'check-am' failed
make[1]: *** [check-DEJAGNU] Error 1
make: *** [check-am] Error 2
make: Target 'check' not remade because of errors.

Comment 1 Jeff Law 2016-05-09 15:29:58 UTC
Grrr,

What is the magic RPM I need to provide aarch64-koji so that I can fire off a scratch build to the aarch64 koji instance?

Comment 2 Peter Robinson 2016-05-09 15:42:07 UTC
> What is the magic RPM I need to provide aarch64-koji so that I can fire off
> a scratch build to the aarch64 koji instance?

If you have a checkout of the package you can do "arm-koji build --scratch f24 `fedpkg giturl`" or you can grab the latest src.rpm from mainline and do "arm-koji build --scratch f24 .src.rpm"

The issue is with the same NVR from mainline

Comment 3 Jeff Law 2016-05-09 15:48:01 UTC
You're missing the point.  I don't have program named "arm-koji" or "aarch64-koji" on my F24 system.

law@localhost memstomp]$ arm-koji
bash: arm-koji: command not found
[law@localhost memstomp]$ aarch64-koji
bash: aarch64-koji: command not found
[law@localhost memstomp]$ rpm -qa | grep koji
koji-1.10.1-4.fc24.noarch


What package provides arm-koji and/or aarch64-koji?

Comment 4 Peter Robinson 2016-05-09 16:08:16 UTC
(In reply to Jeff Law from comment #3)
> You're missing the point.  I don't have program named "arm-koji" or
> "aarch64-koji" on my F24 system.

It's part of the fedora-packager package.

Comment 5 Jeff Law 2016-05-09 23:40:32 UTC
Thanks.  I know I had those installed in the past, but I wiped my system a while back and couldn't figure out what I needed to re-install.

Anyway, the testsuite failure should be fixed in the -20 build.

Comment 6 Fedora Update System 2016-05-15 21:28:42 UTC
memstomp-0.1.4-20.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9eb051229d

Comment 7 Fedora Update System 2016-05-16 23:56:39 UTC
memstomp-0.1.4-20.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9eb051229d

Comment 8 Fedora Update System 2016-05-23 20:06:29 UTC
memstomp-0.1.4-20.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.