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 go-structform to 0.0.9 #26251

Merged
merged 2 commits into from
Jun 15, 2021
Merged

Update go-structform to 0.0.9 #26251

merged 2 commits into from
Jun 15, 2021

Conversation

urso
Copy link

@urso urso commented Jun 10, 2021

  • Enhancement

What does this PR do?

Update go-structform to 0.0.9

Why is it important?

Introduce support to not report (json encode) struct fields that implement IsZero and have omitempty set.

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 the needs_team Indicates that the issue/PR needs a Team:* label label Jun 10, 2021
@botelastic
Copy link

botelastic bot commented Jun 10, 2021

This pull request doesn't have a Team:<team> label.

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 10, 2021

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #26251 updated

  • Start Time: 2021-06-11T20:53:32.366+0000

  • Duration: 131 min 3 sec

  • Commit: f85cfcf

Test stats 🧪

Test Results
Failed 0
Passed 47456
Skipped 5256
Total 52712

Trends 🧪

Image of Build Times

Image of Tests

Log output

Expand to view the last 100 lines of log output

[2021-06-11T23:03:20.234Z]  Go version:        go1.13.15
[2021-06-11T23:03:20.234Z]  Git commit:        48d30b5
[2021-06-11T23:03:20.234Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-06-11T23:03:20.234Z]  OS/Arch:           linux/amd64
[2021-06-11T23:03:20.234Z]  Context:           default
[2021-06-11T23:03:20.234Z]  Experimental:      true
[2021-06-11T23:03:20.234Z] 
[2021-06-11T23:03:20.234Z] Server: Docker Engine - Community
[2021-06-11T23:03:20.234Z]  Engine:
[2021-06-11T23:03:20.234Z]   Version:          20.10.3
[2021-06-11T23:03:20.234Z]   API version:      1.41 (minimum version 1.12)
[2021-06-11T23:03:20.234Z]   Go version:       go1.13.15
[2021-06-11T23:03:20.234Z]   Git commit:       46229ca
[2021-06-11T23:03:20.234Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-06-11T23:03:20.234Z]   OS/Arch:          linux/amd64
[2021-06-11T23:03:20.234Z]   Experimental:     false
[2021-06-11T23:03:20.234Z]  containerd:
[2021-06-11T23:03:20.234Z]   Version:          1.4.3
[2021-06-11T23:03:20.234Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-06-11T23:03:20.234Z]  runc:
[2021-06-11T23:03:20.234Z]   Version:          1.0.0-rc92
[2021-06-11T23:03:20.234Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-06-11T23:03:20.234Z]  docker-init:
[2021-06-11T23:03:20.234Z]   Version:          0.19.0
[2021-06-11T23:03:20.234Z]   GitCommit:        de40ad0
[2021-06-11T23:03:20.234Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-06-11T23:03:20.234Z] Unable to find image 'alpine:3.4' locally
[2021-06-11T23:03:21.173Z] 3.4: Pulling from library/alpine
[2021-06-11T23:03:21.433Z] c1e54eec4b57: Pulling fs layer
[2021-06-11T23:03:21.693Z] c1e54eec4b57: Verifying Checksum
[2021-06-11T23:03:21.693Z] c1e54eec4b57: Download complete
[2021-06-11T23:03:21.693Z] c1e54eec4b57: Pull complete
[2021-06-11T23:03:21.693Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-06-11T23:03:21.693Z] Status: Downloaded newer image for alpine:3.4
[2021-06-11T23:03:23.605Z] Change permissions with write access of all files inside the specific folder
[2021-06-11T23:03:24.197Z] Running in /var/lib/jenkins/workspace/PR-26251-2-82d5b101-6b88-4f5d-ac4b-95b34ec18f4f/src/github.com/elastic/beats/build
[2021-06-11T23:03:24.491Z] + rm -rf ve
[2021-06-11T23:03:24.491Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-06-11T23:03:24.805Z] + python .ci/scripts/pre_archive_test.py
[2021-06-11T23:03:32.940Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-06-11T23:03:32.940Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-06-11T23:03:32.940Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build
[2021-06-11T23:03:32.940Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build
[2021-06-11T23:03:32.940Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-06-11T23:03:32.940Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-06-11T23:03:32.940Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-06-11T23:03:32.940Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-06-11T23:03:32.940Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-06-11T23:03:32.940Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-06-11T23:03:32.958Z] Running in /var/lib/jenkins/workspace/PR-26251-2-82d5b101-6b88-4f5d-ac4b-95b34ec18f4f/src/github.com/elastic/beats/build
[2021-06-11T23:03:32.976Z] Recording test results
[2021-06-11T23:03:35.482Z] None of the test reports contained any result
[2021-06-11T23:03:35.490Z] [Checks API] No suitable checks publisher found.
[2021-06-11T23:03:35.884Z] + go clean -modcache
[2021-06-11T23:03:38.733Z] Cleaning up /var/lib/jenkins/workspace/PR-26251-2-82d5b101-6b88-4f5d-ac4b-95b34ec18f4f
[2021-06-11T23:03:38.733Z] Client: Docker Engine - Community
[2021-06-11T23:03:38.733Z]  Version:           20.10.3
[2021-06-11T23:03:38.733Z]  API version:       1.41
[2021-06-11T23:03:38.733Z]  Go version:        go1.13.15
[2021-06-11T23:03:38.733Z]  Git commit:        48d30b5
[2021-06-11T23:03:38.733Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-06-11T23:03:38.733Z]  OS/Arch:           linux/amd64
[2021-06-11T23:03:38.733Z]  Context:           default
[2021-06-11T23:03:38.733Z]  Experimental:      true
[2021-06-11T23:03:38.733Z] 
[2021-06-11T23:03:38.733Z] Server: Docker Engine - Community
[2021-06-11T23:03:38.733Z]  Engine:
[2021-06-11T23:03:38.733Z]   Version:          20.10.3
[2021-06-11T23:03:38.733Z]   API version:      1.41 (minimum version 1.12)
[2021-06-11T23:03:38.733Z]   Go version:       go1.13.15
[2021-06-11T23:03:38.733Z]   Git commit:       46229ca
[2021-06-11T23:03:38.733Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-06-11T23:03:38.733Z]   OS/Arch:          linux/amd64
[2021-06-11T23:03:38.733Z]   Experimental:     false
[2021-06-11T23:03:38.733Z]  containerd:
[2021-06-11T23:03:38.733Z]   Version:          1.4.3
[2021-06-11T23:03:38.733Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-06-11T23:03:38.733Z]  runc:
[2021-06-11T23:03:38.733Z]   Version:          1.0.0-rc92
[2021-06-11T23:03:38.733Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-06-11T23:03:38.733Z]  docker-init:
[2021-06-11T23:03:38.733Z]   Version:          0.19.0
[2021-06-11T23:03:38.733Z]   GitCommit:        de40ad0
[2021-06-11T23:03:38.733Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-06-11T23:04:25.441Z] Change permissions with write access of all files inside the specific folder
[2021-06-11T23:04:25.469Z] Running in /var/lib/jenkins/workspace/PR-26251-2-82d5b101-6b88-4f5d-ac4b-95b34ec18f4f
[2021-06-11T23:04:29.387Z] + gsutil --version
[2021-06-11T23:04:30.813Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-11T23:04:31.123Z] + gcloud auth activate-service-account --key-file ****
[2021-06-11T23:04:31.694Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-06-11T23:04:32.272Z] + gsutil -m -q cp -a public-read eC1wYWNrL2VsYXN0aWMtYWdlbnQtcGFja2FnaW5nLWxpbnV4Zjg1Y2ZjZmFkNzkwYWU2OGUyODI5MTc2ZWM3ZmUwZjhkODE2YzZiYg gs://beats-ci-temp/ci/cache/
[2021-06-11T23:04:34.316Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-06-11T23:04:34.385Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26251/src/github.com/elastic/beats
[2021-06-11T23:04:34.780Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26251
[2021-06-11T23:04:34.835Z] [INFO] getVaultSecret: Getting secrets
[2021-06-11T23:04:34.880Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-11T23:04:35.631Z] + chmod 755 generate-build-data.sh
[2021-06-11T23:04:35.631Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26251/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26251/runs/2 FAILURE 7863003
[2021-06-11T23:04:35.631Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26251/runs/2/steps/?limit=10000 -o steps-info.json
[2021-06-11T23:04:47.728Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26251/runs/2/tests/?status=FAILED -o tests-errors.json

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 47456
Skipped 5256
Total 52712

@urso urso merged commit 5a0ae38 into elastic:master Jun 15, 2021
@urso urso deleted the upd-structform-0.0.9 branch June 15, 2021 21:06
michalpristas pushed a commit to michalpristas/beats that referenced this pull request Jun 17, 2021
mdelapenya added a commit to mdelapenya/beats that referenced this pull request Jun 21, 2021
* master: (25 commits)
  Fix UBI source URL (elastic#26384)
  Skip test_rotating_file in osx and windows (elastic#26379)
  Remove outdated k8s manifests for managed elastic-agent (elastic#26368)
  Enable agent to send custom headers to kibana/ES (elastic#26275)
  [Automation] Update elastic stack version to 8.0.0-943ef2c0 for testing (elastic#26354)
  Make the Syslog input GA (elastic#26293)
  Move Kerberos FAST config flag to shared kerberos config (elastic#26141)
  Add k8s cluster identifiers (elastic#26056)
  Store message from MongoDB json logs in message field (elastic#26338)
  update threatintel ECS version (elastic#26274)
  update envoyproxy ECS version (elastic#26277)
  [Filebeat] [MongoDB] Support MongoDB 4.4 json logs (elastic#24774)
  Update go-structform to 0.0.9 (elastic#26251)
  Forward port 7.13.2 changelog to master (elastic#26323)
  Updated filter expression for filtering 86 artifacts (elastic#26313)
  Osquerybeat: Align with the rest of the beats, set the ECS version (elastic#26324)
  [Packetbeat] Add `url.extension` to Packetbeat HTTP events (elastic#25999)
  Change link to snapshots in README (elastic#26317)
  Don't include full ES index template in errors (elastic#25743)
  First refactor of the system module - system/cpu and system/core (elastic#25771)
  ...
fearful-symmetry pushed a commit to fearful-symmetry/beats that referenced this pull request Jun 29, 2021
fearful-symmetry added a commit that referenced this pull request Jun 30, 2021
(cherry picked from commit 5a0ae38)

Co-authored-by: Steffen Siering <steffen.siering@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label v7.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants