microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.49k stars 2.61k forks source link

[warning]Unsupported source provider 'GitHub' for source indexing. #15605

Open ibocon opened 2 years ago

ibocon commented 2 years ago

Required Information

Type: Question

Enter Task Name: PublishSymbols@2

Environment

Agent: Hosted "Default"

Issue Description

image

Should I deal with this warning?

Task logs

[Symbol App][VERBOSE] 2021-12-14T15:32:34.4332650+00:00  Symbol.CreateRequestDebugEntriesAsync starting
[Symbol App][VERBOSE] 2021-12-14T15:32:34.7576046+00:00  ApplicationInsightsTelemetrySender sent Symbol.GetRequestAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:34.7776300+00:00  ApplicationInsightsTelemetrySender sent Symbol.GetRequestAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:34.8605377+00:00  ApplicationInsightsTelemetrySender sent Symbol.GetRequestAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:34.8969839+00:00  Symbol.CreateRequestDebugEntriesAsync completed in 0.464215 seconds
[Symbol App][VERBOSE] 2021-12-14T15:32:34.8969839+00:00  Response contains 8 entries
[Symbol App][INFO]    2021-12-14T15:32:34.8979848+00:00  Succeeded processing D:\a\1\s\Source\Blazor.Test\bin\Release\net6.0\Garden.Blazor.pdb: Garden.Blazor.pdb/BA890BEE7A72453EACF6119CF8AC8827FFFFFFFF/Garden.Blazor.pdb/Private
[Symbol App][INFO]    2021-12-14T15:32:34.8989842+00:00  Succeeded processing D:\a\1\s\Source\Blazor.Test\bin\Release\net6.0\Garden.Blazor.pdb: Garden.Blazor.pdb/BA890BEE7A72453EACF6119CF8AC8827FFFFFFFF/Garden.Blazor.pdb/Private
[Symbol App][INFO]    2021-12-14T15:32:34.8989842+00:00  Succeeded processing D:\a\1\s\Source\Core.Test\bin\Release\net6.0\Garden.Core.Test.pdb: Garden.Core.Test.pdb/D775C974743D41AB901E0ECEE68574F2FFFFFFFF/Garden.Core.Test.pdb/Private
[Symbol App][INFO]    2021-12-14T15:32:34.8989842+00:00  Succeeded processing D:\a\1\s\Source\Blazor.Test\bin\Release\net6.0\Garden.Core.pdb: Garden.Core.pdb/FA9C4AF1A85F47B6868BB1F1D058E713FFFFFFFF/Garden.Core.pdb/Private
[Symbol App][INFO]    2021-12-14T15:32:34.8989842+00:00  Succeeded processing D:\a\1\s\Source\Blazor.Test\bin\Release\net6.0\Garden.Blazor.Test.pdb: Garden.Blazor.Test.pdb/1508991EB46048DBA554F34FEB44F6F0FFFFFFFF/Garden.Blazor.Test.pdb/Private
[Symbol App][INFO]    2021-12-14T15:32:34.8989842+00:00  Succeeded processing D:\a\1\s\Source\Blazor.Test\bin\Release\net6.0\Garden.Core.pdb: Garden.Core.pdb/FA9C4AF1A85F47B6868BB1F1D058E713FFFFFFFF/Garden.Core.pdb/Private
[Symbol App][INFO]    2021-12-14T15:32:34.8989842+00:00  Succeeded processing D:\a\1\s\Source\Blazor.Test\bin\Release\net6.0\Garden.Core.pdb: Garden.Core.pdb/FA9C4AF1A85F47B6868BB1F1D058E713FFFFFFFF/Garden.Core.pdb/Private
[Symbol App][INFO]    2021-12-14T15:32:34.8989842+00:00  Succeeded processing D:\a\1\s\Source\Blazor.Test\bin\Release\net6.0\Garden.Core.pdb: Garden.Core.pdb/FA9C4AF1A85F47B6868BB1F1D058E713FFFFFFFF/Garden.Core.pdb/Private
[Symbol App][INFO]    2021-12-14T15:32:34.8989842+00:00  Published 8 files.
[Symbol App][VERBOSE] 2021-12-14T15:32:34.8999854+00:00  Symbol.PublishFilesAsync completed in 4.3879133 seconds
[Symbol App][VERBOSE] 2021-12-14T15:32:34.9049845+00:00  Symbol.FinalizeRequestAsync starting
[Symbol App][VERBOSE] 2021-12-14T15:32:35.2105146+00:00  ApplicationInsightsTelemetrySender sent Symbol.GetRequestAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:35.2555213+00:00  ApplicationInsightsTelemetrySender sent Symbol.GetRequestAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:35.3281419+00:00  Symbol.FinalizeRequestAsync completed in 0.4231341 seconds
[Symbol App][VERBOSE] 2021-12-14T15:32:35.3381429+00:00  {"expirationDate":"2121-12-20T15:32:34","name":"garden/botanicsoft.garden/20211214.4/67/2180d498-f959-4d21-b751-fbe74b4d886a","domainId":"0","status":3,"size":70400,"isChunked":false,"createdBy":"3c398e32-d82c-4fc5-9867-147cd6f6f954","createdDate":"2021-12-14T15:32:30","id":"de5b2d571297741ccb4794ea3173610939eb2aca66d0ca17115d83394d1e55f0","storageETag":"W/\"datetime'2021-12-14T15%3A32%3A35.168208Z'\"","url":"https://artifacts.dev.azure.com/BotanicSoft/_apis/Symbol/requests/de5b2d571297741ccb4794ea3173610939eb2aca66d0ca17115d83394d1e55f0"}
[Symbol App][VERBOSE] 2021-12-14T15:32:35.3501409+00:00  Operation finished in 8.13 seconds.
[Symbol App][INFO]    2021-12-14T15:32:35.3511691+00:00  Operation ended with exit code: 0
[Symbol App][VERBOSE] 2021-12-14T15:32:35.3511691+00:00  PublishOperation completed in 8.1341404 seconds
[Symbol App][VERBOSE] 2021-12-14T15:32:35.3561416+00:00  ApplicationInsightsTelemetrySender waiting for 2 of 17 TrackEvent operations to complete...
[Symbol App][VERBOSE] 2021-12-14T15:32:35.4030151+00:00  ApplicationInsightsTelemetrySender sent Symbol.GetRequestAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:35.7163671+00:00  ApplicationInsightsTelemetrySender sent Symbol.CreateRequestDebugEntriesAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:35.7204069+00:00  ApplicationInsightsTelemetrySender sent Symbol.GetRequestAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:35.9979559+00:00  ApplicationInsightsTelemetrySender sent Symbol.FinalizeRequestAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:36.0684143+00:00  ApplicationInsightsTelemetrySender sent Symbol.PublishFilesAsync telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:36.4713910+00:00  ApplicationInsightsTelemetrySender sent PublishOperation telemetry
[Symbol App][VERBOSE] 2021-12-14T15:32:36.4723671+00:00  ApplicationInsightsTelemetrySender operations completed in 1115 ms
[Symbol App][INFO]    2021-12-14T15:32:36.4723671+00:00  ApplicationInsightsTelemetrySender correlated 17 events with X-TFS-Session 35ff0330-049a-4508-9b67-9a135e7068db
[Symbol App][VERBOSE] 2021-12-14T15:32:36.4723671+00:00  Stopped ITelemetrySender ApplicationInsightsTelemetrySender.
Async Command Start: Associate Artifact
Associated artifact 2 with build 67
Async Command End: Associate Artifact
Finishing: Publish symbols
MiYanni commented 2 years ago

I'm also seeing the same issue. Does this repo not experience this issue on it's own pipeline? Warning looks like:

##[warning]Unsupported source provider 'GitHub' for source indexing.
##[warning]Unable to index sources.
ibocon commented 2 years ago

I set indexSources to false. And then warnings are disappeared.

# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/index-sources-publish-symbols
- task: PublishSymbols@2
  inputs:
    # Unsupported source provider 'GitHub' for source indexing. Unable to index sources.
    IndexSources: false
rdepew commented 2 years ago

Same issue when source resides on Bitbucket Cloud.

2022-02-21T19:36:05.0852801Z ##[section]Starting: Create symbol table
2022-02-21T19:36:05.1109075Z ==============================================================================
2022-02-21T19:36:05.1109363Z Task         : Index sources and publish symbols
2022-02-21T19:36:05.1109643Z Description  : Index your source code and publish symbols to a file share or Azure Artifacts symbol server
2022-02-21T19:36:05.1109911Z Version      : 2.198.0
2022-02-21T19:36:05.1110078Z Author       : Microsoft Corporation
2022-02-21T19:36:05.1110348Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/index-sources-publish-symbols
2022-02-21T19:36:05.1110675Z ==============================================================================
2022-02-21T19:36:11.3965533Z Found 120 files.
2022-02-21T19:36:12.9244429Z ##[warning]Unsupported source provider 'Bitbucket' for source indexing.
2022-02-21T19:36:12.9296993Z ##[warning]Unable to index sources.
2022-02-21T19:36:12.9553339Z Symbol Request Name = qa/companyx.acm_source/20220221.3/1759/42edb32a-b8c0-4f5d-80a2-fd4469254a03
2022-02-21T19:36:14.2303528Z C:\build3\_work\_tool\VSOSymbolClient\18.199.32204.2.2d7ec43fa5\symbol.app.buildtask.complete not found
2022-02-21T19:36:14.2314991Z Creating C:\build3\_work\_tool\VSOSymbolClient\18.199.32204.2.2d7ec43fa5
2022-02-21T19:36:14.2333868Z C:\build3\_work\_tool\VSOSymbolClient\18.199.32204.2.2d7ec43fa5
2022-02-21T19:36:15.2519624Z Update complete
2022-02-21T19:36:15.3067938Z ##[command]"C:\build3\_work\_tool\VSOSymbolClient\18.199.32204.2.2d7ec43fa5\lib\net45\symbol.exe" publish --service "https://companyx.artifacts.visualstudio.com" --name "qa/companyx.acm_source/20220221.3/1759/42edb32a-b8c0-4f5d-80a2-fd4469254a03" --directory "C:\build3\_work\4\s\Server" --expirationInDays "36530" --patAuthEnvVar SYMBOL_PAT_AUTH_TOKEN --fileListFileName "C:\Users\user64\AppData\Local\Temp\tmp35FB.tmp" --indexableFileFormats ""Default"" --tracelevel verbose --globalretrycount 2
github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

MiYanni commented 2 years ago

Bump

jonathancounihanneem commented 1 year ago

We have the same issue in Bitbucket cloud. using IndexSources: false removed the warning for us. However is that not papering over the issue? Based on my reading, we don't have to index the sources at all, if needs be.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

MiYanni commented 1 year ago

Bump again...

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

MiYanni commented 8 months ago

Bump again.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

MiYanni commented 1 month ago

Looks like the bot failed to close it. 😅