Created
November 27, 2018 10:38
-
-
Save dipak-pawar/d92d68fa6048530b0a17877b15b56a29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F8_POSTGRES_DATABASE=postgres /home/dipak/go/src/github.com/fabric8-services/fabric8-tenant/bin/fabric8-tenant -migrateDatabase | |
INFO[0000] Using fabric8-tenant-user.yml of version: eb5a8a4 | |
INFO[0000] Using fabric8-tenant-jenkins.yml of version: e9b2395 | |
INFO[0000] Using fabric8-tenant-jenkins-quotas.yml of version: 53936c6 | |
INFO[0000] Using fabric8-tenant-deploy.yml of version: eb5a8a4 | |
INFO[0000] Using fabric8-tenant-che-mt.yml of version: 53936c6 | |
INFO[0000] Using fabric8-tenant-che.yml of version: 53936c6 | |
INFO[0000] Using fabric8-tenant-che-quotas.yml of version: 53936c6 | |
ERRO[0000] ERROR: Unable to open connection to database read tcp [::1]:54900->[::1]:5432: read: connection reset by peer | |
INFO[0000] Retrying to connect in 1s... | |
INFO[0001] Attempt to update DB to version 0 current_version=-1 next_version=0 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Successfully updated DB to version 0 current_version=-1 next_version=0 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Attempt to update DB to version 1 current_version=0 next_version=1 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Successfully updated DB to version 1 current_version=0 next_version=1 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Attempt to update DB to version 2 current_version=1 next_version=2 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Successfully updated DB to version 2 current_version=1 next_version=2 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Attempt to update DB to version 3 current_version=2 next_version=3 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Successfully updated DB to version 3 current_version=2 next_version=3 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Attempt to update DB to version 4 current_version=3 next_version=4 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Successfully updated DB to version 4 current_version=3 next_version=4 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Attempt to update DB to version 5 current_version=4 next_version=5 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Successfully updated DB to version 5 current_version=4 next_version=5 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Attempt to update DB to version 6 current_version=5 next_version=6 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO[0001] Successfully updated DB to version 6 current_version=5 next_version=6 pkg="github.com/fabric8-services/fabric8-tenant/migration" | |
INFO: Running test: test-with-minishift | |
F8_DEVELOPER_MODE_ENABLED=1 F8_RESOURCE_DATABASE=1 F8_RESOURCE_UNIT_TEST=0 F8_POSTGRES_DATABASE=postgres \ | |
F8_MINISHIFT=1 F8_MINISHIFT_USER_NAME=developer F8_MINISHIFT_USER_TOKEN=ODD0YrBGGbT5QRq9dDAjZc3M6HYhQToRhvRggM8-I_w \ | |
F8_MINISHIFT_ADMIN_NAME=admin F8_MINISHIFT_ADMIN_TOKEN=9r0lh17lOIoYgxC2io2Oscz3C1RYB2CRj6segTfuivQ F8_MINISHIFT_URL=https://192.168.42.88:8443 \ | |
go test -v -run ".*Minishift.*" github.com/fabric8-services/fabric8-tenant github.com/fabric8-services/fabric8-tenant/auth github.com/fabric8-services/fabric8-tenant/cluster github.com/fabric8-services/fabric8-tenant/configuration github.com/fabric8-services/fabric8-tenant/controller github.com/fabric8-services/fabric8-tenant/environment github.com/fabric8-services/fabric8-tenant/environment/generated github.com/fabric8-services/fabric8-tenant/jsonapi github.com/fabric8-services/fabric8-tenant/keycloak github.com/fabric8-services/fabric8-tenant/migration github.com/fabric8-services/fabric8-tenant/openshift github.com/fabric8-services/fabric8-tenant/sentry github.com/fabric8-services/fabric8-tenant/tenant github.com/fabric8-services/fabric8-tenant/toggles github.com/fabric8-services/fabric8-tenant/tool/tenant-cli github.com/fabric8-services/fabric8-tenant/utils | |
? github.com/fabric8-services/fabric8-tenant [no test files] | |
testing: warning: no tests to run | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/auth 0.030s [no tests to run] | |
testing: warning: no tests to run | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/cluster 0.042s [no tests to run] | |
? github.com/fabric8-services/fabric8-tenant/configuration [no test files] | |
=== RUN TestTenantControllerWithMinishift | |
=== RUN TestTenantControllerWithMinishift/TestSetupUpdateCleanAndDeleteTenantNamespaces | |
=== RUN TestTenantControllerWithMinishift/TestSetupUpdateCleanAndDeleteTenantNamespaces/update_namespaces | |
time="2018-11-27 16:05:02" level=error msg="ns update failed" err="exit status 1" file="/home/dipak/go/src/github.com/fabric8-services/fabric8-tenant/sentry/sentry.go" func="github.com/fabric8-services/fabric8-tenant/sentry.LogError" identity_id=4e21ae30-3940-4656-8d49-1178afd9f85a line=48 namespace=developer-stage output="Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/jenkins-edit configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/jenkins-view configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/user-edit configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/user-view configured | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer-stage": no RBAC policy matched | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer-stage": no RBAC policy matched | |
" pid=22213 pkg="github.com/fabric8-services/fabric8-tenant/sentry" req_id= | |
time="2018-11-27 16:05:02" level=error msg="ns update failed" err="exit status 1" file="/home/dipak/go/src/github.com/fabric8-services/fabric8-tenant/sentry/sentry.go" func="github.com/fabric8-services/fabric8-tenant/sentry.LogError" identity_id=4e21ae30-3940-4656-8d49-1178afd9f85a line=48 namespace=developer-run output="Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/jenkins-edit configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/jenkins-view configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/user-edit configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/user-view configured | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer-run": no RBAC policy matched | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer-run": no RBAC policy matched | |
" pid=22213 pkg="github.com/fabric8-services/fabric8-tenant/sentry" req_id= | |
time="2018-11-27 16:05:03" level=error msg="ns update failed" err="exit status 1" file="/home/dipak/go/src/github.com/fabric8-services/fabric8-tenant/sentry/sentry.go" func="github.com/fabric8-services/fabric8-tenant/sentry.LogError" identity_id=4e21ae30-3940-4656-8d49-1178afd9f85a line=48 namespace=developer-che output="Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
secret/che-recommender-api-token configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
serviceaccount/che configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
service/che-host configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/user-edit configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/user-view configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/che configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
persistentvolumeclaim/claim-che-workspace configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
persistentvolumeclaim/che-data-volume configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
configmap/che configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
configmap/fabric8-online-che configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
deploymentconfig.apps.openshift.io/che configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
route.route.openshift.io/che configured | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer-che": no RBAC policy matched | |
Error from server (Forbidden): limitranges is forbidden: User "admin" cannot create limitranges in the namespace "developer-che": no RBAC policy matched | |
Error from server (Forbidden): resourcequotas is forbidden: User "admin" cannot create resourcequotas in the namespace "developer-che": no RBAC policy matched | |
Error from server (Forbidden): resourcequotas is forbidden: User "admin" cannot create resourcequotas in the namespace "developer-che": no RBAC policy matched | |
Error from server (Forbidden): resourcequotas is forbidden: User "admin" cannot create resourcequotas in the namespace "developer-che": no RBAC policy matched | |
" pid=22213 pkg="github.com/fabric8-services/fabric8-tenant/sentry" req_id= | |
time="2018-11-27 16:05:03" level=error msg="ns update failed" err="exit status 1" file="/home/dipak/go/src/github.com/fabric8-services/fabric8-tenant/sentry/sentry.go" func="github.com/fabric8-services/fabric8-tenant/sentry.LogError" identity_id=4e21ae30-3940-4656-8d49-1178afd9f85a line=48 namespace=developer output="Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
service/jenkins configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/jenkins-view configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/user-edit configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/user-view configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/jenkins-edit configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/dsaas-admin configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
configmap/fabric8-environments configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
configmap/fabric8-pipelines configured | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer": no RBAC policy matched | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer": no RBAC policy matched | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer": no RBAC policy matched | |
" pid=22213 pkg="github.com/fabric8-services/fabric8-tenant/sentry" req_id= | |
time="2018-11-27 16:05:03" level=error msg="ns update failed" err="exit status 1" file="/home/dipak/go/src/github.com/fabric8-services/fabric8-tenant/sentry/sentry.go" func="github.com/fabric8-services/fabric8-tenant/sentry.LogError" identity_id=4e21ae30-3940-4656-8d49-1178afd9f85a line=48 namespace=developer-jenkins output="Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
secret/jenkins-recommender-api-token configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
secret/jenkins-release-gpg configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
secret/jenkins-ssh-config configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
secret/jenkins-git-ssh configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
secret/jenkins-hub-api-token configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
secret/jenkins-maven-settings configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
secret/jenkins-docker-cfg configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
serviceaccount/cd-bot configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
serviceaccount/jenkins configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
service/bayesian-link configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
service/jenkins configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
service/jenkins-jnlp configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/view-cd-bot configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/view configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/edit-jenkins configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
rolebinding.authorization.openshift.io/view-jenkins configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
persistentvolumeclaim/jenkins-home configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
configmap/fabric8-online-jenkins configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
configmap/fabric8-space-link configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
configmap/jenkins configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
deploymentconfig.apps.openshift.io/jenkins configured | |
Warning: oc apply should be used on resource created by either oc create --save-config or oc apply | |
route.route.openshift.io/jenkins configured | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer-jenkins": no RBAC policy matched | |
Error from server (Forbidden): rolebindingrestrictions.authorization.openshift.io is forbidden: User "admin" cannot create rolebindingrestrictions.authorization.openshift.io in the namespace "developer-jenkins": no RBAC policy matched | |
Error from server (Forbidden): limitranges is forbidden: User "admin" cannot create limitranges in the namespace "developer-jenkins": no RBAC policy matched | |
Error from server (Forbidden): resourcequotas is forbidden: User "admin" cannot create resourcequotas in the namespace "developer-jenkins": no RBAC policy matched | |
Error from server (Forbidden): resourcequotas is forbidden: User "admin" cannot create resourcequotas in the namespace "developer-jenkins": no RBAC policy matched | |
Error from server (Forbidden): resourcequotas is forbidden: User "admin" cannot create resourcequotas in the namespace "developer-jenkins": no RBAC policy matched | |
" pid=22213 pkg="github.com/fabric8-services/fabric8-tenant/sentry" req_id= | |
=== RUN TestTenantControllerWithMinishift/TestSetupUpdateCleanAndDeleteTenantNamespaces/only_clean_namespaces | |
=== RUN TestTenantControllerWithMinishift/TestSetupUpdateCleanAndDeleteTenantNamespaces/remove_namespaces_and_tenant | |
2018/11/27 16:05:20 [info] removing callback `mighti:record` from /home/dipak/go/src/github.com/fabric8-services/fabric8-tenant/test/gormsupport/cleaner.go:78 | |
--- PASS: TestTenantControllerWithMinishift (29.58s) | |
--- PASS: TestTenantControllerWithMinishift/TestSetupUpdateCleanAndDeleteTenantNamespaces (29.55s) | |
--- PASS: TestTenantControllerWithMinishift/TestSetupUpdateCleanAndDeleteTenantNamespaces/update_namespaces (5.90s) | |
--- PASS: TestTenantControllerWithMinishift/TestSetupUpdateCleanAndDeleteTenantNamespaces/only_clean_namespaces (9.72s) | |
--- PASS: TestTenantControllerWithMinishift/TestSetupUpdateCleanAndDeleteTenantNamespaces/remove_namespaces_and_tenant (6.74s) | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/controller 29.644s | |
testing: warning: no tests to run | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/environment 0.039s [no tests to run] | |
? github.com/fabric8-services/fabric8-tenant/environment/generated [no test files] | |
testing: warning: no tests to run | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/jsonapi 0.046s [no tests to run] | |
? github.com/fabric8-services/fabric8-tenant/keycloak [no test files] | |
testing: warning: no tests to run | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/migration 0.018s [no tests to run] | |
testing: warning: no tests to run | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/openshift 0.040s [no tests to run] | |
testing: warning: no tests to run | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/sentry 0.030s [no tests to run] | |
testing: warning: no tests to run | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/tenant 0.024s [no tests to run] | |
testing: warning: no tests to run | |
PASS | |
ok github.com/fabric8-services/fabric8-tenant/toggles 0.004s [no tests to run] | |
? github.com/fabric8-services/fabric8-tenant/tool/tenant-cli [no test files] | |
? github.com/fabric8-services/fabric8-tenant/utils [no test files] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment