You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Executing "python tests/minionswarm.py" fails. Several test support files have moved in 3006.x and references to them in import and other statements are incorrect. Furthermore, the values in VERS are stale and out of date.
Setup
In the salt source directory:
cd tests
Please be as specific as possible and give set-up details.
[ X] on-prem machine
VM (Virtualbox, KVM, etc. please specify)
VM running on a cloud service, please be explicit and add details
container (Kubernetes, Docker, containerd, etc. please specify)
or a combination, please be explicit
jails if it is FreeBSD
classic packaging
[ X] onedir packaging
used bootstrap to install
Steps to Reproduce the behavior
In the salt source directory:
pyenv activate "virtualenv"
cd tests
python minionswarm.py --help
Options:
-h, --help show this help message and exit
-m MINIONS, --minions=MINIONS
The number of minions to make
-M Run a local master and tell the minions to connect to
it
--master=MASTER The location of the salt master that this swarm will
serve
-n NAME, --name=NAME Give the minions an alternative id prefix, this is
used when minions from many systems are being
aggregated onto a single master
--rand-os Each Minion claims a different os grain
--rand-ver Each Minion claims a different version grain
--rand-machine-id Each Minion claims a different machine id grain
--rand-uuid Each Minion claims a different UUID grain
-k KEEP, --keep-modules=KEEP
A comma delimited list of modules to enable
-f, --foreground Run the minions with debug output of the swarm going
to the terminal
--temp-dir=TEMP_DIR Place temporary files/directories here
--no-clean Don't cleanup temporary files/directories
--root-dir=ROOT_DIR Override the minion root_dir config
--transport=TRANSPORT
Declare which transport to use, default is zeromq
--start-delay=START_DELAY
Seconds to wait between minion starts
-c CONFIG_DIR, --config-dir=CONFIG_DIR
Pass in a configuration directory containing base
configuration.
-u USER, --user=USER
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
Salt Version:
Salt: 3007.0Python Version:
Python: 3.10.15 (main, Oct 14 2024, 13:34:24) [GCC 11.4.0]Dependency Versions:
cffi: 1.17.1cherrypy: Not Installedcryptography: 43.0.3dateutil: 2.9.0.post0docker-py: Not Installedgitdb: Not Installedgitpython: Not InstalledJinja2: 3.1.4libgit2: Not Installedlooseversion: 1.3.0M2Crypto: Not InstalledMako: Not Installedmsgpack: 1.1.0msgpack-pure: Not Installedmysql-python: Not Installedpackaging: 24.1pycparser: 2.22pycrypto: Not Installedpycryptodome: 3.21.0pygit2: Not Installedpython-gnupg: Not InstalledPyYAML: 6.0.2PyZMQ: 26.2.0relenv: Not Installedsmmap: Not Installedtimelib: Not InstalledTornado: 4.5.3ZMQ: 4.3.5System Versions:
dist: linuxmint 21.3 virginialocale: utf-8machine: x86_64release: 6.8.0-50-genericsystem: Linuxversion: Linux Mint 21.3 virginia
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I have moved the branch I'm working on to 3006.x, per instructions. Do, I need to change anything in the bug report (e.g., the versions report information) to reflect that?
Never-mind. I'm still getting used to git and salt. salt --versions-report gives:
Salt Version:
Salt: 3007.1+445.g9233e1cc3b
Whereas, git remote show origin gives:
Local branches configured for 'git pull':
bugfix-67214 merges with remote 3006.x
master merges with remote master
show merges with remote master
So, it appears versions-report doesn't show the upstream origin for the branch.
Description
Executing "python tests/minionswarm.py" fails. Several test support files have moved in 3006.x and references to them in import and other statements are incorrect. Furthermore, the values in VERS are stale and out of date.
Setup
In the salt source directory:
cd tests
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
In the salt source directory:
pyenv activate "virtualenv"
cd tests
python minionswarm.py --help
Expected behavior
Help menu should appear:
python minionswarm.py --help
Usage: minionswarm.py [options]
Options:
-h, --help show this help message and exit
-m MINIONS, --minions=MINIONS
The number of minions to make
-M Run a local master and tell the minions to connect to
it
--master=MASTER The location of the salt master that this swarm will
serve
-n NAME, --name=NAME Give the minions an alternative id prefix, this is
used when minions from many systems are being
aggregated onto a single master
--rand-os Each Minion claims a different os grain
--rand-ver Each Minion claims a different version grain
--rand-machine-id Each Minion claims a different machine id grain
--rand-uuid Each Minion claims a different UUID grain
-k KEEP, --keep-modules=KEEP
A comma delimited list of modules to enable
-f, --foreground Run the minions with debug output of the swarm going
to the terminal
--temp-dir=TEMP_DIR Place temporary files/directories here
--no-clean Don't cleanup temporary files/directories
--root-dir=ROOT_DIR Override the minion root_dir config
--transport=TRANSPORT
Declare which transport to use, default is zeromq
--start-delay=START_DELAY
Seconds to wait between minion starts
-c CONFIG_DIR, --config-dir=CONFIG_DIR
Pass in a configuration directory containing base
configuration.
-u USER, --user=USER
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: