Bitrise Build Issue Report template
Description of the issue
Running into an issue with my android project, which has submodule dependencies. In my gitmodules, the submodules are listed as pointing to a branch(develop). But whenever the build runs, it seems to not pick up the latest commits from those repositories. I have a git clone step and it fails on those submodules after the ‘git submodule update’ step as it seems to not fetch the latest commits to those repos. Can you please help?
config:
- RepositoryURL: git@github.com:[REDACTED]erarmour/ua-shop-[REDACTED].git
- CloneIntoDir: /bitrise/src
- Commit:
- Tag:
- Branch: adhoc/login-issue-prod
- BranchDest:
- PRID: 0
- PRRepositoryURL:
- PRMergeBranch:
- ResetRepository: false
- CloneDepth: 1
- BuildURL: Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation
- BuildAPIToken: [REDACTED]
- UpdateSubmodules: true
- ManualMerge: true
git “init”
Initialized empty Git repository in /bitrise/src/.git/
git “remote” “add” “origin” “git@github.com:[REDACTED]erarmour/ua-shop-[REDACTED].git”
git “fetch” “–depth=1” “origin” “adhoc/login-issue-prod”
Warning: Permanently added ‘github.com,140.82.113.4’ (RSA) to the list of known hosts.
From github.com:[REDACTED]erarmour/ua-shop-[REDACTED]
- branch adhoc/login-issue-prod → FETCH_HEAD
- [new branch] adhoc/login-issue-prod → origin/adhoc/login-issue-prod
git “checkout” “adhoc/login-issue-prod”
Switched to a new branch ‘adhoc/login-issue-prod’
Branch adhoc/login-issue-prod set up to track remote branch adhoc/login-issue-prod from origin.
git “merge” “origin/adhoc/login-issue-prod”
Already up-to-date.
git “submodule” “update” “–init” “–recursive”
Submodule ‘commerce-core-[REDACTED]/commerce-common-[REDACTED]’ (git@github.com:[REDACTED]erarmour/commerce-common-[REDACTED].git) registered for path ‘commerce-core-[REDACTED]/commerce-common-[REDACTED]’
Submodule ‘commerce-core-[REDACTED]/uasdk-ecomm-[REDACTED]/commerce-common-[REDACTED]’ (git@github.com:[REDACTED]erarmour/commerce-common-[REDACTED].git) registered for path ‘commerce-core-[REDACTED]/uasdk-ecomm-[REDACTED]/commerce-common-[REDACTED]’
Submodule ‘commerce-core-[REDACTED]/uasdk-ecomm-[REDACTED]/commerce-pci-tokenization-[REDACTED]’ (git@github.com:[REDACTED]erarmour/commerce-pci-tokenization-[REDACTED].git) registered for path ‘commerce-core-[REDACTED]/uasdk-ecomm-[REDACTED]/commerce-pci-tokenization-[REDACTED]’
Cloning into ‘commerce-core-[REDACTED]/commerce-common-[REDACTED]’…
fatal: reference is not a tree: 8fcf032eba831003c8484d13f54916479317fcde
Cloning into ‘commerce-core-[REDACTED]/uasdk-ecomm-[REDACTED]/commerce-common-[REDACTED]’…
fatal: reference is not a tree: 24e431349ed1309f9e07e484282be0ebde286bbb
Cloning into ‘commerce-core-[REDACTED]/uasdk-ecomm-[REDACTED]/commerce-pci-tokenization-[REDACTED]’…
fatal: reference is not a tree: b526216b927622b9af95ca0c6e14f1099995e1f2
Unable to checkout ‘8fcf032eba831003c8484d13f54916479317fcde’ in submodule path ‘commerce-core-[REDACTED]/commerce-common-[REDACTED]’
Unable to checkout ‘24e431349ed1309f9e07e484282be0ebde286bbb’ in submodule path ‘commerce-core-[REDACTED]/uasdk-ecomm-[REDACTED]/commerce-common-[REDACTED]’
Unable to checkout ‘b526216b927622b9af95ca0c6e14f1099995e1f2’ in submodule path ‘commerce-core-[REDACTED]/uasdk-ecomm-[REDACTED]/commerce-pci-tokenization-[REDACTED]’
ERROR: submodule update: exit status 1
| |
±–±--------------------------------------------------------------±---------+
| x | git-clone@4.0.14 (exit code: 1) | 10 sec |
±–±--------------------------------------------------------------±---------+
| Issue tracker: Issues · bitrise-steplib/steps-git-clone · GitHub |
| Source: GitHub - bitrise-steplib/steps-git-clone |
±–±--------------------------------------------------------------±---------+
Environment:
Info above
Step: Git Clone
Reproducibility
- Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
-
Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : NO - Does the issue happen sporadically, or every time? :
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : Yesterday
Local reproduction
Cannot reproduce locally.