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

Update to go-libaudit v2.0.1 #20052

Merged
merged 2 commits into from
Jul 28, 2020

Conversation

andrewkroh
Copy link
Member

What does this PR do?

Fixes auditd module syscall table for ppc64 and ppc64le. elastic/go-libaudit#72

Why is it important?

This should enable auditd rules to work on ppc64 and ppc64le.

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.

@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 Jul 20, 2020
Fixes auditd module syscall table for ppc64 and ppc64le. elastic/go-libaudit#72
@andrewkroh andrewkroh force-pushed the bugfix/ab/ppc64-syscall-table branch from cc4e334 to 43686b4 Compare July 20, 2020 12:06
@andrewkroh andrewkroh marked this pull request as ready for review July 20, 2020 12:06
@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jul 20, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20052 updated]

  • Start Time: 2020-07-21T13:53:42.060+0000

  • Duration: 122 min 26 sec

Test stats 🧪

Test Results
Failed 2
Passed 17624
Skipped 1899
Total 19525

Test errors

Expand to view the tests failures

  • Name: Build and Test / Libbeat / Libbeat oss / TestReplaceClientWorker – pipeline

    • Age: 1
    • Duration: 22.65
    • Error Details: Failed
  • Name: Build and Test / Libbeat / Libbeat oss / TestReplaceClientWorker/network_client – pipeline

    • Age: 1
    • Duration: 21.42
    • Error Details: Failed

Steps errors

Expand to view the steps failures

  • Name: Report to Codecov

    • Description: .ci/scripts/report-codecov.sh auditbeat filebeat heartbeat journalbeat libbeat metricbeat packetbeat winlogbeat

    • Duration: 1 min 27 sec

    • Start Time: 2020-07-21T15:20:44.863+0000

    • log

  • Name: Report to Codecov

    • Description: .ci/scripts/report-codecov.sh auditbeat filebeat heartbeat journalbeat libbeat metricbeat packetbeat winlogbeat

    • Duration: 1 min 26 sec

    • Start Time: 2020-07-21T15:05:31.052+0000

    • log

  • Name: Mage build test

    • Description: mage build test

    • Duration: 24 min 27 sec

    • Start Time: 2020-07-21T14:18:04.268+0000

    • log

  • Name: Install Go 1.14.4

    • Description: .ci/scripts/install-go.sh

    • Duration: 1 min 32 sec

    • Start Time: 2020-07-21T14:17:52.431+0000

    • log

  • Name: Report to Codecov

    • Description: .ci/scripts/report-codecov.sh auditbeat filebeat heartbeat journalbeat libbeat metricbeat packetbeat winlogbeat

    • Duration: 1 min 27 sec

    • Start Time: 2020-07-21T15:19:45.626+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-21T15:47:51.072Z] C:\Users\jenkins\workspace\Beats_beats_PR-20052\src\github.com\elastic\beats>tar --version  1>NUL 
[2020-07-21T15:47:51.438Z] 
[2020-07-21T15:47:51.438Z] C:\Users\jenkins\workspace\Beats_beats_PR-20052\src\github.com\elastic\beats>tar --exclude=packetbeat--system-tests-windows.tgz -czf packetbeat--system-tests-windows.tgz build\packetbeat\build\system-tests 
[2020-07-21T15:47:56.810Z] Archiving artifacts
[2020-07-21T15:55:38.812Z] Cancelling nested steps due to timeout
[2020-07-21T15:55:39.158Z] Failed in branch Generators
[2020-07-21T15:55:39.401Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats
[2020-07-21T15:55:39.724Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-21T15:55:39.737Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Lint
[2020-07-21T15:55:39.835Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-07-21T15:55:39.920Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Winlogbeat-oss
[2020-07-21T15:55:40.000Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Journalbeat-oss
[2020-07-21T15:55:40.078Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-07-21T15:55:40.166Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Dockerlogbeat
[2020-07-21T15:55:40.243Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-07-21T15:55:40.320Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-07-21T15:55:40.403Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Packetbeat-Linux
[2020-07-21T15:55:40.489Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-07-21T15:55:40.572Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-07-21T15:55:40.654Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Heartbeat-oss
[2020-07-21T15:55:40.737Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-07-21T15:55:40.814Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-07-21T15:55:40.894Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-07-21T15:55:40.969Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-07-21T15:55:41.047Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-07-21T15:55:41.129Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-07-21T15:55:41.209Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Libbeat-x-pack
[2020-07-21T15:55:41.285Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-07-21T15:55:41.361Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Filebeat-Windows
[2020-07-21T15:55:41.439Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-07-21T15:55:41.517Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-07-21T15:55:41.592Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-Windows
[2020-07-21T15:55:41.669Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-07-21T15:55:41.748Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Libbeat-oss
[2020-07-21T15:55:41.827Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Filebeat-x-pack
[2020-07-21T15:55:41.901Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Filebeat-oss
[2020-07-21T15:55:41.976Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-07-21T15:55:42.054Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-07-21T15:55:42.132Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-07-21T15:55:42.210Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-07-21T15:55:42.303Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-07-21T15:55:42.390Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-07-21T15:55:42.473Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-07-21T15:55:42.553Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-07-21T15:55:42.633Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-07-21T15:55:42.723Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-07-21T15:55:42.806Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-07-21T15:55:42.884Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-07-21T15:55:42.964Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-07-21T15:55:43.044Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Heartbeat-Windows
[2020-07-21T15:55:43.121Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Functionbeat-Windows
[2020-07-21T15:55:43.200Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-07-21T15:55:43.284Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Packetbeat-Windows
[2020-07-21T15:55:43.648Z] + cat
[2020-07-21T15:55:43.648Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-21T15:55:43.648Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-21T15:55:50.270Z] runbld>>> runbld started
[2020-07-21T15:55:50.270Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-21T15:55:52.190Z] runbld>>> The following profiles matched the job 'Beats/beats/PR-20052' in order of occurrence in the config (last value wins).
[2020-07-21T15:55:53.577Z] runbld>>> Debug logging enabled.
[2020-07-21T15:55:53.577Z] runbld>>> Storing result
[2020-07-21T15:55:53.839Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-21T15:55:53.839Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200721155553-0C1B88B2
[2020-07-21T15:55:53.839Z] runbld>>> Adding system facts.
[2020-07-21T15:55:54.789Z] runbld>>> Adding vcs info for the latest commit:  c00b65b43bcf3244acdc4f248fad2968ca9f5857
[2020-07-21T15:55:54.789Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-21T15:55:54.789Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-21T15:55:54.790Z] Processing JUnit reports with runbld...
[2020-07-21T15:55:54.790Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-21T15:55:55.361Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-21T15:55:55.361Z] runbld>>> DURATION: 23ms
[2020-07-21T15:55:55.361Z] runbld>>> STDOUT: 40 bytes
[2020-07-21T15:55:55.361Z] runbld>>> STDERR: 49 bytes
[2020-07-21T15:55:55.361Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-21T15:55:55.361Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats
[2020-07-21T15:55:56.776Z] runbld>>> Storing build metadata: 
[2020-07-21T15:55:56.776Z] runbld>>> Adding test report.
[2020-07-21T15:55:56.776Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats
[2020-07-21T15:55:57.349Z] runbld>>> Found 135 test output files
[2020-07-21T15:55:59.263Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-07-21T15:55:59.263Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-07-21T15:55:59.263Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-07-21T15:55:59.263Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-07-21T15:55:59.263Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-07-21T15:55:59.263Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-07-21T15:55:59.263Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-20052/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-07-21T15:56:00.659Z] runbld>>> Test output logs contained: Errors: 0 Failures: 2 Tests: 19375 Skipped: 1629
[2020-07-21T15:56:00.660Z] runbld>>> Storing result
[2020-07-21T15:56:00.660Z] runbld>>> FAILURES: 2
[2020-07-21T15:56:01.230Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-21T15:56:01.230Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200721155553-0C1B88B2
[2020-07-21T15:56:01.491Z] runbld>>> Email notification disabled by environment variable.
[2020-07-21T15:56:01.491Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-21T15:56:07.348Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20052
[2020-07-21T15:56:07.513Z] [INFO] getVaultSecret: Getting secrets
[2020-07-21T15:56:07.598Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-21T15:56:08.501Z] + chmod 755 generate-build-data.sh
[2020-07-21T15:56:08.501Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20052/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20052/runs/2 FAILURE 7346179
[2020-07-21T15:56:08.501Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20052/runs/2/steps/?limit=10000 -o steps-info.json
[2020-07-21T15:56:11.106Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20052/runs/2/tests/?status=FAILED -o tests-errors.json

@andrewkroh andrewkroh merged commit 401b4ea into elastic:master Jul 28, 2020
@andrewkroh andrewkroh added the needs_backport PR is waiting to be backported to other branches. label Jul 28, 2020
@andrewkroh andrewkroh added v7.10.0 and removed needs_backport PR is waiting to be backported to other branches. labels Jul 29, 2020
andrewkroh added a commit to andrewkroh/beats that referenced this pull request Jul 29, 2020
Fixes auditd module syscall table for ppc64 and ppc64le. elastic/go-libaudit#72

(cherry picked from commit 401b4ea)
andrewkroh added a commit that referenced this pull request Jul 30, 2020
Fixes auditd module syscall table for ppc64 and ppc64le. elastic/go-libaudit#72

(cherry picked from commit 401b4ea)
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
Fixes auditd module syscall table for ppc64 and ppc64le. elastic/go-libaudit#72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants