You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Sergey Nuyanzin <sn...@gmail.com> on 2023/03/14 20:44:40 UTC
[QUESTION] Sonar integration fails, how to understand the reason?
Hello everyone
It seems that sonar integration failed for the commit [1].
However inside in logs[2] it tells that build is successful...
Could anyone please tell me how to understand what the issue is?
In logs I noticed this (not sure if it is related)
Project not found. Please check the 'sonar.projectKey' and
'sonar.organization' properties, the 'SONAR_TOKEN' environment
variable, or contact the project administrator
<https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/pipeline#step-19-log-1451>Project
not found. Please check the 'sonar.projectKey' and
'sonar.organization' properties, the 'SONAR_TOKEN' environment
variable, or contact the project administrator
<https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/pipeline#step-19-log-1452>Project
not found. Please check the 'sonar.projectKey' and
'sonar.organization' properties, the 'SONAR_TOKEN' environment
variable, or contact the project administrator
<https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/pipeline#step-19-log-1453>Use
of preview features have been detected during analysis. Enable DEBUG
mode to see them.
<https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/pipeline#step-19-log-1454>Resource
not found: org.apache.calcite.util.TestUtilTest under the directory
/home/jenkins/jenkins-agent/workspace/Calcite_Calcite-sonar_main/testkit
while reading test reports. Please, make sure your
"sonar.junit.reportPaths" property is configured properly
<https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/pipeline#step-19-log-1455>Resource
not found: org.apache.calcite.TestKtTest under the directory
/home/jenkins/jenkins-agent/workspace/Calcite_Calcite-sonar_main/testkit
while reading test reports. Please, make sure your
"sonar.junit.reportPaths" property is configured properly
<https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/pipeline#step-19-log-1456>Resource
not found: org.apache.calcite.test.FixtureTest under the directory
/home/jenkins/jenkins-agent/workspace/Calcite_Calcite-sonar_main/testkit
while reading test reports. Please, make sure your
"sonar.junit.reportPaths" property is configured properly
[1]
https://github.com/apache/calcite/commit/052a5cc724a889edf19c1d76ea166c0d0924a5d3
[2]
https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/pipeline
--
Best regards,
Sergey
Re: [QUESTION] Sonar integration fails, how to understand the reason?
Posted by Sergey Nuyanzin <sn...@gmail.com>.
Thanks, Stamatis!
Will wait for updates from the INFRA side.
On Tue, Mar 14, 2023 at 10:23 PM Stamatis Zampetakis <za...@gmail.com>
wrote:
> I logged INFRA-24340 [1] cause I am suspecting that something changed
> from the INFRA side.
>
> For the record, despite the failure the Sonar report seems to be
> reaching SonarCloud [2] as I can see the latest commits there.
>
> Best,
> Stamatis
>
> [1] https://issues.apache.org/jira/browse/INFRA-24340
> [2] https://sonarcloud.io/summary/new_code?id=apache_calcite
>
> On Tue, Mar 14, 2023 at 10:08 PM Stamatis Zampetakis <za...@gmail.com>
> wrote:
> >
> > For sure it is not related to the particular commit you mentioned
> > since the same error appears for the run before yours [1].
> >
> > I tend to look in the raw Jenkins console log since it is usually
> > easier to spot why something fails.
> >
> > It may be that an infra change broke this step but I'm not sure yet.
> >
> > Best,
> > Stamatis
> >
> > [1]
> https://ci-builds.apache.org/job/Calcite/job/Calcite-sonar/job/main/54/console
> >
> > On Tue, Mar 14, 2023 at 10:03 PM Sergey Nuyanzin <sn...@gmail.com>
> wrote:
> > >
> > > seems the reason is in artifacts logs[1]
> > >
> > > java.lang.NoSuchMethodError: No such DSL method 'cleanWs' found among
> > > steps [ArtifactoryGradleBuild, MavenDescriptorStep, ...]
> > >
> > >
> > > However still not clear why and how to fix it
> > > [1]
> > >
> https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/artifacts
> > >
> > > --
> > > Best regards,
> > > Sergey
>
--
Best regards,
Sergey
Re: [QUESTION] Sonar integration fails, how to understand the reason?
Posted by Stamatis Zampetakis <za...@gmail.com>.
I logged INFRA-24340 [1] cause I am suspecting that something changed
from the INFRA side.
For the record, despite the failure the Sonar report seems to be
reaching SonarCloud [2] as I can see the latest commits there.
Best,
Stamatis
[1] https://issues.apache.org/jira/browse/INFRA-24340
[2] https://sonarcloud.io/summary/new_code?id=apache_calcite
On Tue, Mar 14, 2023 at 10:08 PM Stamatis Zampetakis <za...@gmail.com> wrote:
>
> For sure it is not related to the particular commit you mentioned
> since the same error appears for the run before yours [1].
>
> I tend to look in the raw Jenkins console log since it is usually
> easier to spot why something fails.
>
> It may be that an infra change broke this step but I'm not sure yet.
>
> Best,
> Stamatis
>
> [1] https://ci-builds.apache.org/job/Calcite/job/Calcite-sonar/job/main/54/console
>
> On Tue, Mar 14, 2023 at 10:03 PM Sergey Nuyanzin <sn...@gmail.com> wrote:
> >
> > seems the reason is in artifacts logs[1]
> >
> > java.lang.NoSuchMethodError: No such DSL method 'cleanWs' found among
> > steps [ArtifactoryGradleBuild, MavenDescriptorStep, ...]
> >
> >
> > However still not clear why and how to fix it
> > [1]
> > https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/artifacts
> >
> > --
> > Best regards,
> > Sergey
Re: [QUESTION] Sonar integration fails, how to understand the reason?
Posted by Stamatis Zampetakis <za...@gmail.com>.
For sure it is not related to the particular commit you mentioned
since the same error appears for the run before yours [1].
I tend to look in the raw Jenkins console log since it is usually
easier to spot why something fails.
It may be that an infra change broke this step but I'm not sure yet.
Best,
Stamatis
[1] https://ci-builds.apache.org/job/Calcite/job/Calcite-sonar/job/main/54/console
On Tue, Mar 14, 2023 at 10:03 PM Sergey Nuyanzin <sn...@gmail.com> wrote:
>
> seems the reason is in artifacts logs[1]
>
> java.lang.NoSuchMethodError: No such DSL method 'cleanWs' found among
> steps [ArtifactoryGradleBuild, MavenDescriptorStep, ...]
>
>
> However still not clear why and how to fix it
> [1]
> https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/artifacts
>
> --
> Best regards,
> Sergey
Re: [QUESTION] Sonar integration fails, how to understand the reason?
Posted by Sergey Nuyanzin <sn...@gmail.com>.
seems the reason is in artifacts logs[1]
java.lang.NoSuchMethodError: No such DSL method 'cleanWs' found among
steps [ArtifactoryGradleBuild, MavenDescriptorStep, ...]
However still not clear why and how to fix it
[1]
https://ci-builds.apache.org/blue/organizations/jenkins/Calcite%2FCalcite-sonar/detail/main/55/artifacts
--
Best regards,
Sergey