-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUERY] Robustness support of MQTT-hybrid #3510
Conversation
📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #3510. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/. |
90cff62
to
d6af6c9
Compare
cibot: @gichan-jang, apptest could not be completed. To find out the reasons, please go to http://nnstreamer.mooo.com//nnstreamer/ci/repo-workers/pr-checker/3510-202109301450180.98032808303833-d6af6c945ca2ee9a2379a61095d8cbb75d013af9 |
cibot: @gichan-jang, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer/ci/repo-workers/pr-checker/3510-202109301450180.98032808303833-d6af6c945ca2ee9a2379a61095d8cbb75d013af9/. |
efe13ce
to
d87b1c5
Compare
cibot: @gichan-jang, apptest could not be completed. To find out the reasons, please go to http://nnstreamer.mooo.com//nnstreamer/ci/repo-workers/pr-checker/3510-202109301606300.19975590705872-d87b1c5bfd91832d42b4e171df9ba800f445e2cb |
cibot: @gichan-jang, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer/ci/repo-workers/pr-checker/3510-202109301606300.19975590705872-d87b1c5bfd91832d42b4e171df9ba800f445e2cb/. |
d87b1c5
to
072b225
Compare
cibot: @gichan-jang, apptest could not be completed. To find out the reasons, please go to http://nnstreamer.mooo.com//nnstreamer/ci/repo-workers/pr-checker/3510-202109301700320.083643913269043-072b225a835ae8fc26d99961a5622da9cb8729b9 |
cibot: @gichan-jang, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer/ci/repo-workers/pr-checker/3510-202109301700320.083643913269043-072b225a835ae8fc26d99961a5622da9cb8729b9/. |
407b19b
to
de012b2
Compare
cibot: @gichan-jang, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer/ci/repo-workers/pr-checker/3510-202109301859320.76599597930908-de012b20760252287090dd040871ff3da1a79524/. |
6fff044
to
26d40fc
Compare
cibot: @gichan-jang, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer/ci/repo-workers/pr-checker/3510-202110011339030.83104705810547-26d40fc5b31db2d0d3d2feb6aedc1462479e9102/. |
@@ -67,9 +67,11 @@ | |||
#include <tensor_transform/tensor_transform.h> | |||
#include <tensor_if/gsttensorif.h> | |||
#include <tensor_rate/gsttensorrate.h> | |||
#if (ENABLE_NNS_QUERY == 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO, tensor_query/tensor_query_*.h
can hide this line and the following #endif
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh.. Interesting.
But the mqtt-hybrid (using `nnsquery) code will be separated from tensor_query soon, so it will be reverted.
26d40fc
to
9ed7831
Compare
cibot: @gichan-jang, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer/ci/repo-workers/pr-checker/3510-202110051331300.65169906616211-9ed78319e347aeb2c1506f107a59e67703ee06df/. |
Releated issue: nnstreamer#3508 Robustness support of MQTT-hybrid. If the connected server is stop, re-connect to another availabe server. Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
Exclude tensor_query from nnstreamer plugins if nnsquery is not available. Signed-off-by: gichan <gichan2.jang@samsung.com>
9ed7831
to
f14606f
Compare
Add mqtt state change callback instead of uncertain sleep. Signed-off-by: gichan <gichan2.jang@samsung.com> Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
Test robustness of the query pipeline. Server 1 stops when it receivces 3 buffers and the client reconnects to server 2. Signed-off-by: gichan <gichan2.jang@samsung.com> Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
Exclude tensor query from android build until mqtt-hybrid is separated. After the separation works, please revert this commit. Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
f14606f
to
448c418
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gichan-jang, 💯 All CI checkers are successfully verified. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
We should separate mqtt-hybrid feature and base connection of tensor-query later :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✔
Releated issue: 3508
Robustness support of MQTT-hybrid.
If the connected server is stop, re-connect to another availabe server.
*Note: If
nnsquery
package is not found,tensor_query_*
build and tests are skipped. I'll fix it later.To build including this change, you need nnstreamer/nnstreamer-edge#2.
*TODO: MQTT-hybrid will be separated from tensor_query source.
After that, the tensor query will be built without nnsquery.
Test pipeline.
Server 1
Server 2
Client
Signed-off-by: Gichan Jang gichan2.jang@samsung.com
Self evaluation: