question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TravisCI Time Limit

See original GitHub issue

Hi everyone.

Description

TravisCI has a time limit of 50 minutes for each job as per their documentation. And as you can see on my last push https://github.com/thebigG/JobFunnel/commit/2417f6e858875539fe6fd8aeee42d5001e01eb82 the build on TravisCI fails because one of the scrape runs hits that 50 minutes cap.

One possible solution I have thought about is adding a number_of_pages/number of jobs limit to each scraper, but this might add complexity to our settings file and Command Line Interface so I’m just posting this issue to start the discussion on possible solutions to tackle this issue.

Another thought that comes to mind is limiting the scraping we do when testing, but I don’t think that’s optimal because we want our CI pipeline to be reliable and trustworthy, so at the very least we should be doing doing some scraping for every provider, even if it is just one page per provider.

Like I said, just wanted to start the discussion of potential solutions.

Steps to Reproduce

  1. Run TravisCI script

Expected behavior

The tests should run without TravisCI intervention.

Actual behavior

The JobFunnel tests stop and fail because of the time limit.

Environment

  • Build: JobFunnel 3.0.1 on commit cf80740
  • Operating system and version: Pop!_OS 20.04 LTS
  • [Linux] Desktop Environment and/or Window Manager: Cinnamon

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
PaulMcInniscommented, Dec 15, 2020

Thanks a bunch @thebigG

Lets open that PR and cut an issue for the scraping, since it sounds like this is easily replicated, will make it easier to fix.

1reaction
thebigGcommented, Nov 30, 2020

I’ve been investigating Github Actions and it is completely free for open source projects and it is very similar to TravisCI. There is a yaml file that describes the CI process, but the syntax is just slightly different of course. I’ll keep on investigating further and give you guys feedback on what I can find.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to extend the maximum time limit for jobs in Travis CI?
I am running my selenium tests using Travis CI. To run the whole test it will take more than 1 hour. After 50...
Read more >
Billing Overview - Travis CI Docs
Very high. The Free Plan assigned automatically upon sign-up has a limit of 20 concurrent jobs. The paid usage based plans start from...
Read more >
Travis-CI - How is time limit counted for builds? (Sum of all ...
For example, the current timeout for a job on travis-ci.org is 50 minutes (and at least one line printed to stdout/stderr per 10...
Read more >
The job exceeded the maximum time limit · Issue #6232 - GitHub
One of your commands has consumed 2553 seconds (42'33") https://travis-ci.org/smartdevicelink/sdl_core/builds/141111363#L491, so I guess the ...
Read more >
Travis build exceeds maximum time limit - Launchpad Bugs
The timeout is 120 minutes for travis-ci.com, 50 minutes for travis-ci.org (see https://docs.travis-ci.com/user/customizing-the-build ).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found