vmware-tanzu / homebrew-tanzu

Homebrew tap and formulas for installing the Tanzu CLI
Apache License 2.0
7 stars 9 forks source link

Adding a update test for home brew #23

Closed aman556 closed 2 years ago

aman556 commented 2 years ago

What this PR does / why we need it

This PR is adding a test to check the latest TCE stable version and update the home brew formula accordingly.

Which issue(s) this PR fixes

Fixes: #22

Describe testing done for PR

./check-homebrew-upgrade.sh v0.10.0-rc.2 which is first checking the version v0.9.1 and once it passed the test it is checking for v0.10.0-rc.2.

Special notes for your reviewer

A modified update-homebrew-formula.sh file is added similar to one in TCE.

aman556 commented 2 years ago

Here are the logs for above test.


+ version=v0.10.0-rc.2
+ : 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
+++ dirname ./check-homebrew-upgrade.sh
++ cd .
++ pwd
+ MY_DIR=/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test
+ HOMEBREW_TAP_REPO_PATH=/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/..
+ /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../test/check-tce-homebrew-formula.sh
+++ dirname /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../test/check-tce-homebrew-formula.sh
++ cd /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../test
++ pwd
+ MY_DIR=/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test
+ HOMEBREW_TAP_REPO_PATH=/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/..
++ mktemp -d
+ HOMEBREW_DIR=/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0
+ trap '{ rm -rf -- "${HOMEBREW_DIR}"; }' EXIT
+ curl -L https://github.com/Homebrew/brew/tarball/master
+ tar xz --strip 1 -C /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   128  100   128    0     0    274      0 --:--:-- --:--:-- --:--:--   274
100 2595k  100 2595k    0     0   468k      0  0:00:05  0:00:05 --:--:--  544k
++ /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/bin/brew shellenv
+ shellenv='export HOMEBREW_PREFIX="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0";
export HOMEBREW_CELLAR="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar";
export HOMEBREW_REPOSITORY="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0";
export PATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/bin:/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/sbin${PATH+:$PATH}";
export MANPATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/share/man${MANPATH+:$MANPATH}:";
export INFOPATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/share/info:${INFOPATH:-}";'
+ eval 'export HOMEBREW_PREFIX="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0";
export HOMEBREW_CELLAR="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar";
export HOMEBREW_REPOSITORY="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0";
export PATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/bin:/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/sbin${PATH+:$PATH}";
export MANPATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/share/man${MANPATH+:$MANPATH}:";
export INFOPATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/share/info:${INFOPATH:-}";'
++ export HOMEBREW_PREFIX=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0
++ HOMEBREW_PREFIX=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0
++ export HOMEBREW_CELLAR=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar
++ HOMEBREW_CELLAR=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar
++ export HOMEBREW_REPOSITORY=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0
++ HOMEBREW_REPOSITORY=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0
++ export 'PATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/bin:/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$GOPATH/bin:/usr/local/go/bin:/bin:/Users/amansha/go/bin:/Users/amansha/go/bin'
++ PATH='/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/bin:/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$GOPATH/bin:/usr/local/go/bin:/bin:/Users/amansha/go/bin:/Users/amansha/go/bin'
++ export MANPATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/share/man:
++ MANPATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/share/man:
++ export INFOPATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/share/info:
++ INFOPATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/share/info:
+ brew update --force --quiet
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/.git/
remote: Enumerating objects: 201751, done.
remote: Counting objects: 100% (172/172), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 201751 (delta 86), reused 137 (delta 63), pack-reused 201579
Receiving objects: 100% (201751/201751), 55.64 MiB | 5.81 MiB/s, done.
Resolving deltas: 100% (148873/148873), done.
From github.com:Homebrew/brew
 * [new branch]          dependabot/bundler/Library/Homebrew/sorbet-0.5.9566 -> origin/dependabot/bundler/Library/Homebrew/sorbet-0.5.9566
 * [new branch]          fxcoudert-patch-1 -> origin/fxcoudert-patch-1
 * [new branch]          master            -> origin/master
 * [new tag]             0.1               -> 0.1
 * [new tag]             0.2               -> 0.2
 * [new tag]             0.3               -> 0.3
 * [new tag]             0.4               -> 0.4
 * [new tag]             0.5               -> 0.5
 * [new tag]             0.6               -> 0.6
 * [new tag]             0.7               -> 0.7
 * [new tag]             0.7.1             -> 0.7.1
 * [new tag]             0.8               -> 0.8
 * [new tag]             0.8.1             -> 0.8.1
 * [new tag]             0.9               -> 0.9
 * [new tag]             0.9.1             -> 0.9.1
 * [new tag]             0.9.2             -> 0.9.2
 * [new tag]             0.9.3             -> 0.9.3
 * [new tag]             0.9.4             -> 0.9.4
 * [new tag]             0.9.5             -> 0.9.5
 * [new tag]             0.9.8             -> 0.9.8
 * [new tag]             0.9.9             -> 0.9.9
 * [new tag]             1.0.0             -> 1.0.0
 * [new tag]             1.0.1             -> 1.0.1
 * [new tag]             1.0.2             -> 1.0.2
 * [new tag]             1.0.3             -> 1.0.3
 * [new tag]             1.0.4             -> 1.0.4
 * [new tag]             1.0.5             -> 1.0.5
 * [new tag]             1.0.6             -> 1.0.6
 * [new tag]             1.0.7             -> 1.0.7
 * [new tag]             1.0.8             -> 1.0.8
 * [new tag]             1.0.9             -> 1.0.9
 * [new tag]             1.1.0             -> 1.1.0
 * [new tag]             1.1.1             -> 1.1.1
 * [new tag]             1.1.10            -> 1.1.10
 * [new tag]             1.1.11            -> 1.1.11
 * [new tag]             1.1.12            -> 1.1.12
 * [new tag]             1.1.13            -> 1.1.13
 * [new tag]             1.1.2             -> 1.1.2
 * [new tag]             1.1.3             -> 1.1.3
 * [new tag]             1.1.4             -> 1.1.4
 * [new tag]             1.1.5             -> 1.1.5
 * [new tag]             1.1.6             -> 1.1.6
 * [new tag]             1.1.7             -> 1.1.7
 * [new tag]             1.1.8             -> 1.1.8
 * [new tag]             1.1.9             -> 1.1.9
 * [new tag]             1.2.0             -> 1.2.0
 * [new tag]             1.2.1             -> 1.2.1
 * [new tag]             1.2.2             -> 1.2.2
 * [new tag]             1.2.3             -> 1.2.3
 * [new tag]             1.2.4             -> 1.2.4
 * [new tag]             1.2.5             -> 1.2.5
 * [new tag]             1.2.6             -> 1.2.6
 * [new tag]             1.3.0             -> 1.3.0
 * [new tag]             1.3.1             -> 1.3.1
 * [new tag]             1.3.2             -> 1.3.2
 * [new tag]             1.3.3             -> 1.3.3
 * [new tag]             1.3.4             -> 1.3.4
 * [new tag]             1.3.5             -> 1.3.5
 * [new tag]             1.3.6             -> 1.3.6
 * [new tag]             1.3.7             -> 1.3.7
 * [new tag]             1.3.8             -> 1.3.8
 * [new tag]             1.3.9             -> 1.3.9
 * [new tag]             1.4.0             -> 1.4.0
 * [new tag]             1.4.1             -> 1.4.1
 * [new tag]             1.4.2             -> 1.4.2
 * [new tag]             1.4.3             -> 1.4.3
 * [new tag]             1.5.0             -> 1.5.0
 * [new tag]             1.5.1             -> 1.5.1
 * [new tag]             1.5.10            -> 1.5.10
 * [new tag]             1.5.11            -> 1.5.11
 * [new tag]             1.5.12            -> 1.5.12
 * [new tag]             1.5.13            -> 1.5.13
 * [new tag]             1.5.14            -> 1.5.14
 * [new tag]             1.5.2             -> 1.5.2
 * [new tag]             1.5.3             -> 1.5.3
 * [new tag]             1.5.4             -> 1.5.4
 * [new tag]             1.5.5             -> 1.5.5
 * [new tag]             1.5.6             -> 1.5.6
 * [new tag]             1.5.7             -> 1.5.7
 * [new tag]             1.5.8             -> 1.5.8
 * [new tag]             1.5.9             -> 1.5.9
 * [new tag]             1.6.0             -> 1.6.0
 * [new tag]             1.6.1             -> 1.6.1
 * [new tag]             1.6.10            -> 1.6.10
 * [new tag]             1.6.11            -> 1.6.11
 * [new tag]             1.6.12            -> 1.6.12
 * [new tag]             1.6.13            -> 1.6.13
 * [new tag]             1.6.14            -> 1.6.14
 * [new tag]             1.6.15            -> 1.6.15
 * [new tag]             1.6.16            -> 1.6.16
 * [new tag]             1.6.17            -> 1.6.17
 * [new tag]             1.6.2             -> 1.6.2
 * [new tag]             1.6.3             -> 1.6.3
 * [new tag]             1.6.4             -> 1.6.4
 * [new tag]             1.6.5             -> 1.6.5
 * [new tag]             1.6.6             -> 1.6.6
 * [new tag]             1.6.7             -> 1.6.7
 * [new tag]             1.6.8             -> 1.6.8
 * [new tag]             1.6.9             -> 1.6.9
 * [new tag]             1.7.0             -> 1.7.0
 * [new tag]             1.7.1             -> 1.7.1
 * [new tag]             1.7.2             -> 1.7.2
 * [new tag]             1.7.3             -> 1.7.3
 * [new tag]             1.7.4             -> 1.7.4
 * [new tag]             1.7.5             -> 1.7.5
 * [new tag]             1.7.6             -> 1.7.6
 * [new tag]             1.7.7             -> 1.7.7
 * [new tag]             1.8.0             -> 1.8.0
 * [new tag]             1.8.1             -> 1.8.1
 * [new tag]             1.8.2             -> 1.8.2
 * [new tag]             1.8.3             -> 1.8.3
 * [new tag]             1.8.4             -> 1.8.4
 * [new tag]             1.8.5             -> 1.8.5
 * [new tag]             1.8.6             -> 1.8.6
 * [new tag]             1.9.0             -> 1.9.0
 * [new tag]             1.9.1             -> 1.9.1
 * [new tag]             1.9.2             -> 1.9.2
 * [new tag]             1.9.3             -> 1.9.3
 * [new tag]             2.0.0             -> 2.0.0
 * [new tag]             2.0.1             -> 2.0.1
 * [new tag]             2.0.2             -> 2.0.2
 * [new tag]             2.0.3             -> 2.0.3
 * [new tag]             2.0.4             -> 2.0.4
 * [new tag]             2.0.5             -> 2.0.5
 * [new tag]             2.0.6             -> 2.0.6
 * [new tag]             2.1.0             -> 2.1.0
 * [new tag]             2.1.1             -> 2.1.1
 * [new tag]             2.1.10            -> 2.1.10
 * [new tag]             2.1.11            -> 2.1.11
 * [new tag]             2.1.12            -> 2.1.12
 * [new tag]             2.1.13            -> 2.1.13
 * [new tag]             2.1.14            -> 2.1.14
 * [new tag]             2.1.15            -> 2.1.15
 * [new tag]             2.1.16            -> 2.1.16
 * [new tag]             2.1.2             -> 2.1.2
 * [new tag]             2.1.3             -> 2.1.3
 * [new tag]             2.1.4             -> 2.1.4
 * [new tag]             2.1.5             -> 2.1.5
 * [new tag]             2.1.6             -> 2.1.6
 * [new tag]             2.1.7             -> 2.1.7
 * [new tag]             2.1.8             -> 2.1.8
 * [new tag]             2.1.9             -> 2.1.9
 * [new tag]             2.2.0             -> 2.2.0
 * [new tag]             2.2.1             -> 2.2.1
 * [new tag]             2.2.10            -> 2.2.10
 * [new tag]             2.2.11            -> 2.2.11
 * [new tag]             2.2.12            -> 2.2.12
 * [new tag]             2.2.13            -> 2.2.13
 * [new tag]             2.2.14            -> 2.2.14
 * [new tag]             2.2.15            -> 2.2.15
 * [new tag]             2.2.16            -> 2.2.16
 * [new tag]             2.2.17            -> 2.2.17
 * [new tag]             2.2.2             -> 2.2.2
 * [new tag]             2.2.3             -> 2.2.3
 * [new tag]             2.2.4             -> 2.2.4
 * [new tag]             2.2.5             -> 2.2.5
 * [new tag]             2.2.6             -> 2.2.6
 * [new tag]             2.2.7             -> 2.2.7
 * [new tag]             2.2.8             -> 2.2.8
 * [new tag]             2.2.9             -> 2.2.9
 * [new tag]             2.3.0             -> 2.3.0
 * [new tag]             2.4.0             -> 2.4.0
 * [new tag]             2.4.1             -> 2.4.1
 * [new tag]             2.4.10            -> 2.4.10
 * [new tag]             2.4.11            -> 2.4.11
 * [new tag]             2.4.12            -> 2.4.12
 * [new tag]             2.4.13            -> 2.4.13
 * [new tag]             2.4.14            -> 2.4.14
 * [new tag]             2.4.15            -> 2.4.15
 * [new tag]             2.4.16            -> 2.4.16
 * [new tag]             2.4.2             -> 2.4.2
 * [new tag]             2.4.3             -> 2.4.3
 * [new tag]             2.4.4             -> 2.4.4
 * [new tag]             2.4.5             -> 2.4.5
 * [new tag]             2.4.6             -> 2.4.6
 * [new tag]             2.4.7             -> 2.4.7
 * [new tag]             2.4.8             -> 2.4.8
 * [new tag]             2.4.9             -> 2.4.9
 * [new tag]             2.5.0             -> 2.5.0
 * [new tag]             2.5.1             -> 2.5.1
 * [new tag]             2.5.10            -> 2.5.10
 * [new tag]             2.5.11            -> 2.5.11
 * [new tag]             2.5.12            -> 2.5.12
 * [new tag]             2.5.2             -> 2.5.2
 * [new tag]             2.5.3             -> 2.5.3
 * [new tag]             2.5.4             -> 2.5.4
 * [new tag]             2.5.5             -> 2.5.5
 * [new tag]             2.5.6             -> 2.5.6
 * [new tag]             2.5.7             -> 2.5.7
 * [new tag]             2.5.8             -> 2.5.8
 * [new tag]             2.5.9             -> 2.5.9
 * [new tag]             2.6.0             -> 2.6.0
 * [new tag]             2.6.1             -> 2.6.1
 * [new tag]             2.6.2             -> 2.6.2
 * [new tag]             2.7.0             -> 2.7.0
 * [new tag]             2.7.1             -> 2.7.1
 * [new tag]             2.7.2             -> 2.7.2
 * [new tag]             2.7.3             -> 2.7.3
 * [new tag]             2.7.4             -> 2.7.4
 * [new tag]             2.7.5             -> 2.7.5
 * [new tag]             2.7.6             -> 2.7.6
 * [new tag]             2.7.7             -> 2.7.7
 * [new tag]             3.0.0             -> 3.0.0
 * [new tag]             3.0.1             -> 3.0.1
 * [new tag]             3.0.10            -> 3.0.10
 * [new tag]             3.0.11            -> 3.0.11
 * [new tag]             3.0.2             -> 3.0.2
 * [new tag]             3.0.3             -> 3.0.3
 * [new tag]             3.0.4             -> 3.0.4
 * [new tag]             3.0.5             -> 3.0.5
 * [new tag]             3.0.6             -> 3.0.6
 * [new tag]             3.0.7             -> 3.0.7
 * [new tag]             3.0.8             -> 3.0.8
 * [new tag]             3.0.9             -> 3.0.9
 * [new tag]             3.1.0             -> 3.1.0
 * [new tag]             3.1.1             -> 3.1.1
 * [new tag]             3.1.10            -> 3.1.10
 * [new tag]             3.1.11            -> 3.1.11
 * [new tag]             3.1.12            -> 3.1.12
 * [new tag]             3.1.2             -> 3.1.2
 * [new tag]             3.1.3             -> 3.1.3
 * [new tag]             3.1.4             -> 3.1.4
 * [new tag]             3.1.5             -> 3.1.5
 * [new tag]             3.1.6             -> 3.1.6
 * [new tag]             3.1.7             -> 3.1.7
 * [new tag]             3.1.8             -> 3.1.8
 * [new tag]             3.1.9             -> 3.1.9
 * [new tag]             3.2.0             -> 3.2.0
 * [new tag]             3.2.1             -> 3.2.1
 * [new tag]             3.2.10            -> 3.2.10
 * [new tag]             3.2.11            -> 3.2.11
 * [new tag]             3.2.12            -> 3.2.12
 * [new tag]             3.2.13            -> 3.2.13
 * [new tag]             3.2.14            -> 3.2.14
 * [new tag]             3.2.15            -> 3.2.15
 * [new tag]             3.2.16            -> 3.2.16
 * [new tag]             3.2.17            -> 3.2.17
 * [new tag]             3.2.2             -> 3.2.2
 * [new tag]             3.2.3             -> 3.2.3
 * [new tag]             3.2.4             -> 3.2.4
 * [new tag]             3.2.5             -> 3.2.5
 * [new tag]             3.2.6             -> 3.2.6
 * [new tag]             3.2.7             -> 3.2.7
 * [new tag]             3.2.8             -> 3.2.8
 * [new tag]             3.2.9             -> 3.2.9
 * [new tag]             3.3.0             -> 3.3.0
 * [new tag]             3.3.1             -> 3.3.1
 * [new tag]             3.3.10            -> 3.3.10
 * [new tag]             3.3.11            -> 3.3.11
 * [new tag]             3.3.12            -> 3.3.12
 * [new tag]             3.3.2             -> 3.3.2
 * [new tag]             3.3.3             -> 3.3.3
 * [new tag]             3.3.4             -> 3.3.4
 * [new tag]             3.3.5             -> 3.3.5
 * [new tag]             3.3.6             -> 3.3.6
 * [new tag]             3.3.7             -> 3.3.7
 * [new tag]             3.3.8             -> 3.3.8
 * [new tag]             3.3.9             -> 3.3.9
Updating files: 100% (2739/2739), done.
HEAD is now at 05b5a2c49 Merge pull request #12793 from Homebrew/dependabot/bundler/Library/Homebrew/rbi-0.0.10
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:0cb1cc7af109437fe0e020c9f3b7b95c3c709b140bde9f991ad2c1433496dd42
Already downloaded: /Users/amansha/Library/Caches/Homebrew/portable-ruby-2.6.8.yosemite.bottle.tar.gz
==> Pouring portable-ruby-2.6.8.yosemite.bottle.tar.gz
==> Homebrew has enabled anonymous aggregate formula and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics have been recorded yet (nor will be during this `brew` run).

==> Tapping homebrew/core
Cloning into '/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 1132817, done.
remote: Counting objects: 100% (103/103), done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 1132817 (delta 59), reused 77 (delta 35), pack-reused 1132714
Receiving objects: 100% (1132817/1132817), 441.03 MiB | 6.82 MiB/s, done.
Resolving deltas: 100% (782000/782000), done.
Updating files: 100% (6253/6253), done.
Tapped 3 commands and 5935 formulae (6,264 files, 485.3MB).
+ brew install --formula /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../tanzu-community-edition.rb
==> Downloading https://github.com/vmware-tanzu/community-edition/releases/download/v0.9.1/tce-darwin-amd64-v0.9.1.tar.gz
Already downloaded: /Users/amansha/Library/Caches/Homebrew/downloads/57aa013fd7f19014e9345d7c2e77fcd37ec0dfcf82221f04bfb406d1079a71d2--tce-darwin-amd64-v0.9.1.tar.gz
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.

==> Thanks for installing Tanzu Community Edition!
==> The Tanzu CLI has been installed on your system
==> 

==> ******************************************************************************
==> * To initialize all plugins required by Tanzu Community Edition, an additional
==> * step is required. To complete the installation, please run the following
==> * shell script:
==> *
==> * /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar/tanzu-community-edition/v0.9.1/libexec/configure-
==> *
==> ******************************************************************************
==> 

==> * To cleanup and remove Tanzu Community Edition from your system, run the
==> * following script:
==> /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar/tanzu-community-edition/v0.9.1/libexec/uninstall.sh
==> 

🍺  /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar/tanzu-community-edition/v0.9.1: 15 files, 642.6MB, built in 8 seconds
==> Running `brew cleanup tanzu-community-edition`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
+ tce_installation_dir=("${HOMEBREW_DIR}"/Cellar/tanzu-community-edition/*)
+ '[' 1 '!=' 1 ']'
+ /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar/tanzu-community-edition/v0.9.1/libexec/configure-tce.sh
MY_DIR: /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar/tanzu-community-edition/v0.9.1/libexec
/Users/amansha/Library/Application Support
Removing old plugin cache from /Users/amansha/.cache/tanzu/catalog.yaml
Making a backup of your Kubernetes config files into /tmp
| initializing ✔  successfully initialized CLI 
Installation complete!
+ tanzu version
version: v0.2.1
buildDate: 2021-09-29
sha: ceaa474
+ tanzu cluster version
v0.2.1
+ tanzu conformance version
Sonobuoy Version: v0.53.2
TCE Version: v0.9.1
TCE SHA 00d8d13a
+ tanzu diagnostics version
v0.9.1
+ tanzu kubernetes-release version
v0.2.1
+ tanzu management-cluster version
v0.2.1
+ tanzu package version
v0.2.1
+ tanzu standalone-cluster version
v0.9.1
+ tanzu pinniped-auth version
v0.2.1
+ tanzu builder version
v0.2.1
+ tanzu login version
v0.2.1
+ /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar/tanzu-community-edition/v0.9.1/libexec/uninstall.sh
/Users/amansha/Library/Application Support
Cleanup complete!

Removing the Tanzu CLI...

Uninstalling /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.EkFf6zg0/Cellar/tanzu-community-edition/v0.9.1... (15 files, 642.6MB)
+ set +o xtrace
/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../test/check-tce-homebrew-formula.sh: line 62: /Users/amansha/.bash_profile: No such file or directory
+ cat /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../tanzu-community-edition.rb
+ rm -fv /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../tanzu-community-edition-temp.rb.bak
+ /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../test/update-homebrew-formula.sh v0.10.0-rc.2
+ version=v0.10.0-rc.2
+ : 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
++ mktemp -d
+ temp_dir=/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.w1YbAAgZ
++ git rev-parse --show-toplevel
+ HOMEBREW_DIR=/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu
+ pushd /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.w1YbAAgZ
/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.w1YbAAgZ ~/go/src/github.com/vmware-tanzu/homebrew-tanzu/test
+ TCE_REPO_RELEASES_URL=https://github.com/vmware-tanzu/community-edition/releases
+ TCE_DARWIN_TAR_BALL_FILE=tce-darwin-amd64-v0.10.0-rc.2.tar.gz
+ TCE_LINUX_TAR_BALL_FILE=tce-linux-amd64-v0.10.0-rc.2.tar.gz
+ TCE_CHECKSUMS_FILE=tce-checksums.txt
+ echo 'Checking if the necessary files exist for the TCE v0.10.0-rc.2 release'
Checking if the necessary files exist for the TCE v0.10.0-rc.2 release
+ curl -f -I -L https://github.com/vmware-tanzu/community-edition/releases/download/v0.10.0-rc.2/tce-darwin-amd64-v0.10.0-rc.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   675    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0  233M    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
+ curl -f -I -L https://github.com/vmware-tanzu/community-edition/releases/download/v0.10.0-rc.2/tce-linux-amd64-v0.10.0-rc.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   674    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0  214M    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
+ wget https://github.com/vmware-tanzu/community-edition/releases/download/v0.10.0-rc.2/tce-checksums.txt
--2022-01-27 10:01:15--  https://github.com/vmware-tanzu/community-edition/releases/download/v0.10.0-rc.2/tce-checksums.txt
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/303802332/19d7533e-fddc-4ce8-b46e-ffc33b33940a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220127%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220127T043106Z&X-Amz-Expires=300&X-Amz-Signature=8c23efa00303f121d47cd92840f39971f5904dee357abd9c230996bd94b6c013&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=303802332&response-content-disposition=attachment%3B%20filename%3Dtce-checksums.txt&response-content-type=application%2Foctet-stream [following]
--2022-01-27 10:01:15--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/303802332/19d7533e-fddc-4ce8-b46e-ffc33b33940a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220127%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220127T043106Z&X-Amz-Expires=300&X-Amz-Signature=8c23efa00303f121d47cd92840f39971f5904dee357abd9c230996bd94b6c013&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=303802332&response-content-disposition=attachment%3B%20filename%3Dtce-checksums.txt&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.109.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 306 [application/octet-stream]
Saving to: ‘tce-checksums.txt’

tce-checksums.txt                100%[==========================================================>]     306  --.-KB/s    in 0s      

2022-01-27 10:01:17 (14.6 MB/s) - ‘tce-checksums.txt’ saved [306/306]

++ grep tce-darwin-amd64-v0.10.0-rc.2.tar.gz tce-checksums.txt
++ cut -d ' ' -f 1
+ darwin_amd64_shasum=699f0cb76b620092fda2c90cf06a7a27d8248dff947e7c65437a85c2e3c46484
++ grep tce-linux-amd64-v0.10.0-rc.2.tar.gz tce-checksums.txt
++ cut -d ' ' -f 1
+ linux_amd64_shasum=2f632fc80258c926d1344b43a3c819d93e99a300fb095b74031cab3980806b80
+ sed -i.bak 's/version "v.*/version "v0.10.0-rc.2"/' /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/tanzu-community-edition.rb
+ rm -fv /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/tanzu-community-edition.rb.bak
/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/tanzu-community-edition.rb.bak
+ awk '/sha256 ".*/{c+=1}{if(c==1){sub("sha256 \".*","sha256 \"699f0cb76b620092fda2c90cf06a7a27d8248dff947e7c65437a85c2e3c46484\"",$0)};print}' /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/tanzu-community-edition.rb
+ mv /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/tanzu-community-edition-updated.rb /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/tanzu-community-edition.rb
+ awk '/sha256 ".*/{c+=1}{if(c==2){sub("sha256 \".*","sha256 \"2f632fc80258c926d1344b43a3c819d93e99a300fb095b74031cab3980806b80\"",$0)};print}' /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/tanzu-community-edition.rb
+ mv /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/tanzu-community-edition-updated.rb /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/tanzu-community-edition.rb
+ /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../test/check-tce-homebrew-formula.sh
+++ dirname /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../test/check-tce-homebrew-formula.sh
++ cd /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../test
++ pwd
+ MY_DIR=/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test
+ HOMEBREW_TAP_REPO_PATH=/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/..
++ mktemp -d
+ HOMEBREW_DIR=/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6
+ trap '{ rm -rf -- "${HOMEBREW_DIR}"; }' EXIT
+ curl -L https://github.com/Homebrew/brew/tarball/master
+ tar xz --strip 1 -C /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   128    0   128    0     0    246      0 --:--:-- --:--:-- --:--:--   246
100 2595k  100 2595k    0     0   495k      0  0:00:05  0:00:05 --:--:--  563k
++ /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/bin/brew shellenv
+ shellenv='export HOMEBREW_PREFIX="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6";
export HOMEBREW_CELLAR="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar";
export HOMEBREW_REPOSITORY="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6";
export PATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/bin:/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/sbin${PATH+:$PATH}";
export MANPATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/share/man${MANPATH+:$MANPATH}:";
export INFOPATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/share/info:${INFOPATH:-}";'
+ eval 'export HOMEBREW_PREFIX="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6";
export HOMEBREW_CELLAR="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar";
export HOMEBREW_REPOSITORY="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6";
export PATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/bin:/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/sbin${PATH+:$PATH}";
export MANPATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/share/man${MANPATH+:$MANPATH}:";
export INFOPATH="/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/share/info:${INFOPATH:-}";'
++ export HOMEBREW_PREFIX=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6
++ HOMEBREW_PREFIX=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6
++ export HOMEBREW_CELLAR=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar
++ HOMEBREW_CELLAR=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar
++ export HOMEBREW_REPOSITORY=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6
++ HOMEBREW_REPOSITORY=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6
++ export 'PATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/bin:/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$GOPATH/bin:/usr/local/go/bin:/bin:/Users/amansha/go/bin:/Users/amansha/go/bin'
++ PATH='/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/bin:/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$GOPATH/bin:/usr/local/go/bin:/bin:/Users/amansha/go/bin:/Users/amansha/go/bin'
++ export MANPATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/share/man:
++ MANPATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/share/man:
++ export INFOPATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/share/info:
++ INFOPATH=/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/share/info:
+ brew update --force --quiet
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
Initialized empty Git repository in /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/.git/
remote: Enumerating objects: 201751, done.
remote: Counting objects: 100% (172/172), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 201751 (delta 86), reused 137 (delta 63), pack-reused 201579
Receiving objects: 100% (201751/201751), 55.30 MiB | 6.46 MiB/s, done.
Resolving deltas: 100% (148905/148905), done.
From github.com:Homebrew/brew
 * [new branch]          dependabot/bundler/Library/Homebrew/sorbet-0.5.9566 -> origin/dependabot/bundler/Library/Homebrew/sorbet-0.5.9566
 * [new branch]          fxcoudert-patch-1 -> origin/fxcoudert-patch-1
 * [new branch]          master            -> origin/master
 * [new tag]             0.1               -> 0.1
 * [new tag]             0.2               -> 0.2
 * [new tag]             0.3               -> 0.3
 * [new tag]             0.4               -> 0.4
 * [new tag]             0.5               -> 0.5
 * [new tag]             0.6               -> 0.6
 * [new tag]             0.7               -> 0.7
 * [new tag]             0.7.1             -> 0.7.1
 * [new tag]             0.8               -> 0.8
 * [new tag]             0.8.1             -> 0.8.1
 * [new tag]             0.9               -> 0.9
 * [new tag]             0.9.1             -> 0.9.1
 * [new tag]             0.9.2             -> 0.9.2
 * [new tag]             0.9.3             -> 0.9.3
 * [new tag]             0.9.4             -> 0.9.4
 * [new tag]             0.9.5             -> 0.9.5
 * [new tag]             0.9.8             -> 0.9.8
 * [new tag]             0.9.9             -> 0.9.9
 * [new tag]             1.0.0             -> 1.0.0
 * [new tag]             1.0.1             -> 1.0.1
 * [new tag]             1.0.2             -> 1.0.2
 * [new tag]             1.0.3             -> 1.0.3
 * [new tag]             1.0.4             -> 1.0.4
 * [new tag]             1.0.5             -> 1.0.5
 * [new tag]             1.0.6             -> 1.0.6
 * [new tag]             1.0.7             -> 1.0.7
 * [new tag]             1.0.8             -> 1.0.8
 * [new tag]             1.0.9             -> 1.0.9
 * [new tag]             1.1.0             -> 1.1.0
 * [new tag]             1.1.1             -> 1.1.1
 * [new tag]             1.1.10            -> 1.1.10
 * [new tag]             1.1.11            -> 1.1.11
 * [new tag]             1.1.12            -> 1.1.12
 * [new tag]             1.1.13            -> 1.1.13
 * [new tag]             1.1.2             -> 1.1.2
 * [new tag]             1.1.3             -> 1.1.3
 * [new tag]             1.1.4             -> 1.1.4
 * [new tag]             1.1.5             -> 1.1.5
 * [new tag]             1.1.6             -> 1.1.6
 * [new tag]             1.1.7             -> 1.1.7
 * [new tag]             1.1.8             -> 1.1.8
 * [new tag]             1.1.9             -> 1.1.9
 * [new tag]             1.2.0             -> 1.2.0
 * [new tag]             1.2.1             -> 1.2.1
 * [new tag]             1.2.2             -> 1.2.2
 * [new tag]             1.2.3             -> 1.2.3
 * [new tag]             1.2.4             -> 1.2.4
 * [new tag]             1.2.5             -> 1.2.5
 * [new tag]             1.2.6             -> 1.2.6
 * [new tag]             1.3.0             -> 1.3.0
 * [new tag]             1.3.1             -> 1.3.1
 * [new tag]             1.3.2             -> 1.3.2
 * [new tag]             1.3.3             -> 1.3.3
 * [new tag]             1.3.4             -> 1.3.4
 * [new tag]             1.3.5             -> 1.3.5
 * [new tag]             1.3.6             -> 1.3.6
 * [new tag]             1.3.7             -> 1.3.7
 * [new tag]             1.3.8             -> 1.3.8
 * [new tag]             1.3.9             -> 1.3.9
 * [new tag]             1.4.0             -> 1.4.0
 * [new tag]             1.4.1             -> 1.4.1
 * [new tag]             1.4.2             -> 1.4.2
 * [new tag]             1.4.3             -> 1.4.3
 * [new tag]             1.5.0             -> 1.5.0
 * [new tag]             1.5.1             -> 1.5.1
 * [new tag]             1.5.10            -> 1.5.10
 * [new tag]             1.5.11            -> 1.5.11
 * [new tag]             1.5.12            -> 1.5.12
 * [new tag]             1.5.13            -> 1.5.13
 * [new tag]             1.5.14            -> 1.5.14
 * [new tag]             1.5.2             -> 1.5.2
 * [new tag]             1.5.3             -> 1.5.3
 * [new tag]             1.5.4             -> 1.5.4
 * [new tag]             1.5.5             -> 1.5.5
 * [new tag]             1.5.6             -> 1.5.6
 * [new tag]             1.5.7             -> 1.5.7
 * [new tag]             1.5.8             -> 1.5.8
 * [new tag]             1.5.9             -> 1.5.9
 * [new tag]             1.6.0             -> 1.6.0
 * [new tag]             1.6.1             -> 1.6.1
 * [new tag]             1.6.10            -> 1.6.10
 * [new tag]             1.6.11            -> 1.6.11
 * [new tag]             1.6.12            -> 1.6.12
 * [new tag]             1.6.13            -> 1.6.13
 * [new tag]             1.6.14            -> 1.6.14
 * [new tag]             1.6.15            -> 1.6.15
 * [new tag]             1.6.16            -> 1.6.16
 * [new tag]             1.6.17            -> 1.6.17
 * [new tag]             1.6.2             -> 1.6.2
 * [new tag]             1.6.3             -> 1.6.3
 * [new tag]             1.6.4             -> 1.6.4
 * [new tag]             1.6.5             -> 1.6.5
 * [new tag]             1.6.6             -> 1.6.6
 * [new tag]             1.6.7             -> 1.6.7
 * [new tag]             1.6.8             -> 1.6.8
 * [new tag]             1.6.9             -> 1.6.9
 * [new tag]             1.7.0             -> 1.7.0
 * [new tag]             1.7.1             -> 1.7.1
 * [new tag]             1.7.2             -> 1.7.2
 * [new tag]             1.7.3             -> 1.7.3
 * [new tag]             1.7.4             -> 1.7.4
 * [new tag]             1.7.5             -> 1.7.5
 * [new tag]             1.7.6             -> 1.7.6
 * [new tag]             1.7.7             -> 1.7.7
 * [new tag]             1.8.0             -> 1.8.0
 * [new tag]             1.8.1             -> 1.8.1
 * [new tag]             1.8.2             -> 1.8.2
 * [new tag]             1.8.3             -> 1.8.3
 * [new tag]             1.8.4             -> 1.8.4
 * [new tag]             1.8.5             -> 1.8.5
 * [new tag]             1.8.6             -> 1.8.6
 * [new tag]             1.9.0             -> 1.9.0
 * [new tag]             1.9.1             -> 1.9.1
 * [new tag]             1.9.2             -> 1.9.2
 * [new tag]             1.9.3             -> 1.9.3
 * [new tag]             2.0.0             -> 2.0.0
 * [new tag]             2.0.1             -> 2.0.1
 * [new tag]             2.0.2             -> 2.0.2
 * [new tag]             2.0.3             -> 2.0.3
 * [new tag]             2.0.4             -> 2.0.4
 * [new tag]             2.0.5             -> 2.0.5
 * [new tag]             2.0.6             -> 2.0.6
 * [new tag]             2.1.0             -> 2.1.0
 * [new tag]             2.1.1             -> 2.1.1
 * [new tag]             2.1.10            -> 2.1.10
 * [new tag]             2.1.11            -> 2.1.11
 * [new tag]             2.1.12            -> 2.1.12
 * [new tag]             2.1.13            -> 2.1.13
 * [new tag]             2.1.14            -> 2.1.14
 * [new tag]             2.1.15            -> 2.1.15
 * [new tag]             2.1.16            -> 2.1.16
 * [new tag]             2.1.2             -> 2.1.2
 * [new tag]             2.1.3             -> 2.1.3
 * [new tag]             2.1.4             -> 2.1.4
 * [new tag]             2.1.5             -> 2.1.5
 * [new tag]             2.1.6             -> 2.1.6
 * [new tag]             2.1.7             -> 2.1.7
 * [new tag]             2.1.8             -> 2.1.8
 * [new tag]             2.1.9             -> 2.1.9
 * [new tag]             2.2.0             -> 2.2.0
 * [new tag]             2.2.1             -> 2.2.1
 * [new tag]             2.2.10            -> 2.2.10
 * [new tag]             2.2.11            -> 2.2.11
 * [new tag]             2.2.12            -> 2.2.12
 * [new tag]             2.2.13            -> 2.2.13
 * [new tag]             2.2.14            -> 2.2.14
 * [new tag]             2.2.15            -> 2.2.15
 * [new tag]             2.2.16            -> 2.2.16
 * [new tag]             2.2.17            -> 2.2.17
 * [new tag]             2.2.2             -> 2.2.2
 * [new tag]             2.2.3             -> 2.2.3
 * [new tag]             2.2.4             -> 2.2.4
 * [new tag]             2.2.5             -> 2.2.5
 * [new tag]             2.2.6             -> 2.2.6
 * [new tag]             2.2.7             -> 2.2.7
 * [new tag]             2.2.8             -> 2.2.8
 * [new tag]             2.2.9             -> 2.2.9
 * [new tag]             2.3.0             -> 2.3.0
 * [new tag]             2.4.0             -> 2.4.0
 * [new tag]             2.4.1             -> 2.4.1
 * [new tag]             2.4.10            -> 2.4.10
 * [new tag]             2.4.11            -> 2.4.11
 * [new tag]             2.4.12            -> 2.4.12
 * [new tag]             2.4.13            -> 2.4.13
 * [new tag]             2.4.14            -> 2.4.14
 * [new tag]             2.4.15            -> 2.4.15
 * [new tag]             2.4.16            -> 2.4.16
 * [new tag]             2.4.2             -> 2.4.2
 * [new tag]             2.4.3             -> 2.4.3
 * [new tag]             2.4.4             -> 2.4.4
 * [new tag]             2.4.5             -> 2.4.5
 * [new tag]             2.4.6             -> 2.4.6
 * [new tag]             2.4.7             -> 2.4.7
 * [new tag]             2.4.8             -> 2.4.8
 * [new tag]             2.4.9             -> 2.4.9
 * [new tag]             2.5.0             -> 2.5.0
 * [new tag]             2.5.1             -> 2.5.1
 * [new tag]             2.5.10            -> 2.5.10
 * [new tag]             2.5.11            -> 2.5.11
 * [new tag]             2.5.12            -> 2.5.12
 * [new tag]             2.5.2             -> 2.5.2
 * [new tag]             2.5.3             -> 2.5.3
 * [new tag]             2.5.4             -> 2.5.4
 * [new tag]             2.5.5             -> 2.5.5
 * [new tag]             2.5.6             -> 2.5.6
 * [new tag]             2.5.7             -> 2.5.7
 * [new tag]             2.5.8             -> 2.5.8
 * [new tag]             2.5.9             -> 2.5.9
 * [new tag]             2.6.0             -> 2.6.0
 * [new tag]             2.6.1             -> 2.6.1
 * [new tag]             2.6.2             -> 2.6.2
 * [new tag]             2.7.0             -> 2.7.0
 * [new tag]             2.7.1             -> 2.7.1
 * [new tag]             2.7.2             -> 2.7.2
 * [new tag]             2.7.3             -> 2.7.3
 * [new tag]             2.7.4             -> 2.7.4
 * [new tag]             2.7.5             -> 2.7.5
 * [new tag]             2.7.6             -> 2.7.6
 * [new tag]             2.7.7             -> 2.7.7
 * [new tag]             3.0.0             -> 3.0.0
 * [new tag]             3.0.1             -> 3.0.1
 * [new tag]             3.0.10            -> 3.0.10
 * [new tag]             3.0.11            -> 3.0.11
 * [new tag]             3.0.2             -> 3.0.2
 * [new tag]             3.0.3             -> 3.0.3
 * [new tag]             3.0.4             -> 3.0.4
 * [new tag]             3.0.5             -> 3.0.5
 * [new tag]             3.0.6             -> 3.0.6
 * [new tag]             3.0.7             -> 3.0.7
 * [new tag]             3.0.8             -> 3.0.8
 * [new tag]             3.0.9             -> 3.0.9
 * [new tag]             3.1.0             -> 3.1.0
 * [new tag]             3.1.1             -> 3.1.1
 * [new tag]             3.1.10            -> 3.1.10
 * [new tag]             3.1.11            -> 3.1.11
 * [new tag]             3.1.12            -> 3.1.12
 * [new tag]             3.1.2             -> 3.1.2
 * [new tag]             3.1.3             -> 3.1.3
 * [new tag]             3.1.4             -> 3.1.4
 * [new tag]             3.1.5             -> 3.1.5
 * [new tag]             3.1.6             -> 3.1.6
 * [new tag]             3.1.7             -> 3.1.7
 * [new tag]             3.1.8             -> 3.1.8
 * [new tag]             3.1.9             -> 3.1.9
 * [new tag]             3.2.0             -> 3.2.0
 * [new tag]             3.2.1             -> 3.2.1
 * [new tag]             3.2.10            -> 3.2.10
 * [new tag]             3.2.11            -> 3.2.11
 * [new tag]             3.2.12            -> 3.2.12
 * [new tag]             3.2.13            -> 3.2.13
 * [new tag]             3.2.14            -> 3.2.14
 * [new tag]             3.2.15            -> 3.2.15
 * [new tag]             3.2.16            -> 3.2.16
 * [new tag]             3.2.17            -> 3.2.17
 * [new tag]             3.2.2             -> 3.2.2
 * [new tag]             3.2.3             -> 3.2.3
 * [new tag]             3.2.4             -> 3.2.4
 * [new tag]             3.2.5             -> 3.2.5
 * [new tag]             3.2.6             -> 3.2.6
 * [new tag]             3.2.7             -> 3.2.7
 * [new tag]             3.2.8             -> 3.2.8
 * [new tag]             3.2.9             -> 3.2.9
 * [new tag]             3.3.0             -> 3.3.0
 * [new tag]             3.3.1             -> 3.3.1
 * [new tag]             3.3.10            -> 3.3.10
 * [new tag]             3.3.11            -> 3.3.11
 * [new tag]             3.3.12            -> 3.3.12
 * [new tag]             3.3.2             -> 3.3.2
 * [new tag]             3.3.3             -> 3.3.3
 * [new tag]             3.3.4             -> 3.3.4
 * [new tag]             3.3.5             -> 3.3.5
 * [new tag]             3.3.6             -> 3.3.6
 * [new tag]             3.3.7             -> 3.3.7
 * [new tag]             3.3.8             -> 3.3.8
 * [new tag]             3.3.9             -> 3.3.9
Updating files: 100% (2739/2739), done.
HEAD is now at 05b5a2c49 Merge pull request #12793 from Homebrew/dependabot/bundler/Library/Homebrew/rbi-0.0.10
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:0cb1cc7af109437fe0e020c9f3b7b95c3c709b140bde9f991ad2c1433496dd42
Already downloaded: /Users/amansha/Library/Caches/Homebrew/portable-ruby-2.6.8.yosemite.bottle.tar.gz
==> Pouring portable-ruby-2.6.8.yosemite.bottle.tar.gz
==> Homebrew has enabled anonymous aggregate formula and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics have been recorded yet (nor will be during this `brew` run).

==> Tapping homebrew/core
Cloning into '/private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 1132817, done.
remote: Counting objects: 100% (103/103), done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 1132817 (delta 59), reused 79 (delta 37), pack-reused 1132714
Receiving objects: 100% (1132817/1132817), 440.42 MiB | 7.20 MiB/s, done.
Resolving deltas: 100% (782449/782449), done.
Updating files: 100% (6253/6253), done.
Tapped 3 commands and 5935 formulae (6,264 files, 484.7MB).
+ brew install --formula /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../tanzu-community-edition.rb
==> Downloading https://github.com/vmware-tanzu/community-edition/releases/download/v0.10.0-rc.2/tce-darwin-amd64-v0.10.0-rc.2.tar.g
Already downloaded: /Users/amansha/Library/Caches/Homebrew/downloads/a3134998d12035e9b5539445905c7785aa23f809b9f1910a872918df05110592--tce-darwin-amd64-v0.10.0-rc.2.tar.gz
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.

==> Thanks for installing Tanzu Community Edition!
==> The Tanzu CLI has been installed on your system
==> 

==> ******************************************************************************
==> * To initialize all plugins required by Tanzu Community Edition, an additional
==> * step is required. To complete the installation, please run the following
==> * shell script:
==> *
==> * /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar/tanzu-community-edition/v0.10.0-rc.2/libexec/conf
==> *
==> ******************************************************************************
==> 

==> * To cleanup and remove Tanzu Community Edition from your system, run the
==> * following script:
==> /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar/tanzu-community-edition/v0.10.0-rc.2/libexec/uninst
==> 

🍺  /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar/tanzu-community-edition/v0.10.0-rc.2: 17 files, 778.8MB, built in 8 seconds
==> Running `brew cleanup tanzu-community-edition`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /Users/amansha/Library/Caches/Homebrew/tanzu-community-edition--v0.9.1.tar.gz... (186MB)
+ tce_installation_dir=("${HOMEBREW_DIR}"/Cellar/tanzu-community-edition/*)
+ '[' 1 '!=' 1 ']'
+ /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar/tanzu-community-edition/v0.10.0-rc.2/libexec/configure-tce.sh
MY_DIR: /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar/tanzu-community-edition/v0.10.0-rc.2/libexec
/Users/amansha/Library/Application Support
Removing old plugin cache from /Users/amansha/.cache/tanzu/catalog.yaml
Making a backup of your Kubernetes config files into /tmp
| initializing ✔  successfully initialized CLI 
Installation complete!
+ tanzu version
version: v0.10.0
buildDate: 2021-12-03
sha: fd96beb
+ tanzu cluster version
v0.10.0
+ tanzu conformance version
Sonobuoy Version: v0.53.2
TCE Version: v0.10.0-rc.2
TCE SHA 514c57b9
+ tanzu diagnostics version
v0.10.0-rc.2
+ tanzu kubernetes-release version
v0.10.0
+ tanzu management-cluster version
v0.10.0
+ tanzu package version
v0.10.0
+ tanzu standalone-cluster version
v0.10.0
+ tanzu pinniped-auth version
v0.10.0
+ tanzu builder version
v0.10.0
+ tanzu login version
v0.10.0
+ /var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar/tanzu-community-edition/v0.10.0-rc.2/libexec/uninstall.sh
/Users/amansha/Library/Application Support
Cleanup complete!

Removing the Tanzu CLI...

Uninstalling /private/var/folders/vy/47q1vmw153q9l6q0cn7_nw1c0000gn/T/tmp.2GZ2juq6/Cellar/tanzu-community-edition/v0.10.0-rc.2... (17 files, 778.8MB)
+ set +o xtrace
/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../test/check-tce-homebrew-formula.sh: line 62: /Users/amansha/.bash_profile: No such file or directory
+ cp /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../tanzu-community-edition-temp.rb /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../tanzu-community-edition.rb
+ rm -fv /Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../tanzu-community-edition-temp.rb
/Users/amansha/go/src/github.com/vmware-tanzu/homebrew-tanzu/test/../tanzu-community-edition-temp.rb```