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

Loading travel-sample bucket fails

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      I'm on a sync'd neo repo as of this morning. I create and configure a one-node cluster_run cluster with all services. When I load the travel-sample bucket it fails.

      Loading sample bucket travel-sample failed. Samples loader exited with status 1.
      Loader's output was:
       
      2022-07-08T10:47:46.158-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools'
      2022-07-08T10:47:46.159-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools'
      2022-07-08T10:47:46.159-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default'
      2022-07-08T10:47:46.161-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools/default'
      2022-07-08T10:47:46.161-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets'
      2022-07-08T10:47:46.162-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets'
      2022-07-08T10:47:46.162-07:00 (REST) Successfully connected to cluster | {"enterprise":true,"uuid":"412ca22bd4d03bc64fa87eec8fa1ff8c","developer_preview":false,"version":{"min_version":"7.1.2","is_mixed_cluster":false},"max_vbuckets":0,"uniform_vbuckets":true}
      2022-07-08T10:47:46.239-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:46.239-07:00 (REST) (Attempt 1) (GET) (404) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:46.239-07:00 WARN: (REST) (Attempt 1) (GET) Request to endpoint '/pools/default/buckets/travel-sample' failed with status code 404 -- logging.(*ToolsCommonLogger).Log() at tools_common.go:28
      2022-07-08T10:47:46.240-07:00 (Plan) (Bucket) Creating remote bucket 'travel-sample' if it does not exist
      2022-07-08T10:47:46.240-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:46.240-07:00 (REST) (Attempt 1) (GET) (404) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:46.240-07:00 WARN: (REST) (Attempt 1) (GET) Request to endpoint '/pools/default/buckets/travel-sample' failed with status code 404 -- logging.(*ToolsCommonLogger).Log() at tools_common.go:28
      2022-07-08T10:47:46.240-07:00 Bucket travel-sample does not exist, creating one with the specified settings
      2022-07-08T10:47:46.240-07:00 (REST) (Attempt 1) (POST) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets'
      2022-07-08T10:47:46.357-07:00 (REST) (Attempt 1) (POST) (202) Received response from 'http://127.0.0.1:9000/pools/default/buckets'
      2022-07-08T10:47:46.357-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:46.364-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:47.357-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:47.359-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.357-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.359-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.359-07:00 (Plan) (Bucket) Successfully ensured bucket 'travel-sample' exists | {"number":1,"duration":"2.119077535s"}
      2022-07-08T10:47:48.359-07:00 (Plan) (Bucket) Automatically creating/editing scopes/collections for bucket 'travel-sample'
      2022-07-08T10:47:48.359-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.360-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.360-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample/scopes'
      2022-07-08T10:47:48.361-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample/scopes'
      2022-07-08T10:47:48.361-07:00 (REST) (Attempt 1) (POST) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample/scopes/@ensureManifest/0'
      2022-07-08T10:47:48.362-07:00 (REST) (Attempt 1) (POST) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample/scopes/@ensureManifest/0'
      2022-07-08T10:47:48.362-07:00 (REST) (Attempt 1) (PUT) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample/scopes?validOnUid=0'
      2022-07-08T10:47:48.439-07:00 (REST) (Attempt 1) (PUT) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample/scopes?validOnUid=0'
      2022-07-08T10:47:48.439-07:00 (REST) (Attempt 1) (POST) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample/scopes/@ensureManifest/1'
      2022-07-08T10:47:48.444-07:00 (REST) (Attempt 1) (POST) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample/scopes/@ensureManifest/1'
      2022-07-08T10:47:48.444-07:00 (Plan) (Bucket) Successfully created/edited scopes/collections for bucket 'travel-sample' | {"number":2,"duration":"85.287519ms"}
      2022-07-08T10:47:48.444-07:00 (Plan) (Bucket) Transferring bucket configuration for bucket 'travel-sample'
      2022-07-08T10:47:48.444-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.446-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.446-07:00 Editing bucket to conform with settings provided
      2022-07-08T10:47:48.446-07:00 (REST) (Attempt 1) (POST) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.503-07:00 (REST) (Attempt 1) (POST) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.503-07:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.505-07:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://127.0.0.1:9000/pools/default/buckets/travel-sample'
      2022-07-08T10:47:48.505-07:00 (Plan) (Bucket) Successfully transferred bucket configuration for bucket 'travel-sample' | {"number":3,"duration":"60.882271ms"}
      2022-07-08T10:47:48.505-07:00 (Plan) (Index) Transferring views definitions for bucket 'travel-sample'
      2022-07-08T10:47:48.576-07:00 (Plan) (Index) Successfully transferred views definitions for bucket 'travel-sample' | {"number":4,"duration":"70.951589ms"}
      2022-07-08T10:47:48.576-07:00 (Plan) (Query) Transferring Query metadata for bucket 'travel-sample'
      2022-07-08T10:47:48.576-07:00 (Plan) (Query) Successfully transferred Query metadata for bucket 'travel-sample' | {"number":5,"duration":"7.097┬Ás"}
      2022-07-08T10:47:48.576-07:00 (Plan) (Query) Executing queries for bucket 'travel-sample'
      2022-07-08T10:47:48.640-07:00 (Couchbase) Creating Query connection to cluster 'couchbase://127.0.0.1:12000'
      2022-07-08T10:47:48.653-07:00 (Couchbase) Successfully created Query connection to cluster 'couchbase://127.0.0.1:12000'
      2022-07-08T10:47:53.980-07:00 (Plan) (Query) Successfully executed queries for bucket 'travel-sample' | {"number":6,"duration":"5.404032717s"}
      2022-07-08T10:47:53.980-07:00 (Plan) (Analytics) Executing queries for bucket 'travel-sample'
      2022-07-08T10:47:54.044-07:00 (Couchbase) Creating Query connection to cluster 'couchbase://127.0.0.1:12000'
      2022-07-08T10:47:54.069-07:00 (Couchbase) Successfully created Analytics connection to cluster 'couchbase://127.0.0.1:12000'
      2022-07-08T10:47:58.048-07:00 JSON import failed: failed to execute cluster operations: failed to execute bucket operation for bucket 'travel-sample': failed to execute Analytics queries for bucket 'travel-sample': failed to execute queries against sink bucket: failed to execute query: analytics error | {"statement":"CONNECT LINK `travel-sample`.inventory.Local;","client_context_id":"e8281d68-bc5c-421b-8ab2-47715af61e19","errors":[{"Code":22001,"Message":"Connect link failed {\"`travel-sample`.inventory.Local.travel-sample\" : \"Internal error\"}"}],"error_text":"[{ \n\t\t\"code\": 22001,\t\t\"msg\": \"Connect link failed {\\\"`travel-sample`.inventory.Local.travel-sample\\\" : \\\"Internal error\\\"}\"\t} \n\t]","http_status_code":500}
      JSON import failed: analytics error
      

      Happens every time. I've collected a cbcollect https://s3.amazonaws.com/cb-engineering/stevewatanabe/travel-sample-load-failure-08JULY2022/collectinfo-2022-07-08T175215-n_0%40127.0.0.1.zip

      Attachments

        Issue Links

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

          Activity

            michael.blow Michael Blow added a comment -

            The issue can happen currently when the build team advances the product version, without an intervening 'clean'. I will push a change which protects against this to prevent hitting this in the future.

            michael.blow Michael Blow added a comment - The issue can happen currently when the build team advances the product version, without an intervening 'clean'. I will push a change which protects against this to prevent hitting this in the future.
            michael.blow Michael Blow added a comment -

            This issue should no longer manifest, on 7.1.2 and newer- you still can hit this on 7.0.x & 6.6.x.

            michael.blow Michael Blow added a comment - This issue should no longer manifest, on 7.1.2 and newer- you still can hit this on 7.0.x & 6.6.x.

            Build couchbase-server-7.1.2-3365 contains cbas-core commit 6f2c632 with commit message:
            MB-52890: ensure clean dir when staging current version jars

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.2-3365 contains cbas-core commit 6f2c632 with commit message: MB-52890 : ensure clean dir when staging current version jars

            Build couchbase-server-7.2.0-1609 contains cbas-core commit 6f2c632 with commit message:
            MB-52890: ensure clean dir when staging current version jars

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1609 contains cbas-core commit 6f2c632 with commit message: MB-52890 : ensure clean dir when staging current version jars

            Build couchbase-server-8.0.0-1052 contains cbas-core commit 6f2c632 with commit message:
            MB-52890: ensure clean dir when staging current version jars

            build-team Couchbase Build Team added a comment - Build couchbase-server-8.0.0-1052 contains cbas-core commit 6f2c632 with commit message: MB-52890 : ensure clean dir when staging current version jars

            People

              steve.watanabe Steve Watanabe
              steve.watanabe Steve Watanabe
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty