[RELENG-122] CLM view is missing CLM column Created: 21/May/18  Updated: 22/Jun/18  Resolved: 22/Jun/18

Status: Closed
Project: releng
Component/s: Jenkins Job Builder
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Low
Reporter: Thanh Ha (zxiiro) Assignee: Anil Belur
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Priority: High

 Description   

It is crucial that the CLM view displays the CLM column so that we can at a glance review the CLM status reports for all projects. This is used by Phil and the Project Manager to review release readiness.

I think patch https://git.opendaylight.org/gerrit/67374 caused a regression and removed the column.



 Comments   
Comment by Anil Belur [ 21/May/18 ]

agrimberg submitted a change which resolved the issue:

https://git.opendaylight.org/gerrit/#/c/72131/

Comment by Anil Belur [ 21/May/18 ]

Lowered the priority of the bug.

Comment by Thanh Ha (zxiiro) [ 22/May/18 ]

I don't see the column in the clm view:

https://jenkins.opendaylight.org/releng/view/CLM/

Comment by Anil Belur [ 22/May/18 ]

Unfortunately, column `policy-violations` is not supported in JJB. As a workaround, I have created a new view CLM-jobs so that merge jobs don't overwrite this view.

https://jenkins.opendaylight.org/releng/view/CLM-jobs

Comment by Anil Belur [ 22/May/18 ]

After `policy-violation` column was added manually on the view, this is not reflected on Jenkins config.
I am not sure if this is dependent on some plugin.

    <listView>
      <owner class="hudson" reference="../../.."/>
      <name>CLM-jobs</name>
      <description>List of CLM jobs&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
      <filterExecutors>false</filterExecutors>
      <filterQueue>false</filterQueue>
      <properties class="hudson.model.View$PropertyList"/>
      <jobNames>
        <comparator class="hudson.util.CaseInsensitiveComparator"/>
      </jobNames>
      <jobFilters/>
      <columns>
        <hudson.views.StatusColumn/>
        <hudson.views.WeatherColumn/>
        <hudson.views.JobColumn/>
        <hudson.views.LastSuccessColumn/>
        <hudson.views.LastFailureColumn/>
        <hudson.views.LastDurationColumn/>
        <hudson.views.BuildButtonColumn/>
        <com.sonatype.insight.ci.hudson.QualityColumn plugin="sonatype-clm-ci@2.14.4"/>
      </columns>
      <includeRegex>.*-clm-.*</includeRegex>
      <recurse>false</recurse>
    </listView>

Comment by Thanh Ha (zxiiro) [ 22/May/18 ]

The line <com.sonatype.insight.ci.hudson.QualityColumn plugin="sonatype-clm-ci@2.14.4"/> is the column. It needs to be added to JJB.

Comment by Anil Belur [ 22/May/18 ]

yeah, I figured that out a bit later. thanks.

Comment by Anil Belur [ 22/May/18 ]
Comment by Anil Belur [ 12/Jun/18 ]

Once we update JJB to the next release 2.0.10, this issue should get fixed with the above change.

Comment by Thanh Ha (zxiiro) [ 12/Jun/18 ]

Isn't this available in 2.0.9?

I don't see any patches in master since 2.0.9 that relates to CLM views but I see 2.0.9 includes the patch I61a08cc4586119466b04f86497c330873e5d582d.

Comment by Anil Belur [ 13/Jun/18 ]

Yes 2.0.9 should include the fix and not 2.0.10.

On releng/builder side the change is already submitted/merged, but its a bit strange that JJB 2.0.7 decided to ignore it and not cough up an error.

https://git.opendaylight.org/gerrit/#/c/72131/

Comment by Anil Belur [ 22/Jun/18 ]

This is fixed we are now using JJB 2.0.10.

https://jenkins.opendaylight.org/releng/view/CLM/

Generated at Wed Feb 07 20:37:33 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.