Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.9](backport #3635) Update go grpc version to 1.58.3 #3644

Closed
wants to merge 2 commits into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 23, 2023

This is an automatic backport of pull request #3635 done by Mergify.
Cherry-pick of 3c9380f has failed:

On branch mergify/bp/8.9/pr-3635
Your branch is up to date with 'origin/8.9'.

You are currently cherry-picking commit 3c9380f66b.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   NOTICE.txt
	both modified:   go.mod
	both modified:   go.sum

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

(cherry picked from commit 3c9380f)

# Conflicts:
#	NOTICE.txt
#	go.mod
#	go.sum
@mergify mergify bot requested a review from a team as a code owner October 23, 2023 07:22
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Oct 23, 2023
@mergify mergify bot requested review from blakerouse and pchila and removed request for a team October 23, 2023 07:22
@mergify
Copy link
Contributor Author

mergify bot commented Oct 23, 2023

This pull request has not been merged yet. Could you please review and merge it @michalpristas? 🙏

@elasticmachine
Copy link
Contributor

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-10-23T07:22:52.114+0000

  • Duration: 5 min 26 sec

Steps errors 1

Expand to view the steps failures

check
  • Took 0 min 0 sec . View more details here
  • Description: make check-ci

❕ Flaky test report

No test was executed to be analysed.

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages.

  • run integration tests : Run the Elastic Agent Integration tests.

  • run end-to-end tests : Generate the packages and run the E2E Tests.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@pierrehilbert pierrehilbert added the Team:Elastic-Agent Label for the Agent team label Oct 23, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@pierrehilbert pierrehilbert requested review from michalpristas and removed request for blakerouse and pchila October 23, 2023 07:37
@mergify mergify bot deleted the mergify/bp/8.9/pr-3635 branch October 23, 2023 12:34
@elasticmachine
Copy link
Contributor

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-10-23T12:25:33.041+0000

  • Duration: 25 min 44 sec

Test stats 🧪

Test Results
Failed 1
Passed 6096
Skipped 27
Total 6124

Test errors 1

Expand to view the tests failures

Test / Matrix - PLATFORM = 'ubuntu-22 && immutable' / Test / TestManager_FakeInput_RemoveUnit – github.com/elastic/elastic-agent/pkg/component/runtime
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestManager_FakeInput_RemoveUnit
    ==================
    WARNING: DATA RACE
    Read at 0x000001be2b53 by goroutine 429:
      github.com/elastic/elastic-agent/internal/pkg/agent/application/paths.Home()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/internal/pkg/agent/application/paths/common.go:96 +0x30
      github.com/elastic/elastic-agent/internal/pkg/agent/application/paths.Run()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/internal/pkg/agent/application/paths/common.go:155 +0x3a
      github.com/elastic/elastic-agent/pkg/component/runtime.(*commandRuntime).workDirPath()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/command.go:439 +0x3c
      github.com/elastic/elastic-agent/pkg/component/runtime.(*commandRuntime).workDir()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/command.go:443 +0x64
      github.com/elastic/elastic-agent/pkg/component/runtime.(*commandRuntime).start()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/command.go:323 +0x50b
      github.com/elastic/elastic-agent/pkg/component/runtime.(*commandRuntime).Run()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/command.go:124 +0x4c4
      github.com/elastic/elastic-agent/pkg/component/runtime.(*componentRuntimeState).runLoop.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/runtime.go:137 +0x12e
      github.com/elastic/elastic-agent/internal/pkg/runner.Start.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/internal/pkg/runner/runner.go:69 +0x62
    
    Previous write at 0x000001be2b53 by goroutine 427:
      github.com/elastic/elastic-agent/internal/pkg/agent/application/paths.SetVersionHome()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/internal/pkg/agent/application/paths/common.go:112 +0x134
      github.com/elastic/elastic-agent/pkg/component/runtime.testPaths()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/manager_test.go:2960 +0x128
      github.com/elastic/elastic-agent/pkg/component/runtime.TestManager_FakeInput_RemoveUnit()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/manager_test.go:1062 +0x4a
      testing.tRunner()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1446 +0x216
      testing.(*T).Run.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1493 +0x47
    
    Goroutine 429 (running) created at:
      github.com/elastic/elastic-agent/internal/pkg/runner.Start()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/internal/pkg/runner/runner.go:68 +0x296
      github.com/elastic/elastic-agent/pkg/component/runtime.(*componentRuntimeState).runLoop()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/runtime.go:135 +0xfa
      github.com/elastic/elastic-agent/pkg/component/runtime.newComponentRuntimeState.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/runtime.go:128 +0x39
    
    Goroutine 427 (running) created at:
      testing.(*T).Run()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1493 +0x75d
      testing.runTests.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1846 +0x99
      testing.tRunner()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1446 +0x216
      testing.runTests()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1844 +0x7ec
      testing.(*M).Run()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1726 +0xa84
      main.main()
          _testmain.go:169 +0x3bc
    ==================
    ==================
    WARNING: DATA RACE
    Read at 0x000001baebb0 by goroutine 429:
      github.com/elastic/elastic-agent/internal/pkg/agent/application/paths.Run()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/internal/pkg/agent/application/paths/common.go:155 +0x45
      github.com/elastic/elastic-agent/pkg/component/runtime.(*commandRuntime).workDirPath()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/command.go:439 +0x3c
      github.com/elastic/elastic-agent/pkg/component/runtime.(*commandRuntime).workDir()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/command.go:443 +0x64
      github.com/elastic/elastic-agent/pkg/component/runtime.(*commandRuntime).start()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/command.go:323 +0x50b
      github.com/elastic/elastic-agent/pkg/component/runtime.(*commandRuntime).Run()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/command.go:124 +0x4c4
      github.com/elastic/elastic-agent/pkg/component/runtime.(*componentRuntimeState).runLoop.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/runtime.go:137 +0x12e
      github.com/elastic/elastic-agent/internal/pkg/runner.Start.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/internal/pkg/runner/runner.go:69 +0x62
    
    Previous write at 0x000001baebb0 by goroutine 427:
      github.com/elastic/elastic-agent/internal/pkg/agent/application/paths.SetTop()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/internal/pkg/agent/application/paths/common.go:81 +0x148
      github.com/elastic/elastic-agent/pkg/component/runtime.testPaths()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/manager_test.go:2961 +0x13c
      github.com/elastic/elastic-agent/pkg/component/runtime.TestManager_FakeInput_RemoveUnit()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/manager_test.go:1062 +0x4a
      testing.tRunner()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1446 +0x216
      testing.(*T).Run.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1493 +0x47
    
    Goroutine 429 (running) created at:
      github.com/elastic/elastic-agent/internal/pkg/runner.Start()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/internal/pkg/runner/runner.go:68 +0x296
      github.com/elastic/elastic-agent/pkg/component/runtime.(*componentRuntimeState).runLoop()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/runtime.go:135 +0xfa
      github.com/elastic/elastic-agent/pkg/component/runtime.newComponentRuntimeState.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/src/github.com/elastic/elastic-agent/pkg/component/runtime/runtime.go:128 +0x39
    
    Goroutine 427 (running) created at:
      testing.(*T).Run()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1493 +0x75d
      testing.runTests.func1()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1846 +0x99
      testing.tRunner()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1446 +0x216
      testing.runTests()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1844 +0x7ec
      testing.(*M).Run()
          /var/lib/jenkins/workspace/_agent_elastic-agent-mbp_PR-3644/.gvm/versions/go1.19.12.linux.amd64/src/testing/testing.go:1726 +0xa84
      main.main()
          _testmain.go:169 +0x3bc
    ==================
    {"log.level":"error","@timestamp":"2023-10-23T12:39:51.101Z","message":"GRPC client error: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:44631: connect: connection refused\"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"ecs.version":"1.6.0"}
    {"log.level":"error","@timestamp":"2023-10-23T12:39:51.101Z","message":"GRPC client error: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:44631: connect: connection refused\"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"ecs.version":"1.6.0"}
    {"log.level":"error","@timestamp":"2023-10-23T12:39:52.100Z","message":"GRPC client error: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:44631: connect: connection refused\"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"ecs.version":"1.6.0"}
    {"log.level":"error","@timestamp":"2023-10-23T12:39:52.100Z","message":"GRPC client error: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:44631: connect: connection refused\"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"ecs.version":"1.6.0"}
    {"log.level":"error","@timestamp":"2023-10-23T12:39:54.101Z","message":"GRPC client error: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:44631: connect: connection refused\"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"ecs.version":"1.6.0"}
    {"log.level":"error","@timestamp":"2023-10-23T12:39:54.101Z","message":"GRPC client error: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:44631: connect: connection refused\"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"ecs.version":"1.6.0"}
        manager_test.go:1130: component state changed: {State:STARTING Message:Starting: spawned pid '60265' Units:map[{UnitType:input UnitID:fake-input-0}:{State:STARTING Message:Starting: spawned pid '60265' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:input UnitID:fake-input-1}:{State:STARTING Message:Starting: spawned pid '60265' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>}] Features:<nil> FeaturesIdx:0 VersionInfo:{Name: Version: Meta:map[]} expectedUnits:map[{UnitType:0 UnitID:fake-input-0}:{state:2 configStateIdx:1 config:0xc0001c2bd0 err:<nil> logLevel:4} {UnitType:0 UnitID:fake-input-1}:{state:2 configStateIdx:1 config:0xc0001c2c60 err:<nil> logLevel:4}] expectedFeatures:<nil> expectedFeaturesIdx:1}
        manager_test.go:1130: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '60265' Units:map[{UnitType:input UnitID:fake-input-0}:{State:STARTING Message:Starting: spawned pid '60265' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:input UnitID:fake-input-1}:{State:STARTING Message:Starting: spawned pid '60265' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>}] Features:<nil> FeaturesIdx:0 VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input-0}:{state:2 configStateIdx:1 config:0xc0001c2bd0 err:<nil> logLevel:4} {UnitType:0 UnitID:fake-input-1}:{state:2 configStateIdx:1 config:0xc0001c2c60 err:<nil> logLevel:4}] expectedFeatures:<nil> expectedFeaturesIdx:1}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"time":"2023-10-23T12:39:54Z","message":"unit change received","level":"info","state":"STARTING","expectedState":"HEALTHY","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","time":"2023-10-23T12:39:54Z","message":"registering set_state action for unit","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","time":"2023-10-23T12:39:54Z","message":"registering send_event action for unit","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","time":"2023-10-23T12:39:54Z","message":"registering kill action for unit","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","time":"2023-10-23T12:39:54Z","message":"registering retrieve_features action for unit","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"debug","state":"HEALTHY","message":"updating unit state","time":"2023-10-23T12:39:54Z","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","kill_on_interval":false,"time":"2023-10-23T12:39:54Z","message":"kill_on_interval config set value","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"message":"unit change received","level":"info","state":"STARTING","expectedState":"HEALTHY","time":"2023-10-23T12:39:54Z","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","time":"2023-10-23T12:39:54Z","message":"registering set_state action for unit","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","time":"2023-10-23T12:39:54Z","message":"registering send_event action for unit","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","time":"2023-10-23T12:39:54Z","message":"registering kill action for unit","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","time":"2023-10-23T12:39:54Z","message":"registering retrieve_features action for unit","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"debug","state":"HEALTHY","message":"updating unit state","time":"2023-10-23T12:39:54Z","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"trace","kill_on_interval":false,"time":"2023-10-23T12:39:54Z","message":"kill_on_interval config set value","ecs.version":"1.6.0"}
        manager_test.go:1130: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '60265' Units:map[{UnitType:input UnitID:fake-input-0}:{State:HEALTHY Message:Fake Healthy 0 Payload:map[] unitState:2 unitMessage:Fake Healthy 0 unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:input UnitID:fake-input-1}:{State:HEALTHY Message:Fake Healthy 1 Payload:map[] unitState:2 unitMessage:Fake Healthy 1 unitPayload:map[] configStateIdx:1 err:<nil>}] Features:<nil> FeaturesIdx:1 VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input-0}:{state:2 configStateIdx:1 config:0xc0001c2bd0 err:<nil> logLevel:4} {UnitType:0 UnitID:fake-input-1}:{state:2 configStateIdx:1 config:0xc0001c2c60 err:<nil> logLevel:4}] expectedFeatures:<nil> expectedFeaturesIdx:1}
        manager_test.go:1130: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '60265' Units:map[{UnitType:input UnitID:fake-input-0}:{State:HEALTHY Message:Fake Healthy 0 Payload:map[] unitState:2 unitMessage:Fake Healthy 0 unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:input UnitID:fake-input-1}:{State:STOPPED Message:Stopped Payload:map[] unitState:6 unitMessage:Stopped unitPayload:map[] configStateIdx:1 err:<nil>}] Features:<nil> FeaturesIdx:1 VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input-0}:{state:2 configStateIdx:1 config:0xc0001c2bd0 err:<nil> logLevel:4} {UnitType:0 UnitID:fake-input-1}:{state:6 configStateIdx:1 config:0xc0001c2c60 err:<nil> logLevel:4}] expectedFeatures:<nil> expectedFeaturesIdx:1}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"expectedState":"STOPPED","time":"2023-10-23T12:39:54Z","message":"unit change received","level":"info","state":"HEALTHY","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"debug","state":"STOPPING","message":"updating unit state","time":"2023-10-23T12:39:54Z","ecs.version":"1.6.0"}
        manager_test.go:1130: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '60265' Units:map[{UnitType:input UnitID:fake-input-0}:{State:HEALTHY Message:Fake Healthy 0 Payload:map[] unitState:2 unitMessage:Fake Healthy 0 unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:input UnitID:fake-input-1}:{State:STOPPING Message:Stopping Payload:map[] unitState:5 unitMessage:Stopping unitPayload:map[] configStateIdx:1 err:<nil>}] Features:<nil> FeaturesIdx:1 VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input-0}:{state:2 configStateIdx:1 config:0xc0001c2bd0 err:<nil> logLevel:4} {UnitType:0 UnitID:fake-input-1}:{state:6 configStateIdx:1 config:0xc0001c2c60 err:<nil> logLevel:4}] expectedFeatures:<nil> expectedFeaturesIdx:1}
    {"log.level":"info","@timestamp":"0000-01-01T00:00:00.000Z","message":"","component":{"binary":"","dataset":"elastic_agent.","id":"fake-default","type":"fake"},"log":{"source":"fake-default"},"level":"debug","state":"STOPPED","message":"updating unit state","time":"2023-10-23T12:39:55Z","ecs.version":"1.6.0"}
        manager_test.go:1130: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '60265' Units:map[{UnitType:input UnitID:fake-input-0}:{State:HEALTHY Message:Fake Healthy 0 Payload:map[] unitState:2 unitMessage:Fake Healthy 0 unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:input UnitID:fake-input-1}:{State:STOPPED Message:Stopped Payload:map[] unitState:6 unitMessage:Stopped unitPayload:map[] configStateIdx:1 err:<nil>}] Features:<nil> FeaturesIdx:1 VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input-0}:{state:2 configStateIdx:1 config:0xc0001c2bd0 err:<nil> logLevel:4} {UnitType:0 UnitID:fake-input-1}:{state:6 configStateIdx:1 config:0xc0001c2c60 err:<nil> logLevel:4}] expectedFeatures:<nil> expectedFeaturesIdx:1}
        manager_test.go:1130: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '60265' Units:map[{UnitType:input UnitID:fake-input-0}:{State:HEALTHY Message:Fake Healthy 0 Payload:map[] unitState:2 unitMessage:Fake Healthy 0 unitPayload:map[] configStateIdx:1 err:<nil>}] Features:<nil> FeaturesIdx:1 VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input-0}:{state:2 configStateIdx:1 config:0xc0001c2bd0 err:<nil> logLevel:4}] expectedFeatures:<nil> expectedFeaturesIdx:1}
        testing.go:1319: race detected during execution of test
    --- FAIL: TestManager_FakeInput_RemoveUnit (4.83s)
     
    

Steps errors 2

Expand to view the steps failures

Go unitTest
  • Took 5 min 43 sec . View more details here
  • Description: mage unitTest
Publish Cobertura Coverage Report
  • Took 0 min 1 sec . View more details here
  • Description: [2023-10-23T12:40:32.793Z] [Cobertura] Publishing Cobertura coverage report... [2023-10-23T12:40:32

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Genuine test errors 1

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Test / Matrix - PLATFORM = 'ubuntu-22 && immutable' / Test / TestManager_FakeInput_RemoveUnit – github.com/elastic/elastic-agent/pkg/component/runtime

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages.

  • run integration tests : Run the Elastic Agent Integration tests.

  • run end-to-end tests : Generate the packages and run the E2E Tests.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport conflicts There is a conflict in the backported pull request Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants