9e94fb65 | 10-Jan-2017 |
Lei YU <mine260309@gmail.com> |
Add sleep between retires in bindings
In bindings.py the common retry() function uses a busy loop to retry, in some cases the busy loop just increase the work loads of mapper and the caller still ge
Add sleep between retires in bindings
In bindings.py the common retry() function uses a busy loop to retry, in some cases the busy loop just increase the work loads of mapper and the caller still get the ObjectPathInUse exception. It's better to sleep for a while between retries.
A sleep interval is added as parameter default to 0, so the change does not break existing functions. Then the caller has an option to pass a sleep interval to indiciate it would sleep for an interval between retries.
Change-Id: Ie1f248dc0b1be291dfa597eba2f58ba9bf247d6b Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
5205b16c | 20-Dec-2016 |
Lei YU <mine260309@gmail.com> |
Increase retries times on ObjectPathInUse exception
In get_object_async() when calling ObjectMapper.GetObject(), ObjectPathInUse exception may raise and it will retry. Previously it retries for 5 ti
Increase retries times on ObjectPathInUse exception
In get_object_async() when calling ObjectMapper.GetObject(), ObjectPathInUse exception may raise and it will retry. Previously it retries for 5 times with 1000ms interval, it sometimes cause get_object_async() raise this exception and system_manager will not enter BMC_READY state.
This workaround increases the retry times to 20 and reduce the interval to 500ms, so far the issue is not reproduced.
Partially fix openbmc/openbmc#862
Change-Id: Icaccc31c896e52b1c056007dff5c72d213bb7fa8 Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
66da92df | 04-Jan-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Correct out-of-tree builds for systemd workaround
Change-Id: I27c92f1b31da36a00585fa07376766a1f94e81df Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
c6329c9c | 15-Nov-2016 |
Matthew Barth <msbarth@us.ibm.com> |
Workaround sd_bus_message_append_cmdline
Unable to get libmapper built without systemd being patched with the sd_bus_message_append_cmdline function. Until it is pushed upstream, this is a workaroun
Workaround sd_bus_message_append_cmdline
Unable to get libmapper built without systemd being patched with the sd_bus_message_append_cmdline function. Until it is pushed upstream, this is a workaround to get the available systemd install built for unit testing.
Change-Id: Ieca78955a4182eebd469a860c37ccaedfe75d323 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
f1d7c6e0 | 15-Nov-2016 |
Matthew Barth <msbarth@us.ibm.com> |
Switch to use generated config.h
Remove libmapper/config.h and have configure put generated config.h in libmapper directory.
Change-Id: I3591b719e7b66d532ddad3499c6092166ad9a442 Signed-off-by: Matt
Switch to use generated config.h
Remove libmapper/config.h and have configure put generated config.h in libmapper directory.
Change-Id: I3591b719e7b66d532ddad3499c6092166ad9a442 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
e3bd224d | 02-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add path information on service lookup failure
Change-Id: Ie180b5a206eeb55c02149e5201c381652759bbdc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
e1c7cf9e | 02-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
libmapper: React to DBus API change
Fix up the sdbus client bindings for the new interface filter argument.
Change-Id: Iabbe7ecb88ea261409b406e6499c0f6e96d1c25b Signed-off-by: Brad Bishop <bradleyb
libmapper: React to DBus API change
Fix up the sdbus client bindings for the new interface filter argument.
Change-Id: Iabbe7ecb88ea261409b406e6499c0f6e96d1c25b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
bf464f4a | 01-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add interfaces parameter to python bindings
Expose the new interface filter argument.
Change-Id: Ibf12f6497f45a2e1f71bfa2841dc69f5a37a7b17 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
495ee097 | 01-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Return an error for invalid path argument
The GetAncestors method didn't have any invalid path checking.
Change-Id: Ic69e78aaa6dd414bd77d76d96f47e76480a75f21 Signed-off-by: Brad Bishop <bradleyb@fu
Return an error for invalid path argument
The GetAncestors method didn't have any invalid path checking.
Change-Id: Ic69e78aaa6dd414bd77d76d96f47e76480a75f21 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
1c33c221 | 01-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add interface filters to all methods.
Allow clients to filter the result set on interface(s).
Change-Id: I96d54b88d8a5eca7ca56e01657a3cb7439ff6af6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirre
Add interface filters to all methods.
Allow clients to filter the result set on interface(s).
Change-Id: I96d54b88d8a5eca7ca56e01657a3cb7439ff6af6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
b301f2fa | 05-Oct-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Rename mapper DBus names to match xyz
Use the domain we actually own, per DBus naming best practices.
Change-Id: I69e85d91bcf30bfab5c1d6157f399683b91dda35 Signed-off-by: Brad Bishop <bradleyb@fuzzi
Rename mapper DBus names to match xyz
Use the domain we actually own, per DBus naming best practices.
Change-Id: I69e85d91bcf30bfab5c1d6157f399683b91dda35 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
4a6f9983 | 18-Nov-2016 |
Matthew Barth <msbarth@us.ibm.com> |
Add awk program check and use which one is found
Change-Id: Ia5ab161f83640189350ebe3a53d46834ea8bf9fc Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
7122244c | 04-Oct-2016 |
Matthew Barth <msbarth@us.ibm.com> |
Convert build process to autotools
Replaced the use of a manual Makefile with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within th
Convert build process to autotools
Replaced the use of a manual Makefile with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within the README.md file to build the package.
Change-Id: Id7be6220d32e457b1171d5d98123c6d8f317b380 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
36eb1e52 | 01-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Use config.h defines for path, bus, and interface
Change-Id: I1b3d09caac7fde6e7fd6c5a90a1fe4afa7613f29 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
4b3c0558 | 01-Nov-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
libmapper: add config.h
Add a fake config.h pending autotools switchover.
Change-Id: I777d7b4399107db058329ab29c9299d68cfbd042 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
a562704d | 20-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
python client: general wait utility refactoring
Use a lambda in the wait utility rather than a special wrapper class. Remove unnecessary callback parameters. Add an error callback keyword argument.
python client: general wait utility refactoring
Use a lambda in the wait utility rather than a special wrapper class. Remove unnecessary callback parameters. Add an error callback keyword argument.
Change-Id: I8e759cf6fee5eaf9bf4ac44e7ff6576ced4c16a6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
8ccdaed0 | 20-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
sdbus client: Add proper error handling for ENOENT
Prior, a server error causes the client to hang rather than exit.
Change-Id: I34533358df6227798b970f1214b574b6e5bcec47 Signed-off-by: Brad Bishop
sdbus client: Add proper error handling for ENOENT
Prior, a server error causes the client to hang rather than exit.
Change-Id: I34533358df6227798b970f1214b574b6e5bcec47 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
55b89cd2 | 19-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
server: unmask ObjectManager signals
This slipped by after pyphosphor changed the startup mask state for signals in the ObjectManager/Properties bindings.
Change-Id: I16ff8bb4dc348c158abdbde4671886
server: unmask ObjectManager signals
This slipped by after pyphosphor changed the startup mask state for signals in the ObjectManager/Properties bindings.
Change-Id: I16ff8bb4dc348c158abdbde4671886565e3ad309 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
520473f8 | 19-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
server: non-blocking service discovery
Remove all remaining blocking dbus calls.
Change-Id: I00f87550a7877e207151ce647e04660cbab6ac94 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
3d46879c | 20-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
sdbus client: add retries
Handle busy responses from the server with retries.
Change-Id: I8c13faddec1bfaffe702609f2e682e8b1181946d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
1eba37d3 | 20-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
python client: add retries
Handle busy responses from the server with a retry.
Change-Id: I3b9f6746c7eedb5c7421e032539b15e241eb872e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
2e0436c0 | 19-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
server: prepare for non-blocking discovery
Add deferred signal handling capability, in preparation for receiving signals during service discovery.
Add a "busy" exception for method calls during ser
server: prepare for non-blocking discovery
Add deferred signal handling capability, in preparation for receiving signals during service discovery.
Add a "busy" exception for method calls during service discovery.
Change-Id: Id52efbb4f57837c0f449025cfdcb17965c757220 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
926b35dc | 19-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
server: remove dbus_find_interfaces
This can be a blocking call, so refactor discovery such that an org.freedesktop.Properties.Get call is invoked at discovery time for instrospected objects with as
server: remove dbus_find_interfaces
This can be a blocking call, so refactor discovery such that an org.freedesktop.Properties.Get call is invoked at discovery time for instrospected objects with associations.
Change-Id: I9c4d54bbc3834c7970eac23cba4045fc4dd0cd6a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
5d4890c2 | 19-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
server: remove discovery async
Move a number of initialization items out of the initial discovery into the Mapper constructor. No functional impact but faciliates refactoring in prep for non-blocki
server: remove discovery async
Move a number of initialization items out of the initial discovery into the Mapper constructor. No functional impact but faciliates refactoring in prep for non-blocking discovery.
Change-Id: Ida97a3829166dbbf55481f58ffd13474660d7afc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
26bea1df | 19-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
server: remove unused tagmatch
Change-Id: I179b6a043067f25ea7edfc2db23ed48763a5319a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |