Skip to content

fix(test): update MinIO mock for AgentTeams alias#1030

Open
RerankerGuo wants to merge 1 commit into
agentscope-ai:mainfrom
RerankerGuo:fix/test-minio-agentteams-alias
Open

fix(test): update MinIO mock for AgentTeams alias#1030
RerankerGuo wants to merge 1 commit into
agentscope-ai:mainfrom
RerankerGuo:fix/test-minio-agentteams-alias

Conversation

@RerankerGuo

Copy link
Copy Markdown
Contributor

Summary

  • update the MinIO unit-test mock to recognize the agentteams/ alias
  • align the mock implementation with the renamed paths already used by the test cases

Root cause

The AgentTeams hard rename updated the fake MinIO paths and assertions, but the mock resolver still classified only hiclaw/* as remote paths. As a result, mc cp treated every agentteams/* object path as a local filesystem path and all MinIO merge scenarios failed before exercising the intended behavior.

Impact

This restores the unit test without changing production behavior. The test now exercises create, update, preservation, repair, idempotency, and multi-worker cases against the current storage alias.

Validation

  • bash manager/tests/test-update-builtin-section-minio.sh (20 passed)
  • bash manager/tests/test-update-builtin-section.sh (40 passed)
  • bash -n manager/tests/test-update-builtin-section-minio.sh manager/scripts/lib/builtin-merge.sh
  • git diff --check

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (controller-cr / mgr=copaw / wk=hermes)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (controller-cr / mgr=copaw / wk=copaw)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (controller-cr-2 / mgr=copaw / wk=copaw)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction / mgr=openclaw / wk=openclaw)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction-2 / mgr=copaw / wk=copaw)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction / mgr=copaw / wk=hermes)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction-2 / mgr=copaw / wk=hermes)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction-2 / mgr=openclaw / wk=openclaw)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (controller-cr / mgr=openclaw / wk=openclaw)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction / mgr=copaw / wk=copaw)

Commit: 0de2bb7
Workflow run: #1658

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@RerankerGuo

Copy link
Copy Markdown
Contributor Author

CI attribution: all translation/base/image build checks passed. I inspected the raw logs for all 10 failed integration jobs in run #1658; every matrix entry exits in install-embedded before running its shard with the same base-workflow error:

[AgentTeams ERROR] LLM API Key is required (set via environment variable in non-interactive mode)

The branch-specific MinIO suites pass locally (20/20 MinIO cases and 40/40 companion local builtin cases). This CI failure is therefore the repository secret/env contract issue addressed by #1026, not a test failure introduced by this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant