- Apr 24, 2019
-
-
Jeff Seibert authored
missing. Added a unit test that failed without the changes. Change-Id: Idaf9913bf9006384e021f39047df1e8e8a855369
-
Francois Rousseau authored
* it turns out async::PostDelayedTask returns a status so we might as well log an error if we couldn't post the timeout! TESTED=I don't know an easy way to make the async loop reject the task :-( Change-Id: I99b3a685f8ac2176aa0274890bc2a51e6661ce91
-
docs-roller authored
Test: CQ Change-Id: I5e8322db78c313bad9af2a71759cdf6e71dbd0c9
-
Jody Sankey authored
Following earlier discussions with Satsuki the precedent we set with these packages didn't make sense when applied to token manager. We're probably stomping on a wider namespace than we'd ideally like but thats a common theme across rust package names at the moment plus its possible we'll roll both these into token manager at some point anyway. Change-Id: I825ca9e0a853cdafde845e96077a64d1d5729bc4
-
David Pursell authored
Implements ZX_JOB_TERMINATED, which is signaled when a job is killed, after all its children have finished cleaning up. This also changes job tracking behavior. Previously, if a job was killed it would stay in the job trees until the last handle was closed. With this patch, jobs now behave like threads or processes and remove themselves from the task trees as soon as they (and all children) have been killed. This provides a more consistent behavior among all tasks. As a nice side-effect, now if a job fails to create (e.g. if the parent is already dead) we never add it to the all-jobs tree; previously it would be briefly added and then removed. ZX-3919 Test: runtests Test: run-zircon-x64 -C -b -k -z core-tests-x64.zbi Change-Id: Ic367b7df9704e5012a1c73636d76784c527a4636
-
P.Y. Laligand authored
It has been replaced by the //sdk/bundles:tools set of packages. Bug: DX-1269 Change-Id: I49e1cf26ede67ac15da06b813b90968b25e7e010
-
Todd Eisenberger authored
This reduces the externally and internally mutable surface of the datastructure Change-Id: I26f045a62cfa2bd78c3c02a65ee0c4b062f9c6f3
-
Derek Gonyeo authored
Component manager will not always be able to rely on fuchsia.logger.LogSink being present in its namespace, so this commit adds new logging macros to src/log.rs to log to zircon's debuglog. If debuglog creation fails, logs are sent to stderr. CF-707 #done Change-Id: I5893719e6bb72aaba481ac0a0cbe43911cfea29c
-
Bert Muthalaly authored
...reading fuchsia.netstack.NetInterface{,2}.Ipv6addrs from upstream and removing netiface.NIC.Ipv6addrs, which is no longer referenced. NET-1181 #done NET-1223 #progress Change-Id: I4fee8d2d144b705e8643b3f9d73075a00d5e1fb1
-
Todd Eisenberger authored
This method has been deprecated for a while and is now unused. Bug: ZX-2620 #done Change-Id: I742ca8299a598000b34aaee17c2493a441db6076
-
Aaron Green authored
This CL moves the CopyArrayToVector from sandbox.cc's anonymous namespace to a helper method in json_parser.cc, and updates the callers to use it as appropriate. Bugs: CF-723 Tests: fx run-test json_unittests Change-Id: I8546d76eeec621c0c5539521b7c000f534e95e15
-
Bryan Henry authored
Change-Id: I706db37f1aba1d62d56bc649cb4a69f149a59c76
-
Tim Detwiler authored
Change-Id: I907aeffc7303998b136a59c63327badf42fc08e5
-
David Worsham authored
Mozart no longer exists, as a project or a team. It's nice to not have it show up when grepping the code-base. Tested: CQ; no behavior change SCN-580 #comment Change-Id: I5456c927e7fdf63be820a970f04636c9345db64b
-
Nick Maniscalco authored
Use ZX_INFO_THREAD and thrd_join to eliminate races. Use test infrastructure's timeout rather than a test specific timeout. Change-Id: Ib25a5a1c54ea5a358c863202447c38706746207a
-
Ankur Mittal authored
FLK-168 #progress Change-Id: I4b049fb145d88bc3f028e7bb6665a36634418f4d
-
Bruno Dal Bo authored
BUG: FLK-178 #progress - Disable SandboxTest.DestructorRunsCleanly. Race condition causing flakiness. Change-Id: Ia7115f536d3f4a0b25e0deced2ab8f0133c3a69e
-
Craig Tiller authored
Change-Id: I3413b9b5d910e3f695437a8622d61cf821158603
-
David Murphy authored
* Update the location of the dart-sdk * Add more troubleshooting tips Change-Id: Iba475bd1505e390dd022a163a75ee91e3f1c4365
-
Doug Evans authored
... and support --detach with spawned apps. PT-141 #done Change-Id: If980b4e8227d72e7c94af022ad344b374b09e335
-
Robert Hahn authored
WLAN-1078 #done Test=Tested Ralink and ath10k. Ralink got a 3x speed boost, ath10k doesn't show any notable improvement. Change-Id: I55dbf79cb9dd9885da35260d3311d5a85f1a0cfc
-
Adam Barth authored
Change-Id: I529d92ecf6d56f3d4abb7109955dbcaea93be340
-
Robert Hahn authored
No driver supports the new SME channel approach yet. Thus, none of the new code is used yet. WLAN-927 #comment Test=Sanity check with broadcom and ath10k Change-Id: I7cde52becea9ac6b2985ef6a392b7504c04a4fdc
-
Marie Janssen authored
Add a README to the A2DP sink profile outlinig how to run the profile and the runtime requirements. Move checks for player support of codecs to the startup of the profile, so that it will fail early if it cannot play audio. BT-840 #done BT-533 Test: run bt-a2dp-sink without and with required components available Change-Id: I5fd2fdf81d20c95fe46450abf8b9bfe100bd774c
-
Rob Krten authored
This is a continuation of Doug Evans' CL 266326 but under new management :-) Change-Id: If4c4e088bd9d8ae8048ed7d4b8830738098f4be5
-
docs-roller authored
Test: CQ Change-Id: I2f553cb853d2e4c506d1e855648cbe0681834bb5
-
Benjamin Lerman authored
Change-Id: I166512e6a74d4c8eb25922ed2c6e924e956d36a9
-
Maria Glukhova authored
When constructing Pagechange for the PageWatcher notification, correctly return an entry with an empty value if the entry has the priority LAZY and the value is not present loacally on the device. TEST=SyncIntegrationTest.PageChangeLazyEntry LE-747 #done Change-Id: I59b28b9f00cc030c784d2fc0265e25a3e60a29db
-
docs-roller authored
Test: CQ Change-Id: I9922fc651b6dde0a6eb8232d501b4211e9e2810b
-
Etienne J. Membrives authored
Ensure that device notifications for a device removal can only be created after the notification for the device being added is dispatched. LE-739 #done Change-Id: I8c33ae209916f4a82277782731f1d837b501291b
-
Etienne J. Membrives authored
Change-Id: Ifb0945dd25ebc9e37f6fcb3926d8ef3ffa0f3adb
-
Mark Seaborn authored
The t-test CIs are wider and more accurate, especially for smaller sample sizes. For our current sample size of 30 and setting of alpha = 0.01, they are wider by 7%: >>> scipy.stats.t.ppf(alpha/2, 30-1) / scipy.stats.norm.ppf(alpha/2) 1.0700964927577572 The blocker for using t-test CIs was making the SciPy library available to perfcompare when run on the bots. This is achieved by adding a vpython spec file. perfcompare.py is already run through vpython by the fuchsia_perfcompare.py recipe. vpython will download the dependencies specified in .vpython and make them available to perfcompare.py. The dependencies used here are based on those used by Chromium's main .vpython file: https://chromium.googlesource.com/chromium/src/+/33da179d28beb0f03278a04b6ee2d97bbd8daf82/.vpython The numpy and scipy packages come from here: https://chrome-infra-packages.appspot.com/p/infra/python/wheels/ Bug: IN-646 Test: "python perfcompare_test.py" + perfcompare trybot + manually checked that this makes CIs wider by 7% for a given set of perf results Change-Id: Ib3a6b1d733ea328180b804c3f2a080eb6330a263
-
David Worsham authored
We also rename all MZ-* bugs to SCN-*. SCN-580 #comment Change-Id: I82294f7958b529f1deded43a1d6d5210bbe43f6f
-
Brian Bosak authored
This patch fixes various race conditions and thread safety problems in Ethernet/USB drivers. It fixes the following problems: * Allows for safe closure of an EthDev device from out-of-process when transfers are still pending by adding a reference counting mechanism. * Adds static asserts to ensure that our alignment/padding assumptions always hold true. * Fixes a race condition in the CDC Ethernet drivers (both host and peripheral side) where we were trying to talk to the core driver after the core has been shutdown (use-after-free). * Allocates the usb_cdc_t with new instead of calloc and ensure that all members of the struct are properly initialized. * Ensure that all transfers have finished before unbinding the CDC Ethernet driver (both host and peripheral side). * Ensure that it is impossible to queue a packet to a peripheral-side USB bus when it is shut down. FLK-152 Test: https://fuchsia-review.googlesource.com/c/fuchsia/+/272148/ Change-Id: Ic32a128ba3ba3eb09d1b60aeb744726aa9988d3c
-
Aaron Green authored
This CL appends the 'implicit_deps' passed to the standard_environments template to those specified in the standard_environments list for each variant. SEC-251 Tests: Built with gcc, clang, and asan Change-Id: Ibfc7962ef0224c07d56c4b32833605549b7337ca
-
Petr Hosek authored
This flag enables automatic varible initialization for C/C++. See https://reviews.llvm.org/D54604 for more details. Change-Id: I81a22db76c925b14731def42abd49168aa0265e4
-
Aaron Green authored
This CL adds the TestInit, TestUpdate, and TestFinal tests that were defined but not being run. It also fixes a minor bug exposed by TestFinal. Tests: /boot/test/sys/crypto_test Change-Id: If478aec1d7d6aee5daa0eefb4919f184032e3428
-
Venkatesh Srinivas authored
scsi::Disk in scsilib connects a SCSI Direct Access Block Device to the Fuchsia block device layer, translating queued Ops to SCSI commands. Write a unit test using an in-test fake controller. Initially just test that a controller can be created and that INQUIRY and READ CAPACITY (16) are executed during startup. Also test that the DDK block size is the same as the size reported via the SCSI commands. Subsequent test cases will check the properties of the block device and execute I/O. ZX-2314 ZX-3757 Change-Id: I3625a92a8ffa302b5b9e5667aaeed30a2ef5c0d9
-
Sam Balana authored
Change-Id: Iad301c5a837d53ccbf81b1e253e01ca91050b4a7
-
Yifei Teng authored
Previously, the vfs validated the entire path length but did not validate the length of each individual components. When a client opens a path with a component larger than NAME_MAX, it would trigger debug assertions in minfs, which expect each path component to be within that limit. ZX-3924 #done TEST: /boot/test/fs/fs-test Change-Id: I3d64f2c253591eab5dff9a8fd4b1d7abefbf6388
-