Skip to content

Commit

Permalink
Update testing docs
Browse files Browse the repository at this point in the history
Signed-off-by: khushboo-rancher <[email protected]>
  • Loading branch information
khushboo-rancher committed Oct 23, 2023
1 parent 72c889b commit f28db91
Show file tree
Hide file tree
Showing 184 changed files with 1,373 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,17 @@ Test Steps Given Set up the Longhorn environment as mentioned here When Run Long
Test steps: Create a cluster and set up this monitoring system: https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack Install Longhorn. Deploy some workloads using Longhorn volumes. Make sure there are some workloads using Longhorn PVCs in volumeMode: Block and some workloads using Longhorn PVCs in volumeMode: Filesystem. See https://longhorn.io/docs/1.0.2/references/examples/ for examples. Create ingress to Prometheus server and Grafana. Navigate to Prometheus server, verify that all Longhorn PVCs in volumeMode: Filesystem show up in metrics: kubelet_volume_stats_capacity_bytes kubelet_volume_stats_available_bytes kubelet_volume_stats_used_bytes kubelet_volume_stats_inodes kubelet_volume_stats_inodes_free kubelet_volume_stats_inodes_used.</description>
</item>

<item>
<title>Test `Rebuild` in volume.meta blocks engine start</title>
<link>https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

<guid>https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/</guid>
<description>Related issue https://github.com/longhorn/longhorn/issues/6626
Test with patched image Given a patched longhorn-engine image with the following code change.
diff --git a/pkg/sync/sync.go b/pkg/sync/sync.go index b48ddd46..c4523f11 100644 --- a/pkg/sync/sync.go +++ b/pkg/sync/sync.go @@ -534,9 +534,9 @@ func (t *Task) reloadAndVerify(address, instanceName string, repClient *replicaC return err } - if err := repClient.SetRebuilding(false); err != nil { - return err - } + // if err := repClient.SetRebuilding(false); err != nil { + // return err + // } return nil } And a patched longhorn-instance-manager image with the longhorn-engine vendor updated.</description>
</item>

<item>
<title>Test access style for S3 compatible backupstore</title>
<link>https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.0.1/test-s3-access-style/</link>
Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/backup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/deployment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/kubernetes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/monitoring/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/node/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/scheduling/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/upgrade/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/functional-test-cases/volume/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
6 changes: 6 additions & 0 deletions manual/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down Expand Up @@ -1466,6 +1469,9 @@ <h1 id="test-cases">Test cases</h1>

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/backup-and-restore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/basic-operations/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/cluster-restore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/environment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/ha/disk-migration-in-aws-asg/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/ha/ha-volume-migration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/ha/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/ha/replica-rebuilding/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
3 changes: 3 additions & 0 deletions manual/pre-release/managed-kubernetes-clusters/aks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,9 @@

<ul>

<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/">Test Rebuild in volume.meta blocks engine start</a></li>


<li><a href="https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-pvc-name-included-in-volume-metrics/">Test PVC Name included in the volume metrics</a></li>


Expand Down
Loading

0 comments on commit f28db91

Please sign in to comment.