Skip to content

test run: No application S3 prefixes found to gather S3 data #397

@nirs

Description

@nirs

During test run, subscr-deploy-rbd failed to deploy. This was probably caused by installing it manually before the test and not cleaning up properly (I was intrrupted by ballistic missile attack). The issue is we failed hard at the end when trying to gather S3 data:

2026-03-16T22:17:40.778+0200    WARN    test/command.go:432     Failed to get S3 prefix for application "test-subscr-deploy-rbd/subscr-deploy-rbd": failed to read drpc "test-subscr-deploy-rbd/subscr-deploy-rbd": open out/test-multi/test-run.data/hub/namespaces/test-subscr-deploy-rbd/ramendr.openshift.io/drplacementcontrols/subscr-deploy-rbd.yaml: no such file or directory
2026-03-16T22:17:40.778+0200    ERROR   test/command.go:257     No application S3 prefixes found to gather S3 data
github.com/ramendr/ramenctl/pkg/test.(*Command).gatherS3Data
        /Users/nir/src/ramenctl/pkg/test/command.go:257
github.com/ramendr/ramenctl/pkg/test.(*Command).runFlowFunc
        /Users/nir/src/ramenctl/pkg/test/command.go:376
github.com/ramendr/ramenctl/pkg/test.(*Command).runTests
        /Users/nir/src/ramenctl/pkg/test/command.go:198
github.com/ramendr/ramenctl/pkg/test.(*Command).Run
        /Users/nir/src/ramenctl/pkg/test/command.go:103
github.com/ramendr/ramenctl/pkg/test.Run
        /Users/nir/src/ramenctl/pkg/test/run.go:24
github.com/ramendr/ramenctl/cmd/commands.init.func4
        /Users/nir/src/ramenctl/cmd/commands/test.go:22
github.com/spf13/cobra.(*Command).execute
        /Users/nir/go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1019
github.com/spf13/cobra.(*Command).ExecuteC
        /Users/nir/go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1148
github.com/spf13/cobra.(*Command).Execute
        /Users/nir/go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1071
main.main
        /Users/nir/src/ramenctl/cmd/ramenctl.go:22
runtime.main
        /opt/homebrew/Cellar/go/1.26.0/libexec/src/runtime/proc.go:290

Command run

% ramenctl test run -o out/test-multi
⭐ Using config "config.yaml"
⭐ Using report "out/test-multi"

🔎 Validate config ...
   ✅ Config validated

🔎 Setup environment ...
   ✅ Environment setup

🔎 Run tests ...
   ✅ Application "appset-deploy-rbd" deployed
   ✅ Application "appset-deploy-cephfs" deployed
   ✅ Application "subscr-deploy-cephfs" deployed
   ✅ Application "disapp-recipe-check-exec-deploy-rbd" deployed
   ✅ Application "disapp-deploy-cephfs" deployed
   ✅ Application "disapp-deploy-rbd" deployed
   ✅ Application "disapp-deploy-cephfs" protected
   ✅ Application "appset-deploy-rbd" protected
   ✅ Application "appset-deploy-cephfs" protected
   ✅ Application "subscr-deploy-cephfs" protected
   ✅ Application "disapp-recipe-check-exec-deploy-rbd" protected
   ✅ Application "disapp-deploy-rbd" protected
   ✅ Application "disapp-deploy-rbd" failed over
   ✅ Application "disapp-recipe-check-exec-deploy-rbd" failed over
   ❌ Failed to deploy application "subscr-deploy-rbd"
   ✅ Application "disapp-deploy-cephfs" failed over
   ✅ Application "subscr-deploy-cephfs" failed over
   ✅ Application "disapp-deploy-rbd" relocated
   ✅ Application "disapp-recipe-check-exec-deploy-rbd" relocated
   ✅ Application "appset-deploy-rbd" failed over
   ✅ Application "disapp-deploy-rbd" unprotected
   ✅ Application "disapp-deploy-rbd" undeployed
   ✅ Application "disapp-recipe-check-exec-deploy-rbd" unprotected
   ✅ Application "disapp-recipe-check-exec-deploy-rbd" undeployed
   ✅ Application "appset-deploy-cephfs" failed over
   ✅ Application "disapp-deploy-cephfs" relocated
   ✅ Application "disapp-deploy-cephfs" unprotected
   ✅ Application "disapp-deploy-cephfs" undeployed
   ✅ Application "appset-deploy-rbd" relocated
   ✅ Application "subscr-deploy-cephfs" relocated
   ✅ Application "subscr-deploy-cephfs" unprotected
   ✅ Application "subscr-deploy-cephfs" undeployed
   ✅ Application "appset-deploy-rbd" unprotected
   ✅ Application "appset-deploy-rbd" undeployed
   ✅ Application "appset-deploy-cephfs" relocated
   ✅ Application "appset-deploy-cephfs" unprotected
   ✅ Application "appset-deploy-cephfs" undeployed

🔎 Gather data ...
   ✅ Gathered data from cluster "hub"
   ✅ Gathered data from cluster "dr1"
   ✅ Gathered data from cluster "dr2"

🔎 Gather S3 data ...
   ❌ No application S3 prefixes found to gather S3 data

❌ failed (6 passed, 1 failed, 0 skipped, 0 canceled)


% ramenctl test clean -o out/test-multi
⭐ Using config "config.yaml"
⭐ Using report "out/test-multi"

🔎 Validate config ...
   ✅ Config validated

🔎 Clean tests ...
   ✅ Application "subscr-deploy-cephfs" cleaned up
   ✅ Application "appset-deploy-cephfs" cleaned up
   ✅ Application "appset-deploy-rbd" cleaned up
   ✅ Application "subscr-deploy-rbd" cleaned up
   ✅ Application "disapp-recipe-check-exec-deploy-rbd" cleaned up
   ✅ Application "disapp-deploy-rbd" cleaned up
   ✅ Application "disapp-deploy-cephfs" cleaned up

🔎 Clean environment ...
   ✅ Environment cleaned

✅ passed (7 passed, 0 failed, 0 skipped, 0 canceled)

Output

test-multi.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions