Missing plugins configuration

Bug #1097762 reported by Javier Collado
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
Fix Released
Low
Unassigned
Ubuntu Test Runlists
Invalid
Low
Javier Collado

Bug Description

When jobs are generated using setup-jobs.py, I see there are some sections in
the current jobs that isn't available in the same jobs when generated using the
script.

In particular, xml isn't generated for the BuildPublisher plugin:
> <hudson.plugins.build__publisher.BuildPublisher>
> <publishUnstableBuilds>true</publishUnstableBuilds>
> <publishFailedBuilds>true</publishFailedBuilds>
> <postActions class="vector"/>
> </hudson.plugins.build__publisher.BuildPublisher>

and for the DescriptionSetterPublisher plugin:
> <hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
> <regexp>Media Info:.* \(([\d.]+)\)</regexp>
> <regexpForFailed>Media Info:.* \(([\d.]+)\)</regexpForFailed>
> <description>\1</description>
> <descriptionForFailed>\1</descriptionForFailed>
> <setForMatrix>false</setForMatrix>
> </hudson.plugins.descriptionsetter.DescriptionSetterPublisher>

In addition to this, there's a buildWrappers section that is empty when the job
is generated using the script, but it seems to be like this in the current jobs:
> <buildWrappers>
> <EnvInjectBuildWrapper>
> <info>
> <loadFilesFromMaster>false</loadFilesFromMaster>
> </info>
> </EnvInjectBuildWrapper>
> </buildWrappers>

It should be possible to have all this in the jobs when they're generated using
the script, so that manual work isn't needed when updating the jobs using the
script.

Regarding publishing results, a boolean command line option could be added to
decide if results should be published or not (interesting when the job is new
and needs some testing first).

Changed in ubuntu-test-runlists:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Max Brustkern (nuclearbob) wrote :

This affects the job setup script in the utah-bootspeed branch as well.

Changed in utah:
status: New → Triaged
importance: Undecided → Low
description: updated
description: updated
Revision history for this message
Javier Collado (javier.collado) wrote :

The build publisher part is in place, but it seems that the plugin isn't
available in the local instance I'm using for testing and that part is removed
when the configuration is updated.

Revision history for this message
Javier Collado (javier.collado) wrote :

In fact this happens for the other parts in the bug description as well, so
maybe this bug is Invalid. I'm going to use the staging jenkins instance that
has the same configuration to make sure.

Revision history for this message
Javier Collado (javier.collado) wrote :

Finally it seems it was just my mistake when verifying the generated xml in a
different environment. I guess this applies to the bootspeed script, but I'm
just marking as Invalid the part of this bug related to smoke testing.

Changed in ubuntu-test-runlists:
status: Triaged → Invalid
assignee: nobody → Javier Collado (javier.collado)
Revision history for this message
Max Brustkern (nuclearbob) wrote :

Is this still an issue, or have we fixed it already?

Revision history for this message
Javier Collado (javier.collado) wrote :

Yes, the real problem was that the configuration for some plugin is dropped if
the target jenkins instance doesn't have that plugin installed. That confused
me and I though it was a problem in the templates, but it wasn't.

With regard to the part that is still open about bootspeed, I haven't checked
the code, but probably isn't an issue.

Revision history for this message
Max Brustkern (nuclearbob) wrote :

We've got publishing in the templates for bootspeed at this point, so I think one should be in good shape.

Changed in utah:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.