You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any help on why this test could be failing? I know this is an unusual platform, so I can provide shell access to the machine in question if somebody would mind taking a look. I can also interactively debug, or test patches as needed.
It's a DEC Alpha machine! I've seen issues show up here before due to (1) low clock resolution and (2) race conditions exposed by its slow speed. If the log isn't enough to identify the problem, I have free shell access to all of the unusual machines I test on. Would provisioning an account so you can investigate directly help?
Both failures are possibly related to timing things, which as you say might be due to a low clock resolution. I don't really know much about alpha, and don't have time to try to debug it. I would be happy to accept a contribution to fix the test failures though!
@fahadaldajani92’s approach for test_time_block_decorator_with_label makes sense, so I’ll leave that one to him. I’d like to take the other failure from this thread, test_gauge_mostrecent (and test_gauge_livemostrecent, which has the same issue). The two set() calls can get identical time.time() stamps on a coarse clock, and on a tie the collector keeps whichever .db file it reads first, so the result depends on filesystem order. I’d patch time.time in the tests with increasing values. Test-only change; I’ll open a separate PR unless someone objects.
Activity
roidelapluie commentedon Aug 8, 2023
What is alpha?
matoro commentedon Aug 8, 2023
It's a DEC Alpha machine! I've seen issues show up here before due to (1) low clock resolution and (2) race conditions exposed by its slow speed. If the log isn't enough to identify the problem, I have free shell access to all of the unusual machines I test on. Would provisioning an account so you can investigate directly help?
matoro commentedon Oct 31, 2023
One additional failure in 0.18.0.
csmarchbanks commentedon Nov 1, 2023
Both failures are possibly related to timing things, which as you say might be due to a low clock resolution. I don't really know much about alpha, and don't have time to try to debug it. I would be happy to accept a contribution to fix the test failures though!
nischita44 commentedon Oct 9, 2026
@fahadaldajani92’s approach for test_time_block_decorator_with_label makes sense, so I’ll leave that one to him. I’d like to take the other failure from this thread, test_gauge_mostrecent (and test_gauge_livemostrecent, which has the same issue). The two set() calls can get identical time.time() stamps on a coarse clock, and on a tie the collector keeps whichever .db file it reads first, so the result depends on filesystem order. I’d patch time.time in the tests with increasing values. Test-only change; I’ll open a separate PR unless someone objects.