Uploaded image for project: 'Couchbase Mobile'
  1. Couchbase Mobile
  2. CM-876

testapp is throwing 400 while accessing database_copy api

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Lithium
    • Lithium
    • None
    • None

    Description

      Build -3.0.0-44

      Platform : C-windows

      Test name
      test_copy_prebuilt_database[True]

      Jenkins url :

      http://uberjenkins.sc.couchbase.com:8080/view/C-Runs/job/CBLITE_CLIB_windows-Listener-Functional-XATTRS-DELTA-SYNC-tests/2/artifact/results/report.html

      API : database_copy

      Request :
      http://10.100.161.31:8080/database_copy

      {"dbName": "\"copiedDB1626468183.4514902\"", "dbPath": "\"Databases/PrebuiltDB.cblite2/\"", "dbConfig": "\"@2_10.100.161.31_C\""}

      Response:
      > raise Exception(str(err) + cont)
      E Exception: 400 Client Error: Bad Request for url: http://10.100.161.31:8080/database_copyError 400: Bad Request
      E Exception caught during router handling: not found

      Log Before the actual call:

      ********
      ----------------------------- Captured stdout call -----------------------------cluster_topology: {'sync_gateways': [{'public': 'https://172.23.104.193:4984', 'admin': 'https://172.23.104.193:4985'}], 'sg_accels': [], 'couchbase_servers': ['http://172.23.104.192:8091'], 'load_balancers': []}
      mode: cc
      xattrs_enabled: True
      {"log_level": "\"verbose\"", "directory": "\"\"", "max_rotate_count": "I2", "max_size": "L51200000", "plain_text": "true"}
      ********
      Got response: 
       
      ********
      {}
      ********
      "C:\Windows\Temp\\log_1626468214979"
      ********
      Log files available at - C:\Windows\Temp\\log_1626468214979
      Creating a Database cbl-test1626468215.2164025 at test setup
      {"password": "\"password\""}
      ********
      Got response: "@0_10.100.161.31_C"
      "@0_10.100.161.31_C"
      ********
      {"name": "\"cbl-test1626468215.2164025\"", "config": "\"@0_10.100.161.31_C\""}
      ********
      Got response: "@1_10.100.161.31_C"
      "@1_10.100.161.31_C"
      ********
      Getting the database name
      {"database": "\"@1_10.100.161.31_C\""}
      ********
      "cbl-test1626468215.2164025"
      ********
      {"database": "\"@1_10.100.161.31_C\""}
      ********
      "C:\Users\administrator\Desktop\TestServer\testserver_windesktop_x64-3.0.0-44\cbl-test1626468215.2164025.cblite2\"
      {"database": "\"@1_10.100.161.31_C\""}
      ********
      "cbl-test1626468183.1302643"
      ********
      {"database": "\"@1_10.100.161.31_C\""}
      ********
      "C:\Users\administrator\Desktop\TestServer\testserver_windesktop_x64-3.0.0-44\cbl-test1626468183.1302643.cblite2\"
      ********
      {"database": "\"@1_10.100.161.31_C\""}
      ********
      Got response: 
       
      ********
      {}
      ********
      Got response: "@2_10.100.161.31_C"
      "@2_10.100.161.31_C"
      ********
      {"dbPath": "\"Databases/PrebuiltDB.cblite2\""}
      ********
      "Databases/PrebuiltDB.cblite2/"
      ********
      http://10.100.161.31:8080/database_copy
      {"dbName": "\"copiedDB1626468183.4514902\"", "dbPath": "\"Databases/PrebuiltDB.cblite2/\"", "dbConfig": "\"@2_10.100.161.31_C\""}
      

      Attachments

        Issue Links

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

          Activity

            People

              manasa.ghanta Manasa Ghanta (Inactive)
              manasa.ghanta Manasa Ghanta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty