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

brew update/brew upgrade failing with Error: Not a directory @ dir_s_rmdir error strikes back #2248

Closed
2 of 7 tasks
traversaro opened this issue Dec 11, 2020 · 8 comments
Closed
2 of 7 tasks
Labels

Comments

@traversaro
Copy link

traversaro commented Dec 11, 2020

Description
On some scheduled jobs on macOS, since a few hours the brew update and brew upgrade commands are failing.

Area for Triage:

Question, Bug, or Feature?:
Bug

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11.0
  • Windows Server 2016 R2
  • Windows Server 2019

Expected behavior
The commands:

  • brew update
  • brew upgrade

Should work fine.

Actual behavior

  • brew update
  • brew upgrade
    commands fail with error:
2020-12-11T14:20:31.2785670Z �[34m==>�[0m �[1mPouring [email protected]�[0m
2020-12-11T14:21:54.9827160Z �[31mError:�[0m Not a directory @ dir_s_rmdir - /usr/local/Cellar/openssl
2020-12-11T14:21:54.9844860Z �[34m==>�[0m �[1mCaveats�[0m

See for example https://github.com/robotology/robotology-superbuild/runs/1534684566?check_suite_focus=true .

Repro steps
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.

  1. Run brew update
  2. Run brew upgrade
@traversaro
Copy link
Author

This is probably related to the similar older bug (that was however solved) #1811 .

cc @Nicogene

@miketimofeev
Copy link
Contributor

Hi @traversaro!
Yes, this is related and fixed recently, however, the new image is not yet deployed. We're going to deploy the image next week.
As a workaround, you can add one more line before updating and upgrading.

brew uninstall [email protected]
brew update
brew upgrade

@miketimofeev miketimofeev added Area: Common Tools awaiting-deployment Code complete; awaiting deployment and/or deployment in progress bug Something isn't working OS: macOS and removed needs triage labels Dec 11, 2020
@traversaro
Copy link
Author

Thanks @miketimofeev ! If you agree, I think it would be nice to keep the issue open until the images are deployed, for better visibility for users that may have this problem, thanks!

traversaro added a commit to robotology/robotology-superbuild that referenced this issue Dec 11, 2020
Remove old workaround, and add new workaround for  actions/runner-images#2248
traversaro added a commit to robotology/robotology-superbuild that referenced this issue Dec 15, 2020
The fix for actions/runner-images#2248 was deployed, so now we must remove the fix.
@traversaro
Copy link
Author

Since ~24 hours the workaround provided in #2248 (comment) is still necessary in macOS 10.15 machine, while it is not necessary (and actually it breaks the build) in macOS 11.0 . Is this due to the time necessary for the deployment, or it is intended difference between the two images? Thanks a lot!

@maxim-lobanov
Copy link
Contributor

@traversaro , We are deploying new image with fix right now.
MacOS 11.0 has been already deployed (it takes little time).
MacOS 10.15 is still in process and should be deployed in 1 day

@traversaro
Copy link
Author

Thanks for the quick reply!

@miketimofeev
Copy link
Contributor

@traversaro the new image has been deployed, everything works without workarounds now.
I'm going to close the issue, but please feel free to contact us if you have any concerns, thank you!

@miketimofeev miketimofeev removed the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label Dec 17, 2020
@traversaro
Copy link
Author

@traversaro the new image has been deployed, everything works without workarounds now.
I'm going to close the issue, but please feel free to contact us if you have any concerns, thank you!

Thanks a lot for the great support!

traversaro added a commit to robotology/robotology-superbuild that referenced this issue Dec 17, 2020
The fix for actions/runner-images#2248 was deployed, so now we must remove the fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants