Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.0.0
-
Kubernetes.
-
Untriaged
-
Unknown
Description
I will list all the issues that needs to be fixed w.r.t to Eventing debugger.
1) Debugging url is not generated using the rest api which was previously working
Script to Repro
./testrunner -i /tmp/testexec.11315.ini -p get-cbcollect-info=True -t eventing.eventing_lifecycle.EventingLifeCycle.test_eventing_debugger,nodes_init=4,services_init=kv-eventing-index-n1ql,dataset=default,groups=simple,reset_services=True,skip_cleanup=True
|
Log : test_6.zip
2) Source maps are not getting generated in kubernetes.
'use strict';
|
function OnUpdate(doc, meta) {
|
var doc_id = meta.id;
|
dst_bucket[doc_id] = 'test value';
|
}
|
function OnDelete(meta) {
|
delete dst_bucket[meta.id];
|
}
|
|
//# sourceMappingURL=http://test-couchbase-dtb2x-0001.test-couchbase-dtb2x.ashwin.svc:8096/debugging/eventingFunc.map.json
|
// Copyright (c) 2017 Couchbase, Inc.
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
// you may not use this file except in compliance with the License.
|
// You may obtain a copy of the License at
|
// http://www.apache.org/licenses/LICENSE-2.0
|
// Unless required by applicable law or agreed to in writing,
|
// software distributed under the License is distributed on an "AS IS"
|
// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
// or implied. See the License for the specific language governing
|
// permissions and limitations under the License.
|
3) Killing of the eventing debugger processes respawns all the eventing consumers.
Ashwins-MacBook-Pro:couchbase-operator]$ kubectl exec test-couchbase-dtb2x-0001 -ti bash
|
root@test-couchbase-dtb2x-0001:/# ps -ef | grep "eventing-consu"
|
couchba+ 414 365 0 10:37 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_0.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_0.sock worker_eventingFunc_0 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 422 365 0 10:37 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_1.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_1.sock worker_eventingFunc_1 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 423 365 0 10:37 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_2.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_2.sock worker_eventingFunc_2 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 477 365 0 10:44 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/debug_worker_eventingFunc_0.sock /tmp/debug_feedback_worker_eventingFunc_0.sock worker_eventingFunc_0 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096 debug
|
root 494 485 0 10:46 pts/0 00:00:00 grep --color=auto eventing-consu
|
root@test-couchbase-dtb2x-0001:/# kill -9 477
|
root@test-couchbase-dtb2x-0001:/# ps -ef | grep "eventing-consu"
|
couchba+ 414 365 0 10:37 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_0.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_0.sock worker_eventingFunc_0 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 422 365 0 10:37 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_1.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_1.sock worker_eventingFunc_1 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 423 365 0 10:37 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_2.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_2.sock worker_eventingFunc_2 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 495 365 0 10:46 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/debug_worker_eventingFunc_0.sock /tmp/debug_feedback_worker_eventingFunc_0.sock worker_eventingFunc_0 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096 debug
|
root 501 485 0 10:46 pts/0 00:00:00 grep --color=auto eventing-consu
|
root@test-couchbase-dtb2x-0001:/# kill -9 495
|
root@test-couchbase-dtb2x-0001:/#
|
root@test-couchbase-dtb2x-0001:/# ps -ef | grep "eventing-consu"
|
couchba+ 414 365 0 10:37 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_0.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_0.sock worker_eventingFunc_0 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 422 365 0 10:37 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_1.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_1.sock worker_eventingFunc_1 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 423 365 0 10:37 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_2.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_2.sock worker_eventingFunc_2 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 502 365 0 10:46 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/debug_worker_eventingFunc_0.sock /tmp/debug_feedback_worker_eventingFunc_0.sock worker_eventingFunc_0 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096 debug
|
root 509 485 0 10:46 pts/0 00:00:00 grep --color=auto eventing-consu
|
root@test-couchbase-dtb2x-0001:/# ps -ef | grep "eventing-consu"
|
root 528 485 0 10:47 pts/0 00:00:00 grep --color=auto eventing-consu
|
root@test-couchbase-dtb2x-0001:/# ps -ef | grep "eventing-consu"
|
couchba+ 529 515 1 10:47 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_0.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_0.sock worker_eventingFunc_0 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 536 515 1 10:47 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_1.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_1.sock worker_eventingFunc_1 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
couchba+ 538 515 1 10:47 ? 00:00:00 eventing-consumer eventingFunc af_unix /tmp/127.0.0.1:8091_worker_eventingFunc_2.sock /tmp/feedback_127.0.0.1:8091_worker_eventingFunc_2.sock worker_eventingFunc_2 100 100 /opt/couchbase/var/lib/couchbase/crash ipv4 true 1347359684 eventing 8096
|
root 563 485 0 10:47 pts/0 00:00:00 grep --color=auto eventing-consu
|
root@test-couchbase-dtb2x-0001:/#
|
Thanks to Ashwin Govindarajulu for helping us out with K8's testing.
Attachments
Issue Links
- relates to
-
MB-28555 Ability to Specify the Port for the Debugger
- Resolved