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

Cloning from GitHub randomly timed out resulting in failed tests

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
git, shell
領域
devops, testing-qa

調査の方向性

Start with the nightly Ruby container tests named run_s2i_build and test_from_dockerfile_s2i, then trace how their GitHub repositories are cloned. Verify the retry behavior against the intermittent timeout cases for ruby-hello-world and rails-ex; done means transient clone failures no longer fail the tests immediately.

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

説明

Container platform

No response

Version

No response

OS version of the container image

No response

Bugzilla, Jira

No response

Description

In recent nightly tests, Ruby containers failed on RHEL 8 and RHEL 9.

The problem is git clone timing out. This seems like random/intermittent issue.

It happened with 2 different Ruby versions, in different tests cloning different repos, so it shouldn't be an issue with the container itself.

1 failure was with Ruby 2.5 'db' run_s2i_build' https://github.com/openshift/ruby-hello-world.git/ , and second was with Ruby 3.1 'from_dockerfile' test_from_dockerfile_s2i pulling rails-ex https://github.com/sclorg/rails-ex.git/ .

Rest of the Ruby container test suite for other version and where other cloning happens finished OK.

Trying to clone in a loop to should prevent an intermittent timeout failing the tests.

Relevant excerpts from logs:
RHEL9 Ruby 'from_dockerfile' test_from_dockerfile_s2i:

fatal: unable to access 'https://github.com/sclorg/rails-ex.git/': Failed to connect to [github.com](http://github.com/) port 443: Connection timed out
ERROR: Git repository https://github.com/sclorg/rails-ex.git@master cannot be cloned into app-src.
Terminating the Dockerfile build.
Test for image 'ubi9/ruby-31:1' FAILED (exit code: 1)
Test for image 'ubi9/ruby-31:1' FAILED (exit code: 1)

RHEL 8 Ruby db' run_s2i_build:

fatal: unable to access 'https://github.com/openshift/ruby-hello-world.git/': Failed to connect to [github.com](http://github.com/) port 443: Connection timed out
/var/tmp/daily_scl_tests/rhel8-test/plans/nightly-container-rhel8/data/s2i-ruby-container/2.5
cp: cannot stat '/var/tmp/daily_scl_tests/rhel8-test/plans/nightly-container-rhel8/data/s2i-ruby-container/2.5/test/db-test-app/.': No such file or directory
Reproducer

No response

主要言語
Shell
スター
25
フォーク
45
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

sclorg/container-common-scripts のほかの issue

sclorg/container-common-scripts の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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