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

[Metricbeat] Flaky test_couchbase.Test.test_couchbase_0_bucket #7769

Closed
ph opened this issue Jul 26, 2018 · 4 comments
Closed

[Metricbeat] Flaky test_couchbase.Test.test_couchbase_0_bucket #7769

ph opened this issue Jul 26, 2018 · 4 comments
Assignees
Labels
flaky-test Unstable or unreliable test cases. Metricbeat Metricbeat :Testing

Comments

@ph
Copy link
Contributor

ph commented Jul 26, 2018

link: https://beats-ci.elastic.co/job/elastic+beats+pull-request+multijob-linux/5782/beat=metricbeat,label=ubuntu/testReport/junit/test_couchbase/Test/test_couchbase_0_bucket/
platform: linux

Element counts were not equal:
First has 1, Second has 0:  'couchbase'
First has 0, Second has 1:  u'error'
-------------------- >> begin captured stdout << ---------------------
{u'beat': {u'hostname': u'2fcadc37c9ec', u'name': u'2fcadc37c9ec', u'version': u'7.0.0-alpha1'}, u'@timestamp': u'2018-07-26T19:19:27.848Z', u'host': {u'name': u'2fcadc37c9ec'}, u'error': {u'message': u'HTTP error 401 in bucket: 401 Unauthorized'}, u'metricset': {u'rtt': 6355, u'host': u'couchbase:8091', u'name': u'bucket', u'module': u'couchbase'}}

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
compose.config.config: DEBUG: Using configuration files: ./docker-compose.yml
docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
docker.utils.config: DEBUG: No config file found
docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
docker.utils.config: DEBUG: No config file found
compose.parallel: DEBUG: Pending: set([<Container: metricbeat17e29fb47ee56c6580032e2f535818f05f192ae4_mongodb_1 (14feab)>])
compose.parallel: DEBUG: Starting producer thread for <Container: metricbeat17e29fb47ee56c6580032e2f535818f05f192ae4_mongodb_1 (14feab)>
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Finished processing: <Container: metricbeat17e29fb47ee56c6580032e2f535818f05f192ae4_mongodb_1 (14feab)>
compose.parallel: DEBUG: Pending: set([])
compose.config.config: DEBUG: Using configuration files: ./docker-compose.yml
docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
docker.utils.config: DEBUG: No config file found
docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
docker.utils.config: DEBUG: No config file found
compose.service: INFO: Building couchbase
docker.api.build: DEBUG: Looking for auth config
docker.api.build: DEBUG: No auth config in memory - loading from filesystem
docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
docker.utils.config: DEBUG: No config file found
docker.api.build: DEBUG: No auth config found
compose.parallel: DEBUG: Pending: set([<Service: couchbase>])
compose.parallel: DEBUG: Starting producer thread for <Service: couchbase>
compose.parallel: DEBUG: Pending: set([ServiceName(project='metricbeat17e29fb47ee56c6580032e2f535818f05f192ae4', service='couchbase', number=1)])
compose.parallel: DEBUG: Starting producer thread for ServiceName(project='metricbeat17e29fb47ee56c6580032e2f535818f05f192ae4', service='couchbase', number=1)
compose.service: DEBUG: Added config hash: 35e2347d8dc619864aa81fd019891e9aff24166ad342271b2305019314494b3a
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Finished processing: ServiceName(project='metricbeat17e29fb47ee56c6580032e2f535818f05f192ae4', service='couchbase', number=1)
compose.parallel: DEBUG: Pending: set([])
compose.parallel: DEBUG: Finished processing: <Service: couchbase>
compose.parallel: DEBUG: Pending: set([])
--------------------- >> end captured logging << ---------------------

Stacktrace
@ph ph added Metricbeat Metricbeat :Testing flaky-test Unstable or unreliable test cases. labels Jul 26, 2018
@ruflin
Copy link
Collaborator

ruflin commented Jul 27, 2018

Duplicate of #7683 ?

@ruflin
Copy link
Collaborator

ruflin commented Jul 27, 2018

@ph Closing, please reopen if you think differently.

@ruflin ruflin closed this as completed Jul 27, 2018
@ph
Copy link
Contributor Author

ph commented Jul 27, 2018

I've relooked at this again, seems to be the same error.

@jsoriano
Copy link
Member

jsoriano commented Nov 13, 2018

Reopening as seems to be still happening.

@jsoriano jsoriano reopened this Nov 13, 2018
@jsoriano jsoriano self-assigned this Nov 13, 2018
jsoriano added a commit to jsoriano/beats that referenced this issue Nov 13, 2018
This will also ensure that credentials are installed before healthcheck
goes healthy.

Fixes elastic#7769
jsoriano added a commit that referenced this issue Nov 14, 2018
This will also ensure that credentials are installed before healthcheck
goes healthy.

Fixes #7769
jsoriano added a commit to jsoriano/beats that referenced this issue Nov 14, 2018
)

This will also ensure that credentials are installed before healthcheck
goes healthy.

Fixes elastic#7769

(cherry picked from commit a8230bf)
jsoriano added a commit to jsoriano/beats that referenced this issue Nov 14, 2018
)

This will also ensure that credentials are installed before healthcheck
goes healthy.

Fixes elastic#7769

(cherry picked from commit a8230bf)
jsoriano added a commit that referenced this issue Nov 19, 2018
…9065)

This will also ensure that credentials are installed before healthcheck
goes healthy.

Fixes #7769

(cherry picked from commit a8230bf)
jsoriano added a commit that referenced this issue Nov 19, 2018
…9066)

This will also ensure that credentials are installed before healthcheck
goes healthy.

Fixes #7769

(cherry picked from commit a8230bf)
leweafan pushed a commit to leweafan/beats that referenced this issue Apr 28, 2023
) (elastic#9066)

This will also ensure that credentials are installed before healthcheck
goes healthy.

Fixes elastic#7769

(cherry picked from commit 1062b8b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Unstable or unreliable test cases. Metricbeat Metricbeat :Testing
Projects
None yet
Development

No branches or pull requests

3 participants