Skip to content

Instantly share code, notes, and snippets.

@kmizumar
Created January 14, 2022 07:47
Show Gist options
  • Save kmizumar/6f731ef33cee0d7e36fcbf94e8332e5b to your computer and use it in GitHub Desktop.
Save kmizumar/6f731ef33cee0d7e36fcbf94e8332e5b to your computer and use it in GitHub Desktop.
Apache Ozone kubernetes/examples/getting-started/ failed output
~/IdeaProjects/ozone/hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/kubernetes/examples/getting-started master* maru@s500plus
❯ cat test.sh
#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
export K8S_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$K8S_DIR"
# shellcheck source=/dev/null
source "../testlib.sh"
rm -rf result
regenerate_resources
start_k8s_env
execute_robot_test scm-0 smoketest/basic/basic.robot
combine_reports
get_logs
stop_k8s_env
revert_resources
~/IdeaProjects/ozone/hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/kubernetes/examples/getting-started master* maru@s500plus
❯ ./test.sh
**** Modifying Kubernetes resources file for test ****
(mounting current Ozone directory to the containers, scheduling containers to one node, ...)
WARNING: this test can be executed only with local Kubernetes cluster
(source dir should be available from K8s nodes)
**** Deleting existing k8s resources ****
No resources found
No resources found
No resources found
service "kubernetes" deleted
configmap "kube-root-ca.crt" deleted
No resources found
No resources found
No resources found
**** Applying k8s resources from getting-started ****
configmap/config created
service/datanode-public created
service/datanode created
statefulset.apps/datanode created
service/om-public created
service/om created
statefulset.apps/om created
service/s3g-public created
service/s3g created
statefulset.apps/s3g created
service/scm-public created
service/scm created
statefulset.apps/scm created
**** Waiting until the k8s cluster is running ****
No resources found in default namespace.
-1 pods are running. Waiting for more.
1 'all_pods_are_running' is failed...
No resources found in default namespace.
-1 pods are running. Waiting for more.
2 'all_pods_are_running' is failed...
No resources found in default namespace.
-1 pods are running. Waiting for more.
3 'all_pods_are_running' is failed...
No resources found in default namespace.
-1 pods are running. Waiting for more.
4 'all_pods_are_running' is failed...
No resources found in default namespace.
-1 pods are running. Waiting for more.
5 'all_pods_are_running' is failed...
No resources found in default namespace.
-1 pods are running. Waiting for more.
6 'all_pods_are_running' is failed...
No resources found in default namespace.
-1 pods are running. Waiting for more.
7 'all_pods_are_running' is failed...
No resources found in default namespace.
-1 pods are running. Waiting for more.
8 'all_pods_are_running' is failed...
No resources found in default namespace.
-1 pods are running. Waiting for more.
9 'all_pods_are_running' is failed...
3 pods are running out from the 5
10 'all_pods_are_running' is failed...
3 pods are running out from the 5
11 'all_pods_are_running' is failed...
3 pods are running out from the 5
12 'all_pods_are_running' is failed...
3 pods are running out from the 5
13 'all_pods_are_running' is failed...
3 pods are running out from the 5
14 'all_pods_are_running' is failed...
4 pods are running out from the 5
15 'all_pods_are_running' is failed...
4 pods are running out from the 5
16 'all_pods_are_running' is failed...
4 pods are running out from the 5
17 'all_pods_are_running' is failed...
4 pods are running out from the 5
18 'all_pods_are_running' is failed...
4 pods are running out from the 5
19 'all_pods_are_running' is failed...
4 pods are running out from the 5
20 'all_pods_are_running' is failed...
4 pods are running out from the 5
21 'all_pods_are_running' is failed...
4 pods are running out from the 5
22 'all_pods_are_running' is failed...
4 pods are running out from the 5
23 'all_pods_are_running' is failed...
4 pods are running out from the 5
24 'all_pods_are_running' is failed...
4 pods are running out from the 5
25 'all_pods_are_running' is failed...
4 pods are running out from the 5
26 'all_pods_are_running' is failed...
4 pods are running out from the 5
27 'all_pods_are_running' is failed...
4 pods are running out from the 5
28 'all_pods_are_running' is failed...
4 pods are running out from the 5
29 'all_pods_are_running' is failed...
4 pods are running out from the 5
30 'all_pods_are_running' is failed...
4 pods are running out from the 5
31 'all_pods_are_running' is failed...
4 pods are running out from the 5
32 'all_pods_are_running' is failed...
4 pods are running out from the 5
33 'all_pods_are_running' is failed...
4 pods are running out from the 5
34 'all_pods_are_running' is failed...
4 pods are running out from the 5
35 'all_pods_are_running' is failed...
4 pods are running out from the 5
36 'all_pods_are_running' is failed...
4 pods are running out from the 5
37 'all_pods_are_running' is failed...
4 pods are running out from the 5
38 'all_pods_are_running' is failed...
4 pods are running out from the 5
39 'all_pods_are_running' is failed...
4 pods are running out from the 5
40 'all_pods_are_running' is failed...
4 pods are running out from the 5
41 'all_pods_are_running' is failed...
4 pods are running out from the 5
42 'all_pods_are_running' is failed...
4 pods are running out from the 5
43 'all_pods_are_running' is failed...
4 pods are running out from the 5
44 'all_pods_are_running' is failed...
4 pods are running out from the 5
45 'all_pods_are_running' is failed...
4 pods are running out from the 5
46 'all_pods_are_running' is failed...
4 pods are running out from the 5
47 'all_pods_are_running' is failed...
4 pods are running out from the 5
48 'all_pods_are_running' is failed...
4 pods are running out from the 5
49 'all_pods_are_running' is failed...
4 pods are running out from the 5
50 'all_pods_are_running' is failed...
4 pods are running out from the 5
51 'all_pods_are_running' is failed...
4 pods are running out from the 5
52 'all_pods_are_running' is failed...
4 pods are running out from the 5
53 'all_pods_are_running' is failed...
4 pods are running out from the 5
54 'all_pods_are_running' is failed...
4 pods are running out from the 5
55 'all_pods_are_running' is failed...
4 pods are running out from the 5
56 'all_pods_are_running' is failed...
4 pods are running out from the 5
57 'all_pods_are_running' is failed...
4 pods are running out from the 5
58 'all_pods_are_running' is failed...
4 pods are running out from the 5
59 'all_pods_are_running' is failed...
4 pods are running out from the 5
60 'all_pods_are_running' is failed...
4 pods are running out from the 5
61 'all_pods_are_running' is failed...
4 pods are running out from the 5
62 'all_pods_are_running' is failed...
4 pods are running out from the 5
63 'all_pods_are_running' is failed...
4 pods are running out from the 5
64 'all_pods_are_running' is failed...
4 pods are running out from the 5
65 'all_pods_are_running' is failed...
4 pods are running out from the 5
66 'all_pods_are_running' is failed...
4 pods are running out from the 5
67 'all_pods_are_running' is failed...
4 pods are running out from the 5
68 'all_pods_are_running' is failed...
4 pods are running out from the 5
69 'all_pods_are_running' is failed...
4 pods are running out from the 5
70 'all_pods_are_running' is failed...
4 pods are running out from the 5
71 'all_pods_are_running' is failed...
4 pods are running out from the 5
72 'all_pods_are_running' is failed...
4 pods are running out from the 5
73 'all_pods_are_running' is failed...
4 pods are running out from the 5
74 'all_pods_are_running' is failed...
4 pods are running out from the 5
75 'all_pods_are_running' is failed...
4 pods are running out from the 5
76 'all_pods_are_running' is failed...
4 pods are running out from the 5
77 'all_pods_are_running' is failed...
4 pods are running out from the 5
78 'all_pods_are_running' is failed...
4 pods are running out from the 5
79 'all_pods_are_running' is failed...
4 pods are running out from the 5
80 'all_pods_are_running' is failed...
4 pods are running out from the 5
81 'all_pods_are_running' is failed...
4 pods are running out from the 5
82 'all_pods_are_running' is failed...
4 pods are running out from the 5
83 'all_pods_are_running' is failed...
4 pods are running out from the 5
84 'all_pods_are_running' is failed...
4 pods are running out from the 5
85 'all_pods_are_running' is failed...
4 pods are running out from the 5
86 'all_pods_are_running' is failed...
4 pods are running out from the 5
87 'all_pods_are_running' is failed...
4 pods are running out from the 5
88 'all_pods_are_running' is failed...
4 pods are running out from the 5
89 'all_pods_are_running' is failed...
4 pods are running out from the 5
90 'all_pods_are_running' is failed...
4 pods are running out from the 5
91 'all_pods_are_running' is failed...
4 pods are running out from the 5
92 'all_pods_are_running' is failed...
4 pods are running out from the 5
93 'all_pods_are_running' is failed...
4 pods are running out from the 5
94 'all_pods_are_running' is failed...
4 pods are running out from the 5
95 'all_pods_are_running' is failed...
4 pods are running out from the 5
96 'all_pods_are_running' is failed...
4 pods are running out from the 5
97 'all_pods_are_running' is failed...
4 pods are running out from the 5
98 'all_pods_are_running' is failed...
4 pods are running out from the 5
99 'all_pods_are_running' is failed...
4 pods are running out from the 5
100 'all_pods_are_running' is failed...
**** Executing robot tests scm-0 ****
Defaulted container "scm" out of: scm, init (init)
error: unable to upgrade connection: container not found ("scm")
Defaulted container "scm" out of: scm, init (init)
error: unable to upgrade connection: container not found ("scm")
Defaulted container "scm" out of: scm, init (init)
error: unable to upgrade connection: container not found ("scm")
Defaulted container "scm" out of: scm, init (init)
error: unable to upgrade connection: container not found ("scm")
rm: cannot remove 'result/output.xml': No such file or directory
../testlib.sh: line 145: rebot: command not found
Error from server (BadRequest): container "scm" in pod "scm-0" is waiting to start: PodInitializing
configmap "config" deleted
service "datanode-public" deleted
service "datanode" deleted
statefulset.apps "datanode" deleted
service "om-public" deleted
service "om" deleted
statefulset.apps "om" deleted
service "s3g-public" deleted
service "s3g" deleted
statefulset.apps "s3g" deleted
service "scm-public" deleted
service "scm" deleted
statefulset.apps "scm" deleted
**** Regenerating original Kubernetes resource files ****
~/IdeaProjects/ozone/hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/kubernetes/examples/getting-started master* maru@s500plus 5m 14s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment