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

Removed spurious query from Filebeat postgresql slowlogs dashboard #20322

Conversation

EthanStrider
Copy link

What does this PR do?

Fixes the [Filebeat PostgreSQL] Query Duration Overview dashboard

Why is it important?

Otherwise, the dashboard is empty

Checklist

  • [ ] My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

  • Check to make sure dashboard isn't empty after deleting saved query

Related issues

Screenshots

Empty dashboard:
Screen Shot 2020-07-23 at 7 51 33 PM

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 29, 2020
@elasticmachine
Copy link
Collaborator

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20322 opened]

  • Start Time: 2020-07-29T15:32:25.394+0000

  • Duration: 53 min 35 sec

Test stats 🧪

Test Results
Failed 1
Passed 5507
Skipped 828
Total 6336

Test errors

Expand to view the tests failures

  • Name: Build and Test / Filebeat oss / test_reload_same_config – test_reload_inputs.Test

    • Age: 1
    • Duration: 16.316
    • Error Details: Timeout waiting for 'cond' to be true. Waited 15 seconds.

Steps errors

Expand to view the steps failures

  • Name: Mage build test
    • Description: mage build test

    • Duration: 27 min 3 sec

    • Start Time: 2020-07-29T15:57:13.569+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-29T16:24:03.977Z] >> python test: Integration Testing Complete
[2020-07-29T16:24:04.555Z] Error: running "/go/src/github.com/elastic/beats/build/ve/docker/bin/nosetests --process-timeout=90 --with-timer -v --with-xunit --xunit-file=build/TEST-python-integration.xml tests/system/test_autodiscover.py tests/system/test_base.py tests/system/test_cmd.py tests/system/test_container.py tests/system/test_crawler.py tests/system/test_deprecated.py tests/system/test_fields.py tests/system/test_generate.py tests/system/test_harvester.py tests/system/test_index_pattern.py tests/system/test_input.py tests/system/test_json.py tests/system/test_keystore.py tests/system/test_load.py tests/system/test_modules.py tests/system/test_multiline.py tests/system/test_pipeline.py tests/system/test_processors.py tests/system/test_publisher.py tests/system/test_redis.py tests/system/test_registrar.py tests/system/test_registrar_upgrade.py tests/system/test_reload_inputs.py tests/system/test_reload_modules.py tests/system/test_setup.py tests/system/test_shutdown.py tests/system/test_stdin.py tests/system/test_syslog.py tests/system/test_tcp.py tests/system/test_tcp_tls.py tests/system/test_udp.py tests/system/test_unix.py" failed with exit code 1
[2020-07-29T16:24:16.836Z] Error: running "docker-compose -p filebeat_8_0_0_69a2b51155-snapshot run -e DOCKER_COMPOSE_PROJECT_NAME=filebeat_8_0_0_69a2b51155-snapshot -e BEAT_STRICT_PERMS=false -e STACK_ENVIRONMENT=snapshot -e TESTING_ENVIRONMENT=snapshot -e GOCACHE=/go/src/github.com/elastic/beats/build/docker-gocache -v /var/lib/jenkins/workspace/Beats_beats_PR-20322/pkg/mod/cache/download:/gocache:ro -e GOPROXY=file:///gocache,direct -e EXEC_UID=1154 -e EXEC_GID=1155 -e BEATS_INSIDE_INTEGRATION_TEST_ENV=true -e GOFLAGS=-mod=readonly -e TEST_COVERAGE=true -e RACE_DETECTOR=true -e TEST_TAGS=null,oracle -e MODULE=postgresql beat /go/src/github.com/elastic/beats/filebeat/build/mage-linux-amd64 pythonIntegTest" failed with exit code 1
[2020-07-29T16:24:17.325Z] Client: Docker Engine - Community
[2020-07-29T16:24:17.325Z]  Version:           19.03.12
[2020-07-29T16:24:17.325Z]  API version:       1.40
[2020-07-29T16:24:17.325Z]  Go version:        go1.13.10
[2020-07-29T16:24:17.325Z]  Git commit:        48a66213fe
[2020-07-29T16:24:17.325Z]  Built:             Mon Jun 22 15:45:36 2020
[2020-07-29T16:24:17.325Z]  OS/Arch:           linux/amd64
[2020-07-29T16:24:17.325Z]  Experimental:      false
[2020-07-29T16:24:17.325Z] 
[2020-07-29T16:24:17.325Z] Server: Docker Engine - Community
[2020-07-29T16:24:17.325Z]  Engine:
[2020-07-29T16:24:17.325Z]   Version:          19.03.12
[2020-07-29T16:24:17.325Z]   API version:      1.40 (minimum version 1.12)
[2020-07-29T16:24:17.325Z]   Go version:       go1.13.10
[2020-07-29T16:24:17.325Z]   Git commit:       48a66213fe
[2020-07-29T16:24:17.325Z]   Built:            Mon Jun 22 15:44:07 2020
[2020-07-29T16:24:17.325Z]   OS/Arch:          linux/amd64
[2020-07-29T16:24:17.325Z]   Experimental:     false
[2020-07-29T16:24:17.325Z]  containerd:
[2020-07-29T16:24:17.325Z]   Version:          1.2.13
[2020-07-29T16:24:17.325Z]   GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
[2020-07-29T16:24:17.325Z]  runc:
[2020-07-29T16:24:17.325Z]   Version:          1.0.0-rc10
[2020-07-29T16:24:17.325Z]   GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
[2020-07-29T16:24:17.325Z]  docker-init:
[2020-07-29T16:24:17.325Z]   Version:          0.18.0
[2020-07-29T16:24:17.325Z]   GitCommit:        fec3683
[2020-07-29T16:24:17.325Z] Unable to find image 'alpine:3.4' locally
[2020-07-29T16:24:17.885Z] Archiving artifacts
[2020-07-29T16:24:17.896Z] 3.4: Pulling from library/alpine
[2020-07-29T16:24:17.896Z] c1e54eec4b57: Pulling fs layer
[2020-07-29T16:24:18.155Z] c1e54eec4b57: Download complete
[2020-07-29T16:24:18.421Z] c1e54eec4b57: Pull complete
[2020-07-29T16:24:18.421Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2020-07-29T16:24:18.421Z] Status: Downloaded newer image for alpine:3.4
[2020-07-29T16:24:20.117Z] + python .ci/scripts/pre_archive_test.py
[2020-07-29T16:24:21.059Z] Copy ./filebeat/build into build/filebeat/build
[2020-07-29T16:24:21.083Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats/build
[2020-07-29T16:24:21.141Z] Recording test results
[2020-07-29T16:24:23.468Z] Stashed 4 file(s)
[2020-07-29T16:24:23.489Z] Archiving artifacts
[2020-07-29T16:24:24.340Z] + python .ci/scripts/search_system_tests.py
[2020-07-29T16:24:24.376Z] [INFO] system-tests='build/filebeat/build/system-tests'. If no empty then let's create a tarball
[2020-07-29T16:24:24.788Z] + tar --version
[2020-07-29T16:24:25.179Z] + tar --exclude=filebeat--system-tests-linux.tgz -czf filebeat--system-tests-linux.tgz build/filebeat/build/system-tests
[2020-07-29T16:24:30.502Z] Archiving artifacts
[2020-07-29T16:24:34.959Z] Failed in branch Filebeat oss
[2020-07-29T16:24:36.823Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats
[2020-07-29T16:24:37.164Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-29T16:24:37.189Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats/Lint
[2020-07-29T16:24:37.357Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-07-29T16:24:37.513Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats/Filebeat-Windows
[2020-07-29T16:24:37.675Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-07-29T16:24:37.842Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-07-29T16:24:37.997Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats/Filebeat-x-pack
[2020-07-29T16:24:38.151Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats/Filebeat-oss
[2020-07-29T16:24:38.601Z] + cat
[2020-07-29T16:24:38.601Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-29T16:24:38.601Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-29T16:24:45.203Z] runbld>>> runbld started
[2020-07-29T16:24:45.203Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-29T16:24:47.121Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20322' in order of occurrence in the config (last value wins).
[2020-07-29T16:24:48.509Z] runbld>>> Debug logging enabled.
[2020-07-29T16:24:48.509Z] runbld>>> Storing result
[2020-07-29T16:24:48.509Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-29T16:24:48.509Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200729162448-0ACE8B4E
[2020-07-29T16:24:48.509Z] runbld>>> Adding system facts.
[2020-07-29T16:24:49.899Z] runbld>>> Adding vcs info for the latest commit:  69a2b511551415d67ef1f8108d004d40f8314ac7
[2020-07-29T16:24:49.899Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-29T16:24:49.899Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-29T16:24:49.899Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-29T16:24:49.899Z] Processing JUnit reports with runbld...
[2020-07-29T16:24:50.162Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-29T16:24:50.162Z] runbld>>> DURATION: 39ms
[2020-07-29T16:24:50.162Z] runbld>>> STDOUT: 40 bytes
[2020-07-29T16:24:50.162Z] runbld>>> STDERR: 49 bytes
[2020-07-29T16:24:50.162Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-29T16:24:50.162Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats
[2020-07-29T16:24:51.106Z] runbld>>> Storing build metadata: 
[2020-07-29T16:24:51.106Z] runbld>>> Adding test report.
[2020-07-29T16:24:51.106Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20322/src/github.com/elastic/beats
[2020-07-29T16:24:52.054Z] runbld>>> Found 16 test output files
[2020-07-29T16:24:53.446Z] runbld>>> Test output logs contained: Errors: 1 Failures: 0 Tests: 6336 Skipped: 802
[2020-07-29T16:24:53.446Z] runbld>>> Storing result
[2020-07-29T16:24:53.446Z] runbld>>> FAILURES: 1
[2020-07-29T16:24:53.708Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-29T16:24:53.708Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200729162448-0ACE8B4E
[2020-07-29T16:24:53.969Z] runbld>>> Email notification disabled by environment variable.
[2020-07-29T16:24:53.969Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-29T16:24:59.596Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20322
[2020-07-29T16:24:59.770Z] [INFO] getVaultSecret: Getting secrets
[2020-07-29T16:24:59.864Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-29T16:25:01.082Z] + chmod 755 generate-build-data.sh
[2020-07-29T16:25:01.082Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20322/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20322/runs/1 FAILURE 3155417
[2020-07-29T16:25:01.082Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20322/runs/1/steps/?limit=10000 -o steps-info.json
[2020-07-29T16:25:01.633Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20322/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-07-29T16:25:02.184Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20322/runs/1/log/ -o pipeline-log.txt

@andresrc andresrc added the Team:Services (Deprecated) Label for the former Integrations-Services team label Jul 30, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 30, 2020
@andresrc andresrc requested a review from sayden July 30, 2020 09:01
@botelastic
Copy link

botelastic bot commented Aug 29, 2020

Hi!
We just realized that we haven't looked into this PR in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it in as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Aug 29, 2020
@botelastic
Copy link

botelastic bot commented Sep 28, 2020

Hi!
This PR has been stale for a while and we're going to close it as part of our cleanup procedure.
We appreciate your contribution and would like to apologize if we have not been able to review it, due to the current heavy load of the team.
Feel free to re-open this PR if you think it should stay open and is worth rebasing.
Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Stalled Team:Services (Deprecated) Label for the former Integrations-Services team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Filebeat PostgreSQL] Query Duration Overview dashboard has spurious query
3 participants