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

[BUG]: ##[warning]Resource file has already set to: /agent/_work/_tasks/Kubernetes_cbc316a2-586f-4def-be79-488a1f503564/1.241.5/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json #20224

Closed
4 of 7 tasks
iondrugalea opened this issue Jul 30, 2024 · 6 comments

Comments

@iondrugalea
Copy link

New issue checklist

Task name

Kubernetes@1

Task version

1

Issue Description

A bug happened!
I use in my azure devops pipline the task Kubernetes@1 for diferent use cases. Since about 1 Month i see this warning everytime when the Kubernetes@1 is executed. I call the Kubernetes@1 multiple times and each time i see this warning.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 22.04

Relevant log output

##[warning]Resource file has already set to: /agent/_work/_tasks/Kubernetes_cbc316a2-586f-4def-be79-488a1f503564/1.241.5/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

- task: Kubernetes@1
    displayName: 
    inputs:
      connectionType: "Kubernetes Service Connection"
      kubernetesServiceEndpoint: " ${{ parameters.kubernetesServiceEndpoint }}"
      command: "apply"
      useConfigurationFile: true
      configuration: 
      arguments: 
      namespace:
@andylamb-rlg
Copy link

We're also seeing this issue in the DotNetCoreCLI@2 Pipeline Task, version 2.244.1

@cabralRodrigo
Copy link

image
Me too.

@stuartag
Copy link

Same here for [email protected] but was also on previous versions for the past month maybe?

@bittebak
Copy link

bittebak commented Sep 14, 2024

Same here.
Azure hosted
I manage multiple DevOps tenants. All pipelines on multiple tenants have the same issue.
It still works though.

Task         : .NET Core
Description  : Build, test, package, or publish a dotnet application, or run a custom dotnet command
Version      : 2.245.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli
==============================================================================
##[warning]Resource file has already set to: D:\a\_tasks\DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b\2.245.1\node_modules\azure-pipelines-tasks-packaging-common\module.json


@jackhorton
Copy link
Member

Looks like the DotNetCoreCLI@2 issue should be fixed in #20427

@EshitaD
Copy link
Contributor

EshitaD commented Sep 25, 2024

Closing the issue, PR has been merged for this issue.
PR - #20308

@EshitaD EshitaD closed this as completed Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants