Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

chore: remove golintci from checks #270

Merged
merged 1 commit into from
Sep 8, 2020

Conversation

mdelapenya
Copy link
Contributor

@mdelapenya mdelapenya commented Sep 4, 2020

What does this PR do?

We are removing any reference to golintci, plus the catchError that we previously added

Why is it important?

Because of project layout, a monorepo, the golint many times reports false positives with Go code. The usage of a (powerful) IDE, such as VSCode, where we leverage the compiler and tooling to detect lint errors, allows to remove this with certain degree of coonfidence.

  • 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 run the Unit tests for the CLI, and they are passing locally
  • I have run the End-2-End tests for the suite I'm working on, and they are passing locally
  • I have noticed new Go dependencies (run make notice in the proper directory)

Author's Checklist

  • Removed all references to golint-ci

We are removing the catchError that we previously added
@mdelapenya mdelapenya self-assigned this Sep 4, 2020
@mdelapenya mdelapenya requested a review from a team September 4, 2020 22:02
@mdelapenya mdelapenya marked this pull request as ready for review September 4, 2020 22:03
@elasticmachine
Copy link
Contributor

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #270 opened]

  • Start Time: 2020-09-04T22:02:22.583+0000

  • Duration: 21 min 42 sec

Test stats 🧪

Test Results
Failed 21
Passed 50
Skipped 9
Total 80

Test errors

Expand to view the tests failures

  • Name: Initializing / End-To-End Tests / ingest-manager_agent_endpoint_integration / Adding the Endpoint Integration to an Agent makes the host to show in Security App – Agent Endpoint Integration

    • Age: 1
    • Duration: 13.650089
    • Error Details: Step the agent is listed in Fleet as "online"
  • Name: Initializing / End-To-End Tests / ingest-manager_agent_endpoint_integration / Deploying an Endpoint makes policies to appear in the Security App – Agent Endpoint Integration

    • Age: 1
    • Duration: 7.7649126
    • Error Details: Step the policy response will be shown in the Security App
  • Name: Initializing / End-To-End Tests / ingest-manager_agent_endpoint_integration / Changing an Agent policy is reflected in the Security App – Agent Endpoint Integration

    • Age: 1
    • Duration: 7.699278
    • Error Details: Step the policy is updated to have "malware" in "detect" mode
  • Name: Initializing / End-To-End Tests / ingest-manager_agent_endpoint_integration / Un-enrolling Elastic Agent stops Elastic Endpoint – Agent Endpoint Integration

    • Age: 1
    • Duration: 6.828139
    • Error Details: Step the agent is un-enrolled
  • Name: Initializing / End-To-End Tests / ingest-manager_agent_endpoint_integration / Removing Endpoint from Agent policy stops the connected Endpoint – Agent Endpoint Integration

    • Age: 1
    • Duration: 7.273199
    • Error Details: Step the "Elastic Endpoint" integration is "removed" in the "default" policy
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Deploying the centos agent – Fleet Mode Agent

    • Age: 1
    • Duration: 13.653994
    • Error Details: Step the agent is listed in Fleet as "online"
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Deploying the debian agent – Fleet Mode Agent

    • Age: 1
    • Duration: 15.778648
    • Error Details: Step the agent is listed in Fleet as "online"
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Starting the centos agent starts backend processes – Fleet Mode Agent

    • Age: 1
    • Duration: 7.8231297
    • Error Details: Step the "filebeat" process is in the "started" state on the host
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Starting the debian agent starts backend processes – Fleet Mode Agent

    • Age: 1
    • Duration: 7.792252
    • Error Details: Step the "filebeat" process is in the "started" state on the host
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Stopping the centos agent stops backend processes – Fleet Mode Agent

    • Age: 1
    • Duration: 7.836776
    • Error Details: Step the "elastic-agent" process is "stopped" on the host
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Stopping the debian agent stops backend processes – Fleet Mode Agent

    • Age: 1
    • Duration: 7.8705482
    • Error Details: Step the "elastic-agent" process is "stopped" on the host
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Restarting the centos host with persistent agent restarts backend processes – Fleet Mode Agent

    • Age: 1
    • Duration: 7.7575164
    • Error Details: Step the host is restarted
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Restarting the debian host with persistent agent restarts backend processes – Fleet Mode Agent

    • Age: 1
    • Duration: 7.9378805
    • Error Details: Step the host is restarted
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Un-enrolling the centos agent – Fleet Mode Agent

    • Age: 1
    • Duration: 7.76774
    • Error Details: Step the agent is un-enrolled
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Un-enrolling the debian agent – Fleet Mode Agent

    • Age: 1
    • Duration: 7.807372
    • Error Details: Step the agent is un-enrolled
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Re-enrolling the centos agent – Fleet Mode Agent

    • Age: 1
    • Duration: 6.696272
    • Error Details: Step the agent is un-enrolled
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Re-enrolling the debian agent – Fleet Mode Agent

    • Age: 1
    • Duration: 8.070072
    • Error Details: Step the agent is un-enrolled
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Revoking the enrollment token for the centos agent – Fleet Mode Agent

    • Age: 1
    • Duration: 7.7575645
    • Error Details: Step the enrollment token is revoked
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Revoking the enrollment token for the debian agent – Fleet Mode Agent

    • Age: 1
    • Duration: 7.883328
    • Error Details: Step the enrollment token is revoked
  • Name: Initializing / End-To-End Tests / ingest-manager_stand_alone_mode / Starting the agent starts backend processes – Stand-alone Agent

    • Age: 1
    • Duration: 249.11641
    • Error Details: Step the "metricbeat" process is in the "started" state on the host
  • Name: Initializing / End-To-End Tests / ingest-manager_stand_alone_mode / Deploying a stand-alone agent – Stand-alone Agent

    • Age: 1
    • Duration: 182.08969
    • Error Details: Step there is new data in the index from agent: Not enough hits in the index yet. Current: 1, Desired: 50

Steps errors

Expand to view the steps failures

  • Name: Run functional tests for ingest-manager:agent_endpoint_integration

    • Description:

    • Duration: 6 min 32 sec

    • Start Time: 2020-09-04T22:09:57.471+0000

    • log

  • Name: Error signal

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-04T22:15:29.351+0000

    • log

  • Name: General Build Step

    • Description: [2020-09-04T22:15:30.086Z] Archiving artifacts
      hudson.AbortException: script returned exit code 1

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-04T22:15:30.074+0000

    • log

  • Name: Run functional tests for ingest-manager:stand_alone_mode

    • Description:

    • Duration: 12 min 31 sec

    • Start Time: 2020-09-04T22:09:56.644+0000

    • log

  • Name: Error signal

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-04T22:21:27.516+0000

    • log

  • Name: General Build Step

    • Description: [2020-09-04T22:21:28.000Z] Archiving artifacts
      hudson.AbortException: script returned exit code 1

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-04T22:21:27.988+0000

    • log

  • Name: Run functional tests for ingest-manager:fleet_mode

    • Description:

    • Duration: 8 min 45 sec

    • Start Time: 2020-09-04T22:10:01.094+0000

    • log

  • Name: Error signal

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-04T22:17:46.428+0000

    • log

  • Name: General Build Step

    • Description: [2020-09-04T22:17:46.927Z] Archiving artifacts
      hudson.AbortException: script returned exit code 1

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-04T22:17:46.915+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-04T22:21:54.963Z] metricbeat_1     | 2020-09-04T22:21:53.911Z	INFO	instance/beat.go:647	Home path: [/usr/share/metricbeat] Config path: [/usr/share/metricbeat] Data path: [/usr/share/metricbeat/data] Logs path: [/usr/share/metricbeat/logs]
[2020-09-04T22:21:54.963Z] metricbeat_1     | 2020-09-04T22:21:53.911Z	DEBUG	[beat]	instance/beat.go:699	Beat metadata path: /usr/share/metricbeat/data/meta.json
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.918Z	INFO	instance/beat.go:655	Beat ID: a5fe3ee9-0459-4295-99c2-c40c3e48cc89
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.918Z	DEBUG	[seccomp]	seccomp/seccomp.go:117	Loading syscall filter	{"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"}]}}}
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.919Z	INFO	[seccomp]	seccomp/seccomp.go:124	Syscall filter successfully installed
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.919Z	INFO	[beat]	instance/beat.go:983	Beat info	{"system_info": {"beat": {"path": {"config": "/usr/share/metricbeat", "data": "/usr/share/metricbeat/data", "home": "/usr/share/metricbeat", "logs": "/usr/share/metricbeat/logs"}, "type": "metricbeat", "uuid": "a5fe3ee9-0459-4295-99c2-c40c3e48cc89"}}}
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.919Z	INFO	[beat]	instance/beat.go:992	Build info	{"system_info": {"build": {"commit": "f79387d32717d79f689d94fda1ec80b2cf285d30", "libbeat": "7.8.0", "time": "2020-06-14T18:20:03.000Z", "version": "7.8.0"}}}
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.919Z	INFO	[beat]	instance/beat.go:995	Go runtime info	{"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":4,"version":"go1.13.10"}}}
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.920Z	INFO	[beat]	instance/beat.go:999	Host info	{"system_info": {"host": {"architecture":"x86_64","boot_time":"2020-09-04T22:09:00Z","containerized":true,"name":"bb5a1f1ae5f8","ip":["127.0.0.1/8","172.18.0.4/16"],"kernel_version":"5.4.0-1022-gcp","mac":["02:42:ac:12:00:04"],"os":{"family":"redhat","platform":"centos","name":"CentOS Linux","version":"7 (Core)","major":7,"minor":8,"patch":2003,"codename":"Core"},"timezone":"UTC","timezone_offset_sec":0,"id":"83a8f1f835d84a9a9bf5417cecaf0c8e"}}}
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.921Z	INFO	[beat]	instance/beat.go:1028	Process info	{"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":null,"effective":null,"bounding":["chown","dac_override","fowner","fsetid","kill","setgid","setuid","setpcap","net_bind_service","net_raw","sys_chroot","mknod","audit_write","setfcap"],"ambient":null}, "cwd": "/usr/share/metricbeat", "exe": "/usr/share/metricbeat/metricbeat", "name": "metricbeat", "pid": 1, "ppid": 0, "seccomp": {"mode":"filter","no_new_privs":true}, "start_time": "2020-09-04T22:21:52.660Z"}}}
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.921Z	INFO	instance/beat.go:310	Setup Beat: metricbeat; Version: 7.8.0
[2020-09-04T22:21:54.964Z] metricbeat_1     | 2020-09-04T22:21:53.921Z	DEBUG	[beat]	instance/beat.go:336	Initializing output plugins
[2020-09-04T22:21:54.965Z] metricbeat_1     | 2020-09-04T22:21:53.921Z	INFO	[index-management]	idxmgmt/std.go:183	Set output.elasticsearch.index to 'metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama' as ILM is enabled.
[2020-09-04T22:21:54.965Z] metricbeat_1     | 2020-09-04T22:21:53.921Z	INFO	eslegclient/connection.go:97	elasticsearch url: http://elasticsearch:9200
[2020-09-04T22:21:54.965Z] metricbeat_1     | 2020-09-04T22:21:53.922Z	DEBUG	[publisher]	pipeline/consumer.go:137	start pipeline event consumer
[2020-09-04T22:21:54.965Z] metricbeat_1     | 2020-09-04T22:21:53.922Z	INFO	[publisher]	pipeline/module.go:113	Beat name: bb5a1f1ae5f8
[2020-09-04T22:21:54.965Z] metricbeat_1     | 2020-09-04T22:21:53.945Z	DEBUG	[modules]	beater/metricbeat.go:151	Available modules and metricsets: Register [ModuleFactory:[aws, azure, beat, cloudfoundry, docker, elasticsearch, kibana, linux, logstash, mongodb, mssql, mysql, oracle, postgresql, system, uwsgi], MetricSetFactory:[aerospike/namespace, apache/status, appsearch/stats, aws/cloudwatch, aws/ec2, aws/rds, aws/s3_daily_storage, aws/s3_request, aws/sqs, azure/compute_vm, azure/compute_vm_scaleset, azure/monitor, azure/storage, 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, cloudfoundry/container, cloudfoundry/counter, cloudfoundry/value, consul/agent, coredns/stats, 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, googlecloud/stackdriver, graphite/server, haproxy/info, haproxy/stat, http/json, http/server, istio/citadel, istio/galley, istio/mesh, istio/mixer, istio/pilot, 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, mssql/performance, mssql/transaction_log, munin/node, mysql/galera_status, mysql/status, nats/connections, nats/routes, nats/stats, nats/subscriptions, nginx/stubstatus, openmetrics/collector, oracle/performance, oracle/tablespace, 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, sql/query, stan/channels, stan/stats, stan/subscriptions, statsd/server, 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:[aws/transitgateway, aws/elb, aws/ebs, aws/usage, aws/sns, aws/lambda, aws/dynamodb, aws/billing, aws/vpn, aws/natgateway, iis/webserver, iis/website, tomcat/requests, tomcat/cache, tomcat/threading, tomcat/memory, activemq/broker, activemq/queue, activemq/topic, ibmmq/qmgr, kafka/producer, kafka/consumer, kafka/broker, redisenterprise/node, redisenterprise/proxy, googlecloud/compute, googlecloud/pubsub, googlecloud/loadbalancing, googlecloud/storage, azure/container_registry, azure/container_instance, azure/container_service, azure/database_account, cockroachdb/status]]]
[2020-09-04T22:21:54.965Z] metricbeat_1     | 2020-09-04T22:21:53.946Z	INFO	[monitoring]	log/log.go:118	Starting metrics logging every 30s
[2020-09-04T22:21:54.965Z] metricbeat_1     | 2020-09-04T22:21:53.946Z	INFO	instance/beat.go:463	metricbeat start running.
[2020-09-04T22:21:54.965Z] metricbeat_1     | 2020-09-04T22:21:53.946Z	DEBUG	[module]	module/wrapper.go:127	Starting Wrapper[name=mysql, len(metricSetWrappers)=1]
[2020-09-04T22:21:54.965Z] metricbeat_1     | 2020-09-04T22:21:53.946Z	DEBUG	[module]	module/wrapper.go:181	mysql/status will start after 9.33949048s
[2020-09-04T22:21:54.965Z] time="2020-09-04T22:21:54Z" level=debug msg="Docker compose executed." cmd="[logs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/.op/compose/services/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false indexName:metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/src/github.com/elastic/e2e-testing/e2e/_suites/metricbeat/configurations/mysql.yml metricbeatTag:7.8.0 mysqlTag:8.0.13-4 serviceName:mysql stackVersion:7.8.0]" profile=metricbeat
[2020-09-04T22:22:16.944Z] time="2020-09-04T22:22:14Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:16.944Z] time="2020-09-04T22:22:14Z" level=debug msg="Response information" hits=1 status="200 OK" took=2
[2020-09-04T22:22:16.944Z] time="2020-09-04T22:22:14Z" level=warning msg="Waiting for more hits in the index" currentHits=1 desiredHits=5 elapsedTime=7.789713ms index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama retry=1
[2020-09-04T22:22:16.944Z] time="2020-09-04T22:22:15Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:16.944Z] time="2020-09-04T22:22:15Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2020-09-04T22:22:16.944Z] time="2020-09-04T22:22:15Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=730.484421ms index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama retry=2
[2020-09-04T22:22:16.945Z] time="2020-09-04T22:22:16Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:16.945Z] time="2020-09-04T22:22:16Z" level=debug msg="Response information" hits=2 status="200 OK" took=1
[2020-09-04T22:22:16.945Z] time="2020-09-04T22:22:16Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=1.978301955s index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama retry=3
[2020-09-04T22:22:19.494Z] time="2020-09-04T22:22:19Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:19.495Z] time="2020-09-04T22:22:19Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2020-09-04T22:22:19.495Z] time="2020-09-04T22:22:19Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=4.586569915s index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama retry=4
[2020-09-04T22:22:24.789Z] time="2020-09-04T22:22:23Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:24.789Z] time="2020-09-04T22:22:24Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2020-09-04T22:22:24.789Z] time="2020-09-04T22:22:24Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=9.514881318s index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama retry=5
[2020-09-04T22:22:28.094Z] time="2020-09-04T22:22:27Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:28.094Z] time="2020-09-04T22:22:27Z" level=debug msg="Response information" hits=3 status="200 OK" took=2
[2020-09-04T22:22:28.094Z] time="2020-09-04T22:22:27Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=12.937572455s index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama retry=6
[2020-09-04T22:22:32.319Z] time="2020-09-04T22:22:32Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:32.319Z] time="2020-09-04T22:22:32Z" level=debug msg="Response information" hits=3 status="200 OK" took=2
[2020-09-04T22:22:32.320Z] time="2020-09-04T22:22:32Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=17.585235882s index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama retry=7
[2020-09-04T22:22:40.537Z] time="2020-09-04T22:22:39Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:40.537Z] time="2020-09-04T22:22:39Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2020-09-04T22:22:40.537Z] time="2020-09-04T22:22:39Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=24.578219743s index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama retry=8
[2020-09-04T22:22:45.832Z] time="2020-09-04T22:22:44Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:45.832Z] time="2020-09-04T22:22:44Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2020-09-04T22:22:45.832Z] time="2020-09-04T22:22:44Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=30.499750442s index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama retry=9
[2020-09-04T22:22:52.424Z] time="2020-09-04T22:22:52Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:52.424Z] time="2020-09-04T22:22:52Z" level=debug msg="Response information" hits=5 status="200 OK" took=3
[2020-09-04T22:22:52.424Z] time="2020-09-04T22:22:52Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=37.90309241s retries=10
[2020-09-04T22:22:52.424Z] time="2020-09-04T22:22:52Z" level=debug msg="Elasticsearch query" index=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama query="map[query:map[bool:map[must:[map[match:map[event.module:mysql]]]]]]"
[2020-09-04T22:22:52.424Z] time="2020-09-04T22:22:52Z" level=debug msg="Response information" hits=5 status="200 OK" took=1
[2020-09-04T22:22:52.424Z] time="2020-09-04T22:22:52Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=5.798341ms retries=1
[2020-09-04T22:22:52.999Z] Stopping metricbeat_metricbeat_1 ... 
[2020-09-04T22:22:53.572Z] 
Stopping metricbeat_metricbeat_1 ... done
Removing metricbeat_metricbeat_1 ... 
[2020-09-04T22:22:53.572Z] 
Removing metricbeat_metricbeat_1 ... done
Going to remove metricbeat_metricbeat_1
[2020-09-04T22:22:53.572Z] time="2020-09-04T22:22:53Z" level=debug msg="Docker compose executed." cmd="[rm -fvs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false indexName:metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/src/github.com/elastic/e2e-testing/e2e/_suites/metricbeat/configurations/mysql.yml metricbeatTag:7.8.0 mysqlTag:8.0.13-4 serviceName:mysql stackVersion:7.8.0]" profile=metricbeat
[2020-09-04T22:22:53.572Z] time="2020-09-04T22:22:53Z" level=debug msg="Service removed from compose" profile=metricbeat service=metricbeat
[2020-09-04T22:22:54.147Z] Stopping metricbeat_mysql_1 ... 
[2020-09-04T22:22:57.455Z] 
Stopping metricbeat_mysql_1 ... done
Removing metricbeat_mysql_1 ... 
[2020-09-04T22:22:57.455Z] 
Removing metricbeat_mysql_1 ... done
Going to remove metricbeat_mysql_1
[2020-09-04T22:22:57.455Z] time="2020-09-04T22:22:57Z" level=debug msg="Docker compose executed." cmd="[rm -fvs mysql]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false indexName:metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/src/github.com/elastic/e2e-testing/e2e/_suites/metricbeat/configurations/mysql.yml metricbeatTag:7.8.0 mysqlTag:8.0.13-4 serviceName:mysql stackVersion:7.8.0]" profile=metricbeat
[2020-09-04T22:22:57.455Z] time="2020-09-04T22:22:57Z" level=debug msg="Service removed from compose" profile=metricbeat service=mysql
[2020-09-04T22:22:57.455Z] time="2020-09-04T22:22:57Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama status="400 Bad Request"
[2020-09-04T22:22:57.455Z] time="2020-09-04T22:22:57Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama status="400 Bad Request"
[2020-09-04T22:22:58.029Z] Stopping metricbeat_elasticsearch_1 ... 
[2020-09-04T22:22:59.421Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2020-09-04T22:22:59.421Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2020-09-04T22:22:59.422Z] time="2020-09-04T22:22:59Z" level=debug msg="Docker compose executed." cmd="[down]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false indexName:metricbeat-7.8.0-mysql-percona-8.0.13-4-issh6ama logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270/src/github.com/elastic/e2e-testing/e2e/_suites/metricbeat/configurations/mysql.yml metricbeatTag:7.8.0 mysqlTag:8.0.13-4 serviceName:mysql stackVersion:7.8.0]" profile=metricbeat
[2020-09-04T22:22:59.422Z] <?xml version="1.0" encoding="UTF-8"?>
[2020-09-04T22:22:59.422Z] <testsuites name="main" tests="7" skipped="0" failures="0" errors="0" time="661.36936252">
[2020-09-04T22:22:59.422Z]   <testsuite name="Apache" tests="0" skipped="0" failures="0" errors="0" time="0"></testsuite>
[2020-09-04T22:22:59.422Z]   <testsuite name="Metricbeat" tests="0" skipped="0" failures="0" errors="0" time="0"></testsuite>
[2020-09-04T22:22:59.422Z]   <testsuite name="Mysql" tests="7" skipped="0" failures="0" errors="0" time="612.99381691">
[2020-09-04T22:22:59.422Z]     <testcase name="Check MariaDB-10.2.23 is sending metrics to Elasticsearch without errors" status="passed" time="84.316550594"></testcase>
[2020-09-04T22:22:59.422Z]     <testcase name="Check MariaDB-10.3.14 is sending metrics to Elasticsearch without errors" status="passed" time="80.148731687"></testcase>
[2020-09-04T22:22:59.422Z]     <testcase name="Check MariaDB-10.4.4 is sending metrics to Elasticsearch without errors" status="passed" time="83.042951566"></testcase>
[2020-09-04T22:22:59.422Z]     <testcase name="Check MySQL-5.7.12 is sending metrics to Elasticsearch without errors" status="passed" time="77.528375487"></testcase>
[2020-09-04T22:22:59.422Z]     <testcase name="Check MySQL-8.0.13 is sending metrics to Elasticsearch without errors" status="passed" time="79.53690538"></testcase>
[2020-09-04T22:22:59.422Z]     <testcase name="Check Percona-5.7.24 is sending metrics to Elasticsearch without errors" status="passed" time="90.057263827"></testcase>
[2020-09-04T22:22:59.422Z]     <testcase name="Check Percona-8.0.13-4 is sending metrics to Elasticsearch without errors" status="passed" time="95.371542935"></testcase>
[2020-09-04T22:22:59.422Z]   </testsuite>
[2020-09-04T22:22:59.422Z]   <testsuite name="Redis" tests="0" skipped="0" failures="0" errors="0" time="0"></testsuite>
[2020-09-04T22:22:59.422Z]   <testsuite name="vSphere" tests="0" skipped="0" failures="0" errors="0" time="0"></testsuite>
[2020-09-04T22:22:59.422Z] </testsuites>+ sed -e 's/^[ \t]*//; s#>.*failed$#>#g' outputs/TEST-metricbeat-mysql
[2020-09-04T22:22:59.422Z] + grep -E '^<.*>$'
[2020-09-04T22:22:59.422Z] + exit 0
[2020-09-04T22:22:59.560Z] Recording test results
[2020-09-04T22:23:00.368Z] Archiving artifacts
[2020-09-04T22:23:02.152Z] Stage "Release" skipped due to earlier failure(s)
[2020-09-04T22:23:03.485Z] Running on worker-395930 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-270
[2020-09-04T22:23:03.566Z] [INFO] getVaultSecret: Getting secrets
[2020-09-04T22:23:03.671Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-04T22:23:05.951Z] + chmod 755 generate-build-data.sh
[2020-09-04T22:23:05.951Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-270/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-270/runs/1 FAILURE 1241926
[2020-09-04T22:23:05.951Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-270/runs/1/steps/?limit=10000 -o steps-info.json
[2020-09-04T22:23:15.297Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-270/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-09-04T22:23:16.008Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-270/runs/1/log/ -o pipeline-log.txt

@mdelapenya mdelapenya merged commit 4e06d2b into elastic:master Sep 8, 2020
@mdelapenya mdelapenya deleted the skip-golintci branch September 8, 2020 06:41
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Sep 8, 2020
We are removing the catchError that we previously added
mdelapenya added a commit that referenced this pull request Sep 8, 2020
We are removing the catchError that we previously added
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants