Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-56172

[BP of MB-56177]: Eventing function deployment is failing with ERR_PROCESSING_OR_DEPLOYMENT_STATUS_NOT_FOUND error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • 7.2.0
    • 7.2.0
    • eventing
    • 7.2.0-5267 EE Build
    • Untriaged
    • Linux x86_64
    • 0
    • Yes

    Description

      Issue is similar to MB-49092.

      QE TEST

      ./testrunner -i /tmp/testexec.85408.ini -p get-cbcollect-info=True,GROUP=source_bucket_mutation_timers -t eventing.eventing_rebalance.EventingRebalance.test_rebalance_out_with_different_topologies,doc-per-day=20,dataset=default,nodes_init=3,services_init=kv:index:n1ql-index:eventing:n1ql-index:eventing:n1ql,groups=simple,server_out=2,reset_services=True,handler_code=source_bucket_mutation_with_timers,source_bucket_mutation=True,GROUP=source_bucket_mutation_timers
      

      ERROR

      ERROR - POST http://172.23.109.201:8096/api/v1/functions/Function_82673618_test_rebalance_out_with_different_topologies/deploy?bucket=src_bucket&scope=_default body:  headers: {'Content-type': 'application/json', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA=='} error: 400 reason: unknown b'{\n "name": "ERR_PROCESSING_OR_DEPLOYMENT_STATUS_NOT_FOUND",\n "code": 23,\n "description": "Failed to find app status"\n}'
      

      On 172.23.109.201

      eventing.log

      2023-03-27T21:10:09.959-07:00 [Error] util::CheckIfAppBootstrapOngoing Failed to interpret bootstrap status from url: http://172.23.109.64:8096/getBootstrapAppStatus?appName=Function_82673618_test_rebalance_out_with_different_topologies&bucket=src_bucket&scope=_default, err: strconv.ParseBool: parsing "{\n \"name\": \"ERR_APP_NOT_FOUND_TS\",\n \"code\": 13,\n \"description\": \"Function: src_bucket/_default/Function_82673618_test_rebalance_out_with_different_topologies not found\"\n}": invalid syntax
      2023-03-27T21:10:09.959-07:00 [Error] ServiceMgr::getAggBootstrapAppStatus failed to grab correct bootstrap status of app from some/all nodes, err: strconv.ParseBool: parsing "{\n \"name\": \"ERR_APP_NOT_FOUND_TS\",\n \"code\": 13,\n \"description\": \"Function: src_bucket/_default/Function_82673618_test_rebalance_out_with_different_topologies not found\"\n}": invalid syntax
      2023-03-27T21:10:09.959-07:00 [Error] util::GetAggBootstrapAppStatus Failed to interpret bootstrap status from url: http://127.0.0.1:8096/getAggBootstrapAppStatus?appName=Function_82673618_test_rebalance_out_with_different_topologies&bucket=src_bucket&scope=_default, err: strconv.ParseBool: parsing "{\n \"name\": \"INTERNAL_SERVER_ERROR\",\n \"code\": 59,\n \"attributes\": [\n  \"retry\"\n ],\n \"description\": \"Failed to get progress err: strconv.ParseBool: parsing \\\"{\\\\n \\\\\\\"name\\\\\\\": \\\\\\\"ERR_APP_NOT_FOUND_TS\\\\\\\",\\\\n \\\\\\\"code\\\\\\\": 13,\\\\n \\\\\\\"description\\\\\\\": \\\\\\\"Function: src_bucket/_default/Function_82673618_test_rebalance_out_with_different_topologies not found\\\\\\\"\\\\n}\\\": invalid syntax\"\n}": invalid syntax
      2023-03-27T21:10:09.959-07:00 [Error] ServiceMgr::setSettings strconv.ParseBool: parsing "{\n \"name\": \"INTERNAL_SERVER_ERROR\",\n \"code\": 59,\n \"attributes\": [\n  \"retry\"\n ],\n \"description\": \"Failed to get progress err: strconv.ParseBool: parsing \\\"{\\\\n \\\\\\\"name\\\\\\\": \\\\\\\"ERR_APP_NOT_FOUND_TS\\\\\\\",\\\\n \\\\\\\"code\\\\\\\": 13,\\\\n \\\\\\\"description\\\\\\\": \\\\\\\"Function: src_bucket/_default/Function_82673618_test_rebalance_out_with_different_topologies not found\\\\\\\"\\\\n}\\\": invalid syntax\"\n}": invalid syntax
      

      NOTE
      Around 8-10 topology related tests are failing due to this issue. All these tests were passing on 5256 weekly build. No Eventing changes went in between these 2 builds - http://changelog.build.couchbase.com/?product=couchbase-server&fromVersion=7.2.0&fromBuild=5256&toVersion=7.2.0&toBuild=5267&f_asterixdb=on&f_cbas=on&f_cbas-core=on&f_indexing=on&f_kv_engine=on&f_magma=on&f_query=on&f_query-ui=on&f_testrunner=on&f_voltron=on.

      EVENTING NODES

      • 172.23.109.201
      • 172.23.109.64

      PFA logs from both Eventing nodes.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sujay.gad Sujay Gad
            sujay.gad Sujay Gad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty