[issue19804] test_uuid.TestUUID.test_find_mac() fails

2014-01-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2014-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 34ae4333d3bf by Serhiy Storchaka in branch '2.7': Issue #19804: The test_find_mac test in test_uuid is now skipped if the http://hg.python.org/cpython/rev/34ae4333d3bf New changeset 201077b57fe0 by Serhiy Storchaka in branch '3.3': Issue #19804: The

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2014-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Bohuslav. Unfortunately I don't see good replacement for ifconfig, any of these executables can be absent (e.g. chroot can be built in BusyBox). So I'll left ifconfig and adds checks for its accessibility. You can workaround this issue by adding an

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2014-01-10 Thread Bohuslav "Slavek" Kabrda
Bohuslav "Slavek" Kabrda added the comment: Attaching a list of files in /usr/sbin in Fedora's minimal buildroot. (Note, that in Fedora /sbin is a symlink to /usr/sbin.) FWIW I can workaround this issue by adding net-tools to BuildRequires, so this is no big pain for me. -- Added file:

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2014-01-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps it would be better just use other executable (it is not ran in this test, just checked that it exists). Bohuslav, what is a content of your /sbin and /usr/sbin? -- ___ Python tracker

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2014-01-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- resolution: fixed -> stage: committed/rejected -> status: closed -> open ___ Python tracker ___

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2014-01-08 Thread Bohuslav "Slavek" Kabrda
Bohuslav "Slavek" Kabrda added the comment: When building for Fedora, we usually use minimal buildroot, that doesn't have net-tools (e.g. ifconfig and others) installed, so this test fails for us. It'd probably be best to skip this based on whether ifconfig binary can be found or not. ---

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2013-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: When someone will report about failures on such systems. -- ___ Python tracker ___ ___ Python-bugs

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2013-12-01 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: The test currently uses: @unittest.skipUnless(os.name == 'posix', 'requires Posix') Maybe this test should be skipped also on posix systems with ifconfig not available at all? -- ___ Python trac

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2013-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is different issue. See issue19855. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2013-12-01 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: This test passes (on all branches) after adding "/bin" to hardcoded list in uuid._find_mac(). Minimal solution: Add "/bin" and "/usr/bin" to that list. Better solution: Search ${PATH}+['/sbin/', '/usr/sbin'] for "ifconfig". In >=3.2 os.get

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2013-12-01 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: /bin/ifconfig (/bin is in ${PATH}.) -- ___ Python tracker ___ ___ Python-bugs-l

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2013-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Where ifconfig is located? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2013-11-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I see the same failure of this test on my system (Gentoo Linux, amd64, ifconfig available) on all branches (2.7, 3.3, default). -- nosy: +Arfrever resolution: fixed -> stage: committed/rejected -> status: closed -> open title: tes