gate-trove-functional-dsvm-mysql does not work on stable/juno

Bug #1462392 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trove Integration
Triaged
High
Unassigned
devstack
Invalid
Undecided
Unassigned

Bug Description

http://logs.openstack.org/29/173129/2/check/gate-trove-functional-dsvm-mysql/2c72a27/logs/devstack-gate-post_test_hook.txt.gz#_2015-06-05_09_03_42_887

2015-06-05 09:03:42.819 | + export BRIDGE_IP=10.1.0.1
2015-06-05 09:03:42.821 | + BRIDGE_IP=10.1.0.1
2015-06-05 09:03:42.822 | + export DEST=/opt/stack/new
2015-06-05 09:03:42.824 | + DEST=/opt/stack/new
2015-06-05 09:03:42.825 | + export PATH_DEVSTACK_SRC=/opt/stack/new/devstack
2015-06-05 09:03:42.827 | + PATH_DEVSTACK_SRC=/opt/stack/new/devstack
2015-06-05 09:03:42.828 | + cd /opt/stack/new/trove-integration/scripts
2015-06-05 09:03:42.830 | + ./redstack dsvm-gate-tests mysql
2015-06-05 09:03:42.887 | /opt/stack/new/devstack/localrc: line 48: enable_plugin: command not found

I see in the project-config repo that stable/icehouse is excluded for this job, but I'm wondering if stable/juno should be also.

Revision history for this message
Matt Riedemann (mriedem) wrote :

Looks like this change is related:

https://review.openstack.org/#/c/177324/

For bug 1448189.

Revision history for this message
Matt Riedemann (mriedem) wrote :

trove-integration looks uses the $USE_DEVSTACK_TROVE_PLUGIN var to tell it if enable_plugin should be used, and USE_DEVSTACK_TROVE_PLUGIN is set based on the path structure in devstack, that happens in the redstack file.

    TROVE_SETUP_CMD_FILE="$PATH_DEVSTACK_SRC/lib/trove"
    if [ -f "$TROVE_SETUP_CMD_FILE" ]; then
        USE_DEVSTACK_TROVE_PLUGIN=false
    else
        TROVE_SETUP_CMD_FILE="$DEST/trove/devstack/plugin.sh"
        USE_DEVSTACK_TROVE_PLUGIN=true
    fi

PATH_DEVSTACK_SRC is set in the job config in project-config repo for trove:

          function post_test_hook {{
              export BRIDGE_IP=10.1.0.1
              export DEST=$BASE/new
              export PATH_DEVSTACK_SRC=$DEST/devstack
              cd /opt/stack/new/trove-integration/scripts
              ./redstack dsvm-gate-tests {datastore}
          }}
          export -f post_test_hook

The /opt/stack/new/devstack/lib/trove path does exist but there is a problem:

http://logs.openstack.org/29/173129/2/check/gate-trove-functional-dsvm-mysql/2c72a27/logs/devstacklog.txt.gz#_2015-06-05_09_03_26_474

2015-06-05 09:03:26.474 | /opt/stack/new/devstack/lib/trove: line 204: [: missing `]'

The path still exists though so I'm not sure why trove-integration isn't finding that and setting USE_DEVSTACK_TROVE_PLUGIN properly.

no longer affects: trove
Revision history for this message
Matt Riedemann (mriedem) wrote :
Changed in trove-integration:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
status: New → Invalid
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.