infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laszlo Hornyak (JIRA)" <j...@apache.org>
Subject [jira] [Created] (INFRA-9289) please upgrade sonarqube
Date Tue, 17 Mar 2015 18:30:38 GMT
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)

Mime
View raw message