Bug 1251975 - [Debian] cpopen fails unit testing on testUmaskChange
Summary: [Debian] cpopen fails unit testing on testUmaskChange
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-distribution
Classification: oVirt
Component: python-cpopen
Version: python-cpopen-1.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Milan Zamazal
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks: 1163069
TreeView+ depends on / blocked
 
Reported: 2015-08-10 12:42 UTC by Sandro Bonazzola
Modified: 2022-05-06 15:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-27 07:27:59 UTC
oVirt Team: External
Embargoed:
sbonazzo: ovirt-4.3-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-45976 0 None None None 2022-05-06 15:18:58 UTC

Description Sandro Bonazzola 2015-08-10 12:42:06 UTC
======================================================================
ERROR: testUmaskChange (tests.TestCPopen)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sbonazzo/cpopen/tests/tests.py", line 188, in testUmaskChange
    p = CPopen(['umask'], childUmask=0o007)
  File "../build/lib.linux-x86_64-2.7/cpopen/__init__.py", line 52, in __init__
    stderr=stderr)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "../build/lib.linux-x86_64-2.7/cpopen/__init__.py", line 69, in _execute_child_v276
    errread, errwrite,
  File "../build/lib.linux-x86_64-2.7/cpopen/__init__.py", line 89, in _execute_child_v275
    self._childUmask,
OSError: [Errno 2] No such file or directory

----------------------------------------------------------------------

Comment 1 Red Hat Bugzilla Rules Engine 2015-10-19 10:54:49 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Red Hat Bugzilla Rules Engine 2015-10-26 10:30:44 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Yaniv Lavi 2015-10-29 12:28:17 UTC
In oVirt testing is done on single release by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone.

Comment 4 Yaniv Bronhaim 2015-11-04 16:20:07 UTC
can be that umask does not exist in your env? should be /usr/bin/umask .. Simone can you check it please? its part of the basic bash package

Comment 5 Sandro Bonazzola 2015-11-25 17:50:01 UTC
umask is not a program in debian, it's a bash builtin. note that also in fedora /usr/bin/umask is just:

$ cat /usr/bin/umask 
#!/bin/sh
builtin umask "$@"

please use something like true ( /bin/true in debian, /usr/bin/true in fedora )

Comment 6 Sandro Bonazzola 2016-03-11 08:22:29 UTC
Moving to Milan since he's porting vdsm to Debian

Comment 7 Sandro Bonazzola 2016-05-02 10:02:07 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 8 Yaniv Lavi 2016-05-23 13:17:42 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 9 Yaniv Lavi 2016-05-23 13:21:40 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 10 Milan Zamazal 2018-03-21 16:35:48 UTC
I don't think anybody cares about using Debian hosts anymore and I've abandoned my Debian work for that reason long time ago. So I suggest closing this bug as WONTFIX.


Note You need to log in before you can comment on or make changes to this bug.