saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Install Salt from the Salt package repositories here:
https://docs.saltproject.io/salt/install-guide/en/latest/
Apache License 2.0
14.18k stars 5.48k forks source link

[BUG] Windows tests fail with "Command line too long" #59667

Closed OrangeDog closed 3 years ago

OrangeDog commented 3 years ago

It looks like the test runner builds a lost of tests to run based on changed files in a PR, but this can exceed the max command line limit for cmd.exe.

It needs to construct/pass this list some other way to avoid limits.

https://github.com/saltstack/salt/pull/59034/checks?check_run_id=2003456215

[2021-03-01T11:51:42.651Z] + bundle exec kitchen verify py3-windows-2016
[2021-03-01T11:51:43.292Z] -----> Starting Kitchen (v2.2.5)
[2021-03-01T11:51:44.776Z] -----> Setting up <py3-windows-2016>...
[2021-03-01T11:51:44.776Z]        Finished setting up <py3-windows-2016> (0m0.00s).
[2021-03-01T11:51:44.776Z] -----> Verifying <py3-windows-2016>...
[2021-03-01T11:51:44.776Z]        [Nox] Verify on instance py3-windows-2016 with state={:username=>"administrator", :server_id=>"i-063efd3fa6a8fcec4", :hostname=>"10.74.117.123", :password=>"E(8-Pr*)wqK8*QI6O7&gvG!r%tSHOev)", :last_action=>"setup", :last_error=>nil}
[2021-03-01T11:51:46.300Z]        Running Command: cmd.exe /c --% "nox -f %TEMP%\kitchen/testing/noxfile.py -e pytest-zeromq-3(coverage=True) -- --output-columns=120 --sys-stats --sysinfo --junitxml=%TEMP%\kitchen/testing/artifacts/xml-unittests-output/test-results-20210301115144.445.xml -vv --run-destructive --run-slow --from-filenames=doc/_ext/saltautodoc.py,doc/_ext/saltdomain.py,doc/conf.py,noxfile.py,salt/__init__.py,salt/_compat.py,salt/auth/__init__.py,salt/auth/ldap.py,salt/auth/pki.py,salt/auth/sharedsecret.py,salt/beacons/__init__.py,salt/beacons/pkg.py,salt/beacons/swapusage.py,salt/cache/etcd_cache.py,salt/cache/mysql_cache.py,salt/cli/batch.py,salt/client/__init__.py,salt/client/mixins.py,salt/client/netapi.py,salt/client/ssh/client.py,salt/client/ssh/wrapper/config.py,salt/cloud/__init__.py,salt/cloud/clouds/__init__.py,salt/cloud/clouds/aliyun.py,salt/cloud/clouds/azurearm.py,salt/cloud/clouds/clc.py,salt/cloud/clouds/cloudstack.py,salt/cloud/clouds/digitalocean.py,salt/cloud/clouds/dimensiondata.py,salt/cloud/clouds/ec2.py,salt/cloud/clouds/gce.py,salt/cloud/clouds/gogrid.py,salt/cloud/clouds/joyent.py,salt/cloud/clouds/libvirt.py,salt/cloud/clouds/linode.py,salt/cloud/clouds/lxc.py,salt/cloud/clouds/msazure.py,salt/cloud/clouds/oneandone.py,salt/cloud/clouds/opennebula.py,salt/cloud/clouds/openstack.py,salt/cloud/clouds/packet.py,salt/cloud/clouds/parallels.py,salt/cloud/clouds/profitbricks.py,salt/cloud/clouds/proxmox.py,salt/cloud/clouds/pyrax.py,salt/cloud/clouds/qingcloud.py,salt/cloud/clouds/saltify.py,salt/cloud/clouds/scaleway.py,salt/cloud/clouds/softlayer.py,salt/cloud/clouds/softlayer_hw.py,salt/cloud/clouds/tencentcloud.py,salt/cloud/clouds/vagrant.py,salt/cloud/clouds/virtualbox.py,salt/cloud/clouds/vmware.py,salt/cloud/clouds/vultrpy.py,salt/cloud/clouds/xen.py,salt/cloud/libcloudfuncs.py,salt/config/__init__.py,salt/config/schemas/vcenter.py,salt/crypt.py,salt/defaults/events.py,salt/engines/logentries.py,salt/engines/logstash_engine.py,salt/engines/redis_sentinel.py,salt/engines/slack.py,salt/engines/stalekey.py,salt/executors/docker.py,salt/ext/ipaddress.py,salt/ext/saslprep.py,salt/ext/win_inet_pton.py,salt/fileclient.py,salt/fileserver/__init__.py,salt/grains/mdata.py,salt/grains/napalm.py,salt/grains/nxos.py,salt/grains/smartos.py,salt/loader.py,salt/log/setup.py,salt/master.py,salt/matchers/ipcidr_match.py,salt/metaproxy/proxy.py,salt/minion.py,salt/modules/acme.py,salt/modules/aix_group.py,salt/modules/aixpkg.py,salt/modules/alternatives.py,salt/modules/apf.py,salt/modules/apkpkg.py,salt/modules/aptpkg.py,salt/modules/archive.py,salt/modules/artifactory.py,salt/modules/aws_sqs.py,salt/modules/bamboohr.py,salt/modules/baredoc.py,salt/modules/bcache.py,salt/modules/beacons.py,salt/modules/bigip.py,salt/modules/boto3_elasticsearch.py,salt/modules/boto3_route53.py,salt/modules/boto3_sns.py,salt/modules/boto_asg.py,salt/modules/boto_cloudwatch.py,salt/modules/boto_cloudwatch_event.py,salt/modules/boto_datapipeline.py,salt/modules/boto_dynamodb.py,salt/modules/boto_ec2.py,salt/modules/boto_elasticache.py,salt/modules/boto_elb.py,salt/modules/boto_elbv2.py,salt/modules/boto_iam.py,salt/modules/boto_iot.py,salt/modules/boto_kinesis.py,salt/modules/boto_kms.py,salt/modules/boto_rds.py,salt/modules/boto_route53.py,salt/modules/boto_secgroup.py,salt/modules/boto_sns.py,salt/modules/bower.py,salt/modules/btrfs.py,salt/modules/cabal.py,salt/modules/cassandra_cql.py,salt/modules/celery.py,salt/modules/chocolatey.py,salt/modules/cisconso.py,salt/modules/cmdmod.py,salt/modules/config.py,salt/modules/cp.py,salt/modules/csf.py,salt/modules/debian_ip.py,salt/modules/disk.py,salt/modules/dockermod.py,salt/modules/dpkg_lowpkg.py,salt/modules/ebuildpkg.py,salt/modules/elasticsearch.py,salt/modules/environ.py,salt/modules/etcd_mod.py,salt/modules/file.py,salt/modules/freebsdpkg.py,salt/modules/gcp_addon.py,salt/modules/genesis.py,salt/modules/git.py,salt/modules/glassfish.py,salt/modules/glusterfs.py,salt/modules/grains.py,salt/modules/groupadd.py,salt/modules/heat.py,salt/modules/ilo.py,salt/modules/inspectlib/collector.py,salt/modules/inspectlib/kiwiproc.py,salt/modules/inspector.py,salt/modules/introspect.py,salt/modules/ipset.py,salt/modules/iwtools.py,salt/modules/jira_mod.py,salt/modules/junos.py,salt/modules/k8s.py,salt/modules/keystone.py,salt/modules/kubeadm.py,salt/modules/kubernetesmod.py,salt/modules/ldap3.py,salt/modules/linux_lvm.py,salt/modules/lvs.py,salt/modules/lxc.py,salt/modules/lxd.py,salt/modules/mac_brew_pkg.py,salt/modules/mac_group.py,salt/modules/mac_portspkg.py,salt/modules/mac_power.py,salt/modules/mac_system.py,salt/modules/macdefaults.py,salt/modules/mandrill.py,salt/modules/mine.py,salt/modules/minion.py,salt/modules/mod_random.py,salt/modules/mount.py,salt/modules/napalm_mod.py,salt/modules/napalm_probes.py,salt/modules/netaddress.py,salt/modules/netscaler.py,salt/modules/network.py,salt/modules/neutron.py,salt/modules/nexus.py,salt/modules/nftables.py,salt/modules/npm.py,salt/modules/nspawn.py,salt/modules/nxos_upgrade.py,salt/modules/openbsdpkg.py,salt/modules/openvswitch.py,salt/modules/opkg.py,salt/modules/pacmanpkg.py,salt/modules/pagerduty.py,salt/modules/pagerduty_util.py,salt/modules/pf.py,salt/modules/pip.py,salt/modules/pkg_resource.py,salt/modules/pkgin.py,salt/modules/pkgng.py,salt/modules/pkgutil.py,salt/modules/portage_config.py,salt/modules/postfix.py,salt/modules/postgres.py,salt/modules/purefb.py,salt/modules/pw_group.py,salt/modules/pyenv.py,salt/modules/redismod.py,salt/modules/rest_service.py,salt/modules/restartcheck.py,salt/modules/rh_ip.py,salt/modules/rpm_lowpkg.py,salt/modules/runit.py,salt/modules/s3.py,salt/modules/saltutil.py,salt/modules/slack_notify.py,salt/modules/snapper.py,salt/modules/solaris_shadow.py,salt/modules/solarisipspkg.py,salt/modules/solarispkg.py,salt/modules/splunk.py,salt/modules/splunk_search.py,salt/modules/ssh.py,salt/modules/ssh_service.py,salt/modules/status.py,salt/modules/sysfs.py,salt/modules/sysmod.py,salt/modules/system.py,salt/modules/systemd_service.py,salt/modules/telegram.py,salt/modules/telemetry.py,salt/modules/test.py,salt/modules/tls.py,salt/modules/vagrant.py,salt/modules/virt.py,salt/modules/vmctl.py,salt/modules/vsphere.py,salt/modules/win_file.py,salt/modules/win_lgpo.py,salt/modules/win_network.py,salt/modules/win_service.py,salt/modules/xbpspkg.py,salt/modules/yumpkg.py,salt/modules/zabbix.py,salt/modules/zenoss.py,salt/modules/zfs.py,salt/modules/zpool.py,salt/modules/zypperpkg.py,salt/netapi/rest_cherrypy/app.py,salt/output/highstate.py,salt/pillar/__init__.py,salt/pillar/ec2_pillar.py,salt/pillar/libvirt.py,salt/pillar/netbox.py,salt/pillar/pillar_ldap.py,salt/pillar/stack.py,salt/pillar/vmware_pillar.py,salt/proxy/cimc.py,salt/proxy/docker.py,salt/proxy/dummy.py,salt/proxy/nxos.py,salt/proxy/panos.py,salt/proxy/ssh_sample.py,salt/proxy/vcenter.py,salt/renderers/jinja.py,salt/returners/slack_returner.py,salt/returners/splunk.py,salt/roster/cache.py,salt/runner.py,salt/runners/asam.py,salt/runners/cache.py,salt/runners/ddns.py,salt/runners/digicertapi.py,salt/runners/manage.py,salt/runners/net.py,salt/runners/pillar.py,salt/runners/reactor.py,salt/runners/salt.py,salt/runners/saltutil.py,salt/runners/spacewalk.py,salt/runners/state.py,salt/sdb/confidant.py,salt/state.py,salt/states/acme.py,salt/states/archive.py,salt/states/boto3_elasticsearch.py,salt/states/boto_cfn.py,salt/states/boto_elbv2.py,salt/states/boto_iam.py,salt/states/cisconso.py,salt/states/docker_image.py,salt/states/docker_network.py,salt/states/elasticsearch_index.py,salt/states/elasticsearch_index_template.py,salt/states/esxcluster.py,salt/states/esxi.py,salt/states/event.py,salt/states/file.py,salt/states/git.py,salt/states/github.py,salt/states/glassfish.py,salt/states/grains.py,salt/states/heat.py,salt/states/kubernetes.py,salt/states/logadm.py,salt/states/lvm.py,salt/states/module.py,salt/states/netntp.py,salt/states/netsnmp.py,salt/states/netusers.py,salt/states/network.py,salt/states/nxos.py,salt/states/nxos_upgrade.py,salt/states/panos.py,salt/states/pkg.py,salt/states/pkgrepo.py,salt/states/postgres_cluster.py,salt/states/postgres_group.py,salt/states/postgres_initdb.py,salt/states/postgres_user.py,salt/states/probes.py,salt/states/redismod.py,salt/states/reg.py,salt/states/salt_proxy.py,salt/states/saltmod.py,salt/states/saltutil.py,salt/states/service.py,salt/states/splunk.py,salt/states/ssh_known_hosts.py,salt/states/telemetry_alert.py,salt/states/virt.py,salt/states/zabbix_host.py,salt/tops/ext_nodes.py,salt/transport/ipc.py,salt/transport/mixins/auth.py,salt/transport/tcp.py,salt/utils/aws.py,salt/utils/cache.py,salt/utils/crypt.py,salt/utils/dictupdate.py,salt/utils/http.py,salt/utils/kickstart.py,salt/utils/mattermost.py,salt/utils/parsers.py,salt/utils/pkg/rpm.py,salt/utils/pkg/win.py,salt/utils/preseed.py,salt/utils/pycrypto.py,salt/utils/pyobjects.py,salt/utils/s3.py,salt/utils/saltclass.py,salt/utils/schedule.py,salt/utils/state.py,salt/utils/stringutils.py,salt/utils/templates.py,salt/utils/thin.py,salt/utils/timed_subprocess.py,salt/utils/vault.py,salt/utils/vmware.py,salt/utils/win_dacl.py,salt/utils/win_functions.py,salt/utils/win_network.py,salt/utils/yast.py,salt/utils/zeromq.py,salt/wheel/__init__.py,salt/wheel/pillar_roots.py,scripts/suse/yum/plugins/yumnotify.py,tests/conftest.py,tests/consist.py,tests/integration/cloud/clouds/test_digitalocean.py,tests/integration/cloud/clouds/test_vmware.py,tests/integration/cloud/helpers/cloud_test_base.py,tests/integration/modules/test_cp.py,tests/integration/modules/test_linux_shadow.py,tests/integration/modules/test_mac_power.py,tests/integration/modules/test_mac_system.py,tests/integration/modules/test_mac_timezone.py,tests/integration/modules/test_service.py,tests/integration/modules/test_status.py,tests/integration/modules/test_system.py,tests/integration/modules/test_win_ntp.py,tests/integration/modules/test_win_task.py,tests/integration/netapi/rest_cherrypy/test_app.py,tests/integration/netapi/rest_tornado/test_app.py,tests/integration/netapi/test_client.py,tests/integration/output/test_output.py,tests/integration/runners/test_state.py,tests/integration/ssh/test_state.py,tests/integration/states/test_ansiblegate.py,tests/integration/states/test_cmd.py,tests/integration/states/test_docker_container.py,tests/integration/states/test_lxd.py,tests/integration/states/test_lxd_container.py,tests/integration/states/test_lxd_image.py,tests/integration/states/test_lxd_profile.py,tests/integration/states/test_renderers.py,tests/integration/utils/test_smb.py,tests/integration/utils/test_win_runas.py,tests/integration/wheel/test_pillar_roots.py,tests/jenkins.py,tests/pytests/functional/conftest.py,tests/pytests/functional/modules/state/test_state.py,tests/pytests/functional/states/__init__.py,tests/pytests/functional/states/conftest.py,tests/pytests/functional/states/test_docker_container.py,tests/pytests/functional/transport/server/test_req_channel.py,tests/pytests/functional/transport/zeromq/test_pub_server_channel.py,tests/pytests/integration/minion/test_return_retries.py,tests/pytests/integration/runners/state/__init__.py,tests/pytests/integration/runners/state/orchestrate/__init__.py,tests/pytests/integration/runners/state/orchestrate/test_events.py,tests/pytests/integration/runners/state/orchestrate/test_orchestrate.py,tests/pytests/scenarios/compat/__init__.py,tests/pytests/scenarios/compat/conftest.py,tests/pytests/scenarios/compat/test_with_versions.py,tests/pytests/scenarios/setup/conftest.py,tests/pytests/scenarios/setup/test_install.py,tests/pytests/scenarios/setup/test_man.py,tests/pytests/unit/auth/__init__.py,tests/pytests/unit/auth/test_auth.py,tests/pytests/unit/beacons/test_diskusage.py,tests/pytests/unit/beacons/test_load.py,tests/pytests/unit/beacons/test_memusage.py,tests/pytests/unit/beacons/test_network_info.py,tests/pytests/unit/beacons/test_ps.py,tests/pytests/unit/beacons/test_swapusage.py,tests/pytests/unit/cloud/clouds/test_ec2.py,tests/pytests/unit/cloud/clouds/test_gce.py,tests/pytests/unit/cloud/test_map.py,tests/pytests/unit/modules/test_aptpkg.py,tests/pytests/unit/modules/test_cmdmod.py,tests/pytests/unit/modules/test_openbsd_sysctl.py,tests/pytests/unit/modules/test_openbsdpkg.py,tests/pytests/unit/modules/test_pacmanpkg.py,tests/pytests/unit/modules/test_pkgng.py,tests/pytests/unit/modules/test_pkgutil.py,tests/pytests/unit/modules/test_postgres.py,tests/pytests/unit/modules/test_slack.py,tests/pytests/unit/modules/test_solaris_shadow.py,tests/pytests/unit/modules/test_yumpkg.py,tests/pytests/unit/modules/test_zypperpkg.py,tests/pytests/unit/modules/virt/conftest.py,tests/pytests/unit/modules/virt/test_domain.py,tests/pytests/unit/modules/virt/test_helpers.py,tests/pytests/unit/modules/virt/test_network.py,tests/pytests/unit/returners/test_nagios_nrdp_return.py,tests/pytests/unit/runners/test_pillar.py,tests/pytests/unit/states/test_acme.py,tests/pytests/unit/states/test_alias.py,tests/pytests/unit/states/test_apache.py,tests/pytests/unit/states/test_apache_conf.py,tests/pytests/unit/states/test_apache_module.py,tests/pytests/unit/states/test_apache_site.py,tests/pytests/unit/states/test_aptpkg.py,tests/pytests/unit/states/test_beacon.py,tests/pytests/unit/states/test_docker_image.py,tests/pytests/unit/states/test_docker_volume.py,tests/pytests/unit/states/test_event.py,tests/pytests/unit/states/test_file.py,tests/pytests/unit/states/test_influxdb08_database.py,tests/pytests/unit/states/test_influxdb08_user.py,tests/pytests/unit/states/test_locale.py,tests/pytests/unit/states/test_mac_assistive.py,tests/pytests/unit/states/test_mac_keychain.py,tests/pytests/unit/states/test_mac_xattr.py,tests/pytests/unit/states/test_macdefaults.py,tests/pytests/unit/states/test_macpackage.py,tests/pytests/unit/states/test_makeconf.py,tests/pytests/unit/states/test_memcached.py,tests/pytests/unit/states/test_pkg.py,tests/pytests/unit/states/test_pkgng.py,tests/pytests/unit/states/test_pkgrepo.py,tests/pytests/unit/states/test_postgres_group.py,tests/pytests/unit/states/test_postgres_user.py,tests/pytests/unit/states/test_rabbitmq_cluster.py,tests/pytests/unit/states/test_rabbitmq_plugin.py,tests/pytests/unit/states/test_rabbitmq_policy.py,tests/pytests/unit/states/test_rabbitmq_vhost.py,tests/pytests/unit/states/test_saltutil.py,tests/pytests/unit/states/test_schedule.py,tests/pytests/unit/states/test_selinux.py,tests/pytests/unit/states/test_serverdensity_device.py,tests/pytests/unit/states/test_service.py,tests/pytests/unit/states/test_slack.py,tests/pytests/unit/states/test_smartos.py,tests/pytests/unit/states/test_smtp.py,tests/pytests/unit/states/test_ssh_auth.py,tests/pytests/unit/states/test_ssh_known_hosts.py,tests/pytests/unit/states/test_svn.py,tests/pytests/unit/states/test_test.py,tests/pytests/unit/states/test_zabbix_action.py,tests/pytests/unit/states/test_zabbix_host.py,tests/pytests/unit/states/test_zabbix_template.py,tests/pytests/unit/states/test_zabbix_valuemap.py,tests/pytests/unit/transport/test_tcp.py,tests/pytests/unit/utils/test_http.py,tests/pytests/unit/utils/test_reactor.py,tests/pytests/unit/utils/test_schedule.py,tests/pytests/unit/utils/test_stringutils.py,tests/pytests/unit/utils/test_thin.py,tests/pytests/unit/utils/test_win_functions.py,tests/pytests/unit/utils/test_xmlutil.py,tests/support/docker.py,tests/support/helpers.py,tests/support/mixins.py,tests/support/mock.py,tests/support/pytest/helpers.py,tests/support/unit.py,tests/unit/beacons/test_diskusage.py,tests/unit/beacons/test_load.py,tests/unit/beacons/test_memusage.py,tests/unit/beacons/test_network_info.py,tests/unit/beacons/test_ps.py,tests/unit/cloud/clouds/test_azurearm.py,tests/unit/cloud/clouds/test_gce.py,tests/unit/cloud/clouds/test_qingcloud.py,tests/unit/cloud/clouds/test_vmware.py,tests/unit/cloud/test_libcloudfuncs.py,tests/unit/ext/__init__.py,tests/unit/modules/inspectlib/test_fsdb.py,tests/unit/modules/test_aptpkg.py,tests/unit/modules/test_bigip.py,tests/unit/modules/test_cmdmod.py,tests/unit/modules/test_cyg.py,tests/unit/modules/test_deb_postgres.py,tests/unit/modules/test_file.py,tests/unit/modules/test_glassfish.py,tests/unit/modules/test_junos.py,tests/unit/modules/test_keystone.py,tests/unit/modules/test_mac_brew_pkg.py,tests/unit/modules/test_mod_random.py,tests/unit/modules/test_network.py,tests/unit/modules/test_openbsd_sysctl.py,tests/unit/modules/test_openbsdpkg.py,tests/unit/modules/test_openscap.py,tests/unit/modules/test_pacmanpkg.py,tests/unit/modules/test_pkgng.py,tests/unit/modules/test_pkgutil.py,tests/unit/modules/test_postgres.py,tests/unit/modules/test_random_org.py,tests/unit/modules/test_restartcheck.py,tests/unit/modules/test_rh_ip.py,tests/unit/modules/test_systemd_service.py,tests/unit/modules/test_virt.py,tests/unit/modules/test_vsphere.py,tests/unit/modules/test_win_pkg.py,tests/unit/modules/test_win_status.py,tests/unit/modules/test_zcbuildout.py,tests/unit/modules/test_zenoss.py,tests/unit/modules/test_zfs.py,tests/unit/modules/test_zpool.py,tests/unit/modules/test_zypperpkg.py,tests/unit/output/test_highstate.py,tests/unit/output/test_json_out.py,tests/unit/proxy/test_cimc.py,tests/unit/proxy/test_panos.py,tests/unit/returners/test_splunk.py,tests/unit/runners/test_asam.py,tests/unit/runners/test_reactor.py,tests/unit/states/test_acme.py,tests/unit/states/test_alias.py,tests/unit/states/test_apache.py,tests/unit/states/test_apache_conf.py,tests/unit/states/test_apache_module.py,tests/unit/states/test_apache_site.py,tests/unit/states/test_aptpkg.py,tests/unit/states/test_beacon.py,tests/unit/states/test_cyg.py,tests/unit/states/test_docker_image.py,tests/unit/states/test_docker_volume.py,tests/unit/states/test_esxi.py,tests/unit/states/test_event.py,tests/unit/states/test_influxdb08_database.py,tests/unit/states/test_influxdb08_user.py,tests/unit/states/test_locale.py,tests/unit/states/test_mac_assistive.py,tests/unit/states/test_mac_keychain.py,tests/unit/states/test_mac_xattr.py,tests/unit/states/test_macdefaults.py,tests/unit/states/test_macpackage.py,tests/unit/states/test_makeconf.py,tests/unit/states/test_memcached.py,tests/unit/states/test_modjk.py,tests/unit/states/test_module.py,tests/unit/states/test_network.py,tests/unit/states/test_pkg.py,tests/unit/states/test_pkgng.py,tests/unit/states/test_pkgrepo.py,tests/unit/states/test_postgres.py,tests/unit/states/test_postgres_group.py,tests/unit/states/test_postgres_user.py,tests/unit/states/test_rabbitmq_cluster.py,tests/unit/states/test_rabbitmq_plugin.py,tests/unit/states/test_rabbitmq_policy.py,tests/unit/states/test_rabbitmq_vhost.py,tests/unit/states/test_saltutil.py,tests/unit/states/test_schedule.py,tests/unit/states/test_selinux.py,tests/unit/states/test_serverdensity_device.py,tests/unit/states/test_service.py,tests/unit/states/test_slack.py,tests/unit/states/test_smartos.py,tests/unit/states/test_smtp.py,tests/unit/states/test_ssh_auth.py,tests/unit/states/test_ssh_known_hosts.py,tests/unit/states/test_svn.py,tests/unit/states/test_test.py,tests/unit/states/test_zabbix_action.py,tests/unit/states/test_zabbix_template.py,tests/unit/states/test_zabbix_valuemap.py,tests/unit/test__compat.py,tests/unit/test_cloud.py,tests/unit/test_ext.py,tests/unit/test_fileserver.py,tests/unit/test_minion.py,tests/unit/test_mock.py,tests/unit/test_state.py,tests/unit/transport/test_ipc.py,tests/unit/utils/test_dns.py,tests/unit/utils/test_json.py,tests/unit/utils/test_parsers.py,tests/unit/utils/test_schema.py,tests/unit/utils/test_stringutils.py,tests/unit/utils/test_templates.py,tests/unit/utils/test_vmware.py,tests/unit/utils/test_win_functions.py,tests/unit/utils/test_xmlutil.py,tests/unit/utils/test_yamldumper.py,tests/unit/utils/test_yamlloader.py,tests/unit/utils/test_zeromq.py,tests/unit/utils/validate/test_net.py,tests/utils/__init__.py,tests/unit/ext/test_ipaddress.py --names-file=%TEMP%\kitchen\testing\tests\whitelist.txt" 2>&1
[2021-03-01T11:51:46.300Z] $$$$$$ cmd.exe : The command line is too long.
[2021-03-01T11:51:46.300Z]     + CategoryInfo          : NotSpecified: (The command line is too long.:String) [], RemoteException
[2021-03-01T11:51:46.300Z]     + FullyQualifiedErrorId : NativeCommandError
sagetherage commented 3 years ago

Partial thread in Corp Slack for Salt Project: Pedro Algarvio It's related to the fact that of too many changes files are passed, it blows up (edited)

Daniel Wozniak Maybe we should shove those changed files into an environment variable

Daniel Wozniak or a file

Pedro Algarvio the test suite is prepared for a file, as long as we pass it as a full path

Pedro Algarvio but that might require changes in either the CI pipeline jobs/libs or salt kitchen

Daniel Wozniak Right, in any case, it's something we should address

Pedro Algarvio yes

s0undt3ch commented 3 years ago

Fixed in https://github.com/saltstack/kitchen-salt/pull/327

s0undt3ch commented 3 years ago

Ok. Now, it's fixed.