action #179017
closed[obs] os-autoinst t/34-git.t fails in Factory builds
0%
Description
https://bugzilla.opensuse.org/show_bug.cgi?id=1239686
This happens in regular devel:openQA builds now as well:
https://build.opensuse.org/package/live_build_log/devel:openQA/os-autoinst/openSUSE_Factory/x86_64
[ 101s] 3: [11:55:19] t/34-git.t ...............................
[ 101s] 3: # Subtest: failure to clone results once
[ 101s] 3: ok 1
[ 101s] 3: 1..1
[ 101s] 3: ok 1 - failure to clone results once
[ 101s] 3: # Subtest: failure to clone results in repeated attempts
[ 101s] 3: ok 1 - bar cleaned up
[ 101s] 3: ok 2 - bar cleaned up
[ 101s] 3: ok 3 - bar cleaned up
[ 101s] 3: ok 4 - threw Regexp ((?^u:Unable to clone Git repository))
[ 101s] 3: ok 5 - all retry attempts used
[ 101s] 3: 1..5
[ 101s] 3: ok 2 - failure to clone results in repeated attempts
[ 101s] 3: # Subtest: failing clone
[ 101s] 3: not ok 1 - Error message when trying to clone wrong git hash
[ 101s] 3:
[ 101s] 3: # Failed test 'Error message when trying to clone wrong git hash'
[ 101s] 3: # at t/34-git.t line 67.
[ 101s] 3: # expecting: Regexp ((?^u:Could not find 'abcdef' in complete history in cloned Git repository "file\:\/\/\/tmp\/34\-git\.t\-u75S\/tmpgitrepo\#abcdef"))
[ 101s] 3: # found: Unable to clone Git repository "file:///tmp/34-git.t-u75S/tmpgitrepo#abcdef" specified via CASEDIR (see log for details) at /home/abuild/rpmbuild/BUILD/os-autoinst-5.1742031910.117e1ea-build/os-autoinst-5.1742031910.117e1ea/OpenQA/Isotovideo/Utils.pm line 165.
[ 101s] 3: not ok 2 - manual git fetch for revspec was attempted
[ 101s] 3:
[ 101s] 3: not ok 3 - git fetch with --depth option was attempted
[ 101s] 3: 1..3
[ 101s] 3: not ok 3 - failing clone
[ 101s] 3: # Subtest: successful clone
[ 101s] 3: # Failed test 'manual git fetch for revspec was attempted'
[ 101s] 3: # at t/34-git.t line 69.
[ 101s] 3: # '[2025-03-17T11:55:20.079618Z] [info] [pid:4519] ::: OpenQA::Isotovideo::Utils::clone_git: Cloning git URL "file:///tmp/34-git.t-u75S/tmpgitrepo" into '/home/abuild/rpmbuild/BUILD/os-autoinst-5.1742031910.117e1ea-build/os-autoinst-5.1742031910.117e1ea/t'
[ 101s] 3: # [2025-03-17T11:55:20.079731Z] [info] [pid:4519] ::: OpenQA::Isotovideo::Utils::clone_git: Checking out git refspec/branch 'abcdef'
[ 101s] 3: # [2025-03-17T11:55:20.093987Z] [debug] [pid:4519] Cloning into 'tmpgitrepo'...
[ 101s] 3: # fatal: Remote branch abcdef not found in upstream origin
[ 101s] 3: #
[ 101s] 3: # [2025-03-17T11:55:20.094121Z] [debug] [pid:4519] Clone failed, retries left: 0 of 0
[ 101s] 3: # '
[ 101s] 3: # doesn't match '(?^us:Fetching 'abcdef' from origin manually)'
[ 101s] 3:
[ 101s] 3: # Failed test 'git fetch with --depth option was attempted'
[ 101s] 3: # at t/34-git.t line 70.
[ 101s] 3: # '[2025-03-17T11:55:20.079618Z] [info] [pid:4519] ::: OpenQA::Isotovideo::Utils::clone_git: Cloning git URL "file:///tmp/34-git.t-u75S/tmpgitrepo" into '/home/abuild/rpmbuild/BUILD/os-autoinst-5.1742031910.117e1ea-build/os-autoinst-5.1742031910.117e1ea/t'
[ 101s] 3: # [2025-03-17T11:55:20.079731Z] [info] [pid:4519] ::: OpenQA::Isotovideo::Utils::clone_git: Checking out git refspec/branch 'abcdef'
[ 101s] 3: # [2025-03-17T11:55:20.093987Z] [debug] [pid:4519] Cloning into 'tmpgitrepo'...
[ 101s] 3: # fatal: Remote branch abcdef not found in upstream origin
[ 101s] 3: #
[ 101s] 3: # [2025-03-17T11:55:20.094121Z] [debug] [pid:4519] Clone failed, retries left: 0 of 0
[ 101s] 3: # '
[ 101s] 3: # doesn't match '(?^us:Cloning git URL.*Fetching more remote objects.*Enumerating objects)'
[ 101s] 3: # Looks like you failed 3 tests of 3.
[ 101s] 3:
[ 101s] 3: # Failed test 'failing clone'
[ 101s] 3: # at t/34-git.t line 71.
[ 101s] 3: # Subtest: fetch commit manually but directly
[ 102s] 3: 1..0
[ 102s] 3: # No tests run!
[ 102s] 3: not ok 1 - No tests run for subtest "fetch commit manually but directly"
[ 102s] 3:
[ 102s] 3: # Failed test 'No tests run for subtest "fetch commit manually but directly"'
[ 102s] 3: # at t/34-git.t line 83.
[ 102s] 3: 1..1
[ 102s] 3: # Looks like you failed 1 test of 1.
[ 102s] 3: not ok 4 - successful clone
[ 102s] 3:
[ 102s] 3: # Failed test 'successful clone'
[ 102s] 3: # at t/34-git.t line 97.
[ 102s] 3: Unable to clone Git repository "file:///tmp/34-git.t-u75S/tmpgitrepo#b2816a4072d75a55ab6301f0db3e2d6f9b307720" specified via CASEDIR (see log for details) at /home/abuild/rpmbuild/BUILD/os-autoinst-5.1742031910.117e1ea-build/os-autoinst-5.1742031910.117e1ea/OpenQA/Isotovideo/Utils.pm line 165.
[ 102s] 3: # Tests were run but no plan was declared and done_testing() was not seen.
[ 102s] 3: # Looks like your test exited with 128 just after 4.
[ 102s] 3: Dubious, test returned 128 (wstat 32768, 0x8000)
[ 102s] 3: Failed 2/4 subtests
This could be related to a git version update from 2.48 (currently in Tumbleweed) to 2.49 (Factory).
Acceptance Criteria¶
AC1: OBS checks are passing again
Suggestions¶
- Mtigation: Temporarily remove 34-git.t until code is fixed
Updated by tinita about 1 month ago
- Subject changed from boo#1239686: os-autoinst: FTBFS-j1 to [obs] os-autoinst t/34-git.t fails
- Description updated (diff)
- Priority changed from Normal to High
This will likely happen soon in Tumbleweed as well, as the reason could be a git version update. Setting to High
Updated by tinita about 1 month ago
- Subject changed from [obs] os-autoinst t/34-git.t fails to [obs] os-autoinst t/34-git.t fails in Factory builds
Updated by tinita about 1 month ago
- Status changed from New to In Progress
- Assignee set to tinita
Updated by tinita about 1 month ago
- Status changed from In Progress to Feedback
https://github.com/os-autoinst/os-autoinst/pull/2680 Adapt check for git error message to new version
Updated by tinita about 1 month ago
- Blocked by action #163940: Warning in test: SQL::Translator::Diff::schema_diff(): producer_args is deprecated size:S added
Updated by tinita about 1 month ago
- Blocked by deleted (action #163940: Warning in test: SQL::Translator::Diff::schema_diff(): producer_args is deprecated size:S)
Updated by tinita about 1 month ago
- Status changed from Blocked to Feedback
not blocked anymore, and https://build.opensuse.org/package/show/devel:openQA/os-autoinst is green again.
Waiting for feedback on https://bugzilla.opensuse.org/show_bug.cgi?id=1239686
Updated by okurz about 1 month ago
- Status changed from Feedback to Resolved
https://build.opensuse.org/package/show/devel:openQA/os-autoinst all green again. https://bugzilla.opensuse.org/show_bug.cgi?id=1239686 verified fixed
Updated by okurz about 1 month ago
- Copied to action #179146: [obs] os-autoinst t/34-git.t fails in devel:openQA:tested builds, formerly openSUSE:Factory added