[JIRA] (JENKINS-61684) Git client plugin automated tests fail with MinGit on Windows

0 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 25, 2020, 10:35:03 AM3/25/20
to jenkinsc...@googlegroups.com
Mark Waite created an issue
 
Jenkins / Bug JENKINS-61684
Git client plugin automated tests fail with MinGit on Windows
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-client-plugin
Created: 2020-03-25 14:34
Environment: ci.jenkins.io Windows agents
Labels: newbie-friendly
Priority: Minor Minor
Reporter: Mark Waite

The Git for Windows distribution includes "MinGit", a minimal git for Windows. MinGit 2.26.0 and prior do not include large file support. The absence of large file support causes the git client plugin unit tests to fail on Windows machines that have configured MinGit.

Git client plugin automated tests should pass successfully on MinGit by ignoring tests that require Large File Support if it is not installed.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 25, 2020, 10:38:02 AM3/25/20
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 25, 2020, 10:38:02 AM3/25/20
to jenkinsc...@googlegroups.com
Mark Waite updated an issue
The [ Git for Windows |https://github.com/git-for-windows/git/releases/] distribution includes " [ MinGit |https://github.com/git-for-windows/git/releases/download/v2.26.0.windows.1/MinGit-2.26.0-64-bit.zip] ", a minimal git for Windows.  MinGit 2.26.0 and prior do not include large file support.  The absence of large file support causes the git client plugin unit tests to fail on Windows machines that have configured use MinGit.


Git client plugin automated tests should pass successfully on MinGit by ignoring tests that require Large File Support if it is not installed.


Download and install MinGit

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 25, 2020, 10:42:02 AM3/25/20
to jenkinsc...@googlegroups.com
Mark Waite updated an issue
The [Git for Windows|https://github.com/git-for-windows/git/releases/] distribution includes "[MinGit|https://github.com/git-for-windows/git/releases/download/v2.26.0.windows.1/MinGit-2.26.0-64-bit.zip]", a minimal git for Windows.  MinGit 2.26.0 and prior do not include large file support.  The absence of large file support causes the git client plugin unit tests to fail on Windows machines that use MinGit.


Git client plugin automated tests should pass successfully on MinGit by ignoring tests that require Large File Support if it is not installed.

Download and install MinGit , configure it as the only git in your Windows path, and then run the git client plugin automated tests with the command:

{noformat}
C:\Users\MarkE\git\jenkins\git-client-plugin > mvn clean -Dtest=GitClientTest test
{noformat}

It will fail several tests and report that the command {{git lfs}} was not found.  Those tests already use {{Assume}} to skip the tests if git LFS is not installed.  The assumption should be extended to cover the MinGit case as well.

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 25, 2020, 11:22:03 AM3/25/20
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
Change By: Mark Waite
Assignee: Mark Waite

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 26, 2020, 6:19:03 PM3/26/20
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Mark Waite

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 26, 2020, 6:19:04 PM3/26/20
to jenkinsc...@googlegroups.com
Mark Waite started work on Bug JENKINS-61684
 
Change By: Mark Waite
Status: Open In Progress

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 26, 2020, 8:26:04 PM3/26/20
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 26, 2020, 9:41:03 PM3/26/20
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Fixed
Change By: Mark Waite
Status: Resolved Closed

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 26, 2020, 9:41:03 PM3/26/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages