Kubernetes Prow Robot
95ed6820ea
Merge pull request #107329 from pacoxu/promote-e2e-quota
...
promote LocalStorageCapacityIsolationFSQuotaMonitoring to beta
2022-07-28 19:35:10 -07:00
Matthew Wong
195797c36c
Fix missing format string PVC namespace
2022-07-28 17:57:10 -07:00
Kubernetes Prow Robot
73b3be3082
Merge pull request #111009 from marosset/runasnonroot-windows-fix
...
Windows: ensure runAsNonRoot does case-insensitive comparison on username
2022-07-28 17:55:22 -07:00
kerthcet
02f77a1b84
Feat: ga component config in kube-scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:47:48 +08:00
Matthew Cary
738b458f8e
enable gce pd driver via a flag rather than an env var
...
Change-Id: Ib7c99083ad334e5f6dd152e376a303de794e0bf1
2022-07-28 17:23:28 -07:00
Stephen Heywood
c5517109b9
Promote namespace status e2e test to Conformance
2022-07-29 11:54:47 +12:00
Matthew Wong
6390281a1c
Clear ephemeral container resources field when creating one in volume test
2022-07-28 15:47:14 -07:00
Kubernetes Prow Robot
5856e83573
Merge pull request #110007 from ardaguclu/enhancements-alpha-events
...
Add new flags into alpha events
2022-07-28 07:33:11 -07:00
Arda Güçlü
63b8684cd3
Add new flags into alpha events
...
In order to promote kubectl alpha events to beta,
it should at least support flags which is already
supported by kubectl get events as well as new flags.
This PR adds;
--output: json|yaml support and does essential refactorings to
integrate other printing options easier in the future.
--no-headers: kubectl get events can hide headers when this flag is set for default printing.
Adds this ability to hide headers also for kubectl alpha events.
This flag has no effect when output is json or yaml for both commands.
--types: This will be used to filter certain events to be printed and
discard others(default behavior is same with --event=Normal,Warning).
2022-07-28 15:16:58 +03:00
Kubernetes Prow Robot
0532324bd1
Merge pull request #111491 from mkumatag/patch-3
...
Update agnhost image to 2.40
2022-07-28 03:29:21 -07:00
Kubernetes Prow Robot
dd454e0c91
Merge pull request #111489 from humblec/e2e/rbd
...
update base image to Fedora 36 for volume/(gluster|iscsi|rbd)
2022-07-28 03:29:10 -07:00
Manjunath Kumatagi
095e961657
Update agnhost image to 2.40
2022-07-28 12:19:26 +05:30
Humble Chirammal
b87b7032af
update image version of GlusterFS test
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-07-28 11:54:36 +05:30
Humble Chirammal
29ad028396
update base image version of ISCSI test image
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-07-28 11:53:45 +05:30
Humble Chirammal
c158fde1e5
update RBD test image base to Fedora 36
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-07-28 11:45:30 +05:30
Kubernetes Prow Robot
3999794253
Merge pull request #111414 from chewong/chewong-emeritus
...
chore: move chewong to emeritus_approvers
2022-07-27 18:15:22 -07:00
Kubernetes Prow Robot
1663ec0851
Merge pull request #111249 from Octopusjust/k8s-pr6
...
test/e2e/common/node: fix several typo
2022-07-27 11:35:08 -07:00
Dan Winship
39bed84947
update "Networking should recreate its iptables rules" test
...
Don't assume kubelet will create KUBE-MARK-DROP; look for
KUBE-IPTABLES-HINT now instead.
2022-07-27 13:29:39 -04:00
Kubernetes Prow Robot
ce336550f1
Merge pull request #111444 from wojtek-t/prevent_leaking_goroutines
...
Prevent from future leaks of goroutines in integration tests
2022-07-27 06:31:52 -07:00
Ernest Wong
6fcc671b9d
chore: move chewong to emeritus_approvers
...
Signed-off-by: Ernest Wong <ernwong@amazon.com>
2022-07-27 03:08:28 +00:00
Stephen Heywood
337bba200c
Promote ControllerRevision e2e test to Conformance
2022-07-27 14:47:32 +12:00
Han Kang
c38746c353
add test for fake objectives
...
Change-Id: Ib0bfdf1299cd74490474f92c41d93090809f41c4
2022-07-26 15:31:25 -07:00
Han Kang
cefa194998
Update test/instrumentation/error.go
...
Co-authored-by: Damien Grisonnet <damien.grisonnet@epita.fr>
2022-07-26 15:31:25 -07:00
Han Kang
e452850ec3
Add support for summary metrics for stablity checks
...
Also add entrypoints for verifying and updating a test file for easier
debugging. This is considerably faster than running the stablity checks
against the entire Kubernetes codebase.
Change-Id: I5d5e5b3abf396ebf1317a44130f20771a09afb7f
2022-07-26 15:31:25 -07:00
Kubernetes Prow Robot
3ffdfbe286
Merge pull request #111254 from dims/update-to-golang-1.19-rc2
...
[golang] Update to 1.19rc2 (from 1.18.3)
2022-07-26 14:25:09 -07:00
Kubernetes Prow Robot
8bc12f24e6
Merge pull request #106388 from alexzielenski/ssa-ignore-nonsemantic-changes
...
Ignore non-semantic changes to objects
2022-07-26 11:35:10 -07:00
Wojciech Tyczyński
ef607d131f
Prevent from future leaks of goroutines in integration tests
2022-07-26 20:08:09 +02:00
Alexander Zielenski
a51d4c1fee
update conformance
...
x-preserve-unknown-fields becomes x-kubernetes-preserve-unknown-fields
2022-07-26 11:05:46 -07:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Davanum Srinivas
4784b58e17
golang: Update to 1.19rc2 from 1.18.3
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Alexander Zielenski
59629acf47
correct OpenAPI extension in error message
...
when attemping to use preserveUnknownFields the error message leads you astray
2022-07-26 09:43:09 -07:00
Kubernetes Prow Robot
9525206bcb
Merge pull request #111306 from stlaz/restricted_scheduling_test
...
Make scheduling e2e tests run PSa-restricted pods
2022-07-26 08:01:21 -07:00
Lee Verberne
14ee775215
Promote Ephemeral Containers e2e test to Conformance
2022-07-26 16:52:02 +02:00
Stanislav Laznicka
682ee2908a
Make scheduling e2e tests run PSa-restricted pods
...
The "pause" pods that are being run in the scheduling tests are
sometimes launched in system namespaces. Therefore even if a test
is considered to be running on a "baseline" Pod Security admission
level, its "baseline" pods would fail to run if the global PSa
enforcement policy is set to "restricted" - the system namespaces
have no PSa labels.
The "pause" pods run by this test can actually easily run with
"restricted" security context, and so this patch turns them
into just that.
2022-07-26 14:32:51 +02:00
Kubernetes Prow Robot
00ace95226
Merge pull request #111046 from wongearl/omit-comparison
...
omit comparison to bool constant
2022-07-26 03:37:09 -07:00
Kubernetes Prow Robot
a72032f9b3
Merge pull request #111395 from wojtek-t/cleanup_run_apiserver
...
Remove RunAnAPIServer from integration tests
2022-07-26 01:55:53 -07:00
Lee Verberne
d238e67ba6
Remove EphemeralContainers feature-gate checks
2022-07-26 02:55:30 +02:00
Kubernetes Prow Robot
f88f76f444
Merge pull request #111404 from verb/111025-ec-node-conformance
...
Add Ephemeral Containers to node conformance tests
2022-07-25 15:30:34 -07:00
Wojciech Tyczyński
5b042f0bf4
Remove RunAnAPIServer from integration tests
2022-07-25 17:52:31 +02:00
Stephen Heywood
1c9ae32103
Promote Event e2e test to Conformance
...
In promoting this e2e test to conformance it will
supersede e2e test "Event resource lifecycle", which
has been removed in this PR.
2022-07-25 09:15:36 +12:00
Lee Verberne
4ad08e13b2
Add Ephemeral Containers to node conformance tests
2022-07-24 17:31:16 +02:00
Lars Ekman
e93f1161ea
Replace fallocate with dd in e2e tests
2022-07-23 17:22:49 +02:00
Kubernetes Prow Robot
c58b2f4a54
Merge pull request #111269 from HecarimV/fix-22072011
...
use exist const to replace TCP str
2022-07-22 09:43:49 -07:00
Kubernetes Prow Robot
9495b2fb9f
Merge pull request #111325 from wojtek-t/fix_leaking_goroutines_13
...
Clean shutdown of serviceaccount integration tests
2022-07-22 08:31:49 -07:00
Kubernetes Prow Robot
9ec582da8b
Merge pull request #111347 from aojea/aggregator_serial
...
Conformance test "manage the lifecycle of an APIService" is Disruptive and should run in Serial
2022-07-22 07:17:37 -07:00
Antonio Ojea
6f681c8357
Tag test should manage the lifecycle of an APIService as Serial
...
The test breaks the controllers that depend on api services to be resolvable,
per example, the namespace controller, that is heavily used by the e2e framework to clean the environment
2022-07-22 12:08:26 +02:00
Antonio Ojea
38df6fcd3d
Revert "Promote APIService e2e test to Conformance"
...
This reverts commit c4935571a5
.
2022-07-22 12:07:53 +02:00
Kubernetes Prow Robot
cab41bd04d
Merge pull request #111324 from wojtek-t/cleanup_testing_namespace
...
Cleanup no longer used Create/Delete TestingNamespace
2022-07-22 00:05:49 -07:00
Wojciech Tyczyński
5af0866616
Clean shutdown of serviceaccount integration tests
2022-07-22 07:47:15 +02:00
Kubernetes Prow Robot
287888b191
Merge pull request #111330 from marosset/use-pause-3.8
...
Switching everything to use pause:3.8
2022-07-21 18:28:48 -07:00
Kubernetes Prow Robot
57e4c38ed6
Merge pull request #111060 from aojea/distroless_proxy
...
use new distroless kube-proxy image
2022-07-21 15:45:26 -07:00
Mark Rossetti
40f3e624a6
Switching everything to use pause:3.8
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-07-21 14:53:15 -07:00
Kubernetes Prow Robot
b431a61e10
Merge pull request #111264 from ii/promote-resourcequota-lifecycle-test
...
Promote List, Patch & DeleteCollection ResourceQuota test - +3 endpoint coverage
2022-07-21 14:25:39 -07:00
Kubernetes Prow Robot
398a67c033
Merge pull request #111263 from ii/promote-apiservice-lifecycle-test
...
Promote APIService lifecycle test + 4 Endpoints
2022-07-21 14:25:27 -07:00
Kubernetes Prow Robot
f93a37e314
Merge pull request #111253 from piotrnosek/hpa-tests-1
...
Add e2e HPA Behavior tests: scale down stabilisation, scale up disabled, scale down disabled
2022-07-21 12:59:42 -07:00
Kubernetes Prow Robot
bce7f34e96
Merge pull request #110967 from iXinqi/lxinqi/port-mutation-test
...
Add service port mutation test
2022-07-21 12:59:16 -07:00
Wojciech Tyczyński
aca03a4090
Cleanup no longer used Create/Delete TestingNamespace
2022-07-21 19:44:14 +02:00
Antonio Ojea
1ee13900a5
use new distroless kube-proxy image
2022-07-21 09:48:52 +02:00
Michal Wozniak
2f61b6105c
Add integration tests for podgc
2022-07-20 15:17:14 +02:00
Kubernetes Prow Robot
8b16a4a4df
Merge pull request #111284 from aojea/slow_storage
...
Revert "Revert the workaround needed to cleanup for Ginkgo V1"
2022-07-20 05:52:33 -07:00
Kubernetes Prow Robot
e348a76e10
Merge pull request #111238 from bobbypage/fix-npd-test
...
test: Only Check NPD logs in standalone mode
2022-07-20 04:02:50 -07:00
Piotr Nosek
1c455c10de
Add e2e HPA Behavior tests: scale down stabilisation, scale up disabled, scale down disabled.
2022-07-20 09:03:31 +00:00
Antonio Ojea
fc6acb2350
Revert "Revert the workaround needed to cleanup for Ginkgo V1"
...
This reverts commit 6a82ba82b1
.
2022-07-20 10:48:35 +02:00
HaoJie Liu
677f0bae39
use exist const to replace TCP str
...
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-20 11:19:18 +08:00
Stephen Heywood
bc783aaeb7
Promote ResourceQuota e2e test to Conformance
2022-07-20 11:29:43 +12:00
Kubernetes Prow Robot
728d8fd96b
Merge pull request #109763 from ii/create-namespace-status-test
...
Write NamespaceStatus endpoints test +3 Endpoints
2022-07-19 16:18:36 -07:00
Stephen Heywood
c4935571a5
Promote APIService e2e test to Conformance
2022-07-20 10:29:11 +12:00
Kubernetes Prow Robot
0cde1b7446
Merge pull request #111242 from wojtek-t/fix_leaking_goroutines_11
...
Fix leaking goroutines in multiple integration tests
2022-07-19 05:34:30 -07:00
Kubernetes Prow Robot
eeb12bb3af
Merge pull request #110178 from kevindelgado/validation-beta-1-25
...
Graduate server side validation to beta
2022-07-19 05:34:06 -07:00
ZhangYu
9cbf198ce3
test/e2e/common/node: fix several typo
2022-07-19 17:51:18 +08:00
Wojciech Tyczyński
ab1038f0e0
Clean shutdown of auth integration tests
2022-07-19 11:34:02 +02:00
Wojciech Tyczyński
f673c262bd
Clean shutdown of client integration tests
2022-07-19 10:03:51 +02:00
Wojciech Tyczyński
e9e494e14a
Clean shutdown of apiserver integration tests
2022-07-19 10:03:51 +02:00
David Porter
d906521acd
test: Only Check NPD logs in standalone mode
...
NPD can run in "standalone" or "daemonset" mode in cluster GCE tests.
For standalone mode, NPD runs as a systemd unit, daemonset mode it runs
as pod.
If NPD is running in standalone mode, as soon as we detect that the npd
service does not exist with `systemctl status`, we should skip the rest
of the checks such as looking at the journalctl logs or pid.
Signed-off-by: David Porter <david@porter.me>
2022-07-19 01:03:13 -07:00
Kubernetes Prow Robot
9cf4f15884
Merge pull request #110633 from wojtek-t/fix_leaking_goroutines_10
...
Fix leaking goroutines in multiple integration tests
2022-07-18 21:56:05 -07:00
Stephen Heywood
1d6cb6acf0
Create e2e test for NamespaceStatus endpoints
...
e2e test validates the following 3 endpoints
- patchCoreV1NamespaceStatus
- readCoreV1NamespaceStatus
- replaceCoreV1NamespaceStatus
2022-07-19 14:03:12 +12:00
Kubernetes Prow Robot
1c1efde70d
Merge pull request #109639 from Abirdcfly/fixduplicateimport
...
cleanup: remove all duplicate import
2022-07-18 16:55:23 -07:00
Mark Rossetti
588ff515bc
Windows: ensure runAsNonRoot does case-insensitive comparison on user name
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-07-18 15:23:13 -07:00
Kevin Delgado
d815449ae5
Adjust testing for server-side validation as default
2022-07-18 16:16:00 +00:00
Kevin Delgado
d983fd8078
Add server-side metadata unknown field validation
2022-07-18 14:55:12 +00:00
Kubernetes Prow Robot
d79cf03615
Merge pull request #110569 from wojtek-t/fix_leaking_goroutines_8
...
Clean shutdown of controlplane integration tests
2022-07-18 02:49:15 -07:00
Kubernetes Prow Robot
e8410006ac
Merge pull request #107042 from kkkkun/update_metrics_bucket
...
Update etcdRequestLatency metrics bucket size
2022-07-16 00:28:52 -07:00
Kubernetes Prow Robot
9d59f95a11
Merge pull request #111138 from kidddddddddddddddddddddd/two_default_ingressClasses
...
Fix failing e2e test: Handle two default IngressClasses more cleanly
2022-07-15 16:49:09 -07:00
Chih-Chieh Yang
4fc7fd25bf
Fix the apf metrics names
2022-07-15 18:27:29 +00:00
Chih-Chieh Yang
b0c211a1e5
Fix PL seat util metric retrieval
2022-07-15 17:11:16 +00:00
Chih-Chieh Yang
f298d506e8
APF concurrency isolation integration test ( #1 )
...
* Add APF concurrency utilization test
2022-07-15 17:11:16 +00:00
kidddddddddddddddddddddd
a76c0f9898
select the lower name ingressClass in e2e
2022-07-15 18:17:57 +08:00
Kubernetes Prow Robot
b3057e7ccc
Merge pull request #106834 from mengjiao-liu/sysctl-allow-slashes
...
Add support for slash as sysctl separator to Pod securityContext field and to PodSecurityPolicy
2022-07-15 01:04:24 -07:00
Alexander Zielenski
40343793f7
benchmark and metrics for new timestamp transformer comparison
...
add proper metrics
rename & improve documentation for path metric dimension
2022-07-14 11:56:36 -07:00
Alexander Zielenski
7233538008
revert timestamp updates to object if non-managed fields do not change
...
add short-circuiting logic for long comaprison
replace timestamps rather than doing a full managed fields deepcopy
add guard
2022-07-14 11:55:26 -07:00
Kubernetes Prow Robot
e5f4f8d71b
Merge pull request #110896 from ravisantoshgudimetla/promote-minReadySec-sts-update-ga
...
Promote minReadySeconds to GA
2022-07-14 09:45:09 -07:00
Kubernetes Prow Robot
a655368390
Merge pull request #104907 from adrianreber/2021-09-10-checkpoint
...
Minimal checkpointing support
2022-07-14 09:44:56 -07:00
Wojciech Tyczyński
8e267eba51
Clean shutdown of controlplane integration tests
2022-07-14 14:38:22 +02:00
Adrian Reber
92ea6e32b8
Add e2e tests for checkpointing
...
Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:41 +00:00
Wojciech Tyczyński
690d2f0101
Clean(er) shutdown of auth integration tests
2022-07-14 11:25:57 +02:00
Wojciech Tyczyński
13e4f2b554
Clean shutdown of volume integration tests
2022-07-14 11:25:57 +02:00
Abirdcfly
00b9ead02c
cleanup: remove duplicate import
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-07-14 11:25:19 +08:00
Kubernetes Prow Robot
f3654386ab
Merge pull request #111097 from saltbo/fix-thethe-typo
...
fix: update the typo code comment
2022-07-13 18:03:07 -07:00
Kubernetes Prow Robot
c813886dc4
Merge pull request #110930 from falser101/fix/codeCleanUp
...
fix:remove Redundant type conversion
2022-07-13 09:27:38 -07:00
Ravi Gudimetla
9144250a92
Promote minReadySeconds to GA
2022-07-13 11:37:10 -04:00
Kubernetes Prow Robot
5d7fdf1f12
Merge pull request #111065 from chendave/cleanup_measure
...
Stop using the deprecated `Measure` method
2022-07-12 19:57:50 -07:00
saltbo
d2bab218dd
fix: update the typo code comment
2022-07-13 10:16:51 +08:00
falser101
f07d8d396f
fix:remove Redundant type conversion
...
Signed-off-by: jianfei.zhang <jianfei.zhang@daocloud.io>
2022-07-13 10:03:38 +08:00
Kubernetes Prow Robot
cb0f09275e
Merge pull request #111036 from Huang-Wei/rm-MakeDefaultErrorFunc
...
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 18:37:59 -07:00
Kubernetes Prow Robot
f58d83777f
Merge pull request #111063 from chendave/revert_workaround
...
Revert the workaround needed to cleanup for Ginkgo V1
2022-07-12 16:21:36 -07:00
Wei Huang
4f77732540
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 12:11:16 -07:00
Kubernetes Prow Robot
71481bf247
Merge pull request #111075 from ii/fix-controllerrevision-test
...
Fix ControllerRevision e2e test flake
2022-07-12 11:35:56 -07:00
Kubernetes Prow Robot
a455c296fd
Merge pull request #111015 from xmcqueen/master
...
Capture the Container Logs for a Flaky Test
2022-07-11 16:58:50 -07:00
Xinqi Li
d6f729995a
add service port mutation test
2022-07-11 11:44:49 -07:00
Brian McQueen
37d246bac1
capture the container logs on pod error to assist in debugging test failures #109295
2022-07-11 09:46:46 -07:00
Dave Chen
d61adab518
Stop using the deprecated Measure
method
...
As what suggested by Ginkgo migration guide, `Measure` node was
deprecated and replaced with `It` node which creates `gmeasure.Experiment`.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-11 17:40:33 +08:00
Dave Chen
6a82ba82b1
Revert the workaround needed to cleanup for Ginkgo V1
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-11 14:49:40 +08:00
Stephen Heywood
6c320b2991
Fix ControllerRevision e2e test
2022-07-11 13:38:24 +12:00
alingse
3bf9a559b6
fix pass []any as any in variadic function
2022-07-09 18:53:54 +08:00
wongearl
c2cb482181
omit comparison to bool constant
2022-07-09 17:15:27 +08:00
Kubernetes Prow Robot
9d577d8a29
Merge pull request #110576 from DangerOnTheRanger/cel-e2e-part2
...
Add second set of additional CRD validation E2E tests
2022-07-08 21:41:58 -07:00
Kubernetes Prow Robot
1d954908ba
Merge pull request #109394 from pohly/storage-capacity-storage-version
...
Kubernetes 1.25: CSIStorageCapacity: use v1 as storage version
2022-07-08 19:35:51 -07:00
Kubernetes Prow Robot
2a70749717
Merge pull request #111034 from bertinatto/bump-azure-disk-timeouts
...
e2e: bump Azure Disk in-tree timeouts
2022-07-08 16:05:57 -07:00
Kubernetes Prow Robot
6e8331932b
Merge pull request #111005 from DangerOnTheRanger/cel-cost-limit-integration-test
...
Add x-kubernetes-validations cost limit integration test
2022-07-08 16:05:46 -07:00
Kubernetes Prow Robot
9dc13f4f57
Merge pull request #111011 from ii/promote-patch-pod-status-test
...
Promote patchCoreV1NamespacedPodStatus test - +1 endpoint
2022-07-08 09:07:52 -07:00
Fabio Bertinatto
eefa0fd2ed
e2e: bump Azure Disk in-tree timeouts
...
Some operations with Azure Disk volumes can be arbitrarily slow
sometimes. This causes CI flakes that are hard to debug.
Bumping the timeouts has sown to improve or eliminate this issue.
2022-07-08 11:46:26 -03:00
Patrick Ohly
2e8fa3ee6b
CSIStorageCapacity: use v1 as storage version
...
This can be done because downgrades are only supported down to 1.24 and that
release supports v1.
2022-07-08 10:06:06 +02:00
Dave Chen
05c513d5bf
ginkgo.By
can only be used inside a runnable node
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
3833695e75
Redirect klog
out to GinkgoWriter
...
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
82ac6be0e9
Custom reporter of Junit report is no longer needed
...
Ginkgo is now writing the JUnit file itself. The -report-dir parameter is used
as fallback for enabling JUnit output in case that users haven't migrated to
the new -junit-report parameter.
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
5ac8105b86
Set Ginkgo config by the method of GinkgoConfiguration()
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
46a3954ba5
Migrate ProgressReporter
to Ginkgo
V2
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
fd4b5b629b
Stop using the deprecated method CurrentGinkgoTestDescription
...
Besides, the using of method might lead to a `concurrent map writes`
issue per the discussion here: https://github.com/onsi/ginkgo/issues/970
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
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
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
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
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
Stephen Heywood
c288ebe53c
Promote PodStatus e2e test to Conformance
2022-07-08 11:51:58 +12:00
Kermit Alexander
3eed801adc
Add k8s CEL library and runtime cost tests.
2022-07-07 17:02:05 +00:00
Kermit Alexander
40da208b3d
Add runtime cost limit test.
2022-07-07 10:08:55 +00: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
Tim Hockin
55232e2ef7
Rename IPFamilyPolicyType => IPFamilyPolicy
2022-07-06 15:42:26 -07: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
89aaf7c02d
Merge pull request #110862 from Abirdcfly/deleteutil
...
cleanup: delete same utils.go in pkg/apis/storage
2022-07-01 18:23:22 -07:00
Pablo Acevedo Montserrat
34f5938abe
Add readinessProbe to aggregated api service test
2022-07-01 16:22:41 +02:00