The self-hosted runner: cml-xxx lost communication with the server
See original GitHub issueHi everyone, i have a problem when i using CML to create host runner.
Log issue: The self-hosted runner: cml-xxx lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
My cml.yaml:
name: CML Report
on:
push:
branches:
- master
jobs:
deploy-runner:
runs-on: ubuntu-latest
steps:
- uses: iterative/setup-cml@v1
- uses: actions/checkout@v2
- name: Deploy runner on EC2
env:
REPO_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
GOOGLE_APPLICATION_CREDENTIALS_DATA: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_DATA }}
run: |
cml runner \
--cloud=gcp \
--cloud-region=us-west \
--cloud-type=e2-highmem-4 \
--labels=cml-cpu \
evaluate:
needs: [deploy-runner]
runs-on: [self-hosted, cml-cpu]
container:
image: docker://ghcr.io/iterative/cml:0-dvc2-base1
steps:
- uses: actions/checkout@v2
- name: Generate metrics report
env:
REPO_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
GOOGLE_APPLICATION_CREDENTIALS_DATA: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_DATA }}
run: |
pip install -r requirements.txt
dvc repro
echo "## Metrics" >> report.md
dvc metrics show --show-md >> report.md
cml send-comment report.md
Any solution? Thanks all!
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Boarding Pass - Alle Billette bitte!
I'm on work experience http://xnxx.in.net/stats/xnxxstat-186.html xxx Administration officials declined to elaborate, but analysts and congressional aides ...
Read more >Star Wars Comments - Wedding Cakes
Zimmerman claimed self-defense in the shooting incident, saying he shot Martin ... them drifting alone in orbit – with no communication from Earth....
Read more >Charlevoix 2014 - 47 - Northern Michigan Brass Band
I'm hoping to start my own website soon but I'm a little lost on everything. ... an officer and founding member of the...
Read more >Pznajesz się na zdjęciu?? Zgłoś się do mnie !! Hehe :D
Hello NOT SATISFIED WITH YOUR HOSTING ? GET A NEW ONE for zrobdemota.pl Check Out Our Coupons for This Month & Get Your...
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
The best solution is to not use cml runner, create runner on GitHub client and use VM instance on GCP / AWS … connect to it 👍
duplicated of #1014