Azure pipeline giving fatal error in some shell script at /home/vsts/work/_temp/

Shreya Bhatnagar 21 Reputation points

I am trying to generate installer.deb file from azure pipeline from script. Below are the ending logs showing fatal error at script that I havent created in my project (and I dont know how to check the line number as it might be created during build or clean stage)

2022-01-28T12:10:27.9966763Z k3s-2 name is: installer-k3s_2.3.0~126~gd68d66d.orig.tar.xz
2022-01-28T12:10:27.9994416Z First, cd into installer-k3s-2.3.0~126~gd68d66d, and then run 'debuild -- clean; debuild -uc -us' to build a debian package.
2022-01-28T12:10:28.0054465Z ##[debug]Processed: Kubernetes:##vso[task.setvariable variable=packageVersion]2.3.0-126-gd68d66d
2022-01-28T12:10:28.0055683Z /home/vsts/work/_temp/ line 6: cd: too many arguments
2022-01-28T12:10:28.0670945Z debuild: fatal error at line 679:
2022-01-28T12:10:28.0671826Z cannot find readable debian/changelog anywhere!
2022-01-28T12:10:28.0672356Z Are you in the source code tree?
2022-01-28T12:10:28.1297376Z debuild: fatal error at line 679:
2022-01-28T12:10:28.1298262Z cannot find readable debian/changelog anywhere!
2022-01-28T12:10:28.1299092Z Are you in the source code tree?
2022-01-28T12:10:28.1349793Z ##[debug]Exit code 0 received from tool '/usr/bin/bash'
2022-01-28T12:10:28.1350748Z ##[debug]STDIO streams have closed for tool '/usr/bin/bash'
2022-01-28T12:10:28.1351552Z ##[debug]task result: Succeeded
2022-01-28T12:10:28.1354717Z ##[debug]Processed: ##vso[task.complete result=Succeeded;done=true;]
2022-01-28T12:10:28.1405126Z ##[section]Finishing: Build installer Debian package

Can someone please let me know that how can I resolve this and where I can access script home/vsts/work/_temp/ line 6: cd: too many arguments as my code doesnt have this script which is throwing debuild: fatal error at line 679

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,887 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426K Reputation points MVP

    The product group for Azure DevOps / TFS actively monitors questions over at

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful