Problem
Atlassian Bamboo Remote Agents running on Windows (before Bamboo v6.10) may produce a couple of errors:
-
'chcp' is not recognized as an internal or external command, operable program or batch file.
-
the Return Code -1073741515
If you encounter these symptoms you may need to implement the workaround described below. This Bamboo defect is documented here and the status of the Atlassian fix is described here.
If you need to run the MettleCI dm-ccmigrate-plugin via a Remote agent you will need to use the following workaround
Solution
Follow these steps to work around this Bamboo bug:
-
Configure Bamboo Remote Agent to run as an application user (via Windows Services)
-
Add the following 2 paths to the application user path (not the system path!)
-
%SystemRoot%\system32 -
<DataStage Client Installation Path>\ASBNode\apps\proxy\cpp\vc60\MT_dll\bin
-
If another, similar error code appears (e.g. -1073741819) we recommend you copy the value of the system PATH environment variable and append it to the local user PATH environment variable that is configured to run the Bamboo remote agent service.
Related articles
- Bamboo SFTP Upload Task
- Bamboo Run DataStage Unit Tests Task
- How does the integration/configuration with BitBucket, Jira, and Bamboo work?
- Bamboo Agent produces chcp or -107374 errors
- The MettleCI Bamboo Command Plugin fails with NoSuchMethodError
- How does MettleCI work with HP ALM?
- Bamboo DataStage Capability
- Bamboo SFTP Download Task
- The MettleCI Bamboo Plugin Fails When Compiling a Job
- Bamboo DataStage Message Handlers Task
- Bamboo Connector Migration Task
- Bamboo Import DataStage Asset Task
- Bamboo Agent produces chcp or -107374 errors
- Bamboo Compile DataStage Project Task
- Bamboo DataStage Admin Task
- Bamboo 'Unable to open file' errors on Windows
- How does the integration/configuration with BitBucket, Jira, and Bamboo work?
- Bamboo 'Unable to open file' errors on Windows
- Bamboo Execute DataStage Job Task
- Bamboo Compile DataStage Project Task
- Bamboo Incremental Deployment Task
- Failing to Read Assets from the DataStage Repository
- Bamboo DataStage Capability
- Bamboo Properties Configuration Task
- Bamboo Connector Migration Task
- Enabling extended logging in Atlassian Bamboo
- MettleCI Integrations - Introduction
- Which Bamboo license do I need if I want to use it with MettleCI?
- The MettleCI Bamboo Plugin Fails When Compiling a Job
- Bamboo Properties Configuration Task
- Bamboo SFTP Upload Task
- Bamboo Import DataStage Asset Task
- MettleCI Integrations
- Bamboo Run DataStage Unit Tests Task
- Bamboo Export DataStage Asset Task
- Bamboo SFTP Download Task
- How do we segregate duty and ensure deployment to PROD is only available to admins?
- Failing to Read Assets from the DataStage Repository
- Bamboo DataStage Admin Task
- Bamboo Build Commit Log Task
- The MettleCI Bamboo Command Plugin fails with NoSuchMethodError
- How does MettleCI work with HP ALM?
- Bamboo Compliance Test Task
- Bamboo Build Commit Log Task
- How does MettleCI integrate with other tools?
- Bamboo Compliance Test Task
- Bamboo Export DataStage Asset Task
- The MettleCI Bamboo Command Plugin fails with ClassNotFoundException
- Bamboo Incremental Deployment Task
- How do we segregate duty and ensure deployment to PROD is only available to admins?
- How does MettleCI integrate with other tools?
- Which Bamboo license do I need if I want to use it with MettleCI?
- The MettleCI Bamboo Command Plugin fails with ClassNotFoundException
- Bamboo DataStage Message Handlers Task
- Enabling extended logging in Atlassian Bamboo
- Bamboo Execute DataStage Job Task