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

Error: EISDIR: illegal operation on a directory, read #40

Open
MrHinsh opened this issue Sep 19, 2019 · 6 comments
Open

Error: EISDIR: illegal operation on a directory, read #40

MrHinsh opened this issue Sep 19, 2019 · 6 comments
Labels
bug 🐛 Something isn't working

Comments

@MrHinsh
Copy link

MrHinsh commented Sep 19, 2019

Im getting a super annoying problem and cant figure it out. Just started happening. I have attached the logs and a screenshot of my config. I get the following error just after the release has been created:

**

Error: EISDIR: illegal operation on a directory, read

**

https://dev.azure.com/nkdagility/migration-tools/_releaseProgress?releaseId=227&_a=release-environment-logs&environmentId=563

tasklog_7.log
image

@marceloavf
Copy link
Owner

Hi @MrHinsh

I'll try to replicate it and investigating what is happening

Could you confirm what node.js and npm version are you running in your agent?

Thank you.

@marceloavf marceloavf added the Investigate 🔎 Need more attention to know the problem label Sep 19, 2019
@marceloavf
Copy link
Owner

marceloavf commented Sep 19, 2019

2019-09-19T18:28:04.7568580Z ##[debug]  D:\a\r1\a (directory)
2019-09-19T18:28:04.7577174Z ##[debug]  D:\a\r1\a\vsts-sync-migration (directory)
2019-09-19T18:28:04.7581509Z ##[debug]  D:\a\r1\a\vsts-sync-migration\drop (directory)
2019-09-19T18:28:04.7590503Z ##[debug]  D:\a\r1\a\vsts-sync-migration\drop\meta-build.json (file)
2019-09-19T18:28:04.7590693Z ##[debug]  D:\a\r1\a\vsts-sync-migration\drop\meta-chocolatey.json (file)
2019-09-19T18:28:04.7592458Z ##[debug]  D:\a\r1\a\vsts-sync-migration\drop\meta-extension.json (file)
2019-09-19T18:28:04.7607232Z ##[debug]  D:\a\r1\a\vsts-sync-migration\drop\meta-gitversion.json (file)
2019-09-19T18:28:04.7607418Z ##[debug]  D:\a\r1\a\vsts-sync-migration\drop\nkdAgility.vsts-sync-migration-8.0.3.vsix (file)
2019-09-19T18:28:04.7607580Z ##[debug]  D:\a\r1\a\vsts-sync-migration\drop\vsts-sync-migrator.8.0.3.nupkg (file)
2019-09-19T18:28:04.7607735Z ##[debug]  D:\a\r1\a\vsts-sync-migration\drop\VstsSyncMigrator-8.0.3.zip (file)

Can be something related to this 3 directories listed above

Can you try to upload the assets specific in \vsts-sync-migration\drop\** folder ?

@MrHinsh
Copy link
Author

MrHinsh commented Sep 20, 2019 via email

@marceloavf
Copy link
Owner

@MrHinsh

Can you try to change Files to Upload as Assets input from:

$(System.DefaultWorkingDirectory)\**\*

to:

$(System.DefaultWorkingDirectory)\**\*.json
$(System.DefaultWorkingDirectory)\**\*.vsix
$(System.DefaultWorkingDirectory)\**\*.nupkg
$(System.DefaultWorkingDirectory)\**\*.zip

And tell me if it work out?

@MrHinsh
Copy link
Author

MrHinsh commented Sep 20, 2019 via email

@marceloavf
Copy link
Owner

Happy to hear that @MrHinsh, you are welcome!

I'll leave this issue open since it's an error we can prevent on this task side.

Just need to allow only files matches from tl.findMatch

githubReleaseAssets = tl.findMatch(undefined, githubReleaseAssets)

@marceloavf marceloavf added bug 🐛 Something isn't working and removed Investigate 🔎 Need more attention to know the problem labels Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants