Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Fiddle Production Manual | |
| 2 ======================== | |
| 3 | |
| 4 First make sure you are familar with the design of fiddle by reading the | |
| 5 [DESIGN](./DESIGN.md) doc. | |
| 6 | |
| 7 | |
| 8 Forcing a build | |
| 9 --------------- | |
| 10 | |
| 11 You may need for force a build on the server, say if you accidentally wiped | |
| 12 the mounted drive, or say fiddle is broken and you need to force it to build | |
| 13 at HEAD and not wait for that commit to make it into a DEPS rolls. | |
| 14 | |
| 15 SSH into `skia-fiddle` and run: | |
| 16 | |
| 17 fiddle_build --force --head --alsologtostderr \ | |
| 18 --depot_tools=/mnt/pd0/depot_tools \ | |
| 19 --fiddle_root=/mnt/pd0/fiddle | |
| 20 | |
| 21 After that finished restart fiddle: | |
|
dogben
2016/04/27 18:10:41
typo finishes
jcgregorio
2016/04/27 18:17:16
Done.
| |
| 22 | |
| 23 sudo systemctl restart fiddle.service | |
| 24 | |
| 25 Or restart Fiddle from the push dashboard. | |
| 26 | |
| 27 Debugging fiddle\_secwrap.cpp | |
| 28 ----------------------------- | |
| 29 | |
| 30 Highly unlikely to be needed, but if font handling changes, for example, then | |
| 31 Skia applications may start trying to read new directories or make exciting | |
| 32 new system calls. | |
| 33 | |
| 34 If that happens then uncomment the line: | |
| 35 | |
| 36 TRACE_ALL, | |
| 37 | |
| 38 in `fiddle_secwrap.cpp`, then compile and run fiddle\_secwrap locally and then | |
| 39 run it over the offending exe to determine which calls it is making and then | |
| 40 add those to the whitelist. | |
| 41 | |
| 42 Alerts | |
| 43 ====== | |
| 44 | |
| 45 Items below here should include target links from alerts. | |
| 46 | |
| 47 Fiddle is failing to build <a id=build_fail></a> | |
| 48 ------------------------------------------------ | |
| 49 | |
| 50 This usually isn't a critical error since Fiddle will only start | |
| 51 using a build of Skia if it was successfully built, but this should | |
| 52 be addressed so Fiddle doesn't get too far removed from Skia HEAD. | |
| 53 | |
| 54 Search logs for "Failed to build LKGR:" and "Successfully built:". | |
| 55 | |
| 56 Fiddle is failing to sync<a id=sync_fail></a> | |
| 57 ------------------------------------------------ | |
| 58 | |
| 59 This sync is for Fiddle updating a local copy of Skia that's used | |
| 60 to look up git hashes. The repo is located at /mnt/pd0/fiddle/skia. | |
| 61 | |
| 62 Search logs for "Failed to update skia repo". | |
| 63 | |
| 64 One easy fix is to SSH into the machine and delete the directory and | |
| 65 then restart Fiddle, which will rebuild the checkout. | |
| OLD | NEW |