You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Laszlo Hornyak (JIRA)" <ji...@apache.org> on 2015/03/17 19:30:38 UTC

[jira] [Created] (INFRA-9289) please upgrade sonarqube

Laszlo Hornyak created INFRA-9289:
-------------------------------------

             Summary: please upgrade sonarqube
                 Key: INFRA-9289
                 URL: https://issues.apache.org/jira/browse/INFRA-9289
             Project: Infrastructure
          Issue Type: Wish
          Components: Analysis
            Reporter: Laszlo Hornyak


Cloudstack builds are failing in the apache jenkins server, the error is this:
{noformat}
ParseException in STDIN
Last useful checkpoint: "com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.getCpuSpeed(NodeInfo)"
Encountered " "final" "final "" at line 4513, column 14.
Was expecting one of:
    "assert" ...
{noformat}

The referenced source code is
{code}
    protected static long getCpuSpeed(final NodeInfo nodeInfo) {
        try (final Reader reader = new FileReader(
                "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq")) {
            return Long.parseLong(IOUtils.toString(reader).trim()) / 1000;
...
{code}

Apparently the problem is that the installed version of cobertura does not handle the java 1.7 resource blocks. A newer version of sonarqube



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)