Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2014 00:52:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 195515] [arm] lang/python unstable and fails its own test suite
Message-ID:  <bug-195515-21822-ATgYwp2TNE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195515-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195515-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean Bruno <sbruno@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to python@FreeBSD.=
org:
Bug 195515: [arm] lang/python unstable and fails its own test suite
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195515



--- Description ---
Created attachment 150014
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D150014&action=
=3Dedit
make test output from python27

The "make test" target in python27 fails for arm on emulated and real hardw=
are.

test scenario:

Install emulators/qemu-user-static and ports-mgmt/poudriere-devel

Use the binmisc activator to setup redirection to qemu-bsd-user:
/usr/sbin/binmiscctl add armv6 --interpreter "/usr/local/bin/qemu-arm-stati=
c" \
--magic
"\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x=
28\x
00"
\
--mask=20
"\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\x=
ff\x
ff"
\
--size 20 --set-enabled

use poudriere devel 3.1 to create a test jail and ports tree:
  poudriere jail -c -j 11-armv6 -m svn -v head -a arm.armv6 -x
  poudriere ports -c -p 11-armv6-test

Mount devfs and the ports tree into the jail:
  mkdir -p /usr/local/poudriere/jails/11-armv6/usr/ports
  mount -t nullfs /usr/local/poudriere/ports/11-armv6-test
/usr/local/poudriere/jails/11-armv6/usr/ports
  mount -t devfs devfs usr/local/poudriere/jails/11-armv6/dev


Chroot into jail and start build of python27:
 chroot /usr/local/poudriere/jail/11-armv6/
 cd /usr/ports/lang/python27
 make -DBATCH

This should take about 20 minutes with emulation.  If the build fails or ha=
ngs,
it can be cancelled.

Run regression tests:
cd work/Python-2.7.8
make test

This should yield the same results as one would find on real hardware.	I ha=
ve
attached the output of my test run for your examination.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer python@FreeBSD.org=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195515-21822-ATgYwp2TNE>