Cloning from GitHub randomly timed out resulting in failed tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- git, shell
- Domain
- devops, testing-qa
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Shell
- Stars
- 25
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sclorg/container-common-scripts
-
sclorg/container-common-scripts#425 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
sclorg/container-common-scripts#332 · 1 reaction ·
-
sclorg/container-common-scripts#264 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
sclorg/container-common-scripts#148 · 3 comments · 1 reaction ·
All issues in sclorg/container-common-scripts
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·