← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1902775] Re: neutron-rally-task fails on stable/rocky: SyntaxError: invalid syntax

 

https://review.opendev.org/761391 is merged, marking this fixed

** Changed in: neutron
     Assignee: (unassigned) => Bernard Cafarelli (bcafarel)

** Changed in: neutron
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1902775

Title:
  neutron-rally-task fails on stable/rocky: SyntaxError: invalid syntax

Status in neutron:
  Fix Released

Bug description:
  Now that linuxbridge job is fixed on that branch, it is rally job turn. Some recent failures:
  https://zuul.opendev.org/t/openstack/build/9d0eb20faf0d47128e123abda6c2f894
  https://zuul.opendev.org/t/openstack/build/f04ac29742cc4750ada366ebba1f2d8b

  Same error:
  2020-11-03 16:47:03.768342 | controller | ++ /opt/stack/rally-openstack/devstack/plugin.sh:source:17 :   echo_summary 'Initializing Rally-OpenStack'
  2020-11-03 16:47:03.770975 | controller | ++ ./stack.sh:echo_summary:440              :   [[ -t 3 ]]
  2020-11-03 16:47:03.773583 | controller | ++ ./stack.sh:echo_summary:446              :   echo -e Initializing Rally-OpenStack
  2020-11-03 16:47:03.776354 | controller | ++ /opt/stack/rally-openstack/devstack/plugin.sh:source:18 :   init_rally
  2020-11-03 16:47:03.779017 | controller | ++ /opt/stack/rally-openstack/devstack/lib/rally:init_rally:135 :   recreate_database rally utf8
  2020-11-03 16:47:03.781742 | controller | ++ lib/database:recreate_database:112       :   local db=rally
  2020-11-03 16:47:03.784508 | controller | ++ lib/database:recreate_database:113       :   recreate_database_mysql rally
  2020-11-03 16:47:03.786891 | controller | ++ lib/databases/mysql:recreate_database_mysql:55 :   local db=rally
  2020-11-03 16:47:03.789347 | controller | ++ lib/databases/mysql:recreate_database_mysql:56 :   mysql -uroot -psecretdatabase -h127.0.0.1 -e 'DROP DATABASE IF EXISTS rally;'
  2020-11-03 16:47:03.793603 | controller | mysql: [Warning] Using a password on the command line interface can be insecure.
  2020-11-03 16:47:03.827334 | controller | ++ lib/databases/mysql:recreate_database_mysql:57 :   mysql -uroot -psecretdatabase -h127.0.0.1 -e 'CREATE DATABASE rally CHARACTER SET utf8;'
  2020-11-03 16:47:03.830713 | controller | mysql: [Warning] Using a password on the command line interface can be insecure.
  2020-11-03 16:47:03.863165 | controller | ++ /opt/stack/rally-openstack/devstack/lib/rally:init_rally:137 :   rally --config-file /etc/rally/rally.conf db recreate
  2020-11-03 16:47:04.675544 | controller | Traceback (most recent call last):
  2020-11-03 16:47:04.675631 | controller |   File "/usr/local/bin/rally", line 7, in <module>
  2020-11-03 16:47:04.675662 | controller |     from rally.cli.main import main
  2020-11-03 16:47:04.675691 | controller |   File "/usr/local/lib/python2.7/dist-packages/rally/cli/main.py", line 20, in <module>
  2020-11-03 16:47:04.675719 | controller |     from rally.cli import cliutils
  2020-11-03 16:47:04.675746 | controller |   File "/usr/local/lib/python2.7/dist-packages/rally/cli/cliutils.py", line 28, in <module>
  2020-11-03 16:47:04.675774 | controller |     from rally import api
  2020-11-03 16:47:04.675801 | controller |   File "/usr/local/lib/python2.7/dist-packages/rally/api.py", line 29, in <module>
  2020-11-03 16:47:04.675829 | controller |     from rally.common import logging
  2020-11-03 16:47:04.675856 | controller |   File "/usr/local/lib/python2.7/dist-packages/rally/common/logging.py", line 337
  2020-11-03 16:47:04.675883 | controller |     f"Module `{target}` moved to `{new_module}` since Rally v{release}. "
  2020-11-03 16:47:04.675910 | controller |                                                                         ^
  2020-11-03 16:47:04.675949 | controller | SyntaxError: invalid syntax
  2020-11-03 16:47:04.709052 | controller | + /opt/stack/rally-openstack/devstack/lib/rally:init_rally:1 :   exit_trap
  2020-11-03 16:47:04.711587 | controller | + ./stack.sh:exit_trap:521                 :   local r=1

  Looks like we may need to pin some other component?

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1902775/+subscriptions


References