jenkins-job-builder fails to test when hipchat plugin is used

Bug #1366063 reported by Yolanda Robla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Committed
Undecided
Yolanda Robla

Bug Description

When testing syntax using jenkins-job-builder, if there is some job using hipchat plugin, following error is raised:

 logger.fatal("The configuration file needs a hipchat section" +
" containing authtoken:\n{0}".format(e))

This is due when testing on an instance that doesn't have an ini file defined, or the ini file doesn't have hipchat section. As we are just testing, test should have to ignore it and perform the right test, supposing section will be enabled. If not, it needs to specifically pass a dummy config file with the section to jenkins-job-builder call, this makes testing more complex.

Changed in openstack-ci:
assignee: nobody → Yolanda Robla (yolanda.robla)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to jenkins-job-builder (master)

Reviewed: https://review.openstack.org/119307
Committed: https://git.openstack.org/cgit/openstack-infra/jenkins-job-builder/commit/?id=0b6b095dc02c7d26749e0f5f02eb4590acdde269
Submitter: Jenkins
Branch: master

commit 0b6b095dc02c7d26749e0f5f02eb4590acdde269
Author: Yolanda Robla <email address hidden>
Date: Fri Sep 5 09:37:17 2014 +0200

    Enable hipchat section into sample file

    Current sample file lacks section about hipchat. Add section
    with dummy token to show hipchat usage.

    Added that into default config file for cmd.py, that is the
    one used for testing. This will allow to properly test
    jobs with hipchat module enabled.

    Closes-Bug: #1366063

    Change-Id: If511486a69113a4b4300cdb3602154ef261bc18a

Changed in openstack-ci:
status: In Progress → Fix Committed
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.