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

Test failed file_io.GetFileSize.test1 #58481

Closed
VincentBu opened this issue Sep 1, 2021 · 20 comments · Fixed by #59504
Closed

Test failed file_io.GetFileSize.test1 #58481

VincentBu opened this issue Sep 1, 2021 · 20 comments · Fixed by #59504
Labels
arch-arm32 area-PAL-coreclr os-linux Linux OS (any supported distro)
Milestone

Comments

@VincentBu
Copy link
Contributor

Run: runtime-coreclr outerloop 20210831.9

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1
- file_io.SetFilePointer.test5

Error message:

GetFileSize: ERROR -> File sizes do not match up.


Stack trace

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7

Error message:

SetFilePointer: ERROR -> Asked to move far past the current file pointer. low order sent: 10  low order returned: 10 high order sent: 1  high order returned: 0


Stack trace
@VincentBu VincentBu added the os-linux Linux OS (any supported distro) label Sep 1, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.IO untriaged New issue has not been triaged by the area owner labels Sep 1, 2021
@ghost
Copy link

ghost commented Sep 1, 2021

Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime-coreclr outerloop 20210831.9

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1
- file_io.SetFilePointer.test5

Error message:

GetFileSize: ERROR -> File sizes do not match up.


Stack trace

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7

Error message:

SetFilePointer: ERROR -> Asked to move far past the current file pointer. low order sent: 10  low order returned: 10 high order sent: 1  high order returned: 0


Stack trace
Author: VincentBu
Assignees: -
Labels:

area-System.IO, os-linux, untriaged

Milestone: -

@adamsitnik
Copy link
Member

It's similar to #51831, since it's testing PAL I've moved it from System.IO to PAL-coreclr

@mangod9 mangod9 removed the untriaged New issue has not been triaged by the area owner label Sep 1, 2021
@mangod9 mangod9 added this to the 7.0.0 milestone Sep 1, 2021
@AndyAyersMS
Copy link
Member

@mangod9 this is causing a lot of outerloop failures, any way we can prioritize a fix?

@mangod9
Copy link
Member

mangod9 commented Sep 9, 2021

adding @janvorli

@VincentBu
Copy link
Contributor Author

VincentBu commented Sep 9, 2021

Failed again in: runtime-coreclr outerloop 20210908.5

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1

CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1

Error message:

GetFileSize: ERROR -> File sizes do not match up.


Stack trace

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- file_io.SetFilePointer.test5

CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- file_io.SetFilePointer.test5

Error message:

SetFilePointer: ERROR -> Failed to move pointer past EOF.


Stack trace

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7

CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7

Error message:

SetFilePointer: ERROR -> Asked to move far past the current file pointer. low order sent: 10  low order returned: 10 high order sent: 1  high order returned: 0


Stack trace

Failed again in: runtime-coreclr jitstress 20210907.1

Failed test:

CoreCLR Linux arm Checked zapdisable @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32
- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1

CoreCLR Linux arm Checked jitstress2 @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1

Error message:

GetFileSize: ERROR -> File sizes do not match up.


Stack trace

Failed test:

CoreCLR Linux arm Checked zapdisable @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32
- file_io.SetFilePointer.test5

CoreCLR Linux arm Checked jitstress2 @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- file_io.SetFilePointer.test5

Error message:

SetFilePointer: ERROR -> Failed to move pointer past EOF.


Stack trace

Failed test:

CoreCLR Linux arm Checked zapdisable @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32
- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7

CoreCLR Linux arm Checked jitstress2 @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7

Error message:

SetFilePointer: ERROR -> Asked to move far past the current file pointer. low order sent: 10  low order returned: 10 high order sent: 1  high order returned: 0


Stack trace

@mangod9
Copy link
Member

mangod9 commented Sep 10, 2021

assume the failures are on arm32 only?

@AndyAyersMS
Copy link
Member

Yes.

@VincentBu
Copy link
Contributor Author

Failed again in: runtime-coreclr outerloop 20210915.9

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1

CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1

Error message:

GetFileSize: ERROR -> File sizes do not match up.


Stack trace

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.SetFilePointer.test5

CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.SetFilePointer.test5

Error message:

SetFilePointer: ERROR -> Failed to move pointer past EOF.


Stack trace

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7
CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7

Error message:

SetFilePointer: ERROR -> Asked to move far past the current file pointer. low order sent: 10  low order returned: 10 high order sent: 1  high order returned: 0


Stack trace

@BruceForstall
Copy link
Member

@mangod9 @janvorli @mateoatr @agocke This is still failing regularly and causing a lot of noise in outerloop runs.

@janvorli
Copy link
Member

I'll take a look

@janvorli
Copy link
Member

This is caused by a removal of a define that enables 64 bit file offsets on all targets (including 32 bit ones) in #58096.

@janvorli janvorli modified the milestones: 7.0.0, 6.0.0 Sep 22, 2021
@janvorli
Copy link
Member

On arm Unix, it breaks getting file size using various windows style API implemented in PAL and also coredump. For files > 2GB.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Sep 22, 2021
@BruceForstall
Copy link
Member

@janvorli It looks like this needs to get fixed in .NET 6?

@am11
Copy link
Member

am11 commented Sep 22, 2021

@janvorli, I think 7.0 is the correct milestone as #58096 is 7.0 only.

@janvorli
Copy link
Member

Ah, great, I haven't realized that it didn't go in while we were still moving all changes to 6.0. Changing this back to 7.0 then.

@janvorli janvorli modified the milestones: 6.0.0, 7.0.0 Sep 22, 2021
@VincentBu
Copy link
Contributor Author

Failed again in: runtime-coreclr outerloop 20210923.7

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1

CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.GetFileSize.test1
- file_io.GetFileSizeEx.test1

Error message:

GetFileSize: ERROR -> File sizes do not match up.


Stack trace

Failed test:

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
file_io.SetFilePointer.test5
CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
file_io.SetFilePointer.test5

Error message:

SetFilePointer: ERROR -> Failed to move pointer past EOF.


Stack trace

Failed test;

CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7

CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440

- file_io.SetFilePointer.test6
- file_io.SetFilePointer.test7

Error message:

SetFilePointer: ERROR -> Asked to move far past the current file pointer. low order sent: 10  low order returned: 10 high order sent: 1  high order returned: 0


Stack trace

@BruceForstall
Copy link
Member

@janvorli Have you had a chance to look at this?

@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Sep 29, 2021
@janvorli
Copy link
Member

The PR with a fix was merged just a minute ago.

@am11
Copy link
Member

am11 commented Sep 29, 2021

@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm32 area-PAL-coreclr os-linux Linux OS (any supported distro)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants