Result is not updated in sonarqube dashboard (EXECUTION SUCCESS)

INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=FirstInsight.appid.app

INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report

INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AX69lb_5YD4GwxP8IUw-

INFO: Analysis total time: 8.687 s

INFO: ------------------------------------------------------------------------

INFO: EXECUTION SUCCESS

INFO: ------------------------------------------------------------------------

INFO: Total time: 10.289s

INFO: Final Memory: 7M/37M

INFO: ------------------------------------------------------------------------

  • returnValue=0

  • set +x

Hi,

I know it’s easy to overlook, but there’s a warning on the analysis (the yellow box in the header). Can you see what it is?

 
Ann

Hi Ann - Pls check The page you were looking for does not exist.


Hi,

I believe the broken documentation link is already on the list to be fixed.

The warning itself doesn’t indicate anything terrible.

The “last analysis” date in your first screenshot is pretty recent. Can you share what makes you say the homepage hasn’t been updated?

 
Ann

I expect need to display all analytics report.

i need to display code coverage.

Hi,

The root of your problem is not that analysis is failing at some point, but that you have 0.0% for coverage?

If so, please post your analysis log.

 
Ann

Running run-sonar-swift.sh...
Project count is [1]
2022-02-04 01:53:52.187 defaults[4711:33272] 
The domain/default pair of (/Users/sathishkumar/Desktop/fi-mobile-ios/FirstInsight/Info.plist, CFBundleShortVersionString) does not exist
Xcode project file is: FirstInsight.xcodeproj
Xcode workspace file is: FirstInsight.xcworkspace
Xcode application scheme is: FirstInsight
Number version from plist is: 
Destination simulator is: platform=iOS Simulator,name=iPhone 7 Plus,OS=15.0
Excluded paths from coverage are: .*Tests.*,
Creating directory sonar-reports/
Extracting Xcode project information
+ xcodebuild clean build -workspace FirstInsight.xcworkspace -scheme FirstInsight -destination 'platform=iOS Simulator,name=iPhone 7 Plus,OS=15.0' -destination-timeout 360 COMPILER_INDEX_STORE_ENABLE=NO
+ returnValue=0
+ set +x
▸ Clean Succeeded
▸ Processing Info.plist

⚠️  /Users/sathishkumar/Desktop/fi-mobile-ios/Pods/Toast-Swift/Toast/Toast.swift:109:5: 'public' modifier is redundant for instance method declared in a public extension

    public func makeToast(_ message: String?, duration: TimeInterval = ToastManager.shared.duration, position: ToastPosition = ToastManager.shared.position, title: String? = nil, image: UIImage? = nil, style: ToastStyle = ToastManager.shared.style, completion: ((_ didTap: Bool) -> Void)? = nil) {
    ^~~~~~~
⚠️  /Users/sathishkumar/Desktop/fi-mobile-ios/Pods/ReachabilitySwift/Sources/Reachability.swift:77:6: unexpected version number in 'available' attribute for non-specific platform '*'

    @available(*, deprecated: 4.0, renamed: "allowsCellularConnection")
^~~~~
⚠️  /Users/sathishkumar/Desktop/fi-mobile-ios/Pods/PagingKit/Sources/Menu Cells/Underline/TitleLabelMenuViewCell.swift:94:13: initialization of immutable value 'diff' was never used; consider replacing with assignment to '_' or removing it

        let diff = (labelWidth - leftCell.labelWidth) * percent
    ^~~~~~~


▸ Compiling Array+NSLayoutConstraint.swift
▸ Compiling OverlayMenuCell.swift
▸ Compiling UnderlineFocusView.swift
▸ Compiling OverlayFocusView.swift
▸ Compiling PagingContentViewController.swift

⚠️  /Users/sathishkumar/Desktop/fi-mobile-ios/Pods/PagingKit/Sources/PagingContentViewController.swift:28:54: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead

public protocol PagingContentViewControllerDelegate: class {
        ~~~~^~~~


⚠️  /Users/sathishkumar/Desktop/fi-mobile-ios/Pods/PagingKit/Sources/PagingContentViewController.swift:89:56: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead

public protocol PagingContentViewControllerDataSource: class {
                                                     ^~~~~


⚠️  /Users/sathishkumar/Desktop/fi-mobile-ios/Pods/PagingKit/Sources/PagingMenuViewController.swift:71:53: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead

public protocol PagingMenuViewControllerDataSource: class {
                                                  ^~~~~


▸ Linking RxAtomic
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingRuntime.cpp.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingFile.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingWriter.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingPlatformDarwin.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingMerge.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingBiasVar.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingBuffer.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingNameVar.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfiling.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingUtil.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingValue.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingMergeFile.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingInternal.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
⚠️  ld: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_iossim.a(InstrProfilingVersionVar.c.o)) was built for newer iOS Simulator version (9.0) than being linked (8.0)
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/SwiftKeychainWrapper.swiftsourceinfo
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/SwiftKeychainWrapper.swiftsourceinfo
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/SwiftKeychainWrapper.swiftmodule
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/SwiftKeychainWrapper.swiftmodule
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/SwiftKeychainWrapper.swiftdoc
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/SwiftKeychainWrapper.swiftdoc
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/SwiftKeychainWrapper-Swift.h
▸ Compiling FrameView.swift
▸ Compiling HUD.swift
▸ Compiling PKHUDTextView.swift
▸ Compiling PKHUD.swift
▸ Compiling PKHUDAnimating.swift
▸ Compiling PKHUDRotatingImageView.swift
▸ Compiling PKHUDWideBaseView.swift
▸ Compiling PKHUDErrorView.swift
▸ Compiling PKHUDProgressView.swift
▸ Compiling WindowRootViewController.swift
▸ Compiling PKHUDSuccessView.swift
▸ Compiling PKHUDSystemActivityIndicatorView.swift
▸ Compiling Window.swift
▸ Compiling PKHUDSquareBaseView.swift
▸ Compiling PKHUDAnimation.swift
▸ Compiling PKHUDAssets.swift
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReachabilitySwift.build/Objects-normal/x86_64/Reachability.swiftsourceinfo
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReachabilitySwift.build/Objects-normal/x86_64/Reachability.swiftsourceinfo
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReachabilitySwift.build/Objects-normal/x86_64/Reachability.swiftmodule
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReachabilitySwift.build/Objects-normal/x86_64/Reachability.swiftmodule
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReachabilitySwift.build/Objects-normal/x86_64/Reachability.swiftdoc
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReachabilitySwift.build/Objects-normal/x86_64/Reachability.swiftdoc
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/ReachabilitySwift.build/Objects-normal/x86_64/Reachability-Swift.h
▸ Compiling PINMemoryCache.m

⚠️  /Users/sathishkumar/Desktop/fi-mobile-ios/Pods/PINCache/PINCache/PINCacheObjectSubscripting.h:26:9: parameter 'object' not found in the function declaration [-Wdocumentation]

 @param object An object to be assigned for the key.
                                                    ^~~~~


▸ Compiling PINDiskCache.m

⚠️  /Users/sathishkumar/Desktop/fi-mobile-ios/Pods/PINCache/PINCache/PINCacheObjectSubscripting.h:26:9: parameter 'object' not found in the function declaration [-Wdocumentation]

 @param object An object to be assigned for the key.
        ^~~~~~

⚠️  /Users/sathishkumar/Desktop/fi-mobile-ios/Pods/PINCache/PINCache/PINCacheObjectSubscripting.h:26:9: parameter 'object' not found in the function declaration [-Wdocumentation]

 @param object An object to be assigned for the key.
             ^


▸ Compiling PINCache-dummy.m
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Toast-Swift.build/Objects-normal/x86_64/Toast_Swift.swiftsourceinfo
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Toast-Swift.build/Objects-normal/x86_64/Toast_Swift.swiftsourceinfo
▸ Copying /Users/sathishkumar/Library/Developer/Xcode/DerivedData/FirstInsight-eqmevgejzesshacxfhzlasoctdgj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Toast-Swift.build/Objects-normal/x86_64/Toast_Swift.swiftmodule



Skipping duplicate build file in Compile Sources build phase: /Users/sathishkumar/Desktop/fi-mobile-ios/FirstInsight/Controllers/AttributesViewController/AttributesViewController.swift (in target 'FirstInsight' from project 'FirstInsight')Skipping duplicate build file in Compile Sources build phase: /Users/sathishkumar/Desktop/fi-mobile-ios/FirstInsight/Models/InsightItemDetailModel.swift (in target 'FirstInsight' from project 'FirstInsight').T.

	 Executed 2 tests, with 0 failures (0 unexpected) in 0.317 (0.319) seconds
....

	 Executed 4 tests, with 0 failures (0 unexpected) in 47.131 (47.135) seconds
\nComputing coverage report\n
Command line exclusion flags for slather is: -i .*Tests.* -i 
slather coverage --binary-basename FirstInsight --input-format profdata -i .*Tests.* -i --cobertura-xml --output-directory sonar-reports --workspace FirstInsight.xcworkspace --scheme FirstInsight FirstInsight.xcodeproj

+ slather coverage --binary-basename FirstInsight --input-format profdata -i '.*Tests.*' -i --cobertura-xml --output-directory sonar-reports --workspace FirstInsight.xcworkspace --scheme FirstInsight FirstInsight.xcodeproj
Slathering...
FirstInsight/AppDelegate.swift: 65 of 458 lines (14.19%)
FirstInsight/Controllers/AccountViewController/AccountViewController.swift: 0 of 98 lines (0.00%)
FirstInsight/Controllers/AttributesViewController/AttributesViewController.swift: 0 of 725 lines (0.00%)
FirstInsight/Controllers/BaseViewController/BaseViewController.swift: 19 of 68 lines (27.94%)
FirstInsight/Controllers/ChooseCompanyViewController/ChooseCompanyViewController.swift: 0 of 189 lines (0.00%)
FirstInsight/Controllers/CommentsViewController/CommentsViewController.swift: 0 of 161 lines (0.00%)
FirstInsight/Controllers/DashboardViewController/DashBoardContainerViewController.swift: 0 of 258 lines (0.00%)
FirstInsight/Controllers/DashboardViewController/DashboardViewController.swift: 0 of 1286 lines (0.00%)
FirstInsight/Controllers/DecisionsViewController/DecisionsViewController.swift: 0 of 641 lines (0.00%)
FirstInsight/Controllers/DemandCurveViewController/DemandCurveViewController.swift: 0 of 9 lines (0.00%)
FirstInsight/Controllers/DetailsTabViewController/DetailsTabViewController.swift: 0 of 97 lines (0.00%)

Tested 219/35479 statements
Test Coverage: 0.62%
Slathered
+ returnValue=0
+ set +x
mv: sonar-reports/cobertura.xml: No such file or directory
Running SwiftLint...Linting Swift files at paths FirstInsight
Linting 'RequestMethod.swift' (1/246)
Linting 'DatePickerView.swift' (246/246)
Done linting! Found 16293 violations, 1031 serious in 246 files.
Skipping Tailor!
Skipping OCLint (test purposes only!)
Skipping FauxPas
Skipping Lizard (test purposes only!)
Running SonarQube using SonarQube Runner
+ sonar-scanner
INFO: Scanner configuration file: /Applications/SonarScanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /Users/sathishkumar/Desktop/fi-mobile-ios/sonar-project.properties
INFO: SonarScanner 4.6.2.2472
INFO: Java 11.0.11 AdoptOpenJDK (64-bit)
INFO: Mac OS X 11.5 x86_64
INFO: User cache: /Users/sathishkumar/.sonar/cache
INFO: Scanner configuration file: /Applications/SonarScanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /Users/sathishkumar/Desktop/fi-mobile-ios/sonar-project.properties
INFO: Analyzing on SonarQube server 9.2.4
INFO: Default locale: "en_GB", source code encoding: "UTF-8"
INFO: Load global settings
INFO: Load global settings (done) | time=301ms
INFO: Server id: BF41A1F2-AX60dd9Lf463PlR5OPjm
INFO: User cache: /Users/sathishkumar/.sonar/cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=234ms
INFO: Load/download plugins (done) | time=337ms
INFO: Process project properties
INFO: Process project properties (done) | time=7ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=1ms
INFO: Project key: FirstInsight.appid.app
INFO: Base dir: /Users/sathishkumar/Desktop/fi-mobile-ios
INFO: Working dir: /Users/sathishkumar/Desktop/fi-mobile-ios/.scannerwork
INFO: Load project settings for component key: 'FirstInsight.appid.app'
INFO: Load project settings for component key: 'FirstInsight.appid.app' (done) | time=157ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=250ms
INFO: Load active rules
INFO: Load active rules (done) | time=4033ms
INFO: Indexing files...
INFO: Project configuration:
INFO:   Excluded sources: **/*.xml, Pods/**/*, Reports/**/*, *.swift
INFO:   Included tests: *.swift
INFO: 688 files indexed
INFO: 3 files ignored because of inclusion/exclusion patterns
INFO: 0 files ignored because of scm ignore settings
INFO: Quality profile for json: Sonar way
INFO: ------------- Run sensors on module FirstInsight
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=158ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=6ms
INFO: Sensor IaC CloudFormation Sensor [iac]
INFO: Load project repositories
INFO: Load project repositories (done) | time=166ms
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=332ms
INFO: Sensor CSS Rules [javascript]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=2ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Sensor C# Analysis Log [csharp] (done) | time=23ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=0ms
INFO: Sensor JavaXmlSensor [java]
INFO: Sensor JavaXmlSensor [java] (done) | time=9ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=8ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
INFO: Sensor VB.NET Analysis Log [vbnet]
INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=25ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=10ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 1 source file to be analyzed
INFO: SCM Publisher 0/1 source files have been analyzed (done) | time=81ms
WARN: Missing blame information for the following files:
WARN:   * FirstInsight/Assets.xcassets/Project-Color/color_gray.colorset/Contents.json
WARN: This may lead to missing/broken features in SonarQube
INFO: CPD Executor Calculating CPD for 0 files
INFO: CPD Executor CPD calculation finished (done) | time=0ms
INFO: Analysis report generated in 180ms, dir size=192.1 kB
INFO: Analysis report compressed in 654ms, zip size=92.4 kB
INFO: Analysis report uploaded in 162ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=FirstInsight.appid.app
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AX7BRoYshUbdpUxJ0JvP
INFO: Analysis total time: 8.408 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 10.159s
INFO: Final Memory: 7M/37M
INFO: ------------------------------------------------------------------------
+ returnValue=0
+ set +x
sonar-project.properties


# Sonar Server details
sonar.host.url=http://localhost:9000
sonar.login=admin
sonar.password=sathish31

# Project Details
sonar.projectKey=FirstInsight.com.app
sonar.projectName=FirstInsight
sonar.projectVersion=1.0
sonar.projectDescription=This is the Sonar demo application for the code quality check

# Comment if you have a project with mixed ObjC / Swift
sonar.language=swift

# Path to source directories
# sonar.sources=First,FirstTests,FirstUITests
sonar.sources=FirstInsight

sonar.test.inclusions=**/*Test*/**
sonar.test.inclusions=*.swift
sonar.exclusions=**/*.xml,Pods/**/*,Reports/**/*

sonar.tests=FirstInsightTests,FirstInsightUITests
sonar.swift.simulator=platform=iOS Simulator,name=iPhone 7 Plus,OS=15.0
sonar.swift.project=FirstInsight.xcodeproj
sonar.swift.workspace=FirstInsight.xcworkspace
sonar.swift.appName=FirstInsight
sonar.swift.appScheme=FirstInsight

sonar.swift.appConfiguration=Debug
sonar.sourceEncoding=UTF-8

# SCM
# sonar.scm.enabled=true
# sonar.scm.url=scm:git:http://xxx

# JUnit report generated by run-sonar.sh is stored in sonar-reports/TEST-report.xml
# Change it only if you generate the file on your own
# The XML files have to be prefixed by TEST- otherwise they are not processed
#sonar.junit.reportsPath=sonar-reports/TEST-report.xml


# OCLint report generated by run-sonar.sh is stored in sonar-reports/oclint.xml
# Change it only if you generate the file on your own
sonar.swift.swiftlint.report=sonar-reports/*swiftlint.txt

# Change it only if you generate the file on your own
#sonar.swift.tailor.report=sonar-reports/*tailor.txt

# Paths to exclude from coverage report (surefire, 3rd party libraries etc.)
 sonar.swift.excludedPathsFromCoverage=pattern1,pattern2
 sonar.swift.excludedPathsFromCoverage=.*Tests.*

sonar.swift.coverage.reportPath=sonar-reports/coverage-swift.xml


##########################
# Tailor configuration #
##########################
# Tailor configuration
# -l,--max-line-length=<0-999>                  maximum Line length (in characters)
#    --list-files                               display Swift source files to be analyzed
#    --max-class-length=<0-999>                 maximum Class length (in lines)
#    --max-closure-length=<0-999>               maximum Closure length (in lines)
#    --max-file-length=<0-999>                  maximum File length (in lines)
#    --max-function-length=<0-999>              maximum Function length (in lines)
#    --max-name-length=<0-999>                  maximum Identifier name length (in characters)
#    --max-severity=<error|warning (default)>   maximum severity
#    --max-struct-length=<0-999>                maximum Struct length (in lines)
#    --min-name-length=<1-999>                  minimum Identifier name length (in characters)

sonar.swift.tailor.config=--no-color --max-line-length=100 --max-file-length=500 --max-name-length=40 --max-name-length=40 --min-name-length=4


web.log

2022.02.04 15:33:59 INFO  web[][o.s.p.ProcessEntryPoint] Starting web
2022.02.04 15:33:59 INFO  web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2022.02.04 15:34:00 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2022.02.04 15:34:00 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 9.2.4.50792 / 78f7113cee15b2bd37a958455271e68f1244cb7b
2022.02.04 15:34:01 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Starting embedded database on port 9092 with url jdbc:h2:tcp://127.0.0.1:9092/sonar
2022.02.04 15:34:01 INFO  web[][o.s.s.p.d.EmbeddedDatabase] Embedded database started. Data stored in: /Applications/SonarQube/data
2022.02.04 15:34:01 INFO  web[][o.sonar.db.Database] Create JDBC data source for jdbc:h2:tcp://127.0.0.1:9092/sonar
2022.02.04 15:34:01 WARN  web[][o.s.db.dialect.H2] H2 database should be used for evaluation purpose only.
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /Applications/SonarQube
2022.02.04 15:34:02 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin C# Code Quality and Security / 8.32.0.39516 / 339a4abca54577c2331eb89f3ccecd43279fbd11
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Configuration detection fot Code Quality and Security / 1.1.0.185 / f880796141c97fa59ac04f8ac0db56c62d862005
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Flex Code Quality and Security / 2.6.2.2641 / 11f07506915923b3a0e39e4e34280644c035b925
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Go Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin HTML Code Quality and Security / 3.4.0.2754 / 38f7ff864ae15152c9f1efc3014594f7e7ca7b6e
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin IaC Code Quality and Security / 1.4.0.1294 / d5088c9df33e24593acd39bac9306136176da598
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin JaCoCo / 1.1.1.1157 / 83478572b9f23efac29de15e30c7758bbb0c0e47
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Java Code Quality and Security / 7.5.0.28054 / 54b377cfbc4b5d4f2780855818c6850c298ea395
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin JavaScript/TypeScript Code Quality and Security / 8.6.0.16913 / 701a9ce4770cfe89eb0ac54c75eeafb2c8c514ac
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Kotlin Code Quality and Security / 2.7.0.948 / 9ab38bae2f6f59bd5ba6d3bed5a159d858b87daf
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin PHP Code Quality and Security / 3.21.2.8292 / 86bd9dd559ac9a3a8dbabdf44d171395e7334590
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Python Code Quality and Security / 3.8.0.8883 / 30629fbf3e871f83899ec32d3e4a05988b3d4727
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Ruby Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin Scala Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin VB.NET Code Quality and Security / 8.32.0.39516 / 339a4abca54577c2331eb89f3ccecd43279fbd11
2022.02.04 15:34:02 INFO  web[][o.s.s.p.ServerPluginManager] Deploy plugin XML Code Quality and Security / 2.4.0.3273 / 3e6d286309dbc9af364fc3c843ee8e71ed1801f7
2022.02.04 15:34:03 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2022.02.04 15:34:03 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@7a5b76fe [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2022.02.04 15:34:03 INFO  web[][o.s.s.p.DetectPluginChange] Detect plugin changes
2022.02.04 15:34:03 INFO  web[][o.s.s.p.DetectPluginChange] No plugin change detected
2022.02.04 15:34:03 INFO  web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2022.02.04 15:34:04 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2022.02.04 15:34:06 INFO  web[][o.s.s.s.LogServerId] Server ID: BF41A1F2-AX60dd9Lf463PlR5OPjm
2022.02.04 15:34:06 WARN  web[][o.s.s.a.LogOAuthWarning] For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to a HTTPS URL.
2022.02.04 15:34:06 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2022.02.04 15:34:06 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2022.02.04 15:34:06 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_bitbucketserver_projects
2022.02.04 15:34:06 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_bitbucketcloud_repos
2022.02.04 15:34:06 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/check_pat
2022.02.04 15:34:06 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_azure_projects
2022.02.04 15:34:06 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_bitbucketserver_repos
2022.02.04 15:34:06 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_azure_repos
2022.02.04 15:34:06 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/project_dump/status
2022.02.04 15:34:06 INFO  web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2022.02.04 15:34:06 INFO  web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2022.02.04 15:34:06 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements
2022.02.04 15:34:06 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2022.02.04 15:34:06 INFO  web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2022.02.04 15:34:06 INFO  web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2022.02.04 15:34:06 INFO  web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2022.02.04 15:34:06 INFO  web[][o.s.s.s.RegisterPlugins] Register plugins
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.SonarLintConnectionFilter@784e8158 [pattern=UrlPattern{inclusions=[/api/*], exclusions=[]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@6b80e881 [pattern=UrlPattern{inclusions=[/api/issues/delete_comment.*, ...], exclusions=[/api/authentication/login.*, ...]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceReroutingFilter@735eeb70 [pattern=UrlPattern{inclusions=[/api/components/bulk_update_key, ...], exclusions=[]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.plugins.PluginsRiskConsentFilter@7a8d8a85 [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.DefaultAdminCredentialsVerifierFilter@6aded9e3 [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@4512a2ab [pattern=UrlPattern{inclusions=[/sessions/init/*], exclusions=[]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@59aba82c [pattern=UrlPattern{inclusions=[/oauth2/callback/*], exclusions=[]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ResetPasswordFilter@26e3762f [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@418e4a77 [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=[]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@3dcc0611 [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=[]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@acce73c [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=[]}]
2022.02.04 15:34:06 INFO  web[][o.s.s.q.ProjectsInWarningDaemon] Counting number of projects in warning is not started as there are no projects in this situation.
2022.02.04 15:34:06 INFO  web[][o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2022.02.04 15:34:06 INFO  web[][o.s.s.p.Platform] WebServer is operational

es.log

2022.02.04 15:33:46 INFO  es[][o.e.n.Node] version[7.16.2], pid[63955], build[default/tar/2b937c44140b6559905130a8650c64dbd0879cfb/2021-12-18T19:42:46.604893745Z], OS[Mac OS X/10.16/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/11/11+28]
2022.02.04 15:33:46 INFO  es[][o.e.n.Node] JVM home [/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home]
2022.02.04 15:33:46 INFO  es[][o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=/Applications/SonarQube/temp, -XX:ErrorFile=../logs/es_hs_err_pid%p.log, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djna.tmpdir=/Applications/SonarQube/temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Dcom.redhat.fips=false, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/Applications/SonarQube/elasticsearch, -Des.path.conf=/Applications/SonarQube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2022.02.04 15:33:46 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2022.02.04 15:33:46 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2022.02.04 15:33:46 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2022.02.04 15:33:46 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2022.02.04 15:33:46 INFO  es[][o.e.p.PluginsService] no plugins loaded
2022.02.04 15:33:47 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (/dev/disk1s5s1)]], net usable_space [18.4gb], net total_space [233.4gb], types [apfs]
2022.02.04 15:33:47 INFO  es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2022.02.04 15:33:47 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [6ct7AjWcQkmxICPs5kBsbg], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2022.02.04 15:33:50 INFO  es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=512mb}]
2022.02.04 15:33:50 INFO  es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2022.02.04 15:33:50 INFO  es[][o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2022.02.04 15:33:50 INFO  es[][o.e.n.Node] initialized
2022.02.04 15:33:50 INFO  es[][o.e.n.Node] starting ...
2022.02.04 15:33:51 INFO  es[][o.e.t.TransportService] publish_address {127.0.0.1:54317}, bound_addresses {127.0.0.1:54317}
2022.02.04 15:33:51 INFO  es[][o.e.c.c.Coordinator] cluster UUID [A1WIldg-QEmrAqbd6h3Z-g]
2022.02.04 15:33:51 INFO  es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{6ct7AjWcQkmxICPs5kBsbg}{o3SnGVexQEWdLa46tDzMvg}{127.0.0.1}{127.0.0.1:54317}{cdfhimrsw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 29, version: 581, delta: master node changed {previous [], current [{sonarqube}{6ct7AjWcQkmxICPs5kBsbg}{o3SnGVexQEWdLa46tDzMvg}{127.0.0.1}{127.0.0.1:54317}{cdfhimrsw}]}
2022.02.04 15:33:51 INFO  es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{6ct7AjWcQkmxICPs5kBsbg}{o3SnGVexQEWdLa46tDzMvg}{127.0.0.1}{127.0.0.1:54317}{cdfhimrsw}]}, term: 29, version: 581, reason: Publication{term=29, version=581}
2022.02.04 15:33:51 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.4gb[7.9%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:33:51 INFO  es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2022.02.04 15:33:51 INFO  es[][o.e.n.Node] started
2022.02.04 15:33:52 INFO  es[][o.e.g.GatewayService] recovered [7] indices into cluster_state
2022.02.04 15:33:58 INFO  es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[components][2], [components][1], [metadatas][0]]]).
2022.02.04 15:35:21 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.7gb[8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:36:22 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.4gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:37:52 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.5gb[7.9%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:38:52 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.4gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:40:22 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.3gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:41:22 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.3gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:42:52 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.3gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:43:52 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.3gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:44:52 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.3gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:46:22 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.2gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:47:22 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.2gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:48:22 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.3gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete
2022.02.04 15:49:22 WARN  es[][o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [6ct7AjWcQkmxICPs5kBsbg][sonarqube][/Applications/SonarQube/data/es7/nodes/0] free: 18.3gb[7.8%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete

ce.log

2022.02.04 15:34:06 INFO  ce[][o.s.p.ProcessEntryPoint] Starting ce
2022.02.04 15:34:06 INFO  ce[][o.s.ce.app.CeServer] Compute Engine starting up...
2022.02.04 15:34:07 INFO  ce[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2022.02.04 15:34:07 INFO  ce[][o.sonar.db.Database] Create JDBC data source for jdbc:h2:tcp://127.0.0.1:9092/sonar
2022.02.04 15:34:07 WARN  ce[][o.s.db.dialect.H2] H2 database should be used for evaluation purpose only.
2022.02.04 15:34:08 INFO  ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /Applications/SonarQube
2022.02.04 15:34:08 INFO  ce[][o.s.c.c.CePluginRepository] Load plugins
2022.02.04 15:34:09 INFO  ce[][o.s.c.c.ComputeEngineContainerImpl] Running Community edition
2022.02.04 15:34:09 INFO  ce[][o.s.ce.app.CeServer] Compute Engine is operational
2022.02.04 15:44:30 INFO  ce[][o.s.c.t.CeWorkerImpl] Execute task | project=FirstInsight.appid.app | type=REPORT | id=AX7EOmrVa4XYFjIXh8bO | submitter=admin
2022.02.04 15:44:31 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Extract report | status=SUCCESS | time=150ms
2022.02.04 15:44:31 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist scanner context | status=SUCCESS | time=7ms
2022.02.04 15:44:31 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Propagate analysis warnings from scanner report | status=SUCCESS | time=1ms
2022.02.04 15:44:31 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Generate analysis UUID | status=SUCCESS | time=0ms
2022.02.04 15:44:31 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Load analysis metadata | status=SUCCESS | time=125ms
2022.02.04 15:44:31 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Initialize | status=SUCCESS | time=0ms
2022.02.04 15:44:31 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Build tree of components | components=224 | status=SUCCESS | time=122ms
2022.02.04 15:44:31 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Validate project | status=SUCCESS | time=6ms
2022.02.04 15:44:32 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Load quality profiles | status=SUCCESS | time=1340ms
2022.02.04 15:44:32 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Load Quality gate | status=SUCCESS | time=18ms
2022.02.04 15:44:32 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Load new code period | status=SUCCESS | time=10ms
2022.02.04 15:44:32 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Detect file moves | reportFiles=112 | dbFiles=112 | addedFiles=0 | status=SUCCESS | time=15ms
2022.02.04 15:44:32 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Load duplications | duplications=0 | status=SUCCESS | time=7ms
2022.02.04 15:44:32 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute cross project duplications | status=SUCCESS | time=0ms
2022.02.04 15:44:32 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute size measures | status=SUCCESS | time=20ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute new coverage | status=SUCCESS | time=479ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute coverage measures | status=SUCCESS | time=6ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute comment measures | status=SUCCESS | time=3ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute duplication measures | status=SUCCESS | time=4ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute size measures on new code | status=SUCCESS | time=7ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute language distribution | status=SUCCESS | time=15ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute test measures | status=SUCCESS | time=3ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute complexity measures | status=SUCCESS | time=5ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Load measure computers | status=SUCCESS | time=2ms
2022.02.04 15:44:33 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute Quality Profile status | status=SUCCESS | time=29ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Execute component visitors | status=SUCCESS | time=429ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Checks executed after computation of measures | status=SUCCESS | time=0ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute Quality Gate measures | status=SUCCESS | time=10ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Compute Quality profile measures | status=SUCCESS | time=4ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Generate Quality profile events | status=SUCCESS | time=5ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Generate Quality gate events | status=SUCCESS | time=4ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Check upgrade possibility for not analyzed code files. | status=SUCCESS | time=2ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist components | status=SUCCESS | time=51ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist analysis | status=SUCCESS | time=3ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist analysis properties | status=SUCCESS | time=7ms
2022.02.04 15:44:34 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist measures | inserts=37 | status=SUCCESS | time=33ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist live measures | insertsOrUpdates=8183 | status=SUCCESS | time=2134ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist duplication data | insertsOrUpdates=0 | status=SUCCESS | time=1ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist new ad hoc Rules | status=SUCCESS | time=0ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist issues | cacheSize=0 bytes | inserts=0 | updates=0 | merged=0 | status=SUCCESS | time=3ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist project links | status=SUCCESS | time=8ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist events | status=SUCCESS | time=6ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist sources | status=SUCCESS | time=223ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Persist cross project duplications | status=SUCCESS | time=0ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Enable analysis | status=SUCCESS | time=4ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Update last usage date of quality profiles | status=SUCCESS | time=10ms
2022.02.04 15:44:36 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Purge db | status=SUCCESS | time=399ms
2022.02.04 15:44:37 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Index analysis | status=SUCCESS | time=631ms
2022.02.04 15:44:37 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Update need issue sync for branch | status=SUCCESS | time=2ms
2022.02.04 15:44:37 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Send issue notifications | newIssuesNotifs=0 | newIssuesDeliveries=0 | myNewIssuesNotifs=0 | myNewIssuesDeliveries=0 | changesNotifs=0 | changesDeliveries=0 | status=SUCCESS | time=5ms
2022.02.04 15:44:37 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Publish task results | status=SUCCESS | time=0ms
2022.02.04 15:44:37 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.s.ComputationStepExecutor] Trigger refresh of Portfolios and Applications | status=SUCCESS | time=0ms
2022.02.04 15:44:37 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Webhooks | globalWebhooks=0 | projectWebhooks=0 | status=SUCCESS | time=6ms
2022.02.04 15:44:37 INFO  ce[AX7EOmrVa4XYFjIXh8bO][o.s.c.t.CeWorkerImpl] Executed task | project=FirstInsight.appid.app | type=REPORT | id=AX7EOmrVa4XYFjIXh8bO | submitter=admin | status=SUCCESS | time=7077ms

Hi,

What I see in your analysis log is that Swift files are excluded from analysis

But your properties file tries to narrow analysis to Swift:

(BTW, that property was dropped years ago; it does nothing.)

Can you confirm that you’re using Developer Edition? Swift analysis isn’t available in Community Edition.

 
Ann

1 Like

i am using Developer edition

Hi Ann - great thanks.




This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.