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

race condition while loading sample data via setup wizard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.2.0
    • 2.0-beta-2
    • ns_server, tools
    • Security Level: Public
    • None

    Description

      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38769:[ns_server:debug,2012-11-04T18:32:32.847,ns_1@127.0.0.1:<0.1038.0>:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: "

      {'username': None, 'node': '127.0.0.1:8091', 'password': None, 'bucket': 'gamesim-sample', 'ram_quota': 100}

      ['/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/../samples/gamesim-sample.zip']\nTraceback (most recent call last):\n File \"/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/tools/../../lib/python/cbdocloader\", line 237, in <module>\n main()\n File \"/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/tools/../../lib/python/cbdocloader\", line 226, in main\n docloader.init_bucket()\n File \"/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/tools/../../lib/python/cbdocloader\", line 121, in init_bucket\n "
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38770:[ns_server:debug,2012-11-04T18:32:32.848,ns_1@127.0.0.1:<0.1038.0>:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: "authType='sasl')\n File \"/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/lib/python/couchbase/rest_client.py\", line 799, in create_bucket\n"
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38776:[ns_server:debug,2012-11-04T18:32:32.892,ns_1@127.0.0.1:<0.1038.0>:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: " 'proxyPort': self.get_nodes_self().moxi,\n File \"/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/lib/python/couchbase/rest_client.py\", line 591, in get_nodes_self\n"
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38777:[ns_server:debug,2012-11-04T18:32:32.893,ns_1@127.0.0.1:<0.1038.0>:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: " json_parsed = json.loads(content)\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/_init_.py\", line 326, in loads\n"
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38778:[ns_server:debug,2012-11-04T18:32:32.893,ns_1@127.0.0.1:<0.1038.0>:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: " return _default_decoder.decode(s)\n"
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38779:[ns_server:debug,2012-11-04T18:32:32.893,ns_1@127.0.0.1:<0.1038.0>:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: " File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py\", line 366, in decode\n"
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38780:[ns_server:debug,2012-11-04T18:32:32.894,ns_1@127.0.0.1:<0.1038.0>:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: " obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py\", line 384, in raw_decode\n"
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38781:[ns_server:debug,2012-11-04T18:32:32.894,ns_1@127.0.0.1:<0.1038.0>:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: " raise ValueError(\"No JSON object could be decoded\")\nValueError: No JSON object could be decoded\n"
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38782:[ns_server:debug,2012-11-04T18:32:32.904,ns_1@127.0.0.1:samples_loader_tasks<0.1025.0>:samples_loader_tasks:handle_info:58]Consumed exit signal from samples loading task gamesim-sample: {'EXIT',
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38786:[user:error,2012-11-04T18:32:32.905,ns_1@127.0.0.1:samples_loader_tasks<0.1025.0>:samples_loader_tasks:handle_info:64]Loading sample bucket gamesim-sample failed: {failed_to_load_samples_with_status,
      /Users/farshid/Downloads/ns-diag-20121104183310.txt:38788:[ns_server:debug,2012-11-04T18:32:32.906,ns_1@127.0.0.1:samples_loader_tasks<0.1025.0>:samples_loader_tasks:handle_info:68]Token holder died

      Attachments

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

        Activity

          People

            thuan Thuan Nguyen
            farshid Farshid Ghods (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty