Page MenuHomePhabricator

[wmcs-cookbooks] openstack.network.tests is not working
Closed, ResolvedPublic

Description

The cookbook is failing with

Exception raised while initializing the Cookbook wmcs.openstack.network.tests:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/spicerack/_menu.py", line 197, in run
    runner = self.instance.get_runner(args)
  File "/srv/deployment/wmcs-cookbooks/cookbooks/wmcs/openstack/network/tests.py", line 51, in get_runner
    return with_common_opts(self.spicerack, args, NetworkTestRunner)(
  File "/srv/deployment/wmcs-cookbooks/wmcs_libs/common.py", line 188, in with_common_opts
    no_dologmsg = bool(spicerack.dry_run or args.no_dologmsg)
AttributeError: 'Namespace' object has no attribute 'no_dologmsg'

Event Timeline

fnegri changed the task status from Open to In Progress.Aug 30 2023, 5:42 PM
fnegri created this task.

Change 953704 had a related patch set uploaded (by FNegri; author: FNegri):

[cloud/wmcs-cookbooks@main] Fix add_common_opts where it was missing

https://gerrit.wikimedia.org/r/953704

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-01T10:25:02Z] <wm-bot2> fran@wmf3169 START - Cookbook wmcs.openstack.network.tests (T345282)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-01T10:28:33Z] <wm-bot2> fran@wmf3169 END (FAIL) - Cookbook wmcs.openstack.network.tests (exit_code=1) (T345282)

Change 954260 had a related patch set uploaded (by FNegri; author: FNegri):

[cloud/wmcs-cookbooks@main] wmcs.openstack.network.tests: do not log to SAL

https://gerrit.wikimedia.org/r/954260

Change 953704 merged by jenkins-bot:

[cloud/wmcs-cookbooks@main] Fix add_common_opts where it was missing

https://gerrit.wikimedia.org/r/953704

Change 954260 merged by jenkins-bot:

[cloud/wmcs-cookbooks@main] do not log to SAL for read-only cookbooks

https://gerrit.wikimedia.org/r/954260