Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

CI failure at "Checkout code" step - fatal: Could not read from remote repository.

オープン
#1,012 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
git, github
領域
ci-cd

調査の方向性

リンクされた CircleCI パイプラインと、issue に含まれている checkout のシェルロジックから始めます。設定された CIRCLE_REPOSITORY_URL と SSH 設定を、ログに記録された公開鍵エラーと比較し、その後、リポジトリの checkout の動作を検証します。FirefoxColor リポジトリでコードステップ Checkout が正常に完了すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

https://app.circleci.com/pipelines/github/mozilla/FirefoxColor/1087/workflows/8f5362d6-3b2b-498f-8fab-e4ba07ea3820/jobs/2787

Here is the end of the log:

Using SSH Config Dir '/home/circleci/.ssh'
git version 2.34.1
Cloning git repository
Cloning into '.'...
Warning: Permanently added the ECDSA host key for IP address '140.82.113.4' to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

exit status 128

CircleCI received exit code 128

For the record, [email protected]:mozilla/FirefoxColor.git and as part of the checkout the following logic is run:

export GIT_SSH_COMMAND='ssh -i "$SSH_CONFIG_DIR/id_rsa" -o UserKnownHostsFile="$SSH_CONFIG_DIR/known_hosts"'

# use git+ssh instead of https
git config --global url."ssh://[email protected]".insteadOf "https://github.com" || true
git config --global gc.auto 0 || true

if [ -e '/home/circleci/FirefoxColor/.git' ] ; then
  echo 'Fetching into existing repository'
  existing_repo='true'
  cd '/home/circleci/FirefoxColor'
  git remote set-url origin "$CIRCLE_REPOSITORY_URL" || true
else
  echo 'Cloning git repository'
  existing_repo='false'
  mkdir -p '/home/circleci/FirefoxColor'
  cd '/home/circleci/FirefoxColor'
  git clone --no-checkout "$CIRCLE_REPOSITORY_URL" .
fi
主要言語
JavaScript
スター
506
フォーク
100
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/FirefoxColor のほかの issue

mozilla/FirefoxColor の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。