bashate failure for .xml files

Bug #1554019 reported by Ramana Raja on 2016-03-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack-plugin-hdfs
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) on 2016-03-07
Changed in devstack-plugin-hdfs:
assignee: nobody → Ramana Raja (rraja)
status: New → In Progress
Ramana Raja (rraja) on 2016-03-07
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  Edit
Everyone can see this information.

Other bug subscribers