Failing task since test cases were expected but none were found. |
Finished task 'Unit Test task' with result: Failed |
Bamboo NUnit Task: nunit3-console.exe V3.9.0
------------------
Log
---------------------
simple 14-???-2018 00:19:25 Build Inora Life Project - Inora Plan - Default Job #150 (ILP-IP-JOB1-150) started building on agent Default Agent
simple 14-???-2018 00:19:26
simple 14-???-2018 00:19:26 Build working directory is C:\ProgramData\bamboo-home\xml-data\build-dir\196609\ILP-IP-JOB1
simple 14-???-2018 00:19:26 Executing build Inora Life Project - Inora Plan - Default Job #150 (ILP-IP-JOB1-150)
simple 14-???-2018 00:19:26 Starting task 'Check out task' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple 14-???-2018 00:19:26 Checking out into C:\ProgramData\bamboo-home\xml-data\build-dir\196609\ILP-IP-JOB1
simple 14-???-2018 00:19:26 Updating source code to revision: f18a74f020b4b63242b6f9c51a97bd260fbfc01c
simple 14-???-2018 00:19:26 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pt/inora.git'.
simple 14-???-2018 00:19:26 Warning: Permanently added '[127.0.0.1]:51719' (RSA) to the list of known hosts.
simple 14-???-2018 00:19:26 Fetching master
simple 14-???-2018 00:19:26 Checking out revision f18a74f020b4b63242b6f9c51a97bd260fbfc01c.
simple 14-???-2018 00:19:26 Already on 'master'
simple 14-???-2018 00:19:26 Your branch is up to date with 'origin/master'.
simple 14-???-2018 00:19:27 Updated source code to revision: f18a74f020b4b63242b6f9c51a97bd260fbfc01c
simple 14-???-2018 00:19:27 Finished task 'Check out task' with result: Success
simple 14-???-2018 00:19:27 Running pre-build action: VCS Version Collector
simple 14-???-2018 00:19:27 Starting task 'Compile task' of type 'com.atlassian.bamboo.plugin.dotnet:msbuild'
command 14-???-2018 00:19:27
build 14-???-2018 00:19:27 Build succeeded.
build 14-???-2018 00:19:27 0 Warning(s)
build 14-???-2018 00:19:27 0 Error(s)
build 14-???-2018 00:19:27
build 14-???-2018 00:19:27 Time Elapsed 00:00:00.24
simple 14-???-2018 00:19:27 Finished task 'Compile task' with result: Success
simple 14-???-2018 00:19:27 Starting task 'Unit Test task' of type 'com.atlassian.bamboo.plugin.dotnet:nunitRunner'
command 14-???-2018 00:19:27 Beginning to execute external process for build 'Inora Life Project - Inora Plan - Default Job #150 (ILP-IP-JOB1-150)'\n ... running command line: \nC:\Program Files (x86)\NUnit.org\nunit-console\nunit3-console.exe .\InoraCodes\WinFormDemo\WinFormDemoTests\WinFormDemoTests.csproj --result=.\test-reports\TestResult.xml;format=nunit2\n ... in: C:\ProgramData\bamboo-home\xml-data\build-dir\196609\ILP-IP-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_planRepository_1_branchDisplayName=master\nbamboo_repository_revision_number=f18a74f020b4b63242b6f9c51a97bd260fbfc01c\nbamboo_capability_system_builder_nunit_NUnit_2_6_4=C:\Program Files (x86)\NUnit 2.6.4\bin\nunit-console.exe\nbamboo_resultsUrl=http://183.159.120.13:8085/browse/ILP-IP-JOB1-150\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_build_working_directory=C:\ProgramData\bamboo-home\xml-data\build-dir\196609\ILP-IP-JOB1\nbamboo_planRepository_1_name=InoraRepo\nbamboo_buildKey=ILP-IP-JOB1\nbamboo_shortPlanName=Inora Plan\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_repository_589825_previous_revision_number=f18a74f020b4b63242b6f9c51a97bd260fbfc01c\nbamboo_repository_589825_git_branch=master\nbamboo_planRepository_name=InoraRepo\nbamboo_capability_system_builder_devenv_devenv_com=D:\Program Files\Visual Studio 2017\Common7\IDE\nbamboo_capability_system_builder_msbuild_MSBuild_v15___64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v15.0\MSBuild.exe\nbamboo_buildNumber=150\nbamboo_repository_589825_name=InoraRepo\nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=http://183.159.120.13:8085/browse/ILP-IP-JOB1-150\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/pt/inora.git\nbamboo_agentId=196609\nbamboo_planName=Inora Life Project - Inora Plan\nbamboo_shortPlanKey=IP\nbamboo_shortJobKey=JOB1\nbamboo_planRepository_revision=f18a74f020b4b63242b6f9c51a97bd260fbfc01c\nbamboo_buildTimeStamp=2018-12-14T00:19:25.920+08:00\nbamboo_repository_previous_revision_number=f18a74f020b4b63242b6f9c51a97bd260fbfc01c\nbamboo_capability_system_builder_nunit_NUnit_2_6_4__32bit_=C:\Program Files (x86)\NUnit 2.6.4\bin\nunit-console-x86.exe\nbamboo_planRepository_previousRevision=f18a74f020b4b63242b6f9c51a97bd260fbfc01c\nbamboo_repository_git_branch=master\nbamboo_buildResultKey=ILP-IP-JOB1-150\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=Inora Life Project - Inora Plan - Default Job\nbamboo_planRepository_1_revision=f18a74f020b4b63242b6f9c51a97bd260fbfc01c\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_repository_589825_git_repositoryUrl=ssh://git@localhost:7999/pt/inora.git\nbamboo_repository_name=InoraRepo\nbamboo_capability_system_builder_msbuild_MSBuild_v15_0=D:\Program Files\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe\nbamboo_repository_589825_branch_name=master\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_dependenciesDisabled=false\nbamboo_buildFailed=false\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=C:\ProgramData\bamboo-home\xml-data\build-dir\196609\nbamboo_capability_system_git_executable=D:\Program Files\Git\cmd\git.exe\nbamboo_repository_git_username=\nbamboo_planRepository_1_previousRevision=f18a74f020b4b63242b6f9c51a97bd260fbfc01c\nbamboo_planRepository_branchDisplayName=master\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=master\nbamboo_capability_system_jdk_JDK=D:\Program Files\Java\jdk1.8.0_161\nbamboo_repository_589825_git_username=\nbamboo_plan_storageTag=plan-393217\nbamboo_hg_cache_directory=C:\ProgramData\bamboo-home\xml-data\build-dir\_hg-repositories-cache\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=bbserver\nbamboo_git_cache_directory=C:\ProgramData\bamboo-home\xml-data\build-dir\_git-repositories-cache\nbamboo_ManualBuildTriggerReason_userName=yangyong\nbamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/pt/inora.git\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nbamboo_capability_system_builder_nunit_NUnit_2_4=D:\Program Files\NUnit\nunit-console.exe\nbamboo_tmp_directory=C:\ProgramData\bamboo-home\temp\nbamboo_working_directory=C:\ProgramData\bamboo-home\xml-data\build-dir\196609\ILP-IP-JOB1\nbamboo_build_commandline_com_atlassian_bamboo_plugin_dotnet_msbuild_2=D:\Program Files\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe @D:\Program Files\Atlassian\Bamboo\temp\ILP-IP-JOB1-150-MsBuildTaskType-3724826906667758046.rsp\nbamboo_planKey=ILP-IP\nbamboo_planRepository_1_repositoryUrl=ssh://git@localhost:7999/pt/inora.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=D:\Program Files\Java\jdk1.8.0_161\nbamboo_capability_system_builder_nunit3_NUnit_v3_0=C:\Program Files (x86)\NUnit.org\nunit-console\nunit3-console.exe\nbamboo_capability_system_jdk_JDK_1_8_0_161=D:\Program Files\Java\jdk1.8.0_161\nbamboo_repository_589825_revision_number=f18a74f020b4b63242b6f9c51a97bd260fbfc01c\nbamboo_planRepository_1_branchName=master\n
build 14-???-2018 00:19:27 NUnit Console Runner 3.9.0
build 14-???-2018 00:19:27 Copyright (c) 2018 Charlie Poole, Rob Prouse
build 14-???-2018 00:19:27
build 14-???-2018 00:19:27 Runtime Environment
build 14-???-2018 00:19:27 OS Version: Microsoft Windows NT 10.0.17134.0
build 14-???-2018 00:19:27 CLR Version: 4.0.30319.42000
build 14-???-2018 00:19:27
build 14-???-2018 00:19:27 Test Files
build 14-???-2018 00:19:27 .\InoraCodes\WinFormDemo\WinFormDemoTests\WinFormDemoTests.csproj
build 14-???-2018 00:19:27
build 14-???-2018 00:19:28
build 14-???-2018 00:19:28 Run Settings
build 14-???-2018 00:19:28 BasePath: C:\ProgramData\bamboo-home\xml-data\build-dir\196609\ILP-IP-JOB1\InoraCodes\WinFormDemo\WinFormDemoTests\bin\Debug\
build 14-???-2018 00:19:28 DisposeRunners: True
build 14-???-2018 00:19:28 WorkDirectory: C:\ProgramData\bamboo-home\xml-data\build-dir\196609\ILP-IP-JOB1
build 14-???-2018 00:19:28 ImageRuntimeVersion: 4.0.30319
build 14-???-2018 00:19:28 ImageTargetFrameworkName: .NETFramework,Version=v4.6.1
build 14-???-2018 00:19:28 ImageRequiresX86: False
build 14-???-2018 00:19:28 ImageRequiresDefaultAppDomainAssemblyResolver: False
build 14-???-2018 00:19:28 NumberOfTestWorkers: 4
build 14-???-2018 00:19:28
build 14-???-2018 00:19:28 Test Run Summary
build 14-???-2018 00:19:28 Overall result: Passed
build 14-???-2018 00:19:28 Test Count: 3, Passed: 3, Failed: 0, Warnings: 0, Inconclusive: 0, Skipped: 0
build 14-???-2018 00:19:28 Start time: 2018-12-13 16:19:28Z
build 14-???-2018 00:19:28 End time: 2018-12-13 16:19:28Z
build 14-???-2018 00:19:28 Duration: 0.620 seconds
build 14-???-2018 00:19:28
build 14-???-2018 00:19:28 Results (nunit2) saved as .\test-reports\TestResult.xml
simple 14-???-2018 00:19:28 Parsing test results under C:\ProgramData\bamboo-home\xml-data\build-dir\196609\ILP-IP-JOB1...
simple 14-???-2018 00:19:28 Failing task since test cases were expected but none were found.
simple 14-???-2018 00:19:28 Finished task 'Unit Test task' with result: Failed
simple 14-???-2018 00:19:28 Running post build plugin 'NCover Results Collector'
simple 14-???-2018 00:19:28 Running post build plugin 'Artifact Copier'
simple 14-???-2018 00:19:28 Publishing an artifact: Inora-Artifacts
simple 14-???-2018 00:19:29 Finished publishing of artifact Shared artifact: [Inora-Artifacts], pattern: [**/*.exe] in 685.4 ms
simple 14-???-2018 00:19:29 Running post build plugin 'npm Cache Cleanup'
simple 14-???-2018 00:19:29 Running post build plugin 'Clover Results Collector'
simple 14-???-2018 00:19:29 Running post build plugin 'Docker Container Cleanup'
simple 14-???-2018 00:19:29 Finalising the build...
simple 14-???-2018 00:19:29 Stopping timer.
simple 14-???-2018 00:19:29 Build ILP-IP-JOB1-150 completed.
simple 14-???-2018 00:19:29 Running on server: post build plugin 'NCover Results Collector'
simple 14-???-2018 00:19:29 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 14-???-2018 00:19:29 Running on server: post build plugin 'Clover Delta Calculator'
simple 14-???-2018 00:19:29 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 14-???-2018 00:19:29 All post build plugins have finished
simple 14-???-2018 00:19:29 Generating build results summary...
simple 14-???-2018 00:19:29 Saving build results to disk...
simple 14-???-2018 00:19:29 Logging substituted variables...
simple 14-???-2018 00:19:29 Indexing build results...
simple 14-???-2018 00:19:29 Finished building ILP-IP-JOB1-150.
Hi @Craig Change,
Your tests results are saved in .\test-reports\
as we can see in:
build 14-???-2018 00:19:28 Results (nunit2) saved as .\test-reports\TestResult.xml
the folder is not the same were Bamboo is looking for the results, which is the default one:
simple 14-???-2018 00:19:28 Parsing test results under C:\ProgramData\bamboo-home\xml-data\build-dir\196609\ILP-IP-JOB1...
Would you mind saving the test results in the default build working directory to check if this problem will be solved?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.