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

Cherry-pick #21427 to 7.x: Add initial skeleton of filestream input #21442

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

kvch
Copy link
Contributor

@kvch kvch commented Oct 1, 2020

Cherry-pick of PR #21427 to 7.x branch. Original message:

What does this PR do?

This PR adds the skeleton of the new filestream input. The name of the input can be changed. The input was renamed from logfile because we are not going to provide the same options as the current log input. As logfile is already used by Agent for the log input, it is easier to adopt a new input with a different name.

The PR seems big, but the contents of filebeat/input/filestream/internal/input-logfile is basically the same as filebeat/input/v2/input-cursor. It is separated into a different folder because when the time comes, we would like to unify the two input types. The main difference between the two inputs is that the configure function of input-logfile returns a Prospector which finds inputs dynamically. Whereas input-cursor requires a list of paths without globbing.

The following files need review:

The others are the same as input-cursor.

Also, updated tests are coming in a new PR.

Why is it important?

This is the first step toward the new input which collects log lines.

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

First step #20243

## What does this PR do?

This PR adds the skeleton of the new `filestream` input. The name of the input can be changed. The input was renamed from `logfile` because we are not going to provide the same options as the current `log` input. As `logfile` is already used by Agent for the `log` input, it is easier to adopt a new input with a different name.

The PR seems big, but the contents of `filebeat/input/filestream/internal/input-logfile` is basically the same as `filebeat/input/v2/input-cursor`. It is separated into a different folder because when the time comes, we would like to unify the two input types. The main difference between the two inputs is that the `configure` function of `input-logfile` returns a `Prospector` which finds inputs dynamically. Whereas `input-cursor` requires a list of paths without globbing.

The following files need review:

* filebeat/input/filestream/input.go
* filebeat/input/filestream/internal/input-logfile/fswatch.go
* filebeat/input/filestream/internal/input-logfile/harvester.go
* filebeat/input/filestream/internal/input-logfile/input.go
* filebeat/input/filestream/internal/input-logfile/prospector.go
* filebeat/input/filestream/prospector.go

The others are the same as `input-cursor`.

Also, updated tests are coming in a new PR.

## Related issues

First step elastic#20243

(cherry picked from commit cb624cf)
@kvch kvch added [zube]: In Review backport Team:Services (Deprecated) Label for the former Integrations-Services team labels Oct 1, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 1, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 1, 2020
@elasticmachine
Copy link
Collaborator

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21442 opened]

  • Start Time: 2020-10-01T08:29:50.832+0000

  • Duration: 86 min 55 sec

Test stats 🧪

Test Results
Failed 319
Passed 4084
Skipped 564
Total 4967

Test errors

Expand to view the tests failures

  • Name: Build&Test / filebeat-build / test_fileset_file_034_osquery – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 90.004
    • Error Details: Failed: Timeout >90.0s
  • Name: Build&Test / filebeat-build / test_fileset_file_035_osquery – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.202
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_036_osquery – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.253
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_037_osquery – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.201
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_038_redis – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.198
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_039_redis – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.16
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_040_redis – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.156
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_041_redis – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.147
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_042_redis – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.151
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_043_haproxy – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.144
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_044_haproxy – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.201
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_045_haproxy – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.155
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_046_haproxy – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.151
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_047_nats – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.174
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_048_santa – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.152
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_049_icinga – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.172
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_050_icinga – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.196
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_051_icinga – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.171
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_052_traefik – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.245
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_053_logstash – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.176
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_054_logstash – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.207
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_055_logstash – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.159
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_056_logstash – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.133
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_057_logstash – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.149
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_058_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.165
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_059_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.196
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_060_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.222
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_061_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.138
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_062_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.203
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_063_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.137
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_064_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.184
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_065_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.113
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_066_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.18
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_067_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.125
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_068_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.125
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_069_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.162
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_070_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.149
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_071_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.2
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_072_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.152
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_073_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.21
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_074_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.162
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_075_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.166
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_076_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.111
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_077_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.099
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_078_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.15
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_079_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.099
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_080_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.114
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_081_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.099
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_082_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.133
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_083_elasticsearch – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.099
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_084_apache – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.152
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_085_apache – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.115
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_086_apache – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.101
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_087_apache – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.086
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_088_apache – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.136
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_089_apache – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.109
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_090_apache – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.116
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_091_apache – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.08
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_092_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.132
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_093_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.113
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_094_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.163
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_095_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.138
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_096_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.11
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_097_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.142
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_098_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.126
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_099_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.131
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_100_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.136
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_101_postgresql – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.136
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_102_auditd – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.118
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_103_auditd – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.095
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_104_auditd – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.118
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_105_auditd – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.121
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_106_system – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.108
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_107_system – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.117
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_108_system – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.104
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_109_system – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.144
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_110_system – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.087
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_111_system – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.103
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_112_system – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.099
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_113_system – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.104
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_114_kafka – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.096
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_115_kafka – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.14
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_116_kafka – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.108
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_117_kafka – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.126
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_118_kafka – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.127
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_119_kafka – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.108
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_120_kafka – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.157
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_fileset_file_121_kafka – filebeat.tests.system.test_modules.Test

    • Age: 1
    • Duration: 10.127
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / filebeat-build / test_stdin_eof – filebeat.tests.system.test_stdin.Test

    • Age: 1
    • Duration: 10.107
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_002_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 90.003
    • Error Details: Failed: Timeout >90.0s
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_003_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.193
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_004_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.189
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_005_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.156
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_006_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.154
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_007_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.135
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_008_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.283
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_009_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.254
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_010_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.227
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_011_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.218
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
  • Name: Build&Test / x-pack/filebeat-build / test_fileset_file_012_cisco – x-pack.filebeat.tests.system.test_xpack_modules.XPackTest

    • Age: 1
    • Duration: 10.236
    • Error Details: beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.

Steps errors

Expand to view the steps failures

  • Name: mage build test

    • Description: mage build test

    • Duration: 40 min 26 sec

    • Start Time: 2020-10-01T08:55:53.075+0000

    • log

  • Name: Notifies GitHub of the status of a Pull Request

    • Description: script returned exit code 1

    • Duration: 0 min 1 sec

    • Start Time: 2020-10-01T09:36:40.303+0000

    • log

  • Name: mage build test

    • Description: mage build test

    • Duration: 57 min 44 sec

    • Start Time: 2020-10-01T08:56:12.092+0000

    • log

  • Name: Notifies GitHub of the status of a Pull Request

    • Description: script returned exit code 1

    • Duration: 0 min 1 sec

    • Start Time: 2020-10-01T09:53:48.370+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-10-01T09:52:58.364Z] c1e54eec4b57: Pull complete
[2020-10-01T09:52:58.364Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2020-10-01T09:52:58.364Z] Status: Downloaded newer image for alpine:3.4
[2020-10-01T09:53:00.640Z] + python .ci/scripts/pre_archive_test.py
[2020-10-01T09:53:02.592Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2020-10-01T09:53:02.615Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21442/src/github.com/elastic/beats/build
[2020-10-01T09:53:02.655Z] WARNING: Unknown parameter(s) found for class type 'hudson.tasks.junit.pipeline.JUnitResultsStep': id,stashedTestReports
[2020-10-01T09:53:02.659Z] Recording test results
[2020-10-01T09:53:05.208Z] Stashed 4 file(s)
[2020-10-01T09:53:05.236Z] Archiving artifacts
[2020-10-01T09:53:06.153Z] + python .ci/scripts/search_system_tests.py
[2020-10-01T09:53:06.191Z] [INFO] system-tests='build/x-pack/filebeat/build/system-tests'. If no empty then let's create a tarball
[2020-10-01T09:53:06.553Z] + tar --version
[2020-10-01T09:53:06.934Z] + tar --exclude=x-pack-filebeat--system-tests-linux.tgz -czf x-pack-filebeat--system-tests-linux.tgz build/x-pack/filebeat/build/system-tests
[2020-10-01T09:53:29.054Z] Archiving artifacts
[2020-10-01T09:53:41.671Z] Client: Docker Engine - Community
[2020-10-01T09:53:41.671Z]  Version:           19.03.13
[2020-10-01T09:53:41.671Z]  API version:       1.40
[2020-10-01T09:53:41.671Z]  Go version:        go1.13.15
[2020-10-01T09:53:41.671Z]  Git commit:        4484c46d9d
[2020-10-01T09:53:41.671Z]  Built:             Wed Sep 16 17:02:36 2020
[2020-10-01T09:53:41.671Z]  OS/Arch:           linux/amd64
[2020-10-01T09:53:41.671Z]  Experimental:      false
[2020-10-01T09:53:41.671Z] 
[2020-10-01T09:53:41.671Z] Server: Docker Engine - Community
[2020-10-01T09:53:41.671Z]  Engine:
[2020-10-01T09:53:41.671Z]   Version:          19.03.13
[2020-10-01T09:53:41.671Z]   API version:      1.40 (minimum version 1.12)
[2020-10-01T09:53:41.671Z]   Go version:       go1.13.15
[2020-10-01T09:53:41.671Z]   Git commit:       4484c46d9d
[2020-10-01T09:53:41.671Z]   Built:            Wed Sep 16 17:01:06 2020
[2020-10-01T09:53:41.671Z]   OS/Arch:          linux/amd64
[2020-10-01T09:53:41.671Z]   Experimental:     false
[2020-10-01T09:53:41.671Z]  containerd:
[2020-10-01T09:53:41.671Z]   Version:          1.3.7
[2020-10-01T09:53:41.671Z]   GitCommit:        8fba4e9a7d01810a393d5d25a3621dc101981175
[2020-10-01T09:53:41.671Z]  runc:
[2020-10-01T09:53:41.671Z]   Version:          1.0.0-rc10
[2020-10-01T09:53:41.671Z]   GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
[2020-10-01T09:53:41.671Z]  docker-init:
[2020-10-01T09:53:41.671Z]   Version:          0.18.0
[2020-10-01T09:53:41.671Z]   GitCommit:        fec3683
[2020-10-01T09:53:49.509Z] Failed in branch x-pack/filebeat-build
[2020-10-01T09:53:54.754Z] [INFO] unstashV2: JOB_GCS_BUCKET is set. bucket param got precedency instead.
[2020-10-01T09:53:54.777Z] [INFO] unstashV2: JOB_GCS_CREDENTIALS is set. credentialsId param got precedency instead.
[2020-10-01T09:53:54.859Z] [Google Cloud Storage Plugin] Found 1 files to download from pattern: gs://beats-ci-temp/Beats/beats/PR-21442-1/source/source.tgz
[2020-10-01T09:53:54.887Z] [Google Cloud Storage Plugin] Downloading: Beats/beats/PR-21442-1/source/source.tgz to local path: /var/lib/jenkins/workspace/Beats_beats_PR-21442/source.tgz
[2020-10-01T09:54:09.814Z] + tar --version
[2020-10-01T09:54:10.138Z] + tar -xpf source.tgz
[2020-10-01T09:54:20.503Z] + rm source.tgz
[2020-10-01T09:54:20.612Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21442/src/github.com/elastic/beats
[2020-10-01T09:54:20.648Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21442/src/github.com/elastic/beats/uncategorized-1601542315500
[2020-10-01T09:54:20.759Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21442/src/github.com/elastic/beats/x-pack-filebeat-windows-windows-2019-1601543428658
[2020-10-01T09:54:20.861Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21442/src/github.com/elastic/beats/filebeat-windows-windows-2019-1601543445621
[2020-10-01T09:54:20.958Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21442/src/github.com/elastic/beats/filebeat-build-1601544984699
[2020-10-01T09:54:21.062Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21442/src/github.com/elastic/beats/x-pack-filebeat-build-1601545984375
[2020-10-01T09:54:21.502Z] + cat
[2020-10-01T09:54:21.502Z] + /usr/local/bin/runbld ./runbld-test-reports --job-name elastic+beats+pull-request
[2020-10-01T09:54:21.502Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-10-01T09:54:28.383Z] runbld>>> runbld started
[2020-10-01T09:54:28.383Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-10-01T09:54:29.777Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-10-01T09:54:29.777Z] runbld>>> Matches in the system config:
[2020-10-01T09:54:29.777Z] runbld>>> - Matched ^elastic\+beats
[2020-10-01T09:54:29.777Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-10-01T09:54:31.170Z] runbld>>> Debug logging enabled.
[2020-10-01T09:54:31.170Z] runbld>>> Storing result
[2020-10-01T09:54:31.170Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-10-01T09:54:31.170Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201001095430-31D79638
[2020-10-01T09:54:31.170Z] runbld>>> Adding system facts.
[2020-10-01T09:54:32.560Z] runbld>>> Adding vcs info for the latest commit:  0a1294de7d776fe639044ecd48aefe976ac3badf
[2020-10-01T09:54:32.560Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-10-01T09:54:32.560Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-10-01T09:54:32.560Z] Processing JUnit reports with runbld...
[2020-10-01T09:54:32.560Z] + echo 'Processing JUnit reports with runbld...'
[2020-10-01T09:54:33.131Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-10-01T09:54:33.131Z] runbld>>> DURATION: 18ms
[2020-10-01T09:54:33.131Z] runbld>>> STDOUT: 40 bytes
[2020-10-01T09:54:33.131Z] runbld>>> STDERR: 49 bytes
[2020-10-01T09:54:33.132Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-10-01T09:54:33.132Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21442
[2020-10-01T09:54:34.074Z] runbld>>> Storing build metadata: 
[2020-10-01T09:54:34.074Z] runbld>>> Adding test report.
[2020-10-01T09:54:34.074Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21442/src/github.com/elastic/beats
[2020-10-01T09:54:35.018Z] runbld>>> Found 12 test output files
[2020-10-01T09:54:36.407Z] runbld>>> Test output logs contained: Errors: 0 Failures: 319 Tests: 4967 Skipped: 545
[2020-10-01T09:54:36.407Z] runbld>>> Storing result
[2020-10-01T09:54:36.407Z] runbld>>> FAILURES: 319
[2020-10-01T09:55:44.183Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-10-01T09:55:44.183Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201001095430-31D79638
[2020-10-01T09:55:44.183Z] runbld>>> Email notification disabled by environment variable.
[2020-10-01T09:55:44.183Z] runbld>>> Slack notification disabled by environment variable.
[2020-10-01T09:55:45.127Z] Running on worker-395930 in /var/lib/jenkins/workspace/Beats_beats_PR-21442
[2020-10-01T09:55:45.249Z] [INFO] getVaultSecret: Getting secrets
[2020-10-01T09:55:45.342Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-10-01T09:55:47.461Z] + chmod 755 generate-build-data.sh
[2020-10-01T09:55:47.461Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21442/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21442/runs/1 FAILURE 5155211
[2020-10-01T09:55:47.461Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21442/runs/1/steps/?limit=10000 -o steps-info.json
[2020-10-01T09:55:51.592Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21442/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-10-01T09:55:53.048Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21442/runs/1/log/ -o pipeline-log.txt

@kvch kvch merged commit 910b3fa into elastic:7.x Oct 2, 2020
@zube zube bot removed the [zube]: Done label Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Services (Deprecated) Label for the former Integrations-Services team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants