urbit / landscape

Product board for Landscape.
20 stars 6 forks source link

No stacktrace when an agent fails to build #1207

Closed ryjm closed 3 years ago

ryjm commented 3 years ago

Makes it very hard to debug agent compilation issues.

kiln: commit detected at %seer from local
kiln: starting ~[%seer]
kiln: jolt %seer
kiln: stopping ~
error in %docket
%fact
! closing subscription
! /app/docket/hoon:<[605 32].[605 80]>
! /app/docket/hoon:<[203 32].[203 55]>
! /app/docket/hoon:<[203 9].[229 46]>
! /app/docket/hoon:<[202 9].[229 46]>
! /app/docket/hoon:<[201 9].[229 46]>
! /app/docket/hoon:<[198 9].[229 46]>
! /app/docket/hoon:<[197 9].[229 46]>
! /app/docket/hoon:<[194 7].[252 9]>
! /app/docket/hoon:<[193 7].[252 9]>
! /app/docket/hoon:<[192 7].[252 9]>
! /app/docket/hoon:<[191 7].[252 9]>
! /app/docket/hoon:<[187 5].[253 7]>
! /app/docket/hoon:<[186 5].[253 7]>
! /app/docket/hoon:<[180 18].[180 27]>
! /app/docket/hoon:<[178 5].[182 7]>
! /app/docket/hoon:<[177 3].[183 15]>
! /app/docket/hoon:<[176 3].[331 5]>
! /app/docket/hoon:<[175 3].[331 5]>
! /sys/vane/gall/hoon:<[1.458 9].[1.458 49]>
%hark-system-hook: on-agent on wire /kiln/vats, %fact
%hark-store: on-poke with mark %hark-action
%hark-system-hook: on-agent on wire /hark, %poke-ack
clay: read-at-aeon fail [desk=%seer care=%a case=[%da p=~2021.9.25..15.55.09..9275] path=/app/seer/hoon]
crud: %into event failed
[%poke %into]
wire=/sys/cor/seer/~zod/seer/~2021.9.25..15.55.09..9275
  bar-stack
~[
  ~[/gall/use/hood/0w2.5n4RA/~zod/kiln/vats/seer/jolt/seer /dill //term/1]
  ~[
    /gall/sys/cor/seer/~zod/seer/~2021.9.25..15.55.09..9275
    /gall/use/hood/0w2.5n4RA/~zod/kiln/vats/seer/jolt/seer
    /dill
    //term/1
  ]
  ~[/gall/use/hood/0w2.5n4RA/~zod/kiln/vats/seer/jolt/seer /dill //term/1]
  ~[/dill //term/1]
  ~[//sync/0v1r.4jf25]
]
take: failed
/sys/vane/gall/hoon:<[1.827 3].[1.843 5]>
/sys/vane/gall/hoon:<[1.828 3].[1.843 5]>
/sys/vane/gall/hoon:<[1.830 3].[1.843 5]>
/sys/vane/gall/hoon:<[1.832 3].[1.843 5]>
/sys/vane/gall/hoon:<[1.836 3].[1.843 5]>
[%gall-take-failed /sys/cor/seer/~zod/seer/~2021.9.25..15.55.09..9275]
/sys/vane/gall/hoon:<[1.837 3].[1.843 5]>
/sys/vane/gall/hoon:<[1.838 3].[1.843 5]>
/sys/vane/gall/hoon:<[1.839 3].[1.843 5]>
/sys/vane/gall/hoon:<[530 5].[539 7]>
/sys/vane/gall/hoon:<[532 5].[539 7]>
/sys/vane/gall/hoon:<[535 13].[535 47]>
/sys/vane/gall/hoon:<[554 5].[570 39]>
/sys/vane/gall/hoon:<[556 5].[570 39]>
/sys/vane/gall/hoon:<[557 5].[570 39]>
/sys/vane/gall/hoon:<[558 5].[570 39]>
/sys/vane/gall/hoon:<[559 5].[570 39]>
/sys/vane/gall/hoon:<[560 5].[570 39]>
/sys/vane/gall/hoon:<[561 5].[570 39]>
/sys/vane/gall/hoon:<[562 7].[562 58]>
gall: failed to build agent %seer
Fang- commented 3 years ago

Yeah I've hit this a good amount of times. As far as I can remember it's only been syntax errors that fail to give a strace, for some reason?

ryjm commented 3 years ago

fixed by https://github.com/urbit/urbit/pull/5254