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

Failing test: APM API Integration tests (trial).x-pack/test/apm_api_integration/tests/index·ts - APM API tests correlations/p_values.spec.ts trial 8.0.0 "before all" hook: runBefore in "8.0.0" #175911

Open
kibanamachine opened this issue Jan 30, 2024 · 11 comments · Fixed by #187444
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 30, 2024

A test failed on a tracked branch

AggregateError: 
    Error: Bulk doc failure [operation=index]:
      doc: {"@timestamp":"2020-08-26T11:08:12.128Z","agent":{"name":"go","version":"1.8.0"},"client":{"ip":"10.52.4.247"},"container":{"id":"0eb7e7940c6d64543da241647ac666fba4dc832c208254c32aee729e24805121"},"ecs":{"version":"1.5.0"},"event":{"ingested":"2020-08-26T11:08:18.341002Z","outcome":"success"},"host":{"architecture":"amd64","ip":"10.52.6.46","os":{"platform":"linux"}},"http":{"request":{"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["Python/3.7 aiohttp/3.3.2"]},"method":"get","socket":{"remote_address":"10.52.4.247"}},"response":{"headers":{"Content-Type":["application/json; charset=utf-8"]},"status_code":200},"version":"1.1"},"kubernetes":{"pod":{"name":"opbeans-go-6878d54b9f-cfkcx","uid":"8d1abf58-e741-11ea-819e-42010a84004a"}},"labels":{"served_from_cache":"false"},"observer":{"ephemeral_id":"a6feea29-be28-45f1-9ba9-58ebcfd959d9","hostname":"apm-apm-server-74f49577df-mhfml","id":"60768289-3c4e-4d8b-ae70-122a0ef437d1","type":"apm-server","version":"8.0.0","version_major":8},"process":{"args":["/opbeans-go","-log-level=debug","-log-json","-listen=:3000","-frontend=/opbeans-frontend","-db=postgres:","-cache=redis://redis-master:6379"],"pid":1,"ppid":0,"title":"opbeans-go"},"processor":{"event":"transaction","name":"transaction"},"service":{"environment":"testing","framework":{"name":"gin","version":"v1.4.0"},"language":{"name":"go","version":"go1.14.7"},"name":"opbeans-go","node":{"name":"0eb7e7940c6d64543da241647ac666fba4dc832c208254c32aee729e24805121"},"runtime":{"name":"gc","version":"go1.14.7"},"version":"2020-08-26 02:09:21"},"source":{"ip":"10.52.4.247"},"timestamp":{"us":1598440092128358},"trace":{"id":"fcb85b3624900e355d16e7d1d482629a"},"transaction":{"duration":{"us":18116},"id":"fcb85b3624900e35","name":"GET /api/stats","result":"HTTP 2xx","sampled":true,"span_count":{"dropped":0,"started":4},"type":"request"},"url":{"domain":"10.55.255.62","full":"http://10.55.255.62:3000/api/stats","path":"/api/stats","port":3000,"scheme":"http"},"user_agent":{"device":{"name":"Other"},"name":"Python aiohttp","original":"Python/3.7 aiohttp/3.3.2","version":"3.3.2"}}
      error: {"type":"illegal_argument_exception","reason":"mapper [labels.served_from_cache] cannot be changed from type [boolean] to [keyword]"}
        at Array.map (<anonymous>)
        at indexDocs (index_doc_records_stream.ts:64:13)
        at processTicksAndRejections (node:internal/process/task_queues:95:5)
        at Writable.writev [as _writev] (index_doc_records_stream.ts:88:9)
    at indexDocs (index_doc_records_stream.ts:64:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Writable.writev [as _writev] (index_doc_records_stream.ts:88:9)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jan 30, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 30, 2024
@wayneseymour wayneseymour added the Team:APM All issues that need APM UI Team support label Jan 30, 2024
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 30, 2024
@smith smith added Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team and removed Team:APM All issues that need APM UI Team support labels Jan 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@cauemarcondes cauemarcondes self-assigned this Feb 15, 2024
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.13

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

mistic added a commit that referenced this issue Mar 14, 2024
mistic added a commit that referenced this issue Mar 14, 2024
@mistic
Copy link
Member

mistic commented Mar 14, 2024

Skipped.

main: 9f0d621
8.13: d04713a

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@walterra
Copy link
Contributor

walterra commented Jul 5, 2024

Looking at the error, this doesn't seem to be an issue with the test per se, but with the setup bulk indexing the docs for the test:

AggregateError: 
    Error: Bulk doc failure [operation=index]:
      doc: {"@timestamp":"2020-08-26T11:08:12.128Z","agent":{"name":"go","version":"1.8.0"},"client":{"ip":"10.52.4.247"},"container":{"id":"0eb7e7940c6d64543da241647ac666fba4dc832c208254c32aee729e24805121"},"ecs":{"version":"1.5.0"},"event":{"ingested":"2020-08-26T11:08:18.341002Z","outcome":"success"},"host":{"architecture":"amd64","ip":"10.52.6.46","os":{"platform":"linux"}},"http":{"request":{"headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["Python/3.7 aiohttp/3.3.2"]},"method":"get","socket":{"remote_address":"10.52.4.247"}},"response":{"headers":{"Content-Type":["application/json; charset=utf-8"]},"status_code":200},"version":"1.1"},"kubernetes":{"pod":{"name":"opbeans-go-6878d54b9f-cfkcx","uid":"8d1abf58-e741-11ea-819e-42010a84004a"}},"labels":{"served_from_cache":"false"},"observer":{"ephemeral_id":"a6feea29-be28-45f1-9ba9-58ebcfd959d9","hostname":"apm-apm-server-74f49577df-mhfml","id":"60768289-3c4e-4d8b-ae70-122a0ef437d1","type":"apm-server","version":"8.0.0","version_major":8},"process":{"args":["/opbeans-go","-log-level=debug","-log-json","-listen=:3000","-frontend=/opbeans-frontend","-db=postgres:","-cache=redis://redis-master:6379"],"pid":1,"ppid":0,"title":"opbeans-go"},"processor":{"event":"transaction","name":"transaction"},"service":{"environment":"testing","framework":{"name":"gin","version":"v1.4.0"},"language":{"name":"go","version":"go1.14.7"},"name":"opbeans-go","node":{"name":"0eb7e7940c6d64543da241647ac666fba4dc832c208254c32aee729e24805121"},"runtime":{"name":"gc","version":"go1.14.7"},"version":"2020-08-26 02:09:21"},"source":{"ip":"10.52.4.247"},"timestamp":{"us":1598440092128358},"trace":{"id":"fcb85b3624900e355d16e7d1d482629a"},"transaction":{"duration":{"us":18116},"id":"fcb85b3624900e35","name":"GET /api/stats","result":"HTTP 2xx","sampled":true,"span_count":{"dropped":0,"started":4},"type":"request"},"url":{"domain":"10.55.255.62","full":"http://10.55.255.62:3000/api/stats","path":"/api/stats","port":3000,"scheme":"http"},"user_agent":{"device":{"name":"Other"},"name":"Python aiohttp","original":"Python/3.7 aiohttp/3.3.2","version":"3.3.2"}}
      error: {"type":"illegal_argument_exception","reason":"mapper [labels.served_from_cache] cannot be changed from type [boolean] to [keyword]"}
        at Array.map (<anonymous>)
        at indexDocs (index_doc_records_stream.ts:64:13)
        at processTicksAndRejections (node:internal/process/task_queues:95:5)
        at Writable.writev [as _writev] (index_doc_records_stream.ts:88:9)
    at indexDocs (index_doc_records_stream.ts:64:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Writable.writev [as _writev] (index_doc_records_stream.ts:88:9)

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants