Dan Kenigsberg has uploaded a new change for review.

Change subject: tests: declate alignmentScanTests as broken
......................................................................

tests: declate alignmentScanTests as broken

More often then not,

    alignmentScanTests.AlignmentScanTests.test_aligned_image
    alignmentScanTests.AlignmentScanTests.test_unaligned_image

fail on our Jenkins slaves with the message

    libguestfs: error: could not connect to libvirt (URI = NULL): Failed to 
connect socket to '/run/user/1001/libvirt/libvirt-sock': Permission denied 
[code=38 domain=7]

Mark them as broken until we understand the issue better.

Change-Id: Ic64c0c5a19c5b207ef6c00fcbb247ac39d975a88
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M tests/alignmentScanTests.py
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/71/21871/1

diff --git a/tests/alignmentScanTests.py b/tests/alignmentScanTests.py
index 8208b19..599f1b4 100644
--- a/tests/alignmentScanTests.py
+++ b/tests/alignmentScanTests.py
@@ -24,7 +24,7 @@
 from nose.tools import eq_, raises
 from nose.plugins.skip import SkipTest
 from testrunner import VdsmTestCase as TestCaseBase
-from testValidation import slowtest
+from testValidation import brokentest, slowtest
 from storage.misc import execCmd
 from alignmentScan import runScanArgs, scanImage, VirtAlignError
 
@@ -57,6 +57,7 @@
         scanImage("nonexistent-image-name")
 
     @slowtest
+    @brokentest("libguestfs occasionally fails to open libvirt-sock")
     def test_nonaligned_image(self):
         validate_virtalignscan_installed()
         with tempfile.NamedTemporaryFile() as img:
@@ -67,6 +68,7 @@
             eq_(msg[0][4], 'bad (alignment < 4K)')
 
     @slowtest
+    @brokentest("libguestfs occasionally fails to open libvirt-sock")
     def test_aligned_image(self):
         validate_virtalignscan_installed()
         with tempfile.NamedTemporaryFile() as img:


-- 
To view, visit http://gerrit.ovirt.org/21871
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic64c0c5a19c5b207ef6c00fcbb247ac39d975a88
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to