Commit Graph

116476 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
bfb3c37410
Merge pull request #117294 from humblec/open-containers
dependencies: update go-humanize to latest version
2023-06-06 09:20:11 -07:00
Kubernetes Prow Robot
f812ac5445
Merge pull request #118349 from bart0sh/PR116-fix-ginkgo-deprecation-warning
Fix ginkgo deprecation warning
2023-06-06 06:59:01 -07:00
Kubernetes Prow Robot
93ec57734f
Merge pull request #118362 from linxiulei/zero_copy
Do not copy bytes for cached serializations
2023-06-06 05:33:00 -07:00
Humble Chirammal
010343562c dependencies: update github.com/dustin/go-humanize v1.0.1
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-06-06 14:45:00 +05:30
Kubernetes Prow Robot
d220ecb415
Merge pull request #118486 from testwill/framework
chore: use strings.Contains instead
2023-06-06 00:39:00 -07:00
Kubernetes Prow Robot
16cbdef00a
Merge pull request #118330 from MadhavJivrajani/test-watch-from-zero
storage: Implement TestWatchFromZero for cacher
2023-06-05 23:41:00 -07:00
guoguangwu
923db7bd8e chore: use strings.Contains instead 2023-06-06 14:29:20 +08:00
Madhav Jivrajani
4d85a1f00c storage: Implement TestWatchFromZero for cacher
There exists a storage test to test for rv=0 and production
of ADDED events. This commit adapts the test to be used for
the watch cache as well.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-06-06 10:53:04 +05:30
Kubernetes Prow Robot
587f0a2210
Merge pull request #118467 from yuanchen8911/naming
Rename scheduler queue variables for consistency
2023-06-05 22:20:59 -07:00
Kubernetes Prow Robot
c07c739f04
Merge pull request #118282 from wojtek-t/retry_after_followup
Follow up from dynamic retryAfter
2023-06-05 15:03:06 -07:00
Eric Lin
3085b57869 Do not copy bytes for cached serializations
Since cachingObject has the encoded data cached and they are not
supposed to change. It's memory efficient to just copy the slice
references.

Signed-off-by: Eric Lin <exlin@google.com>
2023-06-05 18:03:48 +00:00
Kubernetes Prow Robot
2901730626
Merge pull request #118451 from jingxu97/june/podonly
Add mininumKubelet tag into ReadWriteOncePod test
2023-06-05 10:51:27 -07:00
Yuan Chen
9eaa50cc82 Rename scheduler queue variables for consistency 2023-06-05 09:02:06 -07:00
Kubernetes Prow Robot
bba9833c39
Merge pull request #118404 from pohly/verify-failures
better JUnit failure messages for golangci-lint and verify in general
2023-06-05 08:31:26 -07:00
Kubernetes Prow Robot
34abd36e88
Merge pull request #118443 from TommyStarK/kubectl-clean-code-bytes-buffer
kubectl: use bytes.Buffer.String
2023-06-05 07:31:38 -07:00
Kubernetes Prow Robot
43dd3cce73
Merge pull request #118413 from mimowo/fix-backoff-delay-computation
Adjust the algorithm for computing the pod finish time
2023-06-05 07:31:26 -07:00
jay vyas
6195f96e56
minor fix comments in netpol so its easy to understand the tests for newcomers, remove one misleading comment (#118264)
* Fix comments in the netpol tests for new contributors to understand them better

* typo
2023-06-05 05:31:25 -07:00
Kubernetes Prow Robot
72a3990728
Merge pull request #118442 from SataQiu/clean-scheduler-20230604
Scheduler: fix code style issues for pkg/scheduler
2023-06-05 04:13:25 -07:00
SataQiu
410b6023d6 scheduler: fix code style issues for pkg/scheduler 2023-06-05 17:29:49 +08:00
Michal Wozniak
71ab7dc791 Remarks 2023-06-05 10:48:32 +02:00
Michal Wozniak
70d3bb43e5 Adjust the algorithm for computing the pod finish time
Change-Id: Ic282a57169cab8dc498574f08b081914218a1039
2023-06-05 10:06:56 +02:00
jinxu
b994e639a6 Add mininumKubelet tag into ReadWriteOncePod test
ReadWriteOncePod feature needs min requirement of 1.27 kubelet, add the
tag to skip test if kubelet version is smaller than 1.27

Change-Id: I27959156db90f2477cead6dfc16f42dbc54663bc
2023-06-04 23:10:10 -07:00
TommyStarK
da4a8d831b kubectl: use bytes.Buffer.String
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-06-04 15:45:24 +02:00
Kubernetes Prow Robot
eca1f9d2d5
Merge pull request #118433 from testwill/ipvs
chore: should use buf.String() instead of string(buf.Bytes())
2023-06-04 02:54:41 -07:00
Kubernetes Prow Robot
bb87860868
Merge pull request #118356 from ritazh/ec-admission
Add ephemeralcontainer to imagepolicy securityaccount admission plugin
2023-06-03 05:30:41 -07:00
guoguangwu
fd92acba5a chore: should use buf.String() instead of string(buf.Bytes()) 2023-06-03 13:48:15 +08:00
Kubernetes Prow Robot
039ae1edf5
Merge pull request #118414 from thockin/remove_codegen_debug
Fix errant debugging code in codegen
2023-06-02 13:58:41 -07:00
Tim Hockin
45c9e06616
Fix errant debugging code in codegen 2023-06-02 10:09:51 -07:00
Kubernetes Prow Robot
bd0ac4cba3
Merge pull request #118384 from Jefftree/gnostic-models-branch
Update gnostic library to point to gnostic-models
2023-06-02 10:06:53 -07:00
Patrick Ohly
f4d326a1fc verify: produce JUnit file also for pull-kubernetes-verify-strict-lint
Because this doesn't get invoked through verify.sh, we have to call
logJu ourselves to get a JUnit file. errexit must not be set when
calling logJu, otherwise it does no post-processing.
2023-06-02 17:38:14 +02:00
Jefftree
322968e9b3 Update unwanted dependencies per CI instructions 2023-06-02 14:34:26 +00:00
Jefftree
2111e79f56 Update gnostic references 2023-06-02 14:34:26 +00:00
Jefftree
1993a4cb37 vendor 2023-06-02 14:34:25 +00:00
Patrick Ohly
0b4efddae0 verify: nicer failure message rendering in Prow
The "message" attribute is redundant. Adding line breaks ensures that the curly
brackets used by Prow are on separate lines.

Before:
    {Script Error ScriptError test/e2e/e2e.go:437:5: var `unused` is unused (unused)
    var unused = 1 // intentionally trigger a golangci-lint warning.
        ^}

After:
    {ScriptError
    test/e2e/e2e.go:437:5: var `unused` is unused (unused)
    var unused = 1 // intentionally trigger a golangci-lint warning.
        ^
    }
2023-06-02 15:39:27 +02:00
Patrick Ohly
dbbb21469f verify: pick relevant lines from verify-golangci-lint.sh as failure message
When sh2ju.sh was called to generate the junit_verify.xml, it used to include
the entire output of a failed script twice: once as failure message, once as
log output.

This output can be large and often the actual failure isn't near the top, but
rather at the end or (in the case of the different golangci-lint invocations)
embedded in the log. This makes them hard to see at a glance when looking at
the Prow result page for a job.

Now a verify script can prefix relevant lines with "ERROR: " and then only
those lines are used as failure message in JUnit, without that prefix.

That string was chosen because Prow itself also then picks up those lines when
viewing the entire build log and it is unlikely that some script prints such
lines when they are not meant to be part of the failure.

If some script outputs no such lines, "see stderr for details" is used as
failure message. This is better than before because it avoids the redundancy.
2023-06-02 15:37:50 +02:00
Kubernetes Prow Robot
2eb4eac581
Merge pull request #118353 from SataQiu/fix-kubeadm-test-20230531
kubeadm: add command-line integration test to ensure that the supported etcd version is always available for the stable Kubernetes version
2023-06-02 04:40:53 -07:00
Kubernetes Prow Robot
08579e8a8a
Merge pull request #118388 from andyzhangx/revert-118236-remove-azurefile
Reinstate the azureFile in-tree storage plugin (revert removal)
2023-06-02 03:32:53 -07:00
Rita Zhang
d6168bb658
Add ephemeralcontainer to imagepolicy securityaccount admission plugin
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-06-01 23:05:06 -07:00
Andy Zhang
1ce285ad3d
Revert "removed the deprecated azureFile in-tree storage plugin" 2023-06-02 10:20:53 +08:00
Kubernetes Prow Robot
decf1e1a9b
Merge pull request #117870 from howardjohn/client/run-errorhandler-race
informer: fix race against Run and SetTransform/SetWatchErrorHandler
2023-06-01 15:41:45 -07:00
Kubernetes Prow Robot
0291a59a8c
Merge pull request #118380 from SataQiu/add-deprecation-message
kubeadm: add deprecation message for UpgradeAddonsBeforeControlPlane feature gate
2023-06-01 10:49:45 -07:00
Kubernetes Prow Robot
2815a28dfa
Merge pull request #118339 from jpbetz/bump-cel-go
Bump cel go to latest version
2023-06-01 09:09:46 -07:00
SataQiu
daa7115907 kubeadm: add deprecation message for UpgradeAddonsBeforeControlPlane feature gate 2023-06-01 23:06:26 +08:00
Kubernetes Prow Robot
33a2438de9
Merge pull request #118341 from pacoxu/add-pacoxu-kubeadm
add pacoxu to kubeadm approvers
2023-06-01 04:33:46 -07:00
SataQiu
d49c43abde kubeadm: add integration test to ensure that the supported etcd version is always available for the stable Kubernetes version 2023-06-01 18:45:06 +08:00
Kubernetes Prow Robot
1bcc388dc6
Merge pull request #118351 from pohly/dra-test-driver-grpc-calls
DRA test driver: GRPC calls
2023-06-01 03:33:46 -07:00
Kubernetes Prow Robot
82f7cf6010
Merge pull request #117930 from LronDC/master
kubectl: optimize usage message of commands which have subcommands.
2023-06-01 02:19:46 -07:00
Patrick Ohly
d0a64739e2 e2e dra: collect and check GRPC calls
If kubelet plugin registration fails, it would be good to know more about the
communication with kubelet. Capturing the GRPC calls and then checking that
makes the failure messages more informative. Here's an example where a failure
was triggered by temporarily modifying the check so that it didn't find the
call:

  [FAILED] Timed out after 30.000s.
  Expected:
      <[]app.GRPCCall | len:2, cap:2>: [
          {
              FullMethod: "/pluginregistration.Registration/GetInfo",
              Request:
                  {},
              Response:
                  endpoint: /var/lib/kubelet/plugins/test-driver/dra.sock
                  name: test-driver.cdi.k8s.io
                  supported_versions:
                  - 1.0.0
                  type: DRAPlugin,
              Err: nil,
          },
          {
              FullMethod: "/pluginregistration.Registration/NotifyRegistrationStatus",
              Request:
                  plugin_registered: true,
              Response:
                  {},
              Err: nil,
          },
      ]
  to contain successful NotifyRegistrationStatus call
2023-06-01 09:58:05 +02:00
Joe Betz
68901de898 Enable optionals and add tests 2023-05-31 18:36:50 -04:00
Joe Betz
5c0b59891d Bump cel-go to v0.16.0 2023-05-31 18:36:43 -04:00