From: Lars Schneider Date: Fri, 26 Jan 2018 22:44:56 GMT Subject: Re: [PATCH 3/3] read-cache: don't write index twice if we can't write shared index Message-ID: <5C0E7737-7FE0-48F0-8667-E3891D892249@gmail.com> In-Reply-To: <20180122182717.21539-1-szeder.dev@gmail.com> > On 22 Jan 2018, at 19:27, SZEDER Gábor wrote: > > > On Thu, Jan 18, 2018 at 1:47 PM, Duy Nguyen wrote: >> On Thu, Jan 18, 2018 at 6:36 PM, SZEDER Gábor wrote: >>> This series, queued as 'nd/shared-index-fix', makes the 32 bit Linux >>> build job fail on Travis CI. Unfortunately, all it can tell us about >>> the failure is this: >>> >>> Test Summary Report >>> ------------------- >>> t1700-split-index.sh (Wstat: 256 Tests: 23 >>> Failed: 1) >>> Failed test: 23 >>> Non-zero exit status: 1 >>> Files=809, Tests=18491, 401 wallclock secs ( 7.22 usr 1.60 sys + 263.16 >>> cusr 49.58 csys = 321.56 CPU) >>> Result: FAIL >>> >>> because it can't access the test's verbose log due to lack of >>> permissions. >>> >>> >>> https://travis-ci.org/git/git/jobs/329681826#L2074 >> >> I may need help getting that log (or even better the trash directory >> of t1700). > > Well, shower thoughts gave me an idea, see the included PoC patch below. > I can't really decide whether it's too clever or too ugly :) Creative :-) Alternatively, we could store write access credentials [1] of a public repo in Travis and upload the trash directory to it. This could work "out-of-the-box" for git/git. Personal Travis environments (e.g. larsxschneider/git) would need to setup that individually. - Lars [1] https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings ^^^ that's the mechanism we use for the Windows build credentials