Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939757 - dev-python/pytest-salt-factories-1.0.1 fails tests: AttributeError: bogus
Summary: dev-python/pytest-salt-factories-1.0.1 fails tests: AttributeError: bogus
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-09-16 20:36 UTC by matoro
Modified: 2024-09-16 20:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,118.15 KB, application/gzip)
2024-09-16 20:36 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-09-16 20:36:30 UTC
Created attachment 903167 [details]
build.log and emerge --info

This is for x86 but I don't see anything x86-specific on it.

ERROR test_has_required_custom_salt_module.py::test_custom_module - AttributeError: bogus
ERROR test_has_required_custom_salt_state.py::test_custom_module - AttributeError: bogus
ERROR tests/unit/utils/saltext/test_log_handlers.py::test_zmqhandler_immutable_formatter_attribute
FAILED tests/functional/markers/test_requires_salt_modules.py::test_has_required_custom_salt_module - KeyError: 'passed'
FAILED tests/functional/markers/test_requires_salt_states.py::test_has_required_custom_salt_state - KeyError: 'passed'
FAILED tests/integration/factories/daemons/master/test_master.py::test_state_tree - assert 1 == 0
 +  where 1 = ProcessResult(returncode=1, stdout='{\n"local": [\n"No matching sls found for \'foo\' in env \'base\'"\n]\n}\n', stderr='/usr/lib/python3.12/site-packages/salt/grains/core.py:2905: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).\n  start_time = datetime.datetime.utcnow()\n/usr/lib/python3.12/site-packages/salt/utils/event.py:768: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).\n  data["_stamp"] = datetime.datetime.utcnow().isoformat()\n/usr/lib/python3.12/site-packages/salt/utils/jid.py:19: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).\n  return datetime.datetime.utcnow()\n', cmdline=['/var/tmp/portage/dev-python/pytest-salt-factories-1.0.1/work/pytest-salt-factories-1.0.1-python3_12/install/usr/bin/python3.12', '/tmp/salt-1rJ/scripts/cli_salt_call.py', '--config-dir=/tmp/salt-1rJ/minion-1-T5KW6K/conf', '--out=json', '--out-indent=0', '--log-level=critical', 'state.sls', 'foo'], data_key=None, data=["No matching sls found for 'foo' in env 'base'"]).returncode
FAILED tests/integration/factories/daemons/minion/test_minion.py::test_state_tree - assert 1 == 0
 +  where 1 = ProcessResult(returncode=1, stdout='{\n"local": [\n"No matching sls found for \'foo\' in env \'base\'"\n]\n}\n', stderr='/usr/lib/python3.12/site-packages/salt/grains/core.py:2905: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).\n  start_time = datetime.datetime.utcnow()\n/usr/lib/python3.12/site-packages/salt/utils/jid.py:19: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).\n  return datetime.datetime.utcnow()\n', cmdline=['/var/tmp/portage/dev-python/pytest-salt-factories-1.0.1/work/pytest-salt-factories-1.0.1-python3_12/install/usr/bin/python3.12', '/tmp/salt-1rJ/scripts/cli_salt_call.py', '--config-dir=/tmp/salt-1rJ/minion-7Ij89J/conf', '--out=json', '--out-indent=0', '--log-level=critical', '--local', 'state.sls', 'foo'], data_key=None, data=["No matching sls found for 'foo' in env 'base'"]).returncode