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

[System Test][CBM] deprecated warning thrown by collect-logs - deprecated: golang.org/x/oauth2: Transport.CancelRequest no longer does anything; use contexts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • 7.1.0
    • tools
    • Untriaged
    • 1
    • No
    • Tools 2022-Jan

    Description

      I was trying to collect logs for MB-50536 and observed this deprecation warning being thrown:

      [couchbase@cnt7-qe1 logs]$ /opt/couchbase/bin/cbbackupmgr collect-logs -a gs://longevity_testing/centos1 -o ~/ --obj-staging-dir xxxx --obj-access-key-id xxxx --obj-secret-access-key xxxx --obj-refresh-token xxxx
      2022/01/21 12:28:43 deprecated: golang.org/x/oauth2: Transport.CancelRequest no longer does anything; use contexts

      collect-logs was taking a lot of time - might be due to a backup task already running against that repo and network latency - eventually had to kill it - but while waiting for it saw this warning getting printed to the console

      Attachments

        Issue Links

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

          Activity

            People

              arunkumar Arunkumar Senthilnathan (Inactive)
              arunkumar Arunkumar Senthilnathan (Inactive)
              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