git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v6 0/6] Add Travis CI support

From
Lars Schneider <larsxschneider@gmail.com>
Date
Nov 20, 2015, 08:46 UTC
Message-ID
<46C55D27-0B59-41AA-84AD-FED095EBDEE4@gmail.com>
In-Reply-To
<20151119141409.GB9353@sigill.intra.peff.net>
On 19 Nov 2015, at 15:14, Jeff King <peff@peff.net> wrote:
Show 15 quoted lines
> On Thu, Nov 19, 2015 at 09:58:05AM +0100, larsxschneider@gmail.com wrote:
> 
>> From: Lars Schneider <larsxschneider@gmail.com>
>> 
>> diff to v5:
>> * check if PID file still exists on P4D cleanup (thanks Luke)
>> * fix space/tab formatting error
>> * add sleep to timeout loops (thanks Luke)
>> * replace 'date +%s' with platform independent Python function (thanks Eric and Luke)
>> 
>> With the patches of this series the Travis CI test stability increases.
>> However, as I am "stress testing" the Travis CI infrastructure you can
>> see that it is not perfect: https://travis-ci.org/larsxschneider/git/builds
> 
> I peeked at a few, and it looks like just p4 tests failing now?
Yes, in particular t9810-git-p4-rcs.sh and t9816-git-p4-locked.sh. I would probably disable these test in Travis CI until I've found a way to make it stable.
Show 10 quoted lines
> 
>> Nevertheless, I believe that Travis CI integration has still value as
>> contributors can test their patches easily on Linux and OS X before
>> posting them.
>> 
>> @junio / @peff: Do you consider merging this?
> 
> I think I'd prefer to split it into 3 separate topics (de-flaking
> test_must_fail, p4 test improvements, and the Travis file). Then they
> can proceed independently. I can take care of that split when applying.
Sounds good to me!
Show 6 quoted lines
> 
>> Lars Schneider (6):
>>  implement test_might_fail using a refactored test_must_fail
> 
> You mentioned in the v5 cover that this one was from Junio. Should it be
> "From: Junio ..." in the pseudo-header?
Yes, this one was from Junio with a minor fix from my end if I recall correctly. What do you mean by "pseudo-header"? The "email-header" in the patch file? 
> 
>>  add "ok=sigpipe" to test_must_fail and use it to fix flaky tests
> 
> Looks OK.
"Looks OK" means I can/should add "Acked-by: Jeff King <peff@peff.net>" ? Bare with me, I am still learning ;-)
Show 8 quoted lines
> 
>>  git-p4: retry kill/cleanup operations in tests with timeout
>>  git-p4: add p4d timeout in tests
>>  git-p4: add trap to kill p4d on test exit
> 
> These are all fairly gross, and I don't have p4d to test with myself.
> But if we assume they're all necessary, I suppose it's the best we can
> do.
Unfortunately I think they are necessary. However, if someone finds a better way for stable p4d tests then I would be happy to see them go away, again.
Show 5 quoted lines
> 
>>  Add Travis CI support
> 
> I'll leave some comments directly in response to this one.
> 
Thanks for taking the time to review this!
- Lars
Previous: Jeff KingNext: Luke Diamand
Message 11 of 14 in “Add Travis CI support”
  1. 0/6 Add Travis CI supportlarsxschneider@gmail.com, Nov 19, 2015
  2. 1/6 implement test_might_fail using a refactored test_must_faillarsxschneider@gmail.com, Nov 19, 2015
  3. 2/6 add "ok=sigpipe" to test_must_fail and use it to fix flaky testslarsxschneider@gmail.com, Nov 19, 2015
  4. 3/6 git-p4: retry kill/cleanup operations in tests with timeoutlarsxschneider@gmail.com, Nov 19, 2015
  5. 4/6 git-p4: add p4d timeout in testslarsxschneider@gmail.com, Nov 19, 2015
  6. 5/6 git-p4: add trap to kill p4d on test exitlarsxschneider@gmail.com, Nov 19, 2015
  7. 6/6 Add Travis CI supportlarsxschneider@gmail.com, Nov 19, 2015
  8. Jeff KingNov 19, 2015
  9. Lars SchneiderNov 20, 2015
  10. Jeff KingNov 19, 2015
  11. Lars SchneiderNov 20, 2015
  12. Luke DiamandNov 20, 2015
  13. Jeff KingNov 23, 2015
  14. Luke DiamandNov 23, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.