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 #20168 to 7.9: [Filebeat] Update Filebeat module golden log files #20196

Merged
merged 1 commit into from
Jul 23, 2020

Conversation

andrewkroh
Copy link
Member

@andrewkroh andrewkroh commented Jul 23, 2020

Cherry-pick of PR #20168 to 7.9 branch. Original message:

What does this PR do?

The Elasticsearch user_agent processor was updated in elastic/elasticsearch#59697

Why is it important?

It fixes tests that are failing.

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.

The Elasticsearch user_agent processor was updated in elastic/elasticsearch#59697

(cherry picked from commit 3238961)
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 23, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 23, 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 #20196 opened]

  • Start Time: 2020-07-23T12:06:56.922+0000

  • Duration: 67 min 20 sec

Test stats 🧪

Test Results
Failed 1
Passed 2982
Skipped 398
Total 3381

Test errors

Expand to view the tests failures

  • Name: Build and Test / Filebeat x-pack / test_fileset_file_095_cylance – test_xpack_modules.XPackTest
    • Age: 1
    • Duration: 8.511
    • Error Details: The following expected object doesn't match:
      Diff:
      {'values_changed': {"root['@timestamp']": {'new_value': '2020-07-25T11:47:41.000Z', 'old_value': '2019-07-25T11:47:41.000Z'}, "root['rsa.time.event_time']": {'new_value': '2020-07-25T11:47:41.000Z', 'old_value': '2019-07-25T11:47:41.000Z'}}}, full object:
      {'rsa.internal.messageid': 'CylancePROTECT', 'rsa.investigations.event_cat': 1804020000, 'rsa.investigations.event_cat_name': 'Network.Devices.Removals', 'rsa.time.event_time': '2020-07-25T11:47:41.000Z', 'rsa.db.index': 'mpo', 'rsa.misc.node': 'vol', 'rsa.misc.event_type': 'DeviceRemove', 'rsa.misc.OS': 'animid', 'rsa.network.eth_host': '01:00:5e:ee:e8:77', 'rsa.network.alias_host': ['ntium4450.www5.localdomain'], 'log.offset': 10027, 'source.ip': ['10.22.94.10'], 'fileset.name': 'protect', 'tags': ['cylance.protect', 'forwarded'], 'input.type': 'log', 'observer.product': 'Protect', 'observer.vendor': 'Cylance', 'observer.type': 'Anti-Virus', '@timestamp': '2020-07-25T11:47:41.000Z', 'related.ip': ['10.22.94.10'], 'related.user': ['ssusci'], 'service.type': 'cylance', 'host.name': 'ntium4450.www5.localdomain', 'host.mac': '01:00:5e:ee:e8:77', 'event.original': '25-Jul-2017 9:47:41 very-high idolor3916.www5.home tas <tasun 25T09:47:41.duntutla ntium4450.www5.localdomain CylancePROTECT Event Name:DeviceRemove, Device Name:vol, Agent Version:oremquel, IP Address: (10.22.94.10), MAC Address: (01:00:5e:ee:e8:77), Logged On Users: (ssusci), OS:animid, Zone Names:mpo', 'event.code': 'CylancePROTECT', 'event.module': 'cylance', 'event.action': 'DeviceRemove', 'event.dataset': 'cylance.protect', 'user.name': 'ssusci'}
      -------------------- >> begin captured stdout << ---------------------
      Using elasticsearch: http://elasticsearch:9200
      Testing cylance/protect on /go/src/github.com/elastic/beats/x-pack/filebeat/module/cylance/protect/test/generated.log

--------------------- >> end captured stdout << ----------------------

Steps errors

Expand to view the steps failures

  • Name: Mage update build test

    • Description: mage update build test

    • Duration: 31 min 53 sec

    • Start Time: 2020-07-23T12:31:22.702+0000

    • log

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

    • Description: The supplied credentials are invalid to login

    • Duration: 0 min 1 sec

    • Start Time: 2020-07-23T12:31:36.824+0000

    • log

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

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-07-23T12:31:37.548+0000

    • log

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

    • Description: The supplied credentials are invalid to login

    • Duration: 0 min 0 sec

    • Start Time: 2020-07-23T12:31:37.959+0000

    • log

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

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-07-23T12:31:38.049+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-23T13:11:36.436Z] Archiving artifacts
[2020-07-23T13:11:37.427Z] + python .ci/scripts/search_system_tests.py
[2020-07-23T13:11:37.639Z] [INFO] system-tests='build/x-pack/filebeat/build/system-tests'. If no empty then let's create a tarball
[2020-07-23T13:11:38.421Z] + tar --version
[2020-07-23T13:11:39.369Z] + tar --exclude=x-pack-filebeat--system-tests-darwin.tgz -czf x-pack-filebeat--system-tests-darwin.tgz build/x-pack/filebeat/build/system-tests
[2020-07-23T13:11:39.572Z] Archiving artifacts
[2020-07-23T13:11:40.592Z] + .ci/scripts/report-codecov.sh auditbeat filebeat heartbeat journalbeat libbeat metricbeat packetbeat winlogbeat
[2020-07-23T13:11:40.592Z] + CODECOV_URL=https://codecov.io/bash
[2020-07-23T13:11:40.592Z] + '[' -e /usr/local/bin/bash_standard_lib.sh ']'
[2020-07-23T13:11:40.592Z] + curl -sSLo codecov https://codecov.io/bash
[2020-07-23T13:11:41.029Z] + for i in '"$@"'
[2020-07-23T13:11:41.029Z] + FILE=auditbeat/build/coverage/full.cov
[2020-07-23T13:11:41.029Z] + '[' -f auditbeat/build/coverage/full.cov ']'
[2020-07-23T13:11:41.029Z] + for i in '"$@"'
[2020-07-23T13:11:41.029Z] + FILE=filebeat/build/coverage/full.cov
[2020-07-23T13:11:41.029Z] + '[' -f filebeat/build/coverage/full.cov ']'
[2020-07-23T13:11:41.029Z] + for i in '"$@"'
[2020-07-23T13:11:41.029Z] + FILE=heartbeat/build/coverage/full.cov
[2020-07-23T13:11:41.029Z] + '[' -f heartbeat/build/coverage/full.cov ']'
[2020-07-23T13:11:41.029Z] + for i in '"$@"'
[2020-07-23T13:11:41.029Z] + FILE=journalbeat/build/coverage/full.cov
[2020-07-23T13:11:41.029Z] + '[' -f journalbeat/build/coverage/full.cov ']'
[2020-07-23T13:11:41.029Z] + for i in '"$@"'
[2020-07-23T13:11:41.029Z] + FILE=libbeat/build/coverage/full.cov
[2020-07-23T13:11:41.029Z] + '[' -f libbeat/build/coverage/full.cov ']'
[2020-07-23T13:11:41.029Z] + for i in '"$@"'
[2020-07-23T13:11:41.029Z] + FILE=metricbeat/build/coverage/full.cov
[2020-07-23T13:11:41.029Z] + '[' -f metricbeat/build/coverage/full.cov ']'
[2020-07-23T13:11:41.029Z] + for i in '"$@"'
[2020-07-23T13:11:41.029Z] + FILE=packetbeat/build/coverage/full.cov
[2020-07-23T13:11:41.029Z] + '[' -f packetbeat/build/coverage/full.cov ']'
[2020-07-23T13:11:41.029Z] + for i in '"$@"'
[2020-07-23T13:11:41.029Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-07-23T13:11:41.029Z] + '[' -f winlogbeat/build/coverage/full.cov ']'
[2020-07-23T13:11:42.574Z] Post stage
[2020-07-23T13:11:42.597Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20196/src/github.com/elastic/beats
[2020-07-23T13:11:43.424Z] Starting "default"...
[2020-07-23T13:11:43.424Z] Machine "default" is already running.
[2020-07-23T13:13:24.180Z] Error checking TLS connection: ssh command error:
[2020-07-23T13:13:24.180Z] command : ip addr show
[2020-07-23T13:13:24.181Z] err     : exit status 255
[2020-07-23T13:13:24.181Z] output  : 
[2020-07-23T13:13:24.181Z] Client: Docker Engine - Community
[2020-07-23T13:13:24.181Z]  Version:           19.03.1
[2020-07-23T13:13:24.181Z]  API version:       1.40
[2020-07-23T13:13:24.181Z]  Go version:        go1.12.5
[2020-07-23T13:13:24.181Z]  Git commit:        74b1e89
[2020-07-23T13:13:24.181Z]  Built:             Thu Jul 25 21:18:17 2019
[2020-07-23T13:13:24.181Z]  OS/Arch:           darwin/amd64
[2020-07-23T13:13:24.181Z]  Experimental:      false
[2020-07-23T13:13:24.181Z] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[2020-07-23T13:13:24.181Z] It requires Docker daemon to be installed and running
[2020-07-23T13:13:52.210Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20196/src/github.com/elastic/beats
[2020-07-23T13:13:52.559Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-23T13:13:52.591Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20196/src/github.com/elastic/beats/Lint
[2020-07-23T13:13:52.787Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20196/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-07-23T13:13:52.932Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20196/src/github.com/elastic/beats/Filebeat-x-pack
[2020-07-23T13:13:53.087Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20196/src/github.com/elastic/beats/Filebeat-oss
[2020-07-23T13:13:53.246Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20196/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-07-23T13:13:53.703Z] + cat
[2020-07-23T13:13:53.703Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-23T13:13:53.703Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-23T13:14:01.868Z] runbld>>> runbld started
[2020-07-23T13:14:01.868Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-23T13:14:03.255Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20196' in order of occurrence in the config (last value wins).
[2020-07-23T13:14:04.646Z] runbld>>> Debug logging enabled.
[2020-07-23T13:14:04.646Z] runbld>>> Storing result
[2020-07-23T13:14:04.646Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-23T13:14:04.646Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200723131404-300F8073
[2020-07-23T13:14:04.646Z] runbld>>> Adding system facts.
[2020-07-23T13:14:05.589Z] runbld>>> Adding vcs info for the latest commit:  a6b2a1f3484c1a622eb432142b43fd16ef9dece2
[2020-07-23T13:14:05.589Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-23T13:14:05.849Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-23T13:14:05.849Z] Processing JUnit reports with runbld...
[2020-07-23T13:14:05.849Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-23T13:14:06.109Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-23T13:14:06.109Z] runbld>>> DURATION: 44ms
[2020-07-23T13:14:06.109Z] runbld>>> STDOUT: 40 bytes
[2020-07-23T13:14:06.109Z] runbld>>> STDERR: 49 bytes
[2020-07-23T13:14:06.109Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-23T13:14:06.109Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20196/src/github.com/elastic/beats
[2020-07-23T13:14:07.492Z] runbld>>> Storing build metadata: 
[2020-07-23T13:14:07.492Z] runbld>>> Adding test report.
[2020-07-23T13:14:07.492Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20196/src/github.com/elastic/beats
[2020-07-23T13:14:08.434Z] runbld>>> Found 9 test output files
[2020-07-23T13:14:09.376Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 3381 Skipped: 383
[2020-07-23T13:14:09.376Z] runbld>>> Storing result
[2020-07-23T13:14:09.376Z] runbld>>> FAILURES: 1
[2020-07-23T13:14:09.946Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-23T13:14:09.947Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200723131404-300F8073
[2020-07-23T13:14:09.947Z] runbld>>> Email notification disabled by environment variable.
[2020-07-23T13:14:09.947Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-23T13:14:15.735Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20196
[2020-07-23T13:14:16.040Z] [INFO] getVaultSecret: Getting secrets
[2020-07-23T13:14:16.123Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-23T13:14:17.185Z] + chmod 755 generate-build-data.sh
[2020-07-23T13:14:17.185Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20196/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20196/runs/1 FAILURE 4039993
[2020-07-23T13:14:17.185Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20196/runs/1/steps/?limit=10000 -o steps-info.json
[2020-07-23T13:14:19.046Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20196/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-07-23T13:14:19.297Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20196/runs/1/log/ -o pipeline-log.txt

@andrewkroh andrewkroh merged commit 11881ca into elastic:7.9 Jul 23, 2020
@zube zube bot removed the [zube]: Done label Oct 22, 2020
@andrewkroh andrewkroh deleted the backport_20168_7.9 branch January 14, 2022 14:06
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
The Elasticsearch user_agent processor was updated in elastic/elasticsearch#59697

(cherry picked from commit 9271445)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants