Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APM] e2e are failing when running them locally and CI [7.x] #68055

Closed
v1v opened this issue Jun 3, 2020 · 5 comments · Fixed by #68198
Closed

[APM] e2e are failing when running them locally and CI [7.x] #68055

v1v opened this issue Jun 3, 2020 · 5 comments · Fixed by #68198
Assignees
Labels
Team:APM All issues that need APM UI Team support

Comments

@v1v
Copy link
Member

v1v commented Jun 3, 2020

Kibana version:
7.x branch

commit 8dbd3af63bf905bca9127cf13a93d856c6a6b156 (HEAD -> 7.x)
Author: Dario Gieselaar <dario.gieselaar@elastic.co>
Date:   Tue Jun 2 14:25:59 2020 +0200

Elasticsearch version:
master branch

{
name: "70f5565bcc8b",
cluster_name: "docker-cluster",
cluster_uuid: "oJF8ilNAQYqwjWbyf70dHw",
version: {
number: "8.0.0-SNAPSHOT",
build_flavor: "default",
build_type: "docker",
build_hash: "d7b31a8a355c713bbf9c5f5f5887d75e5452dd62",
build_date: "2020-06-02T10:42:48.564111Z",
build_snapshot: true,
lucene_version: "8.6.0",
minimum_wire_compatibility_version: "7.9.0",
minimum_index_compatibility_version: "7.0.0"
},
tagline: "You Know, for Search"
}

Server OS version:
macosx 10.15.4 (19E287)

Browser version:
N/A

Browser OS version:
N/A

Original install method (e.g. download page, yum, from source, etc.):
From source
node --version - v10.19.0
nvm --version - 0.35.3

Description of the problem including expected versus actual behavior:

Kibana does not start

Steps to reproduce:

Run all the below steps from scratch:

cd /tmp
git clone https://github.com/elastic/kibana --depth 1
git checkout 7.x
docker ps -a
cd kibana
nvm use $(cat .node-version)
cd x-pack/plugins/apm/e2e
yarn install
cd -
yarn kbn clean && yarn kbn bootstrap
nohup node ./scripts/kibana --no-base-path --dev --no-dev-config --config x-pack/plugins/apm/e2e/ci/kibana.e2e.yml > /tmp/kibana.log 2>&1 &
x-pack/plugins/apm/e2e/run-e2e.sh

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

➜  kibana git:(7.x) node ./scripts/kibana --no-base-path --dev --no-dev-config --config x-pack/plugins/apm/e2e/ci/kibana.e2e.yml
  log   [08:03:59.098] [debug][config] Marking config path as handled: server
  log   [08:03:59.098] [debug][config] Marking config path as handled: csp
  log   [08:03:59.098] [debug][config] Marking config path as handled: plugins
...
...

  log   [08:20:48.542] [debug][metrics] Refreshing metrics
server    log   [08:20:48.638] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [08:20:49.138] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [08:20:49.638] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [08:20:50.139] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [08:20:50.645] [debug][http] Kibana server is not ready yet get:/api/status.
...
server    log   [09:00:09.352] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:09.854] [debug][http] Kibana server is not ready yet get:/api/status.
  log   [09:00:10.176] [debug][metrics] Refreshing metrics
server    log   [09:00:10.358] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:10.861] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:11.361] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:11.863] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:12.367] [debug][http] Kibana server is not ready yet get:/api/status.
optmzr    log   [09:00:12.533] [debug][metrics] Refreshing metrics
server    log   [09:00:12.869] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:13.370] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:13.870] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:14.370] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:14.871] [debug][http] Kibana server is not ready yet get:/api/status.
  log   [09:00:15.178] [debug][metrics] Refreshing metrics
server    log   [09:00:15.375] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:15.876] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:16.376] [debug][http] Kibana server is not ready yet get:/api/status.
server    log   [09:00:16.877] [debug][http] Kibana server is not ready yet get:/api/status.
optmzr    log   [09:00:17.536] [debug][metrics] Refreshing metrics
@v1v v1v added the Team:APM All issues that need APM UI Team support label Jun 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@sorenlouv
Copy link
Member

I cannot repro locally. @v1v
Can you look into whether this is a kibana issue or a problem with the tests?

@v1v
Copy link
Member Author

v1v commented Jun 3, 2020

I'm afraid this happens also in the CI:

NOTE: the mp4 file is actually the one that should be deleted with the PR #67949

@ogupte
Copy link
Contributor

ogupte commented Jun 3, 2020

Locally, I'm seeing what appears to be a version mismatch between Kibana and ES: [error][savedobjects-service] This version of Kibana (v7.9.0) is incompatible with the following Elasticsearch nodes in your cluster: v8.0.0 @ 172.18.0.2:9200 (172.18.0.2)

@ogupte
Copy link
Contributor

ogupte commented Jun 3, 2020

On this line: https://github.com/elastic/kibana/blob/master/x-pack/plugins/apm/e2e/run-e2e.sh#L66

The tests run and pass when I change ${APM_IT_DIR}/scripts/compose.py start master -> ${APM_IT_DIR}/scripts/compose.py start 7.9.0 on the 7.x branch. How should we make this version dynamic?

ogupte added a commit to ogupte/kibana that referenced this issue Jun 3, 2020
…that as

the stack version for e2e tests.
sorenlouv pushed a commit that referenced this issue Jun 4, 2020
@ogupte ogupte self-assigned this Jun 4, 2020
ogupte added a commit to ogupte/kibana that referenced this issue Jun 4, 2020
ogupte added a commit to ogupte/kibana that referenced this issue Jun 4, 2020
ogupte added a commit that referenced this issue Jun 4, 2020
jloleysens added a commit to jloleysens/kibana that referenced this issue Jun 4, 2020
…ms-column

* 'master' of github.com:elastic/kibana: (63 commits)
  remove scripts. prettire update has been done (elastic#68130)
  Closes elastic#68055 by detecting the local Kibana version and using that as (elastic#68198)
  [apm] docs: add deployment annotation example (elastic#67408)
  [ML] Extend population preview chart to show actual and typical value (elastic#67569)
  Refactor index management client integration tests for scalability (elastic#67917)
  Add generator function that creates multiple alerts (elastic#67713)
  chore(NA): remove config arg from os packages (elastic#67871)
  [Reporting] Move code out of Legacy (elastic#67904)
  [Metrics UI] Add overrides to Snapshot API to support alert previews (elastic#68125)
  [Security] [Cases] Manage timeline UI API (elastic#67719)
  [ENDPOINT][INGEST]Task/endpoint ingest update (elastic#67234)
  Fix code coverage for jest, upload merged reports (elastic#68149)
  Update documentation/examples of deprecated namespaceAgnostic field (elastic#68039)
  [DOCS] Updates Canvas docs with new menus (elastic#66061)
  chore(NA): avoids imports of server or public code into common (elastic#67231)
  [SIEM] Fix GetOneTimeline graphql type (elastic#68137)
  skip flaky suite (elastic#67838)
  [Uptime] Add loading message for monitor list no items (elastic#67378)
  [Ingest Manager] Update indexing strategy docs to use dataset.* (elastic#68068)
  [Ingest Manager] Fix datasource validation for streams without vars (elastic#67950)
  ...

# Conflicts:
#	x-pack/plugins/index_management/__jest__/client_integration/helpers/index.ts
#	x-pack/plugins/index_management/__jest__/client_integration/home.test.ts
#	x-pack/plugins/index_management/__jest__/client_integration/home/index_templates_tab.helpers.ts
ogupte added a commit that referenced this issue Jun 4, 2020
gmmorris added a commit to gmmorris/kibana that referenced this issue Jun 4, 2020
* master: (26 commits)
  [Console]remove completion for type for filter queries and aggs (elastic#68103)
  [ML] Transforms: Filter aggregation support (elastic#67591)
  [ES UI Shared] Monaco XJSON (elastic#67485)
  [Index Management] Add data streams functionality to indices tab (elastic#67940)
  [Discover] Fix renaming of saved search not displayed in breadcrumb (elastic#67577)
  [SECURITY] Rename siem plugin to security_solution (elastic#67902)
  [Uptime] Fix Telemetry Api flaky test (elastic#67358)
  [Data plugin] Add configuration property to enable / disable autocomplete (elastic#67847)
  remove scripts. prettire update has been done (elastic#68130)
  Closes elastic#68055 by detecting the local Kibana version and using that as (elastic#68198)
  [apm] docs: add deployment annotation example (elastic#67408)
  [ML] Extend population preview chart to show actual and typical value (elastic#67569)
  Refactor index management client integration tests for scalability (elastic#67917)
  Add generator function that creates multiple alerts (elastic#67713)
  chore(NA): remove config arg from os packages (elastic#67871)
  [Reporting] Move code out of Legacy (elastic#67904)
  [Metrics UI] Add overrides to Snapshot API to support alert previews (elastic#68125)
  [Security] [Cases] Manage timeline UI API (elastic#67719)
  [ENDPOINT][INGEST]Task/endpoint ingest update (elastic#67234)
  Fix code coverage for jest, upload merged reports (elastic#68149)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:APM All issues that need APM UI Team support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants