CI failure at "Checkout code" step - fatal: Could not read from remote repository.
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- git, github
- 領域
- ci-cd
調査の方向性
リンクされた CircleCI パイプラインと、issue に含まれている checkout のシェルロジックから始めます。設定された CIRCLE_REPOSITORY_URL と SSH 設定を、ログに記録された公開鍵エラーと比較し、その後、リポジトリの checkout の動作を検証します。FirefoxColor リポジトリでコードステップ Checkout が正常に完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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 はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mozilla/FirefoxColor のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mozilla/FirefoxColor#1081 · コメント 1 件 ·
-
does not see browserオープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
mozilla/FirefoxColor#1087 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
mozilla/FirefoxColor#1085 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
mozilla/FirefoxColor#1084 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
mozilla/FirefoxColor#1083 · リアクション 1 件 ·
mozilla/FirefoxColor の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
curriculum documentation quality
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
githubnext/gh-aw-workshop#3897 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
難易度 2/5 1〜3時間 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信