ibm_zos_core icon indicating copy to clipboard operation
ibm_zos_core copied to clipboard

[Bug] [zos_copy] Module fails intermittently with error message Unable to copy source and dest are identical

Open fernandofloresg opened this issue 6 months ago • 0 comments

Is there an existing issue for this?

  • [X] There are no existing issues.

Bug description

This is an intermittent failure and don't think the error message is true. Experienced this while running zos_copy test suite, it appears to be an intermittent error and just running the test again might make it pass.

Unable to copy source ANSIBLE.PW7Q7QBI.T0828187.CQ7R5O00(MEM1) to ANSIBLE.PJU1J1PE.T0828187.CVEKDDZO.', 'stdout': 'FSUM8977 cp: source "//'ANSIBLE.PW7Q7QBI.T0828187.CQ7R5O00(MEM1)'" and target "//'ANSIBLE.PJU1J1PE.T0828187.CVEKDDZO(MEM1)'" are identical\n

The test that failed is test_copy_dest_lock

You can review the build logs at ansible-zos-core-dev-1/156/consoleFull

IBM z/OS Ansible core Version

v1.11.0-beta.1

IBM Z Open Automation Utilities

v1.3.2

IBM Enterprise Python

v3.11.x (default)

ansible-version

v2.16.x (default)

z/OS version

v2.5 (default)

Ansible module

No response

Playbook verbosity output.

<EC33026A.vmec.svl.ibm.com> (1, b'\n{"rc": 1, "stdout": "FSUM8977 cp: source \"//'ANSIBLE.PO3RDNLH.T7932173.CZ94E6K8(MEM1)'\" and target \"//'ANSIBLE.PQKN8Y17.T7932173.CE4BAPY4(MEM1)'\" are identical\n", "stderr": "", "stdout_lines": null, "stderr_lines": null, "cmd": null, "dest_exists": null, "failed": true, "msg": "Unable to copy source ANSIBLE.PO3RDNLH.T7932173.CZ94E6K8(MEM1) to ANSIBLE.PQKN8Y17.T7932173.CE4BAPY4.", "exception": " File \"/tmp/ansible_ibm.ibm_zos_core.zos_copy_payload_v10bfn2p/ansible_ibm.ibm_zos_core.zos_copy_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/modules/zos_copy.py\", line 3997, in main\n res_args, conv_path = run_module(module, arg_def)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/tmp/ansible_ibm.ibm_zos_core.zos_copy_payload_v10bfn2p/ansible_ibm.ibm_zos_core.zos_copy_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/modules/zos_copy.py\", line 3776, in run_module\n raise err\n File \"/tmp/ansible_ibm.ibm_zos_core.zos_copy_payload_v10bfn2p/ansible_ibm.ibm_zos_core.zos_copy_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/modules/zos_copy.py\", line 3749, in run_module\n pdse_copy_handler.copy_to_pdse(\n File \"/tmp/ansible_ibm.ibm_zos_core.zos_copy_payload_v10bfn2p/ansible_ibm.ibm_zos_core.zos_copy_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/modules/zos_copy.py\", line 2102, in copy_to_pdse\n raise CopyOperationError(\n", "invocation": {"module_args": {"src": "ANSIBLE.PO3RDNLH.T7932173.CZ94E6K8(MEM1)", "dest": "ANSIBLE.PQKN8Y17.T7932173.CE4BAPY4(MEM1)"

Ansible configuration.

No response

Contents of the inventory

No response

Contents of group_vars or host_vars

No response

fernandofloresg avatar Aug 23 '24 18:08 fernandofloresg