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

[BP 7.0.2 MB-47970] - [enforce-tls] Connection::isPacketAvailable(): Invalid packet header detected. Cookies: []

    XMLWordPrintable

Details

    Description

      guides/gradlew --refresh-dependencies testrunner -P jython=/opt/jython/bin/jython -P 'args=-i /tmp/durability_volume.ini rerun=False,GROUP=specific -t ns_server.enforce_tls.EnforceTls.test_all_encrypted_and_non_encrypted_ports,nodes_init=1,bucket_size=100,services_init=kv:n1ql:index:fts:cbas:eventing:backup,GROUP=specific'

      Steps
      1. Create one node cluster with all services

      2021-08-17 02:57:28,677 | test  | INFO    | MainThread | [table_view:display:72] Cluster statistics
      +----------------+----------------------------------------------+-----------------+-----------+----------+-----------------------+-------------------+-----------------------+
      | Node           | Services                                     | CPU_utilization | Mem_total | Mem_free | Swap_mem_used         | Active / Replica  | Version               |
      +----------------+----------------------------------------------+-----------------+-----------+----------+-----------------------+-------------------+-----------------------+
      | 172.23.105.215 | backup, cbas, eventing, fts, index, kv, n1ql | 25.9959141982   | 3.91 GiB  | 3.12 GiB | 141.00 MiB / 3.50 GiB | 63288 / 0         | 7.1.0-1156-enterprise |
      +----------------+----------------------------------------------+-----------------+-----------+----------+-----------------------+-------------------+-----------------------+

      2. Create one couchstore bucket

      +----------------------------------------------------------------------------------+-----------+-----------------+----------+------------+-----+-------+------------+----------+-----------+-----+
      | Bucket                                                                           | Type      | Storage Backend | Replicas | Durability | TTL | Items | RAM Quota  | RAM Used | Disk Used | ARR |
      +----------------------------------------------------------------------------------+-----------+-----------------+----------+------------+-----+-------+------------+----------+-----------+-----+
      | 2T52V7h-RSC1Vn%p6yEJLRaZFEqMi7OnCdBQkzy051BVSJLA0DcYIvS_Nu5vG2XzHRfxjP-28-969000 | couchbase | couchstore      | 1        | none       | 0   | 0     | 100.00 MiB | 1.47 MiB | 8.07 MiB  | 100 |
      +----------------------------------------------------------------------------------+-----------+-----------------+----------+------------+-----+-------+------------+----------+-----------+-----+

      3. Enforce tls

      2021-08-17 02:57:43,345 | test  | INFO    | MainThread | [enforce_tls:set_n2n_encryption_level_on_nodes:38] Enabling n2n encryption and setting level to strict on node ip:172.23.105.215 port:8091 ssh_username:root

      4. Validate that services obey TLS by grepping addresses and non-ssl and tls ports
      5. Validate memacached logs for any traces of error

      02:57:47, Test's start timestamp is 2021-08-17 02:55:42.933000
      2021-08-17 02:58:16,667 | test  | INFO    | MainThread | [basetestcase:check_coredump_exist:888] unwanted messages in /opt/couchbase/var/lib/couchbase/logs/memcached.log.000011.txt
      2021-08-17 02:58:16,667 | test  | CRITICAL | MainThread | [basetestcase:check_coredump_exist:890] 172.23.105.215: Found ' ERROR ' logs - ['2021-08-17T02:57:47.924997-07:00 ERROR 144: Exception occurred during packet execution. Closing connection: Connection::isPacketAvailable(): Invalid packet header detected. Cookies: []\n']

      (this is typically a 7.0.2 test but also run on Neo)

      Attachments

        Issue Links

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

          Activity

            People

              sumedh.basarkod Sumedh Basarkod (Inactive)
              jeelan.poola Jeelan Poola
              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