uartois / sonar-golang

Sonarqube plugin for the golang language.
GNU Lesser General Public License v3.0
245 stars 32 forks source link

Coverage is sometimes reported, sometimes not. #14

Open f-sys opened 7 years ago

f-sys commented 7 years ago

Description

When golang coverage is generated locally and sonar-scanner is launched locally it reports coverage measures to sonarqube. When it is launched in docker environment via Gitlab CI, it doesn't report coverage. Golang xml files are same, sonar-scanner scans vendor folder, but it is excluded.

Steps to Reproduce

  1. In Gitlab CI run golang coverage
  2. Run sonar-scnner

Content of your sonar-project.properties


sonar.projectKey=odpovidac:iris-firmy
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=Odpovidac - iris-firmy
sonar.projectVersion=1.0

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# Since SonarQube 4.2, this property is optional if sonar.modules is set.
# If not set, SonarQube starts looking for source code from the directory containing
# the sonar-project.properties file.
sonar.sources=.

# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=utf-8

sonar.golint.reportPath=report.xml
sonar.coverage.reportPath=coverage.xml
sonar.test.reportPath=test.xml
sonar.showProfiling=true
sonar.log.level=DEBUG

sonar.exclusions=vendor/**,proto/**,proto_python/**,.git/**, **/*test.go, **/*.xml, **/*.py, testutils/**

Log of sonar-scanner related to the plugin

15:48:15.835 INFO: Scanner configuration file: /sonar-scanner/sonar-scanner-3.0.3.778/conf/sonar-scanner.properties
15:48:15.841 INFO: Project root configuration file: /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/sonar-project.properties
15:48:15.863 INFO: SonarQube Scanner 3.0.3.778
15:48:15.863 INFO: Java 1.8.0_51 Oracle Corporation (64-bit)
15:48:15.863 INFO: Linux 3.16.0-4-amd64 amd64
15:48:16.088 DEBUG: keyStore is : 
15:48:16.088 DEBUG: keyStore type is : jks
15:48:16.089 DEBUG: keyStore provider is : 
15:48:16.089 DEBUG: init keystore
15:48:16.089 DEBUG: init keymanager of type SunX509
15:48:16.137 DEBUG: Create : /root/.sonar/cache
15:48:16.139 INFO: User cache: /root/.sonar/cache
15:48:16.140 DEBUG: Create : /root/.sonar/cache/_tmp
15:48:16.141 DEBUG: Extract sonar-scanner-api-batch in temp...
15:48:16.149 DEBUG: Get bootstrap index...
15:48:16.150 DEBUG: Download: https://sonarqube.dev/batch/index
15:48:16.458 DEBUG: Get bootstrap completed
15:48:16.459 DEBUG: Download https://sonarqube.dev/batch/file?name=sonar-scanner-engine-shaded-6.4.jar to /root/.sonar/cache/_tmp/fileCache5612279467720491601.tmp
15:48:24.625 DEBUG: Create isolated classloader...
15:48:24.638 DEBUG: Start temp cleaning...
15:48:24.650 DEBUG: Temp cleaning done
15:48:24.651 DEBUG: Execution getVersion
15:48:24.655 DEBUG: Execution start
15:48:24.838 DEBUG: Publish global mode
15:48:24.959 INFO: Load global settings
15:48:25.084 DEBUG: GET 200 https://sonarqube.dev/api/settings/values.protobuf | time=117ms
15:48:25.113 INFO: Load global settings (done) | time=154ms
15:48:25.131 INFO: User cache: /root/.sonar/cache
15:48:25.454 INFO: Load plugins index
15:48:25.461 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/index.txt | time=7ms
15:48:25.463 INFO: Load plugins index (done) | time=9ms
15:48:25.464 DEBUG: Load plugins
15:48:25.468 DEBUG: Download plugin sonar-python-plugin-1.7.0.1195.jar to /root/.sonar/cache/_tmp/fileCache874969265410911988.tmp
15:48:25.479 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/python/sonar-python-plugin-1.7.0.1195.jar | time=11ms
15:48:26.901 DEBUG: Download plugin sonar-css-plugin-3.0.jar to /root/.sonar/cache/_tmp/fileCache4775953561166609762.tmp
15:48:26.911 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/css/sonar-css-plugin-3.0.jar | time=9ms
15:48:28.365 DEBUG: Download plugin sonar-cxx-plugin-0.9.7-SNAPSHOT.jar to /root/.sonar/cache/_tmp/fileCache5393544491701625270.tmp
15:48:28.374 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/cxx/sonar-cxx-plugin-0.9.7-SNAPSHOT.jar | time=9ms
15:48:35.549 DEBUG: Download plugin sonar-golang-plugin-1.2.8.jar to /root/.sonar/cache/_tmp/fileCache4323277163330556421.tmp
15:48:35.564 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/golang/sonar-golang-plugin-1.2.8.jar | time=15ms
15:48:39.653 DEBUG: Download plugin sonar-json-plugin-2.2.jar to /root/.sonar/cache/_tmp/fileCache5514371126590766238.tmp
15:48:39.663 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/JSON/sonar-json-plugin-2.2.jar | time=10ms
15:48:40.344 DEBUG: Download plugin sonar-scm-svn-plugin-1.4.0.522.jar to /root/.sonar/cache/_tmp/fileCache7367225972269204149.tmp
15:48:40.353 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/scmsvn/sonar-scm-svn-plugin-1.4.0.522.jar | time=9ms
15:48:42.701 DEBUG: Download plugin sonar-javascript-plugin-2.19.0.3866.jar to /root/.sonar/cache/_tmp/fileCache1274257301286770483.tmp
15:48:42.715 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/javascript/sonar-javascript-plugin-2.19.0.3866.jar | time=14ms
15:48:43.769 DEBUG: Download plugin sonar-auth-gitlab-plugin-1.0.0.jar to /root/.sonar/cache/_tmp/fileCache8520086104805466929.tmp
15:48:43.779 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/authgitlab/sonar-auth-gitlab-plugin-1.0.0.jar | time=10ms
15:48:43.892 DEBUG: Download plugin sonar-jproperties-plugin-2.4.jar to /root/.sonar/cache/_tmp/fileCache9040626523258179007.tmp
15:48:43.901 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/javaProperties/sonar-jproperties-plugin-2.4.jar | time=9ms
15:48:44.591 DEBUG: Download plugin sonar-csharp-plugin-5.5.2.537.jar to /root/.sonar/cache/_tmp/fileCache3863361752395622845.tmp
15:48:44.601 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/csharp/sonar-csharp-plugin-5.5.2.537.jar | time=9ms
15:48:48.723 DEBUG: Download plugin sonar-java-plugin-4.4.0.8066.jar to /root/.sonar/cache/_tmp/fileCache2505149487815808233.tmp
15:48:48.736 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/java/sonar-java-plugin-4.4.0.8066.jar | time=13ms
15:48:50.987 DEBUG: Download plugin sonar-groovy-plugin-1.4.jar to /root/.sonar/cache/_tmp/fileCache2343178389601510566.tmp
15:48:50.997 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/groovy/sonar-groovy-plugin-1.4.jar | time=9ms
15:48:56.017 DEBUG: Download plugin sonar-ldap-plugin-2.1.0.507.jar to /root/.sonar/cache/_tmp/fileCache2096230980502688247.tmp
15:48:56.027 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/ldap/sonar-ldap-plugin-2.1.0.507.jar | time=9ms
15:48:56.120 DEBUG: Download plugin sonar-web-plugin-2.5.0.476.jar to /root/.sonar/cache/_tmp/fileCache4347781647160398167.tmp
15:48:56.130 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/web/sonar-web-plugin-2.5.0.476.jar | time=9ms
15:48:56.762 DEBUG: Download plugin sonar-cppcheck-plugin-1.0.jar to /root/.sonar/cache/_tmp/fileCache5547843743181524950.tmp
15:48:56.770 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/cppcheck/sonar-cppcheck-plugin-1.0.jar | time=8ms
15:48:56.779 DEBUG: Download plugin sonar-scm-git-plugin-1.2.jar to /root/.sonar/cache/_tmp/fileCache6295260865484640289.tmp
15:48:56.786 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/scmgit/sonar-scm-git-plugin-1.2.jar | time=7ms
15:48:57.898 DEBUG: Download plugin sonar-xml-plugin-1.4.1.jar to /root/.sonar/cache/_tmp/fileCache2302075314191144666.tmp
15:48:57.912 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/xml/sonar-xml-plugin-1.4.1.jar | time=14ms
15:48:59.852 DEBUG: Download plugin sonar-gitlab-plugin-1.7.0.jar to /root/.sonar/cache/_tmp/fileCache5386849744866442702.tmp
15:48:59.861 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/gitlab/sonar-gitlab-plugin-1.7.0.jar | time=9ms
15:49:00.477 DEBUG: Download plugin sonar-text-plugin-0.8.jar to /root/.sonar/cache/_tmp/fileCache1583419999679155226.tmp
15:49:00.486 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/text/sonar-text-plugin-0.8.jar | time=9ms
15:49:00.543 DEBUG: Download plugin sonar-build-breaker-plugin-2.1.jar to /root/.sonar/cache/_tmp/fileCache7643086016430654266.tmp
15:49:00.553 DEBUG: GET 200 https://sonarqube.dev/deploy/plugins/buildbreaker/sonar-build-breaker-plugin-2.1.jar | time=10ms
15:49:02.161 DEBUG: Load plugins (done) | time=36697ms
15:49:02.543 DEBUG: API compatibility mode is enabled on plugin SVN [scmsvn] (built with API lower than 5.2)
15:49:02.807 DEBUG: API compatibility mode is enabled on plugin SonarQube :: Cppcheck Plugin [cppcheck] (built with API lower than 5.2)
15:49:02.839 DEBUG: API compatibility mode is enabled on plugin Git [scmgit] (built with API lower than 5.2)
15:49:02.886 DEBUG: API compatibility mode is enabled on plugin XML [xml] (built with API lower than 5.2)
15:49:02.907 DEBUG: API compatibility mode is enabled on plugin Sonar Text Plugin [text] (built with API lower than 5.2)
15:49:03.083 DEBUG: Plugins:
15:49:03.084 DEBUG:   * Python 1.7.0.1195 (python)
15:49:03.084 DEBUG:   * CSS / SCSS / Less 3.0 (css)
15:49:03.084 DEBUG:   * C++ (Community) 0.9.7-SNAPSHOT (cxx)
15:49:03.085 DEBUG:   * Golang 1.2.8 (golang)
15:49:03.085 DEBUG:   * JSON 2.2 (JSON)
15:49:03.085 DEBUG:   * SVN 1.4.0.522 (scmsvn)
15:49:03.085 DEBUG:   * JavaScript 2.19.0.3866 (javascript)
15:49:03.086 DEBUG:   * GitLab Auth 1.0.0 (authgitlab)
15:49:03.086 DEBUG:   * Java Properties 2.4 (javaProperties)
15:49:03.086 DEBUG:   * C# 5.5.2.537 (csharp)
15:49:03.086 DEBUG:   * Java 4.4.0.8066 (java)
15:49:03.087 DEBUG:   * Groovy 1.4 (groovy)
15:49:03.087 DEBUG:   * LDAP 2.1.0.507 (ldap)
15:49:03.087 DEBUG:   * Web 2.5.0.476 (web)
15:49:03.087 DEBUG:   * SonarQube :: Cppcheck Plugin 1.0 (cppcheck)
15:49:03.088 DEBUG:   * Git 1.2 (scmgit)
15:49:03.088 DEBUG:   * XML 1.4.1 (xml)
15:49:03.088 DEBUG:   * GitLab 1.7.0 (gitlab)
15:49:03.088 DEBUG:   * Sonar Text Plugin 0.8 (text)
15:49:03.089 DEBUG:   * Build Breaker 2.1 (buildbreaker)
15:49:03.130 DEBUG: Execution getVersion
15:49:03.131 INFO: SonarQube server 6.4.0
15:49:03.131 INFO: Default locale: "en_US", source code encoding: "utf-8"
15:49:03.132 DEBUG: Work directory: /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/.scannerwork
15:49:03.132 DEBUG: Execution getVersion
15:49:03.132 DEBUG: Execution execute
15:49:03.694 INFO: Process project properties
15:49:03.697 DEBUG: Process project properties (done) | time=3ms
15:49:03.854 INFO: Load project repositories
15:49:03.875 DEBUG: GET 200 https://sonarqube.dev/batch/project.protobuf?key=odpovidac%3Airis-firmy | time=19ms
15:49:03.967 INFO: Load project repositories (done) | time=113ms
15:49:04.047 DEBUG: using CxxProjectBuilder
15:49:04.048 INFO: Execute project builders
15:49:04.050 INFO: Execute project builders (done) | time=2ms
15:49:04.066 DEBUG: Available languages:
15:49:04.067 DEBUG:   * Python => "py"
15:49:04.067 DEBUG:   * CSS => "css"
15:49:04.067 DEBUG:   * SCSS => "scss"
15:49:04.067 DEBUG:   * Less => "less"
15:49:04.072 DEBUG:   * c++ => "c++"
15:49:04.072 DEBUG:   * GO => "go"
15:49:04.072 DEBUG:   * JSON => "json"
15:49:04.072 DEBUG:   * JavaScript => "js"
15:49:04.073 DEBUG:   * Java Properties => "jproperties"
15:49:04.073 DEBUG:   * C# => "cs"
15:49:04.073 DEBUG:   * Java => "java"
15:49:04.073 DEBUG:   * Groovy => "grvy"
15:49:04.073 DEBUG:   * Web => "web"
15:49:04.073 DEBUG:   * XML => "xml"
15:49:04.074 DEBUG:   * text => "text"
15:49:04.081 INFO: Load quality profiles
15:49:04.114 DEBUG: GET 200 https://sonarqube.dev/api/qualityprofiles/search.protobuf?projectKey=odpovidac%3Airis-firmy | time=32ms
15:49:04.121 INFO: Load quality profiles (done) | time=40ms
15:49:04.130 INFO: Load active rules
15:49:04.656 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=c%2B%2B-sonar-way-71477&p=1&ps=500 | time=526ms
15:49:04.983 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=c%2B%2B-sonar-way-71477&p=2&ps=500 | time=161ms
15:49:05.062 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=css-sonarqube-way-02769&p=1&ps=500 | time=52ms
15:49:05.097 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=jproperties-sonarqube-way-33804&p=1&ps=500 | time=27ms
15:49:05.167 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=scss-sonarqube-way-39003&p=1&ps=500 | time=69ms
15:49:05.218 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=go-golint-rules-71073&p=1&ps=500 | time=45ms
15:49:05.292 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=js-sonar-way-44769&p=1&ps=500 | time=72ms
15:49:05.334 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=py-sonar-way-29677&p=1&ps=500 | time=35ms
15:49:05.399 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=less-sonarqube-way-34625&p=1&ps=500 | time=63ms
15:49:05.502 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=cs-sonar-way-87544&p=1&ps=500 | time=100ms
15:49:05.802 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=java-sonar-way-21136&p=1&ps=500 | time=289ms
15:49:05.860 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=web-sonar-way-79758&p=1&ps=500 | time=23ms
15:49:05.877 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=xml-sonar-way-58077&p=1&ps=500 | time=16ms
15:49:05.896 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=json-sonarqube-way-97736&p=1&ps=500 | time=18ms
15:49:05.916 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=text-valgrind-31342&p=1&ps=500 | time=19ms
15:49:05.967 DEBUG: GET 200 https://sonarqube.dev/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=grvy-sonar-way-35888&p=1&ps=500 | time=51ms
15:49:05.992 INFO: Load active rules (done) | time=1862ms
15:49:05.994 INFO: Load metrics repository
15:49:06.017 DEBUG: GET 200 https://sonarqube.dev/api/metrics/search?f=name,description,direction,qualitative,custom&ps=500&p=1 | time=22ms
15:49:06.073 INFO: Load metrics repository (done) | time=79ms
15:49:06.104 INFO: Publish mode
15:49:06.104 INFO: Project key: odpovidac:iris-firmy
15:49:06.105 DEBUG: Start recursive analysis of project modules
15:49:06.107 INFO: -------------  Scan Odpovidac - iris-firmy
15:49:06.300 INFO: Load server rules
15:49:06.517 DEBUG: GET 200 https://sonarqube.dev/api/rules/list.protobuf | time=217ms
15:49:06.723 INFO: Load server rules (done) | time=423ms
15:49:06.813 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
15:49:06.814 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css
15:49:06.814 DEBUG: Declared extensions of language SCSS were converted to sonar.lang.patterns.scss : **/*.scss
15:49:06.814 DEBUG: Declared extensions of language Less were converted to sonar.lang.patterns.less : **/*.less
15:49:06.814 DEBUG: Declared extensions of language c++ were converted to sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h
15:49:06.814 DEBUG: Declared extensions of language GO were converted to sonar.lang.patterns.go : **/*.go
15:49:06.814 DEBUG: Declared extensions of language JSON were converted to sonar.lang.patterns.json : **/*.json
15:49:06.815 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js
15:49:06.815 DEBUG: Declared extensions of language Java Properties were converted to sonar.lang.patterns.jproperties : **/*.properties
15:49:06.815 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
15:49:06.815 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
15:49:06.815 DEBUG: Declared extensions of language Groovy were converted to sonar.lang.patterns.grvy : **/*.groovy
15:49:06.815 DEBUG: Declared extensions of language Web were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.rhtml,**/*.shtml
15:49:06.815 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml
15:49:06.816 DEBUG: Declared extensions of language text were converted to sonar.lang.patterns.text : **/*.txt
15:49:06.881 DEBUG: Initializers : GenericCoverageSensor
15:49:06.881 INFO: Initializer GenericCoverageSensor
15:49:06.882 INFO: Initializer GenericCoverageSensor (done) | time=0ms
15:49:06.882 INFO: Base dir: /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy
15:49:06.882 INFO: Working dir: /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/.scannerwork
15:49:06.883 INFO: Source paths: .
15:49:06.883 INFO: Source encoding: UTF-8, default locale: en_US
15:49:06.884 INFO: Index files
15:49:06.886 INFO: Excluded sources: 
15:49:06.886 INFO:   vendor/**
15:49:06.886 INFO:   proto/**
15:49:06.886 INFO:   proto_python/**
15:49:06.886 INFO:   .git/**
15:49:06.886 INFO:   **/*test.go
15:49:06.886 INFO:   **/*.xml
15:49:06.886 INFO:   **/*.py
15:49:06.886 INFO:   testutils/**
15:49:06.912 DEBUG: 'configure' indexed with language 'null'
15:49:06.914 DEBUG: 'sonar-project.properties' indexed with language 'jproperties'
15:49:06.915 DEBUG: 'deployment/service.json.template' indexed with language 'null'
15:49:06.916 DEBUG: 'handler/config.go' indexed with language 'go'
15:49:06.916 DEBUG: 'deployment/production.variables' indexed with language 'null'
15:49:06.917 DEBUG: 'main.go' indexed with language 'go'
15:49:06.917 DEBUG: 'README.md' indexed with language 'null'
15:49:06.917 DEBUG: 'deployment/task.json.template' indexed with language 'null'
15:49:06.917 DEBUG: 'handler/firmy.go' indexed with language 'go'
15:49:06.918 DEBUG: 'Dockerfile' indexed with language 'null'
15:49:06.919 DEBUG: 'glide.yaml' indexed with language 'null'
15:49:06.919 DEBUG: 'deployment/staging.variables' indexed with language 'null'
15:49:07.244 DEBUG: 'glide.lock' indexed with language 'null'
15:49:07.244 DEBUG: 'test.out' indexed with language 'null'
15:49:07.245 DEBUG: 'makefile' indexed with language 'null'
15:49:07.248 INFO: 15 files indexed
15:49:07.248 INFO: 4113 files ignored because of inclusion/exclusion patterns
15:49:07.250 INFO: Quality profile for go: Golint Rules
15:49:07.250 INFO: Quality profile for jproperties: SonarQube Way
15:49:08.997 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
15:49:08.998 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
15:49:08.998 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
15:49:08.998 DEBUG: 'CSS Analyzer Sensor' skipped because there is no related file in current project
15:49:08.998 DEBUG: 'SCSS Analyzer Sensor' skipped because there is no related file in current project
15:49:08.999 DEBUG: 'Less Analyzer Sensor' skipped because there is no related file in current project
15:49:08.999 DEBUG: 'CxxSquidSensor' skipped because there is no related file in current project
15:49:08.999 DEBUG: 'CxxRatsSensor' skipped because there is no related file in current project
15:49:08.999 DEBUG: 'CxxCoverageSensor' skipped because there is no related file in current project
15:49:08.999 DEBUG: 'CxxCppCheckSensor' skipped because there is no related file in current project
15:49:09.000 DEBUG: 'CxxPCLintSensor' skipped because there is no related file in current project
15:49:09.000 DEBUG: 'CxxDrMemorySensor' skipped because there is no related file in current project
15:49:09.000 DEBUG: 'CxxCompilerSensor' skipped because there is no related file in current project
15:49:09.000 DEBUG: 'CxxVeraxxSensor' skipped because there is no related file in current project
15:49:09.000 DEBUG: 'CxxValgrindSensor' skipped because there is no related file in current project
15:49:09.000 DEBUG: 'CxxExternalRulesSensor' skipped because there is no related file in current project
15:49:09.001 DEBUG: 'JSON Squid Sensor' skipped because there is no related file in current project
15:49:09.001 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
15:49:09.001 DEBUG: 'C#' skipped because there is no related file in current project
15:49:09.002 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
15:49:09.002 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
15:49:09.002 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
15:49:09.002 DEBUG: 'CodeNarc' skipped because there is no related file in current project
15:49:09.002 DEBUG: 'GroovySensor' skipped because there is no related file in current project
15:49:09.003 DEBUG: 'GroovySurefireSensor' skipped because there is no related file in current project
15:49:09.003 DEBUG: 'Groovy CoberturaSensor' skipped because there is no related file in current project
15:49:09.003 DEBUG: 'Groovy JaCoCoSensor' skipped because there is no related file in current project
15:49:09.003 DEBUG: 'Groovy JaCoCoItSensor' skipped because there is no related file in current project
15:49:09.003 DEBUG: 'Groovy JaCoCoOverallSensor' skipped because there is no related file in current project
15:49:09.003 DEBUG: 'Web' skipped because there is no related file in current project
15:49:09.008 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
15:49:09.008 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
15:49:09.008 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
15:49:09.009 DEBUG: 'CSS Analyzer Sensor' skipped because there is no related file in current project
15:49:09.009 DEBUG: 'SCSS Analyzer Sensor' skipped because there is no related file in current project
15:49:09.009 DEBUG: 'Less Analyzer Sensor' skipped because there is no related file in current project
15:49:09.009 DEBUG: 'CxxSquidSensor' skipped because there is no related file in current project
15:49:09.009 DEBUG: 'CxxRatsSensor' skipped because there is no related file in current project
15:49:09.009 DEBUG: 'CxxCoverageSensor' skipped because there is no related file in current project
15:49:09.009 DEBUG: 'CxxCppCheckSensor' skipped because there is no related file in current project
15:49:09.010 DEBUG: 'CxxPCLintSensor' skipped because there is no related file in current project
15:49:09.010 DEBUG: 'CxxDrMemorySensor' skipped because there is no related file in current project
15:49:09.010 DEBUG: 'CxxCompilerSensor' skipped because there is no related file in current project
15:49:09.010 DEBUG: 'CxxVeraxxSensor' skipped because there is no related file in current project
15:49:09.010 DEBUG: 'CxxValgrindSensor' skipped because there is no related file in current project
15:49:09.010 DEBUG: 'CxxExternalRulesSensor' skipped because there is no related file in current project
15:49:09.011 DEBUG: 'JSON Squid Sensor' skipped because there is no related file in current project
15:49:09.011 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
15:49:09.011 DEBUG: 'C#' skipped because there is no related file in current project
15:49:09.011 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
15:49:09.011 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
15:49:09.011 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
15:49:09.012 DEBUG: 'CodeNarc' skipped because there is no related file in current project
15:49:09.012 DEBUG: 'GroovySensor' skipped because there is no related file in current project
15:49:09.012 DEBUG: 'GroovySurefireSensor' skipped because there is no related file in current project
15:49:09.012 DEBUG: 'Groovy CoberturaSensor' skipped because there is no related file in current project
15:49:09.012 DEBUG: 'Groovy JaCoCoSensor' skipped because there is no related file in current project
15:49:09.012 DEBUG: 'Groovy JaCoCoItSensor' skipped because there is no related file in current project
15:49:09.012 DEBUG: 'Groovy JaCoCoOverallSensor' skipped because there is no related file in current project
15:49:09.012 DEBUG: 'Web' skipped because there is no related file in current project
15:49:09.017 DEBUG: Sensors : Embedded CSS Analyzer Sensor -> CxxXunitSensor -> Unit Test Results Import -> GoMetaLinter issues loader sensor -> Go Coverage -> Go test JUnit loader sensor -> Go Highlighter Sensor -> Go Metrics Sensor -> Java Properties Squid Sensor -> Coverage Report Import -> Coverage Report Import -> Unit Test Results Import -> XmlFileSensor -> Zero Coverage Sensor -> CPD Block Indexer
15:49:09.018 INFO: Sensor Embedded CSS Analyzer Sensor [css]
15:49:09.063 INFO: 0 source files to be analyzed
15:49:09.065 INFO: Sensor Embedded CSS Analyzer Sensor [css] (done) | time=48ms
15:49:09.065 INFO: Sensor CxxXunitSensor [cxx]
15:49:09.065 INFO: 0/0 source files have been analyzed
15:49:09.065 DEBUG: Root module imports test metrics: Module Key = '[key=odpovidac:iris-firmy]'
15:49:09.066 INFO: Undefined report path value for key 'sonar.cxx.xunit.reportPath'
15:49:09.066 DEBUG: No reports found, nothing to process
15:49:09.066 INFO: Sensor CxxXunitSensor [cxx] (done) | time=1ms
15:49:09.066 INFO: Sensor Unit Test Results Import [cxx]
15:49:09.066 DEBUG: No unit test results property. Skip Sensor
15:49:09.066 INFO: Sensor Unit Test Results Import [cxx] (done) | time=0ms
15:49:09.067 INFO: Sensor GoMetaLinter issues loader sensor [golang]
15:49:09.081 INFO: Parsing the file report.xml
15:49:09.081 INFO: Parsing 'GoMetaLinter' Analysis Results
15:49:09.082 DEBUG: Parsing file /builds/Odpovidac/iris-firmy/report.xml
15:49:09.146 DEBUG: violation found for the file handler/config.go
15:49:09.147 DEBUG: violation found for the file handler/firmy.go
15:49:09.147 DEBUG: violation found for the file main.go
15:49:09.197 WARN: This description "exported method Config.GetHeaders should have comment or be unexported" is not usable
15:49:09.197 WARN: The key for the message exported method Config.GetHeaders should have comment or be unexported is null, issue not saved
15:49:09.198 WARN: This description "undeclared name: server" is not usable
15:49:09.199 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: server
15:49:09.199 WARN: This description "exported method Config.GetEndpoint should have comment or be unexported" is not usable
15:49:09.200 WARN: The key for the message exported method Config.GetEndpoint should have comment or be unexported is null, issue not saved
15:49:09.200 WARN: This description "exported method Config.GetTimeout should have comment or be unexported" is not usable
15:49:09.201 WARN: The key for the message exported method Config.GetTimeout should have comment or be unexported is null, issue not saved
15:49:09.222 DEBUG: 'handler/config.go' generated metadata  with charset 'UTF-8'
15:49:09.247 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/server (can't find import: )" is not usable
15:49:09.247 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/server (can't find import: ) is null, issue not saved
15:49:09.248 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/client (can't find import: )" is not usable
15:49:09.248 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/client (can't find import: ) is null, issue not saved
15:49:09.249 WARN: This description "undeclared name: client" is not usable
15:49:09.250 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: client
15:49:09.250 WARN: This description "could not import github.com/mwitkow/go-grpc-middleware (can't find import: )" is not usable
15:49:09.250 WARN: The key for the message could not import github.com/mwitkow/go-grpc-middleware (can't find import: ) is null, issue not saved
15:49:09.251 WARN: This description "undeclared name: server" is not usable
15:49:09.251 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: server
15:49:09.252 WARN: This description "undeclared name: metric" is not usable
15:49:09.252 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: metric
15:49:09.252 WARN: This description "undeclared name: server" is not usable
15:49:09.252 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: server
15:49:09.253 WARN: This description "undeclared name: client" is not usable
15:49:09.253 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: client
15:49:09.254 WARN: This description "invalid operation: in (variable of type *invalid type) has no field or method String" is not usable
15:49:09.254 WARN: The key for the message invalid operation: in (variable of type *invalid type) has no field or method String is null, issue not saved
15:49:09.255 WARN: This description "buf declared but not used" is not usable
15:49:09.255 WARN: The key for the message buf declared but not used is null, issue not saved
15:49:09.255 WARN: This description "undeclared name: grpc" is not usable
15:49:09.255 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: grpc
15:49:09.256 WARN: This description "undeclared name: grpc_middleware" is not usable
15:49:09.256 WARN: The key for the message undeclared name: grpc_middleware is null, issue not saved
15:49:09.256 WARN: This description "invalid operation: in (variable of type *invalid type) has no field or method GetQuery" is not usable
15:49:09.256 WARN: The key for the message invalid operation: in (variable of type *invalid type) has no field or method GetQuery is null, issue not saved
15:49:09.257 WARN: This description "undeclared name: proto" is not usable
15:49:09.257 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: proto
15:49:09.258 WARN: This description "undeclared name: iris" is not usable
15:49:09.258 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: iris
15:49:09.258 WARN: This description "invalid operation: h.Client (variable with invalid type) has no field or method Do" is not usable
15:49:09.258 WARN: The key for the message invalid operation: h.Client (variable with invalid type) has no field or method Do is null, issue not saved
15:49:09.259 WARN: This description "undeclared name: firmy" is not usable
15:49:09.259 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: firmy
15:49:09.260 WARN: This description "invalid operation: in (variable of type *invalid type) has no field or method GetLocation" is not usable
15:49:09.260 WARN: The key for the message invalid operation: in (variable of type *invalid type) has no field or method GetLocation is null, issue not saved
15:49:09.260 WARN: This description "undeclared name: iris" is not usable
15:49:09.260 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: iris
15:49:09.261 WARN: This description "undeclared name: constants" is not usable
15:49:09.261 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: constants
15:49:09.262 WARN: This description "undeclared name: iris" is not usable
15:49:09.262 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: iris
15:49:09.262 WARN: This description "undeclared name: grpc" is not usable
15:49:09.262 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: grpc
15:49:09.263 WARN: This description "invalid operation: cfg (variable of type FirmyRestClientConfig) has no field or method GetEndpoint" is not usable
15:49:09.263 WARN: The key for the message invalid operation: cfg (variable of type FirmyRestClientConfig) has no field or method GetEndpoint is null, issue not saved
15:49:09.263 WARN: This description "invalid operation: in (variable of type *invalid type) has no field or method GetQuery" is not usable
15:49:09.263 WARN: The key for the message invalid operation: in (variable of type *invalid type) has no field or method GetQuery is null, issue not saved
15:49:09.270 DEBUG: 'handler/firmy.go' generated metadata  with charset 'UTF-8'
15:49:09.272 WARN: This description "undeclared name: iris" is not usable
15:49:09.272 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: iris
15:49:09.273 WARN: This description "undeclared name: iris" is not usable
15:49:09.273 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: iris
15:49:09.274 WARN: This description "undeclared name: iris" is not usable
15:49:09.274 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: iris
15:49:09.274 WARN: This description "undeclared name: client" is not usable
15:49:09.274 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: client
15:49:09.275 WARN: This description "undeclared name: server" is not usable
15:49:09.275 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: server
15:49:09.275 WARN: This description "undeclared name: iris" is not usable
15:49:09.275 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: iris
15:49:09.276 WARN: This description "exported method Handler.GetConfig should have comment or be unexported" is not usable
15:49:09.276 WARN: The key for the message exported method Handler.GetConfig should have comment or be unexported is null, issue not saved
15:49:09.277 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/iris/proto/iris (can't find import: )" is not usable
15:49:09.277 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/iris/proto/iris (can't find import: ) is null, issue not saved
15:49:09.277 WARN: This description "could not import github.com/golang/protobuf/jsonpb (can't find import: )" is not usable
15:49:09.277 WARN: The key for the message could not import github.com/golang/protobuf/jsonpb (can't find import: ) is null, issue not saved
15:49:09.278 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/server (can't find import: )" is not usable
15:49:09.278 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/server (can't find import: ) is null, issue not saved
15:49:09.278 WARN: This description "undeclared name: jsonpb" is not usable
15:49:09.278 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: jsonpb
15:49:09.280 WARN: This description "undeclared name: server" is not usable
15:49:09.280 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: server
15:49:09.280 WARN: This description "undeclared name: grpc" is not usable
15:49:09.280 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: grpc
15:49:09.281 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric (can't find import: )" is not usable
15:49:09.281 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric (can't find import: ) is null, issue not saved
15:49:09.281 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/client (can't find import: )" is not usable
15:49:09.282 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/client (can't find import: ) is null, issue not saved
15:49:09.282 WARN: This description "could not import golang.org/x/net/context (can't find import: )" is not usable
15:49:09.282 WARN: The key for the message could not import golang.org/x/net/context (can't find import: ) is null, issue not saved
15:49:09.283 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/constants (can't find import: )" is not usable
15:49:09.283 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/constants (can't find import: ) is null, issue not saved
15:49:09.283 WARN: This description "undeclared name: context" is not usable
15:49:09.283 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: context
15:49:09.284 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/proto/iris/firmy (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/proto/iris/firmy)" is not usable
15:49:09.284 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/proto/iris/firmy (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/proto/iris/firmy) is null, issue not saved
15:49:09.285 WARN: This description "undeclared name: grpc" is not usable
15:49:09.285 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: grpc
15:49:09.286 WARN: This description "could not import github.com/golang/protobuf/proto (can't find import: )" is not usable
15:49:09.286 WARN: The key for the message could not import github.com/golang/protobuf/proto (can't find import: ) is null, issue not saved
15:49:09.287 WARN: This description "exported method Handler.GetServer should have comment or be unexported" is not usable
15:49:09.287 WARN: The key for the message exported method Handler.GetServer should have comment or be unexported is null, issue not saved
15:49:09.287 WARN: This description "could not import google.golang.org/grpc (can't find import: )" is not usable
15:49:09.287 WARN: The key for the message could not import google.golang.org/grpc (can't find import: ) is null, issue not saved
15:49:09.288 WARN: This description "undeclared name: hermes" is not usable
15:49:09.288 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: hermes
15:49:09.288 WARN: This description "undeclared name: server" is not usable
15:49:09.288 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: server
15:49:09.289 WARN: This description "undeclared name: metric" is not usable
15:49:09.289 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: metric
15:49:09.290 WARN: This description "undeclared name: hermes" is not usable
15:49:09.290 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: hermes
15:49:09.290 WARN: This description "undeclared name: metric" is not usable
15:49:09.290 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: metric
15:49:09.291 WARN: This description "undeclared name: handler" is not usable
15:49:09.291 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: handler
15:49:09.293 DEBUG: 'main.go' generated metadata  with charset 'UTF-8'
15:49:09.294 WARN: This description "undeclared name: hermes" is not usable
15:49:09.294 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: hermes
15:49:09.295 WARN: This description "undeclared name: metric" is not usable
15:49:09.295 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: metric
15:49:09.295 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/server (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/vendor/gitlab.kancelar.seznam.cz/Odpovidac/goutils/server)" is not usable
15:49:09.295 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/server (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/vendor/gitlab.kancelar.seznam.cz/Odpovidac/goutils/server) is null, issue not saved
15:49:09.296 WARN: This description "undeclared name: metric" is not usable
15:49:09.296 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: metric
15:49:09.296 WARN: This description "undeclared name: handler" is not usable
15:49:09.296 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: handler
15:49:09.297 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/vendor/gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric)" is not usable
15:49:09.297 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/vendor/gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric) is null, issue not saved
15:49:09.297 WARN: This description "undeclared name: hermes" is not usable
15:49:09.297 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: hermes
15:49:09.298 WARN: This description "undeclared name: hermes" is not usable
15:49:09.298 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: hermes
15:49:09.298 WARN: This description "undeclared name: envconfig" is not usable
15:49:09.299 WARN: This issue is create because there is a problem with gometalinter analyse: undeclared name: envconfig
15:49:09.299 WARN: This description "could not import gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler)" is not usable
15:49:09.299 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler) is null, issue not saved
15:49:09.300 WARN: This description "could not import github.com/kelseyhightower/envconfig (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/vendor/github.com/kelseyhightower/envconfig)" is not usable
15:49:09.300 WARN: The key for the message could not import github.com/kelseyhightower/envconfig (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/vendor/github.com/kelseyhightower/envconfig) is null, issue not saved
15:49:09.300 WARN: This description "could not import gitlab.kancelar.seznam.cz/common/hermes (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/vendor/gitlab.kancelar.seznam.cz/common/hermes)" is not usable
15:49:09.300 WARN: The key for the message could not import gitlab.kancelar.seznam.cz/common/hermes (can't find import: gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/vendor/gitlab.kancelar.seznam.cz/common/hermes) is null, issue not saved
15:49:09.300 INFO: Sensor GoMetaLinter issues loader sensor [golang] (done) | time=234ms
15:49:09.301 INFO: Sensor Go Coverage [golang]
15:49:09.305 INFO: Analyse for /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/coverage.xml
15:49:09.317 INFO: Sensor Go Coverage [golang] (done) | time=16ms
15:49:09.317 INFO: Sensor Go test JUnit loader sensor [golang]
15:49:09.323 WARN: file not found /builds/Odpovidac/iris-firmy/handler
15:49:09.323 INFO: Sensor Go test JUnit loader sensor [golang] (done) | time=6ms
15:49:09.323 INFO: Sensor Go Highlighter Sensor [golang]
15:49:09.327 DEBUG: Coloring the file: /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler/config.go
15:49:09.341 DEBUG: Line number 1 index start: 0 index end: 7
15:49:09.342 DEBUG: Line number 3 index start: 0 index end: 6
15:49:09.342 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/client" 1
15:49:09.342 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/client" 52
15:49:09.342 DEBUG: index 1 indexEnd 52
15:49:09.342 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/client" -1
15:49:09.343 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/client" 1
15:49:09.343 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" 1
15:49:09.343 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" 52
15:49:09.343 DEBUG: index 1 indexEnd 52
15:49:09.343 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" -1
15:49:09.343 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" 1
15:49:09.343 DEBUG:     "net/http" 1
15:49:09.343 DEBUG:     "net/http" 10
15:49:09.343 DEBUG: index 1 indexEnd 10
15:49:09.343 DEBUG:     "net/http" -1
15:49:09.343 DEBUG:     "net/http" 1
15:49:09.343 DEBUG:     "time" 1
15:49:09.343 DEBUG:     "time" 6
15:49:09.343 DEBUG: index 1 indexEnd 6
15:49:09.343 DEBUG:     "time" -1
15:49:09.343 DEBUG:     "time" 1
15:49:09.344 DEBUG: Line number 10 index start: 27 index end: 36
15:49:09.344 DEBUG: Line number 10 index start: 0 index end: 4
15:49:09.344 DEBUG: Line number 10 index start: 27 index end: 30
15:49:09.344 DEBUG: Line number 16 index start: 12 index end: 18
15:49:09.344 DEBUG: Line number 16 index start: 0 index end: 4
15:49:09.345 DEBUG:     Timeout  time.Duration `default:"1000ms"` 33
15:49:09.345 DEBUG:     Timeout  time.Duration `default:"1000ms"` 40
15:49:09.345 DEBUG: index 33 indexEnd 40
15:49:09.345 DEBUG:     Timeout  time.Duration `default:"1000ms"` -1
15:49:09.345 DEBUG:     Timeout  time.Duration `default:"1000ms"` 33
15:49:09.345 DEBUG: Line number 19 index start: 25 index end: 32
15:49:09.345 DEBUG:     Endpoint string        `default:"https://www.firmy.cz/api/mobile/search"` 33
15:49:09.345 DEBUG:     Endpoint string        `default:"https://www.firmy.cz/api/mobile/search"` 72
15:49:09.345 DEBUG: index 33 indexEnd 72
15:49:09.345 DEBUG:     Endpoint string        `default:"https://www.firmy.cz/api/mobile/search"` -1
15:49:09.345 DEBUG:     Endpoint string        `default:"https://www.firmy.cz/api/mobile/search"` 33
15:49:09.345 DEBUG: Line number 20 index start: 25 index end: 32
15:49:09.345 DEBUG: Line number 20 index start: 6 index end: 9
15:49:09.345 DEBUG: Line number 20 index start: 10 index end: 16
15:49:09.345 DEBUG:     AuthKey   string `default:"staging"` 27
15:49:09.345 DEBUG:     AuthKey   string `default:"staging"` 35
15:49:09.345 DEBUG: index 27 indexEnd 35
15:49:09.345 DEBUG:     AuthKey   string `default:"staging"` -1
15:49:09.345 DEBUG:     AuthKey   string `default:"staging"` 27
15:49:09.346 DEBUG: Line number 22 index start: 19 index end: 26
15:49:09.346 DEBUG: Line number 22 index start: 11 index end: 17
15:49:09.346 DEBUG:     AuthToken string `default:"b968cb2baf8b0365512e724d27698fe7"` 27
15:49:09.346 DEBUG:     AuthToken string `default:"b968cb2baf8b0365512e724d27698fe7"` 60
15:49:09.346 DEBUG: index 27 indexEnd 60
15:49:09.346 DEBUG:     AuthToken string `default:"b968cb2baf8b0365512e724d27698fe7"` -1
15:49:09.346 DEBUG:     AuthToken string `default:"b968cb2baf8b0365512e724d27698fe7"` 27
15:49:09.346 DEBUG: Line number 23 index start: 19 index end: 26
15:49:09.346 DEBUG: Line number 23 index start: 11 index end: 17
15:49:09.346 DEBUG: Line number 28 index start: 0 index end: 4
15:49:09.347 DEBUG: Line number 29 index start: 1 index end: 7
15:49:09.347 DEBUG: Line number 32 index start: 0 index end: 4
15:49:09.347 DEBUG: Line number 32 index start: 24 index end: 27
15:49:09.347 DEBUG: Line number 32 index start: 30 index end: 36
15:49:09.347 DEBUG: Line number 33 index start: 1 index end: 7
15:49:09.347 DEBUG: Line number 33 index start: 15 index end: 18
15:49:09.347 DEBUG: Line number 38 index start: 0 index end: 4
15:49:09.348 DEBUG: Line number 43 index start: 1 index end: 7
15:49:09.357 DEBUG: Coloring the file: /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler/firmy.go
15:49:09.357 DEBUG: Line number 1 index start: 0 index end: 7
15:49:09.358 DEBUG: Line number 3 index start: 0 index end: 6
15:49:09.358 DEBUG:     "fmt" 1
15:49:09.358 DEBUG:     "fmt" 5
15:49:09.358 DEBUG: index 1 indexEnd 5
15:49:09.358 DEBUG:     "fmt" -1
15:49:09.358 DEBUG:     "fmt" 1
15:49:09.358 DEBUG:     "github.com/golang/protobuf/jsonpb" 1
15:49:09.358 DEBUG:     "github.com/golang/protobuf/jsonpb" 35
15:49:09.358 DEBUG: index 1 indexEnd 35
15:49:09.358 DEBUG:     "github.com/golang/protobuf/jsonpb" -1
15:49:09.358 DEBUG:     "github.com/golang/protobuf/jsonpb" 1
15:49:09.358 DEBUG:     "github.com/golang/protobuf/proto" 1
15:49:09.358 DEBUG:     "github.com/golang/protobuf/proto" 34
15:49:09.358 DEBUG: index 1 indexEnd 34
15:49:09.358 DEBUG:     "github.com/golang/protobuf/proto" -1
15:49:09.358 DEBUG:     "github.com/golang/protobuf/proto" 1
15:49:09.358 DEBUG:     "github.com/mwitkow/go-grpc-middleware" 1
15:49:09.359 DEBUG:     "github.com/mwitkow/go-grpc-middleware" 39
15:49:09.359 DEBUG: index 1 indexEnd 39
15:49:09.359 DEBUG:     "github.com/mwitkow/go-grpc-middleware" -1
15:49:09.359 DEBUG:     "github.com/mwitkow/go-grpc-middleware" 1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/client" 1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/client" 52
15:49:09.359 DEBUG: index 1 indexEnd 52
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/client" -1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/client" 1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/constants" 1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/constants" 55
15:49:09.359 DEBUG: index 1 indexEnd 55
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/constants" -1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/constants" 1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric" 1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric" 52
15:49:09.359 DEBUG: index 1 indexEnd 52
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric" -1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric" 1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" 1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" 52
15:49:09.359 DEBUG: index 1 indexEnd 52
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" -1
15:49:09.359 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" 1
15:49:09.360 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/proto/iris/firmy" 1
15:49:09.360 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/proto/iris/firmy" 65
15:49:09.360 DEBUG: index 1 indexEnd 65
15:49:09.360 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/proto/iris/firmy" -1
15:49:09.360 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/proto/iris/firmy" 1
15:49:09.360 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris/proto/iris" 1
15:49:09.360 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris/proto/iris" 53
15:49:09.360 DEBUG: index 1 indexEnd 53
15:49:09.360 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris/proto/iris" -1
15:49:09.360 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris/proto/iris" 1
15:49:09.360 DEBUG:     "golang.org/x/net/context" 1
15:49:09.360 DEBUG:     "golang.org/x/net/context" 26
15:49:09.360 DEBUG: index 1 indexEnd 26
15:49:09.360 DEBUG:     "golang.org/x/net/context" -1
15:49:09.360 DEBUG:     "golang.org/x/net/context" 1
15:49:09.360 DEBUG:     "google.golang.org/grpc" 1
15:49:09.360 DEBUG:     "google.golang.org/grpc" 24
15:49:09.360 DEBUG: index 1 indexEnd 24
15:49:09.360 DEBUG:     "google.golang.org/grpc" -1
15:49:09.360 DEBUG:     "google.golang.org/grpc" 1
15:49:09.360 DEBUG:     "net/http" 1
15:49:09.361 DEBUG:     "net/http" 10
15:49:09.361 DEBUG: index 1 indexEnd 10
15:49:09.361 DEBUG:     "net/http" -1
15:49:09.361 DEBUG:     "net/http" 1
15:49:09.361 DEBUG:     "net/url" 1
15:49:09.361 DEBUG:     "net/url" 9
15:49:09.361 DEBUG: index 1 indexEnd 9
15:49:09.361 DEBUG:     "net/url" -1
15:49:09.361 DEBUG:     "net/url" 1
15:49:09.361 DEBUG: Line number 22 index start: 0 index end: 4
15:49:09.361 DEBUG:     req, err := http.NewRequest("GET", cfg.GetEndpoint(), nil) 29
15:49:09.361 DEBUG:     req, err := http.NewRequest("GET", cfg.GetEndpoint(), nil) 33
15:49:09.361 DEBUG: index 29 indexEnd 33
15:49:09.361 DEBUG:     req, err := http.NewRequest("GET", cfg.GetEndpoint(), nil) -1
15:49:09.361 DEBUG:     req, err := http.NewRequest("GET", cfg.GetEndpoint(), nil) 29
15:49:09.361 DEBUG: Line number 23 index start: 48 index end: 51
15:49:09.361 DEBUG: Line number 24 index start: 1 index end: 3
15:49:09.362 DEBUG: Line number 25 index start: 2 index end: 8
15:49:09.362 DEBUG:     q.Add("q", in.GetQuery()) 7
15:49:09.362 DEBUG:     q.Add("q", in.GetQuery()) 9
15:49:09.362 DEBUG: index 7 indexEnd 9
15:49:09.362 DEBUG:     q.Add("q", in.GetQuery()) -1
15:49:09.362 DEBUG:     q.Add("q", in.GetQuery()) 7
15:49:09.362 DEBUG: Line number 33 index start: 1 index end: 3
15:49:09.363 DEBUG:         q.Add("gpsLon", fmt.Sprintf("%f", loc.GetLongitude())) 8
15:49:09.363 DEBUG:         q.Add("gpsLon", fmt.Sprintf("%f", loc.GetLongitude())) 15
15:49:09.363 DEBUG: index 8 indexEnd 15
15:49:09.363 DEBUG:         q.Add("gpsLon", fmt.Sprintf("%f", loc.GetLongitude())) 30
15:49:09.363 DEBUG:         q.Add("gpsLon", fmt.Sprintf("%f", loc.GetLongitude())) 33
15:49:09.363 DEBUG: index 30 indexEnd 33
15:49:09.363 DEBUG:         q.Add("gpsLon", fmt.Sprintf("%f", loc.GetLongitude())) -1
15:49:09.363 DEBUG:         q.Add("gpsLon", fmt.Sprintf("%f", loc.GetLongitude())) 8
15:49:09.363 DEBUG: Line number 34 index start: 25 index end: 28
15:49:09.363 DEBUG:         q.Add("gpsLat", fmt.Sprintf("%f", loc.GetLatitude())) 8
15:49:09.363 DEBUG:         q.Add("gpsLat", fmt.Sprintf("%f", loc.GetLatitude())) 15
15:49:09.363 DEBUG: index 8 indexEnd 15
15:49:09.363 DEBUG:         q.Add("gpsLat", fmt.Sprintf("%f", loc.GetLatitude())) 30
15:49:09.363 DEBUG:         q.Add("gpsLat", fmt.Sprintf("%f", loc.GetLatitude())) 33
15:49:09.363 DEBUG: index 30 indexEnd 33
15:49:09.363 DEBUG:         q.Add("gpsLat", fmt.Sprintf("%f", loc.GetLatitude())) -1
15:49:09.363 DEBUG:         q.Add("gpsLat", fmt.Sprintf("%f", loc.GetLatitude())) 8
15:49:09.363 DEBUG: Line number 35 index start: 25 index end: 28
15:49:09.363 DEBUG:         q.Add("gpsAcc", fmt.Sprintf("%f", loc.GetAccuracy())) 8
15:49:09.363 DEBUG:         q.Add("gpsAcc", fmt.Sprintf("%f", loc.GetAccuracy())) 15
15:49:09.363 DEBUG: index 8 indexEnd 15
15:49:09.363 DEBUG:         q.Add("gpsAcc", fmt.Sprintf("%f", loc.GetAccuracy())) 30
15:49:09.363 DEBUG:         q.Add("gpsAcc", fmt.Sprintf("%f", loc.GetAccuracy())) 33
15:49:09.363 DEBUG: index 30 indexEnd 33
15:49:09.364 DEBUG:         q.Add("gpsAcc", fmt.Sprintf("%f", loc.GetAccuracy())) -1
15:49:09.364 DEBUG:         q.Add("gpsAcc", fmt.Sprintf("%f", loc.GetAccuracy())) 8
15:49:09.364 DEBUG: Line number 36 index start: 25 index end: 28
15:49:09.364 DEBUG: Line number 40 index start: 1 index end: 7
15:49:09.364 DEBUG: Line number 45 index start: 13 index end: 19
15:49:09.364 DEBUG: Line number 45 index start: 0 index end: 4
15:49:09.365 DEBUG: Line number 51 index start: 0 index end: 4
15:49:09.365 DEBUG:         server.GrpcMetricWrapper("iris-firmy", metric.GetMetric()), 27
15:49:09.365 DEBUG:         server.GrpcMetricWrapper("iris-firmy", metric.GetMetric()), 38
15:49:09.365 DEBUG: index 27 indexEnd 38
15:49:09.365 DEBUG:         server.GrpcMetricWrapper("iris-firmy", metric.GetMetric()), -1
15:49:09.365 DEBUG:         server.GrpcMetricWrapper("iris-firmy", metric.GetMetric()), 27
15:49:09.365 DEBUG: Line number 60 index start: 1 index end: 7
15:49:09.366 DEBUG: Line number 63 index start: 0 index end: 4
15:49:09.366 DEBUG: Line number 64 index start: 1 index end: 7
15:49:09.366 DEBUG: Line number 67 index start: 0 index end: 4
15:49:09.366 DEBUG: Line number 68 index start: 1 index end: 7
15:49:09.366 DEBUG: Line number 72 index start: 0 index end: 4
15:49:09.366 DEBUG: Line number 73 index start: 17 index end: 22
15:49:09.366 DEBUG:     rc.Logger.Info("Request:", in.String()) 16
15:49:09.366 DEBUG:     rc.Logger.Info("Request:", in.String()) 25
15:49:09.366 DEBUG: index 16 indexEnd 25
15:49:09.366 DEBUG:     rc.Logger.Info("Request:", in.String()) -1
15:49:09.366 DEBUG:     rc.Logger.Info("Request:", in.String()) 16
15:49:09.366 DEBUG:     if in.GetQuery() == "" { 21
15:49:09.366 DEBUG:     if in.GetQuery() == "" { 22
15:49:09.366 DEBUG: index 21 indexEnd 22
15:49:09.366 DEBUG:     if in.GetQuery() == "" { -1
15:49:09.366 DEBUG:     if in.GetQuery() == "" { 21
15:49:09.367 DEBUG: Line number 78 index start: 1 index end: 3
15:49:09.367 DEBUG: Line number 79 index start: 2 index end: 8
15:49:09.367 DEBUG: Line number 83 index start: 1 index end: 3
15:49:09.367 DEBUG: Line number 85 index start: 2 index end: 8
15:49:09.367 DEBUG: Line number 90 index start: 1 index end: 3
15:49:09.367 DEBUG: Line number 92 index start: 2 index end: 8
15:49:09.367 DEBUG:     rc.Logger.Debug("Json response:", data.String()) 17
15:49:09.367 DEBUG:     rc.Logger.Debug("Json response:", data.String()) 32
15:49:09.367 DEBUG: index 17 indexEnd 32
15:49:09.367 DEBUG:     rc.Logger.Debug("Json response:", data.String()) -1
15:49:09.367 DEBUG:     rc.Logger.Debug("Json response:", data.String()) 17
15:49:09.368 DEBUG: Line number 102 index start: 1 index end: 3
15:49:09.368 DEBUG: Line number 103 index start: 2 index end: 8
15:49:09.368 DEBUG:     rc.Logger.Debug("Proto response:", pb.String()) 17
15:49:09.368 DEBUG:     rc.Logger.Debug("Proto response:", pb.String()) 33
15:49:09.368 DEBUG: index 17 indexEnd 33
15:49:09.368 DEBUG:     rc.Logger.Debug("Proto response:", pb.String()) -1
15:49:09.368 DEBUG:     rc.Logger.Debug("Proto response:", pb.String()) 17
15:49:09.368 DEBUG: Line number 109 index start: 1 index end: 3
15:49:09.368 DEBUG: Line number 110 index start: 2 index end: 8
15:49:09.368 DEBUG: Line number 115 index start: 1 index end: 3
15:49:09.368 DEBUG: Line number 116 index start: 2 index end: 8
15:49:09.369 DEBUG: Line number 119 index start: 1 index end: 7
15:49:09.371 DEBUG: Coloring the file: /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/main.go
15:49:09.371 DEBUG: Line number 1 index start: 0 index end: 7
15:49:09.372 DEBUG: Line number 3 index start: 0 index end: 6
15:49:09.372 DEBUG:     "flag" 1
15:49:09.372 DEBUG:     "flag" 6
15:49:09.372 DEBUG: index 1 indexEnd 6
15:49:09.372 DEBUG:     "flag" -1
15:49:09.372 DEBUG:     "flag" 1
15:49:09.372 DEBUG:     "fmt" 1
15:49:09.372 DEBUG:     "fmt" 5
15:49:09.372 DEBUG: index 1 indexEnd 5
15:49:09.372 DEBUG:     "fmt" -1
15:49:09.372 DEBUG:     "fmt" 1
15:49:09.372 DEBUG:     "github.com/kelseyhightower/envconfig" 1
15:49:09.372 DEBUG:     "github.com/kelseyhightower/envconfig" 38
15:49:09.372 DEBUG: index 1 indexEnd 38
15:49:09.372 DEBUG:     "github.com/kelseyhightower/envconfig" -1
15:49:09.372 DEBUG:     "github.com/kelseyhightower/envconfig" 1
15:49:09.373 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric" 1
15:49:09.373 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric" 52
15:49:09.373 DEBUG: index 1 indexEnd 52
15:49:09.373 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric" -1
15:49:09.373 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/metric" 1
15:49:09.373 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" 1
15:49:09.373 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" 52
15:49:09.373 DEBUG: index 1 indexEnd 52
15:49:09.373 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" -1
15:49:09.373 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/goutils/server" 1
15:49:09.374 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler" 1
15:49:09.374 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler" 56
15:49:09.374 DEBUG: index 1 indexEnd 56
15:49:09.374 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler" -1
15:49:09.374 DEBUG:     "gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler" 1
15:49:09.374 DEBUG:     "gitlab.kancelar.seznam.cz/common/hermes" 1
15:49:09.374 DEBUG:     "gitlab.kancelar.seznam.cz/common/hermes" 41
15:49:09.374 DEBUG: index 1 indexEnd 41
15:49:09.374 DEBUG:     "gitlab.kancelar.seznam.cz/common/hermes" -1
15:49:09.374 DEBUG:     "gitlab.kancelar.seznam.cz/common/hermes" 1
15:49:09.374 DEBUG: Line number 13 index start: 0 index end: 3
15:49:09.374 DEBUG: Line number 14 index start: 9 index end: 15
15:49:09.375 DEBUG: Line number 15 index start: 9 index end: 15
15:49:09.375 DEBUG: Line number 18 index start: 0 index end: 4
15:49:09.375 DEBUG:     envprefix := flag.String("envprefix", "", "Environment variables configuration prefix") 26
15:49:09.375 DEBUG:     envprefix := flag.String("envprefix", "", "Environment variables configuration prefix") 36
15:49:09.375 DEBUG: index 26 indexEnd 36
15:49:09.375 DEBUG:     envprefix := flag.String("envprefix", "", "Environment variables configuration prefix") 39
15:49:09.375 DEBUG:     envprefix := flag.String("envprefix", "", "Environment variables configuration prefix") 40
15:49:09.375 DEBUG: index 39 indexEnd 40
15:49:09.375 DEBUG:     envprefix := flag.String("envprefix", "", "Environment variables configuration prefix") 43
15:49:09.375 DEBUG:     envprefix := flag.String("envprefix", "", "Environment variables configuration prefix") 86
15:49:09.375 DEBUG: index 43 indexEnd 86
15:49:09.375 DEBUG:     envprefix := flag.String("envprefix", "", "Environment variables configuration prefix") -1
15:49:09.375 DEBUG:     envprefix := flag.String("envprefix", "", "Environment variables configuration prefix") 26
15:49:09.375 DEBUG:     debug := flag.Bool("debug", false, "Run in debug mode") 20
15:49:09.375 DEBUG:     debug := flag.Bool("debug", false, "Run in debug mode") 26
15:49:09.375 DEBUG: index 20 indexEnd 26
15:49:09.375 DEBUG:     debug := flag.Bool("debug", false, "Run in debug mode") 36
15:49:09.375 DEBUG:     debug := flag.Bool("debug", false, "Run in debug mode") 54
15:49:09.375 DEBUG: index 36 indexEnd 54
15:49:09.375 DEBUG:     debug := flag.Bool("debug", false, "Run in debug mode") -1
15:49:09.375 DEBUG:     debug := flag.Bool("debug", false, "Run in debug mode") 20
15:49:09.375 DEBUG:     hermes.Info(fmt.Sprintf("Version '%s'", Version)) 25
15:49:09.375 DEBUG:     hermes.Info(fmt.Sprintf("Version '%s'", Version)) 38
15:49:09.376 DEBUG: index 25 indexEnd 38
15:49:09.376 DEBUG:     hermes.Info(fmt.Sprintf("Version '%s'", Version)) -1
15:49:09.376 DEBUG:     hermes.Info(fmt.Sprintf("Version '%s'", Version)) 25
15:49:09.376 DEBUG: Line number 25 index start: 20 index end: 23
15:49:09.376 DEBUG:     hermes.Info(fmt.Sprintf("Build: '%s'", Build)) 25
15:49:09.376 DEBUG:     hermes.Info(fmt.Sprintf("Build: '%s'", Build)) 37
15:49:09.376 DEBUG: index 25 indexEnd 37
15:49:09.376 DEBUG:     hermes.Info(fmt.Sprintf("Build: '%s'", Build)) -1
15:49:09.376 DEBUG:     hermes.Info(fmt.Sprintf("Build: '%s'", Build)) 25
15:49:09.376 DEBUG: Line number 26 index start: 20 index end: 23
15:49:09.376 DEBUG: Line number 29 index start: 1 index end: 3
15:49:09.376 DEBUG: Line number 33 index start: 1 index end: 3
15:49:09.377 DEBUG: Line number 37 index start: 1 index end: 3
15:49:09.377 DEBUG:         hermes.Info("Running in debug mode") 14
15:49:09.377 DEBUG:         hermes.Info("Running in debug mode") 36
15:49:09.377 DEBUG: index 14 indexEnd 36
15:49:09.377 DEBUG:         hermes.Info("Running in debug mode") -1
15:49:09.377 DEBUG:         hermes.Info("Running in debug mode") 14
15:49:09.377 DEBUG: Line number 41 index start: 1 index end: 3
15:49:09.377 DEBUG: Line number 48 index start: 1 index end: 3
15:49:09.377 DEBUG: Line number 52 index start: 1 index end: 3
15:49:09.379 INFO: Sensor Go Highlighter Sensor [golang] (done) | time=56ms
15:49:09.379 INFO: Sensor Go Metrics Sensor [golang]
15:49:09.391 INFO: Sensor Go Metrics Sensor [golang] (done) | time=12ms
15:49:09.391 INFO: Sensor Java Properties Squid Sensor [javaProperties]
15:49:09.394 INFO: 1 source files to be analyzed
15:49:09.462 DEBUG: 'sonar-project.properties' generated metadata  with charset 'UTF-8'
15:49:09.478 INFO: Sensor Java Properties Squid Sensor [javaProperties] (done) | time=87ms
15:49:09.478 INFO: 1/1 source files have been analyzed
15:49:09.478 INFO: Sensor Coverage Report Import [csharp]
15:49:09.478 DEBUG: No coverage property. Skip Sensor
15:49:09.479 INFO: Sensor Coverage Report Import [csharp] (done) | time=1ms
15:49:09.479 INFO: Sensor Coverage Report Import [csharp]
15:49:09.479 DEBUG: No coverage property. Skip Sensor
15:49:09.479 INFO: Sensor Coverage Report Import [csharp] (done) | time=0ms
15:49:09.479 INFO: Sensor Unit Test Results Import [csharp]
15:49:09.479 DEBUG: No unit test results property. Skip Sensor
15:49:09.479 INFO: Sensor Unit Test Results Import [csharp] (done) | time=0ms
15:49:09.479 INFO: Sensor XmlFileSensor [java]
15:49:09.479 INFO: Sensor XmlFileSensor [java] (done) | time=0ms
15:49:09.479 INFO: Sensor Zero Coverage Sensor
15:49:09.491 INFO: Sensor Zero Coverage Sensor (done) | time=12ms
15:49:09.491 INFO: Sensor CPD Block Indexer
15:49:09.491 DEBUG: org.sonar.scanner.cpd.deprecated.DefaultCpdBlockIndexer is used for go
15:49:09.492 DEBUG: No CpdMapping for language go
15:49:09.492 DEBUG: org.sonar.scanner.cpd.deprecated.DefaultCpdBlockIndexer is used for jproperties
15:49:09.492 DEBUG: No CpdMapping for language jproperties
15:49:09.492 INFO: Sensor CPD Block Indexer (done) | time=1ms
15:49:09.497 INFO: Calculating CPD for 0 files
15:49:09.499 INFO: CPD calculation finished
15:49:09.606 INFO: Analysis report generated in 103ms, dir size=71 KB
15:49:09.624 INFO: Analysis reports compressed in 18ms, zip size=24 KB
15:49:09.624 INFO: Analysis report generated in /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/.scannerwork/batch-report
15:49:09.624 DEBUG: Upload report
15:49:09.675 DEBUG: POST 200 https://sonarqube.dev/api/ce/submit?projectKey=odpovidac:iris-firmy&projectName=Odpovidac%20-%20iris-firmy | time=48ms
15:49:09.678 INFO: Analysis report uploaded in 54ms
15:49:09.679 INFO: ANALYSIS SUCCESSFUL, you can browse https://sonarqube.dev/dashboard/index/odpovidac:iris-firmy
15:49:09.679 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
15:49:09.679 INFO: More about the report processing at https://sonarqube.dev/api/ce/task?id=AVyxKtLuk3cHN1JW7q2H
15:49:09.680 DEBUG: Report metadata written to /GO/src/gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/.scannerwork/report-task.txt
15:49:09.684 DEBUG: Post-jobs : org.sonar.plugins.buildbreaker.ForbiddenConfigurationBreaker@472719df -> org.sonar.plugins.buildbreaker.QualityGateBreaker@5cfa2ac5
15:49:09.684 INFO: Executing post-job org.sonar.plugins.buildbreaker.ForbiddenConfigurationBreaker
15:49:09.685 INFO: Executing post-job org.sonar.plugins.buildbreaker.QualityGateBreaker
15:49:09.900 INFO: Waiting for report processing to complete...
15:49:19.917 DEBUG: Requesting quality gate status for analysisId AVyxKtgb5uGGhzBoh0gy
15:49:19.942 INFO: Quality gate status: OK
15:49:19.942 INFO: 
15:49:19.943 INFO:  -------- Profiling of module Odpovidac - iris-firmy: 13s --------
15:49:19.943 INFO: 
15:49:19.945 INFO:  * Post-Jobs execution time:                                       10s (78%)
15:49:19.945 INFO:  * Sensors execution time:                                       475ms (3%)
15:49:19.945 INFO:  * Index filesystem execution time:                              366ms (2%)
15:49:19.945 INFO:  * Publish report execution time:                                181ms (1%)
15:49:19.945 INFO:  * Computing duplications execution time:                          3ms (0%)
15:49:19.945 INFO:  * Initializers execution time:                                    1ms (0%)
15:49:19.945 INFO: 
15:49:19.945 INFO:  * Initializers execution time breakdown:                          1ms
15:49:19.946 INFO:    o GenericCoverageSensor:                                        1ms (100%)
15:49:19.946 INFO: 
15:49:19.946 INFO:  * Sensors execution time breakdown:                             475ms
15:49:19.946 INFO:    o GoMetaLinter issues loader sensor:                          233ms (49%)
15:49:19.946 INFO:    o Java Properties Squid Sensor:                                87ms (18%)
15:49:19.946 INFO:    o Go Highlighter Sensor:                                       56ms (11%)
15:49:19.946 INFO:    o Embedded CSS Analyzer Sensor:                                47ms (9%)
15:49:19.946 INFO:    o Go Coverage:                                                 16ms (3%)
15:49:19.946 INFO:    o Zero Coverage Sensor:                                        12ms (2%)
15:49:19.946 INFO:    o Go Metrics Sensor:                                           12ms (2%)
15:49:19.946 INFO:    o Go test JUnit loader sensor:                                  6ms (1%)
15:49:19.946 INFO:    o CPD Block Indexer:                                            1ms (0%)
15:49:19.946 INFO:    o CxxXunitSensor:                                               1ms (0%)
15:49:19.946 INFO: 
15:49:19.946 INFO:  * Post-Jobs execution time breakdown:                             10s
15:49:19.946 INFO:    o QualityGateBreaker:                                           10s (99%)
15:49:19.946 INFO: 
15:49:19.946 INFO:  -------- End of profiling of module Odpovidac - iris-firmy --------
15:49:19.946 INFO: 
15:49:19.953 INFO: Profiling data stored in /builds/Odpovidac/iris-firmy/.sonar/profiling/odpovidac_iris-firmy-profiler.properties
15:49:19.960 INFO: Task total time: 16.822 s
15:49:19.960 INFO: ------------------------------------------------------------------------
15:49:19.960 INFO: EXECUTION SUCCESS
15:49:19.960 INFO: ------------------------------------------------------------------------
15:49:19.960 INFO: Total time: 1:04.145s
15:49:20.180 INFO: Final Memory: 64M/1561M
15:49:20.180 INFO: ------------------------------------------------------------------------
15:49:20.180 DEBUG: Execution getVersion
15:49:20.181 DEBUG: Execution stop

Versions

SonarQube: 6.4 (build 25310) SonarQube Scanner: 3.0.3.778 sonar-golang: 1.2.8 Java: 1.8.0_51 Oracle Corporation (64-bit) Linux: 3.16.0-4-amd64 amd64

Additional Information

gitlab.kancelar.seznam.cz/Odpovidac/iris-firmy/handler/coverage.xml coverage.zip Succesfull local log: scanner.zip

danielleberre commented 7 years ago

I guess that you are experiencing the same issue as #8

The issue is that there is a dtd in the xml report for the coverage.

When using the docker image, you do not have access to internet, thus the xml file cannot be validated with the online dtd.

We added a property which should fix this:

sonar.coverage.dtdVerification=false
f-sys commented 7 years ago

I've tried dtdVerification=false, it's ignored anyway.

thibaultfalque commented 7 years ago

Ok it's strange. I will try to reproduce the problem.

thibaultfalque commented 7 years ago

Hi, I'm sorry for the response time. I have just publish a pre-release (1.2.10-alpha) who add more debug information. Please re-try with -X arg for sonar-scanner and republish the log.

sogajeffrey commented 7 years ago

Having the same issue. Generating coverage.xml correctly and I do see the xml getting parsed in the command line but its not displaying in the sonarqube UI. @thibaultfalque

thibaultfalque commented 7 years ago

hi @sogajeffrey Do you publish your logs with -X args when you run sonar-scanner ? Do you use Docker ?

The logs will be long so you can publish them with https://gist.github.com/.

Thanks.

sogajeffrey commented 7 years ago

No we dont use -X. Yes we build in docker.

https://gist.github.com/sogajeffrey/fac8a714b4c2cf8b73bfa36240690654

thibaultfalque commented 7 years ago

Hi @sogajeffrey I can see in the logs this lines:

20:03:13.365 INFO: Analyse for /jenkins/workspace/Microservices_cf_feat-sonar-QZIR2FOAYBKOYLVBD2TADBEFYILYJ6ASH54XXAXXCOV5Q36NG5CA/coverage.xml
20:03:14.724 DEBUG: 918line coverage for file /go/src/github.build.ge.com/predix-devops/cf/cf.go
20:03:14.724 DEBUG: 285line coverage for file /go/src/github.build.ge.com/predix-devops/cf/user.go
20:03:14.725 WARN: unable to create InputFile object: /go/src/github.build.ge.com/predix-devops/cf/cf.go

So the coverage report is found but there is a problem with the file "cf.go". C an you verify if this file exist ?

sogajeffrey commented 7 years ago

@thibaultfalque Yes the file exists.

thibaultfalque commented 7 years ago

hi, Can I have the content of coverage file ? /jenkins/workspace/Microservices_cf_feat-sonar-QZIR2FOAYBKOYLVBD2TADBEFYILYJ6ASH54XXAXXCOV5Q36NG5CA/coverage.xml

sogajeffrey commented 7 years ago

https://gist.github.com/sogajeffrey/43fec8c6605efbf51f84ea1d2bd10162 @thibaultfalque

thibaultfalque commented 7 years ago

Can you rerun with the new version 1.2.10-beta ? https://github.com/uartois/sonar-golang/releases/tag/v1.2.10-beta

sonar-scanner -X and post the logs

sogajeffrey commented 7 years ago

@thibaultfalque

https://gist.github.com/sogajeffrey/cdb6d25c4ee889b9d9c4794c378a6c22

thibaultfalque commented 7 years ago

OK I understand why the file is not found but it's very strange. In your coverage file the path is: /Users/jeffreysu/workspace/go/src/github.build.ge.com/predix-devops/cf/cf.go

But when I get the path when parse the file I obtain: /go/src/github.build.ge.com/predix-devops/cf/cf.go

@danielleberre any idea why this line return a bad value ?

sogajeffrey commented 7 years ago

@thibaultfalque I generated the coverage.xml on my local and posted it but the file that is parsed in the latest gist is from jenkins so the path is different

thibaultfalque commented 7 years ago

So jenkins use the local coverage ?

sogajeffrey commented 7 years ago

@thibaultfalque I generate the coverage at build time. I dont check the coverage report into the codebase.

thibaultfalque commented 7 years ago

Please test 1.2.10-gamma

sogajeffrey commented 7 years ago

@thibaultfalque https://gist.github.com/sogajeffrey/144e002a2c8af5322dc6169fa4bdbf3d No dice... still not working

sogajeffrey commented 7 years ago

@thibaultfalque this is my report.xml https://gist.github.com/sogajeffrey/d37567ec3ff08694b36774aa394a9f1c

danielleberre commented 6 years ago

@thibaultfalque Are we still unable to fix this?

sogajeffrey commented 6 years ago

It's fixed now for me

On Sat, Dec 2, 2017, 6:15 AM Daniel Le Berre notifications@github.com wrote:

@thibaultfalque https://github.com/thibaultfalque Are we still unable to fix this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/uartois/sonar-golang/issues/14#issuecomment-348694820, or mute the thread https://github.com/notifications/unsubscribe-auth/AIa4AdKdQOJAuW1eSKHA5gjI2zNUAQqZks5s8VuQgaJpZM4N8h7s .

thibaultfalque commented 6 years ago

@f-sys could you check with the last release and close the issue if the problem is resolved ?

thibaultfalque commented 6 years ago

@f-sys could you check with the last release and close the issue if the problem is resolved ?