Comments (12)
We'll want to remove
Lines 79 to 81 in 7e3c529
when this is sorted.
from homebrew-test-bot.
No idea here. I wonder if it's something else about the environment rather than the OS i.e. the Linux runner/GitHub Actions runner has some environment variables set that are interfering?
from homebrew-test-bot.
Yea, I'm pretty stumped as well. However, I think my hypothesis about what's going on is correct, judging from what's happening on the Linux runner in this PR: Homebrew/homebrew-core#89567
It has a whole bunch of formulae to test, but it tests bison
first. The test fails and test-bot
exits. It never even makes it to the code that produces annotations (or else we would see them, and we'd see duplicated output in the CI log). What it should be doing is logging the failure and moving on to test other formulae.
from homebrew-test-bot.
CC @Homebrew/brew for ideas.
from homebrew-test-bot.
This is your problem:
Error: No such file or directory @ realpath_rec - /home/runner
Probably from:
from homebrew-test-bot.
This is because of https://github.com/Homebrew/homebrew-core/blob/master/.github/workflows/tests.yml#L182-L190. We would need to change GITHUB_WORKSPACE
going into this.
I can fix this but I wonder if we can just make it use GitHub's container system somehow (where it'll work out of the box). @dawidd6 I assume you've tried that already and the answer is it doesn't work? Does setting container
to a blank value on macOS error?
from homebrew-test-bot.
This is your problem:
Error: No such file or directory @ realpath_rec - /home/runner
Probably from:
I suspected that too, but IIRC I've seen that error on CI runs well before I started using GitHub::Actions::Annotation
.
from homebrew-test-bot.
I suspected that too, but IIRC I've seen that error on CI runs well before I started using
GitHub::Actions::Annotation
.
I'll need to see an example run of this to tell. I've not seen that error until recently and GITHUB_WORKSPACE
being set to a directory that won't exist in the Docker container makes sense as a cause.
from homebrew-test-bot.
Does setting container to a blank value on macOS error?
Yep
from homebrew-test-bot.
Does setting container to a blank value on macOS error?
Yep
This works for me: https://github.com/Bo98/workflow-test/blob/main/.github/workflows/test.yml
from homebrew-test-bot.
Interesting. Looks like it was changed a year ago:
actions/runner#265
So I guess we can now drop a lot of code in our workflows and just use jobs.<id>.container
, nice.
from homebrew-test-bot.
I'll need to see an example run of this to tell.
Here are some examples: https://github.com/Homebrew/homebrew-core/runs/4120630533?check_suite_focus=true#step:7:33
https://github.com/Homebrew/homebrew-core/runs/4160230870?check_suite_focus=true#step:7:195
https://github.com/Homebrew/homebrew-core/runs/3638699455?check_suite_focus=true#step:7:33
The ENOENT
seems to happen on an audit failure, which probably means that this is triggered by the annotations code.
On the other hand, it also didn't kill the test-bot
run, unlike what's happening now. But I suppose thatโll be because the error is happening behind a test
call in those examples. Now the error is in test-bot
code.
from homebrew-test-bot.
Related Issues (20)
- Dependent formula is not build with `--build-dependents-from-source` when running test-bot HOT 3
- Error treating custom/tap/formula as a formula when there is a cask with the same name HOT 14
- Behavior change in building bottles against bottles from previous macOS versions HOT 13
- Split bottling and testing a formula into separate steps HOT 13
- `git -C "${HOMEBREW_REPOSITORY}" clean` failed in `brew test-bot --only-cleanup-after` HOT 1
- Option to skip building unbottled dependents from source HOT 3
- Build bottles for arm64 HOT 1
- error in tap CI: brew link m4
- test-bot exiting on failure with success code HOT 2
- max number of concurrent jobs HOT 1
- Build failure due to deleted `etc` files from built dependencies HOT 1
- Don't skip if "has dependencies without compatible bottles" only affects `:build` dependencies HOT 6
- Bottles published but revision not merged HOT 5
- Cask was detected as formula with `--only-formulae` HOT 12
- `--only-formulae-detect` should work inside `merge_group` events HOT 1
- Tap CI failing on `brew test-bot --only-formulae` on Linux HOT 6
- gpsim 0.32.0 bottle issue HOT 5
- `brew test-bot --only-formulae` fails with a parsing error
- Errors resulting from `--new-formula` deprecation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-test-bot.