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

[bug] upload-artifact can get stuck in symlink loop #664

Open
gmitch215 opened this issue Jan 21, 2025 · 0 comments
Open

[bug] upload-artifact can get stuck in symlink loop #664

gmitch215 opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@gmitch215
Copy link

What happened?

When using the action, it can get stuck into a symlink loop, causing it to take forever to finish the action.

What did you expect to happen?

Artifacts to archive normally

How can we reproduce it?

https://github.com/gmitch215/cmdfx/actions/runs/12879447278/job/35907067069

##[debug]Search path '/Users/runner/work/cmdfx/cmdfx/build/package'
##[debug]Symlink cycle detected for path '/Users/runner/work/cmdfx/cmdfx/build/package/_CPack_Packages/Darwin/Bundle/cmdfx-0.1.0-macOS-x86_64/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Headers/ruby/ruby' and realpath '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/Headers/ruby'
##[debug]Symlink cycle detected for path '/Users/runner/work/cmdfx/cmdfx/build/package/_CPack_Packages/Darwin/Bundle/cmdfx-0.1.0-macOS-x86_64/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/Headers/ruby/ruby' and realpath '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/Headers/ruby'
##[debug]Symlink cycle detected for path '/Users/runner/work/cmdfx/cmdfx/build/package/_CPack_Packages/Darwin/Bundle/cmdfx-0.1.0-macOS-x86_64/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/Current/Headers/ruby/ruby' and realpath '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/Headers/ruby'
##[debug]Symlink cycle detected for path '/Users/runner/work/cmdfx/cmdfx/build/package/_CPack_Packages/Darwin/Bundle/cmdfx-0.1.0-macOS-x86_64/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Ruby.framework/Headers/ruby/ruby' and realpath '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/Headers/ruby'
##[debug]Symlink cycle detected for path '/Users/runner/work/cmdfx/cmdfx/build/package/_CPack_Packages/Darwin/Bundle/cmdfx-0.1.0-macOS-x86_64/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/Headers/ruby/ruby' and realpath '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/Headers/ruby'
##[debug]Symlink cycle detected for path '/Users/runner/work/cmdfx/cmdfx/build/package/_CPack_Packages/Darwin/Bundle/cmdfx-0.1.0-macOS-x86_64/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Ruby.framework/Versions/Current/Headers/ruby/ruby' and realpath '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/Headers/ruby'

It will pass, just after a very long time.

Anything else we need to know?

No response

What version of the action are you using?

v4

What are your runner environments?

macos

Are you on GitHub Enterprise Server? If so, what version?

No response

@gmitch215 gmitch215 added the bug Something isn't working label Jan 21, 2025
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

1 participant