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

Sporadic test_utime() failures on Solaris #60491

Closed
tpn opened this issue Oct 19, 2012 · 4 comments
Closed

Sporadic test_utime() failures on Solaris #60491

tpn opened this issue Oct 19, 2012 · 4 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@tpn
Copy link
Member

tpn commented Oct 19, 2012

BPO 16287
Nosy @jcea, @pitrou, @larryhastings, @tiran, @tpn, @koobs

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 = None
created_at = <Date 2012-10-19.13:16:39.338>
labels = ['type-bug']
title = 'Sporadic test_utime() failures on Solaris'
updated_at = <Date 2015-04-21.09:51:44.062>
user = 'https://github.com/tpn'

bugs.python.org fields:

activity = <Date 2015-04-21.09:51:44.062>
actor = 'koobs'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2012-10-19.13:16:39.338>
creator = 'trent'
dependencies = []
files = []
hgrepos = []
issue_num = 16287
keywords = []
message_count = 3.0
messages = ['173339', '176978', '201273']
nosy_count = 7.0
nosy_names = ['jcea', 'pitrou', 'larry', 'christian.heimes', 'trent', 'Arfrever', 'koobs']
pr_nums = []
priority = 'low'
resolution = None
stage = None
status = 'languishing'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue16287'
versions = []

@tpn
Copy link
Member Author

tpn commented Oct 19, 2012

This was initially observed in bpo-15745, however, there's a separate problem here. The current test_utime() on Solaris sporadically (usually) fails along the following lines:

self.assertEqual(attr(st0, "st_mtime"), attr(st1, "st_mtime"))
AssertionError: 1347752941.275297 != 1347752941.275296

That is, test_utime() always results in a st1.st_mtime that is
"off-by-1" from st0.st_mtime. The precision is well within the
nanasecond resolution offered by utimensat, so it doesn't appear to be
the same issue experienced by other platforms.

Run that test in a loop though, and it sometimes passes. So, there's an underlying bug, somewhere.

@jcea
Copy link
Member

jcea commented Dec 5, 2012

Doing "./python Lib/test/regrtest.py test_os" for current "default" in Solaris 10 Update 10, I don't see any test failure. I have run it 10.000 times.

I can't reproduce this.

What Solaris 10 version are you using, Trent?

@tiran
Copy link
Member

tiran commented Oct 25, 2013

Trent, do you still see the failures on Solaris?

@tiran tiran added stale Stale PR or inactive for long period of time. type-bug An unexpected behavior, bug, or error labels Oct 25, 2013
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@iritkatriel
Copy link
Member

This is a decade old. We'll make a new issue if it comes up again.

@iritkatriel iritkatriel closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

4 participants