dashboard: tox -e docs "too many arguments"

Bug #1708147 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Neutron FWaaS dashboard
Fix Released
Undecided
YAMAMOTO Takashi
Neutron VPNaaS dashboard
Fix Released
Undecided
YAMAMOTO Takashi
tap-as-a-service
Fix Released
High
YAMAMOTO Takashi

Bug Description

when running "tox -e docs" in my environment, git clone fails with too "Too many arguments."

1. in tox_install.sh, IFS is set to ":". it affects the current execution environment and can have undesirable side effects later. it's safer to restore it.

2. otoh, the particular symptom above seems like a bug in a version of bash i happen to have.

  bash-3.2$ IFS=:
  bash-3.2$ echo a:b
  a:b
  bash-3.2$ echo a:b$x
  a b
  bash-3.2$

Changed in tap-as-a-service:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
summary: - tox -e docs "too many arguments"
+ dashboard: tox -e docs "too many arguments"
tags: added: midokura-jira-tracked
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in neutron-fwaas-dashboard:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in neutron-vpnaas-dashboard:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
description: updated
Revision history for this message
Antonio Ojea (aojea) wrote :

Mac OSX uses bash 3.2 by default, that may be the reason why is not happening more often this issue, only Mac users are affected.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-fwaas-dashboard (master)

Reviewed: https://review.openstack.org/489977
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas-dashboard/commit/?id=d1e5dd423ce781eaed371b274e21d1b4b5fef558
Submitter: Jenkins
Branch: master

commit d1e5dd423ce781eaed371b274e21d1b4b5fef558
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Aug 2 20:18:58 2017 +0900

    tox_install: Don't leave IFS set

    When running "tox -e docs" in my environment, git clone fails with
    "Too many arguments." It seems ":" in "https://" is affected by IFS.

    1. In tox_install.sh, IFS is set to ":". It affects the current
      execution environment and can have undesirable side effects later.
      It's safer to restore it. (This commit fixes this.)

    2. Otoh, the particular symptom above seems like a bug in a version
      of bash I happen to have.

      bash-3.2$ bash --version
      GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
      Copyright (C) 2007 Free Software Foundation, Inc.
      bash-3.2$ IFS=:
      bash-3.2$ echo a:b
      a:b
      bash-3.2$ echo a:b$x
      a b
      bash-3.2$

    Closes-Bug: #1708147
    Change-Id: I897367bf873c02bbf16162c9b6e2fb5b63ad3e3a

Changed in neutron-fwaas-dashboard:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-vpnaas-dashboard (master)

Reviewed: https://review.openstack.org/489978
Committed: https://git.openstack.org/cgit/openstack/neutron-vpnaas-dashboard/commit/?id=4f780b1c5f0c78fdd0b6300849b1341d4236da7b
Submitter: Jenkins
Branch: master

commit 4f780b1c5f0c78fdd0b6300849b1341d4236da7b
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Aug 2 20:20:30 2017 +0900

    tox_install: Don't leave IFS set

    When running "tox -e docs" in my environment, git clone fails with
    "Too many arguments." It seems ":" in "https://" is affected by IFS.

    1. In tox_install.sh, IFS is set to ":". It affects the current
      execution environment and can have undesirable side effects later.
      It's safer to restore it. (This commit fixes this.)

    2. Otoh, the particular symptom above seems like a bug in a version
      of bash I happen to have.

      bash-3.2$ bash --version
      GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
      Copyright (C) 2007 Free Software Foundation, Inc.
      bash-3.2$ IFS=:
      bash-3.2$ echo a:b
      a:b
      bash-3.2$ echo a:b$x
      a b
      bash-3.2$

    Closes-Bug: #1708147
    Change-Id: Icf515dc2ee7e2da2a6b0efa6c6e8cbb45c78da46

Changed in neutron-vpnaas-dashboard:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-fwaas-dashboard 1.0.0

This issue was fixed in the openstack/neutron-fwaas-dashboard 1.0.0 release.

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in tap-as-a-service:
importance: Undecided → High
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.