Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download artifacts on Windows when the Bamboo agent is running as a service under a domain account #217

Open
bkr-usda opened this issue May 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bkr-usda
Copy link

Describe the bug
On Windows server, when running the Bamboo agent as a service using a domain account, the Artifactory Download task in a deployment environment fails to download artifacts with error "Unknown I/O error listing contents of directory" with a path to the location of a folder in the TEMP OS environment variable. The task will create a folder in TEMP, but the domain user is not getting any permissions to the folder and the download errors out. Only local system has any permissions. We are able to login as that service account and manually create folders at this location successfully and it properly inherits the parent folder's permissions. If we run the Bamboo agent service as Local System, it is able to successfully download the artifacts.

We tested and found this to be an issue in 3.3.3 and 3.3.4. It works as expected in 3.3.2.

To Reproduce

  1. Install Artifactory plugin version 3.3.3 or 3.3.4
  2. On a windows machine, configure the Bamboo agent to start with a service using a domain user account.
  3. Start the service.
  4. In Bamboo, create a deployment environment with a task to download artifacts from artifactory.
  5. Configure the deployment to only run on the agent described above.
  6. Run the deployment

Expected behavior
Artifacts are downloaded successfully.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions

  • Bamboo Artifactory plugin version: 3.3.4
  • Bamboo Application: Data Center 9.2.14
  • Bamboo Agent operating system: Microsoft Windows Server 2016
  • Artifactory Version: Self-hosted 7.63.12

Additional context
Add any other context about the problem here.

@bkr-usda bkr-usda added the bug Something isn't working label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant