You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running sonar-scanner within the docker container specified by the Dockerfile specified in https://github.com/cathive/concourse-sonarqube-resource and have coverage, test and report from the tools described here we get: ERROR: Not able to find an InputFile from ./../../../../usr/local/go/src/net/lookup_unix.go
This is being run as a resource in the CI system Concourse but basically the script out in the dir assets is what is being run inside the container.
Steps to Reproduce
Can be difficult to reproduce the exact way we do (since we run it as a resource to Concourse) but might be possible to just run the docker image, exec into it and start the sonar scanner.
The plugin logs major events, including which report files have been found and analyzed.
Errors we encounter + some warning output and standard output:
ERROR: Highlighting problem on save
ERROR: Highlighting problem on save
ERROR: Highlighting problem on save
ERROR: Highlighting problem on save
ERROR: Highlighting problem on save
ERROR: Highlighting problem on save
ERROR: Highlighting problem on save
ERROR: Not able to find an InputFile from ./../../../../usr/local/go/src/net/lookup_unix.go
ERROR: Not able to find an InputFile from ./../../../../usr/local/go/src/net/lookup_unix.go
ERROR: Not able to find an InputFile from ./../../../../usr/local/go/src/net/lookup_unix.go
.
.
.
ERROR: Not able to find an InputFile from ./../../../../usr/local/go/src/net/lookup_unix.go
ERROR: Not able to find an InputFile from ./../../../../usr/local/go/src/net/lookup_unix.go
Versions
Server is running Sonarqube docker image 6.7.2 and sonar-scanner 3.1.0.1141 and plugin version 1.2.11.
Additional Information
The reason might not be anything else than that we need to have golang installed in our environment when we run sonar-scanner with the go plugin but I cannot seem to find any information regarding that. Do we?
The text was updated successfully, but these errors were encountered:
Yeah, that is in fact working. I realised now that gocov-xml doesn't seem to be very well maintained (nothing has happened the last 5 years). Might there be a better option out there?
Description
When running sonar-scanner within the docker container specified by the Dockerfile specified in
https://github.com/cathive/concourse-sonarqube-resource
and have coverage, test and report from the tools described here we get:ERROR: Not able to find an InputFile from ./../../../../usr/local/go/src/net/lookup_unix.go
This is being run as a resource in the CI system Concourse but basically the script
out
in the dirassets
is what is being run inside the container.Steps to Reproduce
Can be difficult to reproduce the exact way we do (since we run it as a resource to Concourse) but might be possible to just run the docker image, exec into it and start the sonar scanner.
Content of your sonar-project.properties
sonar.projectKey=
sonar.projectName=
sonar.sources=.
sonar.inclusions=/.go
Log of sonar-scanner related to the plugin
The plugin logs major events, including which report files have been found and analyzed.
Errors we encounter + some warning output and standard output:
Versions
Server is running Sonarqube docker image 6.7.2 and sonar-scanner 3.1.0.1141 and plugin version 1.2.11.
Additional Information
The reason might not be anything else than that we need to have golang installed in our environment when we run sonar-scanner with the go plugin but I cannot seem to find any information regarding that. Do we?
The text was updated successfully, but these errors were encountered: