Describe the bug
Trying to use Azure File Share as the Storage Provider for the Baseline feature. When I attempt to do this however, I get the following results:
Logs
dotnet stryker --with-baseline:main --version "feature/mutation-baseline" --azure-fileshare-sas "PLACEHOLDER"
...
Your html report has been generated at:
/Users/jameskingdon/Projects/Mutation-Testing/Example/ExampleTest/StrykerOutput/2022-05-02.14-39-35/reports/mutation-report.html
You can open it in your browser of choice.
[14:42:08 ERR] Azure File Storage upload failed with statuscode BadRequest and message: <?xml version="1.0" encoding="utf-8"?><Error><Code>UnsupportedHeader</Code><Message>One of the HTTP headers specified in the request is not supported.
RequestId:5b7011cf-301a-0025-0654-5e4df8000000
Time:2022-05-02T18:42:08.2297005Z</Message><HeaderName>x-ms-file-last-write-time</HeaderName></Error>
[14:42:08 INF] Time Elapsed 00:02:32.9276136
Expected behavior
I expected the results to be uploaded to Azure File Share.
Desktop (please complete the following information):
OS: Mac (also failing on Windows VM)
Type of project: Core
Framework Version: Core 3.1
Stryker Version: 1.5.2
Additional context
~I tried running Stryker locally, removing that header and I get an error response saying that it does in fact need that header:~
Your html report has been generated at:
C:\Users\jkingdon\source\repos\Mutation-Testing\Example\ExampleTest\StrykerOutput\2022-05-02.20-27-39\reports\mutation-repor
t.html
You can open it in your browser of choice.
[20:31:16 ERR] Creating directory failed with status BadRequest and message <?xml version="1.0" encoding="utf-8"?><Error><Code>MissingRequiredHeader</Code><Message>An HTTP header that's mandatory for this request is not specified.
RequestId:5a3b80d3-a01a-0008-0d63-5efe8b000000
Time:2022-05-02T20:31:14.8699520Z</Message><HeaderName>x-ms-file-last-write-time</HeaderName></Error>
[20:31:16 INF] Time Elapsed 00:03:36.6097130
~which I've also confirmed it does via the official documentation.~
Figured out reason for above is because the failure was happening at the filecreate rather than directory create.
Describe the bug Trying to use Azure File Share as the Storage Provider for the Baseline feature. When I attempt to do this however, I get the following results:
Logs
Expected behavior I expected the results to be uploaded to Azure File Share.
Desktop (please complete the following information):
Additional context ~I tried running Stryker locally, removing that header and I get an error response saying that it does in fact need that header:~
~which I've also confirmed it does via the official documentation.~
Figured out reason for above is because the failure was happening at the file create rather than directory create.