bashate failure for .xml files

Bug #1554019 reported by Ramana Raja
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack-plugin-hdfs
Fix Released
Undecided
Ramana Raja

Bug Description

.xml files are incorrectly checked for syntax correctness by bashate,

E] E040: Syntax error: syntax error near unexpected token `newline': ''
| - /home/jenkins/workspace/gate-devstack-plugin-hdfs-bashate/devstack/lib/template/hdfs-site.xml : L1

Not surpisingly, bashate voting job fails.

Modifiy tox.ini to not allow .xml files to be tested by bashate.

Ramana Raja (rraja)
Changed in devstack-plugin-hdfs:
assignee: nobody → Ramana Raja (rraja)
status: New → In Progress
Ramana Raja (rraja)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack-plugin-hdfs (master)

Reviewed: https://review.openstack.org/261028
Committed: https://git.openstack.org/cgit/openstack/devstack-plugin-hdfs/commit/?id=c7e09efaa11f89d6291ab339cc6de6f4e980932a
Submitter: Jenkins
Branch: master

commit c7e09efaa11f89d6291ab339cc6de6f4e980932a
Author: Ramana Raja <email address hidden>
Date: Wed Dec 23 20:41:37 2015 +0530

    Fix bashate voting job

    The bashate job, a voting job, has been failing for a while due to
    two bugs. Fix the two bugs that require modifications to tox's
    configuration file, tox.ini.

    Bug #1527562
    Remove inline comments after line escape that isn't understood
    by tox's ini parser.
    This is due to the backward incompatible fix for,
    https://bitbucket.org/hpk42/tox/issues/181

    Bug #1554019
    Ignore .xml files that do not need to comply with bashate.

    Closes-Bug: #1527562
    Closes-Bug: #1554019

    Change-Id: Id11275d5d15e30d2558a475a4877e6d71bdc6726

Changed in devstack-plugin-hdfs:
status: In Progress → 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.