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

Task fails in error #33

Open
yohanb opened this issue May 28, 2019 · 6 comments
Open

Task fails in error #33

yohanb opened this issue May 28, 2019 · 6 comments

Comments

@yohanb
Copy link

yohanb commented May 28, 2019

Hi,
Sorry for the generic title but I'm not sure what the root cause is.
Task fails with the following:

cp: copyFileSync: could not read src file (/home/az_devops_agent/agent/_work/_temp/4d09fc6b-89b5-49fb-a474-8015125392eb.unpacked/tools/netcoreapp2.1/any/DotnetToolSettings.xml)

##[debug]cp failed
##[debug]Failed cp: cp: copyFileSync: could not read src file (/home/az_devops_agent/agent/_work/_temp/4d09fc6b-89b5-49fb-a474-8015125392eb.unpacked/tools/netcoreapp2.1/any/DotnetToolSettings.xml)

##[debug]task result: Failed
##[error]Error acquiring NuKeeper version
##[debug]Processed: ##vso[task.issue type=error;]Error acquiring NuKeeper version
##[debug]Processed: ##vso[task.complete result=Failed;]Error acquiring NuKeeper version
##[debug]feed=null
##[debug]which 'dotnet'
##[debug]found: '/usr/bin/dotnet'
##[debug]which '/usr/bin/dotnet'
##[debug]found: '/usr/bin/dotnet'
##[debug]which '/usr/bin/dotnet'
##[debug]found: '/usr/bin/dotnet'
##[debug]task result: Failed
##[error]TypeError: Path must be a string. Received undefined
##[debug]Processed: ##vso[task.issue type=error;]TypeError: Path must be a string. Received undefined
##[debug]Processed: ##vso[task.complete result=Failed;]TypeError: Path must be a string. Received undefined
Finishing: NuKeeper

Setup:

  • Hosted Ubuntu 16.04 Agent
  • Dotnet core 2.2 SDK
  • Private AzureDevOps NuGet feed

In the task input, I've tried:

  • setting an explicit version
  • using the private feed
  • Disabling checkLatest

Nothing seems to do the trick. Is this related to using a private feed?
Thanks,
Yohan

@MarcBruins
Copy link
Member

Hi Yohan,

There might be something wrong with the packaging of the latest version. I'll investigate and update the issue soon.

Thanks for the detailed issue :)

@yohanb
Copy link
Author

yohanb commented May 29, 2019

@MarcBruins thanks for the follow up. If I can be of any help, let me know!

@MarcBruins
Copy link
Member

Can you tell me a bit about your agent? It seems like the downloading of nukeeper went wrong. Are you on a private build agent or a hosted one?

@yohanb
Copy link
Author

yohanb commented May 30, 2019

Private build agents, Ubuntu 16.04.5 LTS.
All my builds and releases work fine on them. wget and curl are working as expected.

@yohanb
Copy link
Author

yohanb commented Jun 4, 2019

@MarcBruins any update?
thanks

@MarcBruins
Copy link
Member

I'm not sure why this is. I image it's a restriction on writing to disk on the machine. Other then that i have no clue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants