Bug 1280460 - Error running new populator_test
Summary: Error running new populator_test
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Blivet Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-11 19:24 UTC by Chris Lumens
Modified: 2016-07-27 17:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 17:54:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Lumens 2015-11-11 19:24:59 UTC
Running the new populator_test in jenkins with "make coverage", I hit the following every time:

======================================================================
ERROR: runTest (populator_test.setupDiskImagesNonZeroSizeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/gi/overrides/BlockDev.py", line 395, in wrapped
    ret = orig_obj(*args, **kwargs)
GLib.Error: g-bd-utils-exec-error-quark: Process reported exit code 256: losetup: /tmp/blivet.2of25cnj-disk1: failed to set up loop device: Permission denied
 (0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jenkins/workspace/blivet-x86_64/tests/populator_test.py", line 32, in setUp
    self.blivet.setupDiskImages()
  File "/home/jenkins/workspace/blivet-x86_64/blivet/blivet.py", line 1329, in setupDiskImages
    self.devicetree.setupDiskImages()
  File "/home/jenkins/workspace/blivet-x86_64/blivet/devicetree.py", line 531, in setupDiskImages
    self._populator.setupDiskImages()
  File "/home/jenkins/workspace/blivet-x86_64/blivet/populator.py", line 1529, in setupDiskImages
    loopdev.setup()
  File "/home/jenkins/workspace/blivet-x86_64/blivet/devices/storage.py", line 386, in setup
    self._setup(orig=orig)
  File "/home/jenkins/workspace/blivet-x86_64/blivet/devices/loop.py", line 107, in _setup
    blockdev.loop.setup(self.slave.path)
  File "/usr/lib64/python3.4/site-packages/gi/overrides/BlockDev.py", line 416, in wrapped
    raise transform[1](msg)
gi.overrides.BlockDev.LoopError: Process reported exit code 256: losetup: /tmp/blivet.2of25cnj-disk1: failed to set up loop device: Permission denied

Comment 1 Jan Kurik 2016-02-24 13:56:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 2 David Lehman 2016-07-27 17:54:55 UTC
If this is not actually fixed please reopen it.


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