Commit Graph

8583 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
821ebaf0c6
Merge pull request #87448 from YuikoTakada/fix_81657_t_integ_dep
Fix static check failures in test/integration/deployment
2020-04-02 21:39:45 -07:00
Davanum Srinivas
b6a07b92fc
add conformance testdata/ and make it available from bindata
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-01 10:48:01 -04:00
Kubernetes Prow Robot
1b7f5662e1
Merge pull request #89215 from k-toyoda-pi/use_expectnotequal_service
Use ExpectNotEqual in test/e2e/network/
2020-03-31 14:15:28 -07:00
Kubernetes Prow Robot
7b621d82d5
Merge pull request #89620 from dims/fix-mismatch-between-pod-resources-verify/update-scripts
fix mismatch between pod resources verify/update scripts
2020-03-31 09:26:40 -07:00
Kenichi Omichi
03c7bdcacc Enable import-boss check for integration test
Integration tests imported e2e test code and the dependency made two drawbacks:

- Hard to move test/e2e/framework into staging (#74352)
- Need to run integration tests always even if PRs are just changing e2e test code

This enables import-boss check for blocking such dependency.
2020-03-30 21:09:15 +00:00
Davanum Srinivas
62269f5e6e
fix mismatch between pod resources verify/update scripts
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-28 20:25:36 -04:00
SataQiu
590f0f345b fix the bug that update-vendor.sh reports error when grep match failed 2020-03-28 15:50:24 +08:00
Kubernetes Prow Robot
2d4253077d
Merge pull request #89539 from seans3/kubectl-apply-fix
Fixes problem where kubectl apply stops after first error
2020-03-27 17:11:53 -07:00
Kubernetes Prow Robot
4e9dd8fd36
Merge pull request #89454 from gavinfish/import-aliases
Update .import-aliases for e2e test framework
2020-03-27 14:35:54 -07:00
Kubernetes Prow Robot
119660098b
Merge pull request #89550 from Huang-Wei/sched-cc-over-individual-config-args
Use sched ComponentConfig over individual command line args
2020-03-27 00:38:22 -07:00
Sean R. Sullivan
1083c0fe05 Adds integration test for apply failures when applying multiple resources 2020-03-26 22:33:04 -07:00
Wei Huang
33ea82227e
Use sched ComponentConfig over individual command line args 2020-03-26 17:11:17 -07:00
Jordan Liggitt
07e512bb6b Detect transitive dependencies on k8s.io/kubernetes 2020-03-26 13:58:28 -04:00
Kubernetes Prow Robot
295b53f7b4
Merge pull request #89214 from jingyih/update_etcd_server_3p4p4
Update default etcd server to 3.4.4 in k8s v1.19
2020-03-26 01:14:24 -07:00
li-ang
fe0f38839a Use correct path when installing go-bindata 2020-03-25 16:10:19 +08:00
drfish
dfab6b637f Update .import-aliases for e2e test framework 2020-03-25 11:40:02 +08:00
gavinfish
2b8e60bb21 Staticcheck: vendor/k8s.io/pkg/cmd/set|edit 2020-03-21 23:20:02 +08:00
gavinfish
1865a104a9 Remove kubescheduler.config.k8s.io/v1alpha1 2020-03-21 15:11:48 +08:00
Kubernetes Prow Robot
80d56220be
Merge pull request #89136 from dims/zero-out-build-id-for-reproducible-build
zero out the build id for reproducible builds
2020-03-18 22:24:38 -07:00
zzde
a95d04993a
Fix golint failures in pkg/credentialprovider (#88860)
* Fix golint failures in pkg/credentialprovider

* improve Comment

* test
2020-03-18 20:10:43 -07:00
toyoda
7499d80fd8 Use ExpectNotEqual in test/e2e/network/ 2020-03-18 16:30:56 +09:00
jingyih
f9e0e4c6b4 Update default etcd server to 3.4.4 2020-03-18 00:27:46 -07:00
Kubernetes Prow Robot
359f39c215
Merge pull request #88531 from claudiubelu/tests/configurable-private-image-pull
tests: Adds configurable docker conf for test
2020-03-17 16:21:19 -07:00
Kubernetes Prow Robot
1827fe444e
Merge pull request #87895 from alexzimmer96/68026-lint-pkg-controller-autoscaler
Fix Golint errors in pkg/controller/podautoscaler
2020-03-17 16:19:53 -07:00
Davanum Srinivas
d70d04f92b
zero out the build id for reproducible builds
We have been having issues with making builds reproducible, especially
with the `.note.go.buildid` ELF section. One tip from a golang issue was
to set `-ldflags=-buildid=` which seems to work well. You can confirm
that the buildid is set to empty by inspecting the binaries with the go
command example `go tool buildid _output/local/go/bin/kubectl`

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-15 20:43:19 -04:00
tianhongw
50de627302 fix golint errors in staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc 2020-03-07 22:35:10 +08:00
Davanum Srinivas
e93c6a67d5
Use go-bindata built from vendor/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-06 13:53:12 -05:00
Kubernetes Prow Robot
f605ab0b08
Merge pull request #88502 from caesarxuchao/make-egress-api-beta
Promote the egressSelector API to beta
2020-03-05 20:04:02 -08:00
Kubernetes Prow Robot
55bfdc6024
Merge pull request #88004 from verb/cli-debug
Add kubectl debug alpha command
2020-03-05 07:18:37 -08:00
Lee Verberne
e5b655938e Add kubectl debug alpha command
This first version of `kubectl alpha debug` is an import of the existing
kubectl-debug plugin, which supports adding ephemeral containers to
running pods. This attempts to follow patterns used by other kubectl
commands such as run, exec and scale.
2020-03-04 19:20:04 +01:00
Kubernetes Prow Robot
0535520f6e
Merge pull request #88758 from soltysh/hide_last_applied
Hide kubectl.kubernetes.io/last-applied-configuration in describe
2020-03-03 21:06:01 -08:00
Kubernetes Prow Robot
aeb88b6ecd
Merge pull request #88587 from cmluciano/cml/v1beta1paths
Adding PathType to Ingress
2020-03-03 18:13:47 -08:00
Kubernetes Prow Robot
62dc3ea6d1
Merge pull request #87368 from 928234269/fix_staticcheck01
fix staticcheck errors in pkg/controller/daemon.
2020-03-03 12:15:28 -08:00
Rob Scott
f38904d6f4
Adding PathType to Ingress
Co-authored-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-03-03 11:11:16 -08:00
Maciej Szulik
02cd65d7bb
Squash pkg/describe/versioned/ into pkg/describe/ 2020-03-03 19:20:06 +01:00
pohsienshih
9bfe818229 Fixed golint issues in RBD code 2020-02-29 23:36:58 +08:00
Kubernetes Prow Robot
665c6648eb
Merge pull request #87485 from gavinfish/kubectl_pkg_config
Staticcheck: vendor/k8s.io/kubectl/pkg/cmd/exec|config|certificates
2020-02-29 02:26:39 -08:00
Chao Xu
3fbb549fb7 Promote the egressselector API to beta 2020-02-28 11:29:45 -08:00
Kubernetes Prow Robot
1799706bdd
Merge pull request #88399 from chendave/arm_etcd
Fix etcd issues on ARM
2020-02-27 00:15:33 -08:00
Dave Chen
2543598628 Fix etcd issues on ARM
- On unstable arch like ARM, etcd needs the "ETCD_UNSUPPORTED_ARCH" to be set
  `# etcd --version
   etcd on unsupported platform without ETCD_UNSUPPORTED_ARCH=arm64 set`

- `tail -n +1 | head -n 1` is unnecessary, `head -n 1` is enough.
2020-02-27 12:55:53 +08:00
Kubernetes Prow Robot
5cc572f798
Merge pull request #88329 from claudiubelu/promoter/sed-fix
test images: Image Promoter sed fix
2020-02-26 03:54:40 -08:00
Kubernetes Prow Robot
418afb7607
Merge pull request #88476 from ingvagabund/allow-to-override-test-benchtime
scheduler_perf: allow to override the default benchtime
2020-02-24 21:38:48 -08:00
Steve Azzopardi
4eb06577dc
Fix golint issues for core/v1/validation
reference https://github.com/kubernetes/kubernetes/issues/68026
2020-02-24 20:50:39 +01:00
Jan Chaloupka
b50f60c98f scheduler_perf: allow to override the default benchtime
The new benchmark requires the benchtime to be set to a very small number
so each test is run at most once. Some machines can have too powerfull resources
and decrease running time of some tests under the default 1s. Also, the old suite
expects the benchtime to be set to 1s. Allow to override the benchtime for the
new test suite will allow to run the same script from both suites.
2020-02-24 19:22:41 +01:00
Claudiu Belu
1a8183d262 tests: Adds configurable docker conf for test
The image "gcr.io/authenticated-image-pulling/windows-nanoserver:v1" is not a
manifest list, and it is only useful for Windows Server 1809, which means that the
test "should be able to pull from private registry with secret" will fail for
environments with Windows Server 1903, 1909, or any other future version we might
want to test.

This commit adds the the ability to have an alternative private image to pull by
using a configurable docker config file which contains the necessary credentials
needed to pull the image.
2020-02-22 22:21:28 -08:00
Kubernetes Prow Robot
23045f9247
Merge pull request #88057 from julianvmodesto/remove-deprecated-rolling-update
Remove deprecated rolling-update command
2020-02-21 18:31:30 -08:00
Kubernetes Prow Robot
d1361c5a91
Merge pull request #87903 from oomichi/e2eskipper
Update conformance requirement check
2020-02-21 18:31:15 -08:00
Kubernetes Prow Robot
ddd6d668f6
Merge pull request #87880 from k-toyoda-pi/add_some_aliases
Add some aliases into import-aliases for e2e framework
2020-02-19 04:46:25 -08:00
Claudiu Belu
6d3a18b0be test images: Image Promoter sed fix
The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4)
is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls
kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists
(it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed
binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient.

This was previously fixed in: #87188, but it was reverted by #87653 as it was failing
on Mac (sed does not exist). This commit fixes that issue as well.
2020-02-18 19:58:35 -08:00
Kubernetes Prow Robot
d58216a253
Merge pull request #88181 from BenTheElder/healthier-monitor
fix shellcheck failures in health-monitor.sh
2020-02-18 15:32:37 -08:00
gkarthiks
8853a985fd fix: golint failures
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2020-02-16 15:09:45 -08:00
Kubernetes Prow Robot
1c60045db0
Merge pull request #88173 from BenTheElder/gives-a-whole-new-pause
upgrade pause everywhere
2020-02-15 02:11:27 -08:00
Kubernetes Prow Robot
3e3a3599ca
Merge pull request #87711 from alena1108/jan30volume
Ineffassign fixes for pkg/volume
2020-02-14 21:53:28 -08:00
Benjamin Elder
4454ce6f37 fix shellcheck failures in health-monitor.sh 2020-02-14 16:12:18 -08:00
Benjamin Elder
53da837872 bump pause to 3.2 in hack/ 2020-02-14 14:03:19 -08:00
Kubernetes Prow Robot
b290e0b7ab
Merge pull request #88162 from ingvagabund/scheduler-perf-metrics-report-under-artifacts-dir
Report scheduler_perf integration test kube-scheduler metrics into artifacts dir
2020-02-14 13:11:51 -08:00
Kubernetes Prow Robot
4a45ae3236
Merge pull request #87645 from fromanirh/topomgr-e2e-tests
e2e-topology-manager: single-NUMA-node test
2020-02-14 08:06:19 -08:00
Jan Chaloupka
51120d133c Report scheduler_perf integration test kube-scheduler metrics into artifacts dir
make test-integration ran within jenkins job does not collect json file with generated metrics
from kube-scheduler. The artifacts dir needs to be set explicitly through new -data-items-dir
test flag. The metrics are required to provide more comphrehensive information about
kube-scheduler internals.
2020-02-14 15:11:50 +01:00
Kubernetes Prow Robot
81b6980d7f
Merge pull request #87285 from joakimr-axis/joakimr-axis_release.sh
Fix shellcheck warnings/errors in /build/lib/release.sh
2020-02-14 03:08:17 -08:00
Julian V. Modesto
932500c015 Remove deprecated rolling-update command 2020-02-13 23:52:53 -05:00
Benjamin Elder
becc4b7d57 remove unused manifest-tool rules 2020-02-13 14:58:26 -08:00
Kubernetes Prow Robot
de9bbcc9cd
Merge pull request #87403 from gavinfish/kubectl_pkg
Staticcheck: vendor/k8s.io/kubectl/pkg/scale etc.
2020-02-12 07:48:52 -08:00
Kubernetes Prow Robot
d5ea2f15b5
Merge pull request #87234 from KobayashiD27/fix-golint
fix golint error in plugin/pkg/auth/authorizer/rbac/bootstrappolicy
2020-02-12 02:23:05 -08:00
Kubernetes Prow Robot
ba10669143
Merge pull request #87595 from hase1128/add-comment-hack-script
Add comments in several hack/*.sh
2020-02-11 23:14:20 -08:00
Kubernetes Prow Robot
f9244a5223
Merge pull request #87417 from hase1128/add-comment-to-several-verify-scripts_4
Add comments in several hack/verify-*.sh(s-v)
2020-02-11 23:14:07 -08:00
Francesco Romani
cd7e3d626c e2e: topomgr: add test infra
This patch all the testing infra and utilities needed
to run e2e topology manager tests. This include setup
a guaranteed pod which needs some devices.

The simplest real device available for the purpose
are the SRIOV devices, hence we use them.

This patch pulls the SRIOV device plugin from
the official, yet external, repository.
We do it as close as possible for the nvidia GPU plugin.

This patch also performs minor refactoring for some
test framework utilities, needed to support the new
e2e tests.

Finally, we add an empty e2e topology manager test,
to be completed by the next patch.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Mike Danese
119f220832 remove authn/z.CreateContext expansions 2020-02-10 13:17:59 -08:00
Kubernetes Prow Robot
ca1514d03b
Merge pull request #80651 from odinuge/kubectl-proxy-handle-error
Add error check in kubectl proxy on server setup
2020-02-09 11:23:52 -08:00
Kubernetes Prow Robot
eb2d1fd19b Merge pull request #87914 from RainbowMango/pr_support_providerid
Support config kubelet provider id for local cluster
2020-02-09 07:27:53 -08:00
Kubernetes Prow Robot
7c1dfd1b83 Merge pull request #83546 from Asalle/fix-golint-passwordfile
Fix golint in staging/src/k8s.io/apiserver/plugin/pkg/authenticator/password/passwordfile
2020-02-08 10:15:54 -08:00
gavinfish
f4940cf55f Staticcheck: vendor/k8s.io/kubectl/pkg/scale|describe/versioned|cmd/top|cmd/util/editor|cmd/top 2020-02-08 11:09:28 +08:00
Kubernetes Prow Robot
6d4e2d722e
Merge pull request #87381 from yuxiaobo96/k8s-staticcheck3
staticcheck: pkg/volume/fc, pkg/volume/portworx and pkg/volume/vspher…
2020-02-07 18:32:58 -08:00
Kubernetes Prow Robot
2c0fad1bc7
Merge pull request #87503 from liggitt/remove-alpha-node-api
Drop k8s.io/node-api packages
2020-02-07 15:20:12 -08:00
Kubernetes Prow Robot
77de56994e
Merge pull request #87885 from alexzimmer96/68026-lint-pkg-registry-core-pod
Fix Golint errors in pkg/registry/core/pod
2020-02-07 12:32:41 -08:00
Jordan Liggitt
0b32e142d4 Drop k8s.io/node-api packages 2020-02-07 10:07:14 -05:00
Kubernetes Prow Robot
f6abf820fd
Merge pull request #87874 from 928234269/fix_staticcheck07
fix staticcheck errors in vendor/k8s.io/legacy-cloud-providers/aws.
2020-02-07 05:57:30 -08:00
Kubernetes Prow Robot
db1ee8add7
Merge pull request #87653 from JieJhih/shell/util
fix command variable exited with status 1
2020-02-07 05:56:50 -08:00
Kubernetes Prow Robot
1f147a4cf5
Merge pull request #87734 from mikedanese/ctxsnap
snapshot clientsets pending context migration
2020-02-07 00:08:10 -08:00
RainbowMango
99c15d2828 Support config kubelet provider id for local cluster. 2020-02-07 14:12:48 +08:00
Kubernetes Prow Robot
c493dd9542
Merge pull request #87826 from mikedanese/owner
add myself to hack/OWNERS
2020-02-06 17:47:42 -08:00
Kubernetes Prow Robot
9c1e124b15
Merge pull request #87823 from tallclair/test-tokens
Ensure testing credentials are labeled as such
2020-02-06 17:47:29 -08:00
Kenichi Omichi
7b44ad0606 Update conformance requirement check
After solving the issue https://github.com/kubernetes/kubernetes/issues/87047
skip functions have been moved to e2eskipper from e2e framework.
This updates the conformance requirement check to follow the move.
2020-02-06 20:09:00 +00:00
Alexander Zimmermann
a1c837022c
Fixed Golint errors in pkg/controller/podautoscaler 2020-02-06 17:16:38 +01:00
Alexander Zimmermann
026ba54961
Fixed Golint errors in pkg/registry/core/pod 2020-02-06 11:40:37 +01:00
toyoda
f185c474e0 Add some aliases into import-aliases for e2e framework 2020-02-06 17:40:56 +09:00
Sakura
d5edfc9817
fix staticcheck errors in vendor/k8s.io/legacy-cloud-providers/aws.
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-02-06 11:08:45 +08:00
Kubernetes Prow Robot
9f6f608816
Merge pull request #87492 from 928234269/fix_staticcheck05
fix static check errors in vendor/k8s.io/apimachinery/pkg/api/resource
2020-02-05 12:11:55 -08:00
Mike Danese
ca7a456a6b add myself to hack/OWNERS
I have 140 commits in this directory and I get a lot of cleanup reviews
and want to be able to approve changes to hack/.golint_failures.

0e69316b delete unused cache
b9c7007c enable token review when openapi is generated
d5bbc35d make deps-approvers the approvers of sample-cli-plugin/Godeps
4186abf7 bzl: fix update-bazel.sh
7b472296 remove deprecated /proxy paths
b9738404 gke-certificates-controller: rm -rf
49610655 cluster: remove unused functions
1e2b6442 cluster: move logging library to hack/
bef68f7d cluster: build gci mounter like other go binaries
fe7ba9e7 kubeadm: use kubelet bootstrap instead of reimplementing
3c39173e fixit: break sig-cluster-lifecycle tests into subpackage
64f77ebf enable race detection on integration tests
cdcfa35c promote tls-bootstrap to beta
ff4a814c migrate set generation to go genrule
3600d495 delete benchmark integration tests that don't work at all
21617a60 don't use build tags to mark integration tests
59fc948a bump rules_go and go version for bazel builds
ba5c2855 bazel: implement git build stamping
ad42b429 move kubeadm api group testing to kubeadm package
c8ce55fe Revert "Merge pull request #41132 from kubernetes/revert-40893-kubelet-auth"
cbe5bd97 bump gazel to v14
86d94937 remove second CA used for kubelet auth in favor of webhook auth
04a7880b update repo local config to allow redirects from gopkg.in
44b72465 autogenerated
96c146c8 promote certificates.k8s.io to beta
087016dd update gazel to v8
837eee43 pin gazel to v3
e225625a add a configuration for kubelet to register as a node with taints
584689f1 implement kubectl procelain csr commands
93f737ea fix verify-bazel.sh on mac and windows
5dc7554a bazel: implement set-gen as a bazel genrule
61bd6aa6 remove docs/user-guide from bindata search path
224e32bc make godep licenses/copyright check case insensitive
1cd29689 godep: vendor go-bindata
d380cb1d fix realpath issue on mac
ea632fa8 Revert "disable bazel build"
27116c68 rename build/ to build-tools/
ee15c80d disable bazel build
999c9677 ignore BUILD in the flags-underscore.py validation
b250a880 don't check BUILD file when verifying godeps
a2eec91a add bazel presubmits to verify BUILD files are up to date
c17a8a77 kubectl: apply prune should fallback to basic delete when a resource has no reaper
25e4dcce kubeadm: fix conversion macros and add kubeadm to round trip testing
6d17a878 kubectl: add two more test of kubectl apply --prune
62960aac add a test for kubectl apply --prune
6339d915 add a test to test-cmd.sh for apply -f with label selector
b421bf43 build kube-discovery and kubeadm with release
0c76cf5c fix hack/verify-codegen.sh
9f379df7 add an option to controller-manager to auto approve all CSRs
95e2e299 move kube-dns to the cluster/addons/ directory
f3de21bd move integration tests into individual pacakges
af0177ef cleanup hack/verify-govet.sh to throttle process creation
2c93ea5d Merge pull request #27289 from mikedanese/split-verify
ee34c769 split verify out of unit/integration suite
d046275a now that go test runs iteration loops, use that instead of custom executor
1ef19062 Merge pull request #26197 from wonderfly/update_default_master_image
fbf6bbc4 Merge pull request #25596 from derekparker/inotify
3e1c0b59 run kube-addon-manager in a pod
c5cc0c34 Merge pull request #24277 from ihmccreery/upgrade-timeout
132c4271 add linux fastbuild option to ./build/release.sh
2857baa7 use defaults in test-dockerized for etcd prefix and api versions
695211e2 Merge pull request #21105 from caesarxuchao/watchCacheForIntegration
2172e0de Merge pull request #21108 from mml/slow-flake
1478cf34 Merge pull request #21090 from ihmccreery/feature-reboot
b3172a4c kubelet: add a pidfile
b1743a68 this is a manual reversion of #20702
5b270551 Merge pull request #19378 from ihmccreery/remove-update-jobs
b7438274 Merge pull request #19659 from ihmccreery/timeout-reboot
a6589f7d hack: ignore cluster/env.sh in boilerplate check
f71657d9 retrofit the scheduler with the leader election client.
bf763bba Merge pull request #19498 from pwittrock/nodelabels
22cfa5ea build: move some of hack/lib/ into a new cluster/lib/
b174fc9c Merge pull request #18994 from bprashanth/flannel_suite
a09d85bd expose master count configuration in a cli option on apiserver
c2753d75 bump ci go version to 1.5.2
0655e65b fall back to old behavior when deciding mem availablity during build
1d9d11c8 run kube-proxy in a static pod
91de3a12 cleanup some nits in hack/get-build.sh
cd79c6c0 fix unbound variable error in hace/get-build.sh
5e64590f renable enable var to correct name and only use it when needed
9bdb860e add apigroup installer and tests
e6d3b47e add componentconfig api group to autogen stuff
88008de9 Merge pull request #16459 from mikedanese/enable-exp
d28d1344 Merge pull request #16533 from ihmccreery/upgrade-test-fixes
33435225 enable deployment and daemonset in gce upgrade tests
7cbf249b Merge pull request #15836 from wojtek-t/codecgen_from_godeps
92404e7c add upgrade test between 1.0 and 1.1 for gce
95b8394a Merge pull request #15861 from mikedanese/upgrade-num-minion
ece5779f increase NUM_MINIONS for jenkins gce upgrade test
b8b35afa actually promote daemonset simple test out of flaky and skip all daemonset tests in gke
d379a360 copy directory not contents of directory
402e68e0 add slow test for terminated pod garbage collection
c0943f11 add intermediate e2e runs to gce upgrade
10d56ff1 promote simple daemonset test out of flaky
b635fc53 Merge pull request #15228 from mesosphere/sttts-conformance-tags
392f33e4 Merge pull request #14054 from mikedanese/register-master
fa60bbe8 add flag to kubelet to ignore the cidr passed down by the apiserver on the master
53e14c7a diff all of pkg/ when verifying swagerspec instead of just pkg/api/
05ef8ed2 Merge pull request #15104 from mikedanese/ds-e2e
fe820fc4 break up daemonset test into two tests
833be48d enable all experimental flags with one controller
905e9716 be explicit about minion group size in upgrade test
ae7d3d5a add gce-upgrade to jenkins/e2e.sh
376faea1 add pod garbage collection
b0457bee Merge pull request #13058 from mvdan/go1.5
a48f2182 Merge pull request #13754 from tummychow/labels-deps
1fec1993 Merge pull request #13824 from kubernetes/revert-13547-hpa-kubeup
fa40ced8 move contrib/for-tests to test/images
f0618758 updating all references in .sh scripts
83266970 rewrite all links to prs to k8s links
fb02b33e fix build
8e48431c Revert "demote to flaky tests from parallel e2e"
b56edd13 Merge pull request #11727 from ZJU-SEL/build-nonstatic-hyperkube
cf4cb1a6 Merge pull request #10474 from kargakis/scale-multiple-controllers
e376a094 demote to flaky service tests from parallel e2e
7c47d6bd Merge pull request #12009 from smarterclayton/fix_cmd_config
0269e2ba Merge pull request #11941 from GoogleCloudPlatform/enact_version_md
94a387d5 Revert "Improve conversion to support multiple packages"
1a613c43 Merge pull request #9971 from smarterclayton/make_conversion_more_flexible
0ae48c44 Merge pull request #11927 from wojtek-t/remove_shell_services
59a1dd42 Merge pull request #11789 from mbforbes/nodesNetwork
6294070c Merge pull request #11803 from wojtek-t/move_back_from_flaky
daa6d4dd Merge pull request #11285 from liggitt/ca
9f16fd90 Merge pull request #11860 from ingvagabund/delimiter-for-X-option-eparis
c0acfbcd Merge pull request #11421 from nikhiljindal/exposeServcPort
ae1c8e55 Merge pull request #11737 from thockin/cleanup-remove-v1beta3
01ee1b86 Merge pull request #10840 from jbeda/master
d4d99deb make mungedoc exit 1 if manual changes are needed and wire up erro message.
337772a9 fix all tests
055115a1 fake realpath, and standardize treatment of trailing / of dirs in gendoc
b4514ee1 fix run-gendocs to point to new repo location
c053b9a5 add documentation and script on how to get recent and "nightly" builds
719870fd add publishing of latest-green.txt to jenkins e2e tests on success
1e130e07 remove --machines from code and docs
dbb47fe2 remove e2e run before cluster upgrade
de55e17f e2e test cluster stability during upgrade
c9fcf45f fix bad cmd-test for patch.
9f915325 fix error where we can't use patch and add cmd-test for patch and file update
2020-02-04 11:46:35 -08:00
Tim Allclair
9d3670f358 Ensure testing credentials are labeled as such 2020-02-04 10:36:05 -08:00
Joakim Roubert
405609b920 Fix shellcheck warnings/errors in /build/lib/release.sh
With these changes, /build/lib/release.sh can be removed from
hack/.shellcheck_failures and included in the scripts that are checked
by hack/verify-shellcheck.sh.

Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-02-04 11:00:58 +01:00
Mike Danese
0f18715473 snapshot clientsets pending context migration
https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/20200123-client-go-ctx.md

Part of #46503
2020-02-03 08:36:00 -08:00
Odin Ugedal
1e50bc2d09
Add error check in kubectl proxy on server setup
If "NewServer" returns an error, it will result in a nil pointer
dereference segfault.

A simple way to test the behavior is to prefix the server url with a
colon, ":".
2020-02-03 16:43:01 +01:00
Kubernetes Prow Robot
7a01cdcaea
Merge pull request #82454 from beautytiger/fix_shellcheck_common.sh
fix shell checks errors in cluster/common.sh
2020-02-02 07:05:20 -08:00
Kubernetes Prow Robot
19ca6d30d2
Merge pull request #87437 from apelisse/kubectl-diff-exit-code
kubectl-diff: Return non-1 errors on kubectl failures
2020-02-01 18:33:20 -08:00
Kubernetes Prow Robot
b7a1d61462
Merge pull request #87658 from dims/enable-selinux-tags-in-make-targets
Enable selinux tags in make targets
2020-02-01 03:35:35 -08:00
Kubernetes Prow Robot
536c2c8918
Merge pull request #87706 from liggitt/fix-statefulset-conversion
Fix statefulset conversion
2020-01-31 20:08:16 -08:00
Davanum Srinivas
dfd8e4e467
Enable selinux tags in make targets
In 24d105995d, a fix was made in bazel
based builds to ensure that we add `selinux` tag when we build all
binaries especially the `kubelet`. We need to do the same for in our
hack scripts so things like `make release` will work properly as well.

Some scripts use `GOFLAGS=-tags=providerless` for example, So we should
support the tags to be specified in GOFLAGS as well. We parse out the
tags from there and ensure selinux is added to the list of tags we used
for building the binaries. Note that we add our own `-tags` with the
full set of tags and since we specify our parameter at the end, ours
full list takes precendence
2020-01-31 15:48:44 -05:00
Alena Prokharchyk
331cd94ccc Ineffassign fixes for pkg/volume
Along resolves errors whitelisted in hack/.staticcheck_failures
2020-01-31 10:14:45 -08:00
Kubernetes Prow Robot
5ced53c0c4
Merge pull request #87628 from alculquicondor/cc-v1alpha2
Add kubescheduler.config.k8s.io/v1alpha2
2020-01-30 16:59:33 -08:00
Jordan Liggitt
498ae799b5 Use standard default storage media type in local-up-cluster 2020-01-30 17:25:23 -05:00
JieJhih Jhang
8bd9c994ca fix command variable exited with status 1 2020-01-30 12:52:09 +08:00
Aldo Culquicondor
3d83ef2e8e Autogenerated and build files for kubescheduler.config.k8s.io/v1alpha2
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-29 17:18:48 -05:00
Kubernetes Prow Robot
17936ff63b
Merge pull request #87544 from SenXuDC/staticcheck
fix static check in pkg/volume/flocker
2020-01-29 07:32:42 -08:00
Jin Hase
0ce49aea1f
Update get-build.sh 2020-01-29 09:27:51 +09:00
Elijah Oyekunle
558f6aab56 add staging directories to import-boss verify script 2020-01-28 10:51:46 +01:00
YuikoTakada
03974c1ea4 Fix static check failures in test/integration/deployment 2020-01-28 06:08:37 +00:00
Kubernetes Prow Robot
962a61f51f
Merge pull request #87446 from KobayashiD27/add-hack-comment
add comment in several hack/ sh scripts.
2020-01-27 20:33:39 -08:00
Kubernetes Prow Robot
63df400778
Merge pull request #87514 from hase1128/fix-verify-api-groups-script
Fix bug of hack/verify-api-groups.sh
2020-01-27 18:53:39 -08:00
Jin Hase
e992ec0d59 Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
Kobayashi Daisuke
ee00497ea9 add comment in several hack/ sh scripts. 2020-01-27 11:13:09 +09:00
Jin Hase
08833c9180
Withdraw the change of getting version variable 2020-01-27 08:26:04 +09:00
Kubernetes Prow Robot
e2b823fa7d
Merge pull request #87243 from SenXuDC/fix-staticcheck
fix static check in cluster/images/etcd-version-monitor
2020-01-25 22:41:02 -08:00
Kubernetes Prow Robot
089d3e63e5
Merge pull request #86910 from RaunakShah/golint_vspherestorage
Fix golint errors in test/e2e/storage/vsphere
2020-01-25 07:41:01 -08:00
SenXuDC
7c72b5791b fix static check in pkg/volume/flocker 2020-01-25 10:51:55 +08:00
Kubernetes Prow Robot
58c67632e5
Merge pull request #87475 from liggitt/drop-ga-gates
Remove deprecated GA feature gates that expire in 1.18
2020-01-24 03:02:46 -08:00
Jin Hase
efd309b7da Fix bug of hack/verify-api-groups.sh 2020-01-24 17:49:42 +09:00
Kubernetes Prow Robot
6c693549a3
Merge pull request #87183 from Aresforchina/fix-staticcheck-test15
fix-staticcheck:pkg/volume/scaleio/
2020-01-23 22:20:31 -08:00
Kubernetes Prow Robot
c5d981583a
Merge pull request #87308 from KobayashiD27/fix-staticcheck
Fix staticcheck in pkg/controller/podgc
2020-01-23 11:34:11 -08:00
Jordan Liggitt
57724766bc Remove deprecated GA feature gates 2020-01-23 13:44:21 -05:00
Kubernetes Prow Robot
f0486a6b6a
Merge pull request #87178 from YuikoTakada/fix_81657_1
Fix static check failures in test/e2e/instrumentation/logging/st…
2020-01-23 06:00:49 -08:00
Sakura
9897f33f7d
fix static check errors in vendor/k8s.io/apimachinery/pkg/api/resource
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-23 21:07:14 +08:00
drfish
a14ceeb2c0 Staticcheck: vendor/k8s.io/kubectl/pkg/cmd/exec|config|certificates 2020-01-23 14:03:11 +08:00
Kubernetes Prow Robot
4630690eae
Merge pull request #87457 from 928234269/fix_staticcheck03
fix static check errors in test/integration/etcd
2020-01-22 20:37:47 -08:00
Kubernetes Prow Robot
53a394e53f
Merge pull request #87188 from claudiubelu/test-images/centralization-cleanup
test images: Image Promoter fixes
2020-01-22 16:30:50 -08:00
Sakura
8c6d7a7086
fix static check errors in test/integration/etcd
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-22 23:16:26 +08:00
Kubernetes Prow Robot
1735f7a2b6
Merge pull request #87377 from gavinfish/pkg-util-netsh
Fix static check errors in pkg/util/netsh
2020-01-21 22:02:35 -08:00
Antoine Pelisse
38c5f318c9 kubectl-diff: Test return code on failure and changes 2020-01-21 15:34:22 -08:00
Kubernetes Prow Robot
84beab6f26
Merge pull request #87386 from liggitt/local-up-token-signer
Enable bound tokens in local-up-cluster
2020-01-21 06:35:51 -08:00
Kubernetes Prow Robot
29a4b39536
Merge pull request #87382 from yiyang5055/fix-staticcheck
fix static check failure in pkg/controller/disruption and pkg/control…
2020-01-21 06:35:37 -08:00
Jin Hase
093fd4ab02 Add comments in several hack/verify-*.sh(s-v) 2020-01-21 19:10:46 +09:00
Kubernetes Prow Robot
a7b4459cd1
Merge pull request #87379 from hase1128/add-comment-to-several-verify-scripts_3
Add comments in several hack/verify-*.sh(g-r)
2020-01-21 01:30:09 -08:00
YuikoTakada
e5a2aeeae6 Fix static check failures in test/e2e/instrumentation/logging/stackdriver 2020-01-21 00:43:21 +00:00
Jordan Liggitt
2a2ce207f2 Enable bound tokens in local-up-cluster 2020-01-20 09:19:37 -05:00
Kubernetes Prow Robot
f680c261e6
Merge pull request #87074 from yuxiaobo96/k8s-staticcheck
fix staticcheck: pkg/volume/awsebs
2020-01-20 03:09:37 -08:00
yiyang5055
53aff819e0 fix static check failure in pkg/controller/disruption and pkg/controller/namespace/deletion 2020-01-20 09:10:46 +00:00
yuxiaobo
72f34b817e staticcheck: pkg/volume/fc, pkg/volume/portworx and pkg/volume/vsphere_volume
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-20 16:47:54 +08:00
Jin Hase
c8df27c2b1 Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
Kubernetes Prow Robot
3d8317ae91
Merge pull request #87139 from yuxiaobo96/k8s-staticcheck2
fix staticcheck:pkg/volume/cinder
2020-01-19 21:47:36 -08:00
drfish
f19f4e40f9 Fix static check errors in pkg/util/netsh 2020-01-20 13:25:34 +08:00
Sakura
203c7b4731
fix staticcheck errors in pkg/controller/daemon.
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-19 21:09:05 +08:00
chendotjs
2afe0da8ee Unify --cluster-cidr in KCM and CCM 2020-01-19 13:51:02 +08:00
Kubernetes Prow Robot
66178b9cc1
Merge pull request #87307 from hase1128/add-comment-to-several-verify-scripts_2
Add comments in several hack/verify-generated-*.sh
2020-01-18 01:49:35 -08:00
Kubernetes Prow Robot
f256c0254f
Merge pull request #87221 from YuikoTakada/fix_81657_2
Fix static check failures in test/e2e/instrumentation/monitoring
2020-01-17 21:39:49 -08:00
Kubernetes Prow Robot
f88f58cb79
Merge pull request #87245 from 928234269/fix_staticcheck
fix staticcheck errors in pkg/volume/hostpath.
2020-01-17 12:15:18 -08:00
Kubernetes Prow Robot
acf64f4501
Merge pull request #87303 from k-toyoda-pi/modify_alias_e2ejob
Modify alias of e2e/framework/job to e2ejob
2020-01-17 10:15:10 -08:00
Kobayashi Daisuke
ed1381e35f Fix staticcheck in pkg/controller/podgc 2020-01-17 15:42:38 +09:00
Jin Hase
09a132be29 Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
Kubernetes Prow Robot
56b140c6f5
Merge pull request #87272 from hase1128/add-comment-to-several-verify-scripts
Add comments in several hack/verify-*.sh
2020-01-16 18:57:08 -08:00
Kubernetes Prow Robot
9519d9764d
Merge pull request #87065 from tanjunchen/add-README-hack
add README.md in hack/
2020-01-16 18:56:55 -08:00
toyoda
0c12ae5240 Modify alias of e2e/framework/job to e2ejob 2020-01-17 10:56:05 +09:00
shahra
18f05ef5b9 Fix golint errors in test/e2e/storage/vsphere 2020-01-16 11:12:31 -08:00
Kubernetes Prow Robot
0c1d714627
Merge pull request #87128 from Aresforchina/fix-staticcheck-test12
fix-staticcheck:pkg/volume/emptydir
2020-01-16 07:48:50 -08:00
Kubernetes Prow Robot
47475c69d1
Merge pull request #87181 from tanjunchen/add-comment-hack-update
add comment in hack/update-*.sh
2020-01-15 21:21:38 -08:00
Kubernetes Prow Robot
7ffa2b9c46
Merge pull request #87042 from oomichi/e2e-alias
Add import-aliases check of e2e sub framework
2020-01-15 21:20:48 -08:00
Jin Hase
e1eabf8576 Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
YuikoTakada
aa2691eeac Fix static check failures in test/e2e/instrumentation/monitoring 2020-01-16 02:42:07 +00:00
tanjunchen
0c77101b90 add README.md in hack/ 2020-01-16 10:12:18 +08:00
tanjunchen
b2f76cc780 add comment in hack/update-*.sh 2020-01-16 10:05:49 +08:00
Kobayashi Daisuke
0c3112fff3 fix golint error in plugin/pkg/auth/authorizer/rbac/bootstrappolicy 2020-01-16 09:23:16 +09:00
Sakura
4143bc7a96
fix staticcheck errors in pkg/volume/hostpath.
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-15 22:54:48 +08:00
SenXuDC
cc8e8401e2 fix static check in cluster/images/etcd-version-monitor 2020-01-15 21:31:33 +08:00
Kubernetes Prow Robot
12b77b8f16
Merge pull request #86955 from RainbowMango/pr_clean_cloud_controller_manager
Cleanup cloud controller manager when closing cluster.
2020-01-15 01:22:00 -08:00
Aresforchina
514bdbedac fix-static:pkg/volume/scaleio/ 2020-01-15 09:53:27 +08:00
Kubernetes Prow Robot
ded4f74133
Merge pull request #87082 from liggitt/cleanup-testapi
Remove unused KUBE_TEST_API logic
2020-01-13 13:59:19 -08:00
Kubernetes Prow Robot
e1cc36000f
Merge pull request #87002 from SataQiu/staticcheck-20200109
Fix staticcheck failures of pkg/util/ipconfig pkg/util/iptables pkg/util/ipvs/testing
2020-01-13 13:58:55 -08:00
Jordan Liggitt
2a47900620 Remove unused KUBE_TEST_API logic 2020-01-13 09:09:46 -05:00
yuxiaobo
da15570daa fix staticcheck:pkg/volume/cinder
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 18:20:23 +08:00
Aresforchina
e62f9625cf fix-static:pkg/volume/emptydir 2020-01-13 15:23:45 +08:00
Kubernetes Prow Robot
ce6a9f97e5
Merge pull request #87076 from hase1128/add-simple-explanation-to-verify-linkcheck-script
Add some comment to hack/verify-linkcheck.sh
2020-01-10 21:19:36 -08:00
Jin Hase
8da4a1d97f Add some comment to hack/verify-linkcheck.sh 2020-01-10 20:12:30 +09:00
yuxiaobo
c5764735e2 fix staticcheck:pkg/volume/awsebs
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-10 18:36:39 +08:00
Kobayashi Daisuke
fee0d43d23 fix golint error in pkg/apis/rbac 2020-01-10 11:22:05 +09:00
Kenichi Omichi
19daee7e60 Add import-aliases check for e2e framework
This adds import-aliases check for e2e sub framework packages.
2020-01-09 08:58:20 +00:00
SataQiu
51c742c1dd fix staticcheck failures of pkg/util/ipconfig pkg/util/iptables pkg/util/ipvs/testing 2020-01-09 16:05:11 +08:00
Kubernetes Prow Robot
968361dc83
Merge pull request #86945 from hase1128/add-simple-explanation-to-verify-spelling-script
Add simple explanation to verify-spelling.sh
2020-01-08 14:46:14 -08:00
Kubernetes Prow Robot
79bb357193
Merge pull request #84654 from liggitt/drop-openapi-version
Drop version from static openapi json file
2020-01-08 11:59:39 -08:00
RainbowMango
0f9c262eda Cleanup cloud controller manager when closing cluster. 2020-01-08 19:18:53 +08:00
Kubernetes Prow Robot
35434fdfea
Merge pull request #86901 from tanjunchen/staticcheck-002
staticcheck:test/integration/master/
2020-01-08 02:58:55 -08:00
Kubernetes Prow Robot
dbf3a46ec1
Merge pull request #86893 from RainbowMango/pr_support_external_cloud_provider_part2
Remove variable EXTERNAL_CLOUD_VOLUME_PLUGIN default value
2020-01-08 02:58:44 -08:00
Kubernetes Prow Robot
1f50be5d04
Merge pull request #86775 from Aresforchina/fix-staticcheck-test03
fix staticcheck of pkg/util/ebtables
2020-01-08 02:58:07 -08:00
Kubernetes Prow Robot
302cf556e0
Merge pull request #86604 from hase1128/add-simple-explanation-to-verify-golint-script
Add simple explanation to verify golint script
2020-01-08 01:49:40 -08:00
Jin Hase
ee967060c7 Add simple explanation to verify-spelling.sh 2020-01-08 15:55:10 +09:00
Kubernetes Prow Robot
8dca390262
Merge pull request #84927 from mattjmcnaughton/mattjmcnaughton/fix-kubelet-config-common
Fix golint failures for pkg/kubelet/config/...
2020-01-07 21:09:40 -08:00
Kubernetes Prow Robot
11a31590e4
Merge pull request #86900 from tanjunchen/staticcheck-001
staticcheck:test/integration/auth/
2020-01-07 07:36:31 -08:00
tanjunchen
8d313f333e staticcheck:test/integration/master/ 2020-01-07 21:56:37 +08:00
tanjunchen
264a1cf5f6 staticcheck:test/integration/auth/ 2020-01-07 15:23:19 +08:00
Kubernetes Prow Robot
8b8f2aa4a5
Merge pull request #85431 from irbull/api-doc
Add public documentation for kubelet/apis/config
2020-01-06 23:12:18 -08:00
RainbowMango
24ccd77a98 Remove variable EXTERNAL_CLOUD_VOLUME_PLUGIN default value in local-up-cluster.sh 2020-01-07 10:17:10 +08:00
Kubernetes Prow Robot
d6412b856f
Merge pull request #84345 from danielqsj/withdialer
replace grpc.WithDialer which is deprecated
2020-01-06 15:56:17 -08:00
Kubernetes Prow Robot
c409446d41
Merge pull request #86781 from SataQiu/staticcheck-20200102
Fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-06 13:34:45 -08:00
Claudiu Belu
4c51eb9063 test images: Image Promoter fixes
Prior to the Image Centralization part 4 (https://github.com/kubernetes/kubernetes/pull/81170),
a PR merged that enables the Image Promoter to run on the k/k test images.

The Image Promoter currently only builds the Conformance-related images, but the
Image Centralization part 4 centralized some of those images into agnhost, so they
need to be removed from the conformance_images list.

Additionally, https://github.com/kubernetes/kubernetes/pull/81226 proposes mounttest-user
image to be removed, and RunAsUser to be used in tests instead.

The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4)
is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls
kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists
(it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed
binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient.

Bumps image versions for: jessie-dnsutils, nonewprivs, resource-consumer, sample-apiserver. These
images are included in the conformance_images that are being built by the Image Promoter, so
we're bumping them just to make sure we're not breaking anything and cause all the CIs to fall.
We're going to bump the image versions used in tests in a subsequent PR. The image version was not
bumped for: agnhost, kitten, nautilus, as they were already bumped by the Image Centralization part 4
PR.
2020-01-06 09:08:51 -08:00
RainbowMango
eb074761bc Fix local-up-cluster.sh do not work with non-intree external cloud provider issue. 2020-01-06 22:54:38 +08:00
SataQiu
17b0b77026 fix staticcheck failures of test/integration/client test/integration/disruption 2020-01-03 17:23:35 +08:00
Aresforchina
bfc4a7a1c5 fix staticcheck of pkg/util/ebtables 2020-01-02 18:16:50 +08:00
Kubernetes Prow Robot
2099c00290
Merge pull request #86745 from Aresforchina/fix-staticcheck-test01
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 20:31:39 -08:00
Kubernetes Prow Robot
4058cdcc2a
Merge pull request #86750 from RainbowMango/pr_postpone_swap_warning
Postpone flag warning log to just before it be used
2019-12-31 12:25:40 -08:00
RainbowMango
36cbce1182 Postpone flag warning log to just before it be used. 2019-12-31 20:05:53 +08:00
Aresforchina
bf47d14c27 Fix staticcheck failures of test/integration/replicationcontroller 2019-12-31 17:16:01 +08:00
Kubernetes Prow Robot
5da9113fd8
Merge pull request #85078 from k-toyoda-pi/add_apierrs_aliase
Add apierrors as alias for k8s.io/apimachinery/pkg/api/errors
2019-12-31 00:59:39 -08:00
Kubernetes Prow Robot
d0c719dbd9
Merge pull request #86716 from SataQiu/staticcheck-20191230
Fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 20:39:39 -08:00