Functional test failing because of unclosed file

Bug #1618465 reported by venkatamahesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
venkatamahesh

Bug Description

/home/jenkins/workspace/gate-glance-python35-db-nv/glance/tests/functional/__init__.py:647: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp.b9wzMojHJU/tmpxl6ut5do/scrubber.log' mode='r' encoding='UTF-8'>

http://logs.openstack.org/93/356693/5/check/gate-glance-python35-db-nv/7221e1c/console.html#_2016-08-29_23_45_56_508789

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/362887

Changed in glance:
status: New → In Progress
description: updated
Revision history for this message
Hemanth Makkapati (hemanth-makkapati) wrote :

I don't see tests failing with this error. This just looks like a warning.
Am I missing anything?

Revision history for this message
Ian Cordasco (icordasc) wrote :

Hemanth, correct. A ResourceWarning won't cause a test to fail and given these logs are ancient, we can't introspect them for the answer.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/362887
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=611ff130ebb0879db9f4777601f2e51340aa9f94
Submitter: Jenkins
Branch: master

commit 611ff130ebb0879db9f4777601f2e51340aa9f94
Author: venkatamahesh <email address hidden>
Date: Tue Aug 30 19:24:16 2016 +0530

    Fixed PY35 Jenkins Gate warnings

    Some of the files are opened but never closed. In this patch
    done the changes to make the files close after the file
    operations are executed

    Change-Id: I968581d9befddbd2c8e0f7dc1ea0de7ff7bea98f
    Closes-Bug: #1618465

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 15.0.0.0b2

This issue was fixed in the openstack/glance 15.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.