[From nobody Thu Nov 28 11:22:16 2013 From: openlmiproject@gmail.com Precedence: list MIME-Version: 1.0 To: openlmi-reviews@lists.fedorahosted.org Date: Wed, 27 Nov 2013 15:38:02 +0100 Reply-To: openlmi-reviews@lists.fedorahosted.org Message-ID: <529603cc.4167b40a.329b.ffff95fc@mx.google.com> Content-Type: multipart/mixed; boundary="===============5649714467970611713==" Subject: buildbot failure in OpenLMI on networking-rhel7 Message: 29 --===============5649714467970611713== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The Buildbot has detected a failed build on builder networking-rhel7 while building OpenLMI. Full details are available at: http://openlmi-rnovacek.rhcloud.com/builders/networking-rhel7/builds/126 Buildbot URL: http://openlmi-rnovacek.rhcloud.com/ Buildslave for this Build: rhel7-slave Build Reason: 'try' job Build Source Stamp: [branch master] d2e1900dd4996ec8482306e76efd32c7020dd098 (plus patch) Blamelist: BUILD FAILED: failed tests sincerely, -The Buildbot --===============5649714467970611713== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="source patch 0" diff --git a/test/test_bonding.py b/test/test_bonding.py index 2de8833..385d5de 100644 --- a/test/test_bonding.py +++ b/test/test_bonding.py @@ -124,7 +124,10 @@ class TestBonding(TestBase): SettingData=settingData.path, IPNetworkConnection=networkConnection.path, Mode=pywbem.Uint16(32768)) self.assertIn(rc[0], [0, 4096]) if rc[0] == 4096: # Job started - job = self.wait_for_job(rc[1]["Job"]) + # Wait for job completed indication + job = { "JobState": 4 } + while job["JobState"] == 4: + job = self.wait_for_job(rc[1]["Job"]) self.assertEqual(job["JobState"], 7) # Completed # Deactivate connection @@ -133,7 +136,10 @@ class TestBonding(TestBase): SettingData=settingData.path, IPNetworkConnection=networkConnection.path, Mode=pywbem.Uint16(32769)) self.assertIn(rc[0], [0, 4096]) if rc[0] == 4096: # Job started - job = self.wait_for_job(rc[1]["Job"]) + # Wait for job completed indication + job = { "JobState": 4 } + while job["JobState"] == 4: + job = self.wait_for_job(rc[1]["Job"]) self.assertEqual(job["JobState"], 7) # Completed # Activate connection using SlaveSettingData @@ -142,7 +148,10 @@ class TestBonding(TestBase): SettingData=slaveSettingData[networkConnection], IPNetworkConnection=networkConnection.path, Mode=pywbem.Uint16(32768)) self.assertIn(rc[0], [0, 4096]) if rc[0] == 4096: # Job started - job = self.wait_for_job(rc[1]["Job"]) + # Wait for job completed indication + job = { "JobState": 4 } + while job["JobState"] == 4: + job = self.wait_for_job(rc[1]["Job"]) self.assertEqual(job["JobState"], 7) # Completed # Check presence of master port diff --git a/test/test_bridging.py b/test/test_bridging.py index 0f78059..92bdf96 100644 --- a/test/test_bridging.py +++ b/test/test_bridging.py @@ -127,7 +127,11 @@ class TestBriding(TestBase): SettingData=settingData.path, IPNetworkConnection=networkConnection.path, Mode=pywbem.Uint16(32768)) self.assertIn(rc[0], [0, 4096]) if rc[0] == 4096: # Job started - job = self.wait_for_job(rc[1]["Job"]) + # Wait for job completed indication + job = { "JobState": 4 } + while job["JobState"] == 4: + job = self.wait_for_job(rc[1]["Job"]) + self.assertEqual(job["JobState"], 7) # Completed # Deactivate connection @@ -136,7 +140,10 @@ class TestBriding(TestBase): SettingData=settingData.path, IPNetworkConnection=networkConnection.path, Mode=pywbem.Uint16(32769)) self.assertIn(rc[0], [0, 4096]) if rc[0] == 4096: # Job started - job = self.wait_for_job(rc[1]["Job"]) + # Wait for job completed indication + job = { "JobState": 4 } + while job["JobState"] == 4: + job = self.wait_for_job(rc[1]["Job"]) self.assertEqual(job["JobState"], 7) # Completed # Activate connection using SlaveSettingData @@ -145,7 +152,10 @@ class TestBriding(TestBase): SettingData=slaveSettingDataList[networkConnection], IPNetworkConnection=networkConnection.path, Mode=pywbem.Uint16(32768)) self.assertIn(rc[0], [0, 4096]) if rc[0] == 4096: # Job started - job = self.wait_for_job(rc[1]["Job"]) + # Wait for job completed indication + job = { "JobState": 4 } + while job["JobState"] == 4: + job = self.wait_for_job(rc[1]["Job"]) self.assertEqual(job["JobState"], 7) # Completed # Check presence of SwitchService --===============5649714467970611713==-- ]