Closed Bug 1295900 Opened 6 years ago Closed 6 years ago

missing git-repo.git: [taskcluster-vcs] 0 run start : (cwd: /home/worker/workspace/B2G) ./repo init -b master -u /home/worker/workspace/B2G/.tc-vcs-manifest -m sources.xml --repo-url https://git.mozilla.org/external/google/gerrit/git-repo.git --repo-branc

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox51 fixed)

RESOLVED FIXED
Tracking Status
firefox51 --- fixed

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

Details

Attachments

(2 files)

[taskcluster-vcs] 0 run start : (cwd: /home/worker/workspace/B2G) ./repo init -b master -u /home/worker/workspace/B2G/.tc-vcs-manifest -m sources.xml --repo-url https://git.mozilla.org/external/google/gerrit/git-repo.git --repo-branch master
gpg: keyring `/home/worker/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/worker/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/worker/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: key 692B382C: public key "Conley Owens <cco3@android.com>" imported
gpg: Total number processed: 2
gpg:               imported: 2  (RSA: 1)
Get https://git.mozilla.org/external/google/gerrit/git-repo.git
fatal: repository 'https://wiki.mozilla.org/DeveloperServices/HistoricalVCSexternal/google/gerrit/git-repo.git/' not found

[taskcluster-vcs:error] run end (with error) NOT RETRYING!: ./repo init -b master -u /home/worker/workspace/B2G/.tc-vcs-manifest -m sources.xml --repo-url https://git.mozilla.org/external/google/gerrit/git-repo.git --repo-branch master
Error: Error running command: ./repo init -b master -u /home/worker/workspace/B2G/.tc-vcs-manifest -m sources.xml --repo-url https://git.mozilla.org/external/google/gerrit/git-repo.git --repo-branch master
    at Error (<anonymous>)
    at run$ (/usr/local/lib/node_modules/taskcluster-vcs/build/run.js:128:15)
    at tryCatch (/usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/regenerator-6to5/runtime.js:53:40)
    at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/regenerator-6to5/runtime.js:209:22)
    at tryCatch (/usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/regenerator-6to5/runtime.js:53:40)
    at Function.step (/usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/regenerator-6to5/runtime.js:103:22)
    at /usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/core-js/shim.js:1283:41
    at /usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/core-js/shim.js:1293:10
    at process._tickCallback (node.js:442:13)

/usr/local/lib/node_modules/taskcluster-vcs/build/bin/tc-vcs.js:58
        throw err;
              ^
Error: Error running command: ./repo init -b master -u /home/worker/workspace/B2G/.tc-vcs-manifest -m sources.xml --repo-url https://git.mozilla.org/external/google/gerrit/git-repo.git --repo-branch master
    at Error (<anonymous>)
    at run$ (/usr/local/lib/node_modules/taskcluster-vcs/build/run.js:128:15)
    at tryCatch (/usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/regenerator-6to5/runtime.js:53:40)
    at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/regenerator-6to5/runtime.js:209:22)
    at tryCatch (/usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/regenerator-6to5/runtime.js:53:40)
    at Function.step (/usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/regenerator-6to5/runtime.js:103:22)
    at /usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/core-js/shim.js:1283:41
    at /usr/local/lib/node_modules/taskcluster-vcs/node_modules/6to5/node_modules/core-js/shim.js:1293:10
    at process._tickCallback (node.js:442:13)
Probably a fallout from bug 1277297: git.mozilla.org is a 304 to wiki.mozilla.org. Maybe we should just update:
> testing/docker/desktop-test/tc-vcs-config.yml:  repoUrl: https://git.mozilla.org/external/google/gerrit/git-repo.git
> testing/docker/desktop1604-test/tc-vcs-config.yml:  repoUrl: https://git.mozilla.org/external/google/gerrit/git-repo.git
> testing/docker/tester/tc-vcs-config.yml:  repoUrl: https://git.mozilla.org/external/google/gerrit/git-repo.git
> testing/mozharness/configs/partner_repacks/release_mozilla-release_desktop.py:    "repo_file": "https://raw.githubusercontent.com/mozilla/git-repo/master/repo",
> testing/mozharness/configs/partner_repacks/staging_release_mozilla-release_desktop.py:    "repo_file": "https://raw.githubusercontent.com/mozilla/git-repo/master/repo",
> testing/mozharness/mozharness/mozilla/building/buildb2gbase.py:            'repo_repo': "https://git.mozilla.org/external/google/gerrit/git-repo.git",
Depends on: 1277297
Assignee: nobody → lissyx+mozillians
Attached file tc-vcs PR
Attachment #8781903 - Flags: review?(garndt)
Looks like we will need a new cache job to be run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=da7e5b72ed3c&filter-tier=1&filter-tier=2&filter-tier=3&selectedJob=25871760

I cannot do more on try now :) I guess the patch is fine by itself, though, so pushing this to central should be good with the next cache re-generation ?
Flags: needinfo?(wcosta)
Flags: needinfo?(garndt)
Flags: needinfo?(garndt)
Attachment #8781903 - Flags: review?(garndt) → review?(wcosta)
Comment on attachment 8781898 [details]
Bug 1295900 - Switch git-repo off git.mozilla.org

https://reviewboard.mozilla.org/r/72224/#review69866

I don't see anything obviously wrong with this, but it seems like this could be tested on try once the new tc-vcs package lands and the repos are cached just to make sure.

::: testing/docker/phone-builder/Dockerfile:12
(Diff revision 4)
>  # Builds need the share module enabled
>  ADD           hgrc /home/worker/.hgrc
>  RUN chown -R worker:worker /home/worker/.hgrc
>  
> +# Make sure we use our own config
> +COPY          tc-vcs-config.yml /etc/taskcluster-vcs.yml

I've never done anything with this file before, so I hope it just works like you expect.  If not, it seems  you also made the same changes in the default yml in tc-vcs too
Attachment #8781898 - Flags: review?(garndt) → review+
Flags: needinfo?(wcosta)
Attachment #8781903 - Flags: review?(wcosta) → review+
I updated and deployed new taskcluster-vcs. Also I triggered a new cache job. Please, try again in about a hour.
Cache jobs have completed successfully. Retries on try are failing but this is because of bug 1295516.
Pushed by alissy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2ffda4181e7f
Switch git-repo off git.mozilla.org r=garndt
https://hg.mozilla.org/mozilla-central/rev/2ffda4181e7f
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.