Dave Chen
2f3028c00d
Define the timeout
to 24h
for Ginkgo V2
...
Default timeout setting has been reduced from `24h` down to `1h` in
Ginkgo V2, but for some long running test this is too short.
How long to abort the test was controlled by the the linux command `timeout`
in V1. e.g. `'timeout -k 30s 150m ...`, and is configured in the file
like `sig-network-misc.yaml`.
Set the timeout manually for Ginkgo V2 to avoid the early aborting.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
2084f3cef2
Drop all stacktrace related validtion
...
The change is needed for `verify-e2e-test-ownership.sh`.
The `jq` is re-defined since the structure of test spec
is different with v1 and the stacktrace related validation
is not available, e.g. `package` and `func`.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
20498fd65d
Generate conformance test spec with offset
decorator
...
`FullStackTrace` is not available in v2 if no exception found
with test execution.
The change is needed for conformance test's spec validation.
pls see: https://github.com/onsi/ginkgo/issues/960 for details.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
dd58016484
Implement DetailsReporter
report within ReportAfterSuite
...
The change is needed to verify the conformance test spec, as this
is verified in `verify-conformance-yaml.sh`.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
b57bade50c
Switch to use dry-run
option to generate test spec
...
`dryRun` option is deprecated and will not be able to
generate test spec.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
f792256954
e2e: adapt output tests to Ginkgo v2 and Gomega 1.19
...
Full stack traces are on by default. The approach for collecting results is
different. Tests run in their own goroutine, therefore runTests is no longer
part of their callstack. To cover stack traces with more than one entry, a new
test case gets added with a separate helper function.
Gomega object formatting now includes the type.
This removes the last remaining reference to Ginkgo v1.
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
375b2a5fb2
Build Ginkgo
binary
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
ece0bb3522
Adapt to new type of GinkgoWriter
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:53 +08:00
Dave Chen
2eb8e9e81f
ginkgo.It
doesn't have a timeout
arg anymore
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:53 +08:00
Dave Chen
05c0f4a298
Define the const of GINKGO_PANIC
directly
...
`ginkgo.GINKGO_PANIC` is not available and cannot be imported
directly.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:53 +08:00
Dave Chen
857458cfa5
update ginkgo from v1 to v2 and gomega to 1.19.0
...
- update all the import statements
- run hack/pin-dependency.sh to change pinned dependency versions
- run hack/update-vendor.sh to update go.mod files and the vendor directory
- update the method signatures for custom reporters
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:46 +08:00
Kubernetes Prow Robot
9509211fe7
Merge pull request #110904 from 249043822/storageversion
...
Computation of the StorageVersionHash use overridden storage versions in unit test
2022-07-07 19:11:58 -07:00
Kubernetes Prow Robot
6732550634
Merge pull request #110877 from claudiubelu/agnhost-windows-file-permissions
...
agnhost: Check symlink target's permissions for Windows
2022-07-07 19:11:45 -07:00
Kubernetes Prow Robot
8e62fd24b0
Merge pull request #111001 from pohly/klog-update
...
build: update to klog v2.70.1
2022-07-07 17:54:23 -07:00
Kubernetes Prow Robot
2b657a0f3b
Merge pull request #110805 from saschagrunert/seccomp-default-beta
...
Graduate SeccompDefault feature to beta
2022-07-07 17:54:11 -07:00
Kubernetes Prow Robot
6d5cccfdf3
Merge pull request #110122 from ii/create-controller-revision-test
...
Write ControllerRevisionLifecycleTest +7 Endpoints
2022-07-07 17:54:04 -07:00
ZhangKe10140699
f218f7b262
Computation of the StorageVersionHash use overridden storage versions in unit test
2022-07-08 06:32:27 +08:00
Kubernetes Prow Robot
34b9f0dbed
Merge pull request #110998 from chendave/de_dup_kubeadm
...
kubeadm: De-dup the confirmation on the interactive cmds
2022-07-07 12:46:37 -07:00
Kubernetes Prow Robot
e9b96b167f
Merge pull request #111004 from alculquicondor/patch-4
...
Remove SIG Scheduling approvers from reviewers
2022-07-07 11:11:35 -07:00
Aldo Culquicondor
d2a94fe703
Remove SIG Scheduling approvers from reviewers
2022-07-07 11:16:32 -04:00
Kubernetes Prow Robot
6adee9d4fb
Merge pull request #110947 from SataQiu/scheduler-20220704
...
scheduler: do not update sched.nextStartNodeIndex when evaluate nominated node
2022-07-07 07:57:45 -07:00
Kubernetes Prow Robot
9d68640ed3
Merge pull request #110923 from mpuckett159/fix/add-wait-timers
...
Move kubectl wait to informers with a cache to avoid hanging due to objects disappearing from the cluster
2022-07-07 07:57:34 -07:00
Kubernetes Prow Robot
8d2c7371de
Merge pull request #110997 from mengjiao-liu/update-godoc-link
...
Update `godoc.org` to `pkg.go.dev ` in kubeadm
2022-07-07 05:25:34 -07:00
Patrick Ohly
3581e30883
build: update to klog v2.70.1
...
This makes ktesting more resilient against logging from leaked goroutines,
which is a problem that came up in kubelet node shutdown
tests (https://github.com/kubernetes/kubernetes/issues/110854 ).
2022-07-07 12:54:08 +02:00
Kubernetes Prow Robot
2a017f94bc
Merge pull request #110237 from ii/create-apiservice-lifecycle-test
...
Write APIService lifecycle test + 4 Endpoints
2022-07-06 22:25:44 -07:00
Kubernetes Prow Robot
f74aa4714d
Merge pull request #109683 from ii/create-resourcequota-test
...
Write List, Patch & DeleteCollection ResourceQuota test - +3 endpoint coverage
2022-07-06 22:25:32 -07:00
Dave Chen
8aeee521e6
kubeadm: De-dup the confirmation on the interactive cmds
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-07 11:51:26 +08:00
Mengjiao Liu
88c6deb778
Update godoc.org
to pkg.go.dev
in kubeadm
2022-07-07 11:06:13 +08:00
SataQiu
d3092cd296
scheduler: do not update sched.nextStartNodeIndex when evaluate nominated node
2022-07-07 10:02:28 +08:00
Kubernetes Prow Robot
e8eb7a5e19
Merge pull request #110990 from thockin/svc-typenames-IPFamilyPolicyType
...
Rename IPFamilyPolicyType => IPFamilyPolicy
2022-07-06 18:39:44 -07:00
Kubernetes Prow Robot
f88b11897d
Merge pull request #110978 from chendave/dry_run_interactive
...
kubeadm: Don't ask for input if it's dry run mode
2022-07-06 18:39:33 -07:00
Kubernetes Prow Robot
b3be343bc8
Merge pull request #110811 from Abirdcfly/clock
...
Update golangci-lint to 1.46.2 and fix errors
2022-07-06 16:03:32 -07:00
Tim Hockin
55232e2ef7
Rename IPFamilyPolicyType => IPFamilyPolicy
2022-07-06 15:42:26 -07:00
Kubernetes Prow Robot
666ee0886f
Merge pull request #110703 from aojea/beta_enable_ipranges
...
enable ServiceIPStaticSubrange beta by default
2022-07-06 14:55:44 -07:00
Kubernetes Prow Robot
4593b2e71a
Merge pull request #110290 from danwinship/kep-3178-local-policy-drop
...
Don't use KUBE-MARK-DROP for "no local endpoints"
2022-07-06 14:55:33 -07:00
Kubernetes Prow Robot
65361245ed
Merge pull request #110824 from Abirdcfly/simple
...
cleanup:use copy other than for loop
2022-07-06 12:03:33 -07:00
Kubernetes Prow Robot
6b6558a463
Merge pull request #110948 from alculquicondor/re-enable-job-tracking
...
Re-enable JobTrackingWithFinalizers
2022-07-06 09:45:33 -07:00
Kubernetes Prow Robot
1ea6eb2d1d
Merge pull request #110954 from kerthcet/fix/deadline-should-be-nil
...
Fix pod's deadline to nil when cache ttl is set to zero
2022-07-06 07:28:51 -07:00
Dave Chen
988b96fcbb
kubeadm: Don't ask for input if it's dry run mode
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-06 18:18:53 +08:00
Kubernetes Prow Robot
bd2776e0c9
Merge pull request #110868 from rikatz/endport-to-ga
...
Promote endPort in Network Policy to GA
2022-07-05 19:48:49 -07:00
Kubernetes Prow Robot
efa26e5daf
Merge pull request #110876 from zhoumingcheng/master-unit-v6
...
add unit test coverage for pkg/util/slice
2022-07-05 15:59:20 -07:00
Kubernetes Prow Robot
850a5ffda6
Merge pull request #110901 from ping035627/k8s-220701
...
Add failure handling of the desiredStateOfWorldPopulator start
2022-07-05 11:27:31 -07:00
Kubernetes Prow Robot
fe1d3fe637
Merge pull request #110691 from yangjunmyfm192085/fixlogprint
...
Execute the Run function of kubelet, Remove invalid comments and remove run function
2022-07-05 11:27:19 -07:00
Kubernetes Prow Robot
a17215fe84
Merge pull request #110768 from kerthcet/fix/filter-out-unsatisfied-nodes-in-AddPod
...
Filter out unsatisfied nodes when calling AddPod in PodTopologySpread
2022-07-05 10:15:19 -07:00
kerthcet
72e8fc1d87
Fix: pod's deadline shoud be nil when cache ttl is 0
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-05 23:29:31 +08:00
Kubernetes Prow Robot
f0d2473484
Merge pull request #110952 from SataQiu/scheduler-20220705
...
scheduler: remove unused Equal function for HTTPExtender
2022-07-05 06:56:48 -07:00
SataQiu
e74af4bdfa
scheduler: remove unused Equal function for HTTPExtender
2022-07-05 13:17:05 +08:00
Kubernetes Prow Robot
47ad357c52
Merge pull request #110925 from kapiljain1989/remove_scheduler_cache_ttl
...
Remove TTL for scheduler cache to resolve the race condition when Cac…
2022-07-04 12:47:23 -07:00
Aldo Culquicondor
a26920b190
Re-enable JobTrackingWithFinalizers
...
Change-Id: If9bd960f3da07bbdc4bc59008976e7f2cfd011e9
2022-07-04 15:24:19 -04:00
Kapil Jain
4706dda5da
Added code for disable scheduler cache expiry
2022-07-04 23:46:59 +05:30