Skip to content

fix(Navigation): jumping on selection #2919

fix(Navigation): jumping on selection

fix(Navigation): jumping on selection #2919

GitHub Actions / KubeUI Tests failed Jan 19, 2025 in 1s

77 passed, 1 failed and 0 skipped

Tests failed

❌ tests/KubeUI.Tests/TestResults/test-results.trx

78 tests were completed in 341s with 77 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
KubeUI.Client.Tests.ClusterEndToEndTests 14✅ 1❌ 321s
KubeUI.Tests.UnitTest1 1✅ 16ms
KubeUI.Tests.VisualizationTests 62✅ 698ms

❌ KubeUI.Client.Tests.ClusterEndToEndTests

✅ CreateNamespacedObject
✅ CreateObject
✅ DeleteNamespacedObject
✅ DeleteObject
✅ HandleCRD
✅ ImportYaml
✅ LimitedAccess
✅ LimitedAccessCanI
✅ LimitedAccessNoNamespace
❌ ReadNamespacedObject
	System.AggregateException : One or more errors occurred. (Value cannot be null. (Parameter 'control')) (Object reference not set to an instance of an object.)
	---- System.ArgumentNullException : Value cannot be null. (Parameter 'control')
	---- System.NullReferenceException : Object reference not set to an instance of an object.
✅ ReadObject
✅ ReadObjects
✅ RootAccessCanI
✅ UpdateNamespacedObject
✅ UpdateObject

✅ KubeUI.Tests.UnitTest1

✅ Test1

✅ KubeUI.Tests.VisualizationTests

✅ LinkConfigMapInDaemonSetEnv
✅ LinkConfigMapInDaemonSetEnvFrom
✅ LinkConfigMapInDaemonSetInitEnv
✅ LinkConfigMapInDaemonSetInitEnvFrom
✅ LinkConfigMapInDaemonSetVolume
✅ LinkConfigMapInDeploymentEnv
✅ LinkConfigMapInDeploymentEnvFrom
✅ LinkConfigMapInDeploymentInitEnv
✅ LinkConfigMapInDeploymentInitEnvFrom
✅ LinkConfigMapInDeploymentVolume
✅ LinkConfigMapInPodEnv
✅ LinkConfigMapInPodEnvFrom
✅ LinkConfigMapInPodInitEnv
✅ LinkConfigMapInPodInitEnvFrom
✅ LinkConfigMapInPodVolume
✅ LinkConfigMapInReplicaSetEnv
✅ LinkConfigMapInReplicaSetEnvFrom
✅ LinkConfigMapInReplicaSetInitEnv
✅ LinkConfigMapInReplicaSetInitEnvFrom
✅ LinkConfigMapInReplicaSetVolume
✅ LinkConfigMapInStatefulSetEnv
✅ LinkConfigMapInStatefulSetEnvFrom
✅ LinkConfigMapInStatefulSetInitEnv
✅ LinkConfigMapInStatefulSetInitEnvFrom
✅ LinkConfigMapInStatefulSetVolume
✅ LinkEndpoints
✅ LinkEndpointSlice
✅ LinkEvent
✅ LinkIngress
✅ LinkIngressDefaultBackend
✅ LinkOwners
✅ LinkSecretInDaemonSetEnv
✅ LinkSecretInDaemonSetEnvFrom
✅ LinkSecretInDaemonSetInitEnv
✅ LinkSecretInDaemonSetInitEnvFrom
✅ LinkSecretInDaemonSetVolume
✅ LinkSecretInDeploymentEnv
✅ LinkSecretInDeploymentEnvFrom
✅ LinkSecretInDeploymentInitEnv
✅ LinkSecretInDeploymentInitEnvFrom
✅ LinkSecretInDeploymentVolume
✅ LinkSecretInPodEnv
✅ LinkSecretInPodEnvFrom
✅ LinkSecretInPodInitEnv
✅ LinkSecretInPodInitEnvFrom
✅ LinkSecretInPodVolume
✅ LinkSecretInReplicaSetEnv
✅ LinkSecretInReplicaSetEnvFrom
✅ LinkSecretInReplicaSetInitEnv
✅ LinkSecretInReplicaSetInitEnvFrom
✅ LinkSecretInReplicaSetVolume
✅ LinkSecretInServiceAccount
✅ LinkSecretInStatefulSetEnv
✅ LinkSecretInStatefulSetEnvFrom
✅ LinkSecretInStatefulSetInitEnv
✅ LinkSecretInStatefulSetInitEnvFrom
✅ LinkSecretInStatefulSetVolume
✅ LinkServiceAccountInDaemonSet
✅ LinkServiceAccountInDeployment
✅ LinkServiceAccountInPod
✅ LinkServiceAccountInReplicaSet
✅ LinkServiceAccountInStatefulSet

Annotations

Check failure on line 21 in src/KubeUI/Utilities.cs

See this annotation in the file changed.

@github-actions github-actions / KubeUI Tests

KubeUI.Client.Tests.ClusterEndToEndTests ► ReadNamespacedObject

Failed test found in:
  tests/KubeUI.Tests/TestResults/test-results.trx
Error:
  System.AggregateException : One or more errors occurred. (Value cannot be null. (Parameter 'control')) (Object reference not set to an instance of an object.)
  ---- System.ArgumentNullException : Value cannot be null. (Parameter 'control')
  ---- System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.AggregateException : One or more errors occurred. (Value cannot be null. (Parameter 'control')) (Object reference not set to an instance of an object.)
---- System.ArgumentNullException : Value cannot be null. (Parameter 'control')
---- System.NullReferenceException : Object reference not set to an instance of an object.

----- Inner Stack Trace #1 (System.ArgumentNullException) -----
   at Avalonia.Controls.ResourceNodeExtensions.TryFindResource(IResourceHost control, Object key, Object& value)
   at KubeUI.Utilities.GetRequiredService[T](Application app) in /home/runner/work/KubeUI/KubeUI/src/KubeUI/Utilities.cs:line 21
   at KubeUI.Core.Tests.TestHarness.Initialize() in /home/runner/work/KubeUI/KubeUI/tests/KubeUI.Tests/TestHarness.cs:line 31
   at KubeUI.Client.Tests.ClusterEndToEndTests.ReadNamespacedObject() in /home/runner/work/KubeUI/KubeUI/tests/KubeUI.Tests/ClusterEndToEndTests.cs:line 116
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (System.NullReferenceException) -----
   at k8s.KubernetesClientConfiguration.LoadKubeConfigAsync(FileInfo kubeconfig, Boolean useRelativePaths)
   at k8s.KubernetesClientConfiguration.LoadKubeConfigAsync(String kubeconfigPath, Boolean useRelativePaths)
   at k8s.KubernetesClientConfiguration.LoadKubeConfig(String kubeconfigPath, Boolean useRelativePaths)
   at KubeUI.Client.ClusterManager.LoadFromConfigFromPath(String path) in /home/runner/work/KubeUI/KubeUI/src/KubeUI/Client/ClusterManager.cs:line 164
   at KubeUI.Client.ClusterManager.<>c__DisplayClass12_0.<Watcher_Changed>b__0() in /home/runner/work/KubeUI/KubeUI/src/KubeUI/Client/ClusterManager.cs:line 105
   at Avalonia.Threading.DispatcherOperation.InvokeCore()
   at Avalonia.Threading.DispatcherOperation.Execute()
   at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
   at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
   at Avalonia.Threading.Dispatcher.Signaled()
   at Avalonia.Controls.Platform.ManagedDispatcherImpl.RunLoop(CancellationToken token)
   at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
   at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at Avalonia.Headless.HeadlessUnitTestSession.<>c__DisplayClass10_0`1.<DispatchCore>b__0()
--- End of stack trace from previous location ---