-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Is there an existing issue for this?
- There are no existing issues.
Bug description
When executing the test cases test_ds_block_insertafter_eof_with_backup with verbose mode on, false positives were found, specific the case of a SEQ data set with backup of type MEM will fail on proper creation of the backup dataset with content, but for users and test case is a false positive. Is a continuous of issue 629
IBM z/OS Ansible core Version
v1.13.0-beta.1
IBM Z Open Automation Utilities
v1.3.4
IBM Enterprise Python
v3.13.x
ansible-version
v2.17.x
z/OS version
v3.1
Ansible module
zos_blockinfile
Playbook verbosity output.
<HOST> (1, b'\r\n{"changed": false, "message": "", "names": [], "failed": true, "msg": "ValueError(\'Value ANSIBLE.PLE5J.T3130490.CE6LV1Y5(MEM) is invalid for data set argument.\')", "exception": " File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/modules/zos_data_set.py\\", line 1898, in run_module\\n params = parse_and_validate_args(module.params)\\n File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/modules/zos_data_set.py\\", line 1686, in parse_and_validate_args\\n parsed_args = parser.parse_args(params)\\n File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/module_utils/better_arg_parser.py\\", line 1073, in parse_args\\n updated_value = handler.handle_arg()\\n File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/module_utils/better_arg_parser.py\\", line 187, in handle_arg\\n self.contents = self._resolve_arg_type()\\n ~~~~~~~~~~~~~~~~~~~~~~^^\\n File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/module_utils/better_arg_parser.py\\", line 844, in _resolve_arg_type\\n return self.type_handlers.get(self.arg_def.arg_type)(\\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\\n self.contents, self.resolved_dependencies\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n )\\n ^\\n File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/module_utils/better_arg_parser.py\\", line 249, in _dict_type\\n updated_value = handler.handle_arg()\\n File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/module_utils/better_arg_parser.py\\", line 187, in handle_arg\\n self.contents = self._resolve_arg_type()\\n ~~~~~~~~~~~~~~~~~~~~~~^^\\n File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/module_utils/better_arg_parser.py\\", line 842, in _resolve_arg_type\\n return self._call_arg_function(self.arg_def.arg_type, self.contents)\\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/module_utils/better_arg_parser.py\\", line 948, in _call_arg_function\\n return arg_function(contents, self.resolved_dependencies)\\n File \\"/tmp/ansible_zos_data_set_payload_iixkjpzc/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/modules/zos_data_set.py\\", line 959, in data_set_name\\n raise ValueError(\\n \\"Value {0} is invalid for data set argument.\\".format(dsname)\\n )\\n", "invocation": {"module_args": {"name": "ANSIBLE.PLE5J.T3130490.CE6LV1Y5(MEM)", "state": "absent", "type": "pds", "space_type": "m", "space_primary": 5, "space_secondary": 3, "record_format": "fb", "replace": false, "empty": false, "purge": false, "scratch": false, "extended": false, "fifo": false, "force": false, "batch": null, "sms_management_class": null, "sms_storage_class": null, "sms_data_class": null, "block_size": null, "directory_blocks": null, "record_length": null, "key_offset": null, "key_length": null, "limit": null, "volumes": null, "tmp_hlq": null}}}\r\n', b"OpenSSH_9.8p1, LibreSSL 3.3.6\r\ndebug1: Reading configuration data /Users/andre/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files\r\ndebug1: /etc/ssh/ssh_config line 54: Applying options for *\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/andre/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/andre/.ssh/known_hosts2'\r\ndebug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling\r\ndebug1: auto-mux: Trying existing master at '/Users/andre/.ansible/cp/e3237055b4'\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 32506\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet_timeout: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\nShared connection to HOST closed.\r\n")
Ansible configuration.
Contents of the inventory
Contents of group_vars or host_vars
Metadata
Metadata
Assignees
Labels
Type
Projects
Status