Repository navigation
ford: remove pit short-circuit - #2322
Conversation
|
This looks correct to me. Not sure what's up with CI, I'd try making a pill. |
|
There are several %ford test failures as a result of this change. |
|
I made a pill and tested locally just to check, but the failures still appear. |
|
I had to restructure the tests so that Ford performs a %reef build once during setup -- otherwise, it'll rebuild the kernel in every test arm, and it's not easily cacheable because each test arm is run in its own road and So I moved the production of Note that if we try to compare two Zuse vases that aren't structurally shared, we get a bail:meme, so the code to generate the |
|
Added @eglaysher as reviewer since @philipcmonk is out this week. |
|
The 'pr' CI build timed out -- my guess is because this PR makes boot slower. There doesn't seem to be a button I can push in Travis to rerun. @jtobin any advice to get this to pass? |
|
This is hitting the ~m10 http request (set in http.c in |
|
Ah thanks, I'll try bumping that timeout.
—
~rovnys-ricfer
https://urbit.org
…On Tue, Feb 25, 2020 at 1:51 AM, Joe Bryan < ***@***.*** > wrote:
This is hitting the ~m10 http request (set in http.c in _http_rec_accept()
), while running the test suite using herb. That's breaking the tests
(should be caught and failed in the runner), which is hanging the CI
build, which is then timing out.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (
#2322?email_source=notifications&email_token=AAGVR5IQKRTJR4LGR23DLW3RES5XBA5CNFSM4KYXMZYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM2Y3XY#issuecomment-590712287
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAGVR5NXZFI6MA6KDMBQPITRES5XBANCNFSM4KYXMZYA
).
|
eglaysher
left a comment
There was a problem hiding this comment.
Removing the short circuit is OK from a correctness standpoint, but we'll see if you can get the compilation time down for the unit tests....
|
The compilation time wasn't that bad on my machine once I added an initial %reef build to the Ford tests in a separate file so it only gets run once, before the tests themselves get built. It does have to do one kernel build during the test, but that should only be a few minutes at most, even on a slow CI VM. And sure enough, the 'push' CI build succeeds with the normal ~m10 timeout. I don't know what's wrong with the 'pr' CI build. My guess is that it's booting ships, and boot will be a lot longer because it will rebuild the kernel multiple times -- I think it's once for the %base desk, twice for the %home desk, something like that. Not sure how to fix this. The short-circuit was there mostly to bring down initial boot time, so without it, builds will be slower... the %ride cache should help a lot here, though, or at least it would if the desk name wasn't in the parsed hoon. We also don't cache parser operations, and maybe we should. |
|
Both builds are booting ships; the PR build is slower because GC is enabled. |
|
@joemfb thinks it's the tests that are killing the CI build, not boot. I'll see if I can replace the actual %reef build in /lib/test/ford/hoon with some code that monkey-patches Ford's build results with !>(..zuse) so we don't have to recompile the kernel for testing. |
|
Great success! CI says it took 37 minutes, so I think I should leave the timeout at 30 minutes for now. |
|
The timeout is per request, so that seems excessive if the full build took
37. I’m AFK, but you might be able to see per-command timings in the CI
log.
On Tue, Feb 25, 2020 at 2:09 PM Ted Blackman ***@***.***> wrote:
Great success! CI says it took 37 minutes, so I think I should leave the
timeout at 30 minutes for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2322?email_source=notifications&email_token=AAFLOYBCFOTOZTLHMTFWDLDREWJIBA5CNFSM4KYXMZYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM5WPOY#issuecomment-591095739>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFLOYGHG5MSJXMGSAVVXL3REWJIBANCNFSM4KYXMZYA>
.
--
Sent from Gmail Mobile
|
|
Reverted to original timeout. I believe this is now ready for merge. |
|
After "OTA"ing this on a sandboxed pier whose :eth-watcher was nest-fail'ing, the ship was able to hear an Ethereum update. I think this means it fixed the issue. |
|
boom
—
~poldec-tonteg
http://urbit.org
…On Wed, Feb 26, 2020 at 5:02 PM Ted Blackman ***@***.***> wrote:
After "OTA"ing this on a sandboxed pier whose :eth-watcher was
nest-fail'ing, the ship was able to hear an Ethereum update. I think this
means it fixed the issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2322?email_source=notifications&email_token=AAMJBY5Q5BR7IJ6VHPHEJVDRE4GJLA5CNFSM4KYXMZYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENCPUBQ#issuecomment-591723014>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMJBYZWHSQXQU2GK46MYRTRE4GJLANCNFSM4KYXMZYA>
.
|
|
Merge merge merge |
jtobin
left a comment
There was a problem hiding this comment.
@belisarius222 the nurses are telling me you haven't been taking your pills.
(Fear not, I can administer the dose on this one. 😄)
|
Oh, thanks.
—
~rovnys-ricfer
https://urbit.org
…On Fri, Feb 28, 2020 at 11:33 AM, Jared Tobin < ***@***.*** > wrote:
***@***.**** approved this pull request.
@ belisarius222 ( https://github.com/belisarius222 ) the nurses are telling
me you haven't been taking your pills.
(Fear not, I can administer the dose on this one. 😄)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
#2322?email_source=notifications&email_token=AAGVR5NWZB24SFW36F6CFR3RFE4EJA5CNFSM4KYXMZYKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCXMMMJA#pullrequestreview-366528036
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAGVR5OHH4736AFDAMNBQFDRFE4EJANCNFSM4KYXMZYA
).
|
* origin/ted/ford-no-pit: pills: update solid http.c: revert timeout to original ~m10 tests: prime ford %reef cache http.c: bump timeout from ~m20 to ~m30 http.c: bump timeout from ~m10 to ~m20 tests: fix ford tests for no %reef short-circuit ford: remove pit short-circuit (cherry picked from commit bd2d904)
This should fix a bug with OTA updates where Ford held onto the old %reef build while trying to run new builds, causing builds that depended on a new Zuse to fail.
Note that this fix will increase boot times, since the pit short-circuit had been put in to avoid needing to rebuild Zuse when Ford first starts running builds.