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 #20392 to 7.x: [Packetbeat] add "network" to event.category #20554

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

andrewkroh
Copy link
Member

@andrewkroh andrewkroh commented Aug 11, 2020

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

What does this PR do?

adds "network" to event.category for flows

Why is it important?

adds ECS allowed value to event.category

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.

How to test this PR locally

mage test

Related issues

Add "network" to event.category value.

Closes elastic#20364


(cherry picked from commit 7b47f1f)
@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Aug 11, 2020
@elasticmachine
Copy link
Collaborator

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20554 opened]

  • Start Time: 2020-08-11T14:23:12.496+0000

  • Duration: 122 min 19 sec

Test stats 🧪

Test Results
Failed 0
Passed 1409
Skipped 4
Total 1413

Log output

Expand to view the last 100 lines of log output

[2020-08-11T16:20:03.283Z] to do that, reinstall this package with the -force parameter and it will
[2020-08-11T16:20:03.283Z] install to the Chocolatey bin root.
[2020-08-11T16:20:03.283Z] 
[2020-08-11T16:20:03.283Z] python v2.7.11 is already installed. Skipping unnecessary download
[2020-08-11T16:20:03.283Z] and installation. If you have installed python in "C:\Python27"
[2020-08-11T16:20:03.283Z] and you want to use the Chocolatey bin root as installation path instead,
[2020-08-11T16:20:03.283Z] uninstall python from the control panel, remove the "C:\Python27"
[2020-08-11T16:20:03.283Z] folder and reinstall this package with the -force parameter.
[2020-08-11T16:20:03.283Z] 
[2020-08-11T16:20:03.283Z] Environment Vars (like PATH) have changed. Close/reopen your shell to
[2020-08-11T16:20:03.283Z]  see the changes (or in powershell/cmd.exe just type `refreshenv`).
[2020-08-11T16:20:03.283Z]  The install of python was successful.
[2020-08-11T16:20:03.283Z]   Software install location not explicitly set, could be in package or
[2020-08-11T16:20:03.283Z]   default install location if installer.
[2020-08-11T16:20:03.283Z] 
[2020-08-11T16:20:03.283Z] Chocolatey installed 4/4 packages. 
[2020-08-11T16:20:03.283Z]  See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[2020-08-11T16:20:03.283Z] 
[2020-08-11T16:20:03.283Z] C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats>python --version 
[2020-08-11T16:20:03.283Z] Python 3.8.2
[2020-08-11T16:20:03.283Z] 
[2020-08-11T16:20:03.283Z] C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats>where python 
[2020-08-11T16:20:03.283Z] C:\Python38\python.exe
[2020-08-11T16:20:03.283Z] C:\Python27\python.exe
[2020-08-11T16:20:03.389Z] Running in C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats\packetbeat
[2020-08-11T16:20:03.734Z] 
[2020-08-11T16:20:03.734Z] C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats\packetbeat>mage  build unitTest 
[2020-08-11T16:20:50.503Z] >> build: Building packetbeat
[2020-08-11T16:22:11.946Z] >> go test: Unit Testing
[2020-08-11T16:24:54.589Z] Cancelling nested steps due to timeout
[2020-08-11T16:24:54.594Z] Sending interrupt signal to process
[2020-08-11T16:24:57.926Z] Sending interrupt signal to process
[2020-08-11T16:25:03.452Z] SUMMARY:
[2020-08-11T16:25:03.452Z]   Fail:     0
[2020-08-11T16:25:03.452Z]   Skip:     0
[2020-08-11T16:25:03.452Z]   Pass:     350
[2020-08-11T16:25:03.452Z]   Packages: 23
[2020-08-11T16:25:03.452Z]   Duration: 2m40.9564669s
[2020-08-11T16:25:03.452Z]   Coverage Report: C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats\packetbeat\build\TEST-go-unit.html
[2020-08-11T16:25:03.452Z]   JUnit Report:    C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats\packetbeat\build\TEST-go-unit.xml
[2020-08-11T16:25:03.452Z]   Output File:     C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats\packetbeat\build\TEST-go-unit.out
[2020-08-11T16:25:03.452Z] >> go test: Unit Test Passed
[2020-08-11T16:25:03.452Z] Generated fields.yml for packetbeat to C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats\packetbeat\fields.yml
[2020-08-11T16:25:03.458Z] script returned exit code -1
[2020-08-11T16:25:03.958Z] 
[2020-08-11T16:25:03.958Z] C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2020-08-11T16:25:04.219Z] Copy .\packetbeat\build into build\packetbeat\build
[2020-08-11T16:25:04.251Z] Running in C:\Users\jenkins\workspace\Beats_beats_PR-20554\src\github.com\elastic\beats\build
[2020-08-11T16:25:04.306Z] Recording test results
[2020-08-11T16:25:05.129Z] Stashed 1 file(s)
[2020-08-11T16:25:05.150Z] Archiving artifacts
[2020-08-11T16:25:05.754Z] [INFO] system-tests=''. If no empty then let's create a tarball
[2020-08-11T16:25:07.888Z] Failed in branch Packetbeat OSS
[2020-08-11T16:25:09.853Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20554/src/github.com/elastic/beats
[2020-08-11T16:25:10.190Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-08-11T16:25:10.220Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20554/src/github.com/elastic/beats/Lint
[2020-08-11T16:25:10.395Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20554/src/github.com/elastic/beats/Packetbeat-Linux
[2020-08-11T16:25:10.560Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20554/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-08-11T16:25:10.717Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20554/src/github.com/elastic/beats/Packetbeat-Windows
[2020-08-11T16:25:11.157Z] + cat
[2020-08-11T16:25:11.157Z] + /usr/local/bin/runbld ./runbld-script
[2020-08-11T16:25:11.157Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-08-11T16:25:17.783Z] runbld>>> runbld started
[2020-08-11T16:25:17.783Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-08-11T16:25:19.170Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20554' in order of occurrence in the config (last value wins).
[2020-08-11T16:25:20.110Z] runbld>>> Debug logging enabled.
[2020-08-11T16:25:20.110Z] runbld>>> Storing result
[2020-08-11T16:25:20.371Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-08-11T16:25:20.371Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200811162520-D5F61D97
[2020-08-11T16:25:20.371Z] runbld>>> Adding system facts.
[2020-08-11T16:25:21.316Z] runbld>>> Adding vcs info for the latest commit:  b96d376c7e7a25f22c4281ea05b21f438bea73e4
[2020-08-11T16:25:21.316Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-08-11T16:25:21.316Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-08-11T16:25:21.577Z] + echo 'Processing JUnit reports with runbld...'
[2020-08-11T16:25:21.577Z] Processing JUnit reports with runbld...
[2020-08-11T16:25:21.838Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-08-11T16:25:21.838Z] runbld>>> DURATION: 22ms
[2020-08-11T16:25:21.838Z] runbld>>> STDOUT: 40 bytes
[2020-08-11T16:25:21.838Z] runbld>>> STDERR: 49 bytes
[2020-08-11T16:25:21.838Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-08-11T16:25:21.838Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20554/src/github.com/elastic/beats
[2020-08-11T16:25:22.779Z] runbld>>> Storing build metadata: 
[2020-08-11T16:25:22.779Z] runbld>>> Adding test report.
[2020-08-11T16:25:22.779Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20554/src/github.com/elastic/beats
[2020-08-11T16:25:23.718Z] runbld>>> Found 5 test output files
[2020-08-11T16:25:23.979Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 1413 Skipped: 4
[2020-08-11T16:25:24.240Z] runbld>>> Storing result
[2020-08-11T16:25:24.240Z] runbld>>> FAILURES: 0
[2020-08-11T16:25:24.500Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-08-11T16:25:24.500Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200811162520-D5F61D97
[2020-08-11T16:25:24.500Z] runbld>>> Email notification disabled by environment variable.
[2020-08-11T16:25:24.500Z] runbld>>> Slack notification disabled by environment variable.
[2020-08-11T16:25:30.083Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20554
[2020-08-11T16:25:30.261Z] [INFO] getVaultSecret: Getting secrets
[2020-08-11T16:25:30.352Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-08-11T16:25:31.415Z] + chmod 755 generate-build-data.sh
[2020-08-11T16:25:31.415Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20554/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20554/runs/1 ABORTED 7338648
[2020-08-11T16:25:31.415Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20554/runs/1/steps/?limit=10000 -o steps-info.json
[2020-08-11T16:25:31.966Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20554/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-08-11T16:25:31.966Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20554/runs/1/log/ -o pipeline-log.txt

@andrewkroh andrewkroh merged commit cfb5188 into elastic:7.x Aug 14, 2020
@zube zube bot removed the [zube]: Done label Nov 13, 2020
@andrewkroh andrewkroh deleted the backport_20392_7.x branch January 14, 2022 14:08
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.

4 participants