-
Notifications
You must be signed in to change notification settings - Fork 14
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
Remove temp file name from error output #52
Comments
As I see it, this also depends on #25. Sure, we can mangle the output like camelia does, but it would be much better if we actually write it into |
Blocked by #25. |
This commit resolves many long-standing problems: * Issue #25 (RESTRICTED setting) is resolved. Bots are still not fully secure, but now they are more secure that they've even been given that RESTRICTED setting is entirely useless * Issue #52 (predictable filenames) is no longer blocked * Issue #55 (sandboxable) is probably no longer relevant * Issue #118 (ramfs for /tmp) now needs an update * Issue #144 (bots leaving stuff behind) is resolved because every bot has its own /tmp * Issue #183 (source ip issue) possibly has a systemd solution for it * Issue #197 is tackled a little bit also because now there's a memory limit for every bot (3G for now, we can probably make it smaller) * Issue #238 (e.g. forkbombs) is basically resolved, but needs a bit more work * Moreover, there's now a watchdog that makes sure that bots come back online if something bad happens Not that all of this wasn't possible without systemd, it's just that it is so much easier now. Feel free to hate me as much as you want.
Now we can simply write into any fixed file in /tmp and it won't conflict with other bots. Bots for Testable are still not using systemd in any way, so maybe this is still blocked… but now there's less stuff to care about (e.g. we can have unpredictable names when running tests, that's ok). |
E.g., Camelia returns this:
rakudo-moar f7770e: OUTPUT«not ok 1 - # Failed test at <tmp> line 1# maximum relative tolerance: 1e-15# actual relative difference: 1»
while Committable6 returns this:
iBakeCake, ¦«2016.10»: not ok 1 - # Failed test at /tmp/ALIDT91faL line 1# maximum relative tolerance: 1e-15# actual relative difference: 1 «exit code = 1»
The text was updated successfully, but these errors were encountered: