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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195515

            Bug ID: 195515
           Summary: [arm] lang/python unstable and fails its own test
                    suite
           Product: Ports Tree
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: sbruno@FreeBSD.org
                CC: sson@freebsd.org
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

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

The "make test" target in python27 fails for arm on emulated and real hardware.

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-static" \
--magic
"\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00"
\
--mask 
"\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"
\
--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 hangs,
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 have
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

-- 
You are receiving this mail because:
You are the assignee for the bug.



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