Closed echarrod closed 5 years ago
Hello,
I had try and the analysis work's for me with this step:
Thanks for trying it out.
I presume i'd need to add the following lines to my pipeline for that:
go get -u github.com/jstemmer/go-junit-report
go get github.com/axw/gocov/gocov
go get github.com/AlekSi/gocov-xml
Are these the tools you're referring to?
I thought there would be some default go tools which would allow me to generate this coverage, but failing that I guess I could add these
I ran the above commands anyway, and can see coverage.out
,coverage.xml
,sonar-report.json
, and test.xml
produced, but I'm still getting
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_KeyLoad_Failure
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_HttpFailure_ReturnsFailure
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_HttpFailure_ReturnsProfileNotFound
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_SharingFailure_ReturnsFailure
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_TokenDecodedSuccessfully
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseProfile_Success
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParentRememberMeID
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseWithoutProfile_Success
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseWithoutRememberMeID_Success
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnsupportedHttpMethod_ReturnsError
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_SupportedHttpMethod
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PerformAmlCheck_Success
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PerformAmlCheck_Unsuccessful
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_True
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_False
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_InvalidValueThrowsError
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnmarshallJSONValue_InvalidValueThrowsError
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnmarshallJSONValue_ValidValue
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_MissingPostalAddress_UsesFormattedAddress
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PresentPostalAddress_DoesntUseFormattedAddress
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_MissingFormattedAddress_AddressUnchanged
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_String
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestEmptyStringIsAllowed
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Time
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Jpeg
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Png
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Bool
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_JSON
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Undefined
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_ReturnsNil
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_StringAttribute
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_AttributeProperty_RetrievesAttribute
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Png
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Jpeg
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Default
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Base64Selfie_Png
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Base64URL_Jpeg
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_Passport
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_DrivingLicense
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_YotiAdmin
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchors_None
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestDateOfBirthAttribute
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNewImageSlice
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestImageSliceNotCreatedWithNonMultiValueType
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestMultiValueNotCreatedWithNonMultiValueType
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNewMultiValue
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestInvalidMultiValueNotReturned
WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNestedMultiValue
Hello,
Could you post the logs for sonar-scanner -X
?
Do you use sonarqube server in docker container ?
Hi,
logs when I run sonar-scanner -X. I have tried downloding the sonarqube7.7 community edition as well with the same result, this is with 7.7-community
docker image.
> sonar-scanner -X
11:28:04.115 INFO: Scanner configuration file: C:\Program Files\sonar-scanner-cli-3.3.0.1492-windows\sonar-scanner-3.3.0.1492-windows\bin\..\conf\sonar-scanner.properties
11:28:04.128 INFO: Project root configuration file: C:\Users\my.username\source\repos\go\sonar-project.properties
11:28:04.173 INFO: SonarQube Scanner 3.3.0.1492
11:28:04.174 INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
11:28:04.174 INFO: Windows 10 10.0 amd64
11:28:04.429 DEBUG: keyStore is :
11:28:04.446 DEBUG: keyStore type is : jks
11:28:04.447 DEBUG: keyStore provider is :
11:28:04.447 DEBUG: init keystore
11:28:04.448 DEBUG: init keymanager of type SunX509
11:28:06.275 DEBUG: Create: C:\Users\my.username\.sonar\cache
11:28:06.278 INFO: User cache: C:\Users\my.username\.sonar\cache
11:28:06.279 DEBUG: Create: C:\Users\my.username\.sonar\cache\_tmp
11:28:06.286 DEBUG: Extract sonar-scanner-api-batch in temp...
11:28:06.298 DEBUG: Get bootstrap index...
11:28:06.299 DEBUG: Download: http://localhost:9000/batch/index
11:28:06.682 DEBUG: Get bootstrap completed
11:28:06.866 DEBUG: Create isolated classloader...
11:28:06.889 DEBUG: Start temp cleaning...
11:28:06.905 DEBUG: Temp cleaning done
11:28:06.906 DEBUG: Execution getVersion
11:28:06.915 INFO: SonarQube server 7.7.0
11:28:06.922 INFO: Default locale: "en_GB", source code encoding: "windows-1252" (analysis is platform dependent)
11:28:06.925 DEBUG: Work directory: C:\Users\my.username\source\repos\go\.scannerwork
11:28:06.928 DEBUG: Execution execute
11:28:08.310 INFO: Load global settings
11:28:08.758 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=426ms
11:28:08.821 INFO: Load global settings (done) | time=515ms
11:28:08.833 INFO: Server id: BF41A1F2-AWnYcAPWZg54uB1TuInI
11:28:08.879 INFO: User cache: C:\Users\my.username\.sonar\cache
11:28:08.891 INFO: Load/download plugins
11:28:08.891 INFO: Load plugins index
11:28:08.968 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=76ms
11:28:09.041 INFO: Load plugins index (done) | time=150ms
11:28:09.679 INFO: Load/download plugins (done) | time=789ms
11:28:09.832 DEBUG: Plugins:
11:28:09.833 DEBUG: * SonarPython 1.13.0.2922 (python)
11:28:09.833 DEBUG: * SonarCSS 1.0.3.724 (cssfamily)
11:28:09.834 DEBUG: * JaCoCo 1.0.1.143 (jacoco)
11:28:09.835 DEBUG: * SonarGo 1.1.0.1612 (go)
11:28:09.835 DEBUG: * SonarKotlin 1.5.0.315 (kotlin)
11:28:09.835 DEBUG: * Svn 1.9.0.1295 (scmsvn)
11:28:09.836 DEBUG: * SonarJS 5.1.1.7506 (javascript)
11:28:09.837 DEBUG: * SonarRuby 1.5.0.315 (ruby)
11:28:09.837 DEBUG: * SonarScala 1.5.0.315 (sonarscala)
11:28:09.838 DEBUG: * SonarC# 7.11.0.8083 (csharp)
11:28:09.838 DEBUG: * SonarJava 5.11.0.17289 (java)
11:28:09.839 DEBUG: * LDAP 2.2.0.608 (ldap)
11:28:09.839 DEBUG: * SonarHTML 3.1.0.1615 (web)
11:28:09.840 DEBUG: * Git 1.8.0.1574 (scmgit)
11:28:09.840 DEBUG: * SonarFlex 2.4.0.1222 (flex)
11:28:09.841 DEBUG: * SonarXML 2.0.1.2020 (xml)
11:28:09.841 DEBUG: * SonarPHP 3.0.0.4537 (php)
11:28:09.845 DEBUG: * SonarTS 1.9.0.3766 (typescript)
11:28:09.846 DEBUG: * SonarVB 7.11.0.8083 (vbnet)
11:28:10.769 INFO: Process project properties
11:28:10.781 DEBUG: Process project properties (done) | time=12ms
11:28:10.789 INFO: Execute project builders
11:28:10.791 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
11:28:10.795 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
11:28:10.799 INFO: Execute project builders (done) | time=10ms
11:28:10.813 INFO: Project key: yoti-web-sdk:go
11:28:10.814 INFO: Base dir: C:\Users\my.username\source\repos\go
11:28:10.814 INFO: Working dir: C:\Users\my.username\source\repos\go\.scannerwork
11:28:10.815 DEBUG: Project global encoding: windows-1252, default locale: en_GB
11:28:10.822 DEBUG: Creating module hierarchy
11:28:10.823 DEBUG: Init module 'go-sdk'
11:28:10.830 DEBUG: Base dir: C:\Users\my.username\source\repos\go
11:28:10.831 DEBUG: Working dir: C:\Users\my.username\source\repos\go\.scannerwork
11:28:10.833 DEBUG: Module global encoding: windows-1252, default locale: en_GB
11:28:10.867 INFO: Load project settings for component key: 'yoti-web-sdk:go'
11:28:10.904 DEBUG: GET 404 http://localhost:9000/api/settings/values.protobuf?component=yoti-web-sdk%3Ago | time=35ms
11:28:10.954 DEBUG: Available languages:
11:28:10.955 DEBUG: * Python => "py"
11:28:10.956 DEBUG: * CSS => "css"
11:28:10.956 DEBUG: * Go => "go"
11:28:10.957 DEBUG: * Kotlin => "kotlin"
11:28:10.959 DEBUG: * JavaScript => "js"
11:28:10.960 DEBUG: * Ruby => "ruby"
11:28:10.960 DEBUG: * Scala => "scala"
11:28:10.961 DEBUG: * C# => "cs"
11:28:10.961 DEBUG: * Java => "java"
11:28:10.962 DEBUG: * HTML => "web"
11:28:10.963 DEBUG: * JSP => "jsp"
11:28:10.963 DEBUG: * Flex => "flex"
11:28:10.964 DEBUG: * XML => "xml"
11:28:10.966 DEBUG: * PHP => "php"
11:28:10.969 DEBUG: * TypeScript => "ts"
11:28:10.969 DEBUG: * VB.NET => "vbnet"
11:28:10.986 INFO: Load project repositories
11:28:11.004 DEBUG: GET 404 http://localhost:9000/batch/project.protobuf?key=yoti-web-sdk%3Ago | time=17ms
11:28:11.007 DEBUG: Project repository not available - continuing without it
11:28:11.008 INFO: Load project repositories (done) | time=22ms
11:28:11.009 INFO: Load quality profiles
11:28:11.183 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?defaults=true | time=173ms
11:28:11.202 INFO: Load quality profiles (done) | time=193ms
11:28:11.259 INFO: Load active rules
11:28:12.462 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMR6Zg54uB1TuJ_v&p=1&ps=500 | time=1200ms
11:28:12.823 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMYMZg54uB1TuKAl&p=1&ps=500 | time=236ms
11:28:12.882 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMa_Zg54uB1TuKBE&p=1&ps=500 | time=46ms
11:28:13.279 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMe4Zg54uB1TuKCj&p=1&ps=500 | time=397ms
11:28:13.505 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMbqZg54uB1TuKBl&p=1&ps=500 | time=216ms
11:28:13.805 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMlFZg54uB1TuKJL&p=1&ps=500 | time=293ms
11:28:14.015 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMntZg54uB1TuKLe&p=1&ps=500 | time=188ms
11:28:14.194 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMpLZg54uB1TuKMo&p=1&ps=500 | time=170ms
11:28:14.850 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMrYZg54uB1TuKQ2&p=1&ps=500 | time=653ms
11:28:16.021 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcMxSZg54uB1TuKah&p=1&ps=500 | time=1070ms
11:28:16.269 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcM59Zg54uB1TuKgw&p=1&ps=500 | time=176ms
11:28:16.418 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcNBdZg54uB1TuKhy&p=1&ps=500 | time=147ms
11:28:16.498 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcND8Zg54uB1TuKim&p=1&ps=500 | time=74ms
11:28:16.796 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcNN0Zg54uB1TuKlx&p=1&ps=500 | time=297ms
11:28:17.186 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcNTHZg54uB1TuKpF&p=1&ps=500 | time=382ms
11:28:17.570 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWnYcNXAZg54uB1TuKrm&p=1&ps=500 | time=373ms
11:28:17.589 INFO: Load active rules (done) | time=6330ms
11:28:17.722 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
11:28:17.723 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
11:28:17.727 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
11:28:17.727 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
11:28:17.729 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
11:28:17.730 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
11:28:17.731 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
11:28:17.732 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
11:28:17.732 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
11:28:17.734 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
11:28:17.735 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
11:28:17.735 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
11:28:17.736 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
11:28:17.746 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
11:28:17.750 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
11:28:17.752 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
11:28:17.755 INFO: Indexing files...
11:28:17.757 INFO: Project configuration:
11:28:17.768 INFO: Excluded sources: **/yotiprotoattr/*.go, **/yotiprotocom/*.go, **/**_test.go
11:28:17.770 INFO: Included tests: **/**_test.go
11:28:17.823 DEBUG: readpipe [git, --version],C:\Program Files\Git\cmd
11:28:18.010 DEBUG: readpipe may return 'git version 2.21.0.windows.1'
11:28:18.022 DEBUG: remaining output:
11:28:18.042 DEBUG: readpipe [git, config, --system, --edit],C:\Program Files\Git\cmd
11:28:18.454 DEBUG: readpipe may return 'C:/Program Files/Git/mingw64/etc/gitconfig'
11:28:18.460 DEBUG: remaining output:
11:28:18.595 DEBUG: 65 non excluded files in this Git repository
11:28:18.662 DEBUG: '.gitignore' indexed with language 'null'
11:28:18.816 DEBUG: File 'C:\Users\my.username\source\repos\go\.vscode\launch.json' is excluded by the scm ignore settings.
11:28:18.906 DEBUG: File 'C:\Users\my.username\source\repos\go\.vscode\settings.json' is excluded by the scm ignore settings.
11:28:18.914 DEBUG: File 'C:\Users\my.username\source\repos\go\.vscode\tasks.json' is excluded by the scm ignore settings.
11:28:18.923 DEBUG: 'activitydetails.go' indexed with language 'go'
11:28:18.932 DEBUG: 'activityerrors.go' indexed with language 'go'
11:28:18.939 DEBUG: 'aml.go' indexed with language 'go'
11:28:18.946 DEBUG: 'anchor\anchorparser.go' indexed with language 'go'
11:28:18.958 DEBUG: 'anchor\anchors.go' indexed with language 'go'
11:28:18.960 DEBUG: 'anchor\signedtimestamp.go' indexed with language 'go'
11:28:18.964 DEBUG: 'attribute\genericattribute.go' indexed with language 'go'
11:28:18.967 DEBUG: 'attribute\image.go' indexed with language 'go'
11:28:18.970 DEBUG: 'attribute\imageattribute.go' indexed with language 'go'
11:28:18.973 DEBUG: 'attribute\imagesliceattribute.go' indexed with language 'go'
11:28:18.980 DEBUG: 'attribute\item.go' indexed with language 'go'
11:28:18.995 DEBUG: 'attribute\jsonattribute.go' indexed with language 'go'
11:28:19.001 DEBUG: 'attribute\multivalueattribute.go' indexed with language 'go'
11:28:19.005 DEBUG: 'attribute\parser.go' indexed with language 'go'
11:28:19.013 DEBUG: 'attribute\stringattribute.go' indexed with language 'go'
11:28:19.017 DEBUG: 'attribute\timeattribute.go' indexed with language 'go'
11:28:19.020 DEBUG: 'CONTRIBUTING.md' indexed with language 'null'
11:28:19.029 DEBUG: 'conversion.go' indexed with language 'go'
11:28:19.042 DEBUG: 'coverage.out' indexed with language 'null'
11:28:19.055 DEBUG: 'coverage.xml' indexed with language 'xml'
11:28:19.059 DEBUG: 'crypto.go' indexed with language 'go'
11:28:19.064 DEBUG: 'dataobjects.go' indexed with language 'go'
11:28:19.067 DEBUG: File 'C:\Users\my.username\source\repos\go\debug.test' is excluded by the scm ignore settings.
11:28:19.072 DEBUG: 'examples\aml\.env.example' indexed with language 'null'
11:28:19.075 DEBUG: 'examples\aml\.gitignore' indexed with language 'null'
11:28:19.079 DEBUG: 'examples\aml\main.go' indexed with language 'go'
11:28:19.081 DEBUG: 'examples\go.mod' indexed with language 'null'
11:28:19.088 DEBUG: 'examples\go.sum' indexed with language 'null'
11:28:19.099 DEBUG: File 'C:\Users\my.username\source\repos\go\examples\profile\.env' is excluded by the scm ignore settings.
11:28:19.101 DEBUG: 'examples\profile\.env.example' indexed with language 'null'
11:28:19.103 DEBUG: 'examples\profile\.gitignore' indexed with language 'null'
11:28:19.109 DEBUG: 'examples\profile\certificatehelper.go' indexed with language 'go'
11:28:19.116 DEBUG: 'examples\profile\images\.keep' indexed with language 'null'
11:28:19.119 DEBUG: File 'C:\Users\my.username\source\repos\go\examples\profile\images\YotiSelfie.jpeg' is excluded by the scm ignore settings.
11:28:19.121 DEBUG: 'examples\profile\login.html' indexed with language 'web'
11:28:19.124 DEBUG: 'examples\profile\main.go' indexed with language 'go'
11:28:19.127 DEBUG: 'examples\profile\profile.html' indexed with language 'web'
11:28:19.129 DEBUG: File 'C:\Users\my.username\source\repos\go\examples\profile\yotiSelfSignedCert.pem' is excluded by the scm ignore settings.
11:28:19.132 DEBUG: File 'C:\Users\my.username\source\repos\go\examples\profile\yotiSelfSignedKey.pem' is excluded by the scm ignore settings.
11:28:19.134 DEBUG: 'go.mod' indexed with language 'null'
11:28:19.136 DEBUG: 'go.sum' indexed with language 'null'
11:28:19.138 DEBUG: 'httprequester.go' indexed with language 'go'
11:28:19.142 DEBUG: 'image.go' indexed with language 'go'
11:28:19.149 DEBUG: 'LICENSE.md' indexed with language 'null'
11:28:19.158 DEBUG: 'login_flow.png' indexed with language 'null'
11:28:19.292 DEBUG: 'README.md' indexed with language 'null'
11:28:19.365 DEBUG: 'sonar-project.properties' indexed with language 'null'
11:28:19.372 DEBUG: 'sonar-report.json' indexed with language 'null'
11:28:19.376 DEBUG: 'test-key-invalid-format.pem' indexed with language 'null'
11:28:19.385 DEBUG: 'test-key.pem' indexed with language 'null'
11:28:19.392 DEBUG: 'test.xml' indexed with language 'xml'
11:28:19.399 DEBUG: 'testanchordrivinglicense.txt' indexed with language 'null'
11:28:19.403 DEBUG: 'testanchorpassport.txt' indexed with language 'null'
11:28:19.408 DEBUG: 'testanchoryotiadmin.txt' indexed with language 'null'
11:28:19.412 DEBUG: 'testattributedateofbirth.txt' indexed with language 'null'
11:28:19.414 DEBUG: 'testattributemultivalue.txt' indexed with language 'null'
11:28:19.416 DEBUG: 'yotiattributevalue.go' indexed with language 'go'
11:28:19.419 DEBUG: 'yoticlient.go' indexed with language 'go'
11:28:19.436 DEBUG: 'yotiprofile.go' indexed with language 'go'
11:28:19.467 DEBUG: 'yotiuserprofile.go' indexed with language 'go'
11:28:19.575 DEBUG: 'yoti_test.go' indexed as test with language 'go'
11:28:19.576 INFO: 57 files indexed
11:28:19.577 INFO: 0 files ignored because of inclusion/exclusion patterns
11:28:19.577 INFO: 0 files ignored because of scm ignore settings
11:28:19.583 INFO: Quality profile for go: Sonar way
11:28:19.587 INFO: Quality profile for web: Sonar way
11:28:19.587 INFO: Quality profile for xml: Sonar way
11:28:19.588 INFO: ------------- Run sensors on module go-sdk
11:28:20.387 INFO: Load metrics repository
11:28:20.972 DEBUG: GET 200 http://localhost:9000/api/metrics/search?f=name,description,direction,qualitative,custom&ps=500&p=1 | time=212ms
11:28:21.045 INFO: Load metrics repository (done) | time=658ms
11:28:28.006 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
11:28:28.026 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
11:28:28.051 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
11:28:28.842 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
11:28:28.861 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
11:28:28.865 DEBUG: 'PylintSensor' skipped because there is no related file in current project
11:28:28.868 DEBUG: 'PylintImportSensor' skipped because there is no related file in current project
11:28:28.870 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
11:28:28.874 DEBUG: 'SonarCSS Metrics' skipped because there is no related file in current project
11:28:28.876 DEBUG: 'SonarCSS Rules' skipped because there is no related file in current project
11:28:28.883 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
11:28:28.888 DEBUG: 'Import of go vet issues' skipped because one of the required properties is missing
11:28:28.903 DEBUG: 'Import of Golint issues' skipped because one of the required properties is missing
11:28:28.904 DEBUG: 'Import of GoMetaLinter issues' skipped because one of the required properties is missing
11:28:28.907 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
11:28:28.909 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
11:28:28.910 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
11:28:28.911 DEBUG: 'SonarJS' skipped because there is no related file in current project
11:28:28.913 DEBUG: 'ESLint-based SonarJS' skipped because there is no related file in current project
11:28:28.915 DEBUG: 'SonarJS Coverage' skipped because there is no related file in current project
11:28:28.917 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
11:28:28.917 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
11:28:28.920 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
11:28:28.925 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
11:28:28.934 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
11:28:28.936 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
11:28:28.938 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
11:28:28.939 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
11:28:28.940 DEBUG: 'C# Properties' skipped because there is no related file in current project
11:28:28.945 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
11:28:28.953 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
11:28:28.957 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
11:28:28.961 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
11:28:28.965 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
11:28:28.968 DEBUG: 'Flex' skipped because there is no related file in current project
11:28:28.969 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
11:28:28.971 DEBUG: 'PHP sensor' skipped because there is no related file in current project
11:28:28.973 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
11:28:28.982 DEBUG: 'SonarTS' skipped because there is no related file in current project
11:28:28.988 DEBUG: 'SonarTS Coverage' skipped because there is no related file in current project
11:28:28.993 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
11:28:28.997 DEBUG: 'VB.NET Properties' skipped because there is no related file in current project
11:28:29.010 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
11:28:29.015 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
11:28:29.017 DEBUG: 'C#' skipped because there is no related file in current project
11:28:29.018 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
11:28:29.019 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
11:28:29.020 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
11:28:29.021 DEBUG: 'VB.NET' skipped because there is no related file in current project
11:28:29.023 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
11:28:29.024 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
11:28:29.024 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
11:28:29.026 DEBUG: Sensors : JaCoCo XML Report Importer -> SonarGo -> Go Unit Test Report -> JavaXmlSensor -> HTML -> XML Sensor
11:28:29.028 INFO: Sensor JaCoCo XML Report Importer [jacoco]
11:28:29.036 DEBUG: No reports found
11:28:29.036 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=9ms
11:28:29.038 INFO: Sensor SonarGo [go]
11:28:29.615 DEBUG: 'activitydetails.go' generated metadata with charset 'windows-1252'
11:28:29.623 WARN: Metric 'comment_lines_data' is deprecated. Provided value is ignored.
11:28:29.760 DEBUG: 'activityerrors.go' generated metadata with charset 'windows-1252'
11:28:29.766 DEBUG: Not enough content in 'activityerrors.go' to have CPD blocks, it will not be part of the duplication detection
11:28:29.981 DEBUG: 'aml.go' generated metadata with charset 'windows-1252'
11:28:30.237 DEBUG: 'anchor/anchorparser.go' generated metadata with charset 'windows-1252'
11:28:30.465 DEBUG: 'anchor/anchors.go' generated metadata with charset 'UTF-8'
11:28:30.587 DEBUG: 'anchor/signedtimestamp.go' generated metadata with charset 'windows-1252'
11:28:30.818 DEBUG: 'attribute/genericattribute.go' generated metadata with charset 'windows-1252'
11:28:30.895 DEBUG: 'attribute/image.go' generated metadata with charset 'windows-1252'
11:28:30.967 DEBUG: 'attribute/imageattribute.go' generated metadata with charset 'windows-1252'
11:28:31.035 DEBUG: 'attribute/imagesliceattribute.go' generated metadata with charset 'windows-1252'
11:28:31.110 DEBUG: 'attribute/item.go' generated metadata with charset 'windows-1252'
11:28:31.176 DEBUG: 'attribute/jsonattribute.go' generated metadata with charset 'windows-1252'
11:28:31.335 DEBUG: 'attribute/multivalueattribute.go' generated metadata with charset 'windows-1252'
11:28:31.446 DEBUG: 'attribute/parser.go' generated metadata with charset 'windows-1252'
11:28:31.532 DEBUG: 'attribute/stringattribute.go' generated metadata with charset 'windows-1252'
11:28:31.623 DEBUG: 'attribute/timeattribute.go' generated metadata with charset 'windows-1252'
11:28:31.718 DEBUG: 'conversion.go' generated metadata with charset 'windows-1252'
11:28:31.868 DEBUG: 'crypto.go' generated metadata with charset 'windows-1252'
11:28:32.011 DEBUG: 'dataobjects.go' generated metadata with charset 'windows-1252'
11:28:32.110 DEBUG: 'examples/aml/main.go' generated metadata with charset 'windows-1252'
11:28:32.244 DEBUG: 'examples/profile/certificatehelper.go' generated metadata with charset 'windows-1252'
11:28:32.371 DEBUG: 'examples/profile/main.go' generated metadata with charset 'windows-1252'
11:28:32.491 DEBUG: 'httprequester.go' generated metadata with charset 'windows-1252'
11:28:32.564 DEBUG: 'image.go' generated metadata with charset 'windows-1252'
11:28:32.803 DEBUG: 'yoti_test.go' generated metadata as test with charset 'windows-1252'
11:28:32.993 DEBUG: 'yotiattributevalue.go' generated metadata with charset 'windows-1252'
11:28:33.110 DEBUG: 'yoticlient.go' generated metadata with charset 'windows-1252'
11:28:33.225 DEBUG: 'yotiprofile.go' generated metadata with charset 'windows-1252'
11:28:33.304 DEBUG: 'yotiuserprofile.go' generated metadata with charset 'windows-1252'
11:28:33.311 INFO: Load coverage report from 'C:\Users\my.username\source\repos\go\coverage.out'
11:28:33.328 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/image.go using relative path
11:28:33.331 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/image.go'
11:28:33.350 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/activitydetails.go using relative path
11:28:33.352 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/activitydetails.go'
11:28:33.355 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yotiattributevalue.go using relative path
11:28:33.357 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yotiattributevalue.go'
11:28:33.360 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/crypto.go using relative path
11:28:33.361 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/crypto.go'
11:28:33.366 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yotiprofile.go using relative path
11:28:33.367 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yotiprofile.go'
11:28:33.372 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/conversion.go using relative path
11:28:33.373 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/conversion.go'
11:28:33.376 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/aml.go using relative path
11:28:33.377 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/aml.go'
11:28:33.381 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/httprequester.go using relative path
11:28:33.382 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/httprequester.go'
11:28:33.385 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yoticlient.go using relative path
11:28:33.388 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yoticlient.go'
11:28:33.402 INFO: Sensor SonarGo [go] (done) | time=4364ms
11:28:33.403 INFO: Sensor Go Unit Test Report [go]
11:28:33.422 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_KeyLoad_Failure
11:28:33.424 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_HttpFailure_ReturnsFailure
11:28:33.425 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_HttpFailure_ReturnsProfileNotFound
11:28:33.426 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_SharingFailure_ReturnsFailure
11:28:33.427 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_TokenDecodedSuccessfully
11:28:33.427 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseProfile_Success
11:28:33.429 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParentRememberMeID
11:28:33.431 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseWithoutProfile_Success
11:28:33.431 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseWithoutRememberMeID_Success
11:28:33.432 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnsupportedHttpMethod_ReturnsError
11:28:33.434 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_SupportedHttpMethod
11:28:33.438 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PerformAmlCheck_Success
11:28:33.440 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PerformAmlCheck_Unsuccessful
11:28:33.441 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_True
11:28:33.441 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_False
11:28:33.442 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_InvalidValueThrowsError
11:28:33.446 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnmarshallJSONValue_InvalidValueThrowsError
11:28:33.448 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnmarshallJSONValue_ValidValue
11:28:33.449 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_MissingPostalAddress_UsesFormattedAddress
11:28:33.451 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PresentPostalAddress_DoesntUseFormattedAddress
11:28:33.452 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_MissingFormattedAddress_AddressUnchanged
11:28:33.452 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_String
11:28:33.453 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestEmptyStringIsAllowed
11:28:33.453 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Time
11:28:33.454 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Jpeg
11:28:33.454 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Png
11:28:33.455 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Bool
11:28:33.457 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_JSON
11:28:33.458 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Undefined
11:28:33.460 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_ReturnsNil
11:28:33.464 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_StringAttribute
11:28:33.466 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_AttributeProperty_RetrievesAttribute
11:28:33.468 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Png
11:28:33.469 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Jpeg
11:28:33.470 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Default
11:28:33.470 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Base64Selfie_Png
11:28:33.471 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Base64URL_Jpeg
11:28:33.472 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_Passport
11:28:33.472 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_DrivingLicense
11:28:33.473 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_YotiAdmin
11:28:33.473 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchors_None
11:28:33.474 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestDateOfBirthAttribute
11:28:33.474 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNewImageSlice
11:28:33.475 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestImageSliceNotCreatedWithNonMultiValueType
11:28:33.475 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestMultiValueNotCreatedWithNonMultiValueType
11:28:33.480 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNewMultiValue
11:28:33.482 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestInvalidMultiValueNotReturned
11:28:33.491 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNestedMultiValue
11:28:33.493 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestMultiValueGenericGetter
11:28:33.497 INFO: Sensor Go Unit Test Report [go] (done) | time=94ms
11:28:33.500 INFO: Sensor JavaXmlSensor [java]
11:28:33.506 INFO: 2 source files to be analyzed
11:28:33.516 DEBUG: 'coverage.xml' generated metadata with charset 'windows-1252'
11:28:33.936 DEBUG: 'test.xml' generated metadata with charset 'windows-1252'
11:28:33.948 INFO: Sensor JavaXmlSensor [java] (done) | time=448ms
11:28:33.955 INFO: Sensor HTML [web]
11:28:33.949 INFO: 2/2 source files have been analyzed
11:28:33.983 DEBUG: 'examples/profile/login.html' generated metadata with charset 'windows-1252'
11:28:34.038 DEBUG: HtmlSensor: examples/profile/login.html: 0,0,1
11:28:34.055 DEBUG: 'examples/profile/profile.html' generated metadata with charset 'windows-1252'
11:28:34.076 DEBUG: HtmlSensor: examples/profile/profile.html: 0,0,1
11:28:34.091 INFO: Sensor HTML [web] (done) | time=136ms
11:28:34.092 INFO: Sensor XML Sensor [xml]
11:28:34.095 INFO: 2 source files to be analyzed
11:28:34.364 DEBUG: Count lines in file:///C:/Users/my.username/source/repos/go/coverage.xml
11:28:34.449 DEBUG: Count lines in file:///C:/Users/my.username/source/repos/go/test.xml
11:28:34.466 INFO: Sensor XML Sensor [xml] (done) | time=373ms
11:28:34.466 INFO: 2/2 source files have been analyzed
11:28:34.480 INFO: ------------- Run sensors on project
11:28:34.500 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
11:28:34.503 DEBUG: Sensors : Zero Coverage Sensor
11:28:34.518 INFO: Sensor Zero Coverage Sensor
11:28:34.640 INFO: Sensor Zero Coverage Sensor (done) | time=122ms
11:28:34.657 INFO: SCM provider for this project is: git
11:28:34.674 INFO: 33 files to be analyzed
11:28:34.704 DEBUG: Blame file attribute/jsonattribute.go
11:28:34.707 DEBUG: Blame file test.xml
11:28:34.707 DEBUG: Blame file attribute/imageattribute.go
11:28:34.707 DEBUG: Blame file examples/profile/profile.html
11:28:34.890 DEBUG: Unable to blame file test.xml. No blame info at line 1. Is file committed? [Author: PersonIdent[Not Committed Yet, , Mon Apr 1 11:28:34 2019 +0100] Source commit: null]
11:28:34.909 DEBUG: Blame file yoti_test.go
11:28:35.053 DEBUG: Blame file crypto.go
11:28:35.062 DEBUG: Blame file examples/profile/main.go
11:28:35.057 DEBUG: Blame file aml.go
11:28:35.171 DEBUG: Blame file attribute/timeattribute.go
11:28:35.151 DEBUG: Blame file attribute/genericattribute.go
11:28:35.196 DEBUG: Blame file examples/profile/login.html
11:28:35.289 DEBUG: Blame file yotiprofile.go
11:28:35.303 DEBUG: Blame file examples/profile/certificatehelper.go
11:28:35.302 DEBUG: Blame file examples/aml/main.go
11:28:35.295 DEBUG: Blame file anchor/anchorparser.go
11:28:35.351 DEBUG: Blame file yoticlient.go
11:28:35.365 DEBUG: Blame file anchor/anchors.go
11:28:35.384 DEBUG: Blame file activityerrors.go
11:28:35.437 DEBUG: Blame file httprequester.go
11:28:35.456 DEBUG: Blame file yotiuserprofile.go
11:28:35.440 DEBUG: Blame file conversion.go
11:28:35.486 DEBUG: Blame file attribute/image.go
11:28:35.495 DEBUG: Blame file attribute/parser.go
11:28:35.530 DEBUG: Blame file yotiattributevalue.go
11:28:35.540 DEBUG: Blame file dataobjects.go
11:28:35.548 DEBUG: Blame file coverage.xml
11:28:35.559 DEBUG: Unable to blame file coverage.xml. No blame info at line 1. Is file committed? [Author: PersonIdent[Not Committed Yet, , Mon Apr 1 11:28:35 2019 +0100] Source commit: null]
11:28:35.563 DEBUG: Blame file image.go
11:28:35.585 DEBUG: Blame file attribute/imagesliceattribute.go
11:28:35.584 DEBUG: Blame file attribute/stringattribute.go
11:28:35.583 DEBUG: Blame file anchor/signedtimestamp.go
11:28:35.652 DEBUG: Blame file attribute/item.go
11:28:35.713 DEBUG: Blame file attribute/multivalueattribute.go
11:28:35.730 DEBUG: Blame file activitydetails.go
11:28:35.775 INFO: 31/33 files analyzed
11:28:35.776 WARN: Missing blame information for the following files:
11:28:35.777 WARN: * test.xml
11:28:35.777 WARN: * coverage.xml
11:28:35.778 WARN: This may lead to missing/broken features in SonarQube
11:28:35.808 INFO: 1 file had no CPD blocks
11:28:35.809 INFO: Calculating CPD for 29 files
11:28:35.810 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/httprequester.go
11:28:35.833 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/profile/login.html
11:28:35.837 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/aml.go
11:28:35.839 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/timeattribute.go
11:28:35.842 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/yotiprofile.go
11:28:35.844 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/yotiattributevalue.go
11:28:35.847 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/item.go
11:28:35.850 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/aml/main.go
11:28:35.852 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/profile/profile.html
11:28:35.861 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/yoticlient.go
11:28:35.863 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/activitydetails.go
11:28:35.865 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/image.go
11:28:35.867 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/anchor/anchors.go
11:28:35.869 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/dataobjects.go
11:28:35.870 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/conversion.go
11:28:35.873 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/yotiuserprofile.go
11:28:35.875 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/parser.go
11:28:35.879 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/anchor/anchorparser.go
11:28:35.883 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/imagesliceattribute.go
11:28:35.886 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/stringattribute.go
11:28:35.889 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/crypto.go
11:28:35.893 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/image.go
11:28:35.897 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/profile/certificatehelper.go
11:28:35.902 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/profile/main.go
11:28:35.906 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/multivalueattribute.go
11:28:35.910 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/imageattribute.go
11:28:35.913 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/genericattribute.go
11:28:35.918 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/jsonattribute.go
11:28:35.923 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/anchor/signedtimestamp.go
11:28:35.928 INFO: CPD calculation finished
11:28:36.254 INFO: Analysis report generated in 262ms, dir size=465 KB
11:28:36.892 INFO: Analysis report compressed in 638ms, zip size=144 KB
11:28:36.893 INFO: Analysis report generated in C:\Users\my.username\source\repos\go\.scannerwork\scanner-report
11:28:36.893 DEBUG: Upload report
11:28:37.733 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=yoti-web-sdk%3Ago&projectName=go-sdk | time=836ms
11:28:37.736 INFO: Analysis report uploaded in 842ms
11:28:37.742 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=yoti-web-sdk%3Ago
11:28:37.743 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
11:28:37.744 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AWnYcZqTZg54uB1TuKwN
11:28:37.747 DEBUG: Report metadata written to C:\Users\my.username\source\repos\go\.scannerwork\report-task.txt
11:28:37.751 DEBUG: Post-jobs :
11:28:37.757 INFO: Analysis total time: 27.879 s
11:28:37.765 INFO: ------------------------------------------------------------------------
11:28:37.765 INFO: EXECUTION SUCCESS
11:28:37.766 INFO: ------------------------------------------------------------------------
11:28:37.768 INFO: Total time: 33.706s
11:28:37.941 INFO: Final Memory: 17M/306M
11:28:37.945 INFO: ------------------------------------------------------------------------
It is a path problem.
Could you post the test.xml file ?
Could you post the logs for sonar-scanner -X
for this specific version ?
test.xml:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite tests="49" failures="0" time="0.000" name="github.com/getyoti/yoti-go-sdk/v2">
<properties>
<property name="go.version" value="go1.12"></property>
</properties>
<testcase classname="v2" name="TestYotiClient_KeyLoad_Failure" time="0.000"></testcase>
<testcase classname="v2" name="TestYotiClient_HttpFailure_ReturnsFailure" time="0.020"></testcase>
<testcase classname="v2" name="TestYotiClient_HttpFailure_ReturnsProfileNotFound" time="0.020"></testcase>
<testcase classname="v2" name="TestYotiClient_SharingFailure_ReturnsFailure" time="0.020"></testcase>
<testcase classname="v2" name="TestYotiClient_TokenDecodedSuccessfully" time="0.020"></testcase>
<testcase classname="v2" name="TestYotiClient_ParseProfile_Success" time="0.030"></testcase>
<testcase classname="v2" name="TestYotiClient_ParentRememberMeID" time="0.030"></testcase>
<testcase classname="v2" name="TestYotiClient_ParseWithoutProfile_Success" time="0.080"></testcase>
<testcase classname="v2" name="TestYotiClient_ParseWithoutRememberMeID_Success" time="0.060"></testcase>
<testcase classname="v2" name="TestYotiClient_UnsupportedHttpMethod_ReturnsError" time="0.000"></testcase>
<testcase classname="v2" name="TestYotiClient_SupportedHttpMethod" time="0.760"></testcase>
<testcase classname="v2" name="TestYotiClient_PerformAmlCheck_Success" time="0.020"></testcase>
<testcase classname="v2" name="TestYotiClient_PerformAmlCheck_Unsuccessful" time="0.020"></testcase>
<testcase classname="v2" name="TestYotiClient_ParseIsAgeVerifiedValue_True" time="0.000"></testcase>
<testcase classname="v2" name="TestYotiClient_ParseIsAgeVerifiedValue_False" time="0.000"></testcase>
<testcase classname="v2" name="TestYotiClient_ParseIsAgeVerifiedValue_InvalidValueThrowsError" time="0.000"></testcase>
<testcase classname="v2" name="TestYotiClient_UnmarshallJSONValue_InvalidValueThrowsError" time="0.000"></testcase>
<testcase classname="v2" name="TestYotiClient_UnmarshallJSONValue_ValidValue" time="0.000"></testcase>
<testcase classname="v2" name="TestYotiClient_MissingPostalAddress_UsesFormattedAddress" time="0.000"></testcase>
<testcase classname="v2" name="TestYotiClient_PresentPostalAddress_DoesntUseFormattedAddress" time="0.000"></testcase>
<testcase classname="v2" name="TestYotiClient_MissingFormattedAddress_AddressUnchanged" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_GetAttribute_String" time="0.000"></testcase>
<testcase classname="v2" name="TestEmptyStringIsAllowed" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_GetAttribute_Time" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_GetAttribute_Jpeg" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_GetAttribute_Png" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_GetAttribute_Bool" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_GetAttribute_JSON" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_GetAttribute_Undefined" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_GetAttribute_ReturnsNil" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_StringAttribute" time="0.000"></testcase>
<testcase classname="v2" name="TestProfile_AttributeProperty_RetrievesAttribute" time="0.000"></testcase>
<testcase classname="v2" name="TestAttributeImage_Image_Png" time="0.000"></testcase>
<testcase classname="v2" name="TestAttributeImage_Image_Jpeg" time="0.000"></testcase>
<testcase classname="v2" name="TestAttributeImage_Image_Default" time="0.000"></testcase>
<testcase classname="v2" name="TestAttributeImage_Base64Selfie_Png" time="0.000"></testcase>
<testcase classname="v2" name="TestAttributeImage_Base64URL_Jpeg" time="0.000"></testcase>
<testcase classname="v2" name="TestAnchorParser_Passport" time="0.000"></testcase>
<testcase classname="v2" name="TestAnchorParser_DrivingLicense" time="0.000"></testcase>
<testcase classname="v2" name="TestAnchorParser_YotiAdmin" time="0.000"></testcase>
<testcase classname="v2" name="TestAnchors_None" time="0.000"></testcase>
<testcase classname="v2" name="TestDateOfBirthAttribute" time="0.000"></testcase>
<testcase classname="v2" name="TestNewImageSlice" time="0.000"></testcase>
<testcase classname="v2" name="TestImageSliceNotCreatedWithNonMultiValueType" time="0.000"></testcase>
<testcase classname="v2" name="TestMultiValueNotCreatedWithNonMultiValueType" time="0.000"></testcase>
<testcase classname="v2" name="TestNewMultiValue" time="0.000"></testcase>
<testcase classname="v2" name="TestInvalidMultiValueNotReturned" time="0.000"></testcase>
<testcase classname="v2" name="TestNestedMultiValue" time="0.000"></testcase>
<testcase classname="v2" name="TestMultiValueGenericGetter" time="0.000"></testcase>
</testsuite>
</testsuites>
Could the problem be that the classname is "v2"?
Do you mean replace the file in data\web\deploy\plugins\go with the one you posted and run StartSonar.bat
?
I'm just having a access/permissions issue running it locally now, but will try to get it going
Do you mean replace the file in data\web\deploy\plugins\go with the one you posted and run StartSonar.bat?
Yes, maybe ...
In my case the path for sonarqube plugins is $SONARQUBE_HOME/extensions/plugins like here
I have created a specific version of the plugin for this issue with more logs for understood the problem. In the zip file, you have the jar plugin file.
Right ok.
I couldn't get round the permissions issue so I ran SonarQube in the docker Container and removed the sonar-go-plugin-1.1.0.1612.jar
file which was there, and replaced it with the one you supplied.
Hope this is what you're looking for!
Logs when I ran sonar-scanner -X
:
> sonar-scanner -X
10:34:17.478 INFO: Scanner configuration file: C:\Program Files\sonar-scanner-cli-3.3.0.1492-windows\sonar-scanner-3.3.0.1492-windows\bin\..\conf\sonar-scanner.properties
10:34:17.483 INFO: Project root configuration file: C:\Users\my.username\source\repos\go\sonar-project.properties
10:34:17.501 INFO: SonarQube Scanner 3.3.0.1492
10:34:17.501 INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
10:34:17.501 INFO: Windows 10 10.0 amd64
10:34:17.653 DEBUG: keyStore is :
10:34:17.654 DEBUG: keyStore type is : jks
10:34:17.654 DEBUG: keyStore provider is :
10:34:17.654 DEBUG: init keystore
10:34:17.655 DEBUG: init keymanager of type SunX509
10:34:18.769 DEBUG: Create: C:\Users\my.username\.sonar\cache
10:34:18.771 INFO: User cache: C:\Users\my.username\.sonar\cache
10:34:18.772 DEBUG: Create: C:\Users\my.username\.sonar\cache\_tmp
10:34:18.776 DEBUG: Extract sonar-scanner-api-batch in temp...
10:34:18.782 DEBUG: Get bootstrap index...
10:34:18.783 DEBUG: Download: http://localhost:9000/batch/index
10:34:18.924 DEBUG: Get bootstrap completed
10:34:18.933 DEBUG: Create isolated classloader...
10:34:18.944 DEBUG: Start temp cleaning...
10:34:18.951 DEBUG: Temp cleaning done
10:34:18.952 DEBUG: Execution getVersion
10:34:18.955 INFO: SonarQube server 7.7.0
10:34:18.957 INFO: Default locale: "en_GB", source code encoding: "windows-1252" (analysis is platform dependent)
10:34:18.959 DEBUG: Work directory: C:\Users\my.username\source\repos\go\.scannerwork
10:34:18.960 DEBUG: Execution execute
10:34:19.767 INFO: Load global settings
10:34:19.910 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=134ms
10:34:19.938 INFO: Load global settings (done) | time=174ms
10:34:19.943 INFO: Server id: BF41A1F2-AWndX9m9p0-RIfpik8dt
10:34:19.960 INFO: User cache: C:\Users\my.username\.sonar\cache
10:34:19.963 INFO: Load/download plugins
10:34:19.964 INFO: Load plugins index
10:34:19.986 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=22ms
10:34:20.019 INFO: Load plugins index (done) | time=55ms
10:34:20.058 INFO: Load/download plugins (done) | time=95ms
10:34:20.136 DEBUG: Plugins:
10:34:20.136 DEBUG: * SonarPython 1.13.0.2922 (python)
10:34:20.136 DEBUG: * SonarCSS 1.0.3.724 (cssfamily)
10:34:20.137 DEBUG: * JaCoCo 1.0.1.143 (jacoco)
10:34:20.137 DEBUG: * SonarGo 1.1.0.1612 (go)
10:34:20.137 DEBUG: * SonarKotlin 1.5.0.315 (kotlin)
10:34:20.138 DEBUG: * Svn 1.9.0.1295 (scmsvn)
10:34:20.138 DEBUG: * SonarJS 5.1.1.7506 (javascript)
10:34:20.139 DEBUG: * SonarRuby 1.5.0.315 (ruby)
10:34:20.139 DEBUG: * SonarScala 1.5.0.315 (sonarscala)
10:34:20.139 DEBUG: * SonarC# 7.11.0.8083 (csharp)
10:34:20.140 DEBUG: * SonarJava 5.11.0.17289 (java)
10:34:20.140 DEBUG: * LDAP 2.2.0.608 (ldap)
10:34:20.141 DEBUG: * SonarHTML 3.1.0.1615 (web)
10:34:20.141 DEBUG: * Git 1.8.0.1574 (scmgit)
10:34:20.142 DEBUG: * SonarFlex 2.4.0.1222 (flex)
10:34:20.142 DEBUG: * SonarXML 2.0.1.2020 (xml)
10:34:20.144 DEBUG: * SonarPHP 3.0.0.4537 (php)
10:34:20.145 DEBUG: * SonarTS 1.9.0.3766 (typescript)
10:34:20.146 DEBUG: * SonarVB 7.11.0.8083 (vbnet)
10:34:20.730 INFO: Process project properties
10:34:20.740 DEBUG: Process project properties (done) | time=10ms
10:34:20.741 INFO: Execute project builders
10:34:20.742 DEBUG: Execute project builder: org.sonar.plugins.csharp.CSharpGlobalProtobufFileProcessor
10:34:20.744 DEBUG: Execute project builder: org.sonar.plugins.vbnet.VbNetGlobalProtobufFileProcessor
10:34:20.749 INFO: Execute project builders (done) | time=8ms
10:34:20.757 INFO: Project key: yoti-web-sdk:go
10:34:20.759 INFO: Base dir: C:\Users\my.username\source\repos\go
10:34:20.759 INFO: Working dir: C:\Users\my.username\source\repos\go\.scannerwork
10:34:20.760 DEBUG: Project global encoding: windows-1252, default locale: en_GB
10:34:20.764 DEBUG: Creating module hierarchy
10:34:20.765 DEBUG: Init module 'go-sdk'
10:34:20.767 DEBUG: Base dir: C:\Users\my.username\source\repos\go
10:34:20.768 DEBUG: Working dir: C:\Users\my.username\source\repos\go\.scannerwork
10:34:20.768 DEBUG: Module global encoding: windows-1252, default locale: en_GB
10:34:20.889 INFO: Load project settings for component key: 'yoti-web-sdk:go'
10:34:20.900 DEBUG: GET 404 http://localhost:9000/api/settings/values.protobuf?component=yoti-web-sdk%3Ago | time=11ms
10:34:20.941 DEBUG: Available languages:
10:34:20.942 DEBUG: * Python => "py"
10:34:20.942 DEBUG: * CSS => "css"
10:34:20.943 DEBUG: * Go => "go"
10:34:20.943 DEBUG: * Kotlin => "kotlin"
10:34:20.944 DEBUG: * JavaScript => "js"
10:34:20.944 DEBUG: * Ruby => "ruby"
10:34:20.945 DEBUG: * Scala => "scala"
10:34:20.945 DEBUG: * C# => "cs"
10:34:20.945 DEBUG: * Java => "java"
10:34:20.946 DEBUG: * HTML => "web"
10:34:20.946 DEBUG: * JSP => "jsp"
10:34:20.947 DEBUG: * Flex => "flex"
10:34:20.947 DEBUG: * XML => "xml"
10:34:20.948 DEBUG: * PHP => "php"
10:34:20.948 DEBUG: * TypeScript => "ts"
10:34:20.949 DEBUG: * VB.NET => "vbnet"
10:34:20.959 INFO: Load project repositories
10:34:20.970 DEBUG: GET 404 http://localhost:9000/batch/project.protobuf?key=yoti-web-sdk%3Ago | time=10ms
10:34:20.978 DEBUG: Project repository not available - continuing without it
10:34:20.980 INFO: Load project repositories (done) | time=21ms
10:34:20.982 INFO: Load quality profiles
10:34:21.068 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?defaults=true | time=85ms
10:34:21.081 INFO: Load quality profiles (done) | time=98ms
10:34:21.117 INFO: Load active rules
10:34:21.632 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYKw4p0-RIfpik92U&p=1&ps=500 | time=514ms
10:34:21.815 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYKzxp0-RIfpik93K&p=1&ps=500 | time=119ms
10:34:21.846 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYK21p0-RIfpik93p&p=1&ps=500 | time=23ms
10:34:22.001 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYK66p0-RIfpik95I&p=1&ps=500 | time=154ms
10:34:22.129 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYK33p0-RIfpik94K&p=1&ps=500 | time=122ms
10:34:22.361 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYLI_p0-RIfpik9_w&p=1&ps=500 | time=225ms
10:34:22.532 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYLNKp0-RIfpik-CD&p=1&ps=500 | time=154ms
10:34:22.673 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYLPQp0-RIfpik-DN&p=1&ps=500 | time=131ms
10:34:23.224 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYLUMp0-RIfpik-Hb&p=1&ps=500 | time=545ms
10:34:24.042 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYLklp0-RIfpik-RG&p=1&ps=500 | time=774ms
10:34:24.189 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYLs1p0-RIfpik-XV&p=1&ps=500 | time=108ms
10:34:24.340 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYLw4p0-RIfpik-YX&p=1&ps=500 | time=150ms
10:34:24.415 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYLzep0-RIfpik-ZL&p=1&ps=500 | time=71ms
10:34:24.669 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYL7_p0-RIfpik-cW&p=1&ps=500 | time=252ms
10:34:24.894 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYL_-p0-RIfpik-fq&p=1&ps=500 | time=216ms
10:34:25.084 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AWndYMExp0-RIfpik-iL&p=1&ps=500 | time=182ms
10:34:25.098 INFO: Load active rules (done) | time=3981ms
10:34:25.191 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
10:34:25.192 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
10:34:25.192 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
10:34:25.193 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
10:34:25.194 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
10:34:25.194 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
10:34:25.195 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
10:34:25.195 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
10:34:25.195 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
10:34:25.196 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
10:34:25.196 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
10:34:25.197 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
10:34:25.197 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
10:34:25.199 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
10:34:25.199 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
10:34:25.200 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
10:34:25.203 INFO: Indexing files...
10:34:25.204 INFO: Project configuration:
10:34:25.205 INFO: Excluded sources: **/yotiprotoattr/*.go, **/yotiprotocom/*.go, **/**_test.go, **/**_test.go
10:34:25.206 INFO: Included tests: **/**_test.go
10:34:25.245 DEBUG: readpipe [git, --version],C:\Program Files\Git\cmd
10:34:25.330 DEBUG: readpipe may return 'git version 2.21.0.windows.1'
10:34:25.331 DEBUG: remaining output:
10:34:25.342 DEBUG: readpipe [git, config, --system, --edit],C:\Program Files\Git\cmd
10:34:25.447 DEBUG: readpipe may return 'C:/Program Files/Git/mingw64/etc/gitconfig'
10:34:25.447 DEBUG: remaining output:
10:34:25.531 DEBUG: 67 non excluded files in this Git repository
10:34:25.547 DEBUG: '.gitignore' indexed with language 'null'
10:34:25.550 DEBUG: '.travis.gofmt.sh' indexed with language 'null'
10:34:25.554 DEBUG: '.travis.yml' indexed with language 'null'
10:34:25.558 DEBUG: File 'C:\Users\my.username\source\repos\go\.vscode\launch.json' is excluded by the scm ignore settings.
10:34:25.559 DEBUG: File 'C:\Users\my.username\source\repos\go\.vscode\settings.json' is excluded by the scm ignore settings.
10:34:25.561 DEBUG: File 'C:\Users\my.username\source\repos\go\.vscode\tasks.json' is excluded by the scm ignore settings.
10:34:25.567 DEBUG: 'activitydetails.go' indexed with language 'go'
10:34:25.572 DEBUG: 'activityerrors.go' indexed with language 'go'
10:34:25.578 DEBUG: 'aml.go' indexed with language 'go'
10:34:25.580 DEBUG: 'anchor\anchorparser.go' indexed with language 'go'
10:34:25.582 DEBUG: 'anchor\anchors.go' indexed with language 'go'
10:34:25.587 DEBUG: 'anchor\signedtimestamp.go' indexed with language 'go'
10:34:25.590 DEBUG: 'attribute\genericattribute.go' indexed with language 'go'
10:34:25.593 DEBUG: 'attribute\image.go' indexed with language 'go'
10:34:25.599 DEBUG: 'attribute\imageattribute.go' indexed with language 'go'
10:34:25.603 DEBUG: 'attribute\imagesliceattribute.go' indexed with language 'go'
10:34:25.607 DEBUG: 'attribute\item.go' indexed with language 'go'
10:34:25.611 DEBUG: 'attribute\jsonattribute.go' indexed with language 'go'
10:34:25.614 DEBUG: 'attribute\multivalueattribute.go' indexed with language 'go'
10:34:25.618 DEBUG: 'attribute\parser.go' indexed with language 'go'
10:34:25.620 DEBUG: 'attribute\stringattribute.go' indexed with language 'go'
10:34:25.622 DEBUG: 'attribute\timeattribute.go' indexed with language 'go'
10:34:25.624 DEBUG: 'CONTRIBUTING.md' indexed with language 'null'
10:34:25.625 DEBUG: 'conversion.go' indexed with language 'go'
10:34:25.629 DEBUG: 'coverage.out' indexed with language 'null'
10:34:25.632 DEBUG: 'coverage.xml' indexed with language 'xml'
10:34:25.642 DEBUG: 'crypto.go' indexed with language 'go'
10:34:25.643 DEBUG: 'dataobjects.go' indexed with language 'go'
10:34:25.645 DEBUG: File 'C:\Users\my.username\source\repos\go\debug.test' is excluded by the scm ignore settings.
10:34:25.648 DEBUG: 'examples\aml\.env.example' indexed with language 'null'
10:34:25.651 DEBUG: 'examples\aml\.gitignore' indexed with language 'null'
10:34:25.657 DEBUG: 'examples\aml\main.go' indexed with language 'go'
10:34:25.670 DEBUG: 'examples\go.mod' indexed with language 'null'
10:34:25.676 DEBUG: 'examples\go.sum' indexed with language 'null'
10:34:25.679 DEBUG: File 'C:\Users\my.username\source\repos\go\examples\profile\.env' is excluded by the scm ignore settings.
10:34:25.681 DEBUG: 'examples\profile\.env.example' indexed with language 'null'
10:34:25.685 DEBUG: 'examples\profile\.gitignore' indexed with language 'null'
10:34:25.693 DEBUG: 'examples\profile\certificatehelper.go' indexed with language 'go'
10:34:25.697 DEBUG: 'examples\profile\images\.keep' indexed with language 'null'
10:34:25.698 DEBUG: File 'C:\Users\my.username\source\repos\go\examples\profile\images\YotiSelfie.jpeg' is excluded by the scm ignore settings.
10:34:25.699 DEBUG: 'examples\profile\login.html' indexed with language 'web'
10:34:25.701 DEBUG: 'examples\profile\main.go' indexed with language 'go'
10:34:25.703 DEBUG: 'examples\profile\profile.html' indexed with language 'web'
10:34:25.708 DEBUG: File 'C:\Users\my.username\source\repos\go\examples\profile\yotiSelfSignedCert.pem' is excluded by the scm ignore settings.
10:34:25.711 DEBUG: File 'C:\Users\my.username\source\repos\go\examples\profile\yotiSelfSignedKey.pem' is excluded by the scm ignore settings.
10:34:25.713 DEBUG: 'go.mod' indexed with language 'null'
10:34:25.715 DEBUG: 'go.sum' indexed with language 'null'
10:34:25.719 DEBUG: 'httprequester.go' indexed with language 'go'
10:34:25.720 DEBUG: 'image.go' indexed with language 'go'
10:34:25.730 DEBUG: 'LICENSE.md' indexed with language 'null'
10:34:25.735 DEBUG: 'login_flow.png' indexed with language 'null'
10:34:25.738 DEBUG: 'README.md' indexed with language 'null'
10:34:25.741 DEBUG: 'sonar-project.properties' indexed with language 'null'
10:34:25.742 DEBUG: 'sonar-report.json' indexed with language 'null'
10:34:25.744 DEBUG: 'test-key-invalid-format.pem' indexed with language 'null'
10:34:25.746 DEBUG: 'test-key.pem' indexed with language 'null'
10:34:25.748 DEBUG: 'test.xml' indexed with language 'xml'
10:34:25.750 DEBUG: 'testanchordrivinglicense.txt' indexed with language 'null'
10:34:25.754 DEBUG: 'testanchorpassport.txt' indexed with language 'null'
10:34:25.764 DEBUG: 'testanchoryotiadmin.txt' indexed with language 'null'
10:34:25.767 DEBUG: 'testattributedateofbirth.txt' indexed with language 'null'
10:34:25.769 DEBUG: 'testattributemultivalue.txt' indexed with language 'null'
10:34:25.772 DEBUG: 'yotiattributevalue.go' indexed with language 'go'
10:34:25.774 DEBUG: 'yoticlient.go' indexed with language 'go'
10:34:25.776 DEBUG: 'yotiprofile.go' indexed with language 'go'
10:34:25.793 DEBUG: 'yotiuserprofile.go' indexed with language 'go'
10:34:25.845 DEBUG: 'yoti_test.go' indexed as test with language 'go'
10:34:25.845 INFO: 59 files indexed
10:34:25.849 INFO: 0 files ignored because of inclusion/exclusion patterns
10:34:25.850 INFO: 0 files ignored because of scm ignore settings
10:34:25.852 INFO: Quality profile for go: Sonar way
10:34:25.852 INFO: Quality profile for web: Sonar way
10:34:25.853 INFO: Quality profile for xml: Sonar way
10:34:25.853 INFO: ------------- Run sensors on module go-sdk
10:34:26.042 INFO: Load metrics repository
10:34:26.110 DEBUG: GET 200 http://localhost:9000/api/metrics/search?f=name,description,direction,qualitative,custom&ps=500&p=1 | time=65ms
10:34:26.129 INFO: Load metrics repository (done) | time=87ms
10:34:28.140 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
10:34:28.143 DEBUG: 'Import external issues report' skipped because one of the required properties is missing
10:34:28.145 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
10:34:28.148 DEBUG: 'Cobertura Sensor for Python coverage' skipped because there is no related file in current project
10:34:28.150 DEBUG: 'PythonXUnitSensor' skipped because there is no related file in current project
10:34:28.152 DEBUG: 'PylintSensor' skipped because there is no related file in current project
10:34:28.153 DEBUG: 'PylintImportSensor' skipped because there is no related file in current project
10:34:28.158 DEBUG: 'Import of Bandit issues' skipped because there is no related file in current project
10:34:28.170 DEBUG: 'SonarCSS Metrics' skipped because there is no related file in current project
10:34:28.178 DEBUG: 'SonarCSS Rules' skipped because there is no related file in current project
10:34:28.184 DEBUG: 'Import of stylelint issues' skipped because there is no related file in current project
10:34:28.186 DEBUG: 'Import of go vet issues' skipped because one of the required properties is missing
10:34:28.187 DEBUG: 'Import of Golint issues' skipped because one of the required properties is missing
10:34:28.189 DEBUG: 'Import of GoMetaLinter issues' skipped because one of the required properties is missing
10:34:28.191 DEBUG: 'Kotlin Sensor' skipped because there is no related file in current project
10:34:28.194 DEBUG: 'Import of detekt issues' skipped because there is no related file in current project
10:34:28.196 DEBUG: 'Import of Android Lint issues' skipped because one of the required properties is missing
10:34:28.197 DEBUG: 'SonarJS' skipped because there is no related file in current project
10:34:28.199 DEBUG: 'ESLint-based SonarJS' skipped because there is no related file in current project
10:34:28.201 DEBUG: 'SonarJS Coverage' skipped because there is no related file in current project
10:34:28.208 DEBUG: 'Import of ESLint issues' skipped because one of the required properties is missing
10:34:28.210 DEBUG: 'Ruby Sensor' skipped because there is no related file in current project
10:34:28.212 DEBUG: 'Import of RuboCop issues' skipped because one of the required properties is missing
10:34:28.213 DEBUG: 'SimpleCov Sensor for Ruby coverage' skipped because there is no related file in current project
10:34:28.216 DEBUG: 'Scala Sensor' skipped because there is no related file in current project
10:34:28.217 DEBUG: 'Scoverage sensor for Scala coverage' skipped because one of the required properties is missing
10:34:28.218 DEBUG: 'Import of Scalastyle issues' skipped because there is no related file in current project
10:34:28.219 DEBUG: 'Import of Scapegoat issues' skipped because there is no related file in current project
10:34:28.219 DEBUG: 'C# Properties' skipped because there is no related file in current project
10:34:28.224 DEBUG: 'Import of Checkstyle issues' skipped because there is no related file in current project
10:34:28.227 DEBUG: 'Import of PMD issues' skipped because one of the required properties is missing
10:34:28.233 DEBUG: 'Import of SpotBugs issues' skipped because there is no related file in current project
10:34:28.233 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
10:34:28.234 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
10:34:28.236 DEBUG: 'Flex' skipped because there is no related file in current project
10:34:28.237 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
10:34:28.240 DEBUG: 'PHP sensor' skipped because there is no related file in current project
10:34:28.241 DEBUG: 'Analyzer for "php.ini" files' skipped because there is no related file in current project
10:34:28.247 DEBUG: 'SonarTS' skipped because there is no related file in current project
10:34:28.249 DEBUG: 'SonarTS Coverage' skipped because there is no related file in current project
10:34:28.250 DEBUG: 'Import of TSLint issues' skipped because one of the required properties is missing
10:34:28.251 DEBUG: 'VB.NET Properties' skipped because there is no related file in current project
10:34:28.265 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
10:34:28.270 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
10:34:28.273 DEBUG: 'C#' skipped because there is no related file in current project
10:34:28.275 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
10:34:28.280 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
10:34:28.295 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
10:34:28.295 DEBUG: 'VB.NET' skipped because there is no related file in current project
10:34:28.296 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
10:34:28.298 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
10:34:28.302 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
10:34:28.307 DEBUG: Sensors : JaCoCo XML Report Importer -> SonarGo -> Go Unit Test Report -> JavaXmlSensor -> HTML -> XML Sensor
10:34:28.311 INFO: Sensor JaCoCo XML Report Importer [jacoco]
10:34:28.320 DEBUG: No reports found
10:34:28.327 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=17ms
10:34:28.328 INFO: Sensor SonarGo [go]
10:34:28.774 DEBUG: 'activitydetails.go' generated metadata with charset 'windows-1252'
10:34:28.780 WARN: Metric 'comment_lines_data' is deprecated. Provided value is ignored.
10:34:28.872 DEBUG: 'activityerrors.go' generated metadata with charset 'windows-1252'
10:34:28.876 DEBUG: Not enough content in 'activityerrors.go' to have CPD blocks, it will not be part of the duplication detection
10:34:28.984 DEBUG: 'aml.go' generated metadata with charset 'windows-1252'
10:34:29.090 DEBUG: 'anchor/anchorparser.go' generated metadata with charset 'windows-1252'
10:34:29.216 DEBUG: 'anchor/anchors.go' generated metadata with charset 'UTF-8'
10:34:29.285 DEBUG: 'anchor/signedtimestamp.go' generated metadata with charset 'windows-1252'
10:34:29.360 DEBUG: 'attribute/genericattribute.go' generated metadata with charset 'windows-1252'
10:34:29.424 DEBUG: 'attribute/image.go' generated metadata with charset 'windows-1252'
10:34:29.531 DEBUG: 'attribute/imageattribute.go' generated metadata with charset 'windows-1252'
10:34:29.616 DEBUG: 'attribute/imagesliceattribute.go' generated metadata with charset 'windows-1252'
10:34:29.693 DEBUG: 'attribute/item.go' generated metadata with charset 'windows-1252'
10:34:29.806 DEBUG: 'attribute/jsonattribute.go' generated metadata with charset 'windows-1252'
10:34:29.903 DEBUG: 'attribute/multivalueattribute.go' generated metadata with charset 'windows-1252'
10:34:30.032 DEBUG: 'attribute/parser.go' generated metadata with charset 'windows-1252'
10:34:30.177 DEBUG: 'attribute/stringattribute.go' generated metadata with charset 'windows-1252'
10:34:30.261 DEBUG: 'attribute/timeattribute.go' generated metadata with charset 'windows-1252'
10:34:30.344 DEBUG: 'conversion.go' generated metadata with charset 'windows-1252'
10:34:30.463 DEBUG: 'crypto.go' generated metadata with charset 'windows-1252'
10:34:30.560 DEBUG: 'dataobjects.go' generated metadata with charset 'windows-1252'
10:34:30.642 DEBUG: 'examples/aml/main.go' generated metadata with charset 'windows-1252'
10:34:30.893 DEBUG: 'examples/profile/certificatehelper.go' generated metadata with charset 'windows-1252'
10:34:31.092 DEBUG: 'examples/profile/main.go' generated metadata with charset 'windows-1252'
10:34:31.243 DEBUG: 'httprequester.go' generated metadata with charset 'windows-1252'
10:34:31.313 DEBUG: 'image.go' generated metadata with charset 'windows-1252'
10:34:31.514 DEBUG: 'yoti_test.go' generated metadata as test with charset 'windows-1252'
10:34:31.606 DEBUG: 'yotiattributevalue.go' generated metadata with charset 'windows-1252'
10:34:31.754 DEBUG: 'yoticlient.go' generated metadata with charset 'windows-1252'
10:34:31.902 DEBUG: 'yotiprofile.go' generated metadata with charset 'windows-1252'
10:34:31.975 DEBUG: 'yotiuserprofile.go' generated metadata with charset 'windows-1252'
10:34:31.998 INFO: Load coverage report from 'C:\Users\my.username\source\repos\go\coverage.out'
10:34:32.010 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/image.go using relative path
10:34:32.012 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/image.go'
10:34:32.063 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/activitydetails.go using relative path
10:34:32.068 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/activitydetails.go'
10:34:32.094 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yotiattributevalue.go using relative path
10:34:32.100 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yotiattributevalue.go'
10:34:32.107 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/crypto.go using relative path
10:34:32.119 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/crypto.go'
10:34:32.148 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yotiprofile.go using relative path
10:34:32.163 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yotiprofile.go'
10:34:32.194 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/conversion.go using relative path
10:34:32.196 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/conversion.go'
10:34:32.206 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/aml.go using relative path
10:34:32.215 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/aml.go'
10:34:32.218 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/httprequester.go using relative path
10:34:32.219 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/httprequester.go'
10:34:32.222 DEBUG: Resolving file C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yoticlient.go using relative path
10:34:32.223 DEBUG: Saving coverage measures for file 'C:\Users\my.username\go\src\github.com/getyoti/yoti-go-sdk/v2/yoticlient.go'
10:34:32.241 INFO: Sensor SonarGo [go] (done) | time=3912ms
10:34:32.242 INFO: Sensor Go Unit Test Report [go]
10:34:32.266 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_KeyLoad_Failure
10:34:32.266 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_HttpFailure_ReturnsFailure
10:34:32.267 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_HttpFailure_ReturnsProfileNotFound
10:34:32.273 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_SharingFailure_ReturnsFailure
10:34:32.273 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_TokenDecodedSuccessfully
10:34:32.274 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseProfile_Success
10:34:32.282 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParentRememberMeID
10:34:32.283 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseWithoutProfile_Success
10:34:32.283 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseWithoutRememberMeID_Success
10:34:32.284 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnsupportedHttpMethod_ReturnsError
10:34:32.284 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_SupportedHttpMethod
10:34:32.285 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PerformAmlCheck_Success
10:34:32.285 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PerformAmlCheck_Unsuccessful
10:34:32.285 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_True
10:34:32.290 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_False
10:34:32.290 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_InvalidValueThrowsError
10:34:32.291 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnmarshallJSONValue_InvalidValueThrowsError
10:34:32.291 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnmarshallJSONValue_ValidValue
10:34:32.292 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_MissingPostalAddress_UsesFormattedAddress
10:34:32.292 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PresentPostalAddress_DoesntUseFormattedAddress
10:34:32.292 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_MissingFormattedAddress_AddressUnchanged
10:34:32.293 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_EmptyString
10:34:32.293 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Int
10:34:32.295 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_InvalidInt_ReturnsNil
10:34:32.299 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestEmptyStringIsAllowed
10:34:32.299 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Time
10:34:32.300 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Jpeg
10:34:32.304 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Png
10:34:32.304 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Bool
10:34:32.304 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_JSON
10:34:32.305 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Undefined
10:34:32.305 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_ReturnsNil
10:34:32.313 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_StringAttribute
10:34:32.323 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_AttributeProperty_RetrievesAttribute
10:34:32.324 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Png
10:34:32.326 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Jpeg
10:34:32.327 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Default
10:34:32.327 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Base64Selfie_Png
10:34:32.328 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Base64URL_Jpeg
10:34:32.329 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_Passport
10:34:32.329 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_DrivingLicense
10:34:32.330 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_YotiAdmin
10:34:32.330 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchors_None
10:34:32.331 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestDateOfBirthAttribute
10:34:32.331 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNewImageSlice
10:34:32.332 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestImageSliceNotCreatedWithNonMultiValueType
10:34:32.332 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestMultiValueNotCreatedWithNonMultiValueType
10:34:32.332 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNewMultiValue
10:34:32.333 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestInvalidMultiValueNotReturned
10:34:32.333 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNestedMultiValue
10:34:32.334 WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestMultiValueGenericGetter
10:34:32.335 INFO: Sensor Go Unit Test Report [go] (done) | time=93ms
10:34:32.335 INFO: Sensor JavaXmlSensor [java]
10:34:32.348 INFO: 2 source files to be analyzed
10:34:32.355 DEBUG: 'coverage.xml' generated metadata with charset 'windows-1252'
10:34:32.767 DEBUG: 'test.xml' generated metadata with charset 'windows-1252'
10:34:32.834 INFO: 2/2 source files have been analyzed
10:34:32.834 INFO: Sensor JavaXmlSensor [java] (done) | time=499ms
10:34:32.844 INFO: Sensor HTML [web]
10:34:32.867 DEBUG: 'examples/profile/login.html' generated metadata with charset 'windows-1252'
10:34:32.946 DEBUG: HtmlSensor: examples/profile/login.html: 0,0,1
10:34:32.957 DEBUG: 'examples/profile/profile.html' generated metadata with charset 'windows-1252'
10:34:32.979 DEBUG: HtmlSensor: examples/profile/profile.html: 0,0,1
10:34:33.005 INFO: Sensor HTML [web] (done) | time=162ms
10:34:33.007 INFO: Sensor XML Sensor [xml]
10:34:33.010 INFO: 2 source files to be analyzed
10:34:33.244 DEBUG: Count lines in file:///C:/Users/my.username/source/repos/go/coverage.xml
10:34:33.401 DEBUG: Count lines in file:///C:/Users/my.username/source/repos/go/test.xml
10:34:33.423 INFO: Sensor XML Sensor [xml] (done) | time=416ms
10:34:33.424 INFO: 2/2 source files have been analyzed
10:34:33.429 INFO: ------------- Run sensors on project
10:34:33.437 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
10:34:33.439 DEBUG: Sensors : Zero Coverage Sensor
10:34:33.441 INFO: Sensor Zero Coverage Sensor
10:34:33.542 INFO: Sensor Zero Coverage Sensor (done) | time=101ms
10:34:33.547 INFO: SCM provider for this project is: git
10:34:33.560 INFO: 33 files to be analyzed
10:34:33.579 DEBUG: Blame file attribute/jsonattribute.go
10:34:33.597 DEBUG: Blame file examples/profile/profile.html
10:34:33.596 DEBUG: Blame file test.xml
10:34:33.599 DEBUG: Blame file httprequester.go
10:34:33.701 DEBUG: Unable to blame file test.xml. No blame info at line 1. Is file committed? [Author: PersonIdent[Not Committed Yet, , Tue Apr 2 10:34:33 2019 +0100] Source commit: null]
10:34:33.714 DEBUG: Blame file yoti_test.go
10:34:33.873 DEBUG: Blame file crypto.go
10:34:33.883 DEBUG: Blame file attribute/image.go
10:34:33.882 DEBUG: Blame file aml.go
10:34:34.020 DEBUG: Blame file attribute/genericattribute.go
10:34:34.026 DEBUG: Blame file attribute/stringattribute.go
10:34:34.024 DEBUG: Blame file attribute/timeattribute.go
10:34:34.079 DEBUG: Blame file anchor/anchorparser.go
10:34:34.120 DEBUG: Blame file examples/aml/main.go
10:34:34.149 DEBUG: Blame file yotiprofile.go
10:34:34.150 DEBUG: Blame file attribute/multivalueattribute.go
10:34:34.220 DEBUG: Blame file yoticlient.go
10:34:34.230 DEBUG: Blame file activityerrors.go
10:34:34.310 DEBUG: Blame file image.go
10:34:34.317 DEBUG: Blame file anchor/anchors.go
10:34:34.352 DEBUG: Blame file conversion.go
10:34:34.359 DEBUG: Blame file attribute/imageattribute.go
10:34:34.410 DEBUG: Blame file attribute/parser.go
10:34:34.429 DEBUG: Blame file yotiattributevalue.go
10:34:34.428 DEBUG: Blame file attribute/item.go
10:34:34.492 DEBUG: Blame file examples/profile/main.go
10:34:34.497 DEBUG: Blame file yotiuserprofile.go
10:34:34.546 DEBUG: Blame file attribute/imagesliceattribute.go
10:34:34.545 DEBUG: Blame file coverage.xml
10:34:34.571 DEBUG: Unable to blame file coverage.xml. No blame info at line 1. Is file committed? [Author: PersonIdent[Not Committed Yet, , Tue Apr 2 10:34:34 2019 +0100] Source commit: null]
10:34:34.587 DEBUG: Blame file anchor/signedtimestamp.go
10:34:34.733 DEBUG: Blame file dataobjects.go
10:34:34.865 DEBUG: Blame file examples/profile/login.html
10:34:34.839 DEBUG: Blame file activitydetails.go
10:34:34.948 DEBUG: Blame file examples/profile/certificatehelper.go
10:34:35.037 INFO: 31/33 files analyzed
10:34:35.066 WARN: Missing blame information for the following files:
10:34:35.066 WARN: * test.xml
10:34:35.070 WARN: * coverage.xml
10:34:35.071 WARN: This may lead to missing/broken features in SonarQube
10:34:35.093 INFO: 1 file had no CPD blocks
10:34:35.099 INFO: Calculating CPD for 29 files
10:34:35.100 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/httprequester.go
10:34:35.115 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/profile/login.html
10:34:35.116 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/aml.go
10:34:35.118 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/timeattribute.go
10:34:35.120 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/yotiprofile.go
10:34:35.122 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/yotiattributevalue.go
10:34:35.124 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/item.go
10:34:35.126 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/aml/main.go
10:34:35.129 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/profile/profile.html
10:34:35.130 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/yoticlient.go
10:34:35.133 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/activitydetails.go
10:34:35.135 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/image.go
10:34:35.136 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/anchor/anchors.go
10:34:35.138 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/dataobjects.go
10:34:35.141 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/conversion.go
10:34:35.143 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/yotiuserprofile.go
10:34:35.145 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/parser.go
10:34:35.148 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/anchor/anchorparser.go
10:34:35.154 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/imagesliceattribute.go
10:34:35.155 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/stringattribute.go
10:34:35.158 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/crypto.go
10:34:35.160 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/image.go
10:34:35.162 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/profile/certificatehelper.go
10:34:35.181 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/examples/profile/main.go
10:34:35.185 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/multivalueattribute.go
10:34:35.189 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/imageattribute.go
10:34:35.192 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/genericattribute.go
10:34:35.195 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/attribute/jsonattribute.go
10:34:35.200 DEBUG: Detection of duplications for C:/Users/my.username/source/repos/go/anchor/signedtimestamp.go
10:34:35.202 INFO: CPD calculation finished
10:34:35.556 INFO: Analysis report generated in 273ms, dir size=454 KB
10:34:36.108 INFO: Analysis report compressed in 550ms, zip size=142 KB
10:34:36.109 INFO: Analysis report generated in C:\Users\my.username\source\repos\go\.scannerwork\scanner-report
10:34:36.110 DEBUG: Upload report
10:34:36.514 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=yoti-web-sdk%3Ago&projectName=go-sdk | time=402ms
10:34:36.516 INFO: Analysis report uploaded in 406ms
10:34:36.518 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=yoti-web-sdk%3Ago
10:34:36.518 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
10:34:36.519 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AWndZoGop0-RIfpik-my
10:34:36.522 DEBUG: Report metadata written to C:\Users\my.username\source\repos\go\.scannerwork\report-task.txt
10:34:36.525 DEBUG: Post-jobs :
10:34:36.529 INFO: Analysis total time: 16.364 s
10:34:36.537 INFO: ------------------------------------------------------------------------
10:34:36.540 INFO: EXECUTION SUCCESS
10:34:36.540 INFO: ------------------------------------------------------------------------
10:34:36.542 INFO: Total time: 19.096s
10:34:36.713 INFO: Final Memory: 17M/303M
10:34:36.714 INFO: ------------------------------------------------------------------------
I think there is a confusion about plugin.
Do you use the community plugin for Golang or the official Sonarqube plugin for Golang ?
It's not the same plugin and the functionalities are different.
For the community plugin you must follow the instruction here and for the official plugin it is here.
Ah ok, my apologies then. I'll raise an issue on https://github.com/SonarSource/sonar-go instead. Thanks for your help anyway!
@echarrod could you close this issue ?
Description
Sonar scanning seems to not find the test files, but I can't work out why. There is some coverage, so I'm not sure where this is from.
Steps to Reproduce
Git clone git@github.com:getyoti/yoti-go-sdk.git
git checkout Sonar
go test -coverprofile=coverage.out -json > sonar-report.json
sonar-scanner
Content of your sonar-project.properties
Log of sonar-scanner related to the plugin
INFO: Scanner configuration file: C:\Program Files\sonar-scanner-cli-3.3.0.1492-windows\sonar-scanner-3.3.0.1492-windows\bin..\conf\sonar-scanner.properties INFO: Project root configuration file: C:\Users\Edward.Harrod\source\repos\go\sonar-project.properties INFO: SonarQube Scanner 3.3.0.1492 INFO: Java 1.8.0_121 Oracle Corporation (64-bit) INFO: Windows 10 10.0 amd64 INFO: User cache: C:\Users\Edward.Harrod.sonar\cache INFO: SonarQube server 7.7.0 INFO: Default locale: "en_GB", source code encoding: "windows-1252" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=82ms INFO: Server id: BF41A1F2-AWmlKgobOy0IHbAskGCq INFO: User cache: C:\Users\Edward.Harrod.sonar\cache INFO: Load/download plugins INFO: Load plugins index INFO: Load plugins index (done) | time=50ms INFO: Load/download plugins (done) | time=91ms INFO: Process project properties INFO: Execute project builders INFO: Execute project builders (done) | time=7ms INFO: Project key: yoti-web-sdk:go INFO: Base dir: C:\Users\Edward.Harrod\source\repos\go INFO: Working dir: C:\Users\Edward.Harrod\source\repos\go.scannerwork INFO: Load project settings for component key: 'yoti-web-sdk:go' INFO: Load project settings for component key: 'yoti-web-sdk:go' (done) | time=20ms INFO: Load project repositories INFO: Load project repositories (done) | time=61ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=40ms INFO: Load active rules INFO: Load active rules (done) | time=1561ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: /yotiprotoattr/*.go, */yotiprotocom/.go, /_test.go INFO: Included tests: /*_test.go INFO: 56 files indexed INFO: 0 files ignored because of inclusion/exclusion patterns INFO: 0 files ignored because of scm ignore settings INFO: Quality profile for go: Sonar way INFO: Quality profile for web: Sonar way INFO: ------------- Run sensors on module go-sdk INFO: Load metrics repository INFO: Load metrics repository (done) | time=38ms INFO: Sensor JaCoCo XML Report Importer [jacoco] INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=5ms INFO: Sensor SonarGo [go] WARN: Metric 'comment_lines_data' is deprecated. Provided value is ignored. INFO: Load coverage report from 'C:\Users\Edward.Harrod\source\repos\go\coverage.out' INFO: Sensor SonarGo [go] (done) | time=2604ms INFO: Sensor Go Unit Test Report [go] WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_KeyLoad_Failure WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_HttpFailure_ReturnsFailure WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_HttpFailure_ReturnsProfileNotFound WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_SharingFailure_ReturnsFailure WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_TokenDecodedSuccessfully WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseProfile_Success WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParentRememberMeID WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseWithoutProfile_Success WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseWithoutRememberMeID_Success WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnsupportedHttpMethod_ReturnsError WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_SupportedHttpMethod WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PerformAmlCheck_Success WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PerformAmlCheck_Unsuccessful WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_True WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_False WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_ParseIsAgeVerifiedValue_InvalidValueThrowsError WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnmarshallJSONValue_InvalidValueThrowsError WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_UnmarshallJSONValue_ValidValue WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_MissingPostalAddress_UsesFormattedAddress WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_PresentPostalAddress_DoesntUseFormattedAddress WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestYotiClient_MissingFormattedAddress_AddressUnchanged WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_String WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestEmptyStringIsAllowed WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Time WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Jpeg WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Png WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Bool WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_JSON WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_Undefined WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_GetAttribute_ReturnsNil WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_StringAttribute WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestProfile_AttributeProperty_RetrievesAttribute WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Png WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Jpeg WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Image_Default WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Base64Selfie_Png WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAttributeImage_Base64URL_Jpeg WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_Passport WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_DrivingLicense WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchorParser_YotiAdmin WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestAnchors_None WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestDateOfBirthAttribute WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNewImageSlice WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestImageSliceNotCreatedWithNonMultiValueType WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestMultiValueNotCreatedWithNonMultiValueType WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNewMultiValue WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestInvalidMultiValueNotReturned WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestNestedMultiValue WARN: Failed to find test file for package github.com/getyoti/yoti-go-sdk/v2 and test TestMultiValueGenericGetter INFO: Sensor Go Unit Test Report [go] (done) | time=70ms INFO: Sensor JavaXmlSensor [java] INFO: Sensor JavaXmlSensor [java] (done) | time=3ms INFO: Sensor HTML [web] INFO: Sensor HTML [web] (done) | time=326ms INFO: ------------- Run sensors on project INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=51ms INFO: SCM provider for this project is: git INFO: 6 files to be analyzed INFO: 4/6 files analyzed WARN: Missing blame information for the following files: WARN: endpoint.go WARN: * yoticlient.go WARN: This may lead to missing/broken features in SonarQube INFO: 1 file had no CPD blocks INFO: Calculating CPD for 30 files INFO: CPD calculation finished INFO: Analysis report generated in 205ms, dir size=274 KB INFO: Analysis report compressed in 385ms, zip size=103 KB INFO: Analysis report uploaded in 28ms INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=yoti-web-sdk%3Ago 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=AWmlOblaTykNKnzoM91y INFO: Analysis total time: 9.152 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 11.682s INFO: Final Memory: 21M/313M INFO: ------------------------------------------------------------------------
Versions
server: sonarqube-7.7 sonar-scanner: sonar-scanner-cli-3.3.0.1492-windows gometalinter: v3.0.0 go: 1.12 OS Windows 10
Additional Information