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

[CI] retry if environmental issues #22662

Closed
wants to merge 16 commits into from

Conversation

v1v
Copy link
Member

@v1v v1v commented Nov 18, 2020

What does this PR do?

Retry a stage with a new node if there is an environmental issue

When does an environmental issue happen?

  • when cleaning up the workspace, most likely the provisioner is reusing an existing worker. This is a known issue.
  • when provisioning the required toolchain, most likely the access to any third-party systems failed for some networking or glitches. For instance, github is not reachable and the installation of docker-compose can fail...

Why is it important?

Reduce the flakiness for environmental issues

We can potentially add more analysis to even retry for other use cases

Issues

Caused by #22661 and potentially fixed with #22626. (It did not work as expected)

windows-2012 build recently failed even when deleting the workspace, that smells some issues with the provisioner:

image

Figures

In the last 30 days, the master branch has failed about 13 times with probably some environmental issues:

GET jenkins-builds/_search
{
  "query": {
    "bool": {
      "must": [
        {
          "term": {
            "build.result.keyword": "FAILURE"
          }
        },
        {
          "term": {
            "job.branch.isPrimary": true
          }
        },
        {
          "range": {
            "test_summary.failed": {
              "lte": 0
            }
          }
        },
        {
          "range": {
            "test_summary.total": {
              "gt": 0
            }
          }
        },
        {
          "range": {
            "build.startTime": {
              "gte": "now-30d"
            }
          }
        },
        {
          "term": {
            "build.branch.url.keyword": "https://github.com/elastic/beats/tree/master"
          }
        }
      ]
    }
  }
}

Some build examples with this particular environmental issue

@v1v v1v added windows-2016 Enable builds in the CI for windows-2016 windows-7 Enable builds in the CI for windows-7 windows-7-32 Enable builds in the CI for windows-7 32 bits labels Nov 18, 2020
@v1v v1v requested a review from a team as a code owner November 18, 2020 17:45
@v1v v1v self-assigned this Nov 18, 2020
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label Team:Automation Label for the Observability productivity team and removed needs_team Indicates that the issue/PR needs a Team:* label labels Nov 18, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Nov 18, 2020

❕ Build Aborted

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

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

Expand to view the summary

Build stats

  • Build Cause: Started by user Victor Martinez

  • Start Time: 2021-02-24T22:42:53.671+0000

  • Duration: 183 min 51 sec

  • Commit: 466d10d

Test stats 🧪

Test Results
Failed 0
Passed 46028
Skipped 4727
Total 50755

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 6

Expand to view the steps failures

Google Storage Download
  • Took 6 min 58 sec . View more details on here
  • Description: [2021-02-24T23:06:13.434Z] [Google Cloud Storage Plugin] Found 1 files to download from pattern: gs:
Checks if running on a Unix-like node
  • Took 0 min 0 sec . View more details on here
  • Description: Required context class hudson.Launcher is missing Perhaps you forgot to surround the code with a ste
Checks if running on a Unix-like node
  • Took 0 min 0 sec . View more details on here
x-pack/metricbeat-packaging-arm-arm - mage package
  • Took 10 min 9 sec . View more details on here
  • Description: mage package
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'org.jenkinsci.plugins.workflow.steps.MissingContextVariableException: Required context class hudson.Launcher is missingPerhaps you forgot to surround the code with a step that provides this, such as: node'
Recursively delete the current directory from the workspace
  • Took 5 min 6 sec . View more details on here
  • Description: Unable to delete 'C:\Users\jenkins\workspace\Beats_beats_PR-22662'. Tried 3 times (of a maximum of 3

Log output

Expand to view the last 100 lines of log output

[2021-02-24T23:44:15.013Z]   Version:          20.10.3
[2021-02-24T23:44:15.013Z]   API version:      1.41 (minimum version 1.12)
[2021-02-24T23:44:15.013Z]   Go version:       go1.13.15
[2021-02-24T23:44:15.013Z]   Git commit:       46229ca
[2021-02-24T23:44:15.013Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-02-24T23:44:15.013Z]   OS/Arch:          linux/amd64
[2021-02-24T23:44:15.013Z]   Experimental:     false
[2021-02-24T23:44:15.013Z]  containerd:
[2021-02-24T23:44:15.013Z]   Version:          1.4.3
[2021-02-24T23:44:15.013Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-02-24T23:44:15.013Z]  runc:
[2021-02-24T23:44:15.013Z]   Version:          1.0.0-rc92
[2021-02-24T23:44:15.013Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-02-24T23:44:15.013Z]  docker-init:
[2021-02-24T23:44:15.013Z]   Version:          0.19.0
[2021-02-24T23:44:15.013Z]   GitCommit:        de40ad0
[2021-02-24T23:44:15.013Z] Unable to find image 'alpine:3.4' locally
[2021-02-24T23:44:15.581Z] 3.4: Pulling from library/alpine
[2021-02-24T23:44:15.840Z] c1e54eec4b57: Pulling fs layer
[2021-02-24T23:44:16.099Z] c1e54eec4b57: Verifying Checksum
[2021-02-24T23:44:16.099Z] c1e54eec4b57: Download complete
[2021-02-24T23:44:16.359Z] c1e54eec4b57: Pull complete
[2021-02-24T23:44:16.359Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-02-24T23:44:16.359Z] Status: Downloaded newer image for alpine:3.4
[2021-02-24T23:44:18.558Z] + python .ci/scripts/pre_archive_test.py
[2021-02-24T23:44:19.497Z] Copy ./metricbeat/build into build/metricbeat/build
[2021-02-24T23:44:19.513Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build
[2021-02-24T23:44:19.823Z] + rm -rf ve
[2021-02-24T23:44:19.823Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-02-24T23:44:19.837Z] Recording test results
[2021-02-24T23:44:21.604Z] [Checks API] No suitable checks publisher found.
[2021-02-24T23:44:21.984Z] /var/lib/jenkins/workspace/Beats_beats_PR-22662@tmp/durable-46350f18/script.sh: line 3: ./dev-tools/common.bash: No such file or directory
[2021-02-24T23:44:21.984Z] /var/lib/jenkins/workspace/Beats_beats_PR-22662@tmp/durable-46350f18/script.sh: line 4: docker_setup: command not found
[2021-02-24T23:44:21.984Z] /var/lib/jenkins/workspace/Beats_beats_PR-22662@tmp/durable-46350f18/script.sh: line 5: script/fix_permissions.sh: No such file or directory
[2021-02-24T23:45:30.225Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-24T23:45:30.225Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-24T23:50:32.859Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-24T23:50:32.859Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-24T23:55:35.579Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-24T23:55:35.579Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:00:38.199Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:00:38.200Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:05:40.821Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:05:40.822Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:10:43.449Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:10:43.449Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:15:46.091Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:15:46.091Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:20:48.722Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:20:48.722Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:25:51.357Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:25:51.357Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:30:54.049Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:30:54.049Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:35:56.687Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:35:56.687Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:40:59.448Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:40:59.448Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:46:02.093Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:46:02.093Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:51:04.836Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:51:04.836Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T00:56:07.478Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T00:56:07.478Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:01:10.201Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T01:01:10.201Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:06:12.933Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T01:06:12.934Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:11:15.564Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T01:11:15.564Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:16:18.207Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T01:16:18.208Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:21:20.959Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T01:21:20.959Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:26:23.706Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T01:26:23.706Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:31:26.327Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T01:31:26.327Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:36:28.955Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T01:36:28.955Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:41:31.698Z] wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats/build@tmp@tmp/durable-20629bbb
[2021-02-25T01:41:31.698Z] (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[2021-02-25T01:44:43.166Z] Cancelling nested steps due to timeout
[2021-02-25T01:44:43.223Z] Sending interrupt signal to process
[2021-02-25T01:44:43.296Z] Sending interrupt signal to process
[2021-02-25T01:45:03.223Z] After 20s process did not stop
[2021-02-25T01:45:03.290Z] Timeout has been exceeded
[2021-02-25T01:45:04.258Z] /var/lib/jenkins/workspace/Beats_beats_PR-22662@tmp/durable-c32026f8/script.sh: line 3: ./dev-tools/common.bash: No such file or directory
[2021-02-25T01:45:04.258Z] /var/lib/jenkins/workspace/Beats_beats_PR-22662@tmp/durable-c32026f8/script.sh: line 4: docker_setup: command not found
[2021-02-25T01:45:04.258Z] /var/lib/jenkins/workspace/Beats_beats_PR-22662@tmp/durable-c32026f8/script.sh: line 5: script/fix_permissions.sh: No such file or directory
[2021-02-25T01:45:43.167Z] Body did not finish within grace period; terminating with extreme prejudice
[2021-02-25T01:45:43.370Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-02-25T01:45:43.585Z] Archiving artifacts
[2021-02-25T01:45:43.641Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22662/src/github.com/elastic/beats
[2021-02-25T01:45:43.943Z] Running on worker-1244230 in /var/lib/jenkins/workspace/Beats_beats_PR-22662
[2021-02-25T01:45:43.996Z] [INFO] getVaultSecret: Getting secrets
[2021-02-25T01:45:44.148Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-02-25T01:45:46.238Z] + chmod 755 generate-build-data.sh
[2021-02-25T01:45:46.238Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22662/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22662/runs/8 ABORTED 10971175
[2021-02-25T01:45:46.238Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22662/runs/8/steps/?limit=10000 -o steps-info.json

@v1v
Copy link
Member Author

v1v commented Nov 18, 2020

jenkins run the tests please

@v1v
Copy link
Member Author

v1v commented Nov 19, 2020

jenkins run the tests please

Jenkinsfile Outdated
Comment on lines 272 to 275
if(fileExists('environmental-issue')) {
sleep 10
runCommand(args)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file is not deleted explicitly, it is true that runCommand deletes the folder but it is weird/hiden. Also, there is no stop condition, what happens if a tool is no longer available for installation? I think that will enter on an infinite loop

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Actually the file is created in the top level agent, therefore this approach might cause issues for some other stages. It seems this approach might not be needed with files but with global variables. Good catch!
  • No infinite loops at all, but two runs since it calls the runCommand rather than itself.

@v1v v1v marked this pull request as draft November 20, 2020 09:13
Jenkinsfile Outdated Show resolved Hide resolved
Jenkinsfile Outdated Show resolved Hide resolved
Co-authored-by: cachedout <[email protected]>
@v1v
Copy link
Member Author

v1v commented Nov 23, 2020

jenkins run the tests please

1 similar comment
@v1v
Copy link
Member Author

v1v commented Nov 23, 2020

jenkins run the tests please

…dows-7

* upstream/master: (41 commits)
  Fix version parser regex for packaging (elastic#22581)
  Fix local_dynamic documentation and add providers inline doc. (elastic#22657)
  fix: use proper param name for e2e tests (elastic#22836)
  [Heartbeat] Fix exit on disabled monitor (elastic#22829)
  Update Golang to 1.14.12 (elastic#22790)
  docs: fix setup.template.overwrite typos (elastic#22804)
  Add docs section for ECS EC2 monitoring (elastic#22784)
  Fixing logic to keep list of unique cluster UUIDs (elastic#22808)
  Skip somewhat flaky UDP system test on Windows (elastic#22810)
  Fix polling node when it is not ready and monitor by hostname (elastic#22666)
  Skip Filebeat test_shutdown on windows 7 (elastic#22797)
  Make monitoring Namespace thread-safe (elastic#22640)
  Drop pkt_dstaddr and pkt_srcaddr when equals to "-" (elastic#22721)
  Add support for reading from UNIX datagram sockets (elastic#22699)
  Fix export dashboard command from Elastic Cloud (elastic#22746)
  Skip flaky winlogbeat test on Windows-7 (elastic#22754)
  Missing `>` (elastic#22763) (elastic#22766)
  Fix k8s watcher issue when node access to list nodes and ns (elastic#22714)
  [Metricbeat/Kibana/stats] Enforce `exclude_usage=true` (elastic#22732)
  Avoid sending non-numeric floats in cloud foundry integrations (elastic#22634)
  ...
@v1v v1v closed this Jan 8, 2021
@v1v v1v reopened this Feb 17, 2021
…dows-7

* upstream/master: (332 commits)
  Use ECS v1.8.0 (elastic#24086)
  Add support for postgresql csv logs (elastic#23334)
  [Heartbeat] Refactor config system (elastic#23467)
  [CI] install docker-compose with retry (elastic#24069)
  Add nodes to filebeat-kubernetes.yaml ClusterRole - fixes elastic#24051 (elastic#24052)
  updating manifest files for filebeat threatintel module (elastic#24074)
  Add Zeek Signatures (elastic#23772)
  Update Beats to ECS 1.8.0 (elastic#23465)
  Support running Docker logging plugin on ARM64 (elastic#24034)
  Fix ec2 metricset fields.yml and add integration test (elastic#23726)
  Only build targz and zip versions of Beats if PACKAGES is set in agent (elastic#24060)
  [Filebeat] Add field definitions for known Netflow/IPFIX vendor fields (elastic#23773)
  [Elastic Agent] Enroll with Fleet Server (elastic#23865)
  [Filebeat] Convert logstash logEvent.action objects to strings (elastic#23944)
  [Ingest Management] Fix reloading of log level for services (elastic#24055)
  Add Agent standalone k8s manifest (elastic#23679)
  [Metricbeat][Kubernetes] Extend state_node with more conditions (elastic#23905)
  [CI] googleStorageUploadExt step (elastic#24048)
  Check fields are documented for aws metricsets (elastic#23887)
  Update go-concert to 0.1.0 (elastic#23770)
  ...
Jenkinsfile Outdated Show resolved Hide resolved
v1v and others added 3 commits February 18, 2021 15:50
…dows-7

* upstream/master:
  Remove OSS reference for kibana and elasticsearch (elastic#24164)
  Skip flaky TestActions on MacOSx (elastic#23966)
  [Filebeat][AWS] Fix vpcflow pipeline exception: Cannot invoke "Object.getClass()" because "receiver" is null (elastic#24167)
  [Elastic Agent] Fix docker entrypoint for elastic-agent. (elastic#24155)
  [PACKAGING] Push docker images with the architecture in the version (elastic#24121)
  [Agent] Add agent standalone manifests for system module & Pod's log collection (elastic#23938)
  indicator type url is in upper case (elastic#24152)
  [Filebeat] Document netflow internal_networks and set default (elastic#24110)
  [Filebeat] Adding fixes to the TI module (elastic#24133)
  [Enhancement] Add RotateOnStartup feature flag for file output (elastic#19347)
  [Ingest Manager] Fix: Successfully installed and enrolled agent running standalone (elastic#24128)
  Set Elastic licence type for APM server Beats update job (elastic#24122)
  Add logrotation section on Running Filebeat on k8s (elastic#24120)
  [CI] Run if manual UI (elastic#24116)
  [CI] enable x-pack/heartbeat in the CI (elastic#23873)
  chore: comment out the E2E (elastic#24109)
  chore: add-backport-next (elastic#24098)
  Adjust the position of the architecture name in Dockerlogbeat tarball (elastic#24095)
  Update dependencies for M1 support in System (elastic#24019)
@v1v v1v marked this pull request as ready for review February 23, 2021 14:50
@v1v v1v requested review from kuisathaverat and a team February 23, 2021 14:51
v1v added 2 commits February 23, 2021 16:52
…dows-7

* upstream/master:
  [CI] Add ARM packaging (elastic#24041)
  Add example input autodsicover config (elastic#24157)
  Empty configuration options generate `<no value>` string for azure-eventhub input (elastic#24156)
@v1v
Copy link
Member Author

v1v commented Feb 24, 2021

/test

Jenkinsfile Show resolved Hide resolved
* environmental issues. Therefore it passes the arguments to the runCommand.
* For further details regarding the arguments please refers to the runCommand method.
*/
def target(Map args = [:]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do think about a more descriptive name? I acknowledge references should be updated.

Suggested change
def target(Map args = [:]) {
def safeRunCommand(Map args = [:]) {

Alternatives?

  • runCommandWithEnviromentalIssues (longer)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not intended to change the name at first, though it might be worth to add more clarity.

What do you think runCommandWithRetry?

@v1v v1v closed this Mar 8, 2021
@v1v v1v reopened this Jun 29, 2021
@v1v v1v closed this Jun 29, 2021
@mergify
Copy link
Contributor

mergify bot commented Jun 29, 2021

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b feature/retry-windows-7 upstream/feature/retry-windows-7
git merge upstream/master
git push upstream feature/retry-windows-7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Automation Label for the Observability productivity team windows-7-32 Enable builds in the CI for windows-7 32 bits windows-7 Enable builds in the CI for windows-7 windows-2016 Enable builds in the CI for windows-2016
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants