Good morning everyone,
my pipeline is on a loop analyzing sql files (432 files, 791kb average file size):
- I’m using azure Devops as a CI system
- I’m using sonarscanner CLI
This is the first part of the log:
2026-10-22T09:35:37.7000993Z D:\a\1\s\Odyssey\dbo\Tables\DeviceSim.sql(24,1,24,1): Build warning SQL70588: WITH CHECK | NOCHECK option for existing data check enforcement is ignored. [D:\a\1\s\Odyssey\Odyssey.sqlproj]
2026-10-22T09:35:37.7005226Z ##[warning]Odyssey\dbo\Stored Procedures\DatabaseIntegrityCheck.sql(188,10): Warning SQL71502: Procedure: [dbo].[DatabaseIntegrityCheck] has an unresolved reference to object [sys].[dm_os_host_info].
2026-10-22T09:35:37.7006569Z D:\a\1\s\Odyssey\dbo\Stored Procedures\DatabaseIntegrityCheck.sql(188,10,188,10): Build warning SQL71502: Procedure: [dbo].[DatabaseIntegrityCheck] has an unresolved reference to object [sys].[dm_os_host_info]. [D:\a\1\s\Odyssey\Odyssey.sqlproj]
.
.
.
2026-10-22T09:51:14.1311766Z 09:51:14.120 DEBUG ‘dbo.SchemaOnly/Tables/DeviceAlerts.sql’ generated metadata with charset ‘UTF-8’
2026-10-22T09:51:14.1328206Z 09:51:14.120 DEBUG ‘dbo.SchemaOnly/Tables/Selections.sql’ generated metadata with charset ‘UTF-8’
2026-10-22T09:51:14.1372865Z 09:51:14.136 DEBUG ‘dbo.SchemaOnly/Views/vw_DeviceEvents.sql’ generated metadata with charset ‘UTF-8’
2026-10-22T09:51:14.1403727Z 09:51:14.136 DEBUG Not enough content in ‘dbo.SchemaOnly/Views/vw_DeviceEvents.sql’ to have CPD blocks, it will not be part of the duplication detection
2026-10-22T09:51:14.1416279Z 09:51:14.136 DEBUG ‘Odyssey/Security/DrinksCustomerReportingAccount.sql’ generated metadata with charset ‘UTF-8’
2026-10-22T09:51:14.1424562Z 09:51:14.136 DEBUG Not enough content in ‘Odyssey/Security/DrinksCustomerReportingAccount.sql’ to have CPD blocks, it will not be part of the duplication detection
2026-10-22T09:51:14.1432862Z 09:51:14.136 DEBUG ‘STG.SchemaOnly/STG.SchemaOnly/Tables/VendEventC600_Ingest.sql’ generated metadata with charset ‘UTF-8’
2026-10-22T09:51:14.1500888Z 09:51:14.136 DEBUG ‘Mars/Script.PostDeployment.Seed.sql’ generated metadata with charset ‘UTF-8’
2026-10-22T09:51:14.2500576Z 09:51:14.214 WARN
2026-10-22T09:51:14.2507277Z 09:51:14.214 WARN Unable to fully parse: D:/a/1/s/Mars/Script.PostDeployment.Seed.sql
2026-10-22T09:51:14.2508848Z 09:51:14.214 WARN Parse error starting from line 14
.
.
.
2026-10-22T10:34:41.9845589Z 10:34:41.972 INFO 200/432 files analyzed so far, currently analyzing: D:/a/1/s/Odyssey/Post/PostCalendarDate.sql
2026-10-22T10:34:48.4324491Z ##[error]The Operation will be canceled. The next steps may not contain expected logs.
2026-10-22T10:34:48.4890572Z ##[error]The operation was canceled.
2026-10-22T10:34:48.4897378Z ##[section]Finishing: Run Code Analysis
2026-10-22T10:34:48.4957589Z Skipping step due to condition evaluation.
Evaluating: succeeded()
Result: False
2026-10-22T10:34:48.5006733Z Skipping step due to condition evaluation.
Evaluating: succeeded()
Result: False
2026-10-22T10:34:48.5059943Z Skipping step due to condition evaluation.
Evaluating: succeeded()
Result: False
2026-10-22T10:34:48.5113407Z ##[section]Starting: Checkout Database@test to s
2026-10-22T10:34:48.5124075Z ==============================================================================
2026-10-22T10:34:48.5124258Z Task : Get sources
2026-10-22T10:34:48.5124403Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2026-10-22T10:34:48.5124564Z Version : 1.0.0
2026-10-22T10:34:48.5124703Z Author : Microsoft
2026-10-22T10:34:48.5124802Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2026-10-22T10:34:48.5124993Z ==============================================================================
2026-10-22T10:34:49.0463839Z Cleaning any cached credential from repository: Database (Git)
2026-10-22T10:34:49.5246221Z ##[section]Finishing: Checkout Database@test to s
2026-10-22T10:34:49.5289383Z ##[section]Starting: Finalize Job
2026-10-22T10:34:49.5308183Z Cleaning up task key
2026-10-22T10:34:49.5309514Z Start cleaning up orphan processes.
2026-10-22T10:34:49.5418172Z Terminate orphan process: pid (7744) (java)
2026-10-22T10:34:49.5475381Z Terminate orphan process: pid (6800) (conhost)
2026-10-22T10:34:49.5497830Z ##[section]Finishing: Finalize Job
2026-10-22T10:34:49.5535796Z ##[section]Finishing: Phase 1
I would like to know what you guys think about it.
Thanks in advance,
Giuseppe.