Bug#878633: python-pgpy FTBFS with more than one supported Python3 version

2018-01-17 Thread Michael Greene
I haven't tried this in the rules file myself, but these commands
should work:
# python 3  LC_ALL=C.UTF-8 py.test-3 tests/
# python 2LC_ALL=C.UTF-8 py.test tests/
On Fri, 2018-01-12 at 14:18 -0500, Daniel Kahn Gillmor wrote:
> On Sun 2017-10-15 13:50:56 +0300, Adrian Bunk wrote:
> > ...
> >debian/rules override_dh_auto_test
> > make[1]: Entering directory '/build/1st/python-pgpy-0.4.3'
> > LC_ALL=C.UTF-8 dh_auto_test -O--buildsystem=pybuild
> > I: pybuild base:184: cd /build/1st/python-pgpy-
> > 0.4.3/.pybuild/pythonX.Y_3.5/build; python3.5 -m pytest tests
> > Traceback (most recent call last):
> >   File "/usr/lib/python3/dist-packages/_pytest/config.py", line
> > 342, in _getconftestmodules
> > return self._path2confmods[path]
> > KeyError: local('/build/1st/python-pgpy-
> > 0.4.3/.pybuild/pythonX.Y_3.5/build/tests')
> > 
> > During handling of the above exception, another exception occurred:
> > Traceback (most recent call last):
> >   File "/usr/lib/python3/dist-packages/_pytest/config.py", line
> > 373, in _importconftest
> > return self._conftestpath2mod[conftestpath]
> > KeyError: local('/build/1st/python-pgpy-
> > 0.4.3/.pybuild/pythonX.Y_3.5/build/tests/conftest.py')
> > 
> > During handling of the above exception, another exception occurred:
> > Traceback (most recent call last):
> >   File "/usr/lib/python3/dist-packages/gpg/gpgme.py", line 14, in
> > swig_import_helper
> > return importlib.import_module(mname)
> >   File "/usr/lib/python3.5/importlib/__init__.py", line 126, in
> > import_module
> > return _bootstrap._gcd_import(name[level:], package, level)
> >   File "", line 985, in _gcd_import
> >   File "", line 968, in _find_and_load
> >   File "", line 955, in
> > _find_and_load_unlocked
> > ImportError: No module named 'gpg._gpgme'
> > 
> > During handling of the above exception, another exception occurred:
> > Traceback (most recent call last):
> >   File "/usr/lib/python3/dist-packages/_pytest/config.py", line
> > 379, in _importconftest
> > mod = conftestpath.pyimport()
> >   File "/usr/lib/python3/dist-packages/py/_path/local.py", line
> > 662, in pyimport
> > __import__(modname)
> >   File "/usr/lib/python3/dist-
> > packages/_pytest/assertion/rewrite.py", line 212, in load_module
> > py.builtin.exec_(co, mod.__dict__)
> >   File "/build/1st/python-pgpy-
> > 0.4.3/.pybuild/pythonX.Y_3.5/build/tests/conftest.py", line 5, in
> > 
> > import gpg
> >   File "/usr/lib/python3/dist-packages/gpg/__init__.py", line 101,
> > in 
> > from . import core
> >   File "/usr/lib/python3/dist-packages/gpg/core.py", line 34, in
> > 
> > from . import gpgme
> >   File "/usr/lib/python3/dist-packages/gpg/gpgme.py", line 17, in
> > 
> > _gpgme = swig_import_helper()
> >   File "/usr/lib/python3/dist-packages/gpg/gpgme.py", line 16, in
> > swig_import_helper
> > return importlib.import_module('_gpgme')
> >   File "/usr/lib/python3.5/importlib/__init__.py", line 126, in
> > import_module
> > return _bootstrap._gcd_import(name[level:], package, level)
> > ImportError: No module named '_gpgme'
> > ERROR: could not load /build/1st/python-pgpy-
> > 0.4.3/.pybuild/pythonX.Y_3.5/build/tests/conftest.py
> > 
> > E: pybuild pybuild:283: test: plugin distutils failed with: exit
> > code=4: cd /build/1st/python-pgpy-
> > 0.4.3/.pybuild/pythonX.Y_3.5/build; python3.5 -m pytest tests
> > dh_auto_test: pybuild --test --test-pytest -i python{version} -p
> > "3.5 3.6" returned exit code 13
> > debian/rules:13: recipe for target 'override_dh_auto_test' failed
> > make[1]: *** [override_dh_auto_test] Error 25
> > 
> > Either #866555 needs fixing or as workaround the tests
> > should run only with the default python3 version.
> 
> this does indeed seem to be related to #866555, which doesn't seem
> like
> it will be fixed upstream, and i don't want to carry a diff for.  so
> i
> suppose we should limit python-pgpy  to only run the tests against
> the
> default python3 version.  If there's a canonical way to do that, i'd
> be
> happy to see the pointers to it, otherwise i'll just blunder along
> and
> see what i can figure out.
> 
> --dkg

-- 
Michael Greene
Software Engineer
mgre...@securityinnovation.com

signature.asc
Description: This is a digitally signed message part


Bug#545101: linux-image-2.6.26-2-orion5x: MV2120 hangs with heavy JFS disk use

2009-09-21 Thread Michael Greene
On Mon, Sep 21, 2009 at 5:59 AM, Martin Michlmayr t...@cyrius.com wrote:
 * Michael Greene mike...@gmail.com [2009-09-20 19:25]:
 I just finished a lot of copying yesterday without trouble.  I will
 have to say that 2.6.31 fix all my problems.

 Ok, great.  I don't know many people using JFS on ARM, so I don't
 think it's worth the event to see how this was fixed and whether it
 can be backported into lenny's 2.6.26.  I therefore suggest to close
 this bug as fixed in 2.6.31.  Is that ok with you?
 --
 Martin Michlmayr
 http://www.cyrius.com/


Sounds good to me.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#545101: linux-image-2.6.26-2-orion5x: MV2120 hangs with heavy JFS disk use

2009-09-20 Thread Michael Greene
On Sat, Sep 19, 2009 at 1:20 PM, Martin Michlmayr t...@cyrius.com wrote:
 Michael,

 Is 2.6.31 working better or did you get the kernel oops again?

 --
 Martin Michlmayr
 http://www.cyrius.com/


Martin,

I just finished a lot of copying yesterday without trouble.  I will
have to say that 2.6.31 fix all my problems.

Mike



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#545101: linux-image-2.6.26-2-orion5x: MV2120 hangs with heavy JFS disk use

2009-09-14 Thread Michael Greene
On Sun, Sep 13, 2009 at 2:05 PM, Martin Michlmayr t...@cyrius.com wrote:
 * Michael Greene mike...@gmail.com [2009-09-04 18:35]:
 I am using lenny on a HP MV2120. When transfering a number of files to
 a share and using ssh login the heavy disk
 activity seemed to hang the system.  I had to remove power to recover.
 I use LVM/JFS on all partitions except /boot
 which is ext2.

 Can you please check if this still happens with 2.6.31?  If so, I'll
 forward your bug report to the JFS developers.

 You can install 2.6.31 this way:

 wget 
 http://people.debian.org/~tbm/armel/kernel/r14219/linux-image-2.6.31-trunk-orion5x_2.6.31-1~experimental.1_armel.deb
 dpkg -i linux-image-2.6.31-trunk-orion5x_2.6.31-1~experimental.1_armel.deb

 --
 Martin Michlmayr
 http://www.cyrius.com/


Is there a way to recover from this new kernel? I followed the
instructions and the NAS does not boot and connect to the network.

Mike



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#545101: linux-image-2.6.26-2-orion5x: MV2120 hangs with heavy JFS disk use

2009-09-14 Thread Michael Greene
On Mon, Sep 14, 2009 at 6:29 AM, Martin Michlmayr t...@cyrius.com wrote:
 * Michael Greene mike...@gmail.com [2009-09-14 05:37]:
 Is there a way to recover from this new kernel? I followed the
 instructions and the NAS does not boot and connect to the network.

 Strange.  I tested the kernel on my mv2120 yesterday and it worked
 fine.

 What's the name of your root device?  I'll try to generate a rescue
 image for you.
 --
 Martin Michlmayr
 http://www.cyrius.com/


Disregard my last report.  I booted with the netboot.img to check the
logs and found:

[   52.641232] ERROR: (device dm-0): XT_GETPAGE: xtree page corrupt

I ran a forced fsck and rebooted the NAS and it seems to be up and
running. I will run this for awhile and see how things work out.
Thanks for the help.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#545101: linux-image-2.6.26-2-orion5x: MV2120 hangs with heavy JFS disk use

2009-09-04 Thread Michael Greene
Package: linux-image-2.6.26-2-orion5x
Version: 2.6.26-17lenny2
Severity: important


I am using lenny on a HP MV2120. When transfering a number of files to
a share and using ssh login the heavy disk
activity seemed to hang the system.  I had to remove power to recover.
 I use LVM/JFS on all partitions except /boot
which is ext2.


Sep  4 15:19:35 homenas  kernel: [43067172.97] BUG at
fs/jfs/jfs_txnmgr.c:939 assert(mp-nohomeok  0)
Sep  4 15:19:35 homenas  kernel: [43067172.98] kernel BUG at
fs/jfs/jfs_txnmgr.c:939!
Sep  4 15:19:35 homenas  kernel: [43067172.98] Unable to handle
kernel NULL pointer dereference at virtual address

Sep  4 15:19:35 homenas  kernel: [43067172.99] pgd = c0004000
Sep  4 15:19:35 homenas  kernel: [43067172.99] [] *pgd=
Sep  4 15:19:35 homenas  kernel: [43067173.00] Internal error:
Oops: 817 [#1]
Sep  4 15:19:35 homenas  kernel: [43067173.00] Modules linked in:
nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs
ipv6 ext2 mbcache loop evdev ehci_hcd usbcore gpio_keys mv643xx_eth
mii jfs nls_base dm_mirror dm_log dm_snapshot
dm_mod sd_mod sata_mv libata scsi_mod
Sep  4 15:19:35 homenas  kernel: [43067173.00] CPU: 0Not
tainted  (2.6.26-2-orion5x #1)
Sep  4 15:19:35 homenas  kernel: [43067173.00] PC is at __bug+0x20/0x2c
Sep  4 15:19:35 homenas  kernel: [43067173.00] LR is at 0xc02ad45c
Sep  4 15:19:35 homenas  kernel: [43067173.00] pc : [c0029b14]
 lr : [c02ad45c]psr: 6013
Sep  4 15:19:35 homenas  kernel: [43067173.00] sp : c7325f68  ip :
c02ad45c  fp : c7325f74
Sep  4 15:19:35 homenas  kernel: [43067173.00] r10:   r9 :
  r8 : c7c300a0
Sep  4 15:19:35 homenas  kernel: [43067173.00] r7 : 028e  r6 :
c88be380  r5 : c889ffd4  r4 : c1b6d138
Sep  4 15:19:35 homenas  kernel: [43067173.00] r3 :   r2 :
6013  r1 : 0001  r0 : 003c
Sep  4 15:19:35 homenas  kernel: [43067173.00] Flags: nZCv  IRQs
on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Sep  4 15:19:35 homenas  kernel: [43067173.00] Control: a005317f
Table: 04618000  DAC: 0017
Sep  4 15:19:35 homenas  kernel: [43067173.00] Process jfsCommit
(pid: 660, stack limit = 0xc7324268)
Sep  4 15:19:35 homenas  kernel: [43067173.00] Stack: (0xc7325f68
to 0xc7326000)
Sep  4 15:19:35 homenas  kernel: [43067173.00] 5f60:
c7325f9c c7325f78 bf099268 c0029b04
c889ffd4 6013
Sep  4 15:19:35 homenas  kernel: [43067173.00] 5f80: c7c30160
c7324000   c7325fd4 c7325fa0
bf09bbec bf09913c
Sep  4 15:19:35 homenas  kernel: [43067173.00] 5fa0: c0056ed8
 c7754880 c003d678 00100100 00200200
c7324000 
Sep  4 15:19:35 homenas  kernel: [43067173.00] 5fc0: bf09bae4
 c7325ff4 c7325fd8 c0056ef8 bf09baf4
 
Sep  4 15:19:35 homenas  kernel: [43067173.00] 5fe0: 
  c7325ff8 c0046388 c0056eac
 
Sep  4 15:19:35 homenas  kernel: [43067173.00] Backtrace:
Sep  4 15:19:35 homenas  kernel: [43067173.00] [c0029af4]
(__bug+0x0/0x2c) from [bf099268]
(txUnlock+0x13c/0x204 [jfs])
Sep  4 15:19:35 homenas  kernel: [43067173.00] [bf09912c]
(txUnlock+0x0/0x204 [jfs]) from [bf09bbec]
(jfs_lazycommit+0x108/0x23c [jfs])
Sep  4 15:19:35 homenas  kernel: [43067173.00] [bf09bae4]
(jfs_lazycommit+0x0/0x23c [jfs]) from [c0056ef8]
(kthread+0x5c/0x94)
Sep  4 15:19:35 homenas  kernel: [43067173.00]  r7:
r6:bf09bae4 r5: r4:c7324000
Sep  4 15:19:35 homenas  kernel: [43067173.00] [c0056e9c]
(kthread+0x0/0x94) from [c0046388]
(do_exit+0x0/0x690)
Sep  4 15:19:35 homenas  kernel: [43067173.00]  r6:
r5: r4:
Sep  4 15:19:35 homenas  kernel: [43067173.00] Code: e1a01000
e59f000c eb0068fd e3a03000 (e5833000)
Sep  4 15:19:35 homenas  kernel: [43067173.19] ---[ end trace
41f43722f8462e12 ]---

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.26-2-orion5x
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.26-2-orion5x depends on:
ii  debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii  initramfs-tools [linux-initra 0.92o  tools for generating an initramfs
ii  module-init-tools 3.4-1  tools for managing Linux kernel mo

Versions of packages linux-image-2.6.26-2-orion5x recommends:
ii  uboot-mkimage 0.4generate kernel image for U-Boot

Versions of packages linux-image-2.6.26-2-orion5x suggests:
pn  fdutils   none (no description available)
pn  linux-doc-2.6.26  none (no description available)

-- debconf information:
  linux-image-2.6.26-2-orion5x/postinst/create-kimage-link-2.6.26-2-orion5x:
true
  linux-image-2.6.26-2-orion5x/postinst/bootloader-test-error-2.6.26-2-orion5x: