# Test Failure t5516.113 RE: [ANNOUNCE] Git v2.37.0-rc0

2 messages from 2022-06-15 to 2022-06-15. Participants: rsbecker@nexbridge.com, Ævar Arnfjörð Bjarmason.
Thread: https://gitlist.dev/t/58009

## rsbecker@nexbridge.com, 2022-06-15 10:10

Subject: Test Failure t5516.113 RE: [ANNOUNCE] Git v2.37.0-rc0
Message-ID: <01e801d880a0$2c5e4d50$851ae7f0$@nexbridge.com>
URL: https://gitlist.dev/e/01e801d880a0%242c5e4d50%24851ae7f0%24%40nexbridge.com

```
On June 13, 2022 9:46 PM, Junio C Hamano wrote:
>An early preview release Git v2.37.0-rc0 is now available for testing at the usual
>places.  It is comprised of 339 non-merge commits since v2.36.0, contributed by 59
>people, 18 of which are new faces [*].  There are a few topics that we may want to
>merge before the final release, which will be in -rc1 that is planned to be tagged at
>around the end of the week.

This one keeps showing up occasionally. I am not sure why, but I am not certain bash likes ! grep. This only happens on our NonStop x86 build, which is a more recent platform than the ia64, where the construct succeeds. Have we not moved away from that?

not ok 113 - fetch warns or fails when using username:password
#	
#		message="URL 'https://username:<redacted>@localhost/' uses plaintext credentials" &&
#		test_must_fail git -c fetch.credentialsInUrl=allow fetch https://username:password@localhost 2>err &&
#		! grep "$message" err &&
#	
#		test_must_fail git -c fetch.credentialsInUrl=warn fetch https://username:password@localhost 2>err &&
#		grep "warning: $message" err >warnings &&
#		test_line_count = 3 warnings &&
#	
#		test_must_fail git -c fetch.credentialsInUrl=die fetch https://username:password@localhost 2>err &&
#		grep "fatal: $message" err >warnings &&
#		test_line_count = 1 warnings &&
#	
#		test_must_fail git -c fetch.credentialsInUrl=die fetch https://username:@localhost 2>err &&
#		grep "fatal: $message" err >warnings &&
#		test_line_count = 1 warnings
#	

Thanks,
Randall


```

## Ævar Arnfjörð Bjarmason, 2022-06-15 10:46

Subject: Re: Test Failure t5516.113 RE: [ANNOUNCE] Git v2.37.0-rc0
Message-ID: <220615.86ilp2xky8.gmgdl@evledraar.gmail.com>
URL: https://gitlist.dev/e/220615.86ilp2xky8.gmgdl%40evledraar.gmail.com
In-Reply-To: <01e801d880a0$2c5e4d50$851ae7f0$@nexbridge.com>

```

On Wed, Jun 15 2022, rsbecker@nexbridge.com wrote:

> On June 13, 2022 9:46 PM, Junio C Hamano wrote:
>>An early preview release Git v2.37.0-rc0 is now available for testing at the usual
>>places.  It is comprised of 339 non-merge commits since v2.36.0, contributed by 59
>>people, 18 of which are new faces [*].  There are a few topics that we may want to
>>merge before the final release, which will be in -rc1 that is planned to be tagged at
>>around the end of the week.
>
> This one keeps showing up occasionally. I am not sure why, but I am
> not certain bash likes ! grep. This only happens on our NonStop x86
> build, which is a more recent platform than the ia64, where the
> construct succeeds. Have we not moved away from that?
>
> not ok 113 - fetch warns or fails when using username:password
> #	
> #		message="URL 'https://username:<redacted>@localhost/' uses plaintext credentials" &&
> #		test_must_fail git -c fetch.credentialsInUrl=allow fetch https://username:password@localhost 2>err &&
> #		! grep "$message" err &&
> #	
> #		test_must_fail git -c fetch.credentialsInUrl=warn fetch https://username:password@localhost 2>err &&
> #		grep "warning: $message" err >warnings &&
> #		test_line_count = 3 warnings &&
> #	
> #		test_must_fail git -c fetch.credentialsInUrl=die fetch https://username:password@localhost 2>err &&
> #		grep "fatal: $message" err >warnings &&
> #		test_line_count = 1 warnings &&
> #	
> #		test_must_fail git -c fetch.credentialsInUrl=die fetch https://username:@localhost 2>err &&
> #		grep "fatal: $message" err >warnings &&
> #		test_line_count = 1 warnings
> #	

I've submitted
https://lore.kernel.org/git/cover-0.1-00000000000-20220615T103609Z-avarab@gmail.com
to fix this (but spotted this thread just afterwards, I fixed the bug
yesterday).

This happens on all platforms, you just happen to have NO_CURL=Y only in
your nonstop build.

```
