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

Fix libbeat import path in seccomp policy template #18418

Merged
merged 1 commit into from
May 14, 2020

Conversation

urso
Copy link

@urso urso commented May 11, 2020

  • Bug

What does this PR do?

Fix the libbeat import path in the seccomp policy template

Why is it important?

The template is used to generate Beats code from time to time.

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.

@urso urso added bug review libbeat Team:Services (Deprecated) Label for the former Integrations-Services team labels May 11, 2020
@elasticmachine
Copy link
Collaborator

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

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 11, 2020
@urso urso requested a review from andrewkroh May 11, 2020 16:17
@elasticmachine
Copy link
Collaborator

elasticmachine commented May 11, 2020

❕ Build Aborted

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

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Branch indexing]

  • Start Time: 2020-05-13T15:25:03.721+0000

  • Duration: 128 min 28 sec (7708489)

Test stats 🧪

Test Results
Failed 0
Passed 2224
Skipped 385
Total 2609

Steps errors

Expand to view the steps failures

  • Name: Archive JUnit-formatted test results
    • Description: [2020-05-13T17:32:08.815Z] Recording test results
      [2020-05-13T17:32:12.126Z] null

    • Result: FAILURE

    • Duration: 0 min 6 sec

    • Start Time: 2020-05-13T17:32:08.748+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-05-13T17:32:32.887Z] + FILE=heartbeat/build/coverage/full.cov
[2020-05-13T17:32:32.887Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-05-13T17:32:32.887Z] + FILE=libbeat/build/coverage/full.cov
[2020-05-13T17:32:32.888Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-05-13T17:32:32.888Z] + FILE=metricbeat/build/coverage/full.cov
[2020-05-13T17:32:32.888Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-05-13T17:32:32.888Z] + FILE=packetbeat/build/coverage/full.cov
[2020-05-13T17:32:32.888Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-05-13T17:32:32.888Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-13T17:32:32.888Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-05-13T17:32:32.888Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-13T17:32:32.888Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-05-13T17:32:33.344Z] + curl -sSLo codecov https://codecov.io/bash
[2020-05-13T17:32:33.344Z] + FILE=auditbeat/build/coverage/full.cov
[2020-05-13T17:32:33.344Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-05-13T17:32:33.344Z] + FILE=filebeat/build/coverage/full.cov
[2020-05-13T17:32:33.344Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-05-13T17:32:33.344Z] + FILE=heartbeat/build/coverage/full.cov
[2020-05-13T17:32:33.344Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-05-13T17:32:33.344Z] + FILE=libbeat/build/coverage/full.cov
[2020-05-13T17:32:33.344Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-05-13T17:32:33.344Z] + FILE=metricbeat/build/coverage/full.cov
[2020-05-13T17:32:33.344Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-05-13T17:32:33.344Z] + FILE=packetbeat/build/coverage/full.cov
[2020-05-13T17:32:33.344Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-05-13T17:32:33.344Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-13T17:32:33.344Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-05-13T17:32:33.344Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-13T17:32:33.344Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-05-13T17:32:34.629Z]     + Found adjustments
[2020-05-13T17:32:34.629Z] ==> Gzipping contents
[2020-05-13T17:32:34.629Z] ==> Uploading reports
[2020-05-13T17:32:34.629Z]     url: https://codecov.io
[2020-05-13T17:32:34.629Z]     query: branch=PR-18418&commit=342d5b5b1bebca496672e18acb45e8a0acfc8104&build=3&build_url=https%3A%2F%2Fbeats-ci.elastic.co%2Fjob%2FBeats%2Fjob%2Fbeats-beats-mbp%2Fjob%2FPR-18418%2F3%2F&name=&tag=&slug=elastic%2Fbeats&service=jenkins&flags=&pr=18418&job=
[2020-05-13T17:32:34.629Z]     -> Pinging Codecov
[2020-05-13T17:32:34.629Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-18418&commit=342d5b5b1bebca496672e18acb45e8a0acfc8104&build=3&build_url=https%3A%2F%2Fbeats-ci.elastic.co%2Fjob%2FBeats%2Fjob%2Fbeats-beats-mbp%2Fjob%2FPR-18418%2F3%2F&name=&tag=&slug=elastic%2Fbeats&service=jenkins&flags=&pr=18418&job=
[2020-05-13T17:32:34.629Z] HTTP 400
[2020-05-13T17:32:34.629Z] Please provide the repository token to upload reports via `-t :repository-token`
[2020-05-13T17:32:34.629Z] + FILE=libbeat/build/coverage/full.cov
[2020-05-13T17:32:34.629Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-05-13T17:32:34.629Z] + FILE=metricbeat/build/coverage/full.cov
[2020-05-13T17:32:34.629Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-05-13T17:32:34.629Z] + FILE=packetbeat/build/coverage/full.cov
[2020-05-13T17:32:34.629Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-05-13T17:32:34.629Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-13T17:32:34.629Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-05-13T17:32:34.629Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-13T17:32:34.629Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-05-13T17:32:36.544Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18418/src/github.com/elastic/beats/Journalbeat-oss
[2020-05-13T17:32:40.926Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18418/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-05-13T17:32:41.216Z] Stage "Auditbeat crosscompile" skipped due to earlier failure(s)
[2020-05-13T17:32:43.006Z] Stage "Auditbeat Mac OS X" skipped due to earlier failure(s)
[2020-05-13T17:32:43.326Z] Stage "Libbeat crosscompile" skipped due to earlier failure(s)
[2020-05-13T17:32:43.465Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18418/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-05-13T17:32:43.876Z] Stage "Auditbeat Windows" skipped due to earlier failure(s)
[2020-05-13T17:32:44.361Z] Stage "Libbeat stress-tests" skipped due to earlier failure(s)
[2020-05-13T17:32:45.242Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18418/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-05-13T17:32:45.663Z] Stage "Heartbeat Mac OS X" skipped due to earlier failure(s)
[2020-05-13T17:32:46.632Z] Stage "Heartbeat Windows" skipped due to earlier failure(s)
[2020-05-13T17:32:46.748Z] + cat
[2020-05-13T17:32:46.751Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-13T17:32:46.751Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-13T17:32:52.265Z] runbld>>> runbld started
[2020-05-13T17:32:52.265Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-13T17:32:54.221Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18418' in order of occurrence in the config (last value wins).
[2020-05-13T17:32:55.616Z] runbld>>> Debug logging enabled.
[2020-05-13T17:32:55.616Z] runbld>>> Storing result
[2020-05-13T17:32:55.616Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-13T17:32:55.616Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200513173255-46BBD44F
[2020-05-13T17:32:55.616Z] runbld>>> Adding system facts.
[2020-05-13T17:32:56.533Z] runbld>>> Adding vcs info for the latest commit:  66f2572187fc60ca3c759606fb4ba85a3a153326
[2020-05-13T17:32:56.921Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-13T17:32:56.921Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-13T17:32:56.921Z] Processing JUnit reports with runbld...
[2020-05-13T17:32:56.921Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-13T17:32:57.266Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-13T17:32:57.267Z] runbld>>> DURATION: 8ms
[2020-05-13T17:32:57.267Z] runbld>>> STDOUT: 40 bytes
[2020-05-13T17:32:57.267Z] runbld>>> STDERR: 49 bytes
[2020-05-13T17:32:57.267Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-13T17:32:57.267Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18418/src/github.com/elastic/beats
[2020-05-13T17:32:58.547Z] runbld>>> Storing build metadata: 
[2020-05-13T17:32:58.547Z] runbld>>> Adding test report.
[2020-05-13T17:32:58.547Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18418/src/github.com/elastic/beats
[2020-05-13T17:32:59.417Z] runbld>>> Found 3 test output files
[2020-05-13T17:32:59.820Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 152 Skipped: 1
[2020-05-13T17:32:59.820Z] runbld>>> Storing result
[2020-05-13T17:32:59.820Z] runbld>>> FAILURES: 0
[2020-05-13T17:33:00.315Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-05-13T17:33:00.315Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200513173255-46BBD44F
[2020-05-13T17:33:00.315Z] runbld>>> Email notification disabled by environment variable.
[2020-05-13T17:33:00.315Z] runbld>>> Slack notification disabled by environment variable.
[2020-05-13T17:33:29.724Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18418
[2020-05-13T17:33:30.350Z] [INFO] getVaultSecret: Getting secrets
[2020-05-13T17:33:30.570Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-13T17:33:32.562Z] + chmod 755 generate-build-data.sh
[2020-05-13T17:33:32.562Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18418/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18418/runs/3 ABORTED 7708489
[2020-05-13T17:33:33.473Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18418/runs/3/steps/?limit=10000 -o steps-info.json
[2020-05-13T17:33:41.540Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18418/runs/3/tests/?status=FAILED -o tests-errors.json
[2020-05-13T17:33:45.663Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18418/runs/3/log/ -o pipeline-log.txt

@andresrc andresrc added [zube]: Inbox [zube]: In Review and removed needs_team Indicates that the issue/PR needs a Team:* label [zube]: Inbox labels May 12, 2020
@urso urso merged commit 8694f47 into elastic:master May 14, 2020
@urso urso deleted the seccomp-template-import-path branch May 14, 2020 20:53
@urso urso added the v7.9.0 label May 14, 2020
urso pushed a commit to urso/beats that referenced this pull request May 14, 2020
v1v added a commit to v1v/beats that referenced this pull request May 15, 2020
…w-oss

* upstream/master: (27 commits)
  Disable host fields for "cloud", panw, cef modules (elastic#18223)
  [docs] Rename monitoring collection from legacy internal collection to legacy collection (elastic#18504)
  Introduce auto detection of format (elastic#18095)
  Add additional fields to address issue elastic#18465 for googlecloud audit log (elastic#18472)
  Fix libbeat import path in seccomp policy template (elastic#18418)
  Address Okta input issue elastic#18530 (elastic#18534)
  [Ingest Manager] Avoid Chown on windows (elastic#18512)
  Fix Cisco ASA/FTD msgs that use a host name as NAT address (elastic#18376)
  [CI] Optimise stash/unstash performance (elastic#18473)
  Libbeat: Remove global loggers from libbeat/metric and libbeat/cloudid (elastic#18500)
  Fix PANW bad mapping of client/source and server/dest packets and bytes (elastic#18525)
  Add a file lock to the data directory on startup to prevent multiple agents. (elastic#18483)
  Followup to 12606 (elastic#18316)
  changed input from syslog to tcp/udp due to unsupported RFC (elastic#18447)
  Improve ECS field mappings in Sysmon module. (elastic#18381)
  [Elastic Agent] Cleaner output of inspect command  (elastic#18405)
  [Elastic Agent] Pick up version from libbeat (elastic#18350)
  Update communitybeats.asciidoc (elastic#18470)
  [Metricbeat] Change visualization interval from 15m to >=15m (elastic#18466)
  docs: Fix typo in kerberos docs (elastic#18503)
  ...
urso pushed a commit that referenced this pull request May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug libbeat review Team:Services (Deprecated) Label for the former Integrations-Services team v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants