Skip to content

Conversation

tpereirasplunk
Copy link
Contributor

@tpereirasplunk tpereirasplunk commented Jul 9, 2021

Fixed error in local install.

Added an Eventually check into app Folder check.

Issue seen:

  1. Even after all pods are checked to be in ready state sometimes app install via bundle push lags behind by a few seconds.

Possible solutions:

  • Check that bundle push is competed on all pods and then check app install state
  • Loop for certain time to account for bundle push, to check that app is not installed(Implemented)
  1. Wrong variable was passed to local app install check. Fixed

Passing runs:

• [SLOW TEST:2048.302 seconds]
m4appfw test
/Users/tpereira/Git/splunk-operator/test/m4/appframework/appframework_test.go:28
  Multi Site Indexer Cluster with SHC (m4) with App Framework
  /Users/tpereira/Git/splunk-operator/test/m4/appframework/appframework_test.go:62
    integration, m4, appframework: can deploy a M4 SVA with App Framework enabled
    /Users/tpereira/Git/splunk-operator/test/m4/appframework/appframework_test.go:63
------------------------------
• [SLOW TEST:1459.426 seconds]
m4appfw test
/Users/tpereira/Git/splunk-operator/test/m4/appframework/appframework_test.go:28
  Clustered deployment (M4 - clustered indexer, search head cluster)
  /Users/tpereira/Git/splunk-operator/test/m4/appframework/appframework_test.go:160
    m4, appframework: can deploy a M4 SVA and have apps installed locally on CM and SHC Deployer
    /Users/tpereira/Git/splunk-operator/test/m4/appframework/appframework_test.go:161
------------------------------
{"level":"info","ts":1625790659.05328,"msg":"testenv deleted.\n","testenv":"m4appfw-kik"}
{"level":"info","ts":1625790659.0533319,"msg":"testenv deleted.\n","testenv":"m4appfw-kik"}

JUnit report was created: /Users/tpereira/Git/splunk-operator/test/m4/appframework/m4appfw-kik_junit.xml

Ran 2 of 2 Specs in 2073.265 seconds
SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS





• [SLOW TEST:1948.675 seconds]
c3appfw test
/Users/tpereira/Git/splunk-operator/test/c3/appframework/appframework_test.go:28
  Single Site Indexer Cluster with SHC (C3) with App Framework
  /Users/tpereira/Git/splunk-operator/test/c3/appframework/appframework_test.go:62
    integration, c3, appframework: can deploy a C3 SVA with App Framework enabled
    /Users/tpereira/Git/splunk-operator/test/c3/appframework/appframework_test.go:63
------------------------------
• [SLOW TEST:859.426 seconds]
c3appfw test
/Users/tpereira/Git/splunk-operator/test/c3/appframework/appframework_test.go:28
  Clustered deployment (C3 - clustered indexer, search head cluster)
  /Users/tpereira/Git/splunk-operator/test/c3/appframework/appframework_test.go:159
    c3, appframework: can deploy a C3 SVA and have apps installed locally on CM and SHC Deployer
    /Users/tpereira/Git/splunk-operator/test/c3/appframework/appframework_test.go:160
------------------------------
{"level":"info","ts":1625793077.599648,"msg":"testenv deleted.\n","testenv":"c3appfw-yol"}
{"level":"info","ts":1625793077.599684,"msg":"testenv deleted.\n","testenv":"c3appfw-yol"}

JUnit report was created: /Users/tpereira/Git/splunk-operator/test/c3/appframework/c3appfw-yol_junit.xml

Ran 2 of 2 Specs in 1973.171 seconds
SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS



• [SLOW TEST:530.620 seconds]
s1appfw test
/Users/tpereira/Git/splunk-operator/test/s1/appframework/appframework_test.go:30
  appframework Standalone deployment (S1) with App Framework
  /Users/tpereira/Git/splunk-operator/test/s1/appframework/appframework_test.go:64
    s1, appframework: can deploy a standalone instance with App Framework enabled
    /Users/tpereira/Git/splunk-operator/test/s1/appframework/appframework_test.go:65
------------------------------
{"level":"info","ts":1625798548.061236,"msg":"testenv deleted.\n","testenv":"s1appfw-rh8"}

JUnit report was created: /Users/tpereira/Git/splunk-operator/test/s1/appframework/s1appfw-rh8_junit.xml

Ran 1 of 1 Specs in 547.554 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS


• [SLOW TEST:280.294 seconds]
Licensemaster test
/Users/tpereira/Git/splunk-operator/test/licensemaster/lm_c3_test.go:29
  Clustered deployment (C3 - clustered indexer, search head cluster)
  /Users/tpereira/Git/splunk-operator/test/licensemaster/lm_c3_test.go:96
    licensemaster: Splunk Operator can configure a C3 SVA and have apps installed locally on LM
    /Users/tpereira/Git/splunk-operator/test/licensemaster/lm_c3_test.go:97
------------------------------
{"level":"info","ts":1625858321.043654,"msg":"testenv deleted.\n","testenv":"lm-arv"}

JUnit report was created: /Users/tpereira/Git/splunk-operator/test/licensemaster/lm-arv_junit.xml

Ran 4 of 4 Specs in 3207.595 seconds
SUCCESS! -- 4 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS

@pdhanoya-splunk
Copy link
Contributor

Can you please explain the exact issue and associated fix ?

@smohan-splunk smohan-splunk merged commit 43bb25a into feature-appframework Jul 9, 2021
@tpereirasplunk tpereirasplunk deleted the pipeline-fix branch October 29, 2021 22:44
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.

4 participants