2021-09-15T06:38:27.9832114Z ##[section]Starting: Validate 2021-09-15T06:38:27.9845142Z ============================================================================== 2021-09-15T06:38:27.9845473Z Task : npm 2021-09-15T06:38:27.9845864Z Description : Install and publish npm packages, or run an npm command. Supports npmjs.com and authenticated registries like Azure Artifacts. 2021-09-15T06:38:27.9846267Z Version : 1.187.0 2021-09-15T06:38:27.9846498Z Author : Microsoft Corporation 2021-09-15T06:38:27.9846861Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/npm 2021-09-15T06:38:27.9847236Z ============================================================================== 2021-09-15T06:38:28.5276038Z [command]/opt/hostedtoolcache/node/10.24.1/x64/bin/npm --version 2021-09-15T06:38:28.7720332Z 6.14.12 2021-09-15T06:38:29.2975968Z [command]/opt/hostedtoolcache/node/10.24.1/x64/bin/npm config list 2021-09-15T06:38:29.5591570Z ; cli configs 2021-09-15T06:38:29.5592897Z metrics-registry = "https://registry.npmjs.org/" 2021-09-15T06:38:29.5593621Z scope = "" 2021-09-15T06:38:29.5594363Z user-agent = "npm/6.14.12 node/v10.24.1 linux x64" 2021-09-15T06:38:29.5594940Z 2021-09-15T06:38:29.5595382Z ; environment configs 2021-09-15T06:38:29.5595867Z userconfig = "/home/vsts/work/1/npm/18.npmrc" 2021-09-15T06:38:29.5596204Z 2021-09-15T06:38:29.5597218Z ; node bin location = /opt/hostedtoolcache/node/10.24.1/x64/bin/node 2021-09-15T06:38:29.5597771Z ; cwd = /home/vsts/work/1/s/build 2021-09-15T06:38:29.5598170Z ; HOME = /home/vsts 2021-09-15T06:38:29.5599096Z ; "npm config ls -l" to show all defaults. 2021-09-15T06:38:29.5599443Z 2021-09-15T06:38:29.5603541Z [command]/opt/hostedtoolcache/node/10.24.1/x64/bin/npm run build validate /home/vsts/work/1/s /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName 2021-09-15T06:38:31.7840824Z 2021-09-15T06:38:31.7841935Z > @ build /home/vsts/work/1/s/build 2021-09-15T06:38:31.7842323Z 2021-09-15T06:38:31.7843429Z /home/vsts/work/1/s/build/node_modules/@microsoft/azure-data-factory-utilities/lib/bundle.manager.js:53 2021-09-15T06:38:31.7844036Z throw "Execution failed with exit code: " + exitCode; 2021-09-15T06:38:31.7844413Z ^ 2021-09-15T06:38:31.7844727Z Execution failed with exit code: 255 2021-09-15T06:38:31.7845023Z npm ERR! code ELIFECYCLE 2021-09-15T06:38:31.7845290Z npm ERR! errno 1 2021-09-15T06:38:31.7846333Z npm ERR! @ build: `node node_modules/@microsoft/azure-data-factory-utilities/lib/index "validate" "/home/vsts/work/1/s" "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName"` 2021-09-15T06:38:31.7847154Z npm ERR! Exit status 1 2021-09-15T06:38:31.7847384Z npm ERR! 2021-09-15T06:38:31.7847634Z npm ERR! Failed at the @ build script. 2021-09-15T06:38:31.7848043Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2021-09-15T06:38:31.7848469Z 2021-09-15T06:38:31.7848763Z npm ERR! A complete log of this run can be found in: 2021-09-15T06:38:31.7849391Z npm ERR! /home/vsts/.npm/_logs/2021-09-15T06_38_31_773Z-debug.log 2021-09-15T06:38:31.7850849Z > node node_modules/@microsoft/azure-data-factory-utilities/lib/index "validate" "/home/vsts/work/1/s" "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName" 2021-09-15T06:38:31.7851903Z 2021-09-15T06:38:31.7853205Z Downloading bundle from: https://adf.azure.com/assets/cmd-api/main.js 2021-09-15T06:38:31.7853886Z Process cwd: /home/vsts/work/1/s/build 2021-09-15T06:38:31.7854501Z Bundle downloaded successfully, saved in: /home/vsts/work/1/s/build/downloads/main.js 2021-09-15T06:38:31.7855090Z Executing bundle... 2021-09-15T06:38:31.7856396Z Inserting the following arguments: validate /home/vsts/work/1/s /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName 2021-09-15T06:38:31.7857529Z Executing bundle file, full command: 2021-09-15T06:38:31.7857911Z 2021-09-15T06:38:31.7859045Z node /home/vsts/work/1/s/build/downloads/main.js validate /home/vsts/work/1/s /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName 2021-09-15T06:38:31.7859780Z 2021-09-15T06:38:31.7860086Z 2021-09-15T06:38:31.7860775Z  CmdApiApp: Initializing application. 2021-09-15T06:38:31.7861895Z Resource: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName 2021-09-15T06:38:31.7862666Z RootFolder: /home/vsts/work/1/s 2021-09-15T06:38:31.7863429Z  ModelService: synchronize - start 2021-09-15T06:38:31.7865392Z  ModelService: Dynamic connector - Start registering dynamic connectors 2021-09-15T06:38:31.7866471Z  CmdApiApp: Initializing resource registries... 2021-09-15T06:38:31.7867424Z  CmdApiApp: Initializing model service... 2021-09-15T06:38:31.7868220Z  ModelService: Dynamic connector - Finished registering dynamic connectors 2021-09-15T06:38:31.7869061Z  BaseFileResourceProviderService: populateAllResources - start 2021-09-15T06:38:31.7869973Z  CmdApiApp: Initializing publish config service... 2021-09-15T06:38:31.7870759Z  PublishConfigService: _getLatestPublishConfig - retrieving config file. 2021-09-15T06:38:31.7871791Z  LocalFileClientService: Unable to list files for: dataflow, error: Error: ENOENT: no such file or directory, scandir '/home/vsts/work/1/s/dataflow' 2021-09-15T06:38:31.7872987Z  LocalFileClientService: Unable to list files for: credential, error: Error: ENOENT: no such file or directory, scandir '/home/vsts/work/1/s/credential' 2021-09-15T06:38:31.7874225Z  LocalFileClientService: Unable to list files for: managedVirtualNetwork, error: Error: ENOENT: no such file or directory, scandir '/home/vsts/work/1/s/managedVirtualNetwork' 2021-09-15T06:38:31.7876337Z  ERROR === LocalFileClientService: Unable to read file: /home/vsts/work/1/s/publish_config.json, error: {"stack":"Error: ENOENT: no such file or directory, open '/home/vsts/work/1/s/publish_config.json'","message":"ENOENT: no such file or directory, open '/home/vsts/work/1/s/publish_config.json'","errno":-2,"code":"ENOENT","syscall":"open","path":"/home/vsts/work/1/s/publish_config.json"} 2021-09-15T06:38:31.7878978Z  ERROR === PublishConfigService: _getLatestPublishConfig - Unable to process publish config file, error: {"stack":"Error: ENOENT: no such file or directory, open '/home/vsts/work/1/s/publish_config.json'","message":"ENOENT: no such file or directory, open '/home/vsts/work/1/s/publish_config.json'","errno":-2,"code":"ENOENT","syscall":"open","path":"/home/vsts/work/1/s/publish_config.json"} 2021-09-15T06:38:31.7880458Z  CmdApiApp: App initialized. 2021-09-15T06:38:31.7881365Z  BaseFileResourceProviderService: populateAllResources - downloaded git resources 2021-09-15T06:38:31.7882294Z  BaseFileResourceProviderService: populateAllResources - loaded last version id 2021-09-15T06:38:31.7883164Z  BaseFileResourceProviderService: populateAllResources - finished 2021-09-15T06:38:31.7883925Z  ModelService: fetchAllInBackground - start 2021-09-15T06:38:31.7884798Z  ModelService: synchronize - finished 2021-09-15T06:38:31.7885477Z  CmdApiApp: Starting to validate all resources 2021-09-15T06:38:31.7886556Z  ModelService: _backgroundFetch - finished, duration: 271.9580710000009, total nameds: 16 2021-09-15T06:38:31.7887315Z  ERROR === CmdApiApp: 2021-09-15T06:38:31.7887826Z Data Factory validation failed. Found 2 validation errors. 2021-09-15T06:38:31.7888122Z 2021-09-15T06:38:31.7889376Z  ERROR === CmdApiApp: Resource 'FileCsvCallData' has the following validation error: DelimitedText dataset 'FileCsvCallData' linkedService is required. 2021-09-15T06:38:31.7890636Z  ERROR === CmdApiApp: Resource 'SingleFileCsvCallDataDynamic' has the following validation error: DelimitedText dataset 'SingleFileCsvCallDataDynamic' linkedService is required. 2021-09-15T06:38:31.7891747Z  ERROR === CmdApiApp: 2021-09-15T06:38:31.7892052Z 2021-09-15T06:38:31.7892403Z Go to: 2021-09-15T06:38:31.7893480Z https://adf.azure.com/authoring?factory=/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName 2021-09-15T06:38:31.7894204Z to fix the validation errors. 2021-09-15T06:38:31.7895985Z 2021-09-15T06:38:31.7896111Z 2021-09-15T06:38:31.7896225Z 2021-09-15T06:38:31.7896319Z 2021-09-15T06:38:31.7896549Z =====ERROR===== 2021-09-15T06:38:31.7897592Z Error: Command failed: node /home/vsts/work/1/s/build/downloads/main.js validate /home/vsts/work/1/s /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName 2021-09-15T06:38:31.7898116Z 2021-09-15T06:38:31.7898349Z Execution finished.... 2021-09-15T06:38:31.8513960Z Found npm debug log, make sure the path matches with the one in npm's output: /home/vsts/.npm/_logs/2021-09-15T06_38_31_773Z-debug.log 2021-09-15T06:38:31.8514509Z 0 info it worked if it ends with ok 2021-09-15T06:38:31.8515064Z 1 verbose cli [ '/opt/hostedtoolcache/node/10.24.1/x64/bin/node', 2021-09-15T06:38:31.8515626Z 1 verbose cli '/opt/hostedtoolcache/node/10.24.1/x64/bin/npm', 2021-09-15T06:38:31.8516131Z 1 verbose cli 'run', 2021-09-15T06:38:31.8516522Z 1 verbose cli 'build', 2021-09-15T06:38:31.8516920Z 1 verbose cli 'validate', 2021-09-15T06:38:31.8517371Z 1 verbose cli '/home/vsts/work/1/s', 2021-09-15T06:38:31.8518118Z 1 verbose cli '/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName' ] 2021-09-15T06:38:31.8518808Z 2 info using npm@6.14.12 2021-09-15T06:38:31.8519081Z 3 info using node@v10.24.1 2021-09-15T06:38:31.8519623Z 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 2021-09-15T06:38:31.8519963Z 5 info lifecycle @~prebuild: @ 2021-09-15T06:38:31.8520255Z 6 info lifecycle @~build: @ 2021-09-15T06:38:31.8520773Z 7 verbose lifecycle @~build: unsafe-perm in lifecycle true 2021-09-15T06:38:31.8522928Z 8 verbose lifecycle @~build: PATH: /opt/hostedtoolcache/node/10.24.1/x64/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vsts/work/1/s/build/node_modules/.bin:/opt/hostedtoolcache/node/10.24.1/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/vsts/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/vsts/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/vsts/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 2021-09-15T06:38:31.8524127Z 9 verbose lifecycle @~build: CWD: /home/vsts/work/1/s/build 2021-09-15T06:38:31.8524651Z 10 silly lifecycle @~build: Args: [ '-c', 2021-09-15T06:38:31.8525700Z 10 silly lifecycle 'node node_modules/@microsoft/azure-data-factory-utilities/lib/index "validate" "/home/vsts/work/1/s" "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName"' ] 2021-09-15T06:38:31.8526437Z 11 silly lifecycle @~build: Returned: code: 1 signal: null 2021-09-15T06:38:31.8526830Z 12 info lifecycle @~build: Failed to exec build script 2021-09-15T06:38:31.8528418Z 13 verbose stack Error: @ build: `node node_modules/@microsoft/azure-data-factory-utilities/lib/index "validate" "/home/vsts/work/1/s" "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName"` 2021-09-15T06:38:31.8529091Z 13 verbose stack Exit status 1 2021-09-15T06:38:31.8529808Z 13 verbose stack at EventEmitter. (/opt/hostedtoolcache/node/10.24.1/x64/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 2021-09-15T06:38:31.8530451Z 13 verbose stack at EventEmitter.emit (events.js:198:13) 2021-09-15T06:38:31.8531259Z 13 verbose stack at ChildProcess. (/opt/hostedtoolcache/node/10.24.1/x64/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 2021-09-15T06:38:31.8531789Z 13 verbose stack at ChildProcess.emit (events.js:198:13) 2021-09-15T06:38:31.8532205Z 13 verbose stack at maybeClose (internal/child_process.js:982:16) 2021-09-15T06:38:31.8532639Z 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 2021-09-15T06:38:31.8533013Z 14 verbose pkgid @ 2021-09-15T06:38:31.8533274Z 15 verbose cwd /home/vsts/work/1/s/build 2021-09-15T06:38:31.8533710Z 16 verbose Linux 5.8.0-1040-azure 2021-09-15T06:38:31.8534779Z 17 verbose argv "/opt/hostedtoolcache/node/10.24.1/x64/bin/node" "/opt/hostedtoolcache/node/10.24.1/x64/bin/npm" "run" "build" "validate" "/home/vsts/work/1/s" "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName" 2021-09-15T06:38:31.8535441Z 18 verbose node v10.24.1 2021-09-15T06:38:31.8535706Z 19 verbose npm v6.14.12 2021-09-15T06:38:31.8535951Z 20 error code ELIFECYCLE 2021-09-15T06:38:31.8536198Z 21 error errno 1 2021-09-15T06:38:31.8537128Z 22 error @ build: `node node_modules/@microsoft/azure-data-factory-utilities/lib/index "validate" "/home/vsts/work/1/s" "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testResourceGroup/providers/Microsoft.DataFactory/factories/yourFactoryName"` 2021-09-15T06:38:31.8537758Z 22 error Exit status 1 2021-09-15T06:38:31.8538019Z 23 error Failed at the @ build script. 2021-09-15T06:38:31.8538388Z 23 error This is probably not a problem with npm. There is likely additional logging output above. 2021-09-15T06:38:31.8538758Z 24 verbose exit [ 1, true ] 2021-09-15T06:38:31.8538886Z 2021-09-15T06:38:31.8571038Z ##[error]Error: Npm failed with return code: 1 2021-09-15T06:38:31.8593282Z ##[section]Finishing: Validate