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

[7.x](backport #26115) Add new parser to filestream input: container #26221

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 9, 2021

This is an automatic backport of pull request #26115 done by Mergify.


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.io/

@mergify mergify bot added the backport label Jun 9, 2021
@mergify mergify bot assigned kvch Jun 9, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 9, 2021
@botelastic
Copy link

botelastic bot commented Jun 9, 2021

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

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 9, 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: Pull request #26221 updated

  • Start Time: 2021-06-09T15:15:07.243+0000

  • Duration: 105 min 59 sec

  • Commit: a57f4a5

Test stats 🧪

Test Results
Failed 3
Passed 47368
Skipped 4985
Total 52356

Trends 🧪

Image of Build Times

Image of Tests

Test errors 3

Expand to view the tests failures

Extended / metricbeat-windows-7-windows-7 / ExampleWrapper – github.com/elastic/beats/v7/metricbeat/mb/module
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   ExampleWrapper
    --- FAIL: ExampleWrapper (0.05s)
    got:
    
    want:
    {
      "@metadata": {
        "beat": "noindex",
        "type": "_doc",
        "version": "1.2.3"
      },
      "@timestamp": "2016-05-10T23:27:58.485Z",
      "event": {
        "dataset": "fake.eventfetcher",
        "duration": 111,
        "module": "fake"
      },
      "fake": {
        "eventfetcher": {
          "metric": 1
        }
      },
      "metricset": {
        "name": "eventfetcher",
        "period": 10000
      },
      "service": {
        "type": "fake"
      }
    }
     
    

Extended / heartbeat-windows-10-windows-10 / TestQueueRunsInOrder – github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestQueueRunsInOrder
    coverage: 81.4% of statements
    panic: test timed out after 10m0s
    
    goroutine 69 [running]:
    testing.(*M).startAlarm.func1()
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/.gvm/versions/go1.16.4.windows.amd64/src/testing/testing.go:1700 +0xe6
    created by time.goFunc
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/.gvm/versions/go1.16.4.windows.amd64/src/time/sleep.go:180 +0x4b
    
    goroutine 1 [chan receive]:
    testing.(*T).Run(0xc00003d080, 0xb9e96d, 0x14, 0xbadba0, 0xa3592d)
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/.gvm/versions/go1.16.4.windows.amd64/src/testing/testing.go:1239 +0x2da
    testing.runTests.func1(0xc00003cf00)
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/.gvm/versions/go1.16.4.windows.amd64/src/testing/testing.go:1511 +0x7f
    testing.tRunner(0xc00003cf00, 0xc00010fda8)
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/.gvm/versions/go1.16.4.windows.amd64/src/testing/testing.go:1193 +0xef
    testing.runTests(0xc000004150, 0xcf0ec0, 0x2, 0x2, 0xc0285a7a4736b184, 0x8bb322c7e1, 0xcfaa20, 0xb9c381)
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/.gvm/versions/go1.16.4.windows.amd64/src/testing/testing.go:1509 +0x310
    testing.(*M).Run(0xc00007c100, 0x0)
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/.gvm/versions/go1.16.4.windows.amd64/src/testing/testing.go:1417 +0x1f5
    main.main()
    	_testmain.go:97 +0x1c8
    
    goroutine 6 [runnable]:
    github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue.(*TimerQueue).pushInternal(0xc00027dc80, 0xc00037de80)
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/src/github.com/elastic/beats/heartbeat/scheduler/timerqueue/queue.go:103 +0x216
    github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue.testQueueRunsInOrderOnce(0xc00003d080)
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/src/github.com/elastic/beats/heartbeat/scheduler/timerqueue/queue_test.go:70 +0x1c5
    github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue.TestQueueRunsInOrder(0xc00003d080)
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/src/github.com/elastic/beats/heartbeat/scheduler/timerqueue/queue_test.go:33 +0x3b
    testing.tRunner(0xc00003d080, 0xbadba0)
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/.gvm/versions/go1.16.4.windows.amd64/src/testing/testing.go:1193 +0xef
    created by testing.(*T).Run
    	C:/Users/jenkins/workspace/PR-26221-2-c65c546f-3276-4eba-91c3-3dacf4abb19b/.gvm/versions/go1.16.4.windows.amd64/src/testing/testing.go:1238 +0x2b3
     
    

Extended / heartbeat-windows-7-32-windows-7-32-bit / TestQueueRunsInOrder – github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestQueueRunsInOrder
    coverage: 81.4% of statements
    panic: test timed out after 10m0s
    
    goroutine 78 [running]:
    testing.(*M).startAlarm.func1()
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1700 +0xcb
    created by time.goFunc
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/time/sleep.go:180 +0x37
    
    goroutine 1 [chan receive]:
    testing.(*T).Run(0x10c848c0, 0x5a4e6a, 0x14, 0x5b3e34, 0xf)
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1239 +0x239
    testing.runTests.func1(0x10c847e0)
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1511 +0x5a
    testing.tRunner(0x10c847e0, 0x10cabed0)
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1193 +0xc5
    testing.runTests(0x10c942a0, 0x6d7980, 0x2, 0x2, 0xcef90e1c, 0xc0285aad, 0xb3050afd, 0x8b, 0x6dc8a0, 0x5)
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1509 +0x25a
    testing.(*M).Run(0x10cdc190, 0x0)
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1417 +0x178
    main.main()
    	_testmain.go:97 +0x162
    
    goroutine 19 [runnable]:
    github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue.NewTimerQueue(0x5e05cc, 0x10c8b620, 0x5e05cc)
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/src/github.com/elastic/beats/heartbeat/scheduler/timerqueue/queue.go:49 +0x45
    github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue.testQueueRunsInOrderOnce(0x10c848c0)
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/src/github.com/elastic/beats/heartbeat/scheduler/timerqueue/queue_test.go:40 +0x60
    github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue.TestQueueRunsInOrder(0x10c848c0)
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/src/github.com/elastic/beats/heartbeat/scheduler/timerqueue/queue_test.go:33 +0x29
    testing.tRunner(0x10c848c0, 0x5b3e34)
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1193 +0xc5
    created by testing.(*T).Run
    	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1238 +0x21a
     
    

Steps errors 6

Expand to view the steps failures

heartbeat-windows-10-windows-10 - mage build unitTest
  • Took 12 min 39 sec . View more details on here
  • Description: mage build unitTest
heartbeat-windows-7-32-windows-7-32-bit - mage build unitTest
  • Took 12 min 33 sec . View more details on here
  • Description: mage build unitTest
gsutil -m -q cp -a public-read test-build-artifacts-heartbeat-windows-7-32-windows-7-32-bit-tgz gs:/
  • Took 0 min 2 sec . View more details on here
  • Description: @echo off gsutil -m -q cp -a public-read test-build-artifacts-heartbeat-windows-7-32-windows-7-32-bit-tgz gs://beats-ci-temp/Beats/beats/PR-26221-2
metricbeat-windows-7-windows-7 - mage build unitTest
  • Took 3 min 43 sec . View more details on here
  • Description: mage build unitTest
gsutil -m -q cp -a public-read test-build-artifacts-metricbeat-windows-7-windows-7-tgz gs://beats-ci
  • Took 0 min 2 sec . View more details on here
  • Description: @echo off gsutil -m -q cp -a public-read test-build-artifacts-metricbeat-windows-7-windows-7-tgz gs://beats-ci-temp/Beats/beats/PR-26221-2
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-06-09T16:58:44.473Z] === SKIP: heartbeat/monitors/active/tcp TestTLSSANIPConnection (0.00s)
[2021-06-09T16:58:44.473Z]     tls_test.go:50: flaky test: https://github.com/elastic/beats/issues/25857
[2021-06-09T16:58:44.473Z] 
[2021-06-09T16:58:44.473Z] === SKIP: heartbeat/monitors/active/tcp TestTLSHostname (0.00s)
[2021-06-09T16:58:44.473Z]     tls_test.go:71: flaky test: https://github.com/elastic/beats/issues/25857
[2021-06-09T16:58:44.473Z] 
[2021-06-09T16:58:44.473Z] === Failed
[2021-06-09T16:58:44.473Z] === FAIL: heartbeat/scheduler/timerqueue TestQueueRunsInOrder (unknown)
[2021-06-09T16:58:44.473Z] coverage: 81.4% of statements
[2021-06-09T16:58:44.473Z] panic: test timed out after 10m0s
[2021-06-09T16:58:44.473Z] 
[2021-06-09T16:58:44.473Z] goroutine 78 [running]:
[2021-06-09T16:58:44.473Z] testing.(*M).startAlarm.func1()
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1700 +0xcb
[2021-06-09T16:58:44.473Z] created by time.goFunc
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/time/sleep.go:180 +0x37
[2021-06-09T16:58:44.473Z] 
[2021-06-09T16:58:44.473Z] goroutine 1 [chan receive]:
[2021-06-09T16:58:44.473Z] testing.(*T).Run(0x10c848c0, 0x5a4e6a, 0x14, 0x5b3e34, 0xf)
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1239 +0x239
[2021-06-09T16:58:44.473Z] testing.runTests.func1(0x10c847e0)
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1511 +0x5a
[2021-06-09T16:58:44.473Z] testing.tRunner(0x10c847e0, 0x10cabed0)
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1193 +0xc5
[2021-06-09T16:58:44.473Z] testing.runTests(0x10c942a0, 0x6d7980, 0x2, 0x2, 0xcef90e1c, 0xc0285aad, 0xb3050afd, 0x8b, 0x6dc8a0, 0x5)
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1509 +0x25a
[2021-06-09T16:58:44.473Z] testing.(*M).Run(0x10cdc190, 0x0)
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1417 +0x178
[2021-06-09T16:58:44.473Z] main.main()
[2021-06-09T16:58:44.473Z] 	_testmain.go:97 +0x162
[2021-06-09T16:58:44.473Z] 
[2021-06-09T16:58:44.473Z] goroutine 19 [runnable]:
[2021-06-09T16:58:44.473Z] github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue.NewTimerQueue(0x5e05cc, 0x10c8b620, 0x5e05cc)
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/src/github.com/elastic/beats/heartbeat/scheduler/timerqueue/queue.go:49 +0x45
[2021-06-09T16:58:44.473Z] github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue.testQueueRunsInOrderOnce(0x10c848c0)
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/src/github.com/elastic/beats/heartbeat/scheduler/timerqueue/queue_test.go:40 +0x60
[2021-06-09T16:58:44.473Z] github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue.TestQueueRunsInOrder(0x10c848c0)
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/src/github.com/elastic/beats/heartbeat/scheduler/timerqueue/queue_test.go:33 +0x29
[2021-06-09T16:58:44.473Z] testing.tRunner(0x10c848c0, 0x5b3e34)
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1193 +0xc5
[2021-06-09T16:58:44.473Z] created by testing.(*T).Run
[2021-06-09T16:58:44.473Z] 	C:/Users/jenkins/workspace/PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa/.gvm/versions/go1.16.4.windows.386/src/testing/testing.go:1238 +0x21a
[2021-06-09T16:58:44.473Z] 
[2021-06-09T16:58:44.473Z] DONE 304 tests, 6 skipped, 1 failure in 629.812s
[2021-06-09T16:58:44.473Z] Error: go test returned a non-zero value: exit status 1
[2021-06-09T16:58:44.895Z] 
[2021-06-09T16:58:44.895Z] C:\Users\jenkins\workspace\PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa\src\github.com\elastic\beats>FOR / %d IN ("ve") DO @IF EXIST "%d" rmdir /s /q "%d" 
[2021-06-09T16:58:47.773Z] 
[2021-06-09T16:58:47.773Z] C:\Users\jenkins\workspace\PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2021-06-09T16:58:48.345Z] Copy .\heartbeat\build into build\heartbeat\build
[2021-06-09T16:58:48.364Z] Running in C:\Users\jenkins\workspace\PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa\src\github.com\elastic\beats\build
[2021-06-09T16:58:48.385Z] Recording test results
[2021-06-09T16:58:53.292Z] [Checks API] No suitable checks publisher found.
[2021-06-09T16:58:53.633Z] 
[2021-06-09T16:58:53.633Z] C:\Users\jenkins\workspace\PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa\src\github.com\elastic\beats\build>tar --version  1>NUL 
[2021-06-09T16:58:53.633Z] 'tar' is not recognized as an internal or external command,
[2021-06-09T16:58:53.633Z] operable program or batch file.
[2021-06-09T16:58:54.039Z] 
[2021-06-09T16:58:54.039Z] C:\Users\jenkins\workspace\PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa\src\github.com\elastic\beats\build>7z   1>NUL 
[2021-06-09T16:58:54.423Z] 
[2021-06-09T16:58:54.423Z] C:\Users\jenkins\workspace\PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa\src\github.com\elastic\beats\build>7z a -ttar -so -an .   | 7z a -si test-build-artifacts-heartbeat-windows-7-32-windows-7-32-bit-tgz 
[2021-06-09T16:58:54.423Z] 
[2021-06-09T16:58:54.423Z] 7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
[2021-06-09T16:58:54.423Z] 
[2021-06-09T16:58:54.423Z] Creating archive: test-build-artifacts-heartbeat-windows-7-32-windows-7-32-bit-tgz.7z
[2021-06-09T16:58:54.423Z] 
[2021-06-09T16:58:54.423Z] Add new data to archive: 1 file
[2021-06-09T16:58:54.423Z] 
[2021-06-09T16:58:54.423Z] 
[2021-06-09T16:58:54.423Z] Files read from disk: 1
[2021-06-09T16:58:54.423Z] Archive size: 24709 bytes (25 KiB)
[2021-06-09T16:58:54.423Z] Everything is Ok
[2021-06-09T16:58:54.862Z] 
[2021-06-09T16:58:54.862Z] C:\Users\jenkins\workspace\PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa\src\github.com\elastic\beats\build>gsutil --version  1>NUL 
[2021-06-09T16:59:00.209Z] Masking supported pattern matches of %FILE_CREDENTIAL%
[2021-06-09T16:59:01.040Z] 
[2021-06-09T16:59:01.040Z] C:\Users\jenkins\workspace\PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa\src\github.com\elastic\beats\build>gcloud auth activate-service-account --key-file **** 
[2021-06-09T16:59:01.160Z] + gsutil --version
[2021-06-09T16:59:02.429Z] Activated service account credentials for: [[email protected]]
[2021-06-09T16:59:02.590Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-09T16:59:02.972Z] + gcloud auth activate-service-account --key-file ****
[2021-06-09T16:59:03.545Z] Activated service account credentials for: [[email protected]]
[2021-06-09T16:59:03.912Z] + gsutil -m -q cp -a public-read bWV0cmljYmVhdC13aW5kb3dzLTEwLXdpbmRvd3MtMTBhNTdmNGE1NDE3ZjVhYjA3YWYxNWJhZjBhNjY5OTlkNTgzODhiODY3 gs://beats-ci-temp/ci/cache/
[2021-06-09T16:59:04.427Z] CommandException: No URLs matched: test-build-artifacts-heartbeat-windows-7-32-windows-7-32-bit-tgz
[2021-06-09T16:59:04.427Z] CommandException: 1 file/object could not be transferred.
[2021-06-09T16:59:04.555Z] ERROR: script returned exit code 1
[2021-06-09T16:59:04.947Z] 
[2021-06-09T16:59:04.947Z] C:\Users\jenkins\workspace\PR-26221-2-00ec0e4d-b54c-4f6b-90eb-bc2b437d55fa\src\github.com\elastic\beats>go clean -modcache 
[2021-06-09T17:00:02.734Z] Failed in branch heartbeat-windows-7-32-windows-7-32-bit
[2021-06-09T17:00:02.855Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-06-09T17:00:02.909Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-06-09T17:00:03.001Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26221/src/github.com/elastic/beats
[2021-06-09T17:00:04.992Z] Running on worker-1244230 in /var/lib/jenkins/workspace/Beats_beats_PR-26221
[2021-06-09T17:00:05.056Z] [INFO] getVaultSecret: Getting secrets
[2021-06-09T17:00:05.117Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-09T17:00:07.894Z] + chmod 755 generate-build-data.sh
[2021-06-09T17:00:07.894Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26221/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26221/runs/2 FAILURE 6299164
[2021-06-09T17:00:07.894Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26221/runs/2/steps/?limit=10000 -o steps-info.json
[2021-06-09T17:00:17.697Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26221/runs/2/tests/?status=FAILED -o tests-errors.json
[2021-06-09T17:00:20.070Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26221/runs/2/log/ -o pipeline-log.txt

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 3
Passed 47368
Skipped 4985
Total 52356

Genuine test errors 3

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

  • Name: Extended / metricbeat-windows-7-windows-7 / ExampleWrapper – github.com/elastic/beats/v7/metricbeat/mb/module
  • Name: Extended / heartbeat-windows-10-windows-10 / TestQueueRunsInOrder – github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue
  • Name: Extended / heartbeat-windows-7-32-windows-7-32-bit / TestQueueRunsInOrder – github.com/elastic/beats/v7/heartbeat/scheduler/timerqueue

@mergify
Copy link
Contributor Author

mergify bot commented Jun 9, 2021

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b mergify/bp/7.x/pr-26115 upstream/mergify/bp/7.x/pr-26115
git merge upstream/7.x
git push upstream mergify/bp/7.x/pr-26115

## What does this PR do?

This PR adds support for a new parser named `container`. This is the reader that powers the `container` input behind the scenes. Now it is exposed as a parser.

Example configuration for reading container logs with the `filesteam` input:

```yaml
type: filestream
paths:
  - /path/to/containers/*/*.log
parsers:
  - container: ~
```

### Limitations

The PR does not provide feature parity with the `container` input because of the lack of support for separating the states of stdout and strerr streams. It is coming in a follow-up PR.

## Why is it important?

It is a step toward supporting reading container logs from every input that supports `parsers` option.

(cherry picked from commit e2449af)
@kvch kvch force-pushed the mergify/bp/7.x/pr-26115 branch from 3819537 to a57f4a5 Compare June 9, 2021 15:14
@kvch kvch merged commit 6ed7ae7 into 7.x Jun 10, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-26115 branch June 10, 2021 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants