Describe the bug: A clear and concise description of what the bug is.
A lot of tests fail with invalid comparisions.
tests/pa/test_provision.py:26: in <module>
from azurelinuxagent.common.protocol.util import OVF_FILE_NAME
azurelinuxagent/common/protocol/util.py:36: in <module>
from azurelinuxagent.common.protocol.metadata_server_migration_util import cleanup_metadata_server_artifacts, \
azurelinuxagent/common/protocol/metadata_server_migration_util.py:25: in <module>
from azurelinuxagent.common.event import add_event, WALAEventOperation
azurelinuxagent/common/event.py:620: in <module>
__event_logger__ = EventLogger()
azurelinuxagent/common/event.py:372: in __init__
osutil = get_osutil()
azurelinuxagent/common/osutil/factory.py:54: in get_osutil
return _get_osutil(distro_name, distro_code_name, distro_version, distro_full_name)
azurelinuxagent/common/osutil/factory.py:101: in _get_osutil
if "sid" in distro_version or Version(distro_version) > Version("7"):
/usr/lib/python3/dist-packages/setuptools/_distutils/version.py:84: in __gt__
c = self._cmp(other)
/usr/lib/python3/dist-packages/setuptools/_distutils/version.py:343: in _cmp
if self.version < other.version:
E TypeError: '<' not supported between instances of 'str' and 'int'
Describe the bug: A clear and concise description of what the bug is.
A lot of tests fail with invalid comparisions.