Skip to content

Instantly share code, notes, and snippets.

@jcantrill
Created July 25, 2017 18:17
Show Gist options
  • Save jcantrill/63fda381d908f53def00b71f17bf24cb to your computer and use it in GitHub Desktop.
Save jcantrill/63fda381d908f53def00b71f17bf24cb to your computer and use it in GitHub Desktop.
$ ./logging.sh
/data/src/github.com/openshift/origin /data/src/github.com/openshift/origin-aggregated-logging/hack/testing
/data/src/github.com/openshift/origin-aggregated-logging/hack/testing
/data/src/github.com/openshift/origin-aggregated-logging /data/src/github.com/openshift/origin-aggregated-logging/hack/testing
/data/src/github.com/openshift/origin-aggregated-logging/hack/testing
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
centos-openshift-origin | 2.9 kB 00:00:00
centos-paas-sig-openshift-origin13-rpms | 2.9 kB 00:00:00
centos-paas-sig-openshift-origin14-rpms | 2.9 kB 00:00:00
centos-paas-sig-openshift-origin15-rpms | 2.9 kB 00:00:00
centos-paas-sig-openshift-origin36-rpms | 2.9 kB 00:00:00
epel/x86_64/metalink | 13 kB 00:00:00
httpscbscentosorgrepospaas7openshiftorigin36candidatex8664os | 3.4 kB 00:00:00
httpsmirroropenshiftcomenterpriserheldockertestedx8664os | 2.9 kB 00:00:00
li | 2.9 kB 00:00:00
li-rhscl | 2.9 kB 00:00:00
openshift-ansible-local-release | 2.9 kB 00:00:00
ops-rpm | 2.9 kB 00:00:00
origin-deps-rhel7 | 2.9 kB 00:00:00
origin-local-release | 2.9 kB 00:00:00
oso-rhui-rhel-server-extras | 4.0 kB 00:00:00
oso-rhui-rhel-server-releases | 4.0 kB 00:00:00
oso-rhui-rhel-server-releases-optional | 4.0 kB 00:00:00
oso-rhui-rhel-server-rhscl | 4.0 kB 00:00:00
rhel-7-server-ose-3.1-rpms | 1.2 kB 00:00:00
rhel-7-server-ose-3.2-rpms | 1.2 kB 00:00:00
rhel-7-server-ose-3.3-rpms | 1.3 kB 00:00:00
rhel-7-server-ose-3.4-rpms | 1.3 kB 00:00:00
rhel-7-server-ose-3.5-rpms | 1.2 kB 00:00:00
rhel-7-server-ose-3.6-rpms | 1.3 kB 00:00:00
rhui-REGION-client-config-server-7 | 2.9 kB 00:00:00
rhui-REGION-rhel-server-releases | 3.5 kB 00:00:00
rhui-REGION-rhel-server-rh-common | 3.8 kB 00:00:00
Metadata Cache Created
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Package python2-pip-8.1.2-5.el7.noarch already installed and latest version
Package python2-ruamel-yaml-0.12.14-9.el7.x86_64 already installed and latest version
Package ansible-2.3.1.0-1.el7.noarch already installed and latest version
Package bc-1.06.95-13.el7.x86_64 already installed and latest version
Nothing to do
Cloning into '/tmp/tmp.NX9Kx6bBn3/openhift-ansible'...
remote: Counting objects: 2370, done.
remote: Compressing objects: 100% (1568/1568), done.
remote: Total 2370 (delta 729), reused 1385 (delta 472), pack-reused 0
Receiving objects: 100% (2370/2370), 1.61 MiB | 0 bytes/s, done.
Resolving deltas: 100% (729/729), done.
Found oc in /usr/local/bin for use by openshift-ansible
Found oadm in /usr/local/bin for use by openshift-ansible
[INFO] Starting logging tests at Tue Jul 25 14:08:19 EDT 2017
Generating node credentials ...
Created node config for 172.18.3.91 in /tmp/openshift/origin-aggregated-logging/openshift.local.config/node-172.18.3.91
Wrote master config to: /tmp/openshift/origin-aggregated-logging/openshift.local.config/master/master-config.yaml
SUCCESS after 0.387s: hack/lib/start.sh:353: executing 'oc get --raw /healthz --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 80.000s
Standard output from the command:
ok
There was no error output from the command.
SUCCESS after 0.239s: hack/lib/start.sh:354: executing 'oc get --raw https://172.18.3.91:10250/healthz --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.5s until completion or 120.000s
Standard output from the command:
ok
There was no error output from the command.
SUCCESS after 0.232s: hack/lib/start.sh:355: executing 'oc get --raw /healthz/ready --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting any result and text 'ok'; re-trying every 0.25s until completion or 80.000s
Standard output from the command:
ok
There was no error output from the command.
SUCCESS after 0.278s: hack/lib/start.sh:356: executing 'oc get service kubernetes --namespace default --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 160.000s
Standard output from the command:
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes 172.30.0.1 <none> 443/TCP,53/UDP,53/TCP 12m
There was no error output from the command.
FAILURE after 80.303s: hack/lib/start.sh:357: executing 'oc get --raw /api/v1/nodes/172.18.3.91 --config='/tmp/openshift/origin-aggregated-logging/openshift.local.config/master/admin.kubeconfig'' expecting success; re-trying every 0.25s until completion or 80.000s: the command timed out
Standard output from the command:
Standard error from the command:
Error from server (NotFound): nodes "172.18.3.91" not found
... repeated 170 times
[ERROR] PID 123667: hack/lib/cmd.sh:531: `return "${return_code}"` exited with status 1.
[INFO] Stack Trace:
[INFO] 1: hack/lib/cmd.sh:531: `return "${return_code}"`
[INFO] 2: hack/lib/start.sh:357: os::cmd::try_until_success
[INFO] 3: hack/lib/start.sh:244: os::start::all_in_one
[INFO] 4: /data/src/github.com/openshift/origin-aggregated-logging/logging.sh:153: os::start::server
[INFO] Exiting with code 1.
/data/src/github.com/openshift/origin-aggregated-logging/hack/lib/log/system.sh: line 31: 123971 Terminated sar -A -o "${binary_logfile}" 1 86400 > /dev/null 2> "${stderr_logfile}"
[INFO] [CLEANUP] Beginning cleanup routines...
[INFO] [CLEANUP] Dumping cluster events to /tmp/origin-aggregated-logging/artifacts/events.txt
Logged into "https://172.18.3.91:8443" as "system:admin" using existing credentials.
You have access to the following projects and can switch between them with 'oc project <projectname>':
* default
kube-public
kube-system
openshift
openshift-infra
Using project "default".
[INFO] [CLEANUP] Dumping etcd contents to /tmp/origin-aggregated-logging/artifacts/etcd
[WARNING] No compiled `etcdhelper` binary was found. Attempting to build one using:
[WARNING] $ hack/build-go.sh tools/etcdhelper
++ Building go targets for linux/amd64: tools/etcdhelper
# github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/util/strategicpatch
vendor/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go:520: undefined: sort.SliceStable
# github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/plugins
vendor/k8s.io/kubernetes/pkg/kubectl/plugins/env.go:78: undefined: os.Executable
# github.com/openshift/origin/vendor/github.com/coreos/etcd/pkg/transport
vendor/github.com/coreos/etcd/pkg/transport/listener.go:180: cfg.GetClientCertificate undefined (type *tls.Config has no field or method GetClientCertificate)
vendor/github.com/coreos/etcd/pkg/transport/listener.go:180: undefined: tls.CertificateRequestInfo
vendor/github.com/coreos/etcd/pkg/transport/listener_tls.go:151: undefined: net.DefaultResolver in net.DefaultResolver.LookupHost
[ERROR] PID 127889: hack/lib/build/binaries.sh:228: `GOOS=${platform%/*} GOARCH=${platform##*/} go install -pkgdir "${OS_OUTPUT_PKGDIR}/${platform}" -tags "${OS_GOFLAGS_TAGS-} ${!platform_gotags_envvar:-}" -ldflags="${local_ldflags}" "${goflags[@]:+${goflags[@]}}" "${nonstatics[@]}"` exited with status 2.
[INFO] Stack Trace:
[INFO] 1: hack/lib/build/binaries.sh:228: `GOOS=${platform%/*} GOARCH=${platform##*/} go install -pkgdir "${OS_OUTPUT_PKGDIR}/${platform}" -tags "${OS_GOFLAGS_TAGS-} ${!platform_gotags_envvar:-}" -ldflags="${local_ldflags}" "${goflags[@]:+${goflags[@]}}" "${nonstatics[@]}"`
[INFO] 2: hack/lib/build/binaries.sh:158: os::build::internal::build_binaries
[INFO] 3: /data/src/github.com/openshift/origin-aggregated-logging/../origin/hack/build-go.sh:37: os::build::build_binaries
[INFO] Exiting with code 2.
[ERROR] PID 127793: hack/lib/build/binaries.sh:152: `local -a binaries=("$@")` exited with status 2.
[INFO] Stack Trace:
[INFO] 1: hack/lib/build/binaries.sh:152: `local -a binaries=("$@")`
[INFO] 2: /data/src/github.com/openshift/origin-aggregated-logging/../origin/hack/build-go.sh:37: os::build::build_binaries
[INFO] Exiting with code 2.
/data/src/github.com/openshift/origin-aggregated-logging/hack/lib/cleanup.sh: line 88: etcdhelper: command not found
[INFO] [CLEANUP] Dumping container logs to /tmp/origin-aggregated-logging/logs/containers
[INFO] [CLEANUP] Truncating log files over 200M
[INFO] [CLEANUP] Stopping docker containers
[INFO] [CLEANUP] Removing docker containers
[INFO] [CLEANUP] Killing child processes
[INFO] [CLEANUP] Pruning etcd data directory
[origin@ip-172-18-3-91 testing]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment