Skip to content

Fix TempFile usage while temp dir was deleted in same process #125

Fix TempFile usage while temp dir was deleted in same process

Fix TempFile usage while temp dir was deleted in same process #125

Triggered via pull request July 27, 2023 10:17
Status Failure
Total duration 9m 19s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

PR.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 20 warnings
ubuntu-latest
/usr/bin/cp: cannot create regular file '/usr/local/share/fonts/NotoColorEmoji.ttf': Permission denied
ubuntu-latest
/usr/bin/chmod: cannot access '/usr/local/share/fonts/NotoColorEmoji.ttf': No such file or directory
ubuntu-latest
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
ubuntu-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
ubuntu-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
Test45322: testcases/main/HSSF/UserModel/TestBugs.cs#L1563
SixLabors.Fonts.MissingFontTableException : Table 'loca' is missing
TestAutoSize_bug50681: testcases/main/HSSF/UserModel/TestBugs.cs#L2181
SixLabors.Fonts.MissingFontTableException : Table 'loca' is missing
IfOpeningExistingWorkbookShouldWriteAllPreviouslyExistingColumns: testcases/ooxml/XSSF/Streaming/SXSSFWorkbookTests.cs#L298
SixLabors.Fonts.MissingFontTableException : Table 'loca' is missing
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
TestCreateTempFile: testcases/main/Util/TestTempFile.cs#L22
System.IO.IOException : The process cannot access the file 'poi-sxssf-sheet10775931-3dc6-47f6-bfbc-ba2d638de04a.xml' because it is being used by another process.
TestGetTempFilePath: testcases/main/Util/TestTempFile.cs#L45
System.IO.IOException : The process cannot access the file 'poi-sxssf-sheet10775931-3dc6-47f6-bfbc-ba2d638de04a.xml' because it is being used by another process.
CreateCell
System.UnauthorizedAccessException : Access to the path 'C:\Users\runneradmin\AppData\Local\Temp\poifiles\poi-sxssf-sheete58d0a4a-5ef2-411c-a995-7cf160608348.xml' is denied.
windows-latest
Target "Test" has thrown an exception
windows-latest
Process completed with exit code 1.
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/FileSystem/POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Eval/FunctionEval.cs(62,37): warning CS0628: 'FunctionEval.functions': new protected member declared in sealed type [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/UserModel/Workbook.cs(447,14): warning CS0108: 'IWorkbook.Close()' hides inherited member 'ICloseable.Close()'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/Util/StringUtil.cs(514,49): warning CS0472: The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?' [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/FinanceFunction.cs(96,13): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/Countif.cs(341,21): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Atp/DateParser.cs(86,17): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\FileSystem\POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\UserModel\Workbook.cs(447,14): warning CS0108: 'IWorkbook.Close()' hides inherited member 'ICloseable.Close()'. Use the new keyword if hiding was intended. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Eval\FunctionEval.cs(62,37): warning CS0628: 'FunctionEval.functions': new protected member declared in sealed type [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\Util\StringUtil.cs(514,49): warning CS0472: The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?' [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Functions\FinanceFunction.cs(96,13): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Functions\Countif.cs(341,21): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Atp\DateParser.cs(86,17): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]