Skip to content

Commit 8adbb6e

Browse files
kibanamachinejbudz
andauthored
[9.1] [build] Fix snapshot Cloud deployment test (#241690) (#241718)
# Backport This will backport the following commits from `main` to `9.1`: - [[build] Fix snapshot Cloud deployment test (#241690)](#241690) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jon","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-11-03T22:45:14Z","message":"[build] Fix snapshot Cloud deployment test (#241690)\n\nhttps://github.com//pull/238634 introduced a test\noptimization that modifies the refresh interval. We don't have the\npermissions setup for this on our Cloud smoke test.\n\nThis removes the FTR test entirely. This method of running tests is\noutdated, and isn't matching on any tags currently.\n\nFixes\nhttps://buildkite.com/elastic/kibana-artifacts-snapshot/builds/7364#019a2abe-e18b-484f-b723-e90510f6fdf1\nVerified at\nhttps://buildkite.com/elastic/kibana-artifacts-snapshot/builds/7398","sha":"e2027bbab7ee96c397bfff530849337c0e565125","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","skip-ci","backport:all-open","v9.3.0"],"title":"[build] Fix snapshot Cloud deployment test","number":241690,"url":"https://github.com/elastic/kibana/pull/241690","mergeCommit":{"message":"[build] Fix snapshot Cloud deployment test (#241690)\n\nhttps://github.com//pull/238634 introduced a test\noptimization that modifies the refresh interval. We don't have the\npermissions setup for this on our Cloud smoke test.\n\nThis removes the FTR test entirely. This method of running tests is\noutdated, and isn't matching on any tags currently.\n\nFixes\nhttps://buildkite.com/elastic/kibana-artifacts-snapshot/builds/7364#019a2abe-e18b-484f-b723-e90510f6fdf1\nVerified at\nhttps://buildkite.com/elastic/kibana-artifacts-snapshot/builds/7398","sha":"e2027bbab7ee96c397bfff530849337c0e565125"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/241690","number":241690,"mergeCommit":{"message":"[build] Fix snapshot Cloud deployment test (#241690)\n\nhttps://github.com//pull/238634 introduced a test\noptimization that modifies the refresh interval. We don't have the\npermissions setup for this on our Cloud smoke test.\n\nThis removes the FTR test entirely. This method of running tests is\noutdated, and isn't matching on any tags currently.\n\nFixes\nhttps://buildkite.com/elastic/kibana-artifacts-snapshot/builds/7364#019a2abe-e18b-484f-b723-e90510f6fdf1\nVerified at\nhttps://buildkite.com/elastic/kibana-artifacts-snapshot/builds/7398","sha":"e2027bbab7ee96c397bfff530849337c0e565125"}}]}] BACKPORT--> Co-authored-by: Jon <[email protected]>
1 parent 46466ae commit 8adbb6e

File tree

1 file changed

+0
-28
lines changed
  • .buildkite/scripts/steps/artifacts

1 file changed

+0
-28
lines changed

.buildkite/scripts/steps/artifacts/cloud.sh

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ trap "shutdown" EXIT
5757

5858
ecctl deployment create --track --output json --file "$DEPLOYMENT_SPEC" > "$LOGS"
5959

60-
CLOUD_DEPLOYMENT_USERNAME=$(jq -r --slurp '.[]|select(.resources).resources[] | select(.credentials).credentials.username' "$LOGS")
61-
CLOUD_DEPLOYMENT_PASSWORD=$(jq -r --slurp '.[]|select(.resources).resources[] | select(.credentials).credentials.password' "$LOGS")
6260
CLOUD_DEPLOYMENT_ID=$(jq -r --slurp '.[0].id' "$LOGS")
6361
CLOUD_DEPLOYMENT_STATUS_MESSAGES=$(jq --slurp '[.[]|select(.resources == null)]' "$LOGS")
6462

@@ -67,29 +65,3 @@ export CLOUD_DEPLOYMENT_ELASTICSEARCH_URL=$(ecctl deployment show "$CLOUD_DEPLOY
6765

6866
echo "Kibana: $CLOUD_DEPLOYMENT_KIBANA_URL"
6967
echo "ES: $CLOUD_DEPLOYMENT_ELASTICSEARCH_URL"
70-
71-
# Disable ansi color output for Node.js as we want to get plain values when executing node as a script runner below
72-
export FORCE_COLOR=0
73-
74-
export TEST_KIBANA_PROTOCOL=$(node -e "console.log(new URL(process.env.CLOUD_DEPLOYMENT_KIBANA_URL).protocol.replace(':', ''))")
75-
export TEST_KIBANA_HOSTNAME=$(node -e "console.log(new URL(process.env.CLOUD_DEPLOYMENT_KIBANA_URL).hostname)")
76-
export TEST_KIBANA_PORT=$(node -e "console.log(new URL(process.env.CLOUD_DEPLOYMENT_KIBANA_URL).port || 443)")
77-
export TEST_KIBANA_USERNAME="$CLOUD_DEPLOYMENT_USERNAME"
78-
export TEST_KIBANA_PASSWORD="$CLOUD_DEPLOYMENT_PASSWORD"
79-
80-
export TEST_ES_PROTOCOL=$(node -e "console.log(new URL(process.env.CLOUD_DEPLOYMENT_ELASTICSEARCH_URL).protocol.replace(':', ''))")
81-
export TEST_ES_HOSTNAME=$(node -e "console.log(new URL(process.env.CLOUD_DEPLOYMENT_ELASTICSEARCH_URL).hostname)")
82-
export TEST_ES_PORT=$(node -e "console.log(new URL(process.env.CLOUD_DEPLOYMENT_ELASTICSEARCH_URL).port || 443)")
83-
export TEST_ES_USERNAME="$CLOUD_DEPLOYMENT_USERNAME"
84-
export TEST_ES_PASSWORD="$CLOUD_DEPLOYMENT_PASSWORD"
85-
86-
# Enabling ansi color output for Node.js again as we don't need to use it as a script interpreter anymore
87-
export FORCE_COLOR=1
88-
89-
export TEST_BROWSER_HEADLESS=1
90-
91-
# Error: attempted to use the "es" service to fetch Elasticsearch version info but the request failed: ConnectionError: self signed certificate in certificate chain
92-
export NODE_TLS_REJECT_UNAUTHORIZED=0
93-
94-
echo "--- FTR - Reporting"
95-
node --no-warnings scripts/functional_test_runner.js --config x-pack/platform/test/functional/apps/visualize/config.ts --include-tag=smoke --quiet

0 commit comments

Comments
 (0)