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

CopyToNanosecondsPresent_LowTempRes #48717

Closed
Tracked by #64596
Anipik opened this issue Feb 24, 2021 · 13 comments · Fixed by #74317
Closed
Tracked by #64596

CopyToNanosecondsPresent_LowTempRes #48717

Anipik opened this issue Feb 24, 2021 · 13 comments · Fixed by #74317
Assignees
Labels
arch-wasm WebAssembly architecture area-System.IO
Milestone

Comments

@Anipik
Copy link
Contributor

Anipik commented Feb 24, 2021

[11:47:06] fail: [FAIL] System.IO.Tests.FileInfo_GetSetTimes.CopyToNanosecondsPresent_LowTempRes
[11:47:06] info: Assert.Equal() Failure
[11:47:06] info: Expected: 637496776220000000
[11:47:06] info: Actual:   637496776230000000
[11:47:06] info:    at System.IO.Tests.FileInfo_GetSetTimes.CopyToNanosecondsPresent_LowTempRes()
[11:47:06] info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[11:47:06] info: _str_so.PatternTests_DosQM(pattern: "f???.txt", sourceFiles: ["f.txt", "foo.txt", "foob.txt", "fooba.txt", "foobar.txt"], expected: ["f.txt", "foo.txt", "foob.txt"])
[11:47:06] info: Finished:    System.IO.FileSystem.Tests.dll
[11:47:06] info: 
[11:47:06] info: === TEST EXECUTION SUMMARY ===
[11:47:06] info: Total: 4515, Errors: 0, Failed: 1, Skipped: 80, Time: 69.21771s

log https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-master-680cda3803df473ebe/System.IO.FileSystem.Tests/console.1c1154a3.log?sv=2019-07-07&se=2021-03-15T11%3A39%3A01Z&sr=c&sp=rl&sig=X87s3NAfVydw24wA36GljHufqJYUgs7qOK%2B2i3NKmAM%3D

build https://dev.azure.com/dnceng/public/_build/results?buildId=1007570&view=logs&j=108d2c4a-8a62-5a58-8dad-8e1042acc93c&t=568f884b-cc12-5fd3-e7fe-790b5ac403f4

cc @carlossanlop

Runfo Tracking Issue: copytonanosecondspresent_lowtempres

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1920813 runtime PR 73301 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log test results runclient.py
1901057 runtime PR 72746 net7.0-Browser-Release-wasm-Mono_Release-normal-Ubuntu.1804.Amd64.Open console.log test results runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 2
@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.IO untriaged New issue has not been triaged by the area owner labels Feb 24, 2021
@Anipik Anipik added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Feb 24, 2021
@jozkee jozkee added the arch-wasm WebAssembly architecture label Feb 25, 2021
@ghost
Copy link

ghost commented Feb 25, 2021

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details
[11:47:06] fail: [FAIL] System.IO.Tests.FileInfo_GetSetTimes.CopyToNanosecondsPresent_LowTempRes
[11:47:06] info: Assert.Equal() Failure
[11:47:06] info: Expected: 637496776220000000
[11:47:06] info: Actual:   637496776230000000
[11:47:06] info:    at System.IO.Tests.FileInfo_GetSetTimes.CopyToNanosecondsPresent_LowTempRes()
[11:47:06] info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[11:47:06] info: _str_so.PatternTests_DosQM(pattern: "f???.txt", sourceFiles: ["f.txt", "foo.txt", "foob.txt", "fooba.txt", "foobar.txt"], expected: ["f.txt", "foo.txt", "foob.txt"])
[11:47:06] info: Finished:    System.IO.FileSystem.Tests.dll
[11:47:06] info: 
[11:47:06] info: === TEST EXECUTION SUMMARY ===
[11:47:06] info: Total: 4515, Errors: 0, Failed: 1, Skipped: 80, Time: 69.21771s

log https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-master-680cda3803df473ebe/System.IO.FileSystem.Tests/console.1c1154a3.log?sv=2019-07-07&se=2021-03-15T11%3A39%3A01Z&sr=c&sp=rl&sig=X87s3NAfVydw24wA36GljHufqJYUgs7qOK%2B2i3NKmAM%3D

build https://dev.azure.com/dnceng/public/_build/results?buildId=1007570&view=logs&j=108d2c4a-8a62-5a58-8dad-8e1042acc93c&t=568f884b-cc12-5fd3-e7fe-790b5ac403f4

cc @carlossanlop

Runfo Tracking Issue: copytonanosecondspresent_lowtempres

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1007570 runtime Rolling net6.0-Browser-Release-wasm-Mono_Release-wasmtestonbrowser-Ubuntu.1804.Amd64.Open console.log test results runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 1 1
Author: Anipik
Assignees: -
Labels:

arch-wasm, area-System.IO, blocking-clean-ci, untriaged

Milestone: -

@carlossanlop carlossanlop removed the untriaged New issue has not been triaged by the area owner label Feb 25, 2021
@carlossanlop
Copy link
Member

A Kusto query is returning, for the last 60 days, 1 result in master CI and 5 in PR CIs:

Jobs
    | project JobId, Source, Started, Type, Properties, QueueName
    | where Started > ago(60d)
    | join kind=inner
        (TestResults | project Method, WorkItemName, Result, WorkItemFriendlyName, Type, JobId, Message, StackTrace) on JobId
    | where Result == "Fail"
    | where Method == "CopyToNanosecondsPresent_LowTempRes"
    | where Properties contains("Browser")
JobId	Source	Started	Type
13478039	pr/public/dotnet/runtime/refs/pull/48286/merge	2021-02-15 03:05:03.5720000	test/functional/cli/innerloop/
13559156	pr/public/dotnet/runtime/refs/pull/48450/merge	2021-02-18 18:10:48.8820000	test/functional/cli/innerloop/
13568272	pr/public/dotnet/runtime/refs/pull/47149/merge	2021-02-19 00:14:18.2460000	test/functional/cli/innerloop/
13573278	pr/public/dotnet/runtime/refs/pull/48450/merge	2021-02-19 06:03:03.1610000	test/functional/cli/innerloop/
13614619	pr/public/dotnet/runtime/refs/pull/48450/merge	2021-02-22 05:54:25.9190000	test/functional/cli/innerloop/
13640753	ci/public/dotnet/runtime/refs/heads/master	2021-02-23 11:39:01.8840000	test/functional/cli/innerloop/

Although this is marked for System.IO, I'll defer this to the WASM team to decide if they want to address this or not.

@lewing
Copy link
Member

lewing commented Jul 2, 2021

This appears to be resolved, please reopen if no.

@lewing lewing closed this as completed Jul 2, 2021
@lewing
Copy link
Member

lewing commented Jul 12, 2021

@radekdoulik I think we can ActiveIssue this for now and skip it on wasm

@danmoseley
Copy link
Member

Any reason we shouldn't resolve this by adding a little more tolerance in the test? Seems the browser timer has more slop than expected, but there's no real consequences?

@jakobbotsch jakobbotsch removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label May 3, 2022
@ilonatommy
Copy link
Member

@radekdoulik, what is the plan for this failure?

@pavelsavara
Copy link
Member

Another log

@pavelsavara
Copy link
Member

Another log

@radical radical modified the milestones: 7.0.0, 8.0.0 Aug 12, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 12, 2022
@adamsitnik adamsitnik removed the untriaged New issue has not been triaged by the area owner label Aug 12, 2022
@danmoseley
Copy link
Member

danmoseley commented Aug 21, 2022

[17:39:59] fail: [FAIL] System.IO.Tests.FileInfo_GetSetTimes.CopyToNanosecondsPresent_LowTempRes
[17:39:59] info: Assert.Equal() Failure
[17:39:59] info: Expected: 637966139980000000
[17:39:59] info: Actual:   637966139990000000
[17:39:59] info:    at System.IO.Tests.FileInfo_GetSetTimes.CopyToNanosecondsPresent_LowTempRes()
[17:39:59] info:    at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
[17:40:29] info: Finished:    System.IO.FileSystem.Tests.dll

on
Console log: 'normal-System.IO.FileSystem.Tests' from job 52e7b343-db78-4f19-89bf-60863c603ad5 workitem 960d8ebd-d7f9-490a-afba-f1b4f14e9f87 (ubuntu.1804.amd64.open.svc) executed on machine a00132B running Linux-5.4.0-1089-azure-x86_64-with-Ubuntu-18.04-bionic -- WASM tests

@danmoseley
Copy link
Member

Failing 5 times a month, always on WASM, always the same digit is one off, eg

Expected: 637949564520000000
Actual:   637949564530000000
                    ^

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 21, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 22, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.IO
Projects
None yet
Development

Successfully merging a pull request may close this issue.