Skip to content

V2 Changelog: adding fragments for visible changes#2076

Merged
pierrehilbert merged 7 commits into8.6from
v2-changelog-8.6
Jan 10, 2023
Merged

V2 Changelog: adding fragments for visible changes#2076
pierrehilbert merged 7 commits into8.6from
v2-changelog-8.6

Conversation

@pierrehilbert
Copy link
Contributor

What does this PR do?

Prepare fragments for the v2 changelog: only includes changes visible by our users.

Why is it important?

Allow our users to know what has changed.

Checklist

  • I have made corresponding changes to the documentation
  • I have added an entry in ./changelog/fragments using the changelog tool

How to test this PR locally

elastic-agent-changelog-tool build --version=next --owner elastic --repo elastic-agent
elastic-agent-changelog-tool render --version=next

Related issues

Relates #1687

@pierrehilbert pierrehilbert requested a review from a team as a code owner January 9, 2023 19:51
@pierrehilbert pierrehilbert requested review from aleksmaus, cmacknz and michel-laterman and removed request for a team, aleksmaus and michel-laterman January 9, 2023 19:51
@pierrehilbert pierrehilbert added Team:Elastic-Agent Label for the Agent team V2-Architecture documentation Improvements or additions to documentation labels Jan 9, 2023
@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 9, 2023

💔 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-01-09T22:00:25.585+0000

  • Duration: 16 min 46 sec

Test stats 🧪

Test Results
Failed 1
Passed 4820
Skipped 13
Total 4834

Test errors 1

Expand to view the tests failures

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

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestManager_FakeShipper
        manager_test.go:1963: component state changed: {State:STARTING Message:Starting: spawned pid '38614' Units:map[{UnitType:input UnitID:fake-input}:{State:STARTING Message:Starting: spawned pid '38614' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38614' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>}] VersionInfo:{Name: Version: Meta:map[]} expectedUnits:map[{UnitType:0 UnitID:fake-input}:{state:2 configStateIdx:1 config:0xc000574c60 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc0005745a0 err:<nil> logLevel:4}]}
        manager_test.go:1928: shipper state changed: {State:STARTING Message:Starting: spawned pid '38726' Units:map[{UnitType:input UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38726' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38726' Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:0 err:<nil>}] VersionInfo:{Name: Version: Meta:map[]} expectedUnits:map[{UnitType:0 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc0005743f0 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000574e10 err:<nil> logLevel:4}]}
        manager_test.go:1963: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '38614' Units:map[{UnitType:input UnitID:fake-input}:{State:STARTING Message:Starting: spawned pid '38614' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38614' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>}] VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input}:{state:2 configStateIdx:1 config:0xc000574c60 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc0005745a0 err:<nil> logLevel:4}]}
        manager_test.go:1963: component state changed: {State:HEALTHY Message:Healthy: communicating with pid '38614' Units:map[{UnitType:input UnitID:fake-input}:{State:HEALTHY Message:Fake Healthy Payload:map[] unitState:2 unitMessage:Fake Healthy unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:output UnitID:fake-default}:{State:HEALTHY Message:GRPC fake event pipe connected "unix:///tmp/at-1603770169/tmp/elastic-agent-fake-shipper-default-pipe.sock" Payload:map[] unitState:2 unitMessage:GRPC fake event pipe connected "unix:///tmp/at-1603770169/tmp/elastic-agent-fake-shipper-default-pipe.sock" unitPayload:map[] configStateIdx:1 err:<nil>}] VersionInfo:{Name:fake Version:1.0 Meta:map[input:fake]} expectedUnits:map[{UnitType:0 UnitID:fake-input}:{state:2 configStateIdx:1 config:0xc000574c60 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc0005745a0 err:<nil> logLevel:4}]}
        manager_test.go:1928: shipper state changed: {State:HEALTHY Message:Healthy: communicating with pid '38726' Units:map[{UnitType:input UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38726' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting: spawned pid '38726' Payload:map[] unitState:0 unitMessage: unitPayload:map[] configStateIdx:0 err:<nil>}] VersionInfo:{Name:fake-shipper Version:1.0 Meta:map[shipper:fake-shipper]} expectedUnits:map[{UnitType:0 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc0005743f0 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000574e10 err:<nil> logLevel:4}]}
        manager_test.go:1928: shipper state changed: {State:HEALTHY Message:Healthy: communicating with pid '38726' Units:map[{UnitType:input UnitID:fake-default}:{State:HEALTHY Message:Healthy Payload:map[] unitState:2 unitMessage:Healthy unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:output UnitID:fake-default}:{State:STARTING Message:Starting Payload:map[] unitState:0 unitMessage:Starting unitPayload:map[] configStateIdx:1 err:<nil>}] VersionInfo:{Name:fake-shipper Version:1.0 Meta:map[shipper:fake-shipper]} expectedUnits:map[{UnitType:0 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc0005743f0 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000574e10 err:<nil> logLevel:4}]}
        manager_test.go:1928: shipper state changed: {State:HEALTHY Message:Healthy: communicating with pid '38726' Units:map[{UnitType:input UnitID:fake-default}:{State:HEALTHY Message:Healthy Payload:map[] unitState:2 unitMessage:Healthy unitPayload:map[] configStateIdx:1 err:<nil>} {UnitType:output UnitID:fake-default}:{State:HEALTHY Message:Healthy Payload:map[] unitState:2 unitMessage:Healthy unitPayload:map[] configStateIdx:1 err:<nil>}] VersionInfo:{Name:fake-shipper Version:1.0 Meta:map[shipper:fake-shipper]} expectedUnits:map[{UnitType:0 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc0005743f0 err:<nil> logLevel:4} {UnitType:1 UnitID:fake-default}:{state:2 configStateIdx:1 config:0xc000574e10 err:<nil> logLevel:4}]}
        manager_test.go:2024: 
            	Error Trace:	manager_test.go:2024
            	Error:      	Received unexpected error:
            	            	action undefined
            	Test:       	TestManager_FakeShipper
    --- FAIL: TestManager_FakeShipper (5.28s)
     
    

Steps errors 2

Expand to view the steps failures

Go unitTest
  • Took 2 min 57 sec . View more details here
  • Description: mage unitTest
Publish Cobertura Coverage Report
  • Took 0 min 1 sec . View more details here
  • Description: [2023-01-09T22:09:25.085Z] [Cobertura] Publishing Cobertura coverage report... [2023-01-09T22:09:25

🐛 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-20.04 && immutable' / Test / TestManager_FakeShipper – 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!)

@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 9, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 98.305% (58/59) 👍
Files 69.268% (142/205) 👍
Classes 69.231% (270/390) 👍
Methods 54.047% (828/1532) 👍
Lines 39.273% (9008/22937) 👍 0.004
Conditionals 100.0% (0/0) 💚

@pierrehilbert pierrehilbert added docs and removed documentation Improvements or additions to documentation labels Jan 9, 2023
@cmacknz
Copy link
Member

cmacknz commented Jan 9, 2023

/test

@cmacknz
Copy link
Member

cmacknz commented Jan 10, 2023

The test failure here is a known flaky test and can be ignored.

@pierrehilbert pierrehilbert merged commit 4dcea16 into 8.6 Jan 10, 2023
@pierrehilbert pierrehilbert deleted the v2-changelog-8.6 branch January 10, 2023 20:46
mergify bot pushed a commit that referenced this pull request Jan 10, 2023
* V2 Changelog: adding fragments for visible changes

* Known issue about osquery

* Consolidated changelog + cleanup

* Removing non visible changes

* Correcting typo

* New clean of non visible changes

* Workaround for upgrade kind

(cherry picked from commit 4dcea16)
pierrehilbert added a commit that referenced this pull request Jan 16, 2023
* V2 Changelog: adding fragments for visible changes

* Known issue about osquery

* Consolidated changelog + cleanup

* Removing non visible changes

* Correcting typo

* New clean of non visible changes

* Workaround for upgrade kind

(cherry picked from commit 4dcea16)

Co-authored-by: Pierre HILBERT <pierre.hilbert@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants