[MDEV-16213] Travis jobs are killed way to often due to time limit Created: 2018-05-18  Updated: 2018-06-29  Resolved: 2018-06-29

Status: Closed
Project: MariaDB Server
Component/s: Tests
Fix Version/s: 10.3.8

Type: Task Priority: Minor
Reporter: Teodor Mircea Ionita (Inactive) Assignee: Teodor Mircea Ionita (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

All jobs that are marked with a ! and errored status (different from failed) have been killed by travis due to exceeding the max runtime of 50 minutes:

The job exceeded the maximum time limit for jobs, and has been terminated.

https://travis-ci.org/MariaDB/server/builds

In this case, some parts of big suites like main, rpl and binlog may never get to attended. The solution would be to reconsider the current test suite matrix split inside .travis.yml:

env:
matrix:

  • GCC_VERSION=4.8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
  • GCC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main,archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
  • GCC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption,rocksdb
  • GCC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles

Maybe split big suites like main, innodb. binlog into separe jobs for a start and see the change? I can try that out on my own Travis setup first:
https://travis-ci.org/shinnok/server



 Comments   
Comment by Elena Stepanova [ 2018-05-18 ]

Before doing something big, please make sure it's not a Travis issue. Travis has been misbehaving recently (again), tests on my repo fail either with clear environmental problems, or with obscure timeouts. It happened before and then got resolved on the Travis side.
I'm not claiming that it's also the case for you, but take it into account.

Comment by Teodor Mircea Ionita (Inactive) [ 2018-05-24 ]

All green on my repo:
https://travis-ci.org/shinnok/server/builds/383004314

Top three commits:
https://github.com/shinnok/server/commits/tm-10.3-macfixes

In a gist, stop using clang4, rename GCC_VERSION to CC_VERSION, use same version for both clang and gcc for simplicity and clarity. Split main and rocksdb suites to separate jobs.

Comment by Teodor Mircea Ionita (Inactive) [ 2018-06-29 ]

Fixed in 4d637628d34d64183a6fb0962983244680ace167~4...4d637628d34d64183a6fb0962983244680ace167

Generated at Thu Feb 08 08:27:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.