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

Update Golang to 1.15.12 #25629

Merged
merged 3 commits into from
May 10, 2021
Merged

Update Golang to 1.15.12 #25629

merged 3 commits into from
May 10, 2021

Conversation

kvch
Copy link
Contributor

@kvch kvch commented May 10, 2021

What does this PR do?

This PR updates Golang to 1.15.12

Requires elastic/golang-crossbuild#84

Why is it important?

To be up to date with all fixes.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
    - [ ] I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

@kvch kvch requested a review from a team as a code owner May 10, 2021 08:02
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 10, 2021
@kvch kvch added the Team:Elastic-Agent Label for the Agent team label May 10, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label May 10, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented May 10, 2021

💔 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

Expand to view the summary

Build stats

  • Build Cause: kvch commented: jenkins run tests

  • Start Time: 2021-05-10T09:57:02.563+0000

  • Duration: 186 min 13 sec

  • Commit: 1d8fe90

Test stats 🧪

Test Results
Failed 9
Passed 37131
Skipped 3956
Total 41096

Trends 🧪

Image of Build Times

Image of Tests

Test errors 9

Expand to view the tests failures

Extended / x-pack/elastic-agent-windows-8-windows-8 / TestConfigurableFailed – github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/operation
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestConfigurableFailed
        common_test.go:135: check timed out after 15 second: process never went to back to running
    --- FAIL: TestConfigurableFailed (17.72s)
     
    

Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_already_locked_resource_has_no_problem_when_harvestergroup_is_cancelled – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestDefaultHarvesterGroup/assert_already_locked_resource_has_no_problem_when_harvestergroup_is_cancelled
    coverage: 45.2% of statements
    panic: test timed out after 10m0s
    
    goroutine 70 [running]:
    testing.(*M).startAlarm.func1()
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1618 +0xe6
    created by time.goFunc
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/time/sleep.go:167 +0x4b
    
    goroutine 1 [chan receive, 9 minutes]:
    testing.(*T).Run(0xc0004f6900, 0x1595237, 0x19, 0x15b6e90, 0xd21e01)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1169 +0x2da
    testing.runTests.func1(0xc0001bc300)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1439 +0x7f
    testing.tRunner(0xc0001bc300, 0xc0005bfda8)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1123 +0xef
    testing.runTests(0xc0001c8060, 0x1b46e40, 0x11, 0x11, 0xc01e64561d0dd8ac, 0x8bb7bd7cb5, 0x1b544e0, 0xc8e794)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1437 +0x310
    testing.(*M).Run(0xc000600000, 0x0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1345 +0x1f5
    main.main()
    	_testmain.go:141 +0x1c8
    
    goroutine 59 [chan receive, 9 minutes]:
    testing.(*T).Run(0xc0004f7200, 0x15adab1, 0x4e, 0xc0004e2f60, 0x1)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1169 +0x2da
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.TestDefaultHarvesterGroup(0xc0004f6900)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:253 +0x327
    testing.tRunner(0xc0004f6900, 0x15b6e90)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1123 +0xef
    created by testing.(*T).Run
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1168 +0x2b3
    
    goroutine 63 [chan receive, 9 minutes]:
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.blockUntilCancelOnRun(0xc0004e2e30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:353 +0x55
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.(*mockHarvester).Run(0xc00048bcc0, 0xc0004e2e30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:332 +0x19f
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.startHarvester.func1(0x258fdb41110, 0xc0004e0f00, 0x0, 0x0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:204 +0x9a7
    github.com/elastic/go-concert/unison.(*TaskGroup).Go.func1(0xc0004fce10, 0xc0004e0ec0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:124 +0xa5
    created by github.com/elastic/go-concert/unison.(*TaskGroup).Go
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:122 +0xde
    
    goroutine 98 [sleep]:
    time.Sleep(0x989680)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/runtime/time.go:188 +0xc9
    github.com/elastic/beats/v7/libbeat/tests/resources.(*GoroutinesChecker).WaitUntilIncreased(0xc000531e30, 0x1)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/libbeat/tests/resources/goroutines.go:95 +0x33
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.TestDefaultHarvesterGroup.func9(0xc0004f7200)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:269 +0x2f1
    testing.tRunner(0xc0004f7200, 0xc0004e2f60)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1123 +0xef
    created by testing.(*T).Run
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1168 +0x2b3
    
    goroutine 99 [select, 9 minutes]:
    github.com/elastic/go-concert/unison.Mutex.LockContext(0xc0005081e0, 0x258fdc51c18, 0xc0005061c0, 0x258fdc51c18, 0xc0005061c0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/mutex.go:99 +0xfd
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.lockResource(0xc0004e2ff0, 0xc0005120a0, 0x258fdb41138, 0xc0005061c0, 0xc0005120a0, 0xcb965d)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:253 +0x192
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.lock(0xc0004e2ff0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:237 +0xb4
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.startHarvester.func1(0x258fdb41110, 0xc000506180, 0x0, 0x0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:183 +0x40a
    github.com/elastic/go-concert/unison.(*TaskGroup).Go.func1(0xc0005106c0, 0xc000506140)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:124 +0xa5
    created by github.com/elastic/go-concert/unison.(*TaskGroup).Go
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:122 +0xde
     
    

Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestDefaultHarvesterGroup
    === RUN   TestDefaultHarvesterGroup/assert_a_harvester_is_started_in_a_goroutine
    === RUN   TestDefaultHarvesterGroup/assert_a_harvester_can_be_stopped_and_removed_from_bookkeeper
    === RUN   TestDefaultHarvesterGroup/assert_a_harvester_for_same_source_cannot_be_started
    === RUN   TestDefaultHarvesterGroup/assert_a_harvester_panic_is_handled
    === RUN   TestDefaultHarvesterGroup/assert_a_harvester_error_is_handled
    === RUN   TestDefaultHarvesterGroup/assert_already_locked_resource_has_to_wait
    === RUN   TestDefaultHarvesterGroup/assert_already_locked_resource_has_no_problem_when_harvestergroup_is_cancelled
    coverage: 45.2% of statements
    panic: test timed out after 10m0s
    
    goroutine 70 [running]:
    testing.(*M).startAlarm.func1()
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1618 +0xe6
    created by time.goFunc
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/time/sleep.go:167 +0x4b
    
    goroutine 1 [chan receive, 9 minutes]:
    testing.(*T).Run(0xc0004f6900, 0x1595237, 0x19, 0x15b6e90, 0xd21e01)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1169 +0x2da
    testing.runTests.func1(0xc0001bc300)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1439 +0x7f
    testing.tRunner(0xc0001bc300, 0xc0005bfda8)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1123 +0xef
    testing.runTests(0xc0001c8060, 0x1b46e40, 0x11, 0x11, 0xc01e64561d0dd8ac, 0x8bb7bd7cb5, 0x1b544e0, 0xc8e794)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1437 +0x310
    testing.(*M).Run(0xc000600000, 0x0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1345 +0x1f5
    main.main()
    	_testmain.go:141 +0x1c8
    
    goroutine 59 [chan receive, 9 minutes]:
    testing.(*T).Run(0xc0004f7200, 0x15adab1, 0x4e, 0xc0004e2f60, 0x1)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1169 +0x2da
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.TestDefaultHarvesterGroup(0xc0004f6900)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:253 +0x327
    testing.tRunner(0xc0004f6900, 0x15b6e90)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1123 +0xef
    created by testing.(*T).Run
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1168 +0x2b3
    
    goroutine 63 [chan receive, 9 minutes]:
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.blockUntilCancelOnRun(0xc0004e2e30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:353 +0x55
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.(*mockHarvester).Run(0xc00048bcc0, 0xc0004e2e30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:332 +0x19f
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.startHarvester.func1(0x258fdb41110, 0xc0004e0f00, 0x0, 0x0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:204 +0x9a7
    github.com/elastic/go-concert/unison.(*TaskGroup).Go.func1(0xc0004fce10, 0xc0004e0ec0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:124 +0xa5
    created by github.com/elastic/go-concert/unison.(*TaskGroup).Go
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:122 +0xde
    
    goroutine 98 [sleep]:
    time.Sleep(0x989680)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/runtime/time.go:188 +0xc9
    github.com/elastic/beats/v7/libbeat/tests/resources.(*GoroutinesChecker).WaitUntilIncreased(0xc000531e30, 0x1)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/libbeat/tests/resources/goroutines.go:95 +0x33
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.TestDefaultHarvesterGroup.func9(0xc0004f7200)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:269 +0x2f1
    testing.tRunner(0xc0004f7200, 0xc0004e2f60)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1123 +0xef
    created by testing.(*T).Run
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1168 +0x2b3
    
    goroutine 99 [select, 9 minutes]:
    github.com/elastic/go-concert/unison.Mutex.LockContext(0xc0005081e0, 0x258fdc51c18, 0xc0005061c0, 0x258fdc51c18, 0xc0005061c0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/mutex.go:99 +0xfd
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.lockResource(0xc0004e2ff0, 0xc0005120a0, 0x258fdb41138, 0xc0005061c0, 0xc0005120a0, 0xcb965d)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:253 +0x192
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.lock(0xc0004e2ff0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:237 +0xb4
    github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.startHarvester.func1(0x258fdb41110, 0xc000506180, 0x0, 0x0)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:183 +0x40a
    github.com/elastic/go-concert/unison.(*TaskGroup).Go.func1(0xc0005106c0, 0xc000506140)
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:124 +0xa5
    created by github.com/elastic/go-concert/unison.(*TaskGroup).Go
    	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:122 +0xde
     
    

Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_is_started_in_a_goroutine – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestDefaultHarvesterGroup/assert_a_harvester_is_started_in_a_goroutine
     
    

Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_can_be_stopped_and_removed_from_bookkeeper – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestDefaultHarvesterGroup/assert_a_harvester_can_be_stopped_and_removed_from_bookkeeper
     
    

Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_for_same_source_cannot_be_started – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestDefaultHarvesterGroup/assert_a_harvester_for_same_source_cannot_be_started
     
    

Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_panic_is_handled – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestDefaultHarvesterGroup/assert_a_harvester_panic_is_handled
     
    

Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_error_is_handled – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestDefaultHarvesterGroup/assert_a_harvester_error_is_handled
     
    

Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_already_locked_resource_has_to_wait – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestDefaultHarvesterGroup/assert_already_locked_resource_has_to_wait
     
    

Steps errors 6

Expand to view the steps failures

filebeat-windows-10-windows-10 - mage build unitTest
  • Took 12 min 4 sec . View more details on here
  • Description: mage build unitTest
Verify if file exists in workspace
  • Took 0 min 0 sec . View more details on here
  • Description: source.tgz
Checks if running on a Unix-like node
  • Took 0 min 0 sec . View more details on here
x-pack/elastic-agent-windows-8-windows-8 - mage build unitTest
  • Took 2 min 42 sec . View more details on here
  • Description: mage build unitTest
gsutil -m -q cp -a public-read test-build-artifacts-x-pack-elastic-agent-windows-8-windows-8-tgz gs:
  • Took 0 min 6 sec . View more details on here
  • Description: @echo off gsutil -m -q cp -a public-read test-build-artifacts-x-pack-elastic-agent-windows-8-windows-8-tgz gs://beats-ci-temp/Beats/beats/PR-25629-4
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

Log output

Expand to view the last 100 lines of log output

[2021-05-10T11:32:52.333Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:253 +0x327
[2021-05-10T11:32:52.333Z] testing.tRunner(0xc0004f6900, 0x15b6e90)
[2021-05-10T11:32:52.333Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1123 +0xef
[2021-05-10T11:32:52.333Z] created by testing.(*T).Run
[2021-05-10T11:32:52.333Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1168 +0x2b3
[2021-05-10T11:32:52.333Z] 
[2021-05-10T11:32:52.333Z] goroutine 63 [chan receive, 9 minutes]:
[2021-05-10T11:32:52.333Z] github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.blockUntilCancelOnRun(0xc0004e2e30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
[2021-05-10T11:32:52.333Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:353 +0x55
[2021-05-10T11:32:52.333Z] github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.(*mockHarvester).Run(0xc00048bcc0, 0xc0004e2e30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
[2021-05-10T11:32:52.333Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:332 +0x19f
[2021-05-10T11:32:52.333Z] github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.startHarvester.func1(0x258fdb41110, 0xc0004e0f00, 0x0, 0x0)
[2021-05-10T11:32:52.333Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:204 +0x9a7
[2021-05-10T11:32:52.333Z] github.com/elastic/go-concert/unison.(*TaskGroup).Go.func1(0xc0004fce10, 0xc0004e0ec0)
[2021-05-10T11:32:52.333Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:124 +0xa5
[2021-05-10T11:32:52.333Z] created by github.com/elastic/go-concert/unison.(*TaskGroup).Go
[2021-05-10T11:32:52.333Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:122 +0xde
[2021-05-10T11:32:52.333Z] 
[2021-05-10T11:32:52.333Z] goroutine 98 [sleep]:
[2021-05-10T11:32:52.333Z] time.Sleep(0x989680)
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/runtime/time.go:188 +0xc9
[2021-05-10T11:32:52.334Z] github.com/elastic/beats/v7/libbeat/tests/resources.(*GoroutinesChecker).WaitUntilIncreased(0xc000531e30, 0x1)
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/libbeat/tests/resources/goroutines.go:95 +0x33
[2021-05-10T11:32:52.334Z] github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.TestDefaultHarvesterGroup.func9(0xc0004f7200)
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester_test.go:269 +0x2f1
[2021-05-10T11:32:52.334Z] testing.tRunner(0xc0004f7200, 0xc0004e2f60)
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1123 +0xef
[2021-05-10T11:32:52.334Z] created by testing.(*T).Run
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/.gvm/versions/go1.15.12.windows.amd64/src/testing/testing.go:1168 +0x2b3
[2021-05-10T11:32:52.334Z] 
[2021-05-10T11:32:52.334Z] goroutine 99 [select, 9 minutes]:
[2021-05-10T11:32:52.334Z] github.com/elastic/go-concert/unison.Mutex.LockContext(0xc0005081e0, 0x258fdc51c18, 0xc0005061c0, 0x258fdc51c18, 0xc0005061c0)
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/mutex.go:99 +0xfd
[2021-05-10T11:32:52.334Z] github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.lockResource(0xc0004e2ff0, 0xc0005120a0, 0x258fdb41138, 0xc0005061c0, 0xc0005120a0, 0xcb965d)
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:253 +0x192
[2021-05-10T11:32:52.334Z] github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.lock(0xc0004e2ff0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:237 +0xb4
[2021-05-10T11:32:52.334Z] github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile.startHarvester.func1(0x258fdb41110, 0xc000506180, 0x0, 0x0)
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/src/github.com/elastic/beats/filebeat/input/filestream/internal/input-logfile/harvester.go:183 +0x40a
[2021-05-10T11:32:52.334Z] github.com/elastic/go-concert/unison.(*TaskGroup).Go.func1(0xc0005106c0, 0xc000506140)
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:124 +0xa5
[2021-05-10T11:32:52.334Z] created by github.com/elastic/go-concert/unison.(*TaskGroup).Go
[2021-05-10T11:32:52.334Z] 	C:/Users/jenkins/workspace/PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad/pkg/mod/github.com/elastic/[email protected]/unison/taskgroup.go:122 +0xde
[2021-05-10T11:32:52.334Z] 
[2021-05-10T11:32:52.334Z] === FAIL: filebeat/input/filestream/internal/input-logfile TestDefaultHarvesterGroup/assert_a_harvester_is_started_in_a_goroutine (unknown)
[2021-05-10T11:32:52.334Z] 
[2021-05-10T11:32:52.334Z] === FAIL: filebeat/input/filestream/internal/input-logfile TestDefaultHarvesterGroup/assert_a_harvester_can_be_stopped_and_removed_from_bookkeeper (unknown)
[2021-05-10T11:32:52.334Z] 
[2021-05-10T11:32:52.334Z] === FAIL: filebeat/input/filestream/internal/input-logfile TestDefaultHarvesterGroup/assert_a_harvester_for_same_source_cannot_be_started (unknown)
[2021-05-10T11:32:52.334Z] 
[2021-05-10T11:32:52.334Z] === FAIL: filebeat/input/filestream/internal/input-logfile TestDefaultHarvesterGroup/assert_a_harvester_panic_is_handled (unknown)
[2021-05-10T11:32:52.334Z] 
[2021-05-10T11:32:52.334Z] === FAIL: filebeat/input/filestream/internal/input-logfile TestDefaultHarvesterGroup/assert_a_harvester_error_is_handled (unknown)
[2021-05-10T11:32:52.334Z] 
[2021-05-10T11:32:52.334Z] === FAIL: filebeat/input/filestream/internal/input-logfile TestDefaultHarvesterGroup/assert_already_locked_resource_has_to_wait (unknown)
[2021-05-10T11:32:52.334Z] 
[2021-05-10T11:32:52.334Z] DONE 714 tests, 5 skipped, 8 failures in 644.539s
[2021-05-10T11:32:52.334Z] Error: go test returned a non-zero value: exit status 1
[2021-05-10T11:32:52.750Z] 
[2021-05-10T11:32:52.750Z] C:\Users\jenkins\workspace\PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad\src\github.com\elastic\beats>FOR / %d IN ("ve") DO @IF EXIST "%d" rmdir /s /q "%d" 
[2021-05-10T11:32:53.344Z] 
[2021-05-10T11:32:53.344Z] C:\Users\jenkins\workspace\PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2021-05-10T11:32:53.914Z] Copy .\filebeat\build into build\filebeat\build
[2021-05-10T11:32:53.928Z] Running in C:\Users\jenkins\workspace\PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad\src\github.com\elastic\beats\build
[2021-05-10T11:32:53.947Z] Recording test results
[2021-05-10T11:32:56.847Z] [Checks API] No suitable checks publisher found.
[2021-05-10T11:32:57.168Z] 
[2021-05-10T11:32:57.168Z] C:\Users\jenkins\workspace\PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad\src\github.com\elastic\beats\build>tar --version  1>NUL 
[2021-05-10T11:32:57.511Z] 
[2021-05-10T11:32:57.511Z] C:\Users\jenkins\workspace\PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad\src\github.com\elastic\beats\build>tar --exclude=test-build-artifacts-filebeat-windows-10-windows-10-tgz -czf test-build-artifacts-filebeat-windows-10-windows-10-tgz . 
[2021-05-10T11:32:57.895Z] 
[2021-05-10T11:32:57.895Z] C:\Users\jenkins\workspace\PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad\src\github.com\elastic\beats\build>gsutil --version  1>NUL 
[2021-05-10T11:33:16.037Z] Masking supported pattern matches of %FILE_CREDENTIAL%
[2021-05-10T11:33:17.288Z] 
[2021-05-10T11:33:17.288Z] C:\Users\jenkins\workspace\PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad\src\github.com\elastic\beats\build>gcloud auth activate-service-account --key-file **** 
[2021-05-10T11:33:19.201Z] Activated service account credentials for: [[email protected]]
[2021-05-10T11:33:23.030Z] [INFO] system-tests=''. If no empty then let's create a tarball
[2021-05-10T11:33:23.406Z] 
[2021-05-10T11:33:23.406Z] C:\Users\jenkins\workspace\PR-25629-4-adbdc8fb-6611-4250-a589-99a5f888a5ad\src\github.com\elastic\beats>go clean -modcache 
[2021-05-10T11:34:25.007Z] + gsutil --version
[2021-05-10T11:34:26.435Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-05-10T11:34:26.745Z] + gcloud auth activate-service-account --key-file ****
[2021-05-10T11:34:27.318Z] Activated service account credentials for: [[email protected]]
[2021-05-10T11:34:27.632Z] + gsutil -m -q cp -a public-read cGFja2V0YmVhdC13aW5kb3dzLTEwLXdpbmRvd3MtMTAxZDhmZTkwZjYwNTY2OGNhYmZjNWE5NzY4MzY4NzMzZDQzMzNlOWUz gs://beats-ci-temp/ci/cache/
[2021-05-10T11:35:01.306Z] Failed in branch filebeat-windows-10-windows-10
[2021-05-10T13:03:13.201Z] Cancelling nested steps due to timeout
[2021-05-10T13:03:13.202Z] Could not connect to beats-ci-immutable-windows-2008-r2-1620645008892118603 to send interrupt signal to process
[2021-05-10T13:03:13.217Z] [INFO] source.tgz was not extracted : null
[2021-05-10T13:03:13.238Z] beats-ci-immutable-windows-2008-r2-1620645008892118603 was marked offline: Node is being removed
[2021-05-10T13:03:14.722Z] Failed in branch heartbeat-windows-2008-windows-2008-r2
[2021-05-10T13:03:14.812Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-05-10T13:03:14.851Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-05-10T13:03:14.909Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-25629/src/github.com/elastic/beats
[2021-05-10T13:03:15.234Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-25629
[2021-05-10T13:03:15.285Z] [INFO] getVaultSecret: Getting secrets
[2021-05-10T13:03:15.327Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-05-10T13:03:16.044Z] + chmod 755 generate-build-data.sh
[2021-05-10T13:03:16.044Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25629/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25629/runs/4 FAILURE 11173216
[2021-05-10T13:03:16.044Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25629/runs/4/steps/?limit=10000 -o steps-info.json
[2021-05-10T13:03:24.068Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25629/runs/4/tests/?status=FAILED -o tests-errors.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 9
Passed 37131
Skipped 3956
Total 41096

Genuine test errors 9

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

  • Name: Extended / x-pack/elastic-agent-windows-8-windows-8 / TestConfigurableFailed – github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/agent/operation
  • Name: Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_already_locked_resource_has_no_problem_when_harvestergroup_is_cancelled – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
  • Name: Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
  • Name: Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_is_started_in_a_goroutine – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
  • Name: Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_can_be_stopped_and_removed_from_bookkeeper – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
  • Name: Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_for_same_source_cannot_be_started – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
  • Name: Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_panic_is_handled – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
  • Name: Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_a_harvester_error_is_handled – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile
  • Name: Extended / filebeat-windows-10-windows-10 / TestDefaultHarvesterGroup/assert_already_locked_resource_has_to_wait – github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile

Copy link
Contributor

@michalpristas michalpristas left a comment

Choose a reason for hiding this comment

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

looks good

@kvch
Copy link
Contributor Author

kvch commented May 10, 2021

jenkins run tests

@kvch kvch added backport-v7.13.0 Automated backport with mergify backport-v7.14.0 Automated backport with mergify labels May 10, 2021
@kvch kvch merged commit fd13dc5 into elastic:master May 10, 2021
mergify bot pushed a commit that referenced this pull request May 10, 2021
(cherry picked from commit fd13dc5)

# Conflicts:
#	libbeat/docs/version.asciidoc
mergify bot pushed a commit that referenced this pull request May 10, 2021
(cherry picked from commit fd13dc5)

# Conflicts:
#	libbeat/docs/version.asciidoc
kvch added a commit to kvch/beats that referenced this pull request May 11, 2021
kvch added a commit to kvch/beats that referenced this pull request May 11, 2021
kvch added a commit that referenced this pull request May 11, 2021
(cherry picked from commit fd13dc5)
kvch added a commit that referenced this pull request May 11, 2021
(cherry picked from commit fd13dc5)
kvch added a commit that referenced this pull request May 12, 2021
(cherry picked from commit fd13dc5)

Co-authored-by: Noémi Ványi <[email protected]>
kvch added a commit that referenced this pull request May 12, 2021
(cherry picked from commit fd13dc5)

Co-authored-by: Noémi Ványi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v7.13.0 Automated backport with mergify backport-v7.14.0 Automated backport with mergify Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants