Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent test_utime() failures on FreeBSD #68363

Closed
koobs opened this issue May 13, 2015 · 5 comments
Closed

Consistent test_utime() failures on FreeBSD #68363

koobs opened this issue May 13, 2015 · 5 comments
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@koobs
Copy link

koobs commented May 13, 2015

BPO 24175
Nosy @zware, @koobs
Superseder
  • bpo-15745: Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2015-06-13.04:14:23.469>
    created_at = <Date 2015-05-13.12:45:00.879>
    labels = ['type-bug', 'tests']
    title = 'Consistent test_utime() failures on FreeBSD'
    updated_at = <Date 2015-06-13.04:14:23.468>
    user = 'https://github.com/koobs'

    bugs.python.org fields:

    activity = <Date 2015-06-13.04:14:23.468>
    actor = 'zach.ware'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-06-13.04:14:23.469>
    closer = 'zach.ware'
    components = ['Tests']
    creation = <Date 2015-05-13.12:45:00.879>
    creator = 'koobs'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 24175
    keywords = ['3.4regression']
    message_count = 5.0
    messages = ['243083', '243084', '244255', '245155', '245289']
    nosy_count = 2.0
    nosy_names = ['zach.ware', 'koobs']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '15745'
    type = 'behavior'
    url = 'https://bugs.python.org/issue24175'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    @koobs
    Copy link
    Author

    koobs commented May 13, 2015

    The following test failure is observable in koobs-freebsd9 and koobs-freebsd10 buildbots, on the 3.4 and 3.x branches.

    ======================================================================
    FAIL: test_utime (test.test_os.StatAttributeTests)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/test/test_os.py", line 418, in test_utime
        self._test_utime(self.fname, getattr, utime, 10)
      File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/test/test_os.py", line 405, in _test_utime
        self.assertEqual(attr(st0, "st_mtime"), attr(st1, "st_mtime"))
    AssertionError: 1431519042.77718 != 1431519042.777179

    The regression was introduced recently, with the last successful build on koobs-freebsd10 being:

    3.4: revision 69951573cb0ecd264d14648b6854c2dce3974186
    3.x: revision c031fa8e6884808667e4e5b800c4f2184d46279c

    @koobs koobs added the tests Tests in the Lib/test dir label May 13, 2015
    @koobs
    Copy link
    Author

    koobs commented May 13, 2015

    After running the latest builds, it appears 3.x is now green, leaving 3.4 failing

    @koobs
    Copy link
    Author

    koobs commented May 28, 2015

    See also:

    bpo-16287 (Solaris)
    bpo-15745 (Related to FreeBSD/ZFS, has patch)

    3.4 and 3.x are still failing

    @koobs koobs changed the title Test failure in test_utime on FreeBSD Sporadic test_utime() failures on FreeBSD May 28, 2015
    @koobs
    Copy link
    Author

    koobs commented Jun 11, 2015

    test_utime is now consistently failing on 3.4, 3.5 and default

    @koobs koobs changed the title Sporadic test_utime() failures on FreeBSD Consistent test_utime() failures on FreeBSD Jun 11, 2015
    @zware
    Copy link
    Member

    zware commented Jun 13, 2015

    This appears to have been fixed in bpo-15745.

    @zware zware closed this as completed Jun 13, 2015
    @zware zware added the type-bug An unexpected behavior, bug, or error label Jun 13, 2015
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants