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] Update Couchbase module to 6.5 version #19055

Merged

Conversation

sayden
Copy link
Contributor

@sayden sayden commented Jun 8, 2020

What does this PR do?

Changes the number format of some fields that seems to be returned in floating point while we expect them like integers.

It seems that some of the values returned by Couchbase are in floating point numbers. In fact, all the data is returned in JSON format so every single number might be a floating point number.

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 that dashboards still works in v4.5, v5 and v6.5

How to test this PR locally

Just execute the module normally. Unfortunately, the bug can't be reproduce easily (or at all)

Related issues

Fixes: #18949
Fixes: #18595

@sayden sayden added bug enhancement Metricbeat Metricbeat Team:Services (Deprecated) Label for the former Integrations-Services team labels Jun 8, 2020
@sayden sayden self-assigned this Jun 8, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 8, 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 Jun 8, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 8, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #19055 updated]

  • Start Time: 2020-06-26T11:28:44.557+0000

  • Duration: 78 min 54 sec

Test stats 🧪

Test Results
Failed 1
Passed 3715
Skipped 827
Total 4543

Test errors

Expand to view the tests failures

  • Name: Build and Test / Metricbeat Python integration tests / test_keyspace – test_redis.Test_2

    • Age: 1
    • Duration: 0.601
    • Error Details: Regex matched: '\tWARN\t' matches '\tERROR\t|\tWARN\t' in '2020-06-26T12:27:27.947Z\tINFO\tinstance/beat.go:628\tHome path: [/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace] Config path: [/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace] Data path: [/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace/data] Logs path: [/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace/logs]\n2020-06-26T12:27:27.947Z\tDEBUG\t[beat]\tinstance/beat.go:680\tBeat metadata path: /go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace/data/meta.json\n2020-06-26T12:27:27.952Z\tINFO\tinstance/beat.go:636\tBeat ID: 570413bd-321c-40eb-9159-4538df4c5f6a\n2020-06-26T12:27:27.953Z\tDEBUG\t[seccomp]\tseccomp/seccomp.go:117\tLoading syscall filter\t{"seccomp_filter": {"no_new_privs":true,"flag":"tsync","policy":{"default_action":"errno","syscalls":[{"names":["accept","accept4","access","arch_prctl","bind","brk","chmod","chown","clock_gettime","clone","close","connect","dup","dup2","epoll_create","epoll_create1","epoll_ctl","epoll_pwait","epoll_wait","exit","exit_group","fchdir","fchmod","fchown","fcntl","fdatasync","flock","fstat","fstatfs","fsync","ftruncate","futex","getcwd","getdents","getdents64","geteuid","getgid","getpeername","getpid","getppid","getrandom","getrlimit","getrusage","getsockname","getsockopt","gettid","gettimeofday","getuid","inotify_add_watch","inotify_init1","inotify_rm_watch","ioctl","kill","listen","lseek","lstat","madvise","mincore","mkdirat","mmap","mprotect","munmap","nanosleep","newfstatat","open","openat","pipe","pipe2","poll","ppoll","pread64","pselect6","pwrite64","read","readlink","readlinkat","recvfrom","recvmmsg","recvmsg","rename","renameat","rt_sigaction","rt_sigprocmask","rt_sigreturn","sched_getaffinity","sched_yield","sendfile","sendmmsg","sendmsg","sendto","set_robust_list","setitimer","setsockopt","shutdown","sigaltstack","socket","splice","stat","statfs","sysinfo","tgkill","time","tkill","uname","unlink","unlinkat","wait4","waitid","write","writev"],"action":"allow"}]}}}\n2020-06-26T12:27:27.953Z\tWARN\t[seccomp]\tseccomp/seccomp.go:119\tSyscall filter could not be installederrorfailed loading seccomp filter: permission deniedseccomp_filter{true tsync {errno [{[accept accept4 access arch_prctl bind brk chmod chown clock_gettime clone close connect dup dup2 epoll_create epoll_create1 epoll_ctl epoll_pwait epoll_wait exit exit_group fchdir fchmod fchown fcntl fdatasync flock fstat fstatfs fsync ftruncate futex getcwd getdents getdents64 geteuid getgid getpeername getpid getppid getrandom getrlimit getrusage getsockname getsockopt gettid gettimeofday getuid inotify_add_watch inotify_init1 inotify_rm_watch ioctl kill listen lseek lstat madvise mincore mkdirat mmap mprotect munmap nanosleep newfstatat open openat pipe pipe2 poll ppoll pread64 pselect6 pwrite64 read readlink readlinkat recvfrom recvmmsg recvmsg rename renameat rt_sigaction rt_sigprocmask rt_sigreturn sched_getaffinity sched_yield sendfile sendmmsg sendmsg sendto set_robust_list setitimer setsockopt shutdown sigaltstack socket splice stat statfs sysinfo tgkill time tkill uname unlink unlinkat wait4 waitid write writev] allow }] }}\n2020-06-26T12:27:27.953Z\tINFO\t[beat]\tinstance/beat.go:964\tBeat info\t{"system_info": {"beat": {"path": {"config": "/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace", "data": "/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace/data", "home": "/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace", "logs": "/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace/logs"}, "type": "metricbeat", "uuid": "570413bd-321c-40eb-9159-4538df4c5f6a"}}}\n2020-06-26T12:27:27.953Z\tINFO\t[beat]\tinstance/beat.go:973\tBuild info\t{"system_info": {"build": {"commit": "unknown", "libbeat": "8.0.0", "time": "1754-08-30T22:43:41.128Z", "version": "8.0.0"}}}\n2020-06-26T12:27:27.954Z\tINFO\t[beat]\tinstance/beat.go:976\tGo runtime info\t{"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":4,"version":"go1.13.10"}}}\n2020-06-26T12:27:27.956Z\tINFO\t[beat]\tinstance/beat.go:980\tHost info\t{"system_info": {"host": {"architecture":"x86_64","boot_time":"2020-06-26T11:52:14Z","containerized":true,"name":"beats-ci-immutable-ubuntu-1604-1593172310995020963","ip":["127.0.0.1/8","::1/128","10.224.2.31/32","fe80::4001:aff:fee0:21f/64","172.17.0.1/16","fe80::42:dfff:fe30:d179/64","172.18.0.1/16","172.19.0.1/16","fe80::42:fff:fec3:8155/64","192.168.128.1/20","fe80::42:75ff:fe5a:3c34/64","fe80::87b:e7ff:fe0f:50f7/64"],"kernel_version":"4.15.0-1077-gcp","mac":["42:01:0a:e0:02:1f","02:42:df:30:d1:79","02:42:08:46:21:34","02:42:0f:c3:81:55","02:42:75:5a:3c:34","0a:7b:e7:0f:50:f7"],"os":{"family":"debian","platform":"debian","name":"Debian GNU/Linux","version":"10 (buster)","major":10,"minor":0,"patch":0,"codename":"buster"},"timezone":"UTC","timezone_offset_sec":0,"id":"7265fe765262551a676151a24c02b7b6"}}}\n2020-06-26T12:27:27.957Z\tINFO\t[beat]\tinstance/beat.go:1009\tProcess info\t{"system_info": {"process": {"capabilities": {"inheritable":["chown","dac_override","fowner","fsetid","kill","setgid","setuid","setpcap","net_bind_service","net_raw","sys_chroot","mknod","audit_write","setfcap"],"permitted":["chown","dac_override","fowner","fsetid","kill","setgid","setuid","setpcap","net_bind_service","net_raw","sys_chroot","mknod","audit_write","setfcap"],"effective":["chown","dac_override","fowner","fsetid","kill","setgid","setuid","setpcap","net_bind_service","net_raw","sys_chroot","mknod","audit_write","setfcap"],"bounding":["chown","dac_override","fowner","fsetid","kill","setgid","setuid","setpcap","net_bind_service","net_raw","sys_chroot","mknod","audit_write","setfcap"],"ambient":null}, "cwd": "/go/src/github.com/elastic/beats/metricbeat", "exe": "/go/src/github.com/elastic/beats/metricbeat/metricbeat.test", "name": "metricbeat.test", "pid": 17808, "ppid": 14982, "seccomp": {"mode":"filter","no_new_privs":false}, "start_time": "2020-06-26T12:27:27.670Z"}}}\n2020-06-26T12:27:27.957Z\tINFO\tinstance/beat.go:298\tSetup Beat: metricbeat; Version: 8.0.0\n2020-06-26T12:27:27.957Z\tDEBUG\t[beat]\tinstance/beat.go:324\tInitializing output plugins\n2020-06-26T12:27:27.957Z\tDEBUG\t[rotator]\tfile/rotator.go:175\tInitialized file rotator\t{"rotator": {"filename": "/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace/output/metricbeat", "max_size_bytes": 1024000, "max_backups": 7, "permissions": "-rw-------", "interval": 0}}\n2020-06-26T12:27:27.957Z\tINFO\t[file]\tfileout/file.go:101\tInitialized file output. path=/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace/output/metricbeat max_size_bytes=1024000 max_backups=7 permissions=-rw-------\n2020-06-26T12:27:27.958Z\tDEBUG\t[publisher]\tpipeline/consumer.go:137\tstart pipeline event consumer\n2020-06-26T12:27:27.958Z\tINFO\t[publisher]\tpipeline/module.go:113\tBeat name: beats-ci-immutable-ubuntu-1604-1593172310995020963\n2020-06-26T12:27:27.958Z\tDEBUG\t[registry.lightmodules]\tmb/lightmodules.go:262\tLight modules directory '%!d(string=/go/src/github.com/elastic/beats/metricbeat/build/system-tests/run/test_redis.Test_2.test_keyspace/module)' doesn't exist\n2020-06-26T12:27:27.958Z\tDEBUG\t[modules]\tbeater/metricbeat.go:151\tAvailable modules and metricsets: Register [ModuleFactory:[beat, docker, elasticsearch, kibana, linux, logstash, mongodb, mysql, postgresql, system, uwsgi], MetricSetFactory:[aerospike/namespace, apache/status, beat/state, beat/stats, ceph/cluster_disk, ceph/cluster_health, ceph/cluster_status, ceph/mgr_cluster_disk, ceph/mgr_cluster_health, ceph/mgr_osd_perf, ceph/mgr_osd_pool_stats, ceph/mgr_osd_tree, ceph/mgr_pool_disk, ceph/monitor_health, ceph/osd_df, ceph/osd_tree, ceph/pool_disk, consul/agent, couchbase/bucket, couchbase/cluster, couchbase/node, couchdb/server, docker/container, docker/cpu, docker/diskio, docker/event, docker/healthcheck, docker/image, docker/info, docker/memory, docker/network, dropwizard/collector, elasticsearch/ccr, elasticsearch/cluster_stats, elasticsearch/enrich, elasticsearch/index, elasticsearch/index_recovery, elasticsearch/index_summary, elasticsearch/ml_job, elasticsearch/node, elasticsearch/node_stats, elasticsearch/pending_tasks, elasticsearch/shard, envoyproxy/server, etcd/leader, etcd/metrics, etcd/self, etcd/store, golang/expvar, golang/heap, graphite/server, haproxy/info, haproxy/stat, http/json, http/server, jolokia/jmx, kafka/consumergroup, kafka/partition, kibana/stats, kibana/status, kubernetes/apiserver, kubernetes/container, kubernetes/controllermanager, kubernetes/event, kubernetes/node, kubernetes/pod, kubernetes/proxy, kubernetes/scheduler, kubernetes/state_container, kubernetes/state_cronjob, kubernetes/state_deployment, kubernetes/state_node, kubernetes/state_persistentvolume, kubernetes/state_persistentvolumeclaim, kubernetes/state_pod, kubernetes/state_replicaset, kubernetes/state_resourcequota, kubernetes/state_service, kubernetes/state_statefulset, kubernetes/state_storageclass, kubernetes/system, kubernetes/volume, kvm/dommemstat, kvm/status, linux/conntrack, linux/ksm, linux/pageinfo, logstash/node, logstash/node_stats, memcached/stats, mongodb/collstats, mongodb/dbstats, mongodb/metrics, mongodb/replstatus, mongodb/status, munin/node, mysql/galera_status, mysql/status, nats/connections, nats/routes, nats/stats, nats/subscriptions, nginx/stubstatus, php_fpm/pool, php_fpm/process, postgresql/activity, postgresql/bgwriter, postgresql/database, postgresql/statement, prometheus/collector, prometheus/query, prometheus/remote_write, rabbitmq/connection, rabbitmq/exchange, rabbitmq/node, rabbitmq/queue, redis/info, redis/key, redis/keyspace, system/core, system/cpu, system/diskio, system/entropy, system/filesystem, system/fsstat, system/load, system/memory, system/network, system/network_summary, system/process, system/process_summary, system/raid, system/service, system/socket, system/socket_summary, system/uptime, system/users, traefik/health, uwsgi/status, vsphere/datastore, vsphere/host, vsphere/virtualmachine, zookeeper/connection, zookeeper/mntr, zookeeper/server], LightModules:[LightModules:[]]]\n2020-06-26T12:27:27.959Z\tINFO\t[monitoring]\tlog/log.go:118\tStarting metrics logging every 30s\n2020-06-26T12:27:27.959Z\tINFO\tinstance/beat.go:449\tmetricbeat start running.\n2020-06-26T12:27:27.959Z\tDEBUG\t[module]\tmodule/wrapper.go:127\tStarting Wrapper[name=redis, len(metricSetWrappers)=1]\n2020-06-26T12:27:27.959Z\tDEBUG\t[module]\tmodule/wrapper.go:189\tStarting metricSetWrapper[module=redis, name=keyspace, host=192.168.128.2:6379]\n2020-06-26T12:27:27.960Z\tDEBUG\t[redis.keyspace]\tkeyspace/keyspace.go:66\tRedis INFO from 192.168.128.2:6379: map[db0:keys=1,expires=0,avg_ttl=0]\n2020-06-26T12:27:27.961Z\tDEBUG\t[processors]\tprocessing/processors.go:187\tPublish event: {\n "@timestamp": "2020-06-26T12:27:27.959Z",\n "@metadata": {\n "beat": "metricbeat",\n "type": "_doc",\n "version": "8.0.0"\n },\n "event": {\n "dataset": "redis.keyspace",\n "module": "redis",\n "duration": 1255393\n },\n "metricset": {\n "period": 5000,\n "name": "keyspace"\n },\n "service": {\n "address": "192.168.128.2:6379",\n "type": "redis"\n },\n "redis": {\n "keyspace": {\n "expires": 0,\n "id": "db0",\n "avg_ttl": 0,\n "keys": 1\n }\n },\n "ecs": {\n "version": "1.5.0"\n },\n "host": {\n "name": "beats-ci-immutable-ubuntu-1604-1593172310995020963"\n },\n "agent": {\n "type": "metricbeat",\n "version": "8.0.0",\n "ephemeral_id": "ce54ee96-c799-494f-a9f5-e9e7463f6f73",\n "id": "570413bd-321c-40eb-9159-4538df4c5f6a",\n "name": "beats-ci-immutable-ubuntu-1604-1593172310995020963"\n }\n}\n2020-06-26T12:27:28.061Z\tDEBUG\t[publisher]\tmemqueue/ackloop.go:160\tackloop: receive ack [0: 0, 1]\n2020-06-26T12:27:28.061Z\tDEBUG\t[publisher]\tmemqueue/eventloop.go:535\tbroker ACK events: count=1, start-seq=1, end-seq=1\n\n2020-06-26T12:27:28.061Z\tDEBUG\t[publisher]\tmemqueue/ackloop.go:128\tackloop: return ack to broker loop:1\n2020-06-26T12:27:28.061Z\tDEBUG\t[publisher]\tmemqueue/ackloop.go:131\tackloop: done send ack\n2020-06-26T12:27:28.074Z\tDEBUG\t[service]\tservice/service.go:54\tReceived sigterm/sigint, stopping\n2020-06-26T12:27:28.075Z\tDEBUG\t[publisher]\tpipeline/client.go:162\tclient: closing acker\n2020-06-26T12:27:28.075Z\tDEBUG\t[publisher]\tpipeline/client.go:173\tclient: done closing acker\n2020-06-26T12:27:28.075Z\tDEBUG\t[publisher]\tpipeline/client.go:176\tclient: cancelled 0 events\n2020-06-26T12:27:28.075Z\tDEBUG\t[publisher]\tpipeline/client.go:147\tclient: wait for acker to finish\n2020-06-26T12:27:28.075Z\tDEBUG\t[publisher]\tpipeline/client.go:149\tclient: acker shut down\n2020-06-26T12:27:28.075Z\tDEBUG\t[module]\tmodule/wrapper.go:214\tStopped metricSetWrapper[module=redis, name=keyspace, host=192.168.128.2:6379]\n2020-06-26T12:27:28.075Z\tDEBUG\t[module]\tmodule/wrapper.go:155\tStopped Wrapper[name=redis, len(metricSetWrappers)=1]\n2020-06-26T12:27:28.077Z\tINFO\t[monitoring]\tlog/log.go:153\tTotal non-zero metrics\t{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":60,"time":{"ms":65}},"total":{"ticks":140,"time":{"ms":145},"value":140},"user":{"ticks":80,"time":{"ms":80}}},"handles":{"limit":{"hard":1048576,"soft":1048576},"open":7},"info":{"ephemeral_id":"ce54ee96-c799-494f-a9f5-e9e7463f6f73","uptime":{"ms":186}},"memstats":{"gc_next":9321296,"memory_alloc":5016712,"memory_total":17274264,"rss":57544704},"runtime":{"goroutines":14}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"acked":1,"batches":1,"total":1},"type":"file","write":{"bytes":653}},"pipeline":{"clients":0,"events":{"active":0,"published":1,"total":1},"queue":{"acked":1}}},"system":{"cpu":{"cores":4},"load":{"1":0.99,"15":1.92,"5":1.64,"norm":{"1":0.2475,"15":0.48,"5":0.41}}}}}}\n2020-06-26T12:27:28.077Z\tINFO\t[monitoring]\tlog/log.go:154\tUptime: 187.827259ms\n2020-06-26T12:27:28.077Z\tINFO\t[monitoring]\tlog/log.go:131\tStopping metrics logging.\n2020-06-26T12:27:28.077Z\tINFO\tinstance/beat.go:455\tmetricbeat stopped.\nPASS\ncoverage: 7.6% of statements in ./...\n'
      -------------------- >> begin captured logging << --------------------
      compose.config.config: DEBUG: Using configuration files: /go/src/github.com/elastic/beats/metricbeat/module/redis/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.config.config: DEBUG: Using configuration files: /go/src/github.com/elastic/beats/metricbeat/module/redis/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
      --------------------- >> end captured logging << ---------------------

Steps errors

Expand to view the steps failures

  • Name: Mage pythonIntegTest
    • Description: mage pythonIntegTest

    • Duration: 36 min 54 sec

    • Start Time: 2020-06-26T11:53:06.785+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-26T12:46:11.785Z] + TERRAFORM_CMD=/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/bin/terraform
[2020-06-26T12:46:11.785Z] ++ tr '[:upper:]' '[:lower:]'
[2020-06-26T12:46:11.785Z] ++ uname -s
[2020-06-26T12:46:11.785Z] + OS=linux
[2020-06-26T12:46:11.785Z] + mkdir -p /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/bin
[2020-06-26T12:46:11.785Z] + curl -sSLo - https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip
[2020-06-26T12:46:12.727Z] ++ dirname /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/bin/terraform
[2020-06-26T12:46:12.727Z] + unzip -o /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/bin/terraform.zip -d /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/bin
[2020-06-26T12:46:12.727Z] Archive:  /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/bin/terraform.zip
[2020-06-26T12:46:12.988Z]   inflating: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/bin/terraform  
[2020-06-26T12:46:12.988Z] + rm /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/bin/terraform.zip
[2020-06-26T12:46:12.988Z] + chmod +x /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/bin/terraform
[2020-06-26T12:46:13.358Z] + make mage
[2020-06-26T12:46:13.358Z] Installing mage v1.9.0 from vendor dir.
[2020-06-26T12:46:14.300Z] /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/.magefile cleaned
[2020-06-26T12:46:14.634Z] + git config --get user.email
[2020-06-26T12:46:14.634Z] + [ -z  ]
[2020-06-26T12:46:14.634Z] + git config user.email [email protected]
[2020-06-26T12:46:14.634Z] + git config user.name beatsmachine
[2020-06-26T12:46:15.034Z] + .ci/scripts/terraform-cleanup.sh x-pack/metricbeat
[2020-06-26T12:46:15.034Z] + DIRECTORY=x-pack/metricbeat
[2020-06-26T12:46:15.034Z] + FAILED=0
[2020-06-26T12:46:15.034Z] ++ find x-pack/metricbeat -name terraform.tfstate
[2020-06-26T12:46:15.034Z] + exit 0
[2020-06-26T12:46:15.398Z] + curl -sSLo codecov https://codecov.io/bash
[2020-06-26T12:46:15.659Z] + FILE=auditbeat/build/coverage/full.cov
[2020-06-26T12:46:15.659Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-06-26T12:46:15.659Z] + FILE=filebeat/build/coverage/full.cov
[2020-06-26T12:46:15.659Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-06-26T12:46:15.659Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-26T12:46:15.659Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-06-26T12:46:15.659Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-26T12:46:15.659Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-06-26T12:46:15.660Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-26T12:46:15.660Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-06-26T12:46:15.660Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-26T12:46:15.660Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-26T12:46:15.660Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-26T12:46:15.660Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-26T12:46:15.660Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-26T12:46:15.660Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-26T12:46:16.167Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats
[2020-06-26T12:46:16.477Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-26T12:46:16.488Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Lint
[2020-06-26T12:46:16.570Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-26T12:46:16.649Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-26T12:46:16.726Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-26T12:46:16.798Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-06-26T12:46:16.874Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-06-26T12:46:16.957Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-06-26T12:46:17.029Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-26T12:46:17.103Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-26T12:46:17.176Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-26T12:46:17.260Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-06-26T12:46:17.619Z] + cat
[2020-06-26T12:46:17.619Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-26T12:46:17.619Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-26T12:46:24.215Z] runbld>>> runbld started
[2020-06-26T12:46:24.215Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-06-26T12:46:25.163Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-19055' in order of occurrence in the config (last value wins).
[2020-06-26T12:46:26.548Z] runbld>>> Debug logging enabled.
[2020-06-26T12:46:26.548Z] runbld>>> Storing result
[2020-06-26T12:46:26.548Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-26T12:46:26.548Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200626124626-D0425452
[2020-06-26T12:46:26.548Z] runbld>>> Adding system facts.
[2020-06-26T12:46:27.492Z] runbld>>> Adding vcs info for the latest commit:  64e3bc99ea43ae4b9b9b3cf4f5869dcb7db60d0f
[2020-06-26T12:46:27.492Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-26T12:46:27.492Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-26T12:46:27.492Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-26T12:46:27.492Z] Processing JUnit reports with runbld...
[2020-06-26T12:46:27.752Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-26T12:46:27.752Z] runbld>>> DURATION: 23ms
[2020-06-26T12:46:27.752Z] runbld>>> STDOUT: 40 bytes
[2020-06-26T12:46:27.752Z] runbld>>> STDERR: 49 bytes
[2020-06-26T12:46:27.752Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-26T12:46:27.752Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats
[2020-06-26T12:46:29.135Z] runbld>>> Storing build metadata: 
[2020-06-26T12:46:29.135Z] runbld>>> Adding test report.
[2020-06-26T12:46:29.135Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats
[2020-06-26T12:46:30.518Z] runbld>>> Found 37 test output files
[2020-06-26T12:46:30.518Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-06-26T12:46:30.518Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-06-26T12:46:30.518Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-06-26T12:46:30.518Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-06-26T12:46:30.518Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-06-26T12:46:31.462Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 4543 Skipped: 729
[2020-06-26T12:46:31.722Z] runbld>>> Storing result
[2020-06-26T12:46:31.722Z] runbld>>> FAILURES: 1
[2020-06-26T12:46:32.291Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-26T12:46:32.292Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200626124626-D0425452
[2020-06-26T12:46:32.292Z] runbld>>> Email notification disabled by environment variable.
[2020-06-26T12:46:32.292Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-26T12:46:38.004Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19055
[2020-06-26T12:46:38.214Z] [INFO] getVaultSecret: Getting secrets
[2020-06-26T12:46:38.272Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-26T12:46:39.031Z] + chmod 755 generate-build-data.sh
[2020-06-26T12:46:39.031Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19055/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19055/runs/15 FAILURE 4674214
[2020-06-26T12:46:39.031Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19055/runs/15/steps/?limit=10000 -o steps-info.json
[2020-06-26T12:46:39.582Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19055/runs/15/tests/?status=FAILED -o tests-errors.json
[2020-06-26T12:46:40.133Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19055/runs/15/log/ -o pipeline-log.txt

Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good, added some suggestions about compatibility notes, changelog and tests.

CHANGELOG.next.asciidoc Outdated Show resolved Hide resolved
CHANGELOG.next.asciidoc Outdated Show resolved Hide resolved
Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but failures in tests seem to be related.

@sayden sayden force-pushed the bugfix/mb/couchbase/change-ints-to-floating-types branch from 91d5cb6 to 4d66925 Compare June 26, 2020 09:39
Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couchbase tests passed in CI, failure (on redis test) doesn't seem related.

@sayden sayden merged commit c7f9937 into elastic:master Jun 26, 2020
@zube zube bot removed the [zube]: In Review label Jun 26, 2020
@zube zube bot added the [zube]: Done label Jun 26, 2020
sayden added a commit to sayden/beats that referenced this pull request Jun 26, 2020
@sayden sayden added the v7.9.0 label Jun 26, 2020
sayden added a commit to sayden/beats that referenced this pull request Jun 26, 2020
@sayden sayden added the v7.8.1 label Jun 26, 2020
sayden added a commit to sayden/beats that referenced this pull request Jun 26, 2020
(cherry picked from commit c7f9937)

# Conflicts:
#	metricbeat/docs/fields.asciidoc
#	metricbeat/module/couchbase/_meta/Dockerfile
#	metricbeat/module/couchbase/_meta/docs.asciidoc
#	metricbeat/module/couchbase/docker-compose.yml
#	metricbeat/module/couchbase/fields.go
#	metricbeat/module/couchbase/test_couchbase.py
sayden added a commit that referenced this pull request Jun 26, 2020
sayden added a commit that referenced this pull request Jun 26, 2020
sayden added a commit that referenced this pull request Jun 26, 2020
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
@sayden sayden deleted the bugfix/mb/couchbase/change-ints-to-floating-types branch August 25, 2022 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement Metricbeat Metricbeat Team:Services (Deprecated) Label for the former Integrations-Services team v7.8.1 v7.9.0
Projects
None yet
4 participants