Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: setUpClass (zaza.openstack.charm_tests.swift.tests.SwiftImageCreateTest) #375

Open
ajkavanagh opened this issue Jul 29, 2020 · 0 comments

Comments

@ajkavanagh
Copy link
Contributor

During https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-swift-storage/743387/1/6550/index.html a new error has cropped up.

It may be something to do with the recent keystone bug fixes:

2020-07-29 11:46:37 [INFO] ======================================================================
2020-07-29 11:46:37 [INFO] ERROR: setUpClass (zaza.openstack.charm_tests.swift.tests.SwiftImageCreateTest)
2020-07-29 11:46:37 [INFO] ----------------------------------------------------------------------
2020-07-29 11:46:37 [INFO] Traceback (most recent call last):
2020-07-29 11:46:37 [INFO]   File "/tmp/tmp.2gFIenndSt/func/lib/python3.5/site-packages/zaza/openstack/charm_tests/swift/tests.py", line 42, in setUpClass
2020-07-29 11:46:37 [INFO]     'swift-proxy')
2020-07-29 11:46:37 [INFO]   File "/tmp/tmp.2gFIenndSt/func/lib/python3.5/site-packages/zaza/openstack/utilities/openstack.py", line 2608, in get_keystone_session_from_relation
2020-07-29 11:46:37 [INFO]     creds['OS_USERNAME'] = relation['service_username']
2020-07-29 11:46:37 [INFO] KeyError: 'service_username'
2020-07-29 11:46:37 [INFO] ----------------------------------------------------------------------
2020-07-29 11:46:37 [INFO] Ran 0 tests in 14.246s
2020-07-29 11:46:37 [INFO] FAILED
2020-07-29 11:46:37 [INFO]  (errors=1)
Traceback (most recent call last):
  File "/tmp/tmp.2gFIenndSt/func/bin/functest-run-suite", line 8, in <module>
    sys.exit(main())
  File "/tmp/tmp.2gFIenndSt/func/lib/python3.5/site-packages/zaza/charm_lifecycle/func_test_runner.py", line 204, in main
    force=args.force)
  File "/tmp/tmp.2gFIenndSt/func/lib/python3.5/site-packages/zaza/charm_lifecycle/func_test_runner.py", line 141, in func_test_runner
    force=force)
  File "/tmp/tmp.2gFIenndSt/func/lib/python3.5/site-packages/zaza/charm_lifecycle/func_test_runner.py", line 88, in run_env_deployment
    test_steps.get(deployment.model_alias, []))
  File "/tmp/tmp.2gFIenndSt/func/lib/python3.5/site-packages/zaza/charm_lifecycle/test.py", line 117, in test
    run_test_list(tests)
  File "/tmp/tmp.2gFIenndSt/func/lib/python3.5/site-packages/zaza/charm_lifecycle/test.py", line 111, in run_test_list
    get_test_runners()[runner](testcase, _testcase)
  File "/tmp/tmp.2gFIenndSt/func/lib/python3.5/site-packages/zaza/charm_lifecycle/test.py", line 73, in run_unittest
    assert test_result.wasSuccessful(), "Test run failed"
AssertionError: Test run failed
ERROR: InvocationError: '/tmp/tmp.2gFIenndSt/func/bin/functest-run-suite --keep-model'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant