Action exceeding the maximum execution time of 360 minutes
See original GitHub issueThis has been happening only for the last couple of hours.
The job fails with the error The job running on runner GitHub Actions 3 has exceeded the maximum execution time of 360 minutes.
Further investigation shows that the job was in fact running for 6 hours.
Copy of action log
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Metrics β
(node:11) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Setup β complete
Version β 3.17.0-beta
Using prebuilt image β true
Debug mode β false
Debug flags β (none)
GitHub token β (provided)
Github GraphQL API β ok
Github REST API β ok
Token validity β seems ok
GitHub account β matievisthekat
Current repository β matievisthekat/matievisthekat
Committer token β (provided)
Committer branch β master
Committer head branch β master
Committer REST API β ok
Committer account β (github-actions)
Committer head branch status β ok
Previous render sha β d977b5ffc80dc570c06aee01718fb1cb7bb6166d
SVG output β recent-metrics.svg
SVG optimization β css, xml
SVG verification after generation β false
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Templates β
Community templates β (none)
Template used β classic
Query additional params β {}
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Core β
Rendered markdown output path β TEMPLATE.md
Extra CSS β
Timezone used β Africa/Johannesburg
Configure content order β (none)
Use twemojis instead of emojis β false
Use GitHub custom emojis β true
Render display width β regular
SVG CSS animations β true
Encode images links into base64 data β true
Image padding β 0, 0
Output image format β auto
Experimental features β (none)
Plugin errors β (displayed in generated image)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Base content β
Number of repositories to use β 100
Number of repositories to load at once by queries β 100
Include forks in metrics β false
Repositories affiliations β owner
Default repositories to skip β (none)
List of surnames or email addresses you use when authoring commits β .user.login
Base sections β (none)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Coding habits β
Number of events to use β 1000
Maximum event age β 30
Display coding habits collected facts based on recent activity β false
Display coding habits charts based on recent activity β true
Trim unused hours on daily chart β false
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Music plugin β
Music provider β spotify
Music provider personal token β (provided)
Plugin mode β recent
Embed playlist url β
Maximum number of tracks to display β 5
Display when the track was played β true
Time period for top mode β short
Whether to show tracks or artists in top mode β tracks
Music provider username β .user.login
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Recently starred repositories β
Maximum number of stars to display β 4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
WakaTime plugin β
WakaTime API token β (provided)
WakaTime time range β 7
Sections to display β time, projects, editors, os
Maximum number of entries to display per graph β 5
Address where to reach your Wakatime instance β wakatime.com
Your Wakatime user on the selfhosted Wakapi instance β current
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Rendering β
Error: The operation was canceled.
and here is a copy of my workflow config
name: Recent Metrics
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
jobs:
github-metrics:
runs-on: ubuntu-latest
steps:
- uses: lowlighter/metrics@master
with:
token: ${{ secrets.METRICS_TOKEN }}
committer_token: ${{ secrets.GITHUB_TOKEN }}
base: ""
config_timezone: Africa/Johannesburg
config_padding: 0, 0
filename: recent-metrics.svg
plugin_habits: yes
plugin_habits_from: 1000
plugin_habits_days: 30
plugin_habits_facts: no
plugin_habits_charts: yes
plugin_wakatime: yes
plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }}
plugin_wakatime_days: 7
plugin_wakatime_sections: time, projects, editors, os
plugin_stars: yes
plugin_stars_limit: 4
plugin_music: yes
plugin_music_provider: spotify
plugin_music_mode: recent
plugin_music_limit: 5
plugin_music_played_at: yes
plugin_music_token: "${{ secrets.SPOTIFY_CLIENT_ID }}, ${{ secrets.SPOTIFY_CLIENT_SECRET }}, ${{ secrets.SPOTIFY_REFRESH_TOKEN }}"
The action seems to be running for 6 hours. Is it maybe getting stuck in some kind of infinite loop? A number of the runs for this workflow have had this error. I will link to them below:
(From oldest to newest)
- https://github.com/matievisthekat/matievisthekat/actions/runs/1625653947
- https://github.com/matievisthekat/matievisthekat/actions/runs/1625780978
- https://github.com/matievisthekat/matievisthekat/actions/runs/1625895305
- (then three successful runs)
- https://github.com/matievisthekat/matievisthekat/actions/runs/1626454912 (this one ran for 3 hours before I cancelled it)
- (then one successful run)
- https://github.com/matievisthekat/matievisthekat/actions/runs/1626769078 (this one ran for 37 minutes before I cancelled it)
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Github actions self-hosted runner - The job running has ...
According to the Github Actions selfhosted-runner documentation found here you should be able to have processes run for up to 24 hours.
Read more >Workflow was terminated after 360 minutes, but config have ...
The job running on runner GitHub Actions 2 has exceeded the maximum execution time of 600 minutes. might simply be outdated, not reflectingΒ ......
Read more >How to Fix Fatal Error: Maximum Execution ... - WPBeginner
This code simply sets the value for maximum execution time to 300 seconds (5 minutes). You can now visit your website to see...
Read more >How to Fix the WordPress Fatal Error Max Execution Time ...
If you're seeing the WordPress Max Execution Time Exceeded error, you're not alone. This is a common error caused by a PHP script...
Read more >set_time_limit - Manual - PHP
The maximum execution time, in seconds. If set to zero, no time limit is imposed. Return Values ΒΆ. Returns true on success, orΒ ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There was an issue with GitHub Actions, which has since been resolved
Seems to be indeed related to GitHub Actions being down but it looks like itβs fixed now as @rhld16 reported π