Bug#805249: pyparted: FTBFS: PartedException: Unknown disk flag, 1000.

2015-11-19 Thread hpfn
Hi Chris,

I will do upload with a override_dh_auto_test
to stop the tests. The package builds that
way.

It is not a properly fix. If you have comments,
please let me know.


regards,
-- 
Herbert Parentes Fortes Neto (hpfn)



Bug#805249: pyparted: FTBFS: PartedException: Unknown disk flag, 1000.

2015-11-17 Thread hpfn
In my case.

Maybe because I am in a chroot the tests fail?


regards,
-- 
Herbert Parentes Fortes Neto (hpfn)



Bug#805249: pyparted: FTBFS: PartedException: Unknown disk flag, 1000.

2015-11-17 Thread hpfn
The builds on buildd.debian.org doesn't run
tests:

I: pybuild base:170: cd /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build; python2.7 
-m unittest discover -v 

--
Ran 0 tests in 0.000s


regards,
-- 
Herbert Parentes Fortes Neto (hpfn)



Bug#805249: pyparted: FTBFS: PartedException: Unknown disk flag, 1000.

2015-11-17 Thread hpfn
I'm checking the python3.5

On 2015-09-27 there is a good build:
https://buildd.debian.org/status/fetch.php?pkg=pyparted&arch=amd64&ver=3.10.7-1%2Bb1&stamp=1443335757

And here says that one time was ok
https://release.debian.org/transitions/html/python3.5.html

regards,
-- 
Herbert Parentes Fortes Neto (hpfn)



Bug#805249: pyparted: FTBFS: PartedException: Unknown disk flag, 1000.

2015-11-17 Thread hpfn
Hi,

> 
> I re-test things on my local builder before reporting them, so I've
> definitely been able to reproduce this failure.  My builder is much
> more normal than jenkins: it uses apt to resolve packages, and things
> like that.
> 
> If you don't have any ideas then I can run the build a few more times
> and see if I can catch what's up.

I tried to build with two patch, to put 'import parted'
in tests/test__ped_ped.py and tests/test__ped_disk.py
files, but didn't work.

# grep ERROR ../pyparted_3.10.7-1_amd64.build 
runTest (tests.test__ped_ped.DiskFlagGetNameTestCase) ... ERROR
runTest (tests.test__ped_ped.PartitionFlagGetNameTestCase) ... ERROR
ERROR
ERROR: runTest (tests.test__ped_ped.DiskFlagGetNameTestCase)
ERROR: runTest (tests.test__ped_ped.PartitionFlagGetNameTestCase)
ERROR: runTest (tests.test__ped_disk.DiskNewLabeledTestCase)

Do you have python skills ?


regards,
-- 
Herbert Parentes Fortes Neto (hpfn)



Bug#805249: pyparted: FTBFS: PartedException: Unknown disk flag, 1000.

2015-11-16 Thread solo-debianbugs
Hmm.

I re-test things on my local builder before reporting them, so I've
definitely been able to reproduce this failure.  My builder is much
more normal than jenkins: it uses apt to resolve packages, and things
like that.

If you don't have any ideas then I can run the build a few more times
and see if I can catch what's up.



Bug#805249: pyparted: FTBFS: PartedException: Unknown disk flag, 1000.

2015-11-16 Thread hpfn
Hi Chris,

The version 3.10.7-1 of pyparted has:

- 7 'reproducible' builds ( 2 sid and 5 testing )
- 1 'depwait' build ( sid )
- 2 'FTBFS' builds ( sid )

Something happened, but 7 'reproducible' builds
says that the package is ok.

And this line sounds strange:
runTest (tests.test__ped_disk.DiskNewLabeledTestCase) ... sh: 1: parted: not 
found
ERRORparted

Other tests are ok.


regards,
-- 
Herbert Parentes Fortes Neto (hpfn)



Bug#805249: pyparted: FTBFS: PartedException: Unknown disk flag, 1000.

2015-11-15 Thread Chris West (Faux)
Source: pyparted
Version: 3.10.7-1
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

The package fails to build:


==
ERROR: runTest (tests.test__ped_ped.DiskFlagGetNameTestCase)
--
Traceback (most recent call last):
  File "tests/test__ped_ped.py", line 85, in runTest
self.assertRaises(ValueError, _ped.disk_flag_get_name, 1000)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
callableObj(*args, **kwargs)
PartedException: Unknown disk flag, 1000.

==
ERROR: runTest (tests.test__ped_ped.PartitionFlagGetNameTestCase)
--
Traceback (most recent call last):
  File "tests/test__ped_ped.py", line 51, in runTest
self.assertRaises(ValueError, _ped.partition_flag_get_name, 1000)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
callableObj(*args, **kwargs)
PartedException: Unknown partition flag, 1000.

==
ERROR: runTest (tests.test__ped_disk.DiskNewLabeledTestCase)
--
Traceback (most recent call last):
  File "tests/test__ped_disk.py", line 36, in runTest
result = _ped.Disk(self._device)
DiskLabelException: /tmp/temp-device-RjgUz1: unrecognised disk label

==
FAIL: runTest (tests.test__ped_ped.DeviceGetNextTestCase)
--
Traceback (most recent call last):
  File "tests/test__ped_ped.py", line 210, in runTest
self.assertGreater(len(lst), 0)
AssertionError: 0 not greater than 0

--
Ran 272 tests in 2.772s

FAILED (failures=1, errors=3, skipped=123)
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd 
/pyparted-3.10.7/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover 
-v 
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit 
code 13

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/pyparted.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)