Commit Graph

89 Commits

Author SHA1 Message Date
Antonio Ojea
e3d0452bcf store cloud-controller-manager logs
Change-Id: I26ae13c921590b622ce73c101db828c653bd65ff
2022-12-20 11:39:18 +00:00
Davanum Srinivas
22cef5094e
Log where we pull images from
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-01 09:53:19 -05:00
David Porter
0ec1530e41 log grabbing: obtain timestamps on extra services
Previously if any test jobs added additional log dumps, such as
`containerd-installation` for example, the logs would grabbed with `sudo
journalctl --output=cat`. `--output=cat` excludes timestamps which
makes debugging difficult. Let's use `short-precise` output similar to
to the other log grabbing commands which includes timestamps.

Signed-off-by: David Porter <david@porter.me>
2022-02-10 16:44:31 -08:00
Jefftree
536cf81974 Add konnectivity agent to log dump 2021-07-19 15:38:17 -07:00
Amit Watve
c954bc61a5 fix literal quotes in logdump path. 2020-12-24 00:23:32 -08:00
Antoni Zawodny
7acd8b50c8 Add a deprecation note to k/k/cluster/log-dump directory 2020-11-17 13:21:27 +01:00
Antoni Zawodny
e42a8dbe38 Return non-zero code on logexporter failures 2020-10-21 17:38:43 +02:00
Antoni Zawodny
7e895db627 Fix log dumping for GKE 2020-10-13 18:46:08 +02:00
Joakim Roubert
d4dd0ad53c log-dump.sh: Fix shellcheck issues
Mitigate the shellcheck warning for the assignment of local variable.
Add rest of shellcheck fixes from #88349

Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-10-08 13:58:00 +02:00
Kubernetes Prow Robot
5254b755cd
Merge pull request #95075 from jingxu97/sep/csiproxylog
Add csiproxy log
2020-09-28 19:49:25 -07:00
Jing Xu
ec8c7aa171 Add csiproxy log
add csiproxy log
2020-09-25 13:39:40 -07:00
Antoni Zawodny
e453a1feb7 Enable per-zone logexporter pods creation 2020-09-25 15:45:49 +02:00
Maciej Borsz
3d055ac1f4 log-dump.sh: Do not modify logexporter-daemonset.yaml in-place.
Right now, each invocation of log-dump.sh modifies
logexporter-daemonset.yaml code which makes it hard to develop and leads
to unpredictable results of multiple calls with different parameters.
2020-09-21 16:27:54 +02:00
Matt Matejczyk
67f9d69eaf Revert "fix cluster/log-dump/log-dump.sh shellcheck failures"
This reverts commit 742701622a.

It broke log dumping, see https://github.com/kubernetes/kubernetes/pull/88349#issuecomment-688385378
2020-09-07 17:13:33 +02:00
Benjamin Elder
742701622a fix cluster/log-dump/log-dump.sh shellcheck failures 2020-08-28 00:35:11 -07:00
Xiang Dai
e09bc312cb *.sh: cleanup all white noise
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-05-29 09:56:00 +08:00
Lubomir I. Ivanov
820c87c069 remove kubernetes-anywhere from this repository
The project has been deprecated since Dec 2018 and is unused.

Cleanup in:
- /test/e2e/framework/
- /cluster/
2020-04-21 22:52:51 +03:00
Kubernetes Prow Robot
c158001bbc
Merge pull request #89825 from tosi3k/log-dump-ssh-timeout
Enable timeout for SSH-ing to non-logexported nodes
2020-04-06 07:15:46 -07:00
Antoni Zawodny
15160168e5 Apply PR fixes 2020-04-06 14:53:02 +02:00
Antoni Zawodny
6e34409f2b Enable timeout for SSH-ing to non-logexported nodes 2020-04-03 17:05:58 +02:00
Jakub Przychodzeń
2b533f9720 Enable env defined services to dump in logexporter 2020-04-02 09:38:39 +02:00
Yang Lu
735ab684ce Fix docker image log dump 2020-03-29 08:43:50 -07:00
Janek Łukaszewicz
4f0816ebf2 Revert "Revert "log-dump.sh: allow to dump extra log files""
This reverts commit c20e604377.
2020-03-27 12:23:17 +01:00
Kubernetes Prow Robot
c53909498c
Merge pull request #88810 from oxddr/logdump-better-logging
log-dump.sh: better logging in case of error from listing GCS
2020-03-17 19:27:08 -07:00
Janek Łukaszewicz
96567c8dcc log-dump.sh: better logging in case of error from listing GCS 2020-03-05 10:40:46 +01:00
Matt Matejczyk
c20e604377 Revert "log-dump.sh: allow to dump extra log files"
This reverts commit c43b940586.
2020-02-21 14:27:02 +01:00
Janek Łukaszewicz
c43b940586 log-dump.sh: allow to dump extra log files
Supports both method: logexporter and ssh
2020-02-20 14:58:18 +01:00
Yang Lu
c27fb4bad6 dump docker image list 2020-02-11 06:21:16 -08:00
Jefftree
97eed70d74 Add konnectivity log files 2020-02-03 13:21:42 -08:00
Jacek Kaniuk
2dc3684cf7 Fix waiting for logexporter log fetching processes
Fix bug found by shellcheck in logexporter log fetching
where last wait was not working properly.
Fix DumpClusterLogs hanging in 5k nodes clusters:
https://github.com/kubernetes/kubernetes/issues/85753

Change-Id: Id02bf9048b19e790940c7eac6d45d7fa7a3dfb2b
2019-12-04 18:13:09 +01:00
Jacek Kaniuk
7eb6182a63 Revert "Fix shellcheck failure in log-dump/log-dump.sh"
This reverts commit e99a325d4e.
2019-12-03 18:17:54 +01:00
toyoda
e99a325d4e Fix shellcheck failure in log-dump/log-dump.sh 2019-11-12 16:51:09 +09:00
Yang Lu
c4aed0d485 Dump GKE windows test logs via diagnostics tool 2019-10-30 16:53:21 -07:00
Janek Łukaszewicz
72683a0252 log-dump: make logging clearer 2019-09-09 13:08:24 +02:00
Angela Li
fa90cb9e3d Avoid truncating long log messages 2019-07-11 10:50:11 -07:00
Angela Li
c0c29586a9 Add EntryType 2019-07-10 14:09:44 -07:00
Angela Li
a97d544475 Changed to use select-object to filter the log properties 2019-07-10 10:25:38 -07:00
Angela Li
ed43a6c039 Add timestamp to the docker test logs 2019-07-09 17:31:24 -07:00
Haosdent Huang
7ce6e71891 Fix typos. 2019-06-11 01:52:14 +08:00
SataQiu
bc279da872 fix some shellcheck failures of cluster/*.sh 2019-04-04 23:20:52 +08:00
Peter Hornyack
0bb25290c8 Update log-dump.sh for Windows nodes.
Tested:
```
$ PROJECT=${CLOUDSDK_CORE_PROJECT} KUBERNETES_SKIP_CONFIRM=y NUM_NODES=2 \
  NUM_WINDOWS_NODES=2 KUBE_GCE_ENABLE_IP_ALIASES=true go run \
  ./hack/e2e.go -- --up
$ cluster/log-dump/log-dump.sh
$ ls _artifacts
```

And with: NUM_NODES=2 NUM_WINDOWS_NODES=0; NUM_NODES=0 NUM_WINDOWS_NODES=2
2019-02-26 12:10:19 -08:00
Krzysztof Siedlecki
bc42602024 adding handling for use_custom_instance_list in dump_nodes_with_logexporter 2019-02-08 14:02:06 +01:00
Matt Matejczyk
5e6171790b Propagate dump_systemd_journal to logexporter job.
Log exporter changes have been made in
https://github.com/kubernetes/test-infra/pull/11121 and new version has
been pushed in https://github.com/kubernetes/test-infra/pull/11149
2019-02-06 15:49:29 +01:00
Matt Matejczyk
35543f8989 Allow dumping full systemd journal in log-dump.sh.
The feature is gated behind a newly introduced 'dump-systemd-journal' flag.
We want to dump the full systemd journal in our scalability performance tests.
2019-02-03 21:28:37 +01:00
Maciej Borsz
2aee491bf8 Fix detect_node_failures for gke 2018-12-19 08:14:22 +01:00
Maciej Borsz
325511d0ab Check if INSTANCE_GROUPS is empty in detect_node_failures. 2018-12-18 11:59:11 +01:00
Maciej Borsz
8e879db938 Revert "Revert "Check for hostError and automaticRestart when test finishes.""
This reverts commit 047aa25484.
2018-12-18 11:57:03 +01:00
Maciej Borsz
047aa25484
Revert "Check for hostError and automaticRestart when test finishes." 2018-11-30 17:55:27 +01:00
Maciej Borsz
0514aa17a6 Check for hostError and automaticRestart when test finishes. 2018-11-27 15:13:56 +01:00
Katharine Berry
3578696846 DRY 2018-09-06 16:54:13 -07:00