SWABRA verbose output is not very verbose

If I have SWABRA's 'verbose' flag checked, but not the 'clean checkout' flag, at the start of a build I sometimes get these log lines:

[10:05:05]Swabra
[10:05:05][Swabra] Checkout directory contains modified or deleted files.
[10:05:05][Swabra] Clean checkout not enforced - "Force clean checkout if cannot restore clean directory state" is unchecked
[10:05:05][Swabra] Checkout directory contains modified or deleted files.
[10:05:05][Swabra] Clean checkout not enforced - "Force clean checkout if cannot restore clean directory state" is unchecked
 
Could this be changed to print out which files are modified or deleted? I would have expected this by default, or at the very least when 'verbose' is checked.
4 comments

Hello Ben,

What TeamCity version do you use?

0

Sorry I should have said; I'm on 9.1.5

0

Could you please also attach screenshot of Swabra build feature settings and full build log?

0

 

 

 

Sure. I've attached a screenshot, and an example full build log, but note that I've removed a lot of the log that mentions sensitive details. The structure of the log, and everything mentioning SWABRA (excluding specific file names) is still intact; it's mostly our build stage content that's been removed, and project/VCS/build stage/configuration/file names that have been altered.

Build 'ProjectName :: Some Build Configuration' #975
Started 'Thu Mar 24 11:15:47 GMT 2016' on 'BuildMachine' by 'Subversion'
Finished 'Thu Mar 24 11:28:59 GMT 2016' with status 'NORMAL Tests passed: 32; duplicates found: 305, Build warnings: 0 (+0/-0)'
TeamCity URL http://buildmachine:80/viewLog.html?buildId=5608&buildTypeId=ProjectName_BuildAssetImportNoBuild
TeamCity server version is 9.1.5 (build 37377)

[11:15:46]i: TeamCity server version is 9.1.5 (build 37377)
[11:15:46]W: bt13 (13m:13s)
[11:15:46] : Collecting changes in 1 VCS root
[11:15:46] : [Collecting changes in 1 VCS root] VCS Root details
[11:15:46] : [VCS Root details] "http://cloud-subversion.assembla.com/svn/projectname/trunk" {instance id=6, parent internal id=1, parent id=ProjectName_HttpSubversionAssemblaComSvnprojectnametrunk, description: "svn: http://subversion.assembla.com/svn/projectname/trunk"}
[11:15:47]i: [Collecting changes in 1 VCS root] Waiting for completion of current operations for the VCS root 'http://cloud-subversion.assembla.com/svn/projectname/trunk'
[11:15:47]i: [Collecting changes in 1 VCS root] Detecting changes in VCS root 'http://cloud-subversion.assembla.com/svn/projectname/trunk' (used in 'Some Build Configuration', 'Another Build Configuration' and 5 other configurations)
[11:15:47]i: [Collecting changes in 1 VCS root] Will collect changes for 'http://cloud-subversion.assembla.com/svn/projectname/trunk' starting from revision 4537
[11:15:47]i: Waiting for the agent to start the build
[11:15:47]i: Agent time zone: Europe/London
[11:15:47]i: Agent is running under JRE: 1.8.0_66-b17
[11:16:01]W: Swabra
[11:16:01]W: [Swabra] Checkout directory contains modified or deleted files.
[11:16:01] : [Swabra] Clean checkout not enforced - "Force clean checkout if cannot restore clean directory state" is unchecked
[11:16:01]W: [Swabra] Checkout directory contains modified or deleted files.
[11:16:01] : [Swabra] Clean checkout not enforced - "Force clean checkout if cannot restore clean directory state" is unchecked
[11:16:01] : Clearing temporary directory: C:\TeamCityBuildAgent\temp\buildTmp
[11:16:01] : Publishing internal artifacts
[11:16:01] : [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[11:16:01] : [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[11:16:01] : Checkout directory: C:\TeamCityBuildAgent\work\6ceefc6e5bc389b
[11:16:01] : Updating sources: server side checkout (41s)
[11:16:01] : [Updating sources] Using vcs information from agent file: 6ceefc6e5bc389b.xml
[11:16:01] : [Updating sources] Building incremental patch for VCS root: http://cloud-subversion.assembla.com/svn/projectname/trunk; checkout rules: =>; revision: 4533 --> 4537
[11:16:42] : [Updating sources] Repository sources transferred: 8.62 MB total
[11:16:42] : [Updating sources] Average transfer speed: 240.71 KB per second
[11:16:42] : [Updating sources] Updating C:\TeamCityBuildAgent\work\6ceefc6e5bc389b
[11:16:42] : Swabra (7s)
[11:16:42] : [Swabra] Saving C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\Assets directory state to snapshot file 5cb4a876.snapshot
[11:16:49] : [Swabra] Saving C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\ProjectSettings directory state to snapshot file 1d9e91c9.snapshot
[11:16:49]i: ##teamcity[buildStatisticValue key='buildStageDuration:sourcesUpdate' value='48507.0']
[11:16:49] : Build preparation done
[11:16:49] : Step 1/8: Delete last build output (Powershell) (5s)
[11:16:49] : [Step 1/8] NUnit report watcher
[11:16:49] : [NUnit report watcher] Watching paths:
[11:16:49] : [NUnit report watcher] C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\TestReport.xml
[11:16:49]i: [Step 1/8] ##teamcity[buildStatisticValue key='buildStageDuration:firstStepPreparation' value='107.0']
[11:16:49]i: [Step 1/8] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_6' value='0.0']
[11:16:49] : [Step 1/8] PowerShell Executable: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
[11:16:49] : [Step 1/8] Working directory: C:\TeamCityBuildAgent\work\6ceefc6e5bc389b
[11:16:49] : [Step 1/8] PowerShell arguments: [-NonInteractive, -ExecutionPolicy, ByPass, -File, C:\TeamCityBuildAgent\temp\buildTmp\powershell4665090587716226654.ps1]
[11:16:54] : [Step 1/8] Process exited with code 0
[11:16:54]i: [Step 1/8] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_6' value='5003.0']
[11:16:54] : Step 2/8: Report checkout directory size (Powershell) (11s)
[11:16:54]i: [Step 2/8] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_13' value='0.0']
[11:16:54] : [Step 2/8] PowerShell Executable: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
[11:16:54] : [Step 2/8] Working directory: C:\TeamCityBuildAgent\work\6ceefc6e5bc389b
[11:16:54] : [Step 2/8] PowerShell arguments: [-NonInteractive, -ExecutionPolicy, ByPass, -File, C:\TeamCityBuildAgent\temp\buildTmp\powershell1788831592519621130.ps1, -p, C:\TeamCityBuildAgent\work\6ceefc6e5bc389b, -s, CheckoutDirectorySize]
[11:17:06] : [Step 2/8] ##teamcity[buildStatisticValue key='CheckoutDirectorySize' value='47686405087']
[11:17:06] : [Step 2/8] Process exited with code 0
[11:17:06]i: [Step 2/8] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_13' value='11504.0']
[11:17:06] : Step 3/8: Some build stage (2m:32s)
[11:19:38] : Step 4/8: Extract warnings (Powershell) (4s)
[11:19:38]i: [Step 4/8] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_5' value='0.0']
[11:19:38] : [Step 4/8] PowerShell Executable: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
[11:19:38] : [Step 4/8] Working directory: C:\TeamCityBuildAgent\work\6ceefc6e5bc389b
[11:19:38] : [Step 4/8] PowerShell arguments: [-NonInteractive, -ExecutionPolicy, ByPass, -File, C:\TeamCityBuildAgent\temp\buildTmp\powershell7193995369849858232.ps1]
[11:19:40] : [Step 4/8] Warnings - 0 warnings ===================================================
[11:19:40] : [Step 4/8] Downloading previous build's raw warning log from: http://buildmachine:80/httpAuth/app/rest/builds/status:SUCCESS,buildType:ProjectName_SomeBuildConfiguration/artifacts/content/raw_warnings.txt
[11:19:42] : [Step 4/8] Found 0 previous errors.
[11:19:42] : [Step 4/8] ##teamcity[buildStatus text='{build.status.text}, Build warnings: 0 (+0/-0)']
[11:19:42] : [Step 4/8] ##teamcity[buildStatisticValue key='buildWarnings' value='0']
[11:19:42] : [Step 4/8] Writing report to raw file: raw_warnings.txt
[11:19:42] : [Step 4/8] Writing report to HTML filewarning_report.html
[11:19:42] : [Step 4/8] Process exited with code 0
[11:19:42]i: [Step 4/8] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_5' value='4006.0']
[11:19:42] : Step 5/8: Some build stage 2 (32s)
[11:20:14]W: Step 6/8: Some build stage 3 (8m:05s)
[11:28:20] : Step 7/8: Some build stage 4 (8s)
[11:28:28] : Step 8/8: Duplicates finder (.NET) (23s)
[11:28:28]i: [Step 8/8] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_3' value='0.0']
[11:28:28] : [Step 8/8] Searching for duplicates
[11:28:28] : [Step 8/8] Starting: C:\TeamCity\buildAgent\plugins\dotnet-tools\bin\dupfinder.exe /config=C:\TeamCityBuildAgent\temp\agentTmp\dotnet-tools-dupfinder.config
[11:28:28] : [Step 8/8] in directory: C:\TeamCityBuildAgent\work\6ceefc6e5bc389b
[11:28:32] : [Step 8/8] JetBrains Duplicates Finder 10.0.2
[11:28:32] : [Step 8/8] Running in 64-bit mode, .NET runtime 4.0.30319.42000 under Microsoft Windows NT 6.2.9200.0
[11:28:37] : [Step 8/8] Custom location will be used to store solution caches. Path: C:\TeamCityBuildAgent\system\dotnet-tools-dupfinder\6ceefc6e5bc389b
[11:28:38] : [Step 8/8] Collecting files to analyze:
[11:28:38] : [Step 8/8] form folder 'C:\TeamCityBuildAgent\work\6ceefc6e5bc389b' applying mask: C:/TeamCityBuildAgent/work/6ceefc6e5bc389b/Assets/Code/**/*.cs.
[11:28:38] : [Step 8/8] 1117 files found to analyze.
[11:28:50] : [Step 8/8] Duplicates report was written to C:\TeamCityBuildAgent\temp\buildTmp\dupfinder-report-6206220491874798211.xml
[11:28:50] : [Step 8/8] Total time: 00:00:34.6093750
[11:28:50] : [Step 8/8] User time: 00:00:32.5000000
[11:28:50] : [Step 8/8] Peak virtual memory: 826MB
[11:28:50] : [Step 8/8] Peak working set: 235MB
[11:28:51] : [Step 8/8] Process exited with code 0
[11:28:51] : [Step 8/8] ##teamcity[importData path='C:\TeamCityBuildAgent\temp\buildTmp\dupfinder-report-6206220491874798211.xml' type='DotNetDupFinder']
[11:28:51] : [Step 8/8] Importing data from 'C:\TeamCityBuildAgent\temp\buildTmp\dupfinder-report-6206220491874798211.xml' (522.06 KB) with 'DotNetDupFinder' processor
[11:28:51] : [Step 8/8] Processing data
[11:28:52] : [Step 8/8] updating diff...
[11:28:52] : [Step 8/8] Duplicates: 305 (+0 -0)
[11:28:51]i: [Step 8/8] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_3' value='23067.0']
[11:28:51] : Waiting for 1 service processes to complete
[11:28:52] : NUnit report watcher
[11:28:52] : [NUnit report watcher] 1 report found for paths:
[11:28:52] : [NUnit report watcher] C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\TestReport.xml
[11:28:52] : [NUnit report watcher] Successfully parsed
[11:28:52] : [Successfully parsed] 1 report
[11:28:52] : [Successfully parsed] TestReport.xml
[11:28:52] : Publishing artifacts
[11:28:52] : [Publishing artifacts] Collecting files to publish: [C:\TeamCityBuildAgent\temp\agentTmp\build_stages.txt=>.teamcity/perfmon/]
[11:28:52] : [Publishing artifacts] Publishing 1 file [C:/TeamCityBuildAgent/temp/agentTmp/build_stages.txt => .teamcity/perfmon] using [WebPublisher]
[11:28:52] : [Publishing artifacts] Publishing 1 file [C:/TeamCityBuildAgent/temp/agentTmp/build_stages.txt => .teamcity/perfmon] using [ArtifactsCachePublisher]
[11:28:52] : Publishing artifacts
[11:28:52] : [Publishing artifacts] Collecting files to publish: [C:\TeamCityBuildAgent\system\perfmon\temp\perfmon.csv => .teamcity/perfmon/]
[11:28:52] : [Publishing artifacts] Publishing 1 file [C:/TeamCityBuildAgent/system/perfmon/temp/perfmon.csv => .teamcity/perfmon] using [WebPublisher]
[11:28:52] : [Publishing artifacts] Publishing 1 file [C:/TeamCityBuildAgent/system/perfmon/temp/perfmon.csv => .teamcity/perfmon] using [ArtifactsCachePublisher]
[11:28:52] : Swabra
[11:28:52] : [Swabra] No processes found locking files in directory: C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\Assets
[11:28:52] : [Swabra] No processes found locking files in directory: C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\ProjectSettings
[11:28:52]i: ##teamcity[buildStatisticValue key='buildStageDuration:buildFinishing' value='862.0']
[11:28:52] : Publishing internal artifacts
[11:28:52] : [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[11:28:52] : [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[11:28:52] : Publishing artifacts
[11:28:52] : [Publishing artifacts] Collecting files to publish: [various_files.txt]
[11:28:52] : [Publishing artifacts] Publishing 8 files [various_files.txt] using [WebPublisher]
[11:28:52] : [Publishing artifacts] Publishing 8 files [various_files.txt] using [ArtifactsCachePublisher]
[11:28:52]W: Swabra (7s)
[11:28:52] : [Swabra] Scanning directory C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\Assets for newly created, modified and deleted files comparing with snapshot 5cb4a876.snapshot
[11:28:57]W: [Swabra] Detected modified C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\Assets\some_file.txt
[11:28:57]W: [Swabra] Detected modified C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\Assets\some_file2.txt
[11:28:58]W: [Swabra] Detected modified C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\Assets\some_file3.txt
[11:28:58]W: [Swabra] Detected modified C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\Assets\some_file4.txt
[11:28:59]W: [Swabra] Detected modified C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\Assets\some_file5.txt
[11:28:59]W: [Swabra] Detected 28008 unchanged, 2 newly created (2 of them deleted), 5 modified, 0 deleted files and directories
[11:28:59] : [Swabra] Scanning directory C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\ProjectSettings for newly created, modified and deleted files comparing with snapshot 1d9e91c9.snapshot
[11:28:59]W: [Swabra] Detected modified C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\ProjectSettings\some_file6.txt
[11:28:59]W: [Swabra] Detected modified C:\TeamCityBuildAgent\work\6ceefc6e5bc389b\ProjectSettings\some_file7.txt
[11:28:59]W: [Swabra] Detected 16 unchanged, 0 newly created, 2 modified, 0 deleted files and directories
[11:28:59]i: ##teamcity[buildStatisticValue key='buildStageDuration:artifactsPublishing' value='7120.0']
[11:28:59] : Build finished

0

Please sign in to leave a comment.