Skip to content

Commit

Permalink
Force flaky failures for filebeat and libbeat
Browse files Browse the repository at this point in the history
Build and Test / Filebeat Windows / test_close_renamed – test_harvester.Test

Oct 21, 2020 @ 04:00:25.019	Build and Test / Libbeat / Libbeat oss / TestClientPublishEventKerberosAware – elasticsearch
  • Loading branch information
v1v committed Oct 22, 2020
1 parent 6e6e094 commit 3a701bd
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 58 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
projects:
#- "auditbeat"
#- "deploy/kubernetes"
#- "filebeat"
- "filebeat"
#- "generator"
#- "heartbeat"
#- "journalbeat"
#- "libbeat"
- "libbeat"
#- "metricbeat"
#- "packetbeat"
#- "winlogbeat"
#- "x-pack/auditbeat"
#- "x-pack/dockerlogbeat"
- "x-pack/elastic-agent"
#- "x-pack/elastic-agent"
#- "x-pack/filebeat"
#- "x-pack/functionbeat"
#- "x-pack/libbeat"
Expand Down
80 changes: 40 additions & 40 deletions filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,47 +13,47 @@ when:
tags: true ## for all the tags
platform: "linux && ubuntu-18" ## default label for all the stages
stages:
arm:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "arm"
when: ## Override the top-level when.
comments:
- "/test filebeat for arm"
labels:
- "arm"
parameters:
- "armTest"
branches: true ## for all the branches
tags: true ## for all the tags
build:
mage: "mage build test"
withModule: true ## run the ITs only if the changeset affects a specific module.
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Override the top-level when.
comments:
- "/test filebeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
#arm:
# mage: "mage build unitTest"
# platforms: ## override default label in this specific stage.
# - "arm"
# when: ## Override the top-level when.
# comments:
# - "/test filebeat for arm"
# labels:
# - "arm"
# parameters:
# - "armTest"
# branches: true ## for all the branches
# tags: true ## for all the tags
#build:
# mage: "mage build test"
# withModule: true ## run the ITs only if the changeset affects a specific module.
#macos:
# mage: "mage build unitTest"
# platforms: ## override default label in this specific stage.
# - "macosx"
# when: ## Override the top-level when.
# comments:
# - "/test filebeat for macos"
# labels:
# - "macOS"
# parameters:
# - "macosTest"
# branches: true ## for all the branches
# tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test filebeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
#windows-2016:
# mage: "mage build unitTest"
# platforms: ## override default labels in this specific stage.
# - "windows-2016"
# when: ## Override the top-level when.
# comments:
# - "/test filebeat for windows-2016"
# labels:
# - "windows-2016"
# branches: true ## for all the branches
# tags: true ## for all the tags
1 change: 1 addition & 0 deletions filebeat/tests/system/test_harvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
class Test(BaseTest):

def test_close_renamed(self):
t.Fatal("for testing the flaky test reporting for an existing flaky test")
"""
Checks that a file is closed when its renamed / rotated
"""
Expand Down
30 changes: 15 additions & 15 deletions libbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ when:
tags: true ## for all the tags
platform: "linux && ubuntu-18" ## default label for all the stages
stages:
arm:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "arm"
when: ## Override the top-level when.
comments:
- "/test libbeat for arm"
labels:
- "arm"
parameters:
- "armTest"
#arm:
# mage: "mage build unitTest"
# platforms: ## override default label in this specific stage.
# - "arm"
# when: ## Override the top-level when.
# comments:
# - "/test libbeat for arm"
# labels:
# - "arm"
# parameters:
# - "armTest"
build:
mage: "mage build test"
crosscompile:
make: "make -C libbeat crosscompile"
stress-tests:
make: "make STRESS_TEST_OPTIONS='-timeout=20m -race -v -parallel 1' -C libbeat stress-tests"
#crosscompile:
# make: "make -C libbeat crosscompile"
#stress-tests:
# make: "make STRESS_TEST_OPTIONS='-timeout=20m -race -v -parallel 1' -C libbeat stress-tests"
1 change: 1 addition & 0 deletions libbeat/outputs/elasticsearch/client_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func TestClientPublishEvent(t *testing.T) {
}

func TestClientPublishEventKerberosAware(t *testing.T) {
t.Fatal("for testing the flaky test reporting for an existing flaky test")
t.Skip("Flaky test: https://github.com/elastic/beats/issues/21295")

err := setupRoleMapping(t, eslegtest.GetEsKerberosHost())
Expand Down

0 comments on commit 3a701bd

Please sign in to comment.