-
Bug
-
Resolution: Cannot Reproduce
-
Blocker
-
None
-
Jenkins ver. 2.204.1
Git plugin 4.1.1
I have enabled submodule checkout in our configured GitHub organisation:
However, when checking out projects now, intermittently, the checkout will fail with no indication why:
[2020-02-11T13:23:18.590Z] using credential daos_jenkins_project_github_access [2020-02-11T13:23:18.611Z] Fetching changes from the remote Git repository [2020-02-11T13:23:18.620Z] Fetching without tags [2020-02-11T13:23:18.602Z] > git rev-parse --is-inside-work-tree # timeout=10 [2020-02-11T13:23:18.614Z] > git config remote.origin.url https://github.com/daos-stack/daos.git # timeout=10 [2020-02-11T13:23:18.623Z] Fetching upstream changes from https://github.com/daos-stack/daos.git [2020-02-11T13:23:18.623Z] > git --version # timeout=10 [2020-02-11T13:23:18.627Z] using GIT_ASKPASS to set credentials **** GitHub account for github project use (daos_jenkins_project_github_access) [2020-02-11T13:23:18.628Z] > git fetch --no-tags --progress https://github.com/daos-stack/daos.git +refs/pull/1818/head:refs/remotes/origin/PR-1818 # timeout=10 [2020-02-11T13:23:20.000Z] Checking out Revision 1f757ccc6f67e2611cf704671ebd199c1cc852e9 (PR-1818) [2020-02-11T13:23:20.065Z] Commit message: "DAOS-2746 test: Add junit-capable go test runner" [2020-02-11T13:23:20.003Z] > git config core.sparsecheckout # timeout=10 [2020-02-11T13:23:20.007Z] > git checkout -f 1f757ccc6f67e2611cf704671ebd199c1cc852e9 # timeout=10 [2020-02-11T13:23:20.072Z] > git remote # timeout=10 [2020-02-11T13:23:20.076Z] > git submodule init # timeout=10 [2020-02-11T13:23:20.172Z] > git submodule sync # timeout=10 [2020-02-11T13:23:20.284Z] > git config --get remote.origin.url # timeout=10 [2020-02-11T13:23:20.292Z] > git submodule init # timeout=10 [2020-02-11T13:23:20.380Z] > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 [2020-02-11T13:23:20.384Z] > git config --get submodule.scons_local.url # timeout=10 [2020-02-11T13:23:20.387Z] > git remote # timeout=10 [2020-02-11T13:23:20.391Z] > git config --get remote.origin.url # timeout=10 [2020-02-11T13:23:20.394Z] > git config -f .gitmodules --get submodule.scons_local.path # timeout=10 [2020-02-11T13:23:20.398Z] > git config --get submodule.raft.url # timeout=10 [2020-02-11T13:23:20.401Z] > git remote # timeout=10 [2020-02-11T13:23:20.406Z] > git config --get remote.origin.url # timeout=10 [2020-02-11T13:23:20.410Z] > git config -f .gitmodules --get submodule.raft.path # timeout=10 [2020-02-11T13:23:20.414Z] using GIT_ASKPASS to set credentials **** GitHub account for github project use (daos_jenkins_project_github_access) [2020-02-11T13:23:20.415Z] > git submodule update --init --recursive scons_local # timeout=10 Could not perform submodule update
And yet at other times, it works:
[2020-02-10T19:04:15.801Z] using credential daos_jenkins_project_github_access [2020-02-10T19:04:15.825Z] Fetching changes from the remote Git repository [2020-02-10T19:04:15.833Z] Fetching without tags [2020-02-10T19:04:16.400Z] Checking out Revision 0d58d4725611cd041ad8984b4a0706dbeb47dc32 (master) [2020-02-10T19:04:16.434Z] Commit message: "DAOS-3819 api: check pool connect uuid for NULL (#1842)" [2020-02-10T19:04:15.820Z] > git rev-parse --is-inside-work-tree # timeout=10 [2020-02-10T19:04:15.828Z] > git config remote.origin.url https://github.com/daos-stack/daos.git # timeout=10 [2020-02-10T19:04:15.836Z] Fetching upstream changes from https://github.com/daos-stack/daos.git [2020-02-10T19:04:15.836Z] > git --version # timeout=10 [2020-02-10T19:04:15.838Z] using GIT_ASKPASS to set credentials **** GitHub account for github project use (daos_jenkins_project_github_access) [2020-02-10T19:04:15.839Z] > git fetch --no-tags --progress https://github.com/daos-stack/daos.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-02-10T19:04:16.402Z] > git config core.sparsecheckout # timeout=10 [2020-02-10T19:04:16.405Z] > git checkout -f 0d58d4725611cd041ad8984b4a0706dbeb47dc32 # timeout=10 [2020-02-10T19:04:16.439Z] > git remote # timeout=10 [2020-02-10T19:04:16.441Z] > git submodule init # timeout=10 [2020-02-10T19:04:16.520Z] > git submodule sync # timeout=10 [2020-02-10T19:04:16.615Z] > git config --get remote.origin.url # timeout=10 [2020-02-10T19:04:16.621Z] > git submodule init # timeout=10 [2020-02-10T19:04:16.680Z] > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 [2020-02-10T19:04:16.683Z] > git config --get submodule.scons_local.url # timeout=10 [2020-02-10T19:04:16.685Z] > git remote # timeout=10 [2020-02-10T19:04:16.687Z] > git config --get remote.origin.url # timeout=10 [2020-02-10T19:04:16.689Z] > git config -f .gitmodules --get submodule.scons_local.path # timeout=10 [2020-02-10T19:04:16.691Z] > git config --get submodule.raft.url # timeout=10 [2020-02-10T19:04:16.694Z] > git remote # timeout=10 [2020-02-10T19:04:16.696Z] > git config --get remote.origin.url # timeout=10 [2020-02-10T19:04:16.698Z] > git config -f .gitmodules --get submodule.raft.path # timeout=10 [2020-02-10T19:04:16.700Z] using GIT_ASKPASS to set credentials **** GitHub account for github project use (daos_jenkins_project_github_access) [2020-02-10T19:04:16.701Z] > git submodule update --init --recursive scons_local # timeout=10 [2020-02-10T19:04:17.468Z] [2020-02-10T19:04:17.468Z] GitHub has been notified of this commit’s build result [2020-02-10T19:04:17.468Z] [2020-02-10T19:04:16.783Z] using GIT_ASKPASS to set credentials **** GitHub account for github project use (daos_jenkins_project_github_access) [2020-02-10T19:04:16.784Z] > git submodule update --init --recursive src/rdb/raft # timeout=10
Probably what is most frustrating is that when it doesn't (seemingly) work, there is no indication (error message, return code report, etc.), either in the checkout text itself or the jenkins.log why, so it leaves me even questioning whether something actually did go wrong or the plugin is just broken.