codecov / codecov-exe

.exe report uploader for Codecov https://codecov.io
MIT License
25 stars 21 forks source link

Uploading multiple result xml files does not show in codecov.io #96

Closed brondavies closed 4 years ago

brondavies commented 4 years ago

Using this script https://github.com/bvcms/bvcms/blob/0e5d8ddbe316dc724283baabec620a1284ed7e6e/test.cmd

This build is created https://codecov.io/gh/bvcms/bvcms/commit/0e5d8ddbe316dc724283baabec620a1284ed7e6e/builds

The relevant lines in the script are %codecov% -f "%test_coverage%" --root %root% --pr %PR% --name "UnitTests" --flag unittests -t "%CodeCovToken%" and %codecov% -f "%test_coverage%" --root %root% --pr %PR% --name "IntegrationTests" --flag integrationtests -t "%CodeCovToken%"

But only the last upload is shown on codecov.io

AdmiringWorm commented 4 years ago

@brondavies have the flags been configured in the codecov settings? Either on organization level, project level, or in a codecov.yml file? If not, it is possible that this is the reason why you don't see different builds matching the flags specified.

I can not say for certain though, as using flags is not really something I have much experience with.

brondavies commented 4 years ago

@brondavies have the flags been configured in the codecov settings? Either on organization level, project level, or in a codecov.yml file? If not, it is possible that this is the reason why you don't see different builds matching the flags specified.

I can not say for certain though, as using flags is not really something I have much experience with.

Thanks for the reply. I have not configured any flags but I have also tried this without including flags too. According to the docs, it should just work and merge the results of the two uploads.

AdmiringWorm commented 4 years ago

According to the docs, it should just work and merge the results of the two uploads.

It should usually yes, and I have managed to do this quite often (although in different parallel builds).

hmm, I took a closer look at your test script and noticed something.

On line 35 you don't choose any output file for the coverage report, but that is something you did earlier in the script. From this, I assume that the second upload actually uploads exactly the same as the first one. Since these two uploads will be exactly the same (except for the flags), my assumption is perhaps that is the reason why only one build is shown.

As you haven't provided any output from the codecov executable, I can not even see if there is a problem with the query either (maybe something isn't passed upstream correctly).

brondavies commented 4 years ago

@AdmiringWorm Yes, I should probably explain that one. While the command you point to doesn't output to a file, internally the xunit tests start a single IISExpress process which is then instrumented with opencover to allow coverage of UI (integration) tests that are run using Selenium & Chrome. So the tests run in a process that doesn't actually load any assemblies that are being tested and that runs another process for opencover targeting IISExpress and this outputs the xml. Interestingly enough the results seen on codecov.io are the results of this integration test suite. The "normal" unit tests don't seem to be showing there. I've added a codecov.yml to my project which specifies the flags and still no change.

brondavies commented 4 years ago

And since you asked, here is the output

[13:34:46]Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script8996179725780386538.cmd
[13:34:46]in directory: C:\TeamCity\buildAgent\work\de2c4e6ef697cb99
[13:35:03]Feeds used:
[13:35:03]  https://api.nuget.org/v3/index.json
[13:35:03]  C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
[13:35:03]
[13:35:03]Installing package 'Codecov' to 'packages'.
[13:35:03]  GET https://api.nuget.org/v3/registration4-gz-semver2/codecov/index.json
[13:35:03]  OK https://api.nuget.org/v3/registration4-gz-semver2/codecov/index.json 145ms
[13:35:04]
[13:35:04]
[13:35:04]Attempting to gather dependency information for package 'Codecov.1.9.0' with respect to project 'packages', targeting 'Any,Version=v0.0'
[13:35:04]Gathering dependency information took 32.85 ms
[13:35:04]Attempting to resolve dependencies for package 'Codecov.1.9.0' with DependencyBehavior 'Lowest'
[13:35:04]Resolving dependency information took 0 ms
[13:35:04]Resolving actions to install package 'Codecov.1.9.0'
[13:35:04]Resolved actions to install package 'Codecov.1.9.0'
[13:35:04]Retrieving package 'Codecov 1.9.0' from 'nuget.org'.
[13:35:04]Adding package 'Codecov.1.9.0' to folder 'C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\packages'
[13:35:20]Added package 'Codecov.1.9.0' to folder 'C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\packages'
[13:35:20]Successfully installed 'Codecov 1.9.0' to packages
[13:35:20]Executing nuget actions took 15.98 sec
[13:35:21]Feeds used:
[13:35:21]  https://api.nuget.org/v3/index.json
[13:35:21]  C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
[13:35:21]
[13:35:21]Installing package 'OpenCover' to 'packages'.
[13:35:21]  GET https://api.nuget.org/v3/registration4-gz-semver2/opencover/index.json
[13:35:21]  OK https://api.nuget.org/v3/registration4-gz-semver2/opencover/index.json 82ms
[13:35:21]Package "OpenCover.4.7.922" is already installed.
[13:35:22]using C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\packages\OpenCover.4.7.922\tools\opencover.console.exe
[13:35:22]using C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\packages\xunit.runner.console.2.4.1\tools\net461\xunit.console.x86.exe
[13:35:22]using C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\packages\Codecov.1.9.0\tools\codecov.exe
[13:35:24]Executing: C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\packages\xunit.runner.console.2.4.1\tools\net461\xunit.console.x86.exe
[13:35:27]xUnit.net Console Runner v2.4.1 (32-bit Desktop .NET 4.6.1, runtime: 4.0.30319.42000)
[13:35:28]Test collection for CmsDataTests.PeopleUtilsTests (1) (16s)
[13:35:28]AcceptivaGateway Tests (1)
[13:35:29]Test collection for CmsDataTests.Finance.Acceptiva.Core.ISO3166Tests (1) (15s)
[13:35:44]Database collection (1) (2m:41s)
[13:38:27]Database collection (2) (17s)
[13:39:34]Test collection for CMSWebTests.Areas.Manage.Models.Involvement.InvolvementTabModelTests (3) (1s)
[13:39:34]Test collection for CMSWebTests.Areas.Setup.Models.SettingModelTests (3)
[13:39:35]Test collection for CmsWeb.Areas.OnlineReg.Models.Tests.PaymentFormTests (3)
[13:39:35]Database collection (3) (30s)
[13:39:35]Test collection for CmsWeb.Areas.OnlineReg.Models.Tests.OnlineRegModelTests (3) (1s)
[13:39:37]Test collection for CmsWebTests.ViewExtensions2Tests (3)
[13:39:38]Test collection for CMSWebTests.Areas.People.Models.Contact.ContactExtraLocationConfigTests (3)
[13:39:38]Test collection for CMSWebTests.Models.IDbBinderTests (3) (1s)
[13:40:06]Util Session Tests (4)
[13:40:06]ConnectionString Tests (4)
[13:40:07]EnDeCrypt Tests (4)
[13:40:07]Miscellaneous collection (4)
[13:40:08]Committing...
[13:40:29]Visited Classes 531 of 7212 (7.36)
[13:40:29]Visited Methods 4698 of 77676 (6.05)
[13:40:29]Visited Points 17141 of 352105 (4.87)
[13:40:29]Visited Branches 9041 of 197898 (4.57)
[13:40:29]
[13:40:29]==== Alternative Results (includes all methods including those without corresponding source) ====
[13:40:29]Alternative Visited Classes 531 of 10510 (5.05)
[13:40:29]Alternative Visited Methods 4698 of 94207 (4.99)
[13:40:37]
[13:40:37]              _____          _
[13:40:37]             / ____|        | |
[13:40:37]            | |     ___   __| | ___  ___ _____   __
[13:40:37]            | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
[13:40:37]            | |___| (_) | (_| |  __/ (_| (_) \ V /
[13:40:37]             \_____\___/ \____|\___|\___\___/ \_/
[13:40:37]                                         exe-1.9.0
[13:40:37]            
[13:40:37]2020-01-20 19:40:37 INF TeamCity detected.
[13:40:37]2020-01-20 19:40:37 INF Git detected.
[13:40:37]2020-01-20 19:40:37 INF Project root: C:\TeamCity\buildAgent\work\de2c4e6ef697cb99
[13:40:37]2020-01-20 19:40:37 INF Reading reports.
[13:40:38]2020-01-20 19:40:38 INF C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\test_coverage.xml
[13:40:38]2020-01-20 19:40:38 INF Uploading Reports.
[13:40:38]2020-01-20 19:40:38 INF url: https://codecov.io
[13:40:39]2020-01-20 19:40:39 INF query: https://codecov.io/upload/v4?branch=refs%2Fpull%2F757%2Fmerge&commit=63fc176be82176f66007a8afce7d5738e3f30823&build=11516&tag=&pr=757&name=UnitTests&flags=unittests&slug=bvcms%2Fbvcms&package=exe-1.9.0&build_url=https%3A%2F%2Fbuilds.tpsdb.com%2FviewLog.html%3FbuildId%3D11516&yaml=codecov.yml&job=&service=teamcity
[13:40:39]2020-01-20 19:40:39 INF Pinging Codecov
[13:40:40]2020-01-20 19:40:40 INF Uploading
[13:40:52]2020-01-20 19:40:52 INF Uploading to Codecov
[13:40:56]2020-01-20 19:40:56 INF View reports at: https://codecov.io/github/bvcms/bvcms/commit/fd11210db21b7dd77dcff0c467f4b6436a6044a9
[13:40:57]Executing: C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\packages\xunit.runner.console.2.4.1\tools\net461\xunit.console.x86.exe
[13:41:00]xUnit.net Console Runner v2.4.1 (32-bit Desktop .NET 4.6.1, runtime: 4.0.30319.42000)
[13:41:01]Webapp collection (1) (7m:37s)
[13:41:02]Starting host C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\packages\OpenCover.4.7.922\tools\opencover.console.exe -register:user -target:"C:\Program Files (x86)\IIS Express\iisexpress.exe" -targetargs:"/config:C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\.vs\config\applicationhost.config /site:CMSWeb /apppool:Clr4IntegratedAppPool" -filter:"+[*]* -[*Tests]* -[xunit.*]*" -output:C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\test_coverage.xml
[13:42:08]Starting ChromeDriver 78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}) on port 60762
[13:42:08]Only local connections are allowed.
[13:42:08]Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[13:42:12][1579549332.165][WARNING]: This version of ChromeDriver has not been tested with Chrome version 79.
[13:43:10]Opening: http://localhost:54454/
[13:43:30]Opening: http://localhost:54454/Settings
[13:43:35]Screen shot saved: https://builds.tpsdb.com/screenshots/Settings_Should_Display_By_Category_And_Type_2020-01-20_19.43.35_ixl79BBy.png
[13:43:35]Opening: http://localhost:54454/
[13:43:37]Opening: http://localhost:54454/Resources
[13:43:39]Element not found: By.CssSelector: #Name
[13:43:40]Element not found: By.CssSelector: #Name
[13:43:40]Element not found: By.CssSelector: #Name
[13:43:41]Element not found: By.CssSelector: #Name
[13:43:43]Element not found: By.CssSelector: #Name
[13:43:43]Element not found: By.CssSelector: #Name
[13:43:45]Opening: http://localhost:54454/Person2/1#tab-resources
[13:45:11]Opening: http://localhost:54454/
[13:45:14]Opening: http://localhost:54454/Person2/136
[13:45:15]Element not found: By.CssSelector: #Pledge-detail-section
[13:45:16]Element not found: By.CssSelector: #Pledge-detail-section
[13:45:16]Element not found: By.CssSelector: #Pledge-detail-section
[13:45:17]Screen shot saved: https://builds.tpsdb.com/screenshots/Should_Show_Combine_Giving_Summaries_2020-01-20_19.45.17_Kf1DsRM8.png
[13:45:18]Opening: http://localhost:54454/
[13:45:19]Opening: http://localhost:54454/Person2/137
[13:45:21]Element not found: By.CssSelector: #giving
[13:45:21]Screen shot saved: https://builds.tpsdb.com/screenshots/Should_Show_Pledge_Giving_Tab_2020-01-20_19.45.21_FYxq1gGe.png
[13:45:22]Opening: http://localhost:54454/
[13:45:23]Opening: http://localhost:54454/Person2/138
[13:45:24]Opening: http://localhost:54454/Person2/Current
[13:45:25]Screen shot saved: https://builds.tpsdb.com/screenshots/Should_Hide_Giving_Tab_2020-01-20_19.45.25_rmKE7LXI.png
[13:45:25]Opening: http://localhost:54454/
[13:45:27]Opening: http://localhost:54454/Person2/139
[13:45:28]Opening: http://localhost:54454/Person2/Current
[13:45:28]Element not found: By.CssSelector: #family_members > li.alert-danger
[13:45:29]Opening: http://localhost:54454/
[13:45:30]Opening: http://localhost:54454/Person2/141
[13:45:31]Element not found: By.CssSelector: #GivingYear
[13:45:31]Element not found: By.CssSelector: #GivingYear
[13:45:32]Opening: http://localhost:54454/Person2/142
[13:45:33]Element not found: By.CssSelector: #GivingYear
[13:45:34]Screen shot saved: https://builds.tpsdb.com/screenshots/Should_Remember_Last_Year_Selected_2020-01-20_19.45.34_rhN79owv.png
[13:45:36]Opening: http://localhost:54454/
[13:45:37]Opening: http://localhost:54454/Org/56#tab-Registrations-tab
[13:45:51]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:45:53]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:45:56]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:45:57]Element not found: By.CssSelector: #QuestionList > div.type-AskText
[13:45:58]Element not found: By.CssSelector: .sweet-alert.visible
[13:45:59]Element not found: By.CssSelector: .sweet-overlay
[13:45:59]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:45:59]Element not found: By.CssSelector: div.ask-texts > div.well.movable > div.form-group > div.controls > input.form-control:nth-child(1)
[13:46:01]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:46:02]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:46:02]Opening: http://localhost:54454/OnlineReg/56
[13:46:07]Element not found: By.CssSelector: #submitit
[13:46:13]Opening: http://localhost:54454/Reports/Application/56/144/MembershipApp2017
[13:46:16]Screen shot saved: https://builds.tpsdb.com/screenshots/Application_Report_Should_Have_Answers_2020-01-20_19.46.16_4V82uANX.png
[13:46:17]Opening: http://localhost:54454/
[13:46:20]Screen shot saved: https://builds.tpsdb.com/screenshots/Application_Export_Should_Pull_HoHPeopleID_2020-01-20_19.46.20_1Qb9qG1H.png
[13:46:20]Opening: http://localhost:54454/
[13:46:22]Opening: http://localhost:54454/SavedQueryList
[13:46:23]Element not found: By.CssSelector: table#resultsTable > tbody > tr#row-eee06dd1-35d2-40e3-9c77-15e9d0113edd > td:nth-child(3) > i.fa.fa-check
[13:46:23]Element not found: By.CssSelector: input#Ispublic
[13:46:24]Element not found: By.CssSelector: div#contact-footer
[13:46:25]Element not found: By.CssSelector: input#Ispublic
[13:46:26]Element not found: By.CssSelector: div#contact-footer
[13:46:26]Element not found: By.CssSelector: table#resultsTable > tbody > tr#row-eee06dd1-35d2-40e3-9c77-15e9d0113edd > td:nth-child(3) > i.fa.fa-check
[13:46:26]Screen shot saved: https://builds.tpsdb.com/screenshots/Should_Update_Model_2020-01-20_19.46.26_WCxV4GXb.png
[13:46:27]Opening: http://localhost:54454/
[13:46:28]Opening: http://localhost:54454/NewQuery
[13:46:29]Element not found: By.CssSelector: .input-group-lg > .searchConditions
[13:46:30]Element not found: By.CssSelector: .input-group-lg > .searchConditions
[13:46:31]Element not found: By.CssSelector: #FundIds
[13:46:31]Element not found: By.CssSelector: #FundIds
[13:46:32]Opening: http://localhost:54454/
[13:46:33]Opening: http://localhost:54454/Person2/154
[13:46:36]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:46:40]Screen shot saved: https://builds.tpsdb.com/screenshots/OneTimeGiving_Processes_Payment_2020-01-20_19.46.40_iDOOpEf9.png
[13:46:40]Opening: http://localhost:54454/
[13:46:42]Opening: http://localhost:54454/OnlineReg/58
[13:46:42]Element not found: By.CssSelector: #submitit
[13:46:44]Opening: http://localhost:54454/
[13:46:46]Opening: http://localhost:54454/Org/59#tab-Settings-tab
[13:46:46]Element not found: By.CssSelector: #Settings-tab
[13:46:55]Element not found: By.CssSelector: .snackbar.success
[13:46:56]Element not found: By.CssSelector: .snackbar.success
[13:46:57]Screen shot saved: https://builds.tpsdb.com/screenshots/Should_Give_Feedback_On_Save_2020-01-20_19.46.57_2z9WBJiw.png
[13:46:57]Opening: http://localhost:54454/
[13:46:58]Opening: http://localhost:54454/Org/60#tab-Registrations-tab
[13:46:59]Element not found: By.CssSelector: #Registrations-tab
[13:47:04]Element not found: By.CssSelector: #Fees h4:nth-child(3)
[13:47:05]Screen shot saved: https://builds.tpsdb.com/screenshots/Should_Show_PushpayFundName_Field_2020-01-20_19.47.05_or9CoPN9.png
[13:47:05]Opening: http://localhost:54454/
[13:47:06]Opening: http://localhost:54454/Org/61#tab-Registrations-tab
[13:47:08]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:47:09]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:47:09]Element not found: By.Id: ShowDOBOnFind
[13:47:10]Opening: http://localhost:54454/
[13:47:11]Opening: http://localhost:54454/Figures/Figures/Index
[13:47:17]Element not found: By.CssSelector: #Fund_chart_display svg > g:nth-child(5)
[13:47:17]Element not found: By.CssSelector: #Fund_chart_display svg > g:nth-child(5)
[13:47:17]Element not found: By.CssSelector: #Fund_chart_display svg > g:nth-child(5)
[13:47:18]Element not found: By.CssSelector: #Fund_chart_display svg > g:nth-child(5)
[13:47:18]Element not found: By.CssSelector: #Fund_chart_display svg > g:nth-child(5)
[13:47:18]Element not found: By.CssSelector: #Fund_chart_display svg > g:nth-child(5)
[13:47:18]Element not found: By.CssSelector: #Fund_chart_display svg > g:nth-child(5)
[13:47:18]Screen shot saved: https://builds.tpsdb.com/screenshots/Should_Change_Years_In_Graph_2020-01-20_19.47.18_vGNxkSdI.png
[13:47:18]Opening: http://localhost:54454/
[13:47:20]Opening: http://localhost:54454/RunScript/TestSql
[13:47:21]Screen shot saved: https://builds.tpsdb.com/screenshots/RunScriptTest_2020-01-20_19.47.21_LwiW5ko5.png
[13:47:21]Opening: http://localhost:54454/
[13:47:23]Opening: http://localhost:54454/PyScript/HelloWorld
[13:47:24]Screen shot saved: https://builds.tpsdb.com/screenshots/PyscriptWithoutParameters_2020-01-20_19.47.24_SQEpiqKZ.png
[13:47:24]Opening: http://localhost:54454/
[13:47:25]Opening: http://localhost:54454/PyScriptForm/Record/display/2
[13:47:27]Screen shot saved: https://builds.tpsdb.com/screenshots/PyScriptFormTest_2020-01-20_19.47.27_Oljbm9vA.png
[13:47:27]Opening: http://localhost:54454/
[13:47:29]Opening: http://localhost:54454/PyScript/HelloWorld/testing/123
[13:47:29]Opening: http://localhost:54454/PyScript/HelloWorld?p1=testing&p2=123
[13:47:30]Screen shot saved: https://builds.tpsdb.com/screenshots/PyscriptWithParameters_2020-01-20_19.47.30_4ielxfrJ.png
[13:47:30]Opening: http://localhost:54454/
[13:47:31]Opening: http://localhost:54454/PythonSearch/Names?term=vWDO g1Tf
[13:47:31]Screen shot saved: https://builds.tpsdb.com/screenshots/PythonSearchNamesTest_2020-01-20_19.47.31_8diW4lwb.png
[13:47:32]Opening: http://localhost:54454/
[13:47:33]Opening: http://localhost:54454/Invalid
[13:47:33]Screen shot saved: https://builds.tpsdb.com/screenshots/Page_NotFound_Test_2020-01-20_19.47.33_cWmTASwa.png
[13:47:33]Opening: http://localhost:54454/
[13:47:35]Opening: http://localhost:54454/Bundles
[13:47:35]Screen shot saved: https://builds.tpsdb.com/screenshots/Page_NotAuthorized_Test_2020-01-20_19.47.35_rArpeZ3F.png
[13:47:35]Opening: http://localhost:54454/
[13:47:37]Opening: http://localhost:54454/QueryCode?code=IsMemberOf()=1
[13:47:39]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:47:39]Element not found: By.CssSelector: input[type=radio][value='0']
[13:47:39]Opening: http://localhost:54454/QueryCode?code=IsMemberOf()=1
[13:47:41]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:47:42]Element not found: By.CssSelector: input[type=radio][value='0']
[13:47:42]Screen shot saved: https://builds.tpsdb.com/screenshots/TestSearchBuilderOrgsDropdownOption_2020-01-20_19.47.42_t1BoXnSh.png
[13:47:43]Opening: http://localhost:54454/
[13:47:44]Opening: http://localhost:54454/QueryCode?code=Age>65
[13:47:46]Element not found: By.CssSelector: div.blockUI.blockOverlay
[13:47:46]Screen shot saved: https://builds.tpsdb.com/screenshots/DbInQueryModelShouldBeInstantiatedByModelBinding_2020-01-20_19.47.46_dDPTsodk.png
[13:47:46]Opening: http://localhost:54454/
[13:47:48]Screen shot saved: https://builds.tpsdb.com/screenshots/MyData_User_Logon_Success_Test_2020-01-20_19.47.48_6RYe6DLH.png
[13:47:48]Opening: http://localhost:54454/
[13:47:49]Screen shot saved: https://builds.tpsdb.com/screenshots/MyData_User_Logon_Fail_Test_2020-01-20_19.47.49_vTOcWcSs.png
[13:47:49]Opening: http://localhost:54454/
[13:47:51]Screen shot saved: https://builds.tpsdb.com/screenshots/MyData_User_Logout_Success_Test_2020-01-20_19.47.51_Qi9eThyH.png
[13:47:51]Opening: http://localhost:54454/
[13:47:51]Opening: http://localhost:54454/Account/SetPassword/fd21ee7d-2e36-4016-a08c-28cf84f4cf51
[13:47:53]Element not found: By.LinkText: Log Out
[13:47:53]Element not found: By.LinkText: Log Out
[13:47:53]Element not found: By.LinkText: Log Out
[13:47:53]Element not found: By.LinkText: Log Out
[13:47:53]Element not found: By.LinkText: Log Out
[13:47:54]Opening: http://localhost:54454/
[13:47:55]Screen shot saved: https://builds.tpsdb.com/screenshots/MyData_User_ForgotPassword_Test_2020-01-20_19.47.55_QHTZste1.png
[13:47:55]Opening: http://localhost:54454/
[13:47:56]Opening: http://localhost:54454/Roles
[13:48:03]Screen shot saved: https://builds.tpsdb.com/screenshots/Delete_Role_Test_2020-01-20_19.48.03_hLogbs8X.png
[13:48:03]Opening: http://localhost:54454/
[13:48:07]Opening: http://localhost:54454/
[13:48:09]Screen shot saved: https://builds.tpsdb.com/screenshots/MyData_User_ChangePassword_Test_2020-01-20_19.48.09_8Lt3BY1X.png
[13:48:09]Opening: http://localhost:54454/
[13:48:10]Opening: http://localhost:54454/Roles/1
[13:48:12]Element not found: By.CssSelector: .snackbar.success
[13:48:12]Opening: http://localhost:54454/
[13:48:13]Opening: http://localhost:54454/Roles/1
[13:48:14]Element not found: By.CssSelector: .snackbar.success
[13:48:14]Opening: http://localhost:54454/
[13:48:15]Screen shot saved: https://builds.tpsdb.com/screenshots/Role_Setting_HideNavTabs_Test_2020-01-20_19.48.15_2LOdkoqF.png
[13:48:15]Opening: http://localhost:54454/
[13:48:17]Opening: http://localhost:54454/Lookups/
[13:48:26]Screen shot saved: https://builds.tpsdb.com/screenshots/Create_Role_Test_2020-01-20_19.48.26_pxdpAhgv.png
[13:48:26]Opening: http://localhost:54454/
[13:48:27]Opening: http://localhost:54454/Funds/
[13:48:37]Opening: http://localhost:54454/
[13:48:39]Opening: http://localhost:54454/CheckinTimes/
[13:48:54]Committing...
[13:48:58]Visited Classes 198 of 3024 (6.55)
[13:48:58]Visited Methods 1889 of 34434 (5.49)
[13:48:58]Visited Points 6149 of 161228 (3.81)
[13:48:58]Visited Branches 3426 of 88496 (3.87)
[13:48:58]
[13:48:58]==== Alternative Results (includes all methods including those without corresponding source) ====
[13:48:58]Alternative Visited Classes 198 of 5065 (3.91)
[13:48:58]Alternative Visited Methods 1889 of 43431 (4.35)
[13:49:00]SUCCESS: The process "iisexpress.exe" with PID 976 has been terminated.
[13:49:17]
[13:49:17]C:\TeamCity\buildAgent\work\de2c4e6ef697cb99>IF NOT EXIST C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\test_coverage.xml (
[13:49:17]echo File not found: C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\test_coverage.xml  
[13:49:17] exit 10 
[13:49:17]) 
[13:49:17]
[13:49:17]C:\TeamCity\buildAgent\work\de2c4e6ef697cb99>IF "*******" NEQ "" C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\packages\Codecov.1.9.0\tools\codecov.exe -f "C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\test_coverage.xml" --root C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\ --pr 757 --name "IntegrationTests" --flag integrationtests -t "*******" 
[13:49:17]
[13:49:17]              _____          _
[13:49:17]             / ____|        | |
[13:49:17]            | |     ___   __| | ___  ___ _____   __
[13:49:17]            | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
[13:49:17]            | |___| (_) | (_| |  __/ (_| (_) \ V /
[13:49:17]             \_____\___/ \____|\___|\___\___/ \_/
[13:49:17]                                         exe-1.9.0
[13:49:17]            
[13:49:17]2020-01-20 19:49:17 INF TeamCity detected.
[13:49:17]2020-01-20 19:49:17 INF Git detected.
[13:49:17]2020-01-20 19:49:17 INF Project root: C:\TeamCity\buildAgent\work\de2c4e6ef697cb99
[13:49:17]2020-01-20 19:49:17 INF Reading reports.
[13:49:17]2020-01-20 19:49:17 INF C:\TeamCity\buildAgent\work\de2c4e6ef697cb99\test_coverage.xml
[13:49:17]2020-01-20 19:49:17 INF Uploading Reports.
[13:49:18]2020-01-20 19:49:18 INF url: https://codecov.io
[13:49:18]2020-01-20 19:49:18 INF query: https://codecov.io/upload/v4?branch=refs%2Fpull%2F757%2Fmerge&commit=63fc176be82176f66007a8afce7d5738e3f30823&build=11516&tag=&pr=757&name=IntegrationTests&flags=integrationtests&slug=bvcms%2Fbvcms&package=exe-1.9.0&build_url=https%3A%2F%2Fbuilds.tpsdb.com%2FviewLog.html%3FbuildId%3D11516&yaml=codecov.yml&job=&service=teamcity
[13:49:18]2020-01-20 19:49:18 INF Pinging Codecov
[13:49:19]2020-01-20 19:49:19 INF Uploading
[13:49:20]2020-01-20 19:49:20 INF Uploading to S3 https://codecov.io
[13:49:20]2020-01-20 19:49:20 INF View reports at: https://codecov.io/github/bvcms/bvcms/commit/fd11210db21b7dd77dcff0c467f4b6436a6044a9
AdmiringWorm commented 4 years ago

Sorry about going silent after your last comment, a few things came up that needed my attention.

Thank you for the logs, but unfortunately I do not see anything from the logs that would cause the coverage/builds to not show up. I am kind of leaning towards this perhaps being a server problem TBH, and for that you would need to contact the codecov support team (codecov-exe is not officially supported by them, only the bash uploader is).

/cc @stevepeak

brondavies commented 4 years ago

Thanks, I've submitted my request in the codecov discourse community.

brondavies commented 4 years ago

According to the response to my issue here, my report files were too large and timing out on the upload. This could be handled better in the client with some kind of indication that the upload failed.

AdmiringWorm commented 4 years ago

@brondavies thank you for getting back to me on this.

I had no idea that large file sizes would have caused this problem, but it is odd that codecov.io do return a succsessfull request in these cases. Anyway, I have opened #97 to validate the total file sizes and write out a warning when this is larger than 20 MB (may bump it to 25, not sure).

I will be closing this in the meantime. Thank you for reporting the issue, and following up on it.