Skip to content

Instantly share code, notes, and snippets.

View soltysh's full-sized avatar
🌪️
up & running

Maciej Szulik soltysh

🌪️
up & running
  • Red Hat, Inc
  • Poland
  • 18:03 (UTC +02:00)
  • X @soltysh
View GitHub Profile
$ hack/test-go.sh pkg/api/ -v -run TestRoundTripTypes
[INFO] [CLEANUP] Cleaning up temporary directories
=== RUN TestRoundTripTypes
runtime: goroutine stack exceeds 1000000000-byte limit
fatal error: stack overflow
runtime stack:
runtime.throw(0x2062d65, 0xe)
/usr/local/go/src/runtime/panic.go:616 +0x81
runtime.newstack()
[origin@ip-172-18-0-42 origin]$ git status
# On branch rebase-1.12.2
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: glide.lock
# modified: vendor/github.com/openshift/api/config/v1/register.go
# modified: vendor/github.com/openshift/client-go/glide.lock
# modified: vendor/k8s.io/kubernetes/test/integration/dryrun/BUILD
#!/usr/bin/env bash
#exit 1
kube="${GOPATH}/src/k8s.io/kubernetes"
for repo in $(ls "${kube}/staging/src/k8s.io"); do
echo ====================
echo $repo
echo ====================
$ docker run --rm openshift/origin-cluster-kube-apiserver-operator:latest cluster-kube-apiserver-operator
OpenShift cluster kube-apiserver operator
Usage:
cluster-kube-apiserver-operator [flags]
cluster-kube-apiserver-operator [command]
Available Commands:
help Help about any command
installer Install static pod and related resources
$ ./cluster-kube-apiserver-operator
OpenShift cluster kube-apiserver operator
Usage:
cluster-kube-apiserver-operator [flags]
cluster-kube-apiserver-operator [command]
Available Commands:
help Help about any command
installer Install static pod and related resources
apiVersion: audit.k8s.io/v1beta1
kind: Policy
rules:
# noisy system stuff
# the system aggregator hits this non-resource URL
- level: None
nonResourceURLs:
- /openapi/v2*
# do we really care about GETs to / with 200s?
- level: None
Wrote master config to: /tmp/openshift/test-cmd/openshift.local.config/master/master-config.yaml
error: Missing or incomplete configuration info. Please login or point to an existing, complete config file:
1. Via the command-line flag --config
2. Via the KUBECONFIG environment variable
3. In your home directory as ~/.kube/config
To view or setup config directly use the 'config' command.
error: Missing or incomplete configuration info. Please login or point to an existing, complete config file:
$ hack/test-go.sh pkg/oc/cli/admin/prune/imageprune/
[INFO] [CLEANUP] Cleaning up temporary directories
2018/08/17 10:23:05 http: TLS handshake error from 127.0.0.1:45548: tls: first record does not look like a TLS handshake
2018/08/17 10:23:05 http: TLS handshake error from 127.0.0.1:40722: remote error: tls: bad certificate
2018/08/17 10:23:05 http: TLS handshake error from 127.0.0.1:59422: tls: first record does not look like a TLS handshake
--- FAIL: TestImagePruning (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1a13c5f]
package util
import (
"encoding/json"
"fmt"
"k8s.io/apimachinery/pkg/util/sets"
"github.com/docker/distribution/manifest/schema1"
"github.com/docker/distribution/manifest/schema2"
diff --git a/pkg/build/admission/jenkinsbootstrapper/admission.go b/pkg/build/admission/jenkinsbootstrapper/admission.go
index c30fd3cde9..bf86ffb17d 100644
--- a/pkg/build/admission/jenkinsbootstrapper/admission.go
+++ b/pkg/build/admission/jenkinsbootstrapper/admission.go
@@ -17,8 +17,8 @@ import (
coreclient "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/core/internalversion"
kadmission "k8s.io/kubernetes/pkg/kubeapiserver/admission"
- buildapi "github.com/openshift/origin/pkg/build/apis/build"
jenkinscontroller "github.com/openshift/origin/pkg/build/admission/jenkinsbootstrapper/jenkins"