Comments (10)
https://github.com/sustainable-computing-io/kepler/actions/runs/3073381944/jobs/4965474260#step:8:233
I see latest CI passed, @rootfs is this issue able to reproduce easily?
from kepler.
let's keep an eye on it and re-open this issue if it happens again.
from kepler.
Maybe we need a larger timeout?
Let's see if it happen again
from kepler.
from kepler.
need further investigate with https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging
from kepler.
Thanks @SamYuan1990!
What we need is the artifacts https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
So we will dump the logs and description of the pods to files in the artifact folder
Something like:
kubectl describe pod -n $1 $2 > $artifacts/describe/pod/$2
kubectl logs -n $1 $2 > $artifacts/logs/pod/$2
But, to save space we just dump the info when something fail
from kepler.
Thanks @SamYuan1990!
What we need is the artifacts https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
So we will dump the logs and description of the pods to files in the artifact folder Something like:
kubectl describe pod -n $1 $2 > $artifacts/describe/pod/$2 kubectl logs -n $1 $2 > $artifacts/logs/pod/$2
But, to save space we just dump the info when something fail
any suggestion for fail handle?
I suppose our points is
when fail happnes.
kubectl describe pod -n $1 $2 > $artifacts/describe/pod/$2
kubectl logs -n $1 $2 > $artifacts/logs/pod/$2
from kepler.
@SamYuan1990 something like:
function logdump {
kubectl get po -A -o custom-columns=namespace:.metadata.namespace,name:.metadata.name | tail +2 | while read -r line ; do
line=($line)
namespace=${line[0]}
podname=${line[1]}
mkdir -p $artifacts/describe/pod/$namespace
mkdir -p$artifacts/logs/pod/$namespace
kubectl describe pod -n $namespace $podname > $artifacts/describe/pod/$namespace/$podname
kubectl logs -n $namespace $podname > $artifacts/logs/pod/$namespace/$podname
done
}
trap 'logdump' ERR
from kepler.
@rootfs ,is this issue able to be reproduced after we fixed panic issue?
from kepler.
@SamYuan1990 we are not seeing it recently.
from kepler.
Related Issues (20)
- [RFC] Build multiple-arch base, builder and kepler image HOT 5
- contradicting Grafana curves HOT 5
- Cluster is raising "ThanosRuleRuleEvaluationLatencyHigh" Warning in OpenShift 4.14 HOT 9
- Consumption measurement too high HOT 2
- Cannot run kepler test in container anymore
- Unit test problem in the CI HOT 2
- rpm build failed HOT 4
- Hard coded value of source in kepler_node metrics HOT 1
- cannot attach kprobe, probe entry may not exist HOT 2
- Ensure libbpf version is pinned down to 1.2.0 in unit_test HOT 3
- Kepler metrics reporting higher values HOT 5
- kepler_node_other_joules_total metric doesn't get initialized HOT 3
- Prometheus Not Discovering Kepler Service in Kubernetes
- kepler_container_gpu_joules_total metric initalized even when no GPU is available HOT 2
- Cannot get VM power through Kepler process metrics. HOT 7
- Kepler binary built by latest code runs into panic on BM HOT 7
- Missing support for linux/arm64/v8 HOT 16
- No energy usage metrics for isolated CPU cores. HOT 7
- Documentation: Integration of Telegraf in Kepler
- steps in base image as yumdownloader is not stable HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kepler.