Bug 1321326

Summary: ioprocess throws an exception: AttributeError: 'NoneType' object has no attribute 'close'
Product: [oVirt] ovirt-distribution Reporter: Sandro Bonazzola <sbonazzo>
Component: ioprocessAssignee: Idan Shaby <ishaby>
ioprocess sub component: General QA Contact: Aharon Canan <acanan>
Status: CLOSED INSUFFICIENT_DATA Docs Contact:
Severity: low    
Priority: unspecified CC: acanan, amureini, bugs, sbonazzo, tnisan
Version: ioprocess-0.15.0Keywords: Automation
Target Milestone: ovirt-4.0.0-rcFlags: tnisan: ovirt-4.0.0?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-08 09:08:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
logs none

Description Sandro Bonazzola 2016-03-25 13:44:57 UTC
Created attachment 1140314 [details]
logs

A test failed in jenkins at http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc23-x86_64/4389/console , attaching the logs.

After test section completed, ioprocess throws an exception:

00:07:16.770 Exception in thread ioprocess communication (4069):
00:07:16.770 Traceback (most recent call last):
00:07:16.770   File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner
00:07:16.770     self.run()
00:07:16.771   File "/usr/lib64/python2.7/threading.py", line 766, in run
00:07:16.771     self.__target(*self.__args, **self.__kwargs)
00:07:16.771   File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 180, in _communicate
00:07:16.771     os.close(readPipe)
00:07:16.771 AttributeError: 'NoneType' object has no attribute 'close'
00:07:16.771 
00:07:16.771 Exception in thread ioprocess communication (4096):
00:07:16.771 Traceback (most recent call last):
00:07:16.772   File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner
00:07:16.772     self.run()
00:07:16.772   File "/usr/lib64/python2.7/threading.py", line 766, in run
00:07:16.772     self.__target(*self.__args, **self.__kwargs)
00:07:16.772   File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 180, in _communicate
00:07:16.772     os.close(readPipe)
00:07:16.772 AttributeError: 'NoneType' object has no attribute 'close'


attaching logs.

Comment 1 Tal Nisan 2016-03-27 08:53:08 UTC
Targeting for 4.0 till we understand exactly which flows are effected by that, Idan please have a look

Comment 2 Idan Shaby 2016-03-27 09:19:33 UTC
Sandro - the link to the test is broken.
Can you describe the test or send the up to date link?
Thanks

Comment 3 Allon Mureinik 2016-04-11 12:31:19 UTC
Sandro, is this still happening? Can you provide a non-broken link for this error log?

Comment 4 Allon Mureinik 2016-04-20 08:43:50 UTC
(In reply to Allon Mureinik from comment #3)
> Sandro, is this still happening? Can you provide a non-broken link for this
> error log?
Didn't see this error anywhere recently.
If it still occurs, feel free to reopen.

Comment 5 Sandro Bonazzola 2016-04-20 15:48:48 UTC
(In reply to Idan Shaby from comment #2)
> Sandro - the link to the test is broken.
> Can you describe the test or send the up to date link?
> Thanks

That's why I attached full logs from the job. The link can't be updated, since the job is not available anymore in jenkins (only last 20/40 jobs are kept there)

(In reply to Allon Mureinik from comment #3)
> Sandro, is this still happening? Can you provide a non-broken link for this
> error log?

I'm not seeing it happening anymore but probably just because the failing test has been fixed. I think that the ioprocess issue is still there.

Comment 6 Sandro Bonazzola 2016-05-02 09:52:59 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 7 Yaniv Lavi 2016-05-23 13:15:47 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

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

Comment 9 Idan Shaby 2016-06-08 09:08:47 UTC
Since we don't know if the bug still occurs, or even what the bug is, I am closing it for now.
Please reopen if you got more info or if it still occurs.