Public bug reported: The check job gate-glance-python27 failed on my patch https://review.openstack.org/#/c/197916/
I added debug traces and it looks like the OpenStack infra uses a ext4 partition mounted with noatime, whereas the xattr image cache driver explicitly requires atime. Debug trace: http://logs.openstack.org/16/197916/6/check/gate-glance- python27/16760bf/testr_results.html.gz glance.tests.unit.test_image_cache.TestImageCacheXattr.test_caching_iterator_falloffend Traceback (most recent call last): File "glance/tests/unit/test_image_cache.py", line 411, in test_caching_iterator_falloffend self.assertFalse(os.path.exists(incomplete_file_path), debug_info) File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 696, in assertFalse raise self.failureException(msg) AssertionError: True is not false : /tmp/tmp.NOhmw2VXFN/tmpjnooYj Content of the image cache: /tmp/tmp.NOhmw2VXFN/tmpjnooYj/queue /tmp/tmp.NOhmw2VXFN/tmpjnooYj/incomplete /tmp/tmp.NOhmw2VXFN/tmpjnooYj/incomplete/1 /tmp/tmp.NOhmw2VXFN/tmpjnooYj/invalid Filesystem of the image cache (/tmp): Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 41147472 11923388 27320644 31% / Filesystem mounted with: /dev/xvda1 on / type ext4 (rw,noatime,errors=remount-ro,barrier=0) Notice "noatime" in the mount options of /dev/xvda1. The test glance.tests.unit.test_image_cache.TestImageCacheXattr.test_caching_iterator_falloffend pass on my Fedora 22. On Fedora 22, the image cache is created on /tmp which mounted as tmpfs. ** Affects: glance Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1471243 Title: Test on the xattr image cache fails because of noatime Status in OpenStack Image Registry and Delivery Service (Glance): New Bug description: The check job gate-glance-python27 failed on my patch https://review.openstack.org/#/c/197916/ I added debug traces and it looks like the OpenStack infra uses a ext4 partition mounted with noatime, whereas the xattr image cache driver explicitly requires atime. Debug trace: http://logs.openstack.org/16/197916/6/check/gate-glance- python27/16760bf/testr_results.html.gz glance.tests.unit.test_image_cache.TestImageCacheXattr.test_caching_iterator_falloffend Traceback (most recent call last): File "glance/tests/unit/test_image_cache.py", line 411, in test_caching_iterator_falloffend self.assertFalse(os.path.exists(incomplete_file_path), debug_info) File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 696, in assertFalse raise self.failureException(msg) AssertionError: True is not false : /tmp/tmp.NOhmw2VXFN/tmpjnooYj Content of the image cache: /tmp/tmp.NOhmw2VXFN/tmpjnooYj/queue /tmp/tmp.NOhmw2VXFN/tmpjnooYj/incomplete /tmp/tmp.NOhmw2VXFN/tmpjnooYj/incomplete/1 /tmp/tmp.NOhmw2VXFN/tmpjnooYj/invalid Filesystem of the image cache (/tmp): Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 41147472 11923388 27320644 31% / Filesystem mounted with: /dev/xvda1 on / type ext4 (rw,noatime,errors=remount-ro,barrier=0) Notice "noatime" in the mount options of /dev/xvda1. The test glance.tests.unit.test_image_cache.TestImageCacheXattr.test_caching_iterator_falloffend pass on my Fedora 22. On Fedora 22, the image cache is created on /tmp which mounted as tmpfs. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1471243/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp