Skip to content

fix: Throw correct exception when using File.Replace with case-only changes on MacOS #1956

fix: Throw correct exception when using File.Replace with case-only changes on MacOS

fix: Throw correct exception when using File.Replace with case-only changes on MacOS #1956

Triggered via pull request August 11, 2024 08:30
Status Failure
Total duration 21m 22s
Artifacts 7

ci.yml

on: pull_request
Stryker mutation testing (Ubuntu)
6m 35s
Stryker mutation testing (Ubuntu)
Stryker mutation testing (Windows)
6m 58s
Stryker mutation testing (Windows)
Stryker mutation testing result
1s
Stryker mutation testing result
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 9 warnings
Test (MacOS)
Process returned exit code 1 Launched as "bash --noprofile --norc -eo pipefail /Users/runner/work/_actions/Wandalen/wretry.action/v3.5.0_js_action/src/script.sh" Launched at "/Users/runner/work/Testably.Abstractions/Testably.Abstractions" Attempts exhausted, made 2 attempts : Attempt #1 started at : 08:31:39 GMT+0000 (Coordinated Universal Time) Attempt #2 started at : 08:36:43 GMT+0000 (Coordinated Universal Time)
Test (Ubuntu)
Process returned exit code 1 Launched as "bash --noprofile --norc -eo pipefail /home/runner/work/_actions/Wandalen/wretry.action/v3.5.0_js_action/src/script.sh" Launched at "/home/runner/work/Testably.Abstractions/Testably.Abstractions" Attempts exhausted, made 2 attempts : Attempt #1 started at : 08:31:53 GMT+0000 (Coordinated Universal Time) Attempt #2 started at : 08:36:40 GMT+0000 (Coordinated Universal Time)
Test (Windows)
Process returned exit code 1 Launched as "pwsh -command ". 'D:\a\_actions\Wandalen\wretry.action\v3.5.0_js_action\src\script.ps1'"" Launched at "/D/a/Testably.Abstractions/Testably.Abstractions" Attempts exhausted, made 2 attempts : Attempt #1 started at : 08:34:04 GMT+0000 (Coordinated Universal Time) Attempt #2 started at : 08:42:53 GMT+0000 (Coordinated Universal Time)
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name349288fa-142d-42f9-8745-1af4c7f5cf74", contents: "contents0cd4c72a-f6f7-41f7-a13e-d892646cf98b"): Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in: _Mac-1723362436603_2024-08-11_08_31_44.trx _Mac-1723362436603_2024-08-11_08_31_44.trx _Mac-1723362436603_2024-08-11_08_31_44.trx _Mac-1723362436603_2024-08-11_08_36_48[1].trx _Mac-1723362436603_2024-08-11_08_36_48[1].trx _Mac-1723362436603_2024-08-11_08_36_48[1].trx Error: Expected type to have HResult set to -2147024864, but found -2147024894.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name78cd1368-6c42-4cdd-aa77-911f99b70a1a", contents: "contents777b322f-cfeb-473a-8b8e-a5a39b529d1d"): Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs#L24
Failed test found in: _Mac-1723362436603_2024-08-11_08_31_44.trx _Mac-1723362436603_2024-08-11_08_36_48[1].trx Error: Expected type to have HResult set to -2147024864, but found -2146232800.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name149cc157-78a7-43aa-8b1b-c0a06b9d833e", contents: "contentsee88d567-bbe9-47b4-97a8-7c11d16177b0"): Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in: _Mac-1723362436603_2024-08-11_08_33_23.trx _Mac-1723362436603_2024-08-11_08_33_23.trx _Mac-1723362436603_2024-08-11_08_33_23.trx _Mac-1723362436603_2024-08-11_08_38_28.trx _Mac-1723362436603_2024-08-11_08_38_28.trx _Mac-1723362436603_2024-08-11_08_38_28.trx Error: Expected type to have HResult set to -2147024864, but found -2147024894.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.RealFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "namec868aa3b-19b7-4c69-ab3b-b52b1364d889", contents: "contentsfab7cdb2-cf4f-42f6-a093-54fe68aa9472"): Tests/Testably.Abstractions.Tests/FileSystem/File/ReplaceTests.cs#L24
Failed test found in: _Mac-1723362436603_2024-08-11_08_33_23.trx _Mac-1723362436603_2024-08-11_08_38_28.trx Error: Expected type to have HResult set to -2147024864, but found -2146232800.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name12087166-4cc0-4338-917a-4a7f81c753d5", contents: "contents46162f6e-9c21-4eb3-97d6-7510d09ea93f"): Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in: _Mac-1723362436603_2024-08-11_08_35_03.trx _Mac-1723362436603_2024-08-11_08_35_03.trx _Mac-1723362436603_2024-08-11_08_35_03.trx _Mac-1723362436603_2024-08-11_08_40_10.trx _Mac-1723362436603_2024-08-11_08_40_10.trx _Mac-1723362436603_2024-08-11_08_40_10.trx Error: Expected type to have HResult set to -2147024864, but found -2147024894.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "namec3f34922-ba2e-4ab3-a059-dc11c49f5bbe", contents: "contents6d59f245-465a-4783-a33a-aba9872f366b"): Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in: _fv-az1251-152_2024-08-11_08_32_08.trx _fv-az1251-152_2024-08-11_08_32_08.trx _fv-az1251-152_2024-08-11_08_32_08.trx _fv-az1251-152_2024-08-11_08_36_55.trx _fv-az1251-152_2024-08-11_08_36_55.trx _fv-az1251-152_2024-08-11_08_36_55.trx Error: Expected type to have HResult set to -2147024864, but found -2147024894.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name2ab558d0-d697-4eaa-a6b3-cc534da23646", contents: "contents458b769f-79e9-42d8-b77f-8c4885bd8042"): Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in: _fv-az1251-152_2024-08-11_08_33_42.trx _fv-az1251-152_2024-08-11_08_33_42.trx _fv-az1251-152_2024-08-11_08_33_42.trx _fv-az1251-152_2024-08-11_08_38_29.trx _fv-az1251-152_2024-08-11_08_38_29.trx _fv-az1251-152_2024-08-11_08_38_29.trx Error: Expected type to have HResult set to -2147024864, but found -2147024894.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "nameaec79a06-7e1a-4198-a2c5-88a796a7a8f3", contents: "contents2b15bcc7-ecdf-4406-b219-ce09a0ae7c9b"): Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in: _fv-az1251-152_2024-08-11_08_35_14.trx _fv-az1251-152_2024-08-11_08_35_14.trx _fv-az1251-152_2024-08-11_08_35_14.trx _fv-az1251-152_2024-08-11_08_40_03.trx _fv-az1251-152_2024-08-11_08_40_03.trx _fv-az1251-152_2024-08-11_08_40_03.trx Error: Expected type to have HResult set to -2147024864, but found -2147024894.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name033542fc-c15b-42a1-b7f6-ece5a5c71161", contents: "contentse2f1b789-a013-4778-b2d2-684624759da2"): Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in: runneradmin_fv-az1785-720_2024-08-11_08_34_22.trx runneradmin_fv-az1785-720_2024-08-11_08_34_22.trx runneradmin_fv-az1785-720_2024-08-11_08_43_03.trx runneradmin_fv-az1785-720_2024-08-11_08_43_03.trx Error: Expected type to have HResult set to -2147024864, but found -2147024894.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "namedc9c9386-f549-4f27-ac8b-cd45d1cd528b", contents: "contents95238804-cf34-41ab-8e36-c41f5cabdb02"): Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in: runneradmin_fv-az1785-720_2024-08-11_08_37_16.trx runneradmin_fv-az1785-720_2024-08-11_08_37_16.trx runneradmin_fv-az1785-720_2024-08-11_08_45_54.trx runneradmin_fv-az1785-720_2024-08-11_08_45_54.trx Error: Expected type to have HResult set to -2147024864, but found -2147024894.
Testably.Abstractions.Tests.FileSystem.File.ReplaceTests.LinuxFileSystemTests ► Replace_CaseOnlyChange_ShouldThrowIOException(name: "name268e85c1-6d1d-4077-87f3-e656fb5ed329", contents: "contents119054da-a862-4df4-9fff-c80dcc158449"): Tests/Helpers/Testably.Abstractions.TestHelpers/AssertionHelpers.cs#L110
Failed test found in: runneradmin_fv-az1785-720_2024-08-11_08_40_05.trx runneradmin_fv-az1785-720_2024-08-11_08_40_05.trx runneradmin_fv-az1785-720_2024-08-11_08_48_41.trx runneradmin_fv-az1785-720_2024-08-11_08_48_41.trx Error: Expected type to have HResult set to -2147024864, but found -2147024894.
Test (Examples)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (.NET Framework)
The following actions uses node12 which is deprecated and will be forced to run on node16: darenm/Setup-VSTest@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (.NET Framework)
The following actions use a deprecated Node.js version and will be forced to run on node20: darenm/Setup-VSTest@v1, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Stryker mutation testing (Ubuntu)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Stryker mutation testing (Windows)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (MacOS)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (Ubuntu)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (Windows)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Code coverage (.NET Framework)", "PR_NUMBER", "Stryker", "Test results (.NET Framework)", "Test results (MacOS)", "Test results (Ubuntu)", "Test results (Windows)". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Code coverage (.NET Framework)
10.8 MB
PR_NUMBER
5 Bytes
Stryker
150 MB
Test results (.NET Framework)
17.5 MB
Test results (MacOS)
187 MB
Test results (Ubuntu)
189 MB
Test results (Windows)
188 MB