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

All Analytics tests are failing due to no_duplicates in request params

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      Recently, all of the Analytics tests started failing with the below error. This seems to be due to the following 2 changes that handle duplicate request parameters:

      https://review.couchbase.org/c/ns_server/+/194908

      https://review.couchbase.org/c/ns_server/+/195066

       

      Analytics can specify multiple paths as mentioned in the documentation:

      https://docs.couchbase.com/server/current/cli/cbcli/couchbase-cli-node-init.html#options

      --node-init-analytics-path

      The path to store files create by the Couchbase Analytics service. This flag can only be specified against a node that is not yet part of a cluster. Multiple paths can be specified by setting this option multiple times.

       

      Error sample:

      2023-08-10T09:26:15.783-07:00 INFO ClusterIntegrationIT [main] Running cli: node-init -c 172.17.0.2:9000 -u couchbase -p couchbase --node-init-data-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/datadir --node-init-index-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/datadir --ipv4 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_0 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_1 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_2 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_3 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_4 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_5 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_6 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_7 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_8 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_9 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_10 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_11 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_12 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_13 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_14 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_15 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_16 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_17 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_18 --node-init-analytics-path /home/couchbase/jenkins/workspace/cbas-cbcluster-test3/ns_server/data/n_0/analytics_datadir/io_device_19 --node-init-hostname 172.17.0.2
      2023-08-10T09:26:15.942-07:00 INFO ClusterIntegrationIT [main+] >> ERROR: analyticsPath - Key specified more than once 

      Attachments

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

        Activity

          People

            Hussain.Towaileb Hussain Towaileb
            Hussain.Towaileb Hussain Towaileb
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty