#1763 test_profiles failed after config reading refactoring
Closed: Fixed 4 years ago by mikem. Opened 4 years ago by julian8628.

FAIL: Test that profiles thread safe
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/koji-pr-unittest-pipeline@2/tests/test_lib/test_profiles.py", line 31, in test_profile_threading
    assert False
AssertionError: 
-------------------- >> begin captured stdout << ---------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/koji-pr-unittest-pipeline@2/tests/test_lib/test_profiles.py", line 37, in stress
    koji.get_profile_module('koji')
  File "/var/lib/jenkins/workspace/koji-pr-unittest-pipeline@2/koji/__init__.py", line 1815, in get_profile_module
    result = read_config(profile_name)
  File "/var/lib/jenkins/workspace/koji-pr-unittest-pipeline@2/koji/__init__.py", line 1780, in read_config
    raise ConfigurationError("no configuration for profile name: %s" % profile_name)
ConfigurationError: no configuration for profile name: koji

It is caused by that now configs will never be empty even any path there doesn't exist.
It would not be a problem after rpm install, but it would be better to check config than configs


Metadata Update from @julian8628:
- Custom field Size adjusted to None

4 years ago

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.20
- Issue tagged with: bug

4 years ago

Metadata Update from @julian8628:
- Issue tagged with: no_qe

4 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1767 Merged 4 years ago