Last active
July 29, 2020 16:15
-
-
Save yiqigao217/02aa617bd7922533471c67badf079c79 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
• Failure [2.248 seconds] | |
HNCConfiguration | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config_test.go:43 | |
should unset MultipleConfigurationsForOneType if extra configurations are later removed [It] | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config_test.go:135 | |
Timed out after 2.011s. | |
Expected | |
<bool>: false | |
to be true | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config_test.go:141 | |
------------------------------ | |
2020-07-29T16:09:46.025Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "hncconfiguration", "name": "config", "namespace": ""} | |
2020-07-29T16:09:46.025Z INFO reconcilers.Hierarchy Reconciling new namespace {"ns": "foo-260013e1c53612bb768f", "rid": 416} | |
2020-07-29T16:09:46.025Z INFO reconcilers.Hierarchy Updating namespace on apiserver {"ns": "foo-260013e1c53612bb768f", "rid": 416} | |
2020-07-29T16:09:46.025Z INFO reconcilers.HNCConfiguration Type config removed {"gvk": "/v1, Kind=ConfigMap"} | |
2020-07-29T16:09:46.025Z INFO reconcilers.HNCConfiguration Type config removed {"gvk": "/v1, Kind=Secret"} | |
2020-07-29T16:09:46.027Z INFO reconcilers.HNCConfiguration Updating the singleton on apiserver | |
2020-07-29T16:09:46.045Z INFO reconcilers.Hierarchy Reconciling new namespace {"ns": "bar-44417a493e6a63176383", "rid": 417} | |
2020-07-29T16:09:46.046Z INFO reconcilers.Hierarchy Updating namespace on apiserver {"ns": "bar-44417a493e6a63176383", "rid": 417} | |
2020-07-29T16:09:46.067Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "hncconfiguration", "name": "config", "namespace": ""} | |
2020-07-29T16:09:46.080Z INFO reconcilers.HNCConfiguration Changing mode of the object reconciler {"gvk": "/v1, Kind=Secret", "old": "ignore", "new": "propagate"} | |
2020-07-29T16:09:47.130Z INFO reconcilers.HNCConfiguration Updating HNCConfig {"reason": "namespace reconciled", "count": 6} | |
2020-07-29T16:09:47.153Z INFO reconcilers.HNCConfiguration Type config removed {"gvk": "/v1, Kind=ConfigMap"} | |
2020-07-29T16:09:47.154Z INFO reconcilers.HNCConfiguration Updating the singleton on apiserver | |
2020-07-29T16:09:47.161Z ERROR reconcilers.HNCConfiguration while updating apiserver {"error": "Operation cannot be fulfilled on hncconfigurations.hnc.x-k8s.io \"config\": the object has been modified; please apply your changes to the latest version and try again"} | |
github.com/go-logr/zapr.(*zapLogger).Error | |
/home/prow/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128 | |
sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers.(*ConfigReconciler).writeSingleton | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config.go:192 | |
sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers.(*ConfigReconciler).Reconcile | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config.go:92 | |
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler | |
/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:233 | |
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem | |
/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:209 | |
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker | |
/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:188 | |
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1 | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:155 | |
k8s.io/apimachinery/pkg/util/wait.BackoffUntil | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:156 | |
k8s.io/apimachinery/pkg/util/wait.JitterUntil | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:133 | |
k8s.io/apimachinery/pkg/util/wait.Until | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:90 | |
2020-07-29T16:09:47.161Z ERROR reconcilers.HNCConfiguration Couldn't write singleton {"error": "Operation cannot be fulfilled on hncconfigurations.hnc.x-k8s.io \"config\": the object has been modified; please apply your changes to the latest version and try again"} | |
github.com/go-logr/zapr.(*zapLogger).Error | |
/home/prow/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128 | |
sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers.(*ConfigReconciler).Reconcile | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config.go:93 | |
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler | |
/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:233 | |
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem | |
/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:209 | |
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker | |
/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:188 | |
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1 | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:155 | |
k8s.io/apimachinery/pkg/util/wait.BackoffUntil | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:156 | |
k8s.io/apimachinery/pkg/util/wait.JitterUntil | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:133 | |
k8s.io/apimachinery/pkg/util/wait.Until | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:90 | |
2020-07-29T16:09:47.161Z ERROR controller-runtime.controller Reconciler error {"controller": "hncconfiguration", "name": "config", "namespace": "", "error": "Operation cannot be fulfilled on hncconfigurations.hnc.x-k8s.io \"config\": the object has been modified; please apply your changes to the latest version and try again"} | |
github.com/go-logr/zapr.(*zapLogger).Error | |
/home/prow/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128 | |
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler | |
/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:235 | |
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem | |
/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:209 | |
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker | |
/home/prow/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:188 | |
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1 | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:155 | |
k8s.io/apimachinery/pkg/util/wait.BackoffUntil | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:156 | |
k8s.io/apimachinery/pkg/util/wait.JitterUntil | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:133 | |
k8s.io/apimachinery/pkg/util/wait.Until | |
/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.18.5/pkg/util/wait/wait.go:90 | |
2020-07-29T16:09:47.176Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "hierarchyconfiguration", "name": "hierarchy", "namespace": "foo-260013e1c53612bb768f"} | |
2020-07-29T16:09:47.186Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "hierarchyconfiguration", "name": "hierarchy", "namespace": "foo-260013e1c53612bb768f"} | |
2020-07-29T16:09:47.188Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "hierarchyconfiguration", "name": "hierarchy", "namespace": "bar-44417a493e6a63176383"} | |
2020-07-29T16:09:47.206Z DEBUG controller-runtime.controller Successfully Reconciled {"controller": "hierarchyconfiguration", "name": "hierarchy", "namespace": "bar-44417a493e6a63176383"} | |
2020-07-29T16:09:48.176Z INFO reconcilers.HNCConfiguration Ignoring the configuration: APIVersion: v1, Kind: Secret, Mode: remove | |
2020-07-29T16:09:48.176Z INFO reconcilers.HNCConfiguration Type config removed {"gvk": "/v1, Kind=ConfigMap"} | |
2020-07-29T16:09:48.176Z INFO reconcilers.HNCConfiguration Updating the singleton on apiserver | |
•••••••• | |
------------------------------ | |
• [SLOW TEST:5.364 seconds] | |
HNCConfiguration | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config_test.go:43 | |
should set NumPropagatedObjects back to 0 after deleting the source object in propagate mode | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config_test.go:298 | |
------------------------------ | |
• [SLOW TEST:6.083 seconds] | |
HNCConfiguration | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config_test.go:43 | |
should set NumPropagatedObjects back to 0 after switching from propagate to remove mode | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config_test.go:310 | |
------------------------------ | |
••••E0729 16:10:22.385314 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch stable.example.com/v1, Kind=CronTab: Get http://127.0.0.1:44209/apis/stable.example.com/v1/crontabs?allowWatchBookmarks=true&resourceVersion=797&timeoutSeconds=482&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.385356 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch *v1alpha2.SubnamespaceAnchor: Get http://127.0.0.1:44209/apis/hnc.x-k8s.io/v1alpha2/subnamespaceanchors?allowWatchBookmarks=true&resourceVersion=131&timeoutSeconds=347&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.385395 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch /v1, Kind=ConfigMap: Get http://127.0.0.1:44209/api/v1/configmaps?allowWatchBookmarks=true&resourceVersion=333&timeoutSeconds=457&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.385431 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch /v1, Kind=Secret: Get http://127.0.0.1:44209/api/v1/secrets?allowWatchBookmarks=true&resourceVersion=778&timeoutSeconds=509&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.385455 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch /v1, Kind=LimitRange: Get http://127.0.0.1:44209/api/v1/limitranges?allowWatchBookmarks=true&resourceVersion=866&timeoutSeconds=308&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.385472 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch rbac.authorization.k8s.io/v1, Kind=Role: Get http://127.0.0.1:44209/apis/rbac.authorization.k8s.io/v1/roles?allowWatchBookmarks=true&resourceVersion=591&timeoutSeconds=559&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.385520 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch rbac.authorization.k8s.io/v1, Kind=RoleBinding: Get http://127.0.0.1:44209/apis/rbac.authorization.k8s.io/v1/rolebindings?allowWatchBookmarks=true&resourceVersion=614&timeoutSeconds=361&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.385584 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch *v1.Role: Get http://127.0.0.1:44209/apis/rbac.authorization.k8s.io/v1/roles?allowWatchBookmarks=true&resourceVersion=591&timeoutSeconds=525&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.385952 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch *v1alpha2.HierarchyConfiguration: Get http://127.0.0.1:44209/apis/hnc.x-k8s.io/v1alpha2/hierarchyconfigurations?allowWatchBookmarks=true&resourceVersion=824&timeoutSeconds=323&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.386015 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch *v1alpha2.HNCConfiguration: Get http://127.0.0.1:44209/apis/hnc.x-k8s.io/v1alpha2/hncconfigurations?allowWatchBookmarks=true&resourceVersion=876&timeoutSeconds=478&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.386073 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch *v1beta1.CustomResourceDefinition: Get http://127.0.0.1:44209/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions?allowWatchBookmarks=true&resourceVersion=788&timeoutSeconds=592&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.386102 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch *v1.Namespace: Get http://127.0.0.1:44209/api/v1/namespaces?allowWatchBookmarks=true&resourceVersion=874&timeoutSeconds=317&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
E0729 16:10:22.386611 18709 reflector.go:382] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to watch /v1, Kind=ResourceQuota: Get http://127.0.0.1:44209/api/v1/resourcequotas?allowWatchBookmarks=true&resourceVersion=760&timeoutSeconds=507&watch=true: dial tcp 127.0.0.1:44209: connect: connection refused | |
Summarizing 1 Failure: | |
[Fail] HNCConfiguration [It] should unset MultipleConfigurationsForOneType if extra configurations are later removed | |
/home/prow/go/src/sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers/hnc_config_test.go:141 | |
Ran 51 of 51 Specs in 69.381 seconds | |
FAIL! -- 50 Passed | 1 Failed | 0 Pending | 0 Skipped | |
--- FAIL: TestAPIs (69.38s) | |
FAIL | |
coverage: 82.7% of statements | |
FAIL sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers 69.833s | |
? sigs.k8s.io/multi-tenancy/incubator/hnc/internal/stats [no test files] | |
ok sigs.k8s.io/multi-tenancy/incubator/hnc/internal/validators 0.655s coverage: 59.0% of statements | |
ok sigs.k8s.io/multi-tenancy/incubator/hnc/third_party/open-policy-agent/gatekeeper/pkg/webhook 7.314s coverage: 27.3% of statements | |
FAIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment