You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to have some files corrupted in one of the Test folder causing the dotnet publish command to fail:
Dockerfile:
FROM node:16.13
...
RUN dotnet publish -c Debug --output /publish --self-contained true --runtime linux-x64 --configuration -p:PublishTrimmed=true -p:PublishSingleFile=true
Error Logs:
...
Utilities/TemplateUtilityTests.cs(139,93): warning SA1013: Closing brace should be preceded by a space. [/builddir/FHIR-Converter/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Microsoft.Health.Fhir.Liquid.Converter.UnitTests.csproj]
Microsoft.Health.Fhir.Liquid.Converter.UnitTests -> /builddir/FHIR-Converter/bin/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Microsoft.Health.Fhir.Liquid.Converter.UnitTests.dll
Microsoft.Health.Fhir.Liquid.Converter.UnitTests -> /publish/
Microsoft.Health.Fhir.TemplateManagement.FunctionalTests -> /builddir/FHIR-Converter/bin/Microsoft.Health.Fhir.TemplateManagement.FunctionalTests/Microsoft.Health.Fhir.TemplateManagement.FunctionalTests.dll
/usr/share/dotnet/sdk/3.1.426/Microsoft.Common.CurrentVersion.targets(4651,5): error MSB3030: Could not copy the file "/builddir/FHIR-Converter/src/Microsoft.Health.Fhir.TemplateManagement.UnitTests/TestData/DecompressedFiles/VXU_V04.liquid" because it was not found. [/builddir/FHIR-Converter/src/Microsoft.Health.Fhir.TemplateManagement.UnitTests/Microsoft.Health.Fhir.TemplateManagement.UnitTests.csproj]
Microsoft.Health.Fhir.TemplateManagement.FunctionalTests -> /publish/
Microsoft.Health.Fhir.Liquid.Converter.Tool -> /builddir/FHIR-Converter/src/Microsoft.Health.Fhir.Liquid.Converter.Tool/bin/Debug/netcoreapp3.1/ubuntu-x64/Microsoft.Health.Fhir.Liquid.Converter.Tool.dll
Microsoft.Health.Fhir.Liquid.Converter.Tool -> /publish/
The command '/bin/sh -c dotnet publish /builddir/FHIR-Converter -c Debug --output /publish --self-contained false --runtime ubuntu-x64' returned a non-zero code: 1
But the app builds and runs just fine on my Mac though this file "VXU_V04.liquid" shows to be corrupted, see below:
My workaround is to fork the repo and remove all of the "test" projects. But I'd rather to use the original repo "microsoft/FHIR-Converter" repo if that's all possible.
Has anyone encounter the same issue and knows a workaround?
Thanks.
The text was updated successfully, but these errors were encountered:
lin-yaxiong
changed the title
Corrupted files causing build on Linux to fail
Corrupted files causing build on Linux to fail on ADO pipeline
Jun 5, 2023
There appears to have some files corrupted in one of the Test folder causing the dotnet publish command to fail:
Dockerfile:
FROM node:16.13
...
RUN dotnet publish -c Debug --output /publish --self-contained true --runtime linux-x64 --configuration -p:PublishTrimmed=true -p:PublishSingleFile=true
Error Logs:
...
Utilities/TemplateUtilityTests.cs(139,93): warning SA1013: Closing brace should be preceded by a space. [/builddir/FHIR-Converter/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Microsoft.Health.Fhir.Liquid.Converter.UnitTests.csproj]
Microsoft.Health.Fhir.Liquid.Converter.UnitTests -> /builddir/FHIR-Converter/bin/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Microsoft.Health.Fhir.Liquid.Converter.UnitTests.dll
Microsoft.Health.Fhir.Liquid.Converter.UnitTests -> /publish/
Microsoft.Health.Fhir.TemplateManagement.FunctionalTests -> /builddir/FHIR-Converter/bin/Microsoft.Health.Fhir.TemplateManagement.FunctionalTests/Microsoft.Health.Fhir.TemplateManagement.FunctionalTests.dll
/usr/share/dotnet/sdk/3.1.426/Microsoft.Common.CurrentVersion.targets(4651,5): error MSB3030: Could not copy the file "/builddir/FHIR-Converter/src/Microsoft.Health.Fhir.TemplateManagement.UnitTests/TestData/DecompressedFiles/VXU_V04.liquid" because it was not found. [/builddir/FHIR-Converter/src/Microsoft.Health.Fhir.TemplateManagement.UnitTests/Microsoft.Health.Fhir.TemplateManagement.UnitTests.csproj]
Microsoft.Health.Fhir.TemplateManagement.FunctionalTests -> /publish/
Microsoft.Health.Fhir.Liquid.Converter.Tool -> /builddir/FHIR-Converter/src/Microsoft.Health.Fhir.Liquid.Converter.Tool/bin/Debug/netcoreapp3.1/ubuntu-x64/Microsoft.Health.Fhir.Liquid.Converter.Tool.dll
Microsoft.Health.Fhir.Liquid.Converter.Tool -> /publish/
The command '/bin/sh -c dotnet publish /builddir/FHIR-Converter -c Debug --output /publish --self-contained false --runtime ubuntu-x64' returned a non-zero code: 1
But the app builds and runs just fine on my Mac though this file "VXU_V04.liquid" shows to be corrupted, see below:
drwxr-xr-x 2 root root 4096 Apr 11 14:07 .
drwxr-xr-x 10 root root 4096 Apr 11 14:07 ..
-rw-r--r-- 1 root root 3491 Apr 11 14:07 ADT_A01.liquid
-rw-r--r-- 1 root root 3484 Apr 11 14:07 ORU_R01.liquid
c????????? ? ? ? ? ? VXU_V04.liquid
My workaround is to fork the repo and remove all of the "test" projects. But I'd rather to use the original repo "microsoft/FHIR-Converter" repo if that's all possible.
Has anyone encounter the same issue and knows a workaround?
Thanks.
The text was updated successfully, but these errors were encountered: