Pipiline fails in self hosted Windows Runner, even after successfull build and test execution?
Asked by Aneesh P S:

I am using the following pipeline for self-hosted Windows Runner. The bitbucket pipeline always fails, though the build is succeeded and all the tests are passed.

I get this message in the ++build teardown++ - **Completing step with result Result{status=FAILED, error=None},** in the runner console.  

```
pipelines:    branches:        pull-requests:            - step:                runs-on:                  - self.hosted                  - windows                name: Build and Test                caches:                    - dotnetcore                script:                    - $SOLUTION_NAME="SmartWorkstation"                    - $CONFIGURATION="Release"                    - $REPORTS_PATH="./test-reports/build_$BITBUCKET_BUILD_NUMBER"                    - dotnet restore ./$SOLUTION_NAME/$SOLUTION_NAME.sln                    - dotnet build --no-restore --configuration $CONFIGURATION ./$SOLUTION_NAME/$SOLUTION_NAME.sln                    - dotnet test --no-build --configuration $CONFIGURATION ./$SOLUTION_NAME/$SOLUTION_NAME.sln --logger:"junit;LogFilePath=$REPORTS_PATH/junit.xml"
```

How can I fix this?


Answers:
author: Fabien MENAGER
body: Same issue here, dotnet test witjout build, and reports correctly exported as JUnit. When at least one test fails, we get the full report in a dedicated tab, wut when none fails, the tab is not here (it may be normal), but the pipeline fails.

```
Results File: ./test-reports/build_616/results.xml

Passed! - Failed: 0, Passed: 23, Skipped: 0, Total: 23, Duration: 8 m 6 s - /opt/atlassian/pipelines/agent/build/tests/Helium.Pdf.Tests/bin/Release/net6.0/Helium.Pdf.Tests.dll (net6.0)
Skipping cache upload for failed step
Searching for test report files in directories named [test-reports, TestResults, test-results, surefire-reports, failsafe-reports] down to a depth of 4
Found matching test report file /tmp/7e2454f1-35d2-5f9c-89da-0c7bbae69b9e/build/tests/Helium.Pdf.Tests/test-reports/build_616/results.xml
Located test suite containing 23 tests, with 0 failures and 0 errors.
```

...

```
Located test suite containing 2 tests, with 0 failures and 0 errors.
Finished scanning for test reports. Found 16 test report files.
Merged test suites, total number tests is 770, with 0 failures and 0 errors.
Uploading test results
Finished uploading test results.
```


author: Aneesh P S
body: Here is the pipeline log

```
Runner matching labels:    - windows    - self.hostedRunner name: SmartRunnerRunner labels: windows, self.hostedRunner version:    current: 1.323    latest: 1.323+ $env:GIT_LFS_SKIP_SMUDGE = '1'; git clone --branch='master' --depth 50 "https://x-token-auth:$Env:REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/$env:BITBUCKET_REPO_FULL_NAME.git" $env:BUILD_DIRCloning into 'C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\bin\..\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build'...Updating files:  48% (364/749)Updating files:  49% (368/749)Updating files:  50% (375/749)Updating files:  51% (382/749)Updating files:  52% (390/749)Updating files:  53% (397/749)Updating files:  54% (405/749)Updating files:  55% (412/749)Updating files:  56% (420/749)Updating files:  57% (427/749)Updating files:  58% (435/749)Updating files:  59% (442/749)Updating files:  60% (450/749)Updating files:  61% (457/749)Updating files:  62% (465/749)Updating files:  63% (472/749)Updating files:  64% (480/749)Updating files:  64% (481/749)Updating files:  65% (487/749)Updating files:  66% (495/749)Updating files:  67% (502/749)Updating files:  68% (510/749)Updating files:  69% (517/749)Updating files:  70% (525/749)Updating files:  71% (532/749)Updating files:  72% (540/749)Updating files:  73% (547/749)Updating files:  74% (555/749)Updating files:  75% (562/749)Updating files:  76% (570/749)Updating files:  77% (577/749)Updating files:  78% (585/749)Updating files:  79% (592/749)Updating files:  80% (600/749)Updating files:  81% (607/749)Updating files:  82% (615/749)Updating files:  83% (622/749)Updating files:  84% (630/749)Updating files:  85% (637/749)Updating files:  86% (645/749)Updating files:  87% (652/749)Updating files:  88% (660/749)Updating files:  88% (664/749)Updating files:  89% (667/749)Updating files:  90% (675/749)Updating files:  91% (682/749)Updating files:  92% (690/749)Updating files:  93% (697/749)Updating files:  94% (705/749)Updating files:  95% (712/749)Updating files:  96% (720/749)Updating files:  97% (727/749)Updating files:  98% (735/749)Updating files:  99% (742/749)Updating files: 100% (749/749)Updating files: 100% (749/749), done.+ git reset --hard 303516adaf6fb32a62069709926333fa2c7b89a3HEAD is now at 303516a https://bitbucket.org/smartprinter/smartprinter/src/303516adaf6fb32a62069709926333fa2c7b89a3/bitbucket-pipelines.yml edited online with Bitbucket - test run is added+ git config user.name bitbucket-pipelines+ git config user.email commits-noreply@bitbucket.org+ git config push.default current+ git remote set-url origin https://bitbucket.org/$env:BITBUCKET_REPO_FULL_NAME.git+ git reflog expire --expire=all --allCache "dotnetcore": DownloadingCache "dotnetcore": Not found+ $SOLUTION_NAME="SmartWorkstation"+ $CONFIGURATION="Release"+ $REPORTS_PATH="./test-reports/build_$BITBUCKET_BUILD_NUMBER"+ dotnet restore ./$SOLUTION_NAME/$SOLUTION_NAME.sln  Determining projects to restore...  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerUseCaseTest\ViewerUseCaseTest.csproj (in 722 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerAdapterTest\ViewerAdapterTest.csproj (in 721 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\StudyList\StudyListUseCases\StudyListUseCasesTest.csproj (in 163 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\TestUtilities\TestUtilities.csproj (in 233 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Common.Test\Common.Test.csproj (in 28 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\StudyList\StudyListUseCases\StudyListUseCases.csproj (in 1 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Viewer\ViewerUseCases\ViewerUseCases.csproj (in 7 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj (in 25 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Viewer\ViewerDomain\ViewerDomain.csproj (in 3 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Viewer\ViewerAdapters\ViewerAdapters.csproj (in 7 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\StudyList\StudyListDomain\StudyListDomain.csproj (in 0.9 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\StudyList\StudyListAdapters\StudyListAdapters.csproj (in 2 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\DicomLibrary\DicomLibrary\DicomLibrary.csproj (in 6 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\DAL\DAL.csproj (in 2 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Common\Utilities\Utilities.csproj (in 1 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\SmartWorkstation\SmartWorkstation\SmartWorkstation.csproj (in 89 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Common\Configuration\Configuration.csproj (in 2 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppUseCases\BaseAppUseCases.csproj (in 2 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppDomain\BaseAppDomain.csproj (in 6 ms).  Restored C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppAdapters\BaseAppAdapters.csproj (in 8 ms).+ dotnet build --no-restore --configuration $CONFIGURATION ./$SOLUTION_NAME/$SOLUTION_NAME.slnMicrosoft (R) Build Engine version 17.2.0+41abc5629 for .NETCopyright (C) Microsoft Corporation. All rights reserved.  BaseAppDomain -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppDomain\bin\Release\net6.0\BaseAppDomain.dll  BaseAppAdapters -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppAdapters\bin\Release\net6.0-windows\BaseAppAdapters.dll  StudyListUseCases -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\StudyList\StudyListUseCases\bin\Release\net6.0\StudyListUseCases.dllC:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppUseCases\Habits\LoadStudyHabit.cs(42,57): warning CS8604: Possible null reference argument for parameter 'seriesKey' in 'SeriesInfo LoadStudyHabit.GetOrAddSeries(IDictionary<string, SeriesInfo> dictionary, string seriesKey, Func<SeriesInfo> seriesFactory)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppUseCases\BaseAppUseCases.csproj]  BaseAppUseCases -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppUseCases\bin\Release\net6.0\BaseAppUseCases.dll  StudyListAdapters -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\StudyList\StudyListAdapters\bin\Release\net6.0-windows\StudyListAdapters.dll  ViewerDomain -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Viewer\ViewerDomain\bin\Release\net6.0\ViewerDomain.dll  Utilities -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Common\Utilities\bin\Release\net6.0\Utilities.dll  StudyListDomain -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\StudyList\StudyListDomain\bin\Release\net6.0\StudyListDomain.dll  ViewerUseCases -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Viewer\ViewerUseCases\bin\Release\net6.0\ViewerUseCases.dll  ViewerAdapters -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Viewer\ViewerAdapters\bin\Release\net6.0-windows\ViewerAdapters.dll  TestUtilities -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\TestUtilities\bin\Release\net6.0-windows\TestUtilities.dll  Configuration -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Common\Configuration\bin\Release\net6.0\Configuration.dll  DicomLibrary -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\DicomLibrary\DicomLibrary\bin\Release\net6.0\DicomLibrary.dll  DAL -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\DAL\bin\Release\net6.0\DAL.dll  ViewerAdapterTest -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerAdapterTest\bin\Release\net6.0-windows\ViewerAdapterTest.dll  Common.Test -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Common.Test\bin\Release\net6.0-windows\Common.Test.dll  SmartWorkstation -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\SmartWorkstation\SmartWorkstation\bin\Release\net6.0-windows\SmartWorkstation.dll  ViewerUseCaseTest -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerUseCaseTest\bin\Release\net6.0-windows\ViewerUseCaseTest.dll  StudyListUseCasesTest -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\StudyList\StudyListUseCases\bin\Release\net6.0\StudyListUseCasesTest.dllC:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(50,25): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(69,27): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(73,25): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(88,37): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(89,34): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(89,34): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(101,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(101,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First<SeriesInfo>(IEnumerable<SeriesInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(121,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(121,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First<SeriesInfo>(IEnumerable<SeriesInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(126,25): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(138,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(138,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First<SeriesInfo>(IEnumerable<SeriesInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(139,25): warning CS8604: Possible null reference argument for parameter 'source' in 'ImageInfo Enumerable.First<ImageInfo>(IEnumerable<ImageInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]  BaseAppUseCaseTest -> C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\bin\Release\net6.0-windows\BaseAppUseCaseTest.dllBuild succeeded.C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppUseCases\Habits\LoadStudyHabit.cs(42,57): warning CS8604: Possible null reference argument for parameter 'seriesKey' in 'SeriesInfo LoadStudyHabit.GetOrAddSeries(IDictionary<string, SeriesInfo> dictionary, string seriesKey, Func<SeriesInfo> seriesFactory)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\BaseApp\BaseAppUseCases\BaseAppUseCases.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(50,25): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(69,27): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(73,25): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(88,37): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(89,34): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(89,34): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(101,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(101,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First<SeriesInfo>(IEnumerable<SeriesInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(121,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(121,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First<SeriesInfo>(IEnumerable<SeriesInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(126,25): warning CS8602: Dereference of a possibly null reference. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(138,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First<StudyInfo>(IEnumerable<StudyInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(138,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First<SeriesInfo>(IEnumerable<SeriesInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\LoadStudyHabitTest.cs(139,25): warning CS8604: Possible null reference argument for parameter 'source' in 'ImageInfo Enumerable.First<ImageInfo>(IEnumerable<ImageInfo> source)'. [C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\BaseAppUseCaseTest.csproj]    15 Warning(s)    0 Error(s)Time Elapsed 00:00:10.19+ dotnet test --no-build --configuration $CONFIGURATION ./$SOLUTION_NAME/$SOLUTION_NAME.sln --logger:"junit;LogFilePath=$REPORTS_PATH/junit.xml"Test run for C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerAdapterTest\bin\Release\net6.0-windows\ViewerAdapterTest.dll (.NETCoreApp,Version=v6.0)Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)Copyright (c) Microsoft Corporation.  All rights reserved.Starting test execution, please wait...A total of 1 test files matched the specified pattern.Results File: C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerAdapterTest\test-reports\build_\junit.xmlPassed!  - Failed:     0, Passed:     1, Skipped:     0, Total:     1, Duration: < 1 ms - ViewerAdapterTest.dll (net6.0)Test run for C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Common.Test\bin\Release\net6.0-windows\Common.Test.dll (.NETCoreApp,Version=v6.0)Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)Copyright (c) Microsoft Corporation.  All rights reserved.Starting test execution, please wait...A total of 1 test files matched the specified pattern.Results File: C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Common.Test\test-reports\build_\junit.xmlPassed!  - Failed:     0, Passed:    17, Skipped:     0, Total:    17, Duration: 1 s - Common.Test.dll (net6.0)Test run for C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\StudyList\StudyListUseCases\bin\Release\net6.0\StudyListUseCasesTest.dll (.NETCoreApp,Version=v6.0)Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)Copyright (c) Microsoft Corporation.  All rights reserved.Test run for C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerUseCaseTest\bin\Release\net6.0-windows\ViewerUseCaseTest.dll (.NETCoreApp,Version=v6.0)Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)Copyright (c) Microsoft Corporation.  All rights reserved.Starting test execution, please wait...A total of 1 test files matched the specified pattern.Starting test execution, please wait...A total of 1 test files matched the specified pattern.Results File: C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\StudyList\StudyListUseCases\test-reports\build_\junit.xmlPassed!  - Failed:     0, Passed:     2, Skipped:     0, Total:     2, Duration: 16 ms - StudyListUseCasesTest.dll (net6.0)Test run for C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\bin\Release\net6.0-windows\BaseAppUseCaseTest.dll (.NETCoreApp,Version=v6.0)Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)Copyright (c) Microsoft Corporation.  All rights reserved.Starting test execution, please wait...A total of 1 test files matched the specified pattern.Results File: C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerUseCaseTest\test-reports\build_\junit.xmlPassed!  - Failed:     0, Passed:     2, Skipped:     0, Total:     2, Duration: 4 ms - ViewerUseCaseTest.dll (net6.0)Results File: C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\test-reports\build_\junit.xmlPassed!  - Failed:     0, Passed:     7, Skipped:     0, Total:     7, Duration: 494 ms - BaseAppUseCaseTest.dll (net6.0)Skipping cache upload for failed stepSearching for test report files in directories named [failsafe-reports, TestResults, surefire-reports, test-reports, test-results] down to a depth of 4Found matching test report file C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\bin\..\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\BaseApp\BaseAppUseCaseTest\test-reports\build_\junit.xmlLocated test suite containing 7 tests, with 0 failures and 0 errors.Found matching test report file C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\bin\..\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Common.Test\test-reports\build_\junit.xmlLocated test suite containing 17 tests, with 0 failures and 0 errors.Found matching test report file C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\bin\..\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\StudyList\StudyListUseCases\test-reports\build_\junit.xmlLocated test suite containing 2 tests, with 0 failures and 0 errors.Found matching test report file C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\bin\..\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerAdapterTest\test-reports\build_\junit.xmlLocated test suite containing 1 tests, with 0 failures and 0 errors.Found matching test report file C:\Users\newrunner\atlassian-bitbucket-pipelines-runner\bin\..\temp\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\1653971207675\build\Test\Viewer\ViewerUseCaseTest\test-reports\build_\junit.xmlLocated test suite containing 2 tests, with 0 failures and 0 errors.Finished scanning for test reports. Found 5 test report files.Merged test suites, total number tests is 29, with 0 failures and 0 errors.Uploading test resultsFinished uploading test results.
```


author: Aneesh P S
body: ++The pipeline log is given below++

Runner matching labels:  
- windows  
- self.hosted  
Runner name: SmartRunner  
Runner labels: windows, self.hosted  
Runner version:  
current: 1.323  
latest: 1.323  
+ $env:GIT_LFS_SKIP_SMUDGE = '1'; git clone --branch='master' --depth 50 "https://x-token-auth:$Env:REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/$env:BITBUCKET_REPO_FULL_NAME.git" $env:BUILD_DIR  
Cloning into 'C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\bin\\..\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build'...  
Updating files: 48% (364/749)  
Updating files: 49% (368/749)  
Updating files: 50% (375/749)  
Updating files: 51% (382/749)  
Updating files: 52% (390/749)  
Updating files: 53% (397/749)  
Updating files: 54% (405/749)  
Updating files: 55% (412/749)  
Updating files: 56% (420/749)  
Updating files: 57% (427/749)  
Updating files: 58% (435/749)  
Updating files: 59% (442/749)  
Updating files: 60% (450/749)  
Updating files: 61% (457/749)  
Updating files: 62% (465/749)  
Updating files: 63% (472/749)  
Updating files: 64% (480/749)  
Updating files: 64% (481/749)  
Updating files: 65% (487/749)  
Updating files: 66% (495/749)  
Updating files: 67% (502/749)  
Updating files: 68% (510/749)  
Updating files: 69% (517/749)  
Updating files: 70% (525/749)  
Updating files: 71% (532/749)  
Updating files: 72% (540/749)  
Updating files: 73% (547/749)  
Updating files: 74% (555/749)  
Updating files: 75% (562/749)  
Updating files: 76% (570/749)  
Updating files: 77% (577/749)  
Updating files: 78% (585/749)  
Updating files: 79% (592/749)  
Updating files: 80% (600/749)  
Updating files: 81% (607/749)  
Updating files: 82% (615/749)  
Updating files: 83% (622/749)  
Updating files: 84% (630/749)  
Updating files: 85% (637/749)  
Updating files: 86% (645/749)  
Updating files: 87% (652/749)  
Updating files: 88% (660/749)  
Updating files: 88% (664/749)  
Updating files: 89% (667/749)  
Updating files: 90% (675/749)  
Updating files: 91% (682/749)  
Updating files: 92% (690/749)  
Updating files: 93% (697/749)  
Updating files: 94% (705/749)  
Updating files: 95% (712/749)  
Updating files: 96% (720/749)  
Updating files: 97% (727/749)  
Updating files: 98% (735/749)  
Updating files: 99% (742/749)  
Updating files: 100% (749/749)  
Updating files: 100% (749/749), done.

+ git reset --hard 303516adaf6fb32a62069709926333fa2c7b89a3  
HEAD is now at 303516a <https://bitbucket.org/smartprinter/smartprinter/src/303516adaf6fb32a62069709926333fa2c7b89a3/bitbucket-pipelines.yml> edited online with Bitbucket - test run is added

+ git config user.name bitbucket-pipelines

+ git config user.email commits-noreply@bitbucket.org

+ git config push.default current

+ git remote set-url origin <https://bitbucket.org/$env:BITBUCKET_REPO_FULL_NAME.git>

+ git reflog expire --expire=all --all

Cache "dotnetcore": Downloading  
Cache "dotnetcore": Not found

+ $SOLUTION_NAME="SmartWorkstation"

+ $CONFIGURATION="Release"

+ $REPORTS_PATH="./test-reports/build_$BITBUCKET_BUILD_NUMBER"

+ dotnet restore ./$SOLUTION_NAME/$SOLUTION_NAME.sln  
Determining projects to restore...  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerUseCaseTest\\ViewerUseCaseTest.csproj (in 722 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerAdapterTest\\ViewerAdapterTest.csproj (in 721 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\StudyList\\StudyListUseCases\\StudyListUseCasesTest.csproj (in 163 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\TestUtilities\\TestUtilities.csproj (in 233 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Common.Test\\Common.Test.csproj (in 28 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\StudyList\\StudyListUseCases\\StudyListUseCases.csproj (in 1 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Viewer\\ViewerUseCases\\ViewerUseCases.csproj (in 7 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj (in 25 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Viewer\\ViewerDomain\\ViewerDomain.csproj (in 3 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Viewer\\ViewerAdapters\\ViewerAdapters.csproj (in 7 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\StudyList\\StudyListDomain\\StudyListDomain.csproj (in 0.9 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\StudyList\\StudyListAdapters\\StudyListAdapters.csproj (in 2 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\DicomLibrary\\DicomLibrary\\DicomLibrary.csproj (in 6 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\DAL\\DAL.csproj (in 2 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Common\\Utilities\\Utilities.csproj (in 1 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\SmartWorkstation\\SmartWorkstation\\SmartWorkstation.csproj (in 89 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Common\\Configuration\\Configuration.csproj (in 2 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppUseCases\\BaseAppUseCases.csproj (in 2 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppDomain\\BaseAppDomain.csproj (in 6 ms).  
Restored C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppAdapters\\BaseAppAdapters.csproj (in 8 ms).

+ dotnet build --no-restore --configuration $CONFIGURATION ./$SOLUTION_NAME/$SOLUTION_NAME.sln  
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET  
Copyright (C) Microsoft Corporation. All rights reserved.

BaseAppDomain -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppDomain\\bin\\Release\\net6.0\\BaseAppDomain.dll  
BaseAppAdapters -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppAdapters\\bin\\Release\\net6.0-windows\\BaseAppAdapters.dll  
StudyListUseCases -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\StudyList\\StudyListUseCases\\bin\\Release\\net6.0\\StudyListUseCases.dll  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppUseCases\\Habits\\LoadStudyHabit.cs(42,57): warning CS8604: Possible null reference argument for parameter 'seriesKey' in 'SeriesInfo LoadStudyHabit.GetOrAddSeries(IDictionary\<string, SeriesInfo\> dictionary, string seriesKey, Func\<SeriesInfo\> seriesFactory)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppUseCases\\BaseAppUseCases.csproj\]  
BaseAppUseCases -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppUseCases\\bin\\Release\\net6.0\\BaseAppUseCases.dll  
StudyListAdapters -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\StudyList\\StudyListAdapters\\bin\\Release\\net6.0-windows\\StudyListAdapters.dll  
ViewerDomain -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Viewer\\ViewerDomain\\bin\\Release\\net6.0\\ViewerDomain.dll  
Utilities -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Common\\Utilities\\bin\\Release\\net6.0\\Utilities.dll  
StudyListDomain -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\StudyList\\StudyListDomain\\bin\\Release\\net6.0\\StudyListDomain.dll  
ViewerUseCases -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Viewer\\ViewerUseCases\\bin\\Release\\net6.0\\ViewerUseCases.dll  
ViewerAdapters -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Viewer\\ViewerAdapters\\bin\\Release\\net6.0-windows\\ViewerAdapters.dll  
TestUtilities -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\TestUtilities\\bin\\Release\\net6.0-windows\\TestUtilities.dll  
Configuration -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Common\\Configuration\\bin\\Release\\net6.0\\Configuration.dll  
DicomLibrary -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\DicomLibrary\\DicomLibrary\\bin\\Release\\net6.0\\DicomLibrary.dll  
DAL -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\DAL\\bin\\Release\\net6.0\\DAL.dll  
ViewerAdapterTest -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerAdapterTest\\bin\\Release\\net6.0-windows\\ViewerAdapterTest.dll  
Common.Test -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Common.Test\\bin\\Release\\net6.0-windows\\Common.Test.dll  
SmartWorkstation -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\SmartWorkstation\\SmartWorkstation\\bin\\Release\\net6.0-windows\\SmartWorkstation.dll  
ViewerUseCaseTest -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerUseCaseTest\\bin\\Release\\net6.0-windows\\ViewerUseCaseTest.dll  
StudyListUseCasesTest -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\StudyList\\StudyListUseCases\\bin\\Release\\net6.0\\StudyListUseCasesTest.dll  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(50,25): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(69,27): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(73,25): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(88,37): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(89,34): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(89,34): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(101,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(101,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First\<SeriesInfo\>(IEnumerable\<SeriesInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(121,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(121,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First\<SeriesInfo\>(IEnumerable\<SeriesInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(126,25): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(138,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(138,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First\<SeriesInfo\>(IEnumerable\<SeriesInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(139,25): warning CS8604: Possible null reference argument for parameter 'source' in 'ImageInfo Enumerable.First\<ImageInfo\>(IEnumerable\<ImageInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
BaseAppUseCaseTest -\> C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\bin\\Release\\net6.0-windows\\BaseAppUseCaseTest.dll

Build succeeded.

C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppUseCases\\Habits\\LoadStudyHabit.cs(42,57): warning CS8604: Possible null reference argument for parameter 'seriesKey' in 'SeriesInfo LoadStudyHabit.GetOrAddSeries(IDictionary\<string, SeriesInfo\> dictionary, string seriesKey, Func\<SeriesInfo\> seriesFactory)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\BaseApp\\BaseAppUseCases\\BaseAppUseCases.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(50,25): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(69,27): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(73,25): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(88,37): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(89,34): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(89,34): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(101,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(101,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First\<SeriesInfo\>(IEnumerable\<SeriesInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(121,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(121,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First\<SeriesInfo\>(IEnumerable\<SeriesInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(126,25): warning CS8602: Dereference of a possibly null reference. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(138,26): warning CS8604: Possible null reference argument for parameter 'source' in 'StudyInfo Enumerable.First\<StudyInfo\>(IEnumerable\<StudyInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(138,26): warning CS8604: Possible null reference argument for parameter 'source' in 'SeriesInfo Enumerable.First\<SeriesInfo\>(IEnumerable\<SeriesInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\LoadStudyHabitTest.cs(139,25): warning CS8604: Possible null reference argument for parameter 'source' in 'ImageInfo Enumerable.First\<ImageInfo\>(IEnumerable\<ImageInfo\> source)'. \[C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\BaseAppUseCaseTest.csproj\]  
15 Warning(s)  
0 Error(s)

Time Elapsed 00:00:10.19

+ dotnet test --no-build --configuration $CONFIGURATION ./$SOLUTION_NAME/$SOLUTION_NAME.sln --logger:"junit;LogFilePath=$REPORTS_PATH/junit.xml"  
Test run for C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerAdapterTest\\bin\\Release\\net6.0-windows\\ViewerAdapterTest.dll (.NETCoreApp,Version=v6.0)  
Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)  
Copyright (c) Microsoft Corporation. All rights reserved.

Starting test execution, please wait...  
A total of 1 test files matched the specified pattern.  
Results File: C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerAdapterTest\\test-reports\\build_\\junit.xml

Passed! - Failed: 0, Passed: 1, Skipped: 0, Total: 1, Duration: \< 1 ms - ViewerAdapterTest.dll (net6.0)  
Test run for C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Common.Test\\bin\\Release\\net6.0-windows\\Common.Test.dll (.NETCoreApp,Version=v6.0)  
Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)  
Copyright (c) Microsoft Corporation. All rights reserved.

Starting test execution, please wait...  
A total of 1 test files matched the specified pattern.  
Results File: C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Common.Test\\test-reports\\build_\\junit.xml

Passed! - Failed: 0, Passed: 17, Skipped: 0, Total: 17, Duration: 1 s - Common.Test.dll (net6.0)  
Test run for C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\StudyList\\StudyListUseCases\\bin\\Release\\net6.0\\StudyListUseCasesTest.dll (.NETCoreApp,Version=v6.0)  
Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)  
Copyright (c) Microsoft Corporation. All rights reserved.  
Test run for C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerUseCaseTest\\bin\\Release\\net6.0-windows\\ViewerUseCaseTest.dll (.NETCoreApp,Version=v6.0)

Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)  
Copyright (c) Microsoft Corporation. All rights reserved.

Starting test execution, please wait...  
A total of 1 test files matched the specified pattern.  
Starting test execution, please wait...  
A total of 1 test files matched the specified pattern.  
Results File: C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\StudyList\\StudyListUseCases\\test-reports\\build_\\junit.xml

Passed! - Failed: 0, Passed: 2, Skipped: 0, Total: 2, Duration: 16 ms - StudyListUseCasesTest.dll (net6.0)  
Test run for C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\bin\\Release\\net6.0-windows\\BaseAppUseCaseTest.dll (.NETCoreApp,Version=v6.0)  
Microsoft (R) Test Execution Command Line Tool Version 17.2.0 (x64)  
Copyright (c) Microsoft Corporation. All rights reserved.

Starting test execution, please wait...  
A total of 1 test files matched the specified pattern.  
Results File: C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerUseCaseTest\\test-reports\\build_\\junit.xml

Passed! - Failed: 0, Passed: 2, Skipped: 0, Total: 2, Duration: 4 ms - ViewerUseCaseTest.dll (net6.0)  
Results File: C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\test-reports\\build_\\junit.xml

Passed! - Failed: 0, Passed: 7, Skipped: 0, Total: 7, Duration: 494 ms - BaseAppUseCaseTest.dll (net6.0)  
Skipping cache upload for failed step  
Searching for test report files in directories named \[failsafe-reports, TestResults, surefire-reports, test-reports, test-results\] down to a depth of 4  
Found matching test report file C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\bin\\..\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\BaseApp\\BaseAppUseCaseTest\\test-reports\\build_\\junit.xml  
Located test suite containing 7 tests, with 0 failures and 0 errors.  
Found matching test report file C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\bin\\..\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Common.Test\\test-reports\\build_\\junit.xml  
Located test suite containing 17 tests, with 0 failures and 0 errors.  
Found matching test report file C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\bin\\..\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\StudyList\\StudyListUseCases\\test-reports\\build_\\junit.xml  
Located test suite containing 2 tests, with 0 failures and 0 errors.  
Found matching test report file C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\bin\\..\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerAdapterTest\\test-reports\\build_\\junit.xml  
Located test suite containing 1 tests, with 0 failures and 0 errors.  
Found matching test report file C:\\Users\\newrunner\\atlassian-bitbucket-pipelines-runner\\bin\\..\\temp\\ea261c88-26ec-5b00-b0cf-c1682acc2f0f\\1653971207675\\build\\Test\\Viewer\\ViewerUseCaseTest\\test-reports\\build_\\junit.xml  
Located test suite containing 2 tests, with 0 failures and 0 errors.  
Finished scanning for test reports. Found 5 test report files.  
Merged test suites, total number tests is 29, with 0 failures and 0 errors.  
Uploading test results  
Finished uploading test results.


Tags: bitbucket-server

self-hosted-windows

windows-runner