Open andreanidouglas opened 1 year ago
@andreanidouglas could you do a run with the debug option enabled?
Are different actions also failing or is this the only one
yes, all actions are failing with similar results
with debug enabled:
2023-10-02T14:06:32.9361192Z ##[debug]Evaluating condition for step: 'Power BI Action: UpdateDatasource'
2023-10-02T14:06:32.9383546Z ##[debug]Evaluating: succeeded()
2023-10-02T14:06:32.9383874Z ##[debug]Evaluating succeeded:
2023-10-02T14:06:32.9384468Z ##[debug]=> True
2023-10-02T14:06:32.9384946Z ##[debug]Result: True
2023-10-02T14:06:32.9385245Z ##[section]Starting: Power BI Action: UpdateDatasource
2023-10-02T14:06:32.9789624Z ==============================================================================
2023-10-02T14:06:32.9790203Z Task : Power BI Actions XPLAT
2023-10-02T14:06:32.9790560Z Description : Cross Platform Power BI Extension
2023-10-02T14:06:32.9790688Z Version : 6.2.1
2023-10-02T14:06:32.9790987Z Author : Maik van der Gaag
2023-10-02T14:06:32.9792677Z Help :
2023-10-02T14:06:32.9792752Z ==============================================================================
2023-10-02T14:06:33.0571450Z ##[debug]Using node path: C:\agents\3.225.0\externals\node\bin\node.exe
2023-10-02T14:06:33.2833247Z module.js:478
2023-10-02T14:06:33.2833851Z throw err;
2023-10-02T14:06:33.2836114Z ^
2023-10-02T14:06:33.2837223Z
2023-10-02T14:06:33.4021276Z Error: Cannot find module 'azure-pipelines-task-lib/task'
2023-10-02T14:06:33.4022213Z at Function.Module._resolveFilename (module.js:476:15)
2023-10-02T14:06:33.4022595Z at Function.Module._load (module.js:424:25)
2023-10-02T14:06:33.4022843Z at Module.require (module.js:504:17)
2023-10-02T14:06:33.4023012Z at require (internal/module.js:20:19)
2023-10-02T14:06:33.4023500Z at Object.<anonymous> (D:\a\_tasks\DEV - Power BI Actions_415a2c8b-327d-5397-9d39-b6941b54e281\6.2.1\index.js:13:12)
2023-10-02T14:06:33.4023745Z at Module._compile (module.js:577:32)
2023-10-02T14:06:33.4024128Z at Object.Module._extensions..js (module.js:586:10)
2023-10-02T14:06:33.4024374Z at Module.load (module.js:494:32)
2023-10-02T14:06:33.4024545Z at tryModuleLoad (module.js:453:12)
2023-10-02T14:06:33.4024783Z at Function.Module._load (module.js:445:3)
2023-10-02T14:06:33.4430365Z ##[error]Exit code 1 returned from process: file name 'C:\agents\3.225.0\externals\node\bin\node.exe', arguments '"D:\a\_tasks\DEV - Power BI Actions_415a2c8b-327d-5397-9d39-b6941b54e281\6.2.1\index.js"'.
2023-10-02T14:06:33.4447416Z ##[debug]Microsoft.VisualStudio.Services.Agent.Util.ProcessExitCodeException: Exit code 1 returned from process: file name 'C:\agents\3.225.0\externals\node\bin\node.exe', arguments '"D:\a\_tasks\DEV - Power BI Actions_415a2c8b-327d-5397-9d39-b6941b54e281\6.2.1\index.js"'.
at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, Boolean continueAfterCancelProcessTreeKillAttempt, CancellationToken cancellationToken) in D:\a\1\s\src\Agent.Sdk\ProcessInvoker.cs:line 381
at Microsoft.VisualStudio.Services.Agent.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, Boolean continueAfterCancelProcessTreeKillAttempt, CancellationToken cancellationToken) in D:\a\1\s\src\Microsoft.VisualStudio.Services.Agent\ProcessInvoker.cs:line 308
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.DefaultStepHost.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, Boolean continueAfterCancelProcessTreeKillAttempt, CancellationToken cancellationToken) in D:\a\1\s\src\Agent.Worker\Handlers\StepHost.cs:line 76
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.NodeHandler.RunAsync() in D:\a\1\s\src\Agent.Worker\Handlers\NodeHandler.cs:line 207
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync() in D:\a\1\s\src\Agent.Worker\TaskRunner.cs:line 407
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) in D:\a\1\s\src\Agent.Worker\StepsRunner.cs:line 237
2023-10-02T14:06:33.4453485Z ##[section]Finishing: Power BI Action: UpdateDatasource
Oke, that is strange. Are you running a Hosted server?
no, azure pipelines. tried windows-latest
and ubuntu-latest
Em seg., 2 de out. de 2023 às 14:41, Maik van der Gaag < @.***> escreveu:
Oke, that is strange. Are you running a Hosted server?
— Reply to this email directly, view it on GitHub https://github.com/maikvandergaag/msft-extensions/issues/504#issuecomment-1743466379, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFHE2QANFMZRTNOIAVU3O3X5L4CZAVCNFSM6AAAAAA5BTTG26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTGQ3DMMZXHE . You are receiving this because you were mentioned.Message ID: @.***>
--
Douglas Ravanelli Andreani https://www.linkedin.com/in/andreanidr/ https://www.linkedin.com/in/andreanidr/
-- Se este e-mail não pertence a você por gentileza desconsidere. If this e-mail does not belong to you, please disregard.
@andreanidouglas: Sorry for the late response this problem should be fixed could you check?
it is working 👍
one small problem was the dataset name, when it has spaces, you need to enclose it in quotes. I didn't test for the other fields
Thanks for that point will check that.
running on
windows-latest
orubuntu-latest
agent2023-09-14T18:16:46.1335260Z ##[debug]Evaluating condition for step: 'Power BI Action: DeployTabularModel' 2023-09-14T18:16:46.1354613Z ##[debug]Evaluating: succeeded() 2023-09-14T18:16:46.1354941Z ##[debug]Evaluating succeeded: 2023-09-14T18:16:46.1355603Z ##[debug]=> True 2023-09-14T18:16:46.1355909Z ##[debug]Result: True 2023-09-14T18:16:46.1356209Z ##[section]Starting: Power BI Action: DeployTabularModel 2023-09-14T18:16:46.1704042Z ============================================================================== 2023-09-14T18:16:46.1704571Z Task : Power BI Actions XPLAT 2023-09-14T18:16:46.1704942Z Description : Cross Platform Power BI Extension 2023-09-14T18:16:46.1705085Z Version : 6.2.1 2023-09-14T18:16:46.1705310Z Author : Maik van der Gaag 2023-09-14T18:16:46.1705670Z Help : 2023-09-14T18:16:46.1705740Z ============================================================================== 2023-09-14T18:16:46.2421592Z ##[debug]Using node path: C:\agents\3.225.0\externals\node\bin\node.exe 2023-09-14T18:16:46.4171446Z module.js:478 2023-09-14T18:16:46.4172402Z throw err; 2023-09-14T18:16:46.4175159Z ^ 2023-09-14T18:16:46.4176071Z 2023-09-14T18:16:46.5162276Z Error: Cannot find module 'azure-pipelines-task-lib/task' 2023-09-14T18:16:46.5163259Z at Function.Module._resolveFilename (module.js:476:15) 2023-09-14T18:16:46.5163747Z at Function.Module._load (module.js:424:25) 2023-09-14T18:16:46.5164152Z at Module.require (module.js:504:17) 2023-09-14T18:16:46.5164548Z at require (internal/module.js:20:19) 2023-09-14T18:16:46.5165400Z at Object. (D:\a_tasks\DEV - Power BI Actions_415a2c8b-327d-5397-9d39-b6941b54e281\6.2.1\index.js:13:12)
2023-09-14T18:16:46.5165981Z at Module._compile (module.js:577:32)
2023-09-14T18:16:46.5166434Z at Object.Module._extensions..js (module.js:586:10)
2023-09-14T18:16:46.5166847Z at Module.load (module.js:494:32)
2023-09-14T18:16:46.5167241Z at tryModuleLoad (module.js:453:12)
2023-09-14T18:16:46.5167667Z at Function.Module._load (module.js:445:3)
2023-09-14T18:16:46.5542727Z ##[error]Exit code 1 returned from process: file name 'C:\agents\3.225.0\externals\node\bin\node.exe', arguments '"D:\a_tasks\DEV - Power BI Actions_415a2c8b-327d-5397-9d39-b6941b54e281\6.2.1\index.js"'.
2023-09-14T18:16:46.5558403Z ##[debug]Microsoft.VisualStudio.Services.Agent.Util.ProcessExitCodeException: Exit code 1 returned from process: file name 'C:\agents\3.225.0\externals\node\bin\node.exe', arguments '"D:\a_tasks\DEV - Power BI Actions_415a2c8b-327d-5397-9d39-b6941b54e281\6.2.1\index.js"'.
at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary
2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue
1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, Boolean continueAfterCancelProcessTreeKillAttempt, CancellationToken cancellationToken) in D:\a\1\s\src\Agent.Sdk\ProcessInvoker.cs:line 381 at Microsoft.VisualStudio.Services.Agent.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, InputQueue
1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, Boolean continueAfterCancelProcessTreeKillAttempt, CancellationToken cancellationToken) in D:\a\1\s\src\Microsoft.VisualStudio.Services.Agent\ProcessInvoker.cs:line 308 at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.DefaultStepHost.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, Boolean continueAfterCancelProcessTreeKillAttempt, CancellationToken cancellationToken) in D:\a\1\s\src\Agent.Worker\Handlers\StepHost.cs:line 76 at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.NodeHandler.RunAsync() in D:\a\1\s\src\Agent.Worker\Handlers\NodeHandler.cs:line 207 at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync() in D:\a\1\s\src\Agent.Worker\TaskRunner.cs:line 407 at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) in D:\a\1\s\src\Agent.Worker\StepsRunner.cs:line 237 2023-09-14T18:16:46.5564947Z ##[section]Finishing: Power BI Action: DeployTabularModel