Skip to content

Fix SWCK oapserverconfig e2e version mismatch#177

Merged
wu-sheng merged 3 commits intomasterfrom
fix-swck-oapserverconfig-version
Feb 27, 2026
Merged

Fix SWCK oapserverconfig e2e version mismatch#177
wu-sheng merged 3 commits intomasterfrom
fix-swck-oapserverconfig-version

Conversation

@wu-sheng
Copy link
Member

Summary

  • The SWCK operator matches OAPServerConfig to OAPServer by spec.version. The OAPServer uses version latest but the upstream oapserverconfig-demo.yaml has version: 9.5.0, so the operator never applies the config and the OAP pod is never restarted, causing the test to timeout.
  • Add sed 's/version: 9.5.0/version: latest/' to align the OAPServerConfig version with the OAPServer.

Test plan

  • CI Run SWCK oap-ui-agent-oapserverconfig Test passes

…eout

The SWCK operator matches OAPServerConfig to OAPServer by spec.version.
The OAPServer uses version "latest" but the oapserverconfig-demo.yaml
has version "9.5.0", so the operator never applies the config and the
OAP pod is never restarted, causing the test to timeout.
The latest OAP requires a top-level 'layer: GENERAL' in LAL rules.
Without it, the rule is ignored and log_count metrics are never produced,
causing the log_count_info verification to fail with all-zero values.
Switch from SWCK v0.9.0 to commit e98e180 which includes the
layer: GENERAL fix in the LAL rule, removing the local sed workaround.
@wu-sheng wu-sheng added the bug Something isn't working label Feb 27, 2026
@wu-sheng wu-sheng added this to the 4.9.0 milestone Feb 27, 2026
@wu-sheng wu-sheng requested a review from kezhenxu94 February 27, 2026 02:46
@wu-sheng wu-sheng merged commit b12863c into master Feb 27, 2026
9 checks passed
@wu-sheng wu-sheng deleted the fix-swck-oapserverconfig-version branch February 27, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants