Skip to content

Instantly share code, notes, and snippets.

@v1v
Created July 9, 2020 14:20
Show Gist options
  • Save v1v/eac48c1ccd86f68f54c0a8f9302f8abb to your computer and use it in GitHub Desktop.
Save v1v/eac48c1ccd86f68f54c0a8f9302f8abb to your computer and use it in GitHub Desktop.
[elastic-agent] in windows got some flakiness tests for TestActionStore/TestReplaceOrRollbackStore/TestDiskStore
14:42:17
14:42:17 C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19773\src\github.com\elastic\beats\x-pack\elastic-agent>mage build unitTest
14:42:59 go version go1.13.10 windows/amd64
14:42:59 set GO111MODULE=
14:42:59 set GOARCH=amd64
14:42:59 set GOBIN=
14:42:59 set GOCACHE=C:\Users\jenkins.PACKER-5D9FFF00\AppData\Local\go-build
14:42:59 set GOENV=C:\Users\jenkins.PACKER-5D9FFF00\AppData\Roaming\go\env
14:42:59 set GOEXE=.exe
14:42:59 set GOFLAGS=
14:42:59 set GOHOSTARCH=amd64
14:42:59 set GOHOSTOS=windows
14:42:59 set GONOPROXY=
14:42:59 set GONOSUMDB=
14:42:59 set GOOS=windows
14:42:59 set GOPATH=C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19773
14:42:59 set GOPRIVATE=
14:42:59 set GOPROXY=https://proxy.golang.org,direct
14:42:59 set GOROOT=C:\Users\jenkins.PACKER-5D9FFF00\.gvm\versions\go1.13.10.windows.amd64
14:42:59 set GOSUMDB=sum.golang.org
14:42:59 set GOTMPDIR=
14:42:59 set GOTOOLDIR=C:\Users\jenkins.PACKER-5D9FFF00\.gvm\versions\go1.13.10.windows.amd64\pkg\tool\windows_amd64
14:42:59 set GCCGO=gccgo
14:42:59 set AR=ar
14:42:59 set CC=gcc
14:42:59 set CXX=g++
14:42:59 set CGO_ENABLED=1
14:42:59 set GOMOD=C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19773\src\github.com\elastic\beats\go.mod
14:42:59 set CGO_CFLAGS=-g -O2
14:42:59 set CGO_CPPFLAGS=
14:42:59 set CGO_CXXFLAGS=-g -O2
14:42:59 set CGO_FFLAGS=-g -O2
14:42:59 set CGO_LDFLAGS=-g -O2
14:42:59 set PKG_CONFIG=pkg-config
14:42:59 set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build258926374=/tmp/go-build -gno-record-gcc-switches
14:42:59 >> build: Building elastic-agent
14:43:17 go: downloading github.com/stretchr/testify v1.6.1
14:43:17 go: downloading github.com/google/go-cmp v0.4.0
14:43:17 go: extracting github.com/stretchr/testify v1.6.1
14:43:17 go: extracting github.com/google/go-cmp v0.4.0
14:43:17 go: downloading github.com/davecgh/go-spew v1.1.1
14:43:17 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
14:43:17 go: downloading github.com/pmezard/go-difflib v1.0.0
14:43:17 go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
14:43:17 go: extracting github.com/pmezard/go-difflib v1.0.0
14:43:17 go: extracting github.com/davecgh/go-spew v1.1.1
14:43:17 go: extracting golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
14:43:17 go: extracting gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
14:43:17 go: finding github.com/stretchr/testify v1.6.1
14:43:17 go: finding github.com/pmezard/go-difflib v1.0.0
14:43:17 go: finding github.com/davecgh/go-spew v1.1.1
14:43:17 go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
14:43:17 go: finding github.com/google/go-cmp v0.4.0
14:43:17 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
14:43:55 === RUN TestSystem
14:43:55 --- PASS: TestSystem (0.00s)
14:43:55 PASS
14:43:55 coverage: 0.0% of statements
14:43:55 ok github.com/elastic/beats/v7/x-pack/elastic-agent 1.295s coverage: 0.0% of statements
14:43:55 ? github.com/elastic/beats/v7/x-pack/elastic-agent/dev-tools/cmd/buildfleetcfg [no test files]
14:43:55 ? github.com/elastic/beats/v7/x-pack/elastic-agent/dev-tools/cmd/buildspec [no test files]
14:43:55 ? github.com/elastic/beats/v7/x-pack/elastic-agent/dev-tools/cmd/fakewebapi [no test files]
14:44:22 === RUN TestActionDispatcher
14:44:22 === RUN TestActionDispatcher/Success_to_dispatch_multiples_events
14:44:22 === RUN TestActionDispatcher/Unknown_action_are_caught_by_the_unknown_handler
14:44:22 2020-07-09 13:43:58.6731759 +0000 GMT m=+0.117176101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:43:58.6741534 +0000 GMT m=+0.118153601 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestActionDispatcher/Could_not_register_two_handlers_on_the_same_action
14:44:22 --- PASS: TestActionDispatcher (0.03s)
14:44:22 --- PASS: TestActionDispatcher/Success_to_dispatch_multiples_events (0.01s)
14:44:22 --- PASS: TestActionDispatcher/Unknown_action_are_caught_by_the_unknown_handler (0.01s)
14:44:22 --- PASS: TestActionDispatcher/Could_not_register_two_handlers_on_the_same_action (0.00s)
14:44:22 === RUN TestActionStore
14:44:22 === RUN TestActionStore/action_returns_empty_when_no_action_is_saved_on_disk
14:44:22 === RUN TestActionStore/will_discard_silently_unknown_action
14:44:22 === RUN TestActionStore/can_save_to_disk_known_action_type
14:44:22 === RUN TestActionStore/when_we_ACK_we_save_to_disk
14:44:22 --- FAIL: TestActionStore (0.04s)
14:44:22 --- PASS: TestActionStore/action_returns_empty_when_no_action_is_saved_on_disk (0.00s)
14:44:22 --- PASS: TestActionStore/will_discard_silently_unknown_action (0.00s)
14:44:22 --- FAIL: TestActionStore/can_save_to_disk_known_action_type (0.01s)
14:44:22 action_store_test.go:75:
14:44:22 Error Trace: action_store_test.go:75
14:44:22 action_store_test.go:29
14:44:22 Error: Received unexpected error:
14:44:22 could not replace target file C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store379160453\config.yml: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store379160453\config.yml.tmp C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store379160453\config.yml: Access is denied.
14:44:22 Test: TestActionStore/can_save_to_disk_known_action_type
14:44:22 --- FAIL: TestActionStore/when_we_ACK_we_save_to_disk (0.01s)
14:44:22 action_store_test.go:101:
14:44:22 Error Trace: action_store_test.go:101
14:44:22 action_store_test.go:29
14:44:22 Error: Received unexpected error:
14:44:22 could not replace target file C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store932123936\config.yml: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store932123936\config.yml.tmp C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store932123936\config.yml: Access is denied.
14:44:22 Test: TestActionStore/when_we_ACK_we_save_to_disk
14:44:22 === RUN TestConfig
14:44:22 === RUN TestConfig/succeed_when_local_mode_is_selected
14:44:22 === RUN TestConfig/succeed_when_fleet_mode_is_selected
14:44:22 === RUN TestConfig/fails_on_unknown_mode
14:44:22 === RUN TestConfig/only_accept_positive_period
14:44:22 --- PASS: TestConfig (0.00s)
14:44:22 --- PASS: TestConfig/succeed_when_local_mode_is_selected (0.00s)
14:44:22 --- PASS: TestConfig/succeed_when_fleet_mode_is_selected (0.00s)
14:44:22 --- PASS: TestConfig/fails_on_unknown_mode (0.00s)
14:44:22 --- PASS: TestConfig/only_accept_positive_period (0.00s)
14:44:22 === RUN TestEnroll
14:44:22 === RUN TestEnroll/fail_to_save_is_propagated
14:44:22 === RUN TestEnroll/successfully_enroll_with_TLS_and_save_access_api_key_in_the_store
14:44:22 === RUN TestEnroll/successfully_enroll_when_a_slash_is_defined_at_the_end_of_host
14:44:22 === RUN TestEnroll/successfully_enroll_without_TLS_and_save_access_api_key_in_the_store
14:44:22 === RUN TestEnroll/fail_to_enroll_without_TLS
14:44:22 --- PASS: TestEnroll (8.73s)
14:44:22 --- PASS: TestEnroll/fail_to_save_is_propagated (4.93s)
14:44:22 --- PASS: TestEnroll/successfully_enroll_with_TLS_and_save_access_api_key_in_the_store (3.74s)
14:44:22 --- PASS: TestEnroll/successfully_enroll_when_a_slash_is_defined_at_the_end_of_host (0.02s)
14:44:22 --- PASS: TestEnroll/successfully_enroll_without_TLS_and_save_access_api_key_in_the_store (0.02s)
14:44:22 --- PASS: TestEnroll/fail_to_enroll_without_TLS (0.01s)
14:44:22 === RUN TestAcker
14:44:22 --- PASS: TestAcker (0.01s)
14:44:22 === RUN TestFleetGateway
14:44:22 === RUN TestFleetGateway/send_no_event_and_receive_no_action
14:44:22 2020-07-09 13:44:07.4712255 +0000 GMT m=+8.915225701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestFleetGateway/Successfully_connects_and_receives_a_series_of_actions
14:44:22 2020-07-09 13:44:07.481014 +0000 GMT m=+8.925014201 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:07.4829513 +0000 GMT m=+8.926951501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:07.4858896 +0000 GMT m=+8.929889801 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestFleetGateway/Periodically_communicates_with_Fleet
14:44:22 2020-07-09 13:44:07.4956465 +0000 GMT m=+8.939646701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:07.4976172 +0000 GMT m=+8.941617401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:07.5005283 +0000 GMT m=+8.944528501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:07.5102872 +0000 GMT m=+8.954287401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:08.4965391 +0000 GMT m=+9.940539301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:08.5063174 +0000 GMT m=+9.950317601 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:09.5208577 +0000 GMT m=+10.964857901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:09.5462682 +0000 GMT m=+10.990268401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:10.4963722 +0000 GMT m=+11.940372401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:10.5051798 +0000 GMT m=+11.949180001 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:11.4962735 +0000 GMT m=+12.940273701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestFleetGateway/send_event_and_receive_no_action
14:44:22 2020-07-09 13:44:11.5060428 +0000 GMT m=+12.950043001 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:11.5070229 +0000 GMT m=+12.951023101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:11.5099468 +0000 GMT m=+12.953947001 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestFleetGateway/Test_the_wait_loop_is_interruptible
14:44:22 2020-07-09 13:44:11.5197137 +0000 GMT m=+12.963713901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:11.5206895 +0000 GMT m=+12.964689701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:11.5236369 +0000 GMT m=+12.967637101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 --- PASS: TestFleetGateway (4.07s)
14:44:22 --- PASS: TestFleetGateway/send_no_event_and_receive_no_action (0.01s)
14:44:22 --- PASS: TestFleetGateway/Successfully_connects_and_receives_a_series_of_actions (0.01s)
14:44:22 --- PASS: TestFleetGateway/Periodically_communicates_with_Fleet (4.01s)
14:44:22 --- PASS: TestFleetGateway/send_event_and_receive_no_action (0.01s)
14:44:22 --- PASS: TestFleetGateway/Test_the_wait_loop_is_interruptible (0.01s)
14:44:22 === RUN TestRetriesOnFailures
14:44:22 === RUN TestRetriesOnFailures/When_the_gateway_fails_to_communicate_with_the_checkin_API_we_will_retry
14:44:22 2020-07-09 13:44:11.5324041 +0000 GMT m=+12.976404301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:11.5333978 +0000 GMT m=+12.977398001 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:11.5382642 +0000 GMT m=+12.982264401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:11.5470539 +0000 GMT m=+12.991054101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:12.8428663 +0000 GMT m=+14.286866501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:15.4012069 +0000 GMT m=+16.845207101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.0582131 +0000 GMT m=+19.502213301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.0591956 +0000 GMT m=+19.503195801 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestRetriesOnFailures/The_retry_loop_is_interruptible
14:44:22 2020-07-09 13:44:18.0669998 +0000 GMT m=+19.511000001 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 --- PASS: TestRetriesOnFailures (6.55s)
14:44:22 --- PASS: TestRetriesOnFailures/When_the_gateway_fails_to_communicate_with_the_checkin_API_we_will_retry (6.53s)
14:44:22 --- PASS: TestRetriesOnFailures/The_retry_loop_is_interruptible (0.02s)
14:44:22 === RUN TestPolicyChange
14:44:22 === RUN TestPolicyChange/Receive_a_config_change_and_successfully_emits_a_raw_configuration
14:44:22 2020-07-09 13:44:18.089467 +0000 GMT m=+19.533467201 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.0904332 +0000 GMT m=+19.534433401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestPolicyChange/Receive_a_config_and_fail_to_emits_a_raw_configuration
14:44:22 2020-07-09 13:44:18.0933617 +0000 GMT m=+19.537361901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1041034 +0000 GMT m=+19.548103601 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 --- PASS: TestPolicyChange (0.03s)
14:44:22 --- PASS: TestPolicyChange/Receive_a_config_change_and_successfully_emits_a_raw_configuration (0.00s)
14:44:22 --- PASS: TestPolicyChange/Receive_a_config_and_fail_to_emits_a_raw_configuration (0.01s)
14:44:22 === RUN TestPolicyAcked
14:44:22 === RUN TestPolicyAcked/Config_change_should_not_ACK_on_error
14:44:22 2020-07-09 13:44:18.1099577 +0000 GMT m=+19.553957901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1109335 +0000 GMT m=+19.554933701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestPolicyAcked/Config_change_should_ACK
14:44:22 2020-07-09 13:44:18.1129387 +0000 GMT m=+19.556938901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1158216 +0000 GMT m=+19.559821801 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 --- PASS: TestPolicyAcked (0.01s)
14:44:22 --- PASS: TestPolicyAcked/Config_change_should_not_ACK_on_error (0.00s)
14:44:22 --- PASS: TestPolicyAcked/Config_change_should_ACK (0.00s)
14:44:22 === RUN TestLazyAcker
14:44:22 --- PASS: TestLazyAcker (0.00s)
14:44:22 === RUN TestAppLocker
14:44:22 --- PASS: TestAppLocker (0.00s)
14:44:22 === RUN TestManagedModeRouting
14:44:22 2020-07-09 13:44:18.1324197 +0000 GMT m=+19.576419901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1392679 +0000 GMT m=+19.583268101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1519472 +0000 GMT m=+19.595947401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1548891 +0000 GMT m=+19.598889301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1568422 +0000 GMT m=+19.600842401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1578167 +0000 GMT m=+19.601816901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1783252 +0000 GMT m=+19.622325401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1792902 +0000 GMT m=+19.623290401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1802734 +0000 GMT m=+19.624273601 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 --- PASS: TestManagedModeRouting (0.06s)
14:44:22 === RUN TestMonitoringInjection
14:44:22 --- PASS: TestMonitoringInjection (0.00s)
14:44:22 === RUN TestMonitoringInjectionDefaults
14:44:22 --- PASS: TestMonitoringInjectionDefaults (0.00s)
14:44:22 === RUN TestMonitoringInjectionDisabled
14:44:22 --- PASS: TestMonitoringInjectionDisabled (0.00s)
14:44:22 === RUN TestRouter
14:44:22 === RUN TestRouter/create_new_and_destroy_unused_stream
14:44:22 2020-07-09 13:44:18.189059 +0000 GMT m=+19.633059201 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1900409 +0000 GMT m=+19.634041101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1910099 +0000 GMT m=+19.635010101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1919892 +0000 GMT m=+19.635989401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.1929639 +0000 GMT m=+19.636964101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestRouter/multiples_create_new_and_destroy_unused_stream
14:44:22 2020-07-09 13:44:18.1988249 +0000 GMT m=+19.642825101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.199799 +0000 GMT m=+19.643799201 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2007742 +0000 GMT m=+19.644774401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2027235 +0000 GMT m=+19.646723701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2037161 +0000 GMT m=+19.647716301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2046953 +0000 GMT m=+19.648695501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2056542 +0000 GMT m=+19.649654401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2066323 +0000 GMT m=+19.650632501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2076093 +0000 GMT m=+19.651609501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2085943 +0000 GMT m=+19.652594501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2095655 +0000 GMT m=+19.653565701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestRouter/create_new_and_delegate_program_to_existing_stream
14:44:22 2020-07-09 13:44:18.2154211 +0000 GMT m=+19.659421301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2164003 +0000 GMT m=+19.660400501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2173726 +0000 GMT m=+19.661372801 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 === RUN TestRouter/when_no_stream_are_detected_we_shutdown_all_the_running_streams
14:44:22 2020-07-09 13:44:18.2232283 +0000 GMT m=+19.667228501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2242074 +0000 GMT m=+19.668207601 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2261637 +0000 GMT m=+19.670163901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2349523 +0000 GMT m=+19.678952501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2359272 +0000 GMT m=+19.679927401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2876821 +0000 GMT m=+19.731682301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2896503 +0000 GMT m=+19.733650501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.2906243 +0000 GMT m=+19.734624501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 2020-07-09 13:44:18.292582 +0000 GMT m=+19.736582201 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b367\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:22 --- PASS: TestRouter (0.11s)
14:44:22 --- PASS: TestRouter/create_new_and_destroy_unused_stream (0.01s)
14:44:22 --- PASS: TestRouter/multiples_create_new_and_destroy_unused_stream (0.02s)
14:44:22 --- PASS: TestRouter/create_new_and_delegate_program_to_existing_stream (0.01s)
14:44:22 --- PASS: TestRouter/when_no_stream_are_detected_we_shutdown_all_the_running_streams (0.07s)
14:44:22 FAIL
14:44:22 coverage: 36.1% of statements
14:44:22 FAIL github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/application 20.026s
14:44:22 === RUN TestEvaluation
14:44:22 === RUN TestEvaluation/simple_version
14:44:22 === RUN TestEvaluation/~_version_release
14:44:22 === RUN TestEvaluation/^_version_release
14:44:22 === RUN TestEvaluation/range_to_release
14:44:22 === RUN TestEvaluation/range_lower
14:44:22 === RUN TestEvaluation/range_include
14:44:22 === RUN TestEvaluation/family_should_equal
14:44:22 === RUN TestEvaluation/family_should_not_equal
14:44:22 --- PASS: TestEvaluation (0.05s)
14:44:22 --- PASS: TestEvaluation/simple_version (0.03s)
14:44:22 --- PASS: TestEvaluation/~_version_release (0.00s)
14:44:22 --- PASS: TestEvaluation/^_version_release (0.00s)
14:44:22 --- PASS: TestEvaluation/range_to_release (0.00s)
14:44:22 --- PASS: TestEvaluation/range_lower (0.00s)
14:44:22 --- PASS: TestEvaluation/range_include (0.00s)
14:44:22 --- PASS: TestEvaluation/family_should_equal (0.00s)
14:44:22 --- PASS: TestEvaluation/family_should_not_equal (0.00s)
14:44:22 PASS
14:44:22 coverage: 31.5% of statements
14:44:22 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/application/filters 1.353s coverage: 31.5% of statements
14:44:22 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/application/info [no test files]
14:44:22 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/application/paths [no test files]
14:44:22 === RUN TestAgent
14:44:22 --- PASS: TestAgent (0.00s)
14:44:22 PASS
14:44:22 coverage: 0.0% of statements
14:44:22 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/cmd 1.433s coverage: 0.0% of statements
14:44:22 === RUN TestConfigRequest
14:44:22 === RUN TestConfigRequest/limit_case_for_ShortID()
14:44:22 === RUN TestConfigRequest/ShortID()
14:44:22 --- PASS: TestConfigRequest (0.00s)
14:44:22 --- PASS: TestConfigRequest/limit_case_for_ShortID() (0.00s)
14:44:22 --- PASS: TestConfigRequest/ShortID() (0.00s)
14:44:22 PASS
14:44:22 coverage: 21.4% of statements
14:44:22 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/configrequest 1.350s coverage: 21.4% of statements
14:44:22 === RUN TestErrorsWrap
14:44:22 --- PASS: TestErrorsWrap (0.00s)
14:44:22 === RUN TestErrors
14:44:22 --- PASS: TestErrors (0.00s)
14:44:22 === RUN TestNoErrorNoMsg
14:44:22 --- PASS: TestNoErrorNoMsg (0.00s)
14:44:22 === RUN TestNoError
14:44:22 --- PASS: TestNoError (0.00s)
14:44:22 === RUN TestMetaFold
14:44:22 --- PASS: TestMetaFold (0.00s)
14:44:22 === RUN TestMetaCallDoesNotModifyCollection
14:44:22 --- PASS: TestMetaCallDoesNotModifyCollection (0.00s)
14:44:22 PASS
14:44:22 coverage: 93.6% of statements
14:44:22 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/errors 1.154s coverage: 93.6% of statements
14:44:22 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/internal/yamltest [no test files]
14:44:29 === RUN TestGenerateSteps
14:44:29 === RUN TestGenerateSteps/NO_monitoring
14:44:29 === RUN TestGenerateSteps/FB_monitoring
14:44:29 === RUN TestGenerateSteps/MB_monitoring
14:44:29 === RUN TestGenerateSteps/ALL_monitoring
14:44:29 --- PASS: TestGenerateSteps (4.28s)
14:44:29 --- PASS: TestGenerateSteps/NO_monitoring (1.20s)
14:44:29 --- PASS: TestGenerateSteps/FB_monitoring (1.34s)
14:44:29 --- PASS: TestGenerateSteps/MB_monitoring (1.15s)
14:44:29 --- PASS: TestGenerateSteps/ALL_monitoring (0.58s)
14:44:29 === RUN TestNotSupported
14:44:29 --- PASS: TestNotSupported (1.58s)
14:44:29 === RUN TestConfigurableRun
14:44:29 --- PASS: TestConfigurableRun (3.02s)
14:44:29 === RUN TestConfigurableFailed
14:44:29 --- PASS: TestConfigurableFailed (4.57s)
14:44:29 === RUN TestConfigurableCrash
14:44:29 --- PASS: TestConfigurableCrash (3.73s)
14:44:29 === RUN TestConfigurableStartStop
14:44:29 --- PASS: TestConfigurableStartStop (12.63s)
14:44:29 PASS
14:44:29 coverage: 54.1% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/operation 31.154s coverage: 54.1% of statements
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/operation/config [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/operation/tests/scripts/configurable-1.0-darwin-x86_64 [no test files]
14:44:29 === RUN TestGroupBy
14:44:29 === RUN TestGroupBy/only_named_output
14:44:29 === RUN TestGroupBy/fail_when_the_referenced_named_output_doesn't_exist
14:44:29 === RUN TestGroupBy/only_default_output
14:44:29 === RUN TestGroupBy/default_and_named_output
14:44:29 === RUN TestGroupBy/streams_is_an_empty_list
14:44:29 === RUN TestGroupBy/no_streams_are_defined
14:44:29 --- PASS: TestGroupBy (0.01s)
14:44:29 --- PASS: TestGroupBy/only_named_output (0.00s)
14:44:29 --- PASS: TestGroupBy/fail_when_the_referenced_named_output_doesn't_exist (0.00s)
14:44:29 --- PASS: TestGroupBy/only_default_output (0.00s)
14:44:29 --- PASS: TestGroupBy/default_and_named_output (0.00s)
14:44:29 --- PASS: TestGroupBy/streams_is_an_empty_list (0.00s)
14:44:29 --- PASS: TestGroupBy/no_streams_are_defined (0.00s)
14:44:29 === RUN TestConfiguration
14:44:29 === RUN TestConfiguration/enabled_false
14:44:29 === RUN TestConfiguration/endpoint_unknown_output
14:44:29 === RUN TestConfiguration/constraints_config
14:44:29 === RUN TestConfiguration/enabled_true
14:44:29 === RUN TestConfiguration/enabled_output_true
14:44:29 === RUN TestConfiguration/endpoint_basic
14:44:29 === RUN TestConfiguration/enabled_output_false
14:44:29 === RUN TestConfiguration/endpoint_no_fleet
14:44:29 === RUN TestConfiguration/single_config
14:44:29 --- PASS: TestConfiguration (0.26s)
14:44:29 --- PASS: TestConfiguration/enabled_false (0.05s)
14:44:29 --- PASS: TestConfiguration/endpoint_unknown_output (0.01s)
14:44:29 --- PASS: TestConfiguration/constraints_config (0.08s)
14:44:29 --- PASS: TestConfiguration/enabled_true (0.01s)
14:44:29 --- PASS: TestConfiguration/enabled_output_true (0.01s)
14:44:29 --- PASS: TestConfiguration/endpoint_basic (0.02s)
14:44:29 --- PASS: TestConfiguration/enabled_output_false (0.01s)
14:44:29 --- PASS: TestConfiguration/endpoint_no_fleet (0.01s)
14:44:29 --- PASS: TestConfiguration/single_config (0.04s)
14:44:29 === RUN TestSerialization
14:44:29 === RUN TestSerialization/serialization
14:44:29 === RUN TestSerialization/deserialization
14:44:29 --- PASS: TestSerialization (0.01s)
14:44:29 --- PASS: TestSerialization/serialization (0.00s)
14:44:29 --- PASS: TestSerialization/deserialization (0.01s)
14:44:29 === RUN TestExport
14:44:29 --- PASS: TestExport (0.04s)
14:44:29 PASS
14:44:29 coverage: 71.3% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/program 1.721s coverage: 71.3% of statements
14:44:29 === RUN TestResolver
14:44:29 === RUN TestResolver/from_no_programs_to_running_program
14:44:29 === RUN TestResolver/adding_a_program_to_an_already_running_system
14:44:29 === RUN TestResolver/updating_an_already_running_program
14:44:29 === RUN TestResolver/remove_a_running_program_and_start_a_new_one
14:44:29 === RUN TestResolver/stops_all_runnings_programs
14:44:29 === RUN TestResolver/no_changes_detected
14:44:29 --- PASS: TestResolver (0.04s)
14:44:29 --- PASS: TestResolver/from_no_programs_to_running_program (0.01s)
14:44:29 --- PASS: TestResolver/adding_a_program_to_an_already_running_system (0.00s)
14:44:29 --- PASS: TestResolver/updating_an_already_running_program (0.01s)
14:44:29 --- PASS: TestResolver/remove_a_running_program_and_start_a_new_one (0.01s)
14:44:29 --- PASS: TestResolver/stops_all_runnings_programs (0.01s)
14:44:29 --- PASS: TestResolver/no_changes_detected (0.00s)
14:44:29 === RUN TestStateResolverAcking
14:44:29 === RUN TestStateResolverAcking/when_we_ACK_the_should_state
14:44:29 === RUN TestStateResolverAcking/when_we_don't_ACK_the_should_state
14:44:29 2020-07-09 13:44:03.2284517 +0000 GMT m=+0.104490601 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b401\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b401\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:29 2020-07-09 13:44:03.2294298 +0000 GMT m=+0.105468701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b401\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b401\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:29 2020-07-09 13:44:03.2313912 +0000 GMT m=+0.107430101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b401\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b401\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:29 2020-07-09 13:44:03.2323264 +0000 GMT m=+0.108365301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b401\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b401\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:44:29 --- PASS: TestStateResolverAcking (0.02s)
14:44:29 --- PASS: TestStateResolverAcking/when_we_ACK_the_should_state (0.01s)
14:44:29 --- PASS: TestStateResolverAcking/when_we_don't_ACK_the_should_state (0.01s)
14:44:29 PASS
14:44:29 coverage: 71.9% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/stateresolver 1.279s coverage: 71.9% of statements
14:44:29 === RUN TestReplaceOrRollbackStore
14:44:29 === RUN TestReplaceOrRollbackStore/when_the_save_is_successful_with_target_and_source_don't_match
14:44:29 === RUN TestReplaceOrRollbackStore/when_save_is_not_successful
14:44:29 === RUN TestReplaceOrRollbackStore/when_save_is_successful_with_target_and_source_content_match
14:44:29 === RUN TestReplaceOrRollbackStore/when_target_file_do_not_exist
14:44:29 --- FAIL: TestReplaceOrRollbackStore (0.03s)
14:44:29 --- FAIL: TestReplaceOrRollbackStore/when_the_save_is_successful_with_target_and_source_don't_match (0.02s)
14:44:29 storage_test.go:56:
14:44:29 Error Trace: storage_test.go:56
14:44:29 Error: Not equal:
14:44:29 expected: 0x180
14:44:29 actual : 0x1b6
14:44:29 Test: TestReplaceOrRollbackStore/when_the_save_is_successful_with_target_and_source_don't_match
14:44:29 --- PASS: TestReplaceOrRollbackStore/when_save_is_not_successful (0.00s)
14:44:29 --- FAIL: TestReplaceOrRollbackStore/when_save_is_successful_with_target_and_source_content_match (0.00s)
14:44:29 storage_test.go:109:
14:44:29 Error Trace: storage_test.go:109
14:44:29 Error: Not equal:
14:44:29 expected: 0x180
14:44:29 actual : 0x1b6
14:44:29 Test: TestReplaceOrRollbackStore/when_save_is_successful_with_target_and_source_content_match
14:44:29 --- PASS: TestReplaceOrRollbackStore/when_target_file_do_not_exist (0.00s)
14:44:29 === RUN TestDiskStore
14:44:29 === RUN TestDiskStore/when_the_target_file_already_exists
14:44:29 === RUN TestDiskStore/when_the_target_do_no_exist
14:44:29 === RUN TestDiskStore/return_an_io.ReadCloser_to_the_target_file
14:44:29 --- FAIL: TestDiskStore (0.04s)
14:44:29 --- FAIL: TestDiskStore/when_the_target_file_already_exists (0.04s)
14:44:29 storage_test.go:142:
14:44:29 Error Trace: storage_test.go:142
14:44:29 Error: Not equal:
14:44:29 expected: 0x180
14:44:29 actual : 0x1b6
14:44:29 Test: TestDiskStore/when_the_target_file_already_exists
14:44:29 --- FAIL: TestDiskStore/when_the_target_do_no_exist (0.00s)
14:44:29 storage_test.go:165:
14:44:29 Error Trace: storage_test.go:165
14:44:29 Error: Not equal:
14:44:29 expected: 0x180
14:44:29 actual : 0x1b6
14:44:29 Test: TestDiskStore/when_the_target_do_no_exist
14:44:29 --- FAIL: TestDiskStore/return_an_io.ReadCloser_to_the_target_file (0.00s)
14:44:29 storage_test.go:185:
14:44:29 Error Trace: storage_test.go:185
14:44:29 Error: Not equal:
14:44:29 expected: 0x180
14:44:29 actual : 0x1b6
14:44:29 Test: TestDiskStore/return_an_io.ReadCloser_to_the_target_file
14:44:29 FAIL
14:44:29 coverage: 71.4% of statements
14:44:29 FAIL github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/storage 0.222s
14:44:29 === RUN TestAST
14:44:29 === RUN TestAST/MAP_to_AST
14:44:29 === RUN TestAST/MAP_to_AST/integer_as_key
14:44:29 === RUN TestAST/MAP_to_AST/support_integers
14:44:29 === RUN TestAST/MAP_to_AST/support_unsigned_integers
14:44:29 === RUN TestAST/MAP_to_AST/Keys_with_multiple_levels_of_deeps
14:44:29 === RUN TestAST/MAP_to_AST/Keys_with_multiple_levels_of_deeps_with_compact_keys
14:44:29 === RUN TestAST/MAP_to_AST/simple_slice/string
14:44:29 === RUN TestAST/MAP_to_AST/support_null_(nil)_values
14:44:29 === RUN TestAST/MAP_to_AST/support_bool
14:44:29 === RUN TestAST/MAP_to_AST/support_floats
14:44:29 === RUN TestAST/MAP_to_AST/Keys_inside_Keys_with_slices
14:44:29 === RUN TestAST/AST_to_MAP
14:44:29 === RUN TestAST/AST_to_MAP/simple_slice/string
14:44:29 === RUN TestAST/AST_to_MAP/support_null_(nil)_values
14:44:29 === RUN TestAST/AST_to_MAP/support_bool
14:44:29 === RUN TestAST/AST_to_MAP/support_floats
14:44:29 === RUN TestAST/AST_to_MAP/Keys_inside_Keys_with_slices
14:44:29 === RUN TestAST/AST_to_MAP/Keys_with_multiple_levels_of_deeps_with_compact_keys
14:44:29 === RUN TestAST/AST_to_MAP/integer_as_key
14:44:29 === RUN TestAST/AST_to_MAP/support_integers
14:44:29 === RUN TestAST/AST_to_MAP/support_unsigned_integers
14:44:29 === RUN TestAST/AST_to_MAP/Keys_with_multiple_levels_of_deeps
14:44:29 --- PASS: TestAST (0.02s)
14:44:29 --- PASS: TestAST/MAP_to_AST (0.01s)
14:44:29 --- PASS: TestAST/MAP_to_AST/integer_as_key (0.00s)
14:44:29 --- PASS: TestAST/MAP_to_AST/support_integers (0.00s)
14:44:29 --- PASS: TestAST/MAP_to_AST/support_unsigned_integers (0.00s)
14:44:29 --- PASS: TestAST/MAP_to_AST/Keys_with_multiple_levels_of_deeps (0.00s)
14:44:29 --- PASS: TestAST/MAP_to_AST/Keys_with_multiple_levels_of_deeps_with_compact_keys (0.00s)
14:44:29 --- PASS: TestAST/MAP_to_AST/simple_slice/string (0.00s)
14:44:29 --- PASS: TestAST/MAP_to_AST/support_null_(nil)_values (0.00s)
14:44:29 --- PASS: TestAST/MAP_to_AST/support_bool (0.00s)
14:44:29 --- PASS: TestAST/MAP_to_AST/support_floats (0.00s)
14:44:29 --- PASS: TestAST/MAP_to_AST/Keys_inside_Keys_with_slices (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP (0.01s)
14:44:29 --- PASS: TestAST/AST_to_MAP/simple_slice/string (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP/support_null_(nil)_values (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP/support_bool (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP/support_floats (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP/Keys_inside_Keys_with_slices (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP/Keys_with_multiple_levels_of_deeps_with_compact_keys (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP/integer_as_key (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP/support_integers (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP/support_unsigned_integers (0.00s)
14:44:29 --- PASS: TestAST/AST_to_MAP/Keys_with_multiple_levels_of_deeps (0.00s)
14:44:29 === RUN TestSelector
14:44:29 === RUN TestSelector/three_level_of_keys
14:44:29 === RUN TestSelector/indexed_key_access_when_it_doesn't_exist
14:44:29 === RUN TestSelector/integer_in_string_for_a_key
14:44:29 === RUN TestSelector/de-normalized_hashmap_with_duplicate_prefix
14:44:29 === RUN TestSelector/de-normalized_hashmap_middle
14:44:29 === RUN TestSelector/de-normalized_hashmap_middle_with_collision
14:44:29 === RUN TestSelector/two_levels_of_keys
14:44:29 === RUN TestSelector/de-normalized_hashmap
14:44:29 === RUN TestSelector/de-normalized_hashmap_with_duplicate_prefix,_inputs.x.ssl_selector
14:44:29 --- PASS: TestSelector (0.01s)
14:44:29 --- PASS: TestSelector/three_level_of_keys (0.00s)
14:44:29 --- PASS: TestSelector/indexed_key_access_when_it_doesn't_exist (0.00s)
14:44:29 --- PASS: TestSelector/integer_in_string_for_a_key (0.00s)
14:44:29 --- PASS: TestSelector/de-normalized_hashmap_with_duplicate_prefix (0.00s)
14:44:29 --- PASS: TestSelector/de-normalized_hashmap_middle (0.00s)
14:44:29 --- PASS: TestSelector/de-normalized_hashmap_middle_with_collision (0.00s)
14:44:29 --- PASS: TestSelector/two_levels_of_keys (0.00s)
14:44:29 --- PASS: TestSelector/de-normalized_hashmap (0.00s)
14:44:29 --- PASS: TestSelector/de-normalized_hashmap_with_duplicate_prefix,_inputs.x.ssl_selector (0.00s)
14:44:29 === RUN TestCount
14:44:29 --- PASS: TestCount (0.00s)
14:44:29 === RUN TestMarshalerToYAML
14:44:29 --- PASS: TestMarshalerToYAML (0.00s)
14:44:29 === RUN TestMarshalerToJSON
14:44:29 --- PASS: TestMarshalerToJSON (0.00s)
14:44:29 === RUN TestASTToMapStr
14:44:29 --- PASS: TestASTToMapStr (0.00s)
14:44:29 === RUN TestHash
14:44:29 === RUN TestHash/same_ast_must_match
14:44:29 === RUN TestHash/test_base64_string
14:44:29 === RUN TestHash/slice_reordering_doesn't_match
14:44:29 === RUN TestHash/test_base64_string#01
14:44:29 === RUN TestHash/match_with_int_/_float_/_bool
14:44:29 === RUN TestHash/test_base64_string#02
14:44:29 === RUN TestHash/different_bool_don't_match
14:44:29 === RUN TestHash/test_base64_string#03
14:44:29 === RUN TestHash/different_integer_don't_match
14:44:29 === RUN TestHash/test_base64_string#04
14:44:29 === RUN TestHash/different_float_don't_match
14:44:29 === RUN TestHash/test_base64_string#05
14:44:29 === RUN TestHash/different_floats_representing_the_same_value_match
14:44:29 === RUN TestHash/test_base64_string#06
14:44:29 --- PASS: TestHash (0.01s)
14:44:29 --- PASS: TestHash/same_ast_must_match (0.00s)
14:44:29 --- PASS: TestHash/test_base64_string (0.00s)
14:44:29 --- PASS: TestHash/slice_reordering_doesn't_match (0.00s)
14:44:29 --- PASS: TestHash/test_base64_string#01 (0.00s)
14:44:29 --- PASS: TestHash/match_with_int_/_float_/_bool (0.00s)
14:44:29 --- PASS: TestHash/test_base64_string#02 (0.00s)
14:44:29 --- PASS: TestHash/different_bool_don't_match (0.00s)
14:44:29 --- PASS: TestHash/test_base64_string#03 (0.00s)
14:44:29 --- PASS: TestHash/different_integer_don't_match (0.00s)
14:44:29 --- PASS: TestHash/test_base64_string#04 (0.00s)
14:44:29 --- PASS: TestHash/different_float_don't_match (0.00s)
14:44:29 --- PASS: TestHash/test_base64_string#05 (0.00s)
14:44:29 --- PASS: TestHash/different_floats_representing_the_same_value_match (0.00s)
14:44:29 --- PASS: TestHash/test_base64_string#06 (0.00s)
14:44:29 === RUN TestRules
14:44:29 === RUN TestRules/extract_items_from_array
14:44:29 === RUN TestRules/two_level_rename
14:44:29 === RUN TestRules/copy_keep_ordering_for_filtering
14:44:29 === RUN TestRules/translate_with_regexp
14:44:29 === RUN TestRules/Make_array
14:44:29 === RUN TestRules/fix_streams
14:44:29 === RUN TestRules/inject_index
14:44:29 === RUN TestRules/rename_non_existing_key
14:44:29 === RUN TestRules/copy_top_level_slice
14:44:29 === RUN TestRules/filter_for_values
14:44:29 === RUN TestRules/translate_on_non_existing_key
14:44:29 === RUN TestRules/map_operation_on_non_existing
14:44:29 === RUN TestRules/filter_for_regexp
14:44:29 === RUN TestRules/remove_key
14:44:29 === RUN TestRules/copy_item_to_list
14:44:29 === RUN TestRules/copy_non_existing_key
14:44:29 === RUN TestRules/translate_key_values_to_another_value
14:44:29 === RUN TestRules/translate_1_level_deep_key_values_to_another_value
14:44:29 === RUN TestRules/map_operation_on_array
14:44:29 === RUN TestRules/single_selector_on_top_level_keys
14:44:29 === RUN TestRules/multiple_selectors_on_top_level_keys
14:44:29 === RUN TestRules/filter_for_non_existing_keys
14:44:29 --- PASS: TestRules (0.04s)
14:44:29 --- PASS: TestRules/extract_items_from_array (0.00s)
14:44:29 --- PASS: TestRules/two_level_rename (0.00s)
14:44:29 --- PASS: TestRules/copy_keep_ordering_for_filtering (0.00s)
14:44:29 --- PASS: TestRules/translate_with_regexp (0.00s)
14:44:29 --- PASS: TestRules/Make_array (0.00s)
14:44:29 --- PASS: TestRules/fix_streams (0.00s)
14:44:29 --- PASS: TestRules/inject_index (0.00s)
14:44:29 --- PASS: TestRules/rename_non_existing_key (0.00s)
14:44:29 --- PASS: TestRules/copy_top_level_slice (0.00s)
14:44:29 --- PASS: TestRules/filter_for_values (0.00s)
14:44:29 --- PASS: TestRules/translate_on_non_existing_key (0.00s)
14:44:29 --- PASS: TestRules/map_operation_on_non_existing (0.00s)
14:44:29 --- PASS: TestRules/filter_for_regexp (0.00s)
14:44:29 --- PASS: TestRules/remove_key (0.00s)
14:44:29 --- PASS: TestRules/copy_item_to_list (0.00s)
14:44:29 --- PASS: TestRules/copy_non_existing_key (0.00s)
14:44:29 --- PASS: TestRules/translate_key_values_to_another_value (0.00s)
14:44:29 --- PASS: TestRules/translate_1_level_deep_key_values_to_another_value (0.00s)
14:44:29 --- PASS: TestRules/map_operation_on_array (0.00s)
14:44:29 --- PASS: TestRules/single_selector_on_top_level_keys (0.00s)
14:44:29 --- PASS: TestRules/multiple_selectors_on_top_level_keys (0.00s)
14:44:29 --- PASS: TestRules/filter_for_non_existing_keys (0.00s)
14:44:29 === RUN TestSerialization
14:44:29 === RUN TestSerialization/serialize_rules
14:44:29 === RUN TestSerialization/unserialize_rules
14:44:29 --- PASS: TestSerialization (0.01s)
14:44:29 --- PASS: TestSerialization/serialize_rules (0.00s)
14:44:29 --- PASS: TestSerialization/unserialize_rules (0.01s)
14:44:29 === RUN TestIsSubpath
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/_path:_/a'
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/a_path:_b'
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/a_path:_b/c'
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/a/b_path:_/a/c'
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/a/b_path:_/a/b/../c'
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/a/b_path:_../c'
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/a_path:_/a/b/c'
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/a_path:_/A/b/c'
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/a_path:_c:/A/b/c'
14:44:29 === RUN TestIsSubpath/[windows]_root:'c:/a_path:_c:/b/c'
14:44:29 --- PASS: TestIsSubpath (0.01s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/_path:_/a' (0.00s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/a_path:_b' (0.00s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/a_path:_b/c' (0.00s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/a/b_path:_/a/c' (0.00s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/a/b_path:_/a/b/../c' (0.00s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/a/b_path:_../c' (0.00s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/a_path:_/a/b/c' (0.00s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/a_path:_/A/b/c' (0.00s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/a_path:_c:/A/b/c' (0.00s)
14:44:29 --- PASS: TestIsSubpath/[windows]_root:'c:/a_path:_c:/b/c' (0.00s)
14:44:29 PASS
14:44:29 coverage: 60.4% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/transpiler 1.312s coverage: 60.4% of statements
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/warn [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/download [no test files]
14:44:29 === RUN TestComposed
14:44:29 --- PASS: TestComposed (0.00s)
14:44:29 PASS
14:44:29 coverage: 50.0% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/download/composed 1.272s coverage: 50.0% of statements
14:44:29 === RUN TestFetchVerify
14:44:29 --- PASS: TestFetchVerify (0.01s)
14:44:29 === RUN TestVerify
14:44:29 --- PASS: TestVerify (0.02s)
14:44:29 PASS
14:44:29 coverage: 54.7% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/download/fs 1.180s coverage: 54.7% of statements
14:44:29 === RUN TestDownload
14:44:29 === RUN TestDownload/linux-binary-32
14:44:29 === RUN TestDownload/linux-binary-64
14:44:29 === RUN TestDownload/darwin-binary-32
14:44:29 === RUN TestDownload/darwin-binary-64
14:44:29 === RUN TestDownload/windows-binary-32
14:44:29 === RUN TestDownload/windows-binary-64
14:44:29 --- PASS: TestDownload (0.10s)
14:44:29 --- PASS: TestDownload/linux-binary-32 (0.02s)
14:44:29 --- PASS: TestDownload/linux-binary-64 (0.02s)
14:44:29 --- PASS: TestDownload/darwin-binary-32 (0.02s)
14:44:29 --- PASS: TestDownload/darwin-binary-64 (0.00s)
14:44:29 --- PASS: TestDownload/windows-binary-32 (0.02s)
14:44:29 --- PASS: TestDownload/windows-binary-64 (0.02s)
14:44:29 === RUN TestVerify
14:44:29 === RUN TestVerify/darwin-binary-64
14:44:29 === RUN TestVerify/darwin-binary-64#01
14:44:29 --- PASS: TestVerify (0.01s)
14:44:29 --- PASS: TestVerify/darwin-binary-64 (0.01s)
14:44:29 --- PASS: TestVerify/darwin-binary-64#01 (0.01s)
14:44:29 === RUN TestAddingHeaders
14:44:29 --- PASS: TestAddingHeaders (0.00s)
14:44:29 PASS
14:44:29 coverage: 46.7% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/download/http 1.267s coverage: 46.7% of statements
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/download/localremote [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/download/snapshot [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/install [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/install/dir [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/install/hooks [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/install/tar [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/install/zip [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/uninstall [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/artifact/uninstall/hooks [no test files]
14:44:29 === RUN TestBaseCmd
14:44:29 --- PASS: TestBaseCmd (0.00s)
14:44:29 PASS
14:44:29 coverage: 100.0% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/basecmd 1.129s coverage: 100.0% of statements
14:44:29 === RUN TestCmd
14:44:29 --- PASS: TestCmd (0.01s)
14:44:29 PASS
14:44:29 coverage: 80.0% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/basecmd/version 1.178s coverage: 80.0% of statements
14:44:29 === RUN TestBoolexp
14:44:29 === RUN TestBoolexp/%{[hello.var]}_==_'hello'_=>_return_true
14:44:29 === RUN TestBoolexp/%{[hello.var]}_!=_'hello'_=>_return_false
14:44:29 === RUN TestBoolexp/contains(%{[hello.var]},_'hell')_=>_return_true
14:44:29 === RUN TestBoolexp/true_=>_return_true
14:44:29 === RUN TestBoolexp/false_=>_return_false
14:44:29 === RUN TestBoolexp/!false_=>_return_true
14:44:29 === RUN TestBoolexp/!true_=>_return_false
14:44:29 === RUN TestBoolexp/!(1_==_1)_=>_return_false
14:44:29 === RUN TestBoolexp/NOT_false_=>_return_true
14:44:29 === RUN TestBoolexp/NOT_true_=>_return_false
14:44:29 === RUN TestBoolexp/not_false_=>_return_true
14:44:29 === RUN TestBoolexp/not_true_=>_return_false
14:44:29 === RUN TestBoolexp/NOT_(1_==_1)_=>_return_false
14:44:29 === RUN TestBoolexp/1_==_1_=>_return_true
14:44:29 === RUN TestBoolexp/1_==_2_=>_return_false
14:44:29 === RUN TestBoolexp/1_!=_2_=>_return_true
14:44:29 === RUN TestBoolexp/1_!=_1_=>_return_false
14:44:29 === RUN TestBoolexp/'hello'_==_'hello'_=>_return_true
14:44:29 === RUN TestBoolexp/'hello'_==_'hola'_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_1)_AND_(2_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_4)_AND_(2_==_2)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_1)_AND_(2_==_3)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_5)_AND_(2_==_3)_=>_return_false
14:44:29 === RUN TestBoolexp/1_==_1_AND_2_==_2_=>_return_true
14:44:29 === RUN TestBoolexp/1_==_4_AND_2_==_2_=>_return_false
14:44:29 === RUN TestBoolexp/1_==_1_AND_2_==_3_=>_return_false
14:44:29 === RUN TestBoolexp/1_==_5_AND_2_==_3_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_1)_and_(2_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_4)_and_(2_==_2)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_1)_and_(2_==_3)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_5)_and_(2_==_3)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_1)_&&_(2_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_4)_&&_(2_==_2)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_1)_&&_(2_==_3)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_5)_&&_(2_==_3)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_1)_OR_(2_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_1)_OR_(3_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_2)_OR_(2_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_2)_OR_(2_==_2)_=>_return_true#01
14:44:29 === RUN TestBoolexp/(1_==_2)_OR_(1_==_2)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_1)_or_(2_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_1)_or_(3_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_2)_or_(2_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_2)_or_(2_==_2)_=>_return_true#01
14:44:29 === RUN TestBoolexp/(1_==_2)_or_(1_==_2)_=>_return_false
14:44:29 === RUN TestBoolexp/(1_==_1)_||_(2_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_1)_||_(3_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_2)_||_(2_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_2)_||_(2_==_2)_=>_return_true#01
14:44:29 === RUN TestBoolexp/(1_==_2)_||_(1_==_2)_=>_return_false
14:44:29 === RUN TestBoolexp/((1_==_1)_AND_(2_==_2))_OR_(2_!=_3)_=>_return_true
14:44:29 === RUN TestBoolexp/(1_==_1_OR_2_==_2)_AND_2_!=_3_=>_return_true
14:44:29 === RUN TestBoolexp/((1_==_1)_AND_(2_==_2))_OR_(2_!=_3)_=>_return_true#01
14:44:29 === RUN TestBoolexp/1_==_1_OR_2_==_2_AND_2_!=_3_=>_return_true
14:44:29 === RUN TestBoolexp/len('hello')_==_5_=>_return_true
14:44:29 === RUN TestBoolexp/len('hello')_!=_1_=>_return_true
14:44:29 === RUN TestBoolexp/len('hello')_==_1_=>_return_false
14:44:29 === RUN TestBoolexp/(len('hello')_==_5)_AND_(len('Hi')_==_2)_=>_return_true
14:44:29 === RUN TestBoolexp/len('hello')_==_size('hello')_=>_return_true
14:44:29 === RUN TestBoolexp/len('hello')_==_size('hi')_=>_return_false
14:44:29 === RUN TestBoolexp/contains('hello',_'eial')_=>_return_false
14:44:29 === RUN TestBoolexp/contains('hello',_'hel')_=>_return_true
14:44:29 === RUN TestBoolexp/!contains('hello',_'hel')_=>_return_false
14:44:29 === RUN TestBoolexp/contains('hello',_'hel')_==_true_=>_return_true
14:44:29 === RUN TestBoolexp/contains('hello',_'hel')_==_false_=>_return_false
14:44:29 === RUN TestBoolexp/countArgs('A',_'B',_'C',_'D',_'E',_'F')_==_6_=>_return_true
14:44:29 === RUN TestBoolexp/countArgs('A',_'B',_'C',_'D',_'E',_'F',_'G',_'H',_'I',_'J')_==_10_=>_return_true
14:44:29 === RUN TestBoolexp/1_<_5_=>_return_true
14:44:29 === RUN TestBoolexp/10_<_5_=>_return_false
14:44:29 === RUN TestBoolexp/1_>_5_=>_return_false
14:44:29 === RUN TestBoolexp/10_>_5_=>_return_true
14:44:29 === RUN TestBoolexp/1_<=_5_=>_return_true
14:44:29 === RUN TestBoolexp/5_<=_5_=>_return_true
14:44:29 === RUN TestBoolexp/10_<=_5_=>_return_false
14:44:29 === RUN TestBoolexp/10_>=_5_=>_return_true
14:44:29 === RUN TestBoolexp/5_>=_5_=>_return_true
14:44:29 === RUN TestBoolexp/4_>=_5_=>_return_false
14:44:29 === RUN TestBoolexp/1_==_1.0_=>_return_true
14:44:29 === RUN TestBoolexp/1.0_==_1.0_=>_return_true
14:44:29 === RUN TestBoolexp/1.0_==_1_=>_return_true
14:44:29 === RUN TestBoolexp/1_!=_2.0_=>_return_true
14:44:29 === RUN TestBoolexp/1.0_!=_2.0_=>_return_true
14:44:29 === RUN TestBoolexp/1.0_!=_2_=>_return_true
14:44:29 === RUN TestBoolexp/1_<_5.0_=>_return_true
14:44:29 === RUN TestBoolexp/10_<_5.0_=>_return_false
14:44:29 === RUN TestBoolexp/1_>_5.0_=>_return_false
14:44:29 === RUN TestBoolexp/10_>_5.0_=>_return_true
14:44:29 === RUN TestBoolexp/1_<=_5.0_=>_return_true
14:44:29 === RUN TestBoolexp/10_<=_5.0_=>_return_false
14:44:29 === RUN TestBoolexp/1_>=_5.0_=>_return_false
14:44:29 === RUN TestBoolexp/10_>=_5.0_=>_return_true
14:44:29 === RUN TestBoolexp/10_>=_10.0_=>_return_true
14:44:29 === RUN TestBoolexp/10_<=_10.0_=>_return_true
14:44:29 === RUN TestBoolexp/contains('hello')_failed_parsing
14:44:29 === RUN TestBoolexp/contains()_failed_parsing
14:44:29 === RUN TestBoolexp/contains()_failed_parsing#01
14:44:29 === RUN TestBoolexp/donotexist()_failed_parsing
14:44:29 --- PASS: TestBoolexp (0.09s)
14:44:29 --- PASS: TestBoolexp/%{[hello.var]}_==_'hello'_=>_return_true (0.01s)
14:44:29 --- PASS: TestBoolexp/%{[hello.var]}_!=_'hello'_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/contains(%{[hello.var]},_'hell')_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/true_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/false_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/!false_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/!true_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/!(1_==_1)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/NOT_false_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/NOT_true_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/not_false_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/not_true_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/NOT_(1_==_1)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/1_==_1_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1_==_2_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/1_!=_2_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1_!=_1_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/'hello'_==_'hello'_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/'hello'_==_'hola'_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_AND_(2_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_4)_AND_(2_==_2)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_AND_(2_==_3)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_5)_AND_(2_==_3)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/1_==_1_AND_2_==_2_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1_==_4_AND_2_==_2_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/1_==_1_AND_2_==_3_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/1_==_5_AND_2_==_3_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_and_(2_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_4)_and_(2_==_2)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_and_(2_==_3)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_5)_and_(2_==_3)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_&&_(2_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_4)_&&_(2_==_2)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_&&_(2_==_3)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_5)_&&_(2_==_3)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_OR_(2_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_OR_(3_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_2)_OR_(2_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_2)_OR_(2_==_2)_=>_return_true#01 (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_2)_OR_(1_==_2)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_or_(2_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_or_(3_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_2)_or_(2_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_2)_or_(2_==_2)_=>_return_true#01 (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_2)_or_(1_==_2)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_||_(2_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1)_||_(3_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_2)_||_(2_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_2)_||_(2_==_2)_=>_return_true#01 (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_2)_||_(1_==_2)_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/((1_==_1)_AND_(2_==_2))_OR_(2_!=_3)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/(1_==_1_OR_2_==_2)_AND_2_!=_3_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/((1_==_1)_AND_(2_==_2))_OR_(2_!=_3)_=>_return_true#01 (0.00s)
14:44:29 --- PASS: TestBoolexp/1_==_1_OR_2_==_2_AND_2_!=_3_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/len('hello')_==_5_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/len('hello')_!=_1_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/len('hello')_==_1_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/(len('hello')_==_5)_AND_(len('Hi')_==_2)_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/len('hello')_==_size('hello')_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/len('hello')_==_size('hi')_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/contains('hello',_'eial')_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/contains('hello',_'hel')_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/!contains('hello',_'hel')_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/contains('hello',_'hel')_==_true_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/contains('hello',_'hel')_==_false_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/countArgs('A',_'B',_'C',_'D',_'E',_'F')_==_6_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/countArgs('A',_'B',_'C',_'D',_'E',_'F',_'G',_'H',_'I',_'J')_==_10_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1_<_5_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/10_<_5_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/1_>_5_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/10_>_5_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1_<=_5_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/5_<=_5_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/10_<=_5_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/10_>=_5_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/5_>=_5_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/4_>=_5_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/1_==_1.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1.0_==_1.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1.0_==_1_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1_!=_2.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1.0_!=_2.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1.0_!=_2_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1_<_5.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/10_<_5.0_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/1_>_5.0_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/10_>_5.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/1_<=_5.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/10_<=_5.0_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/1_>=_5.0_=>_return_false (0.00s)
14:44:29 --- PASS: TestBoolexp/10_>=_5.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/10_>=_10.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/10_<=_10.0_=>_return_true (0.00s)
14:44:29 --- PASS: TestBoolexp/contains('hello')_failed_parsing (0.00s)
14:44:29 --- PASS: TestBoolexp/contains()_failed_parsing (0.00s)
14:44:29 --- PASS: TestBoolexp/contains()_failed_parsing#01 (0.00s)
14:44:29 --- PASS: TestBoolexp/donotexist()_failed_parsing (0.00s)
14:44:29 PASS
14:44:29 coverage: 66.5% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/boolexp 1.266s coverage: 66.5% of statements
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/boolexp/parser [no test files]
14:44:29 === RUN TestStringToSlice
14:44:29 --- PASS: TestStringToSlice (0.00s)
14:44:29 PASS
14:44:29 coverage: 54.5% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/cli 1.155s coverage: 54.5% of statements
14:44:29 === RUN TestConfig
14:44:29 --- PASS: TestConfig (0.04s)
14:44:29 PASS
14:44:29 coverage: 53.7% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/config 1.233s coverage: 53.7% of statements
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/app [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/authority [no test files]
14:44:29 === RUN TestLogger
14:44:29 --- SKIP: TestLogger (0.00s)
14:44:29 logger_test.go:10: only checking if test works
14:44:29 PASS
14:44:29 coverage: 0.0% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/logger 1.166s coverage: 0.0% of statements
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/monitoring [no test files]
14:44:29 === RUN TestMonitoringDrops
14:44:29 === RUN TestMonitoringDrops//var/lib/drop/abc.sock
14:44:29 === RUN TestMonitoringDrops/npipe://drop
14:44:29 === RUN TestMonitoringDrops/http+npipe://drop
14:44:29 === RUN TestMonitoringDrops/\\.\pipe\drop
14:44:29 === RUN TestMonitoringDrops/unix:///var/lib/drop/abc.sock
14:44:29 === RUN TestMonitoringDrops/http+unix:///var/lib/drop/abc.sock
14:44:29 === RUN TestMonitoringDrops/file:///var/lib/drop/abc.sock
14:44:29 === RUN TestMonitoringDrops/http://localhost/stats
14:44:29 === RUN TestMonitoringDrops/localhost/stats
14:44:29 === RUN TestMonitoringDrops/http://localhost:8080/stats
14:44:29 === RUN TestMonitoringDrops/localhost:8080/stats
14:44:29 === RUN TestMonitoringDrops/http://1.2.3.4/stats
14:44:29 === RUN TestMonitoringDrops/http://1.2.3.4:5678/stats
14:44:29 === RUN TestMonitoringDrops/1.2.3.4:5678/stats
14:44:29 === RUN TestMonitoringDrops/http://hithere.com:5678/stats
14:44:29 === RUN TestMonitoringDrops/hithere.com:5678/stats
14:44:29 --- PASS: TestMonitoringDrops (0.01s)
14:44:29 --- PASS: TestMonitoringDrops//var/lib/drop/abc.sock (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/npipe://drop (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/http+npipe://drop (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/\\.\pipe\drop (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/unix:///var/lib/drop/abc.sock (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/http+unix:///var/lib/drop/abc.sock (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/file:///var/lib/drop/abc.sock (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/http://localhost/stats (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/localhost/stats (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/http://localhost:8080/stats (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/localhost:8080/stats (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/http://1.2.3.4/stats (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/http://1.2.3.4:5678/stats (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/1.2.3.4:5678/stats (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/http://hithere.com:5678/stats (0.00s)
14:44:29 --- PASS: TestMonitoringDrops/hithere.com:5678/stats (0.00s)
14:44:29 PASS
14:44:29 coverage: 23.4% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/monitoring/beats 1.130s coverage: 23.4% of statements
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/monitoring/config [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/monitoring/noop [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/plugin/process [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/plugin/service [no test files]
14:44:29 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/process [no test files]
14:44:29 === RUN TestRetry
14:44:29 --- PASS: TestRetry (6.01s)
14:44:29 === RUN TestRetryWithBackoff
14:44:29 --- PASS: TestRetryWithBackoff (0.87s)
14:44:29 PASS
14:44:29 coverage: 81.5% of statements
14:44:29 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/retry 8.038s coverage: 81.5% of statements
14:45:07 === RUN TestNewFromConfig
14:45:07 --- PASS: TestNewFromConfig (0.94s)
14:45:07 === RUN TestServer_Register
14:45:07 --- PASS: TestServer_Register (2.13s)
14:45:07 === RUN TestServer_Get
14:45:07 --- PASS: TestServer_Get (1.82s)
14:45:07 === RUN TestServer_InitialCheckIn
14:45:07 --- PASS: TestServer_InitialCheckIn (2.29s)
14:45:07 === RUN TestServer_MultiClients
14:45:07 --- PASS: TestServer_MultiClients (3.68s)
14:45:07 === RUN TestServer_PreventCheckinStream
14:45:07 --- PASS: TestServer_PreventCheckinStream (1.97s)
14:45:07 === RUN TestServer_PreventActionsStream
14:45:07 --- PASS: TestServer_PreventActionsStream (2.20s)
14:45:07 === RUN TestServer_DestroyPreventConnectAtTLS
14:45:07 --- PASS: TestServer_DestroyPreventConnectAtTLS (3.27s)
14:45:07 === RUN TestServer_UpdateConfig
14:45:07 --- PASS: TestServer_UpdateConfig (3.72s)
14:45:07 === RUN TestServer_UpdateConfigDisconnected
14:45:07 --- PASS: TestServer_UpdateConfigDisconnected (3.25s)
14:45:07 === RUN TestServer_UpdateConfigStopping
14:45:07 --- PASS: TestServer_UpdateConfigStopping (3.35s)
14:45:07 === RUN TestServer_Stop
14:45:07 --- PASS: TestServer_Stop (3.28s)
14:45:07 === RUN TestServer_StopTimeout
14:45:07 --- PASS: TestServer_StopTimeout (2.80s)
14:45:07 === RUN TestServer_WatchdogFailApp
14:45:07 --- PASS: TestServer_WatchdogFailApp (1.71s)
14:45:07 === RUN TestServer_PerformAction
14:45:07 --- PASS: TestServer_PerformAction (2.98s)
14:45:07 PASS
14:45:07 coverage: 83.8% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/server 40.625s coverage: 83.8% of statements
14:45:07 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/state [no test files]
14:45:07 === RUN TestIO
14:45:07 === RUN TestIO/encode_and_decode_with_the_right_password
14:45:07 === RUN TestIO/Large_single_write
14:45:07 === RUN TestIO/try_to_decode_with_the_wrong_password
14:45:07 === RUN TestIO/Make_sure_that_buffered_IO_works_with_the_encoder
14:45:07 === RUN TestIO/Make_sure_that_buffered_IO_works_with_the_decoder
14:45:07 === RUN TestIO/Missing_explicit_version
14:45:07 === RUN TestIO/works_with_multiple_writes
14:45:07 --- PASS: TestIO (3.05s)
14:45:07 --- PASS: TestIO/encode_and_decode_with_the_right_password (0.44s)
14:45:07 --- PASS: TestIO/Large_single_write (0.54s)
14:45:07 --- PASS: TestIO/try_to_decode_with_the_wrong_password (0.53s)
14:45:07 --- PASS: TestIO/Make_sure_that_buffered_IO_works_with_the_encoder (0.53s)
14:45:07 --- PASS: TestIO/Make_sure_that_buffered_IO_works_with_the_decoder (0.52s)
14:45:07 --- PASS: TestIO/Missing_explicit_version (0.00s)
14:45:07 --- PASS: TestIO/works_with_multiple_writes (0.49s)
14:45:07 PASS
14:45:07 coverage: 73.7% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/crypto 4.210s coverage: 73.7% of statements
14:45:07 === RUN TestDiscover
14:45:07 === RUN TestDiscover/support_wildcards_patterns
14:45:07 === RUN TestDiscover/support_direct_file
14:45:07 === RUN TestDiscover/support_direct_file_and_pattern
14:45:07 === RUN TestDiscover/support_direct_file_and_pattern#01
14:45:07 --- PASS: TestDiscover (0.01s)
14:45:07 --- PASS: TestDiscover/support_wildcards_patterns (0.00s)
14:45:07 --- PASS: TestDiscover/support_direct_file (0.00s)
14:45:07 --- PASS: TestDiscover/support_direct_file_and_pattern (0.00s)
14:45:07 --- PASS: TestDiscover/support_direct_file_and_pattern#01 (0.00s)
14:45:07 PASS
14:45:07 coverage: 87.5% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/dir 1.152s coverage: 87.5% of statements
14:45:07 === RUN TestWatch
14:45:07 === RUN TestWatch/no_files_are_watched
14:45:07 === RUN TestWatch/newly_added_files_are_discovered
14:45:07 === RUN TestWatch/ignore_old_files
14:45:07 === RUN TestWatch/can_unwatch_a_watched_file
14:45:07 === RUN TestWatch/can_returns_the_list_of_watched_files
14:45:07 === RUN TestWatch/update_returns_updated,_unchanged_and_watched_files
14:45:07 === RUN TestWatch/should_cleanup_files_that_disapear
14:45:07 === RUN TestWatch/should_allow_to_invalidate_the_cache_
14:45:07 --- PASS: TestWatch (1.08s)
14:45:07 --- PASS: TestWatch/no_files_are_watched (0.01s)
14:45:07 --- PASS: TestWatch/newly_added_files_are_discovered (0.01s)
14:45:07 --- PASS: TestWatch/ignore_old_files (0.01s)
14:45:07 --- PASS: TestWatch/can_unwatch_a_watched_file (0.02s)
14:45:07 --- PASS: TestWatch/can_returns_the_list_of_watched_files (0.01s)
14:45:07 --- PASS: TestWatch/update_returns_updated,_unchanged_and_watched_files (1.02s)
14:45:07 --- PASS: TestWatch/should_cleanup_files_that_disapear (0.01s)
14:45:07 --- PASS: TestWatch/should_allow_to_invalidate_the_cache_ (0.01s)
14:45:07 PASS
14:45:07 coverage: 90.1% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/filewatcher 2.344s coverage: 90.1% of statements
14:45:07 === RUN TestAck
14:45:07 === RUN TestAck/Test_ack_roundtrip
14:45:07 --- PASS: TestAck (0.02s)
14:45:07 --- PASS: TestAck/Test_ack_roundtrip (0.02s)
14:45:07 === RUN TestCheckin
14:45:07 === RUN TestCheckin/Propagate_any_errors_from_the_server
14:45:07 2020-07-09 13:44:31.6415213 +0000 GMT m=+0.036166101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestCheckin/Checkin_receives_a_PolicyChange
14:45:07 2020-07-09 13:44:31.6503121 +0000 GMT m=+0.044956901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestCheckin/Checkin_receives_known_and_unknown_action_type
14:45:07 2020-07-09 13:44:31.6580805 +0000 GMT m=+0.052725301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestCheckin/When_we_receive_no_action
14:45:07 2020-07-09 13:44:31.6678445 +0000 GMT m=+0.062489301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestCheckin/Meta_are_sent
14:45:07 2020-07-09 13:44:31.6766714 +0000 GMT m=+0.071316201 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestCheckin/No_meta_are_sent_when_not_provided
14:45:07 2020-07-09 13:44:31.6844751 +0000 GMT m=+0.079119901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 --- PASS: TestCheckin (0.06s)
14:45:07 --- PASS: TestCheckin/Propagate_any_errors_from_the_server (0.01s)
14:45:07 --- PASS: TestCheckin/Checkin_receives_a_PolicyChange (0.01s)
14:45:07 --- PASS: TestCheckin/Checkin_receives_known_and_unknown_action_type (0.01s)
14:45:07 --- PASS: TestCheckin/When_we_receive_no_action (0.01s)
14:45:07 --- PASS: TestCheckin/Meta_are_sent (0.01s)
14:45:07 --- PASS: TestCheckin/No_meta_are_sent_when_not_provided (0.01s)
14:45:07 === RUN TestHTTPClient
14:45:07 === RUN TestHTTPClient/API_Key_is_valid
14:45:07 2020-07-09 13:44:31.6932622 +0000 GMT m=+0.087907001 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestHTTPClient/API_Key_is_not_valid
14:45:07 2020-07-09 13:44:31.7010717 +0000 GMT m=+0.095716501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestHTTPClient/Elastic_Agent_User-Agent_string
14:45:07 2020-07-09 13:44:31.7079114 +0000 GMT m=+0.102556201 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestHTTPClient/Fleet_endpoint_is_not_responding
14:45:07 2020-07-09 13:44:31.7147601 +0000 GMT m=+0.109404901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 --- PASS: TestHTTPClient (3.02s)
14:45:07 --- PASS: TestHTTPClient/API_Key_is_valid (0.01s)
14:45:07 --- PASS: TestHTTPClient/API_Key_is_not_valid (0.01s)
14:45:07 --- PASS: TestHTTPClient/Elastic_Agent_User-Agent_string (0.01s)
14:45:07 --- PASS: TestHTTPClient/Fleet_endpoint_is_not_responding (3.00s)
14:45:07 === RUN TestExtract
14:45:07 === RUN TestExtract/standard_high_level_kibana_errors
14:45:07 === RUN TestExtract/proxy_or_non_json_response
14:45:07 === RUN TestExtract/Fleet_generated_errors
14:45:07 --- PASS: TestExtract (0.00s)
14:45:07 --- PASS: TestExtract/standard_high_level_kibana_errors (0.00s)
14:45:07 --- PASS: TestExtract/proxy_or_non_json_response (0.00s)
14:45:07 --- PASS: TestExtract/Fleet_generated_errors (0.00s)
14:45:07 === RUN TestTimeSerialized
14:45:07 --- PASS: TestTimeSerialized (0.00s)
14:45:07 === RUN TestEnroll
14:45:07 === RUN TestEnroll/Successful_enroll
14:45:07 2020-07-09 13:44:34.721315 +0000 GMT m=+3.115959801 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestEnroll/Raise_back_any_server_errors
14:45:07 2020-07-09 13:44:34.7320976 +0000 GMT m=+3.126742401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b459\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 --- PASS: TestEnroll (0.02s)
14:45:07 --- PASS: TestEnroll/Successful_enroll (0.01s)
14:45:07 --- PASS: TestEnroll/Raise_back_any_server_errors (0.01s)
14:45:07 PASS
14:45:07 coverage: 65.4% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/fleetapi 4.355s coverage: 65.4% of statements
14:45:07 === RUN TestGenerate
14:45:07 --- PASS: TestGenerate (0.00s)
14:45:07 PASS
14:45:07 coverage: 100.0% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/id 1.138s coverage: 100.0% of statements
14:45:07 === RUN TestPortDefaults
14:45:07 === RUN TestPortDefaults/no_scheme_uri
14:45:07 === RUN TestPortDefaults/default_kibana_port
14:45:07 === RUN TestPortDefaults/specified_kibana_port
14:45:07 === RUN TestPortDefaults/default_kibana_https_port
14:45:07 === RUN TestPortDefaults/specified_kibana_https_port
14:45:07 --- PASS: TestPortDefaults (0.01s)
14:45:07 --- PASS: TestPortDefaults/no_scheme_uri (0.00s)
14:45:07 --- PASS: TestPortDefaults/default_kibana_port (0.00s)
14:45:07 --- PASS: TestPortDefaults/specified_kibana_port (0.00s)
14:45:07 --- PASS: TestPortDefaults/default_kibana_https_port (0.00s)
14:45:07 --- PASS: TestPortDefaults/specified_kibana_https_port (0.00s)
14:45:07 === RUN TestHTTPClient
14:45:07 === RUN TestHTTPClient/Guard_against_double_slashes_on_path
14:45:07 === RUN TestHTTPClient/Simple_call
14:45:07 2020-07-09 13:44:34.6266271 +0000 GMT m=+0.041041901 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestHTTPClient/Simple_call_with_a_prefix_path
14:45:07 2020-07-09 13:44:34.6363845 +0000 GMT m=+0.050799301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestHTTPClient/Basic_auth_when_credentials_are_valid
14:45:07 2020-07-09 13:44:34.6451354 +0000 GMT m=+0.059550201 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestHTTPClient/Basic_auth_when_credentials_are_invalid
14:45:07 2020-07-09 13:44:34.6519552 +0000 GMT m=+0.066370001 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestHTTPClient/Custom_user_agent
14:45:07 2020-07-09 13:44:34.6578098 +0000 GMT m=+0.072224601 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestHTTPClient/Enforce_Kibana_version
14:45:07 2020-07-09 13:44:34.6647062 +0000 GMT m=+0.079121001 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 === RUN TestHTTPClient/Allows_to_debug_HTTP_request_between_a_client_and_a_server
14:45:07 2020-07-09 13:44:34.6714937 +0000 GMT m=+0.085908501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b465\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 Request:
14:45:07 Verb: GET
14:45:07 URI: /echo-hello?
14:45:07 Headers:
14:45:07 key: Content-Type values: {application/json}
14:45:07 key: Accept values: {application/json}
14:45:07 key: Kbn-Xsrf values: {1}
14:45:07 Request Body:
14:45:07 hello
14:45:07 Response:
14:45:07 Headers:
14:45:07 key: Date values: {Thu, 09 Jul 2020 13:44:34 GMT}
14:45:07 key: Content-Length values: {22}
14:45:07 key: Content-Type values: {text/plain; charset=utf-8}
14:45:07 Response code: 200
14:45:07 Request executed in 1ms
14:45:07 Response Body:
14:45:07 { "message": "hello" }
14:45:07
14:45:07 --- PASS: TestHTTPClient (0.07s)
14:45:07 --- PASS: TestHTTPClient/Guard_against_double_slashes_on_path (0.01s)
14:45:07 --- PASS: TestHTTPClient/Simple_call (0.01s)
14:45:07 --- PASS: TestHTTPClient/Simple_call_with_a_prefix_path (0.01s)
14:45:07 --- PASS: TestHTTPClient/Basic_auth_when_credentials_are_valid (0.01s)
14:45:07 --- PASS: TestHTTPClient/Basic_auth_when_credentials_are_invalid (0.01s)
14:45:07 --- PASS: TestHTTPClient/Custom_user_agent (0.01s)
14:45:07 --- PASS: TestHTTPClient/Enforce_Kibana_version (0.01s)
14:45:07 --- PASS: TestHTTPClient/Allows_to_debug_HTTP_request_between_a_client_and_a_server (0.01s)
14:45:07 === RUN TestPackUnpack
14:45:07 --- PASS: TestPackUnpack (0.00s)
14:45:07 PASS
14:45:07 coverage: 81.8% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/kibana 1.258s coverage: 81.8% of statements
14:45:07 === RUN TestPacker
14:45:07 === RUN TestPacker/multiples_files_with_wildcards
14:45:07 === RUN TestPacker/duplicate_files
14:45:07 === RUN TestPacker/large_file
14:45:07 === RUN TestPacker/single_files
14:45:07 === RUN TestPacker/multiples_files
14:45:07 --- PASS: TestPacker (9.43s)
14:45:07 --- PASS: TestPacker/multiples_files_with_wildcards (0.02s)
14:45:07 --- PASS: TestPacker/duplicate_files (0.00s)
14:45:07 --- PASS: TestPacker/large_file (9.37s)
14:45:07 --- PASS: TestPacker/single_files (0.01s)
14:45:07 --- PASS: TestPacker/multiples_files (0.01s)
14:45:07 PASS
14:45:07 coverage: 66.7% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/packer 10.726s coverage: 66.7% of statements
14:45:07 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/release [no test files]
14:45:07 === RUN TestTypes
14:45:07 === RUN TestTypes/Stopped
14:45:07 === RUN TestTypes/Starting
14:45:07 === RUN TestTypes/Configuring
14:45:07 === RUN TestTypes/Running
14:45:07 === RUN TestTypes/Degraded
14:45:07 === RUN TestTypes/Failed
14:45:07 === RUN TestTypes/Crashed
14:45:07 === RUN TestTypes/Stopping
14:45:07 === RUN TestTypes/Restarting
14:45:07 --- PASS: TestTypes (0.00s)
14:45:07 --- PASS: TestTypes/Stopped (0.00s)
14:45:07 --- PASS: TestTypes/Starting (0.00s)
14:45:07 --- PASS: TestTypes/Configuring (0.00s)
14:45:07 --- PASS: TestTypes/Running (0.00s)
14:45:07 --- PASS: TestTypes/Degraded (0.00s)
14:45:07 --- PASS: TestTypes/Failed (0.00s)
14:45:07 --- PASS: TestTypes/Crashed (0.00s)
14:45:07 --- PASS: TestTypes/Stopping (0.00s)
14:45:07 --- PASS: TestTypes/Restarting (0.00s)
14:45:07 PASS
14:45:07 coverage: 85.7% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/reporter 1.221s coverage: 85.7% of statements
14:45:07 === RUN TestEventsHaveAgentID
14:45:07 --- PASS: TestEventsHaveAgentID (0.01s)
14:45:07 === RUN TestReporting
14:45:07 --- PASS: TestReporting (0.01s)
14:45:07 === RUN TestInfoDrop
14:45:07 2020-07-09 13:44:38.6399232 +0000 GMT m=+0.034179401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 --- PASS: TestInfoDrop (0.01s)
14:45:07 === RUN TestOutOfOrderAck
14:45:07 2020-07-09 13:44:38.6457839 +0000 GMT m=+0.040040101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 2020-07-09 13:44:38.6467636 +0000 GMT m=+0.041019801 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 2020-07-09 13:44:38.6477415 +0000 GMT m=+0.041997701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 2020-07-09 13:44:38.6487155 +0000 GMT m=+0.042971701 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 2020-07-09 13:44:38.649692 +0000 GMT m=+0.043948201 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 2020-07-09 13:44:38.6506659 +0000 GMT m=+0.044922101 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 --- PASS: TestOutOfOrderAck (0.01s)
14:45:07 === RUN TestAfterDrop
14:45:07 2020-07-09 13:44:38.6565183 +0000 GMT m=+0.050774501 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 2020-07-09 13:44:38.6574971 +0000 GMT m=+0.051753301 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 2020-07-09 13:44:38.6584742 +0000 GMT m=+0.052730401 write error: failed to rotate backups: failed to rotate backups: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent C:\Users\JENKIN~1.PAC\AppData\Local\Temp\go-build031278506\b474\data\logs\elastic-agent.1: The process cannot access the file because it is being used by another process.
14:45:07 --- PASS: TestAfterDrop (0.01s)
14:45:07 PASS
14:45:07 coverage: 73.5% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/reporter/fleet 1.237s coverage: 73.5% of statements
14:45:07 === RUN TestReport
14:45:07 --- PASS: TestReport (0.00s)
14:45:07 PASS
14:45:07 coverage: 63.0% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/reporter/log 1.250s coverage: 63.0% of statements
14:45:07 ? github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/reporter/noop [no test files]
14:45:07 === RUN TestScheduler
14:45:07 === RUN TestScheduler/Step_scheduler
14:45:07 === RUN TestScheduler/Step_scheduler/Trigger_the_Tick_manually
14:45:07 === RUN TestScheduler/Periodic_scheduler
14:45:07 === RUN TestScheduler/Periodic_scheduler/tick_than_wait
14:45:07 === RUN TestScheduler/Periodic_scheduler/multiple_ticks
14:45:07 === RUN TestScheduler/PeriodicJitter_scheduler
14:45:07 === RUN TestScheduler/PeriodicJitter_scheduler/tick_than_wait
14:45:07 === RUN TestScheduler/PeriodicJitter_scheduler/multiple_ticks
14:45:07 === RUN TestScheduler/PeriodicJitter_scheduler/unblock_on_first_tick
14:45:07 === RUN TestScheduler/PeriodicJitter_scheduler/unblock_on_any_tick
14:45:07 --- PASS: TestScheduler (10.40s)
14:45:07 --- PASS: TestScheduler/Step_scheduler (0.00s)
14:45:07 --- PASS: TestScheduler/Step_scheduler/Trigger_the_Tick_manually (0.00s)
14:45:07 --- PASS: TestScheduler/Periodic_scheduler (0.01s)
14:45:07 --- PASS: TestScheduler/Periodic_scheduler/tick_than_wait (0.00s)
14:45:07 --- PASS: TestScheduler/Periodic_scheduler/multiple_ticks (0.01s)
14:45:07 --- PASS: TestScheduler/PeriodicJitter_scheduler (10.39s)
14:45:07 --- PASS: TestScheduler/PeriodicJitter_scheduler/tick_than_wait (8.03s)
14:45:07 --- PASS: TestScheduler/PeriodicJitter_scheduler/multiple_ticks (0.17s)
14:45:07 --- PASS: TestScheduler/PeriodicJitter_scheduler/unblock_on_first_tick (0.50s)
14:45:07 --- PASS: TestScheduler/PeriodicJitter_scheduler/unblock_on_any_tick (1.68s)
14:45:07 PASS
14:45:07 coverage: 100.0% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/scheduler 11.572s coverage: 100.0% of statements
14:45:07 === RUN TestSet
14:45:07 === RUN TestSet/adding_items_and_keep_it_ordered
14:45:07 === RUN TestSet/order_is_preserved_when_items_are_removed
14:45:07 === RUN TestSet/return_true_when_the_key_exist
14:45:07 === RUN TestSet/return_false_when_the_key_dont_exist
14:45:07 === RUN TestSet/return_false_when_the_key_dont_exist#01
14:45:07 === RUN TestSet/can_remove_the_last_item
14:45:07 === RUN TestSet/can_remove_the_only_item
14:45:07 === RUN TestSet/can_remove_multiple_items
14:45:07 === RUN TestSet/make_sure_keys()_returns_a_copy
14:45:07 --- PASS: TestSet (0.00s)
14:45:07 --- PASS: TestSet/adding_items_and_keep_it_ordered (0.00s)
14:45:07 --- PASS: TestSet/order_is_preserved_when_items_are_removed (0.00s)
14:45:07 --- PASS: TestSet/return_true_when_the_key_exist (0.00s)
14:45:07 --- PASS: TestSet/return_false_when_the_key_dont_exist (0.00s)
14:45:07 --- PASS: TestSet/return_false_when_the_key_dont_exist#01 (0.00s)
14:45:07 --- PASS: TestSet/can_remove_the_last_item (0.00s)
14:45:07 --- PASS: TestSet/can_remove_the_only_item (0.00s)
14:45:07 --- PASS: TestSet/can_remove_multiple_items (0.00s)
14:45:07 --- PASS: TestSet/make_sure_keys()_returns_a_copy (0.00s)
14:45:07 PASS
14:45:07 coverage: 100.0% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/sorted 1.163s coverage: 100.0% of statements
14:45:07 === RUN TestTokenBucket
14:45:07 === RUN TestTokenBucket/when_way_below_the_bucket_size_it_should_not_block
14:45:07 === RUN TestTokenBucket/when_below_the_bucket_size_it_should_not_block
14:45:07 === RUN TestTokenBucket/when_we_hit_the_bucket_size_it_should_block
14:45:07 === RUN TestTokenBucket/When_we_use_a_timer_scheduler_we_can_unblock
14:45:07 --- PASS: TestTokenBucket (2.00s)
14:45:07 --- PASS: TestTokenBucket/when_way_below_the_bucket_size_it_should_not_block (0.00s)
14:45:07 --- PASS: TestTokenBucket/when_below_the_bucket_size_it_should_not_block (0.00s)
14:45:07 --- PASS: TestTokenBucket/when_we_hit_the_bucket_size_it_should_block (2.00s)
14:45:07 --- PASS: TestTokenBucket/When_we_use_a_timer_scheduler_we_can_unblock (0.00s)
14:45:07 PASS
14:45:07 coverage: 64.7% of statements
14:45:07 ok github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/tokenbucket 3.146s coverage: 64.7% of statements
14:45:07 FAIL
14:45:07 Error: running "go test -race -v -coverprofile build\coverage.out ./..." failed with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment