kubesphere / kubesphere

The container platform tailored for Kubernetes multi-cloud, datacenter, and edge management ⎈ 🖥 ☁️
https://kubesphere.io
Other
15.1k stars 2.15k forks source link

kubesphere sync staging is broken #6133

Open ks-ci-bot opened 3 months ago

ks-ci-bot commented 3 months ago

This issue is auto-updated by the ks-ci-bot when the (nightly) publishing process fails. Only the last log output is available.

ks-ci-bot commented 16 minutes ago

/reopen

The last publishing run failed: exit status 1


[18 Oct 24 17:54 UTC]: Successfully ensured /go-workspace/src/github.com/kubesphere/client-go exists
[18 Oct 24 17:54 UTC]: /bin/bash -c "git tag | xargs git tag -d >/dev/null"
[18 Oct 24 17:54 UTC]: /publish_scripts/construct.sh client-go master master   /go-workspace/src/github.com/kubesphere/kubesphere/.git staging/src/kubesphere.io/client-go kubesphere kubesphere github.com/kubesphere true BUILD  02d8b63466e01439e7efcfe26056c71ae7434428 master
    + '[' '!' 15 -eq 15 ']'
    + REPO=client-go
    + SRC_BRANCH=master
    + DST_BRANCH=master
    + DEPS=
    + REQUIRED=
    + SOURCE_REMOTE=/go-workspace/src/github.com/kubesphere/kubesphere/.git
    + SUBDIRS=staging/src/kubesphere.io/client-go
    + SOURCE_REPO_ORG=kubesphere
    + SOURCE_REPO_NAME=kubesphere
    + shift 9
    + BASE_PACKAGE=github.com/kubesphere
    + IS_LIBRARY=true
    + RECURSIVE_DELETE_PATTERN=BUILD
    + SKIP_TAGS=
    + LAST_PUBLISHED_UPSTREAM_HASH=02d8b63466e01439e7efcfe26056c71ae7434428
    + GIT_DEFAULT_BRANCH=master
    + readonly REPO SRC_BRANCH DST_BRANCH DEPS REQUIRED SOURCE_REMOTE SOURCE_REPO_ORG SUBDIRS SOURCE_REPO_NAME BASE_PACKAGE IS_LIBRARY RECURSIVE_DELETE_PATTERN SKIP_TAGS LAST_PUBLISHED_UPSTREAM_HASH GIT_DEFAULT_BRANCH
    ++ dirname /publish_scripts/construct.sh
    + SCRIPT_DIR=/publish_scripts
    + source /publish_scripts/util.sh
    ++ set -o errexit
    ++ set -o nounset
    ++ set -o pipefail
    ++ set -o xtrace
    + '[' '!' -f .git/info/attributes ']'
    + git config user.email ci-bot@kubesphere.io
    + git config user.name ci-bot
    + echo 'Running garbage collection.'
    + git config gc.pruneExpire 3.days.ago
    Running garbage collection.
    + git gc --auto
    Cleaning .git/packed-refs
    + echo 'Cleaning .git/packed-refs'
    + cp .git/packed-refs .git/packed-refs.bak
    + awk '
    NR == 1 {
        prev_line_start_with_caret = 0
    }
    /^[^^]/ {
        prev_line_start_with_caret = 0
        print
    }
    /^\^/ {
        if (!prev_line_start_with_caret) {
            print
        }
        prev_line_start_with_caret = 1
    }
    ' .git/packed-refs.bak
    + rm .git/packed-refs.bak
    Fetching from origin.
    + echo 'Fetching from origin.'
    + git fetch origin --no-tags --prune
    Cleaning up checkout.
    + echo 'Cleaning up checkout.'
    + git rebase --abort
    fatal: No rebase in progress?
    + true
    + rm -f .git/index.lock
    + git reset -q --hard
    + git clean -q -f -f -d
    ++ git rev-parse HEAD
    + git checkout -q 3b6efba8bf62010abc6935bbe52fa47047703ac7
    + git branch -D master
    + git remote set-head origin -d
    + git rev-parse origin/master
    Switching to origin/master.
    + echo 'Switching to origin/master.'
    + git branch -f master origin/master
    + git checkout -q master
    Fetching upstream changes.
    + echo 'Fetching upstream changes.'
    + git remote
    + grep -w -q upstream
    + git remote set-url upstream /go-workspace/src/github.com/kubesphere/kubesphere/.git
    + git fetch -q upstream --no-tags --prune
    ++ git rev-parse upstream/master
    + UPSTREAM_HASH=6a2f78ef0f3c8e0497095da831415f4e672dc14a
    + '[' 6a2f78ef0f3c8e0497095da831415f4e672dc14a '!=' 02d8b63466e01439e7efcfe26056c71ae7434428 ']'
    + echo 'Upstream branch upstream/master moved from '\''02d8b63466e01439e7efcfe26056c71ae7434428'\'' to '\''6a2f78ef0f3c8e0497095da831415f4e672dc14a'\''. We have to sync.'
    Upstream branch upstream/master moved from '02d8b63466e01439e7efcfe26056c71ae7434428' to '6a2f78ef0f3c8e0497095da831415f4e672dc14a'. We have to sync.
    + sync_repo kubesphere kubesphere staging/src/kubesphere.io/client-go master master '' '' github.com/kubesphere true BUILD master
    + local source_repo_org=kubesphere
    + local source_repo_name=kubesphere
    + local subdirectories=staging/src/kubesphere.io/client-go
    + local src_branch=master
    + local dst_branch=master
    + local deps=
    + local required_packages=
    + local base_package=github.com/kubesphere
    + local is_library=true
    + shift 9
    + local recursive_delete_pattern=BUILD
    + local git_default_branch=master
    + local commit_msg_tag=Kubesphere-commit
    + readonly subdirectories src_branch dst_branch deps is_library
    + local new_branch=false
    + local orphan=false
    + git rev-parse -q --verify HEAD
    3b6efba8bf62010abc6935bbe52fa47047703ac7
    ++ ls -1
    ++ wc -l
    + '[' 9 = 0 ']'
    ++ git rev-parse HEAD
    Starting at existing master commit 3b6efba8bf62010abc6935bbe52fa47047703ac7.
    + echo 'Starting at existing master commit 3b6efba8bf62010abc6935bbe52fa47047703ac7.'
    + git branch -D filtered-branch
    + git branch -f upstream-branch upstream/master
    branch 'upstream-branch' set up to track 'upstream/master'.
    ++ git rev-parse upstream-branch
    Checked out source commit 6a2f78ef0f3c8e0497095da831415f4e672dc14a.
    + echo 'Checked out source commit 6a2f78ef0f3c8e0497095da831415f4e672dc14a.'
    + git checkout -q upstream-branch -b filtered-branch
    + git reset -q --hard upstream-branch
    + local f_mainline_commits=
    + '[' false = true ']'
    + '[' false = true ']'
    ++ last-kube-commit Kubesphere-commit master
    ++ local commit_msg_tag=Kubesphere-commit
    ++ git log --format=%B master
    ++ grep '^Kubesphere-commit: '
    ++ head -n 1
    ++ sed 's/^Kubesphere-commit: //g'
    + local k_base_commit=447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
    + '[' -z 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce ']'
    ++ git-find-merge 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce upstream/master
    ++ tail -1
    ++ awk 'NR==FNR{a[$1]++;next} a[$1] ' /dev/fd/63 /dev/fd/62
    +++ git rev-list '447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce^1..upstream/master' --first-parent
    +++ git rev-list 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce..upstream/master --ancestry-path
    +++ git rev-parse 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
    + local k_base_merge=447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
    + '[' -z 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce ']'
    + git branch -f filtered-branch-base 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
    Rewriting upstream branch master to only include commits for staging/src/kubesphere.io/client-go.
    + echo 'Rewriting upstream branch master to only include commits for staging/src/kubesphere.io/client-go.'
    + filter-branch Kubesphere-commit staging/src/kubesphere.io/client-go BUILD filtered-branch filtered-branch-base
    + local commit_msg_tag=Kubesphere-commit
    + local subdirectories=staging/src/kubesphere.io/client-go
    + local recursive_delete_pattern=BUILD
    + echo 'Running git filter-branch ...'
    Running git filter-branch ...
    + [[ staging/src/kubesphere.io/client-go == *\:* ]]
    + local index_filter=
    + '[' -n BUILD ']'
    + patterns=()
    + local patterns
    + local p=
    + index_filter='git rm -q --cached --ignore-unmatch -r'
    + IFS=' '
    + read -ra patterns
    + for p in "${patterns[@]}"
    + index_filter+=' '\''BUILD'\'''
    + git filter-branch -f --index-filter 'git rm -q --cached --ignore-unmatch -r '\''BUILD'\''' --msg-filter 'awk 1 && echo && echo "Kubesphere-commit: ${GIT_COMMIT}"' --subdirectory-filter staging/src/kubesphere.io/client-go -- filtered-branch filtered-branch-base
    ++ git rev-parse filtered-branch-base
    + local f_base_commit=e21f1556775a1f88ff055d051851e0a16e268c6f
    ++ git log --first-parent --format=%H --reverse e21f1556775a1f88ff055d051851e0a16e268c6f..HEAD
    + f_mainline_commits=
    + echo 'Checking out branch master.'
    Checking out branch master.
    + git checkout -q master
    + '[' -f kubernetes-sha ']'
    + apply-recursive-delete-pattern BUILD
    + local recursive_delete_pattern=BUILD
    + '[' -z BUILD ']'
    + local split_recursive_delete_pattern
    + read -r -a split_recursive_delete_pattern
    + git rm -q --ignore-unmatch -r BUILD
    + git add -u
    + git-index-clean
    + git diff --cached --exit-code
    + return 0
    ++ git rev-parse HEAD
    + local dst_old_head=3b6efba8bf62010abc6935bbe52fa47047703ac7
    + local k_pending_merge_commit=
    + local dst_needs_gomod_update=false
    ++ git rev-parse HEAD
    + local dst_merge_point_commit=3b6efba8bf62010abc6935bbe52fa47047703ac7
    + for f_mainline_commit in ${f_mainline_commits} FLUSH_PENDING_MERGE_COMMIT
    + local k_mainline_commit=
    + local k_new_pending_merge_commit=
    + '[' FLUSH_PENDING_MERGE_COMMIT = FLUSH_PENDING_MERGE_COMMIT ']'
    + k_new_pending_merge_commit=FLUSH_PENDING_MERGE_COMMIT
    + '[' -n '' ']'
    + k_pending_merge_commit=FLUSH_PENDING_MERGE_COMMIT
    + '[' FLUSH_PENDING_MERGE_COMMIT = FLUSH_PENDING_MERGE_COMMIT ']'
    + break
    + echo 'Fixing up go.mod after a complete sync'
    Fixing up go.mod after a complete sync
    ++ git rev-parse HEAD
    + '[' 3b6efba8bf62010abc6935bbe52fa47047703ac7 '!=' 3b6efba8bf62010abc6935bbe52fa47047703ac7 ']'
    + '[' false = true ']'
    + fix-gomod '' '' github.com/kubesphere true true false Kubesphere-commit BUILD
    + '[' '' = true ']'
    + local deps=
    + local required_packages=
    + local base_package=github.com/kubesphere
    + local is_library=true
    + local needs_gomod_update=true
    + local squash=false
    + local commit_msg_tag=Kubesphere-commit
    + local recursive_delete_pattern=BUILD
    ++ git rev-parse HEAD
    + local dst_old_commit=3b6efba8bf62010abc6935bbe52fa47047703ac7
    + '[' -f go.mod ']'
    + checkout-deps-to-kube-commit Kubesphere-commit '' github.com/kubesphere
    + local commit_msg_tag=Kubesphere-commit
    + deps=()
    + local deps
    + IFS=,
    + read -a deps
    + local base_package=github.com/kubesphere
    + local dep_count=0
    + local dep_packages=
    + '[' 0 '!=' 0 ']'
    ++ last-kube-commit Kubesphere-commit HEAD
    ++ local commit_msg_tag=Kubesphere-commit
    ++ git log --format=%B HEAD
    ++ grep '^Kubesphere-commit: '
    ++ head -n 1
    ++ sed 's/^Kubesphere-commit: //g'
    + local k_last_kube_commit=447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
    + '[' -z 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce ']'
    ++ git-find-merge 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce upstream-branch
    ++ tail -1
    ++ awk 'NR==FNR{a[$1]++;next} a[$1] ' /dev/fd/63 /dev/fd/62
    +++ git rev-list '447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce^1..upstream-branch' --first-parent
    +++ git rev-list 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce..upstream-branch --ancestry-path
    +++ git rev-parse 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
    + local k_last_kube_merge=447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
    + (( i=0 ))
    + (( i<0 ))
    + update-deps-in-gomod '' github.com/kubesphere
    + '[' '!' -f go.mod ']'
    + deps_array=()
    + local deps_array
    + IFS=,
    + read -a deps_array
    + local dep_count=0
    + local base_package=github.com/kubesphere
    + local dep_packages=
    + '[' 0 '!=' 0 ']'
    + (( i=0 ))
    + (( i<0 ))
    + GO111MODULE=on
    + go mod edit -json
    + jq -r '.Replace[]? | select(.New.Path | startswith("../")) | "-dropreplace \(.Old.Path)"'
    + GO111MODULE=on
    + xargs -L 100 go mod edit -fmt
    + '[' -s go.sum ']'
    + rm go.sum
    + GO111MODULE=on
    + GOPRIVATE=
    + GOPROXY=https://proxy.golang.org
    + go mod download
    go: kubesphere.io/api@v0.0.0: reading https://proxy.golang.org/kubesphere.io/api/@v/v0.0.0.mod: 404 Not Found
        server response: not found: kubesphere.io/api@v0.0.0: invalid version: unknown revision v0.0.0
[18 Oct 24 17:54 UTC]: exit status 1
        + '[' '!' 15 -eq 15 ']'
        + REPO=client-go
        + SRC_BRANCH=master
        + DST_BRANCH=master
        + DEPS=
        + REQUIRED=
        + SOURCE_REMOTE=/go-workspace/src/github.com/kubesphere/kubesphere/.git
        + SUBDIRS=staging/src/kubesphere.io/client-go
        + SOURCE_REPO_ORG=kubesphere
        + SOURCE_REPO_NAME=kubesphere
        + shift 9
        + BASE_PACKAGE=github.com/kubesphere
        + IS_LIBRARY=true
        + RECURSIVE_DELETE_PATTERN=BUILD
        + SKIP_TAGS=
        + LAST_PUBLISHED_UPSTREAM_HASH=02d8b63466e01439e7efcfe26056c71ae7434428
        + GIT_DEFAULT_BRANCH=master
        + readonly REPO SRC_BRANCH DST_BRANCH DEPS REQUIRED SOURCE_REMOTE SOURCE_REPO_ORG SUBDIRS SOURCE_REPO_NAME BASE_PACKAGE IS_LIBRARY RECURSIVE_DELETE_PATTERN SKIP_TAGS LAST_PUBLISHED_UPSTREAM_HASH GIT_DEFAULT_BRANCH
        ++ dirname /publish_scripts/construct.sh
        + SCRIPT_DIR=/publish_scripts
        + source /publish_scripts/util.sh
        ++ set -o errexit
        ++ set -o nounset
        ++ set -o pipefail
        ++ set -o xtrace
        + '[' '!' -f .git/info/attributes ']'
        + git config user.email ci-bot@kubesphere.io
        + git config user.name ci-bot
        + echo 'Running garbage collection.'
        + git config gc.pruneExpire 3.days.ago
        + git gc --auto
        + echo 'Cleaning .git/packed-refs'
        + cp .git/packed-refs .git/packed-refs.bak
        + awk '
        NR == 1 {
            prev_line_start_with_caret = 0
        }
        /^[^^]/ {
            prev_line_start_with_caret = 0
            print
        }
        /^\^/ {
            if (!prev_line_start_with_caret) {
                print
            }
            prev_line_start_with_caret = 1
        }
        ' .git/packed-refs.bak
        + rm .git/packed-refs.bak
        + echo 'Fetching from origin.'
        + git fetch origin --no-tags --prune
        + echo 'Cleaning up checkout.'
        + git rebase --abort
        fatal: No rebase in progress?
        + true
        + rm -f .git/index.lock
        + git reset -q --hard
        + git clean -q -f -f -d
        ++ git rev-parse HEAD
        + git checkout -q 3b6efba8bf62010abc6935bbe52fa47047703ac7
        + git branch -D master
        + git remote set-head origin -d
        + git rev-parse origin/master
        + echo 'Switching to origin/master.'
        + git branch -f master origin/master
        + git checkout -q master
        + echo 'Fetching upstream changes.'
        + git remote
        + grep -w -q upstream
        + git remote set-url upstream /go-workspace/src/github.com/kubesphere/kubesphere/.git
        + git fetch -q upstream --no-tags --prune
        ++ git rev-parse upstream/master
        + UPSTREAM_HASH=6a2f78ef0f3c8e0497095da831415f4e672dc14a
        + '[' 6a2f78ef0f3c8e0497095da831415f4e672dc14a '!=' 02d8b63466e01439e7efcfe26056c71ae7434428 ']'
        + echo 'Upstream branch upstream/master moved from '\''02d8b63466e01439e7efcfe26056c71ae7434428'\'' to '\''6a2f78ef0f3c8e0497095da831415f4e672dc14a'\''. We have to sync.'
        + sync_repo kubesphere kubesphere staging/src/kubesphere.io/client-go master master '' '' github.com/kubesphere true BUILD master
        + local source_repo_org=kubesphere
        + local source_repo_name=kubesphere
        + local subdirectories=staging/src/kubesphere.io/client-go
        + local src_branch=master
        + local dst_branch=master
        + local deps=
        + local required_packages=
        + local base_package=github.com/kubesphere
        + local is_library=true
        + shift 9
        + local recursive_delete_pattern=BUILD
        + local git_default_branch=master
        + local commit_msg_tag=Kubesphere-commit
        + readonly subdirectories src_branch dst_branch deps is_library
        + local new_branch=false
        + local orphan=false
        + git rev-parse -q --verify HEAD
        ++ ls -1
        ++ wc -l
        + '[' 9 = 0 ']'
        ++ git rev-parse HEAD
        + echo 'Starting at existing master commit 3b6efba8bf62010abc6935bbe52fa47047703ac7.'
        + git branch -D filtered-branch
        + git branch -f upstream-branch upstream/master
        ++ git rev-parse upstream-branch
        + echo 'Checked out source commit 6a2f78ef0f3c8e0497095da831415f4e672dc14a.'
        + git checkout -q upstream-branch -b filtered-branch
        + git reset -q --hard upstream-branch
        + local f_mainline_commits=
        + '[' false = true ']'
        + '[' false = true ']'
        ++ last-kube-commit Kubesphere-commit master
        ++ local commit_msg_tag=Kubesphere-commit
        ++ git log --format=%B master
        ++ grep '^Kubesphere-commit: '
        ++ head -n 1
        ++ sed 's/^Kubesphere-commit: //g'
        + local k_base_commit=447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
        + '[' -z 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce ']'
        ++ git-find-merge 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce upstream/master
        ++ tail -1
        ++ awk 'NR==FNR{a[$1]++;next} a[$1] ' /dev/fd/63 /dev/fd/62
        +++ git rev-list '447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce^1..upstream/master' --first-parent
        +++ git rev-list 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce..upstream/master --ancestry-path
        +++ git rev-parse 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
        + local k_base_merge=447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
        + '[' -z 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce ']'
        + git branch -f filtered-branch-base 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
        + echo 'Rewriting upstream branch master to only include commits for staging/src/kubesphere.io/client-go.'
        + filter-branch Kubesphere-commit staging/src/kubesphere.io/client-go BUILD filtered-branch filtered-branch-base
        + local commit_msg_tag=Kubesphere-commit
        + local subdirectories=staging/src/kubesphere.io/client-go
        + local recursive_delete_pattern=BUILD
        + echo 'Running git filter-branch ...'
        + [[ staging/src/kubesphere.io/client-go == *\:* ]]
        + local index_filter=
        + '[' -n BUILD ']'
        + patterns=()
        + local patterns
        + local p=
        + index_filter='git rm -q --cached --ignore-unmatch -r'
        + IFS=' '
        + read -ra patterns
        + for p in "${patterns[@]}"
        + index_filter+=' '\''BUILD'\'''
        + git filter-branch -f --index-filter 'git rm -q --cached --ignore-unmatch -r '\''BUILD'\''' --msg-filter 'awk 1 && echo && echo "Kubesphere-commit: ${GIT_COMMIT}"' --subdirectory-filter staging/src/kubesphere.io/client-go -- filtered-branch filtered-branch-base
        ++ git rev-parse filtered-branch-base
        + local f_base_commit=e21f1556775a1f88ff055d051851e0a16e268c6f
        ++ git log --first-parent --format=%H --reverse e21f1556775a1f88ff055d051851e0a16e268c6f..HEAD
        + f_mainline_commits=
        + echo 'Checking out branch master.'
        + git checkout -q master
        + '[' -f kubernetes-sha ']'
        + apply-recursive-delete-pattern BUILD
        + local recursive_delete_pattern=BUILD
        + '[' -z BUILD ']'
        + local split_recursive_delete_pattern
        + read -r -a split_recursive_delete_pattern
        + git rm -q --ignore-unmatch -r BUILD
        + git add -u
        + git-index-clean
        + git diff --cached --exit-code
        + return 0
        ++ git rev-parse HEAD
        + local dst_old_head=3b6efba8bf62010abc6935bbe52fa47047703ac7
        + local k_pending_merge_commit=
        + local dst_needs_gomod_update=false
        ++ git rev-parse HEAD
        + local dst_merge_point_commit=3b6efba8bf62010abc6935bbe52fa47047703ac7
        + for f_mainline_commit in ${f_mainline_commits} FLUSH_PENDING_MERGE_COMMIT
        + local k_mainline_commit=
        + local k_new_pending_merge_commit=
        + '[' FLUSH_PENDING_MERGE_COMMIT = FLUSH_PENDING_MERGE_COMMIT ']'
        + k_new_pending_merge_commit=FLUSH_PENDING_MERGE_COMMIT
        + '[' -n '' ']'
        + k_pending_merge_commit=FLUSH_PENDING_MERGE_COMMIT
        + '[' FLUSH_PENDING_MERGE_COMMIT = FLUSH_PENDING_MERGE_COMMIT ']'
        + break
        + echo 'Fixing up go.mod after a complete sync'
        ++ git rev-parse HEAD
        + '[' 3b6efba8bf62010abc6935bbe52fa47047703ac7 '!=' 3b6efba8bf62010abc6935bbe52fa47047703ac7 ']'
        + '[' false = true ']'
        + fix-gomod '' '' github.com/kubesphere true true false Kubesphere-commit BUILD
        + '[' '' = true ']'
        + local deps=
        + local required_packages=
        + local base_package=github.com/kubesphere
        + local is_library=true
        + local needs_gomod_update=true
        + local squash=false
        + local commit_msg_tag=Kubesphere-commit
        + local recursive_delete_pattern=BUILD
        ++ git rev-parse HEAD
        + local dst_old_commit=3b6efba8bf62010abc6935bbe52fa47047703ac7
        + '[' -f go.mod ']'
        + checkout-deps-to-kube-commit Kubesphere-commit '' github.com/kubesphere
        + local commit_msg_tag=Kubesphere-commit
        + deps=()
        + local deps
        + IFS=,
        + read -a deps
        + local base_package=github.com/kubesphere
        + local dep_count=0
        + local dep_packages=
        + '[' 0 '!=' 0 ']'
        ++ last-kube-commit Kubesphere-commit HEAD
        ++ local commit_msg_tag=Kubesphere-commit
        ++ git log --format=%B HEAD
        ++ grep '^Kubesphere-commit: '
        ++ head -n 1
        ++ sed 's/^Kubesphere-commit: //g'
        + local k_last_kube_commit=447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
        + '[' -z 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce ']'
        ++ git-find-merge 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce upstream-branch
        ++ tail -1
        ++ awk 'NR==FNR{a[$1]++;next} a[$1] ' /dev/fd/63 /dev/fd/62
        +++ git rev-list '447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce^1..upstream-branch' --first-parent
        +++ git rev-list 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce..upstream-branch --ancestry-path
        +++ git rev-parse 447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
        + local k_last_kube_merge=447a51f08b771e9da3ab5fa2bb7c95f0ee7449ce
        + (( i=0 ))
        + (( i<0 ))
        + update-deps-in-gomod '' github.com/kubesphere
        + '[' '!' -f go.mod ']'
        + deps_array=()
        + local deps_array
        + IFS=,
        + read -a deps_array
        + local dep_count=0
        + local base_package=github.com/kubesphere
        + local dep_packages=
        + '[' 0 '!=' 0 ']'
        + (( i=0 ))
        + (( i<0 ))
        + GO111MODULE=on
        + go mod edit -json
        + jq -r '.Replace[]? | select(.New.Path | startswith("../")) | "-dropreplace \(.Old.Path)"'
        + GO111MODULE=on
        + xargs -L 100 go mod edit -fmt
        + '[' -s go.sum ']'
        + rm go.sum
        + GO111MODULE=on
        + GOPRIVATE=
        + GOPROXY=https://proxy.golang.org
        + go mod download
        go: kubesphere.io/api@v0.0.0: reading https://proxy.golang.org/kubesphere.io/api/@v/v0.0.0.mod: 404 Not Found
            server response: not found: kubesphere.io/api@v0.0.0: invalid version: unknown revision v0.0.0

[18 Oct 24 17:54 UTC]: exit status 1```