microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.47k stars 2.6k forks source link

[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

Open iondrugalea opened 1 month ago

iondrugalea commented 1 month ago

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)

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 commented 2 weeks ago

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

cabralRodrigo commented 2 weeks ago

image Me too.

stuartag commented 4 days ago

Same here for DotNetCoreCLI@2.245.1 but was also on previous versions for the past month maybe?

bittebak commented 14 hours ago

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