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

Increase wait time to stabilize TestRotateDateSuffix #25869

Merged
merged 1 commit into from
May 26, 2021

Conversation

kvch
Copy link
Contributor

@kvch kvch commented May 26, 2021

What does this PR do?

This PR increases the wait time to make sure files get rotated enough times.

Why is it important?

The test has been flaky.

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.

Related issues

Closes #25868

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 26, 2021
@botelastic
Copy link

botelastic bot commented May 26, 2021

This pull request doesn't have a Team:<team> label.

@@ -216,15 +216,15 @@ func TestRotateDateSuffix(t *testing.T) {
firstExpectedPattern := fmt.Sprintf("%s-%s.*", logname, time.Now().Format("20060102150405"))
AssertDirContentsPattern(t, dir, firstExpectedPattern)

time.Sleep(1500 * time.Millisecond)
time.Sleep(2 * time.Second)
Copy link
Contributor

@mtojek mtojek May 26, 2021

Choose a reason for hiding this comment

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

I understand this is a quick fix, but in general this is an antipattern as it elongates the test execution. Do you think it's possible to replace it with mocked time instance?

For reference: https://github.com/benbjohnson/clock

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is indeed not the best solution. It is possible to refactor the code, however, I do not think it worth saving a few seconds when the whole build process for touching libbeat takes 2-3 hours.

Copy link
Contributor

Choose a reason for hiding this comment

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

I understand your concerns, but it's definitely a code smell. I suggest to open a followup Beats issue to fix this test.

@mtojek mtojek self-requested a review May 26, 2021 12:48
@elasticmachine
Copy link
Collaborator

💔 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: Pull request #25869 opened

  • Start Time: 2021-05-26T12:10:44.912+0000

  • Duration: 69 min 31 sec

  • Commit: 927f961

Test stats 🧪

Test Results
Failed 3
Passed 18225
Skipped 1478
Total 19706

Trends 🧪

Image of Build Times

Image of Tests

Test errors 3

Expand to view the tests failures

Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/couchbase/bucket
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestFetch
    --- FAIL: TestFetch (300.08s)
    panic: Timeout waiting for lock [recovered]
    	panic: Timeout waiting for lock
    
    goroutine 51 [running]:
    testing.tRunner.func1.1(0xf76e40, 0xc000568020)
    	/usr/local/go/src/testing/testing.go:1072 +0x30d
    testing.tRunner.func1(0xc000260c00)
    	/usr/local/go/src/testing/testing.go:1075 +0x41a
    panic(0xf76e40, 0xc000568020)
    	/usr/local/go/src/runtime/panic.go:969 +0x1b9
    github.com/elastic/beats/v7/libbeat/tests/compose.(*Project).Lock(0xc0004d0230)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/project.go:269 +0x393
    github.com/elastic/beats/v7/libbeat/tests/compose.(*Project).getServices(0xc0004d0230, 0xc00028ece0, 0x1, 0x1, 0x0, 0x0, 0x0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/project.go:328 +0x67
    github.com/elastic/beats/v7/libbeat/tests/compose.(*Project).Start(0xc0004d0230, 0x105115d, 0x9, 0x1bf08eb000, 0x100000000000100, 0x0, 0x0, 0x0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/project.go:136 +0x9a
    github.com/elastic/beats/v7/libbeat/tests/compose.EnsureUp.func1(0xc00003b320, 0xc00003b320)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/compose.go:77 +0xad
    github.com/elastic/beats/v7/libbeat/tests/compose.EnsureUp(0x115e8a0, 0xc000260c00, 0x105115d, 0x9, 0xc0002c5e68, 0x1, 0x1, 0x0, 0x0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/compose.go:100 +0x362
    github.com/elastic/beats/v7/libbeat/tests/compose.EnsureUpWithTimeout(0x115e8a0, 0xc000260c00, 0x78, 0x105115d, 0x9, 0x125f948, 0x1579fc0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/compose.go:124 +0x94
    github.com/elastic/beats/v7/metricbeat/module/couchbase/bucket.TestFetch(0xc000260c00)
    	/go/src/github.com/elastic/beats/metricbeat/module/couchbase/bucket/bucket_integration_test.go:33 +0x6a
    testing.tRunner(0xc000260c00, 0x108b628)
    	/usr/local/go/src/testing/testing.go:1123 +0xef
    created by testing.(*T).Run
    	/usr/local/go/src/testing/testing.go:1168 +0x2b3
     
    

Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/couchbase/cluster
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestFetch
    Found orphan containers (metricbeat_8_0_0_927f961437-snapshot_consul_1, metricbeat_8_0_0_927f961437-snapshot_ceph-api_1, metricbeat_8_0_0_927f961437-snapshot_ceph_1, metricbeat_8_0_0_927f961437-snapshot_apache_1, metricbeat_8_0_0_927f961437-snapshot_aerospike_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building couchbase
    Step 1/5 : ARG COUCHBASE_VERSION
    Step 2/5 : FROM couchbase:${COUCHBASE_VERSION}
    6.5.1: Pulling from library/couchbase
    coverage: 5.9% of statements
    panic: test timed out after 10m0s
    
    goroutine 66 [running]:
    testing.(*M).startAlarm.func1()
    	/usr/local/go/src/testing/testing.go:1618 +0xe5
    created by time.goFunc
    	/usr/local/go/src/time/sleep.go:167 +0x45
    
    goroutine 1 [chan receive, 10 minutes]:
    testing.(*T).Run(0xc000103680, 0x104ffa5, 0x9, 0x108a680, 0x7cb526)
    	/usr/local/go/src/testing/testing.go:1169 +0x2da
    testing.runTests.func1(0xc000103500)
    	/usr/local/go/src/testing/testing.go:1439 +0x78
    testing.tRunner(0xc000103500, 0xc00063fda8)
    	/usr/local/go/src/testing/testing.go:1123 +0xef
    testing.runTests(0xc00000e460, 0x15565b0, 0x1, 0x1, 0xc023af0833b24348, 0x8bb3879134, 0x15b5b40, 0x741f70)
    	/usr/local/go/src/testing/testing.go:1437 +0x2fe
    testing.(*M).Run(0xc0000d2480, 0x0)
    	/usr/local/go/src/testing/testing.go:1345 +0x1eb
    main.main()
    	_testmain.go:93 +0x1c5
    
    goroutine 37 [select, 10 minutes]:
    os/exec.(*Cmd).Start.func2(0xc0005be6e0)
    	/usr/local/go/src/os/exec/exec.go:449 +0xd5
    created by os/exec.(*Cmd).Start
    	/usr/local/go/src/os/exec/exec.go:448 +0x6c5
    
    goroutine 10 [syscall, 10 minutes]:
    syscall.Syscall6(0xf7, 0x1, 0x1d1, 0xc000349968, 0x1000004, 0x0, 0x0, 0x7e0833, 0xc00053e300, 0xc0003499a8)
    	/usr/local/go/src/syscall/asm_linux_amd64.s:41 +0x5
    os.(*Process).blockUntilWaitable(0xc000546090, 0xc000532240, 0x1d, 0x0)
    	/usr/local/go/src/os/wait_waitid.go:32 +0xa6
    os.(*Process).wait(0xc000546090, 0x108c5c0, 0x108c5c8, 0x108c5b8)
    	/usr/local/go/src/os/exec_unix.go:22 +0x39
    os.(*Process).Wait(...)
    	/usr/local/go/src/os/exec.go:125
    os/exec.(*Cmd).Wait(0xc0005be6e0, 0x0, 0x0)
    	/usr/local/go/src/os/exec/exec.go:507 +0x65
    os/exec.(*Cmd).Run(0xc0005be6e0, 0x1153c00, 0xc000124010)
    	/usr/local/go/src/os/exec/exec.go:341 +0x5c
    github.com/elastic/beats/v7/libbeat/tests/compose.(*wrapperDriver).Up(0xc0005b4a00, 0x1153c00, 0xc000124010, 0x1bf08eb000, 0x1000100, 0x0, 0x1050263, 0x9, 0xc000042c80, 0x47)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/wrapper.go:198 +0x434
    github.com/elastic/beats/v7/libbeat/tests/compose.(*Project).Start(0xc0002b5800, 0x1050263, 0x9, 0x1bf08eb000, 0x100000000000100, 0x0, 0x0, 0x0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/project.go:151 +0x1a5
    github.com/elastic/beats/v7/libbeat/tests/compose.EnsureUp.func1(0xc0001cb920, 0xc0001cb920)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/compose.go:77 +0xad
    github.com/elastic/beats/v7/libbeat/tests/compose.EnsureUp(0x115d680, 0xc000103680, 0x1050263, 0x9, 0xc000349e68, 0x1, 0x1, 0x0, 0x0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/compose.go:100 +0x362
    github.com/elastic/beats/v7/libbeat/tests/compose.EnsureUpWithTimeout(0x115d680, 0xc000103680, 0x78, 0x1050263, 0x9, 0x125e5c8, 0x1578f40)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/compose.go:124 +0x94
    github.com/elastic/beats/v7/metricbeat/module/couchbase/cluster.TestFetch(0xc000103680)
    	/go/src/github.com/elastic/beats/metricbeat/module/couchbase/cluster/cluster_integration_test.go:33 +0x6a
    testing.tRunner(0xc000103680, 0x108a680)
    	/usr/local/go/src/testing/testing.go:1123 +0xef
    created by testing.(*T).Run
    	/usr/local/go/src/testing/testing.go:1168 +0x2b3
    
    goroutine 12 [IO wait, 10 minutes]:
    internal/poll.runtime_pollWait(0x7f27f4f446d8, 0x72, 0x113ef20)
    	/usr/local/go/src/runtime/netpoll.go:222 +0x55
    internal/poll.(*pollDesc).wait(0xc0000d2618, 0x72, 0x113ef00, 0x1568e58, 0x0)
    	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
    internal/poll.(*pollDesc).waitRead(...)
    	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
    internal/poll.(*FD).Read(0xc0000d2600, 0xc00001b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    	/usr/local/go/src/internal/poll/fd_unix.go:159 +0x1a5
    net.(*netFD).Read(0xc0000d2600, 0xc00001b000, 0x1000, 0x1000, 0x76ebfc, 0xc0005e9b58, 0x79bc80)
    	/usr/local/go/src/net/fd_posix.go:55 +0x4f
    net.(*conn).Read(0xc0001267e8, 0xc00001b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    	/usr/local/go/src/net/net.go:182 +0x8e
    net/http.(*persistConn).Read(0xc000151d40, 0xc00001b000, 0x1000, 0x1000, 0xc0005ea000, 0xc0005e9c58, 0x739e55)
    	/usr/local/go/src/net/http/transport.go:1894 +0x77
    bufio.(*Reader).fill(0xc000324300)
    	/usr/local/go/src/bufio/bufio.go:101 +0x105
    bufio.(*Reader).Peek(0xc000324300, 0x1, 0x0, 0x1, 0x1, 0x0, 0xc000040120)
    	/usr/local/go/src/bufio/bufio.go:139 +0x4f
    net/http.(*persistConn).readLoop(0xc000151d40)
    	/usr/local/go/src/net/http/transport.go:2047 +0x1a8
    created by net/http.(*Transport).dialConn
    	/usr/local/go/src/net/http/transport.go:1715 +0xcb7
    
    goroutine 13 [select, 10 minutes]:
    net/http.(*persistConn).writeLoop(0xc000151d40)
    	/usr/local/go/src/net/http/transport.go:2346 +0x11c
    created by net/http.(*Transport).dialConn
    	/usr/local/go/src/net/http/transport.go:1716 +0xcdc
    Digest: sha256:e5a07ee624c264d3a8ebcc2ff0989ea710c5843f73b0d541b2e3ea2f476adc13
    Status: Downloaded newer image for couchbase:6.5.1
     ---> dbc773ff302a
    Step 3/5 : HEALTHCHECK --interval=1s --retries=90 CMD [ "$(curl -s -o /dev/null -w ''%{http_code}'' -u Administrator:password http://localhost:8091/pools/default/buckets/beer-sample)" -eq "200" ]
     ---> Running in c55b2e1dc834
    Removing intermediate container c55b2e1dc834
     ---> 48ef3f21bd58
    Step 4/5 : COPY configure-node.sh /opt/couchbase
     ---> fa1db5fbd8c2
    Step 5/5 : CMD ["/opt/couchbase/configure-node.sh"]
     ---> Running in d1082672f51f
    Removing intermediate container d1082672f51f
     ---> c98ee6643875
    
    Successfully built c98ee6643875
    Successfully tagged docker.elastic.co/integrations-ci/beats-couchbase:6.5.1-1
    Image for service couchbase was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
    Creating metricbeat_8_0_0_927f961437-snapshot_couchbase_1 ... 
    Creating metricbeat_8_0_0_927f961437-snapshot_couchbase_1 ... done
    *** Test killed: ran too long (11m0s).
     
    

Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/couchbase/node
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestFetch
    --- FAIL: TestFetch (300.08s)
    panic: Timeout waiting for lock [recovered]
    	panic: Timeout waiting for lock
    
    goroutine 57 [running]:
    testing.tRunner.func1.1(0xf761e0, 0xc00000e040)
    	/usr/local/go/src/testing/testing.go:1072 +0x30d
    testing.tRunner.func1(0xc000372f00)
    	/usr/local/go/src/testing/testing.go:1075 +0x41a
    panic(0xf761e0, 0xc00000e040)
    	/usr/local/go/src/runtime/panic.go:969 +0x1b9
    github.com/elastic/beats/v7/libbeat/tests/compose.(*Project).Lock(0xc0003bfa00)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/project.go:269 +0x393
    github.com/elastic/beats/v7/libbeat/tests/compose.(*Project).getServices(0xc0003bfa00, 0xc0003fec30, 0x1, 0x1, 0x0, 0x0, 0x0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/project.go:328 +0x67
    github.com/elastic/beats/v7/libbeat/tests/compose.(*Project).Start(0xc0003bfa00, 0x10506d0, 0x9, 0x1bf08eb000, 0x100000000000100, 0x0, 0x0, 0x0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/project.go:136 +0x9a
    github.com/elastic/beats/v7/libbeat/tests/compose.EnsureUp.func1(0xc0001db2c0, 0xc0001db2c0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/compose.go:77 +0xad
    github.com/elastic/beats/v7/libbeat/tests/compose.EnsureUp(0x115dba0, 0xc000372f00, 0x10506d0, 0x9, 0xc0007a1e68, 0x1, 0x1, 0x0, 0x0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/compose.go:100 +0x362
    github.com/elastic/beats/v7/libbeat/tests/compose.EnsureUpWithTimeout(0x115dba0, 0xc000372f00, 0x78, 0x10506d0, 0x9, 0x125eb08, 0x1578fa0)
    	/go/src/github.com/elastic/beats/libbeat/tests/compose/compose.go:124 +0x94
    github.com/elastic/beats/v7/metricbeat/module/couchbase/node.TestFetch(0xc000372f00)
    	/go/src/github.com/elastic/beats/metricbeat/module/couchbase/node/node_integration_test.go:33 +0x6a
    testing.tRunner(0xc000372f00, 0x108ab18)
    	/usr/local/go/src/testing/testing.go:1123 +0xef
    created by testing.(*T).Run
    	/usr/local/go/src/testing/testing.go:1168 +0x2b3
     
    

Steps errors 2

Expand to view the steps failures

metricbeat-goIntegTest - mage goIntegTest
  • Took 41 min 9 sec . View more details on here
  • Description: mage goIntegTest
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-26T13:18:30.170Z] Error: failed modules: couchbase
[2021-05-26T13:18:30.686Z] Cleaning up /var/lib/jenkins/workspace/PR-25869-1-6b2441a9-ef38-4bbb-b380-891b76f88b28
[2021-05-26T13:18:30.686Z] Client: Docker Engine - Community
[2021-05-26T13:18:30.686Z]  Version:           20.10.3
[2021-05-26T13:18:30.686Z]  API version:       1.41
[2021-05-26T13:18:30.686Z]  Go version:        go1.13.15
[2021-05-26T13:18:30.686Z]  Git commit:        48d30b5
[2021-05-26T13:18:30.686Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-05-26T13:18:30.686Z]  OS/Arch:           linux/amd64
[2021-05-26T13:18:30.686Z]  Context:           default
[2021-05-26T13:18:30.686Z]  Experimental:      true
[2021-05-26T13:18:30.686Z] 
[2021-05-26T13:18:30.686Z] Server: Docker Engine - Community
[2021-05-26T13:18:30.686Z]  Engine:
[2021-05-26T13:18:30.686Z]   Version:          20.10.3
[2021-05-26T13:18:30.686Z]   API version:      1.41 (minimum version 1.12)
[2021-05-26T13:18:30.686Z]   Go version:       go1.13.15
[2021-05-26T13:18:30.686Z]   Git commit:       46229ca
[2021-05-26T13:18:30.686Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-05-26T13:18:30.686Z]   OS/Arch:          linux/amd64
[2021-05-26T13:18:30.686Z]   Experimental:     false
[2021-05-26T13:18:30.686Z]  containerd:
[2021-05-26T13:18:30.686Z]   Version:          1.4.4
[2021-05-26T13:18:30.686Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-05-26T13:18:30.686Z]  runc:
[2021-05-26T13:18:30.686Z]   Version:          1.0.0-rc93
[2021-05-26T13:18:30.686Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-05-26T13:18:30.686Z]  docker-init:
[2021-05-26T13:18:30.686Z]   Version:          0.19.0
[2021-05-26T13:18:30.686Z]   GitCommit:        de40ad0
[2021-05-26T13:18:30.686Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-05-26T13:18:30.686Z] Unable to find image 'alpine:3.4' locally
[2021-05-26T13:18:31.626Z] 3.4: Pulling from library/alpine
[2021-05-26T13:18:31.626Z] c1e54eec4b57: Pulling fs layer
[2021-05-26T13:18:31.886Z] c1e54eec4b57: Download complete
[2021-05-26T13:18:31.886Z] c1e54eec4b57: Pull complete
[2021-05-26T13:18:31.886Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-05-26T13:18:31.886Z] Status: Downloaded newer image for alpine:3.4
[2021-05-26T13:18:34.431Z] Change permissions with write access of all files inside the specific folder
[2021-05-26T13:18:35.034Z] Running in /var/lib/jenkins/workspace/PR-25869-1-6b2441a9-ef38-4bbb-b380-891b76f88b28/src/github.com/elastic/beats/build
[2021-05-26T13:18:35.368Z] + rm -rf ve
[2021-05-26T13:18:35.368Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-05-26T13:18:35.766Z] + python .ci/scripts/pre_archive_test.py
[2021-05-26T13:18:36.025Z] Copy ./metricbeat/build into build/metricbeat/build
[2021-05-26T13:18:36.060Z] Running in /var/lib/jenkins/workspace/PR-25869-1-6b2441a9-ef38-4bbb-b380-891b76f88b28/src/github.com/elastic/beats/build
[2021-05-26T13:18:36.110Z] Recording test results
[2021-05-26T13:18:38.358Z] [Checks API] No suitable checks publisher found.
[2021-05-26T13:18:38.726Z] + tar --version
[2021-05-26T13:18:39.112Z] + tar --exclude=test-build-artifacts-metricbeat-goIntegTest-tgz -czf test-build-artifacts-metricbeat-goIntegTest-tgz .
[2021-05-26T13:18:54.482Z] + gsutil --version
[2021-05-26T13:18:57.828Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-05-26T13:18:58.282Z] + gcloud auth activate-service-account --key-file ****
[2021-05-26T13:18:59.222Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-05-26T13:18:59.735Z] + gsutil -m -q cp -a public-read test-build-artifacts-metricbeat-goIntegTest-tgz gs://beats-ci-temp/Beats/beats/PR-25869-1
[2021-05-26T13:19:03.522Z] + python .ci/scripts/search_system_tests.py
[2021-05-26T13:19:03.566Z] [INFO] system-tests=''. If no empty then let's create a tarball
[2021-05-26T13:19:04.050Z] + go clean -modcache
[2021-05-26T13:19:08.631Z] Cleaning up /var/lib/jenkins/workspace/PR-25869-1-6b2441a9-ef38-4bbb-b380-891b76f88b28
[2021-05-26T13:19:08.631Z] Client: Docker Engine - Community
[2021-05-26T13:19:08.631Z]  Version:           20.10.3
[2021-05-26T13:19:08.631Z]  API version:       1.41
[2021-05-26T13:19:08.631Z]  Go version:        go1.13.15
[2021-05-26T13:19:08.631Z]  Git commit:        48d30b5
[2021-05-26T13:19:08.631Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-05-26T13:19:08.631Z]  OS/Arch:           linux/amd64
[2021-05-26T13:19:08.631Z]  Context:           default
[2021-05-26T13:19:08.631Z]  Experimental:      true
[2021-05-26T13:19:08.631Z] 
[2021-05-26T13:19:08.631Z] Server: Docker Engine - Community
[2021-05-26T13:19:08.631Z]  Engine:
[2021-05-26T13:19:08.631Z]   Version:          20.10.3
[2021-05-26T13:19:08.631Z]   API version:      1.41 (minimum version 1.12)
[2021-05-26T13:19:08.631Z]   Go version:       go1.13.15
[2021-05-26T13:19:08.631Z]   Git commit:       46229ca
[2021-05-26T13:19:08.631Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-05-26T13:19:08.631Z]   OS/Arch:          linux/amd64
[2021-05-26T13:19:08.631Z]   Experimental:     false
[2021-05-26T13:19:08.631Z]  containerd:
[2021-05-26T13:19:08.631Z]   Version:          1.4.4
[2021-05-26T13:19:08.631Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-05-26T13:19:08.631Z]  runc:
[2021-05-26T13:19:08.631Z]   Version:          1.0.0-rc93
[2021-05-26T13:19:08.631Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-05-26T13:19:08.631Z]  docker-init:
[2021-05-26T13:19:08.631Z]   Version:          0.19.0
[2021-05-26T13:19:08.631Z]   GitCommit:        de40ad0
[2021-05-26T13:19:08.631Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-05-26T13:19:10.064Z] Change permissions with write access of all files inside the specific folder
[2021-05-26T13:19:10.117Z] Running in /var/lib/jenkins/workspace/PR-25869-1-6b2441a9-ef38-4bbb-b380-891b76f88b28
[2021-05-26T13:19:13.464Z] Failed in branch metricbeat-goIntegTest
[2021-05-26T13:19:14.488Z] Stage "Extended" skipped due to earlier failure(s)
[2021-05-26T13:19:14.580Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-05-26T13:19:14.671Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-05-26T13:19:14.792Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-25869/src/github.com/elastic/beats
[2021-05-26T13:19:15.180Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-25869
[2021-05-26T13:19:15.285Z] [INFO] getVaultSecret: Getting secrets
[2021-05-26T13:19:15.332Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-05-26T13:19:16.279Z] + chmod 755 generate-build-data.sh
[2021-05-26T13:19:16.279Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25869/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25869/runs/1 FAILURE 4111093
[2021-05-26T13:19:16.279Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25869/runs/1/steps/?limit=10000 -o steps-info.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 3
Passed 18225
Skipped 1478
Total 19706

Genuine test errors 3

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

  • Name: Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/couchbase/bucket
  • Name: Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/couchbase/cluster
  • Name: Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/couchbase/node

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

Co-authored-by: Noémi Ványi <kvch@users.noreply.github.com>
kvch added a commit that referenced this pull request May 27, 2021
(cherry picked from commit 9e5aafd)

Co-authored-by: Noémi Ványi <kvch@users.noreply.github.com>
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 needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky: TestRotateDateSuffix
3 participants