Sonarqube version that supports go1.20

Sonarqube : 8.4.2
sonarscanner 4.8.0.2856

We are not in a situation where analysis through sonar scanner fails,
An analysis result of the .go file parsing error occurs.

[error]
13:34:15.211 ERROR: Parser returned non-zero exit value: 2
13:34:15.859 ERROR: Unable to parse file: file:///mnt/d/sge/project/server-ncf/Source/Development/NcfGameServer/src/server.ncf/server/gs/controllers/usermgr/usermgr.inventory.go.

When I look at the logic of the files in question, I don’t know the reason for the parsing error internally.
Is this a problem that is solved by upgrading the sonarqube version?
Additionally, does the latest version of Sonacube support the go language 1.20 version?

Hey there.

SonarQube v9.9 LTS officially supports up to Go 1.19, but it may be successful parsing 1.20 (where most of the changes were in the implementation of the toolchain, runtime, and libraries).

It will certainly come closer than SonarQube v8.4.2, which was released 3 years ago.

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.4.2 → 8.9.10 → 9.9 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

Is the above error caused by the low sonarqube version?

[error]
13:34:15.211 ERROR: Parser returned non-zero exit value: 2
13:34:15.859 ERROR: Unable to parse file: file:///mnt/d/sge/project/server-ncf/Source/Development/NcfGameServer/src/server.ncf/server/gs/controllers/usermgr/usermgr.inventory.go.

Probably. I don’t have the file in hand, and you are using a non-supported version of SonarQube.

What version of sonarqube community will support image scanning for golang 1.20 functional? Please guide. :pray: