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

Standalone tools package missing for Linux aarch64

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 7.1.2
    • 7.1.2
    • build
    • Untriaged
    • 1
    • Unknown
    • Build Team 2022 Sprint 17

    Description

      From Hyun-Ju Vega :

      I noticed that there isn’t a tools package for ARM — http://172.23.126.166/builds/latestbuilds/couchbase-server/neo/3433/
      I only see these:
      couchbase-server-tools_7.1.2-3433-linux_x86_64.tar.gz
      couchbase-server-tools_7.1.2-3433-macos_x86_64.zip
      couchbase-server-tools_7.1.2-3433-windows_amd64.zip

      Attachments

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

        Activity

          Build couchbase-server-8.0.0-1115 contains build commit b70f953 with commit message:
          MB-53735: Enable standalone tools package build for aarch64

          build-team Couchbase Build Team added a comment - Build couchbase-server-8.0.0-1115 contains build commit b70f953 with commit message: MB-53735 : Enable standalone tools package build for aarch64

          Build couchbase-lite-ios-2.8.9-31 contains build commit b70f953 with commit message:
          MB-53735: Enable standalone tools package build for aarch64

          build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-2.8.9-31 contains build commit b70f953 with commit message: MB-53735 : Enable standalone tools package build for aarch64
          hyun-ju.vega Hyun-Ju Vega added a comment - - edited

          Picked up couchbase-server-tools_7.1.2-3434-linux_aarch64.tar.gz and was able to run cbimport, cbexport, and cbbackupmgr commands.

          $ cd /home/ec2-user/tools
           
          $ ls
          couchbase-server-tools_7.1.2-3434-linux_aarch64.tar.gz
           
          $ gunzip -c couchbase-server-tools_7.1.2-3434-linux_aarch64.tar.gz | tar -xvf -
           
          $ ls -ltra
          total 60136
          -rw-r--r-- 1 ec2-user ec2-user    87316 Sep 20 00:44 README.txt
          -rw-r--r-- 1 ec2-user ec2-user    46568 Sep 20 00:44 LICENSE.txt
          drwxr-xr-x 2 ec2-user ec2-user       57 Sep 20 00:47 bin
          drwxr-xr-x 4 ec2-user ec2-user       28 Sep 20 01:01 share
          drwxr-xr-x 2 ec2-user ec2-user      251 Sep 20 01:01 lib
          drwx------ 9 ec2-user ec2-user     4096 Sep 21 05:47 ..
          -rw-r--r-- 1 ec2-user ec2-user 61435438 Sep 21 05:47 couchbase-server-tools_7.1.2-3434-linux_aarch64.tar.gz
          drwxrwxr-x 5 ec2-user ec2-user      140 Sep 21 05:47 .
           
          $ cd bin
          $ ls -l
          total 118036
          -rwxr-xr-x 1 ec2-user ec2-user 48967680 Sep 20 00:47 cbbackupmgr
          -rwxr-xr-x 1 ec2-user ec2-user 35165944 Sep 20 00:47 cbexport
          -rwxr-xr-x 1 ec2-user ec2-user 36730096 Sep 20 00:47 cbimport
           
          The following commands all ran successfully:
           
          $ ./cbimport csv --infer-types -c localhost -u Administrator -p password -b 'testbucket1' --scope-collection-exp "scope1.collection2" -g "#UUID#" -d 'file:///home/ec2-user/airlines.csv'
           
          $ ./cbexport json -c localhost -u Administrator -p password -b testbucket1 -f lines -o export.out --scope-field scope_name --collection-field collection_name
           
          $ ./cbbackupmgr config -a az://arm-backups-20220920 -r repo1 --obj-staging-dir /home/ec2-user/cb_staging_20220920 --obj-access-key-id xxxblobstore1 --obj-secret-access-key xxx4i7oJ1n58W+9mw==
           
          $ ./cbbackupmgr backup -a az://arm-backups-20220920 -r repo1 -c localhost -u Administrator -p password --obj-staging-dir /home/ec2-user/cb_staging_20220920 --obj-access-key-id xxxblobstore1 --obj-secret-access-key xxx4i7oJ1n58W+9mw==
           
          $ ./cbbackupmgr restore -a az://arm-backups-20220920 -r repo1 -c localhost -u Administrator -p password --obj-staging-dir /home/ec2-user/cb_staging_20220920 --obj-access-key-id xxxblobstore1 --obj-secret-access-key xxx4i7oJ1n58W+9mw== --map-data testbucket1=testbucket2 --auto-create-buckets
           
          
          

          hyun-ju.vega Hyun-Ju Vega added a comment - - edited Picked up couchbase-server-tools_7.1.2-3434-linux_aarch64.tar.gz and was able to run cbimport, cbexport, and cbbackupmgr commands. $ cd /home/ec2-user/tools   $ ls couchbase-server-tools_7.1.2-3434-linux_aarch64.tar.gz   $ gunzip -c couchbase-server-tools_7.1.2-3434-linux_aarch64.tar.gz | tar -xvf -   $ ls -ltra total 60136 -rw-r--r-- 1 ec2-user ec2-user    87316 Sep 20 00:44 README.txt -rw-r--r-- 1 ec2-user ec2-user    46568 Sep 20 00:44 LICENSE.txt drwxr-xr-x 2 ec2-user ec2-user       57 Sep 20 00:47 bin drwxr-xr-x 4 ec2-user ec2-user       28 Sep 20 01:01 share drwxr-xr-x 2 ec2-user ec2-user      251 Sep 20 01:01 lib drwx------ 9 ec2-user ec2-user     4096 Sep 21 05:47 .. -rw-r--r-- 1 ec2-user ec2-user 61435438 Sep 21 05:47 couchbase-server-tools_7.1.2-3434-linux_aarch64.tar.gz drwxrwxr-x 5 ec2-user ec2-user      140 Sep 21 05:47 .   $ cd bin $ ls -l total 118036 -rwxr-xr-x 1 ec2-user ec2-user 48967680 Sep 20 00:47 cbbackupmgr -rwxr-xr-x 1 ec2-user ec2-user 35165944 Sep 20 00:47 cbexport -rwxr-xr-x 1 ec2-user ec2-user 36730096 Sep 20 00:47 cbimport   The following commands all ran successfully:   $ ./cbimport csv --infer-types -c localhost -u Administrator -p password -b 'testbucket1' --scope-collection-exp "scope1.collection2" -g "#UUID#" -d 'file:///home/ec2-user/airlines.csv'   $ ./cbexport json -c localhost -u Administrator -p password -b testbucket1 -f lines -o export.out --scope-field scope_name --collection-field collection_name   $ ./cbbackupmgr config -a az://arm-backups-20220920 -r repo1 --obj-staging-dir /home/ec2-user/cb_staging_20220920 --obj-access-key-id xxxblobstore1 --obj-secret-access-key xxx4i7oJ1n58W+9mw==   $ ./cbbackupmgr backup -a az://arm-backups-20220920 -r repo1 -c localhost -u Administrator -p password --obj-staging-dir /home/ec2-user/cb_staging_20220920 --obj-access-key-id xxxblobstore1 --obj-secret-access-key xxx4i7oJ1n58W+9mw==   $ ./cbbackupmgr restore -a az://arm-backups-20220920 -r repo1 -c localhost -u Administrator -p password --obj-staging-dir /home/ec2-user/cb_staging_20220920 --obj-access-key-id xxxblobstore1 --obj-secret-access-key xxx4i7oJ1n58W+9mw== --map-data testbucket1=testbucket2 --auto-create-buckets  
          hyun-ju.vega Hyun-Ju Vega added a comment -

          Also ran commands against a Capella cluster:

          $ ./cbimport csv --infer-types  -c couchbases://cb.dxixsa-tafhholr.cloud.couchbase.com -u testuser -p 'Test!123' -b 'bucket1' --scope-collection-exp "scope1.collection2" -g "#UUID#"  -d 'file:///home/ec2-user/airlines.csv' --no-ssl-verify
          CSV `file:///home/ec2-user/airlines.csv` imported to `couchbases://cb.dxixsa-tafhholr.cloud.couchbase.com` successfully
          Documents imported: 4408 Documents failed: 0
           
          $ ./cbexport json -c couchbases://cb.dxixsa-tafhholr.cloud.couchbase.com -u testuser -p 'Test!123' -b 'bucket1' -f lines -o export_bucket1.out --scope-field scope_name --collection-field collection_name --no-ssl-verify
          JSON exported to `export_bucket1.out` successfully
          Documents exported: 4437 Documents skipped: 0
           

          hyun-ju.vega Hyun-Ju Vega added a comment - Also ran commands against a Capella cluster: $ ./cbimport csv --infer-types -c couchbases://cb.dxixsa-tafhholr.cloud.couchbase.com -u testuser -p 'Test!123' -b 'bucket1' --scope-collection-exp "scope1.collection2" -g "#UUID#" -d 'file:///home/ec2-user/airlines.csv' --no-ssl-verify CSV `file:///home/ec2-user/airlines.csv` imported to `couchbases://cb.dxixsa-tafhholr.cloud.couchbase.com` successfully Documents imported: 4408 Documents failed: 0   $ ./cbexport json -c couchbases://cb.dxixsa-tafhholr.cloud.couchbase.com -u testuser -p 'Test!123' -b 'bucket1' -f lines -o export_bucket1.out --scope-field scope_name --collection-field collection_name --no-ssl-verify JSON exported to `export_bucket1.out` successfully Documents exported: 4437 Documents skipped: 0

          Build sync_gateway-3.0.4-8 contains build commit b70f953 with commit message:
          MB-53735: Enable standalone tools package build for aarch64

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.4-8 contains build commit b70f953 with commit message: MB-53735 : Enable standalone tools package build for aarch64

          People

            hyun-ju.vega Hyun-Ju Vega
            ceej Chris Hillery
            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