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

[7.x](backport #26141) Move Kerberos FAST config flag to shared kerberos config #26349

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 16, 2021

This is an automatic backport of pull request #26141 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

@mergify mergify bot requested review from a team as code owners June 16, 2021 15:19
@mergify mergify bot added the backport label Jun 16, 2021
@mergify mergify bot assigned faec Jun 16, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 16, 2021
@botelastic
Copy link

botelastic bot commented Jun 16, 2021

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

@elasticmachine
Copy link
Collaborator

💔 Tests 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 #26349 opened

  • Start Time: 2021-06-16T15:19:51.395+0000

  • Duration: 110 min 37 sec

  • Commit: 8e4cccf

Test stats 🧪

Test Results
Failed 1
Passed 47510
Skipped 5221
Total 52732

Trends 🧪

Image of Build Times

Image of Tests

Test errors 1

Expand to view the tests failures

Extended / filebeat-windows-10-windows-10 / test_rotating_file – filebeat.tests.system.test_registrar.Test
    Expand to view the error details

     beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds. 
    

    Expand to view the stacktrace

     self = <test_registrar.Test testMethod=test_rotating_file>
    
        def test_rotating_file(self):
            """
            Checks that the registry is properly updated after a file is rotated
            """
            self.render_config_template(
                path=os.path.abspath(self.working_dir) + "/log/*",
                close_inactive="1s"
            )
        
            os.mkdir(self.working_dir + "/log/")
            testfile_path = self.working_dir + "/log/test.log"
        
            filebeat = self.start_beat()
        
            with open(testfile_path, 'w') as testfile:
                testfile.write("offset 9\n")
        
            self.wait_until(lambda: self.output_has(lines=1),
                            max_timeout=10)
        
            testfilerenamed = self.working_dir + "/log/test.1.log"
            os.rename(testfile_path, testfilerenamed)
        
            with open(testfile_path, 'w') as testfile:
                testfile.write("offset 10\n")
        
            self.wait_until(lambda: self.output_has(lines=2),
                            max_timeout=10)
        
            # Wait until rotation is detected
    >       self.wait_until(
                lambda: self.log_contains(
                    "Updating state for renamed file"),
                max_timeout=10)
    
    tests\system\test_registrar.py:308: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    
    self = <test_registrar.Test testMethod=test_rotating_file>
    cond = <function Test.test_rotating_file.<locals>.<lambda> at 0x0000024D078CD700>
    max_timeout = 10, poll_interval = 0.1, name = 'cond'
    
        def wait_until(self, cond, max_timeout=10, poll_interval=0.1, name="cond"):
            """
            Waits until the cond function returns true,
            or until the max_timeout is reached. Calls the cond
            function every poll_interval seconds.
        
            If the max_timeout is reached before cond() returns
            true, an exception is raised.
            """
            start = datetime.now()
            while not cond():
                if datetime.now() - start > timedelta(seconds=max_timeout):
    >               raise TimeoutError("Timeout waiting for '{}' to be true. ".format(name) +
                                       "Waited {} seconds.".format(max_timeout))
    E               beat.beat.TimeoutError: Timeout waiting for 'cond' to be true. Waited 10 seconds.
    
    ..\libbeat\tests\system\beat\beat.py:362: TimeoutError 
    

Steps errors 2

Expand to view the steps failures

filebeat-windows-10-windows-10 - mage build unitTest
  • Took 7 min 41 sec . View more details on here
  • Description: mage build unitTest
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

Log output

Expand to view the last 100 lines of log output

[2021-06-16T17:07:28.337Z] 0.65s call     x-pack/functionbeat/tests/system/test_base.py::Test::test_export_config
[2021-06-16T17:07:28.337Z] 0.36s call     x-pack/functionbeat/tests/system/test_base.py::Test::test_export_index_pattern_migration
[2021-06-16T17:07:28.337Z] 0.36s call     x-pack/functionbeat/tests/system/test_base.py::Test::test_export_index_pattern
[2021-06-16T17:07:28.337Z] 0.31s call     x-pack/functionbeat/tests/system/test_base.py::Test::test_export_template
[2021-06-16T17:07:28.337Z] 0.22s call     x-pack/functionbeat/tests/system/test_base.py::Test::test_export_function
[2021-06-16T17:07:28.337Z] 0.21s call     x-pack/functionbeat/tests/system/test_base.py::Test::test_export_ilm_policy
[2021-06-16T17:07:28.337Z] 0.13s call     x-pack/functionbeat/tests/system/test_base.py::Test::test_export_function_invalid_conf
[2021-06-16T17:07:28.337Z] 
[2021-06-16T17:07:28.337Z] (13 durations < 0.005s hidden.  Use -vv to show these durations.)
[2021-06-16T17:07:28.337Z] ======================== 7 passed, 1 skipped in 2.43s =========================
[2021-06-16T17:07:28.337Z] >> python test: Unit Testing Complete
[2021-06-16T17:07:28.431Z] + gsutil -m -q cp -a public-read cGFja2V0YmVhdC13aW5kb3dzLTctMzItd2luZG93cy03LTMyLWJpdDhlNGNjY2ZkZWVmMGE2NGE1ODAxNTAzNmE0MzNhZTU5ODdmYThmMmE gs://beats-ci-temp/ci/cache/
[2021-06-16T17:07:28.881Z] 
[2021-06-16T17:07:28.881Z] C:\Users\jenkins\workspace\PR-26349-1-e492d9fb-b700-4d7b-8b5f-7231a1e1f00e\src\github.com\elastic\beats>FOR / %d IN ("ve") DO @IF EXIST "%d" rmdir /s /q "%d" 
[2021-06-16T17:07:34.525Z] 
[2021-06-16T17:07:34.525Z] C:\Users\jenkins\workspace\PR-26349-1-e492d9fb-b700-4d7b-8b5f-7231a1e1f00e\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2021-06-16T17:07:35.104Z] Copy .\x-pack\functionbeat\build into build\x-pack\functionbeat\build
[2021-06-16T17:07:35.104Z] Copy .\x-pack\functionbeat\null\build into build\x-pack\functionbeat\null\build
[2021-06-16T17:07:35.149Z] Running in C:\Users\jenkins\workspace\PR-26349-1-e492d9fb-b700-4d7b-8b5f-7231a1e1f00e\src\github.com\elastic\beats\build
[2021-06-16T17:07:35.220Z] Recording test results
[2021-06-16T17:07:38.857Z] [Checks API] No suitable checks publisher found.
[2021-06-16T17:07:39.516Z] 
[2021-06-16T17:07:39.516Z] C:\Users\jenkins\workspace\PR-26349-1-e492d9fb-b700-4d7b-8b5f-7231a1e1f00e\src\github.com\elastic\beats>go clean -modcache 
[2021-06-16T17:08:00.922Z] module\system\test_system.py .....s..s...s.s.                            [ 96%]
[2021-06-16T17:08:00.922Z] module\traefik\test_traefik.py s                                         [ 97%]
[2021-06-16T17:08:00.922Z] module\uwsgi\test_uwsgi.py ss                                            [ 97%]
[2021-06-16T17:08:00.922Z] module\vsphere\test_vsphere.py sss                                       [ 99%]
[2021-06-16T17:08:00.923Z] module\zookeeper\test_zookeeper.py ss                                    [100%]
[2021-06-16T17:08:00.923Z] 
[2021-06-16T17:08:00.923Z] ============================== warnings summary ===============================
[2021-06-16T17:08:00.923Z] tests\system\test_lightmodules.py:57
[2021-06-16T17:08:00.923Z]   C:\Users\jenkins\workspace\PR-26349-1-ecfe50e6-fe78-4bd2-bcf4-c458d68e5ea8\src\github.com\elastic\beats\metricbeat\tests\system\test_lightmodules.py:57: PytestCollectionWarning: cannot collect test class 'TestHTTPHandler' because it has a __init__ constructor (from: metricbeat/tests/system/test_lightmodules.py)
[2021-06-16T17:08:00.923Z]     class TestHTTPHandler(http.server.BaseHTTPRequestHandler):
[2021-06-16T17:08:00.923Z] 
[2021-06-16T17:08:00.923Z] -- Docs: https://docs.pytest.org/en/stable/warnings.html
[2021-06-16T17:08:00.923Z] - generated xml file: C:\Users\jenkins\workspace\PR-26349-1-ecfe50e6-fe78-4bd2-bcf4-c458d68e5ea8\src\github.com\elastic\beats\metricbeat\build\TEST-python-unit.xml -
[2021-06-16T17:08:00.923Z] ============================ slowest 20 durations =============================
[2021-06-16T17:08:00.923Z] 16.84s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_enable
[2021-06-16T17:08:00.923Z] 16.82s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_disable
[2021-06-16T17:08:00.923Z] 16.80s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_list
[2021-06-16T17:08:00.923Z] 12.90s call     metricbeat/tests/system/test_config.py::ConfigTest::test_service_name
[2021-06-16T17:08:00.923Z] 12.56s call     metricbeat/tests/system/test_reload.py::Test::test_start_stop
[2021-06-16T17:08:00.923Z] 10.82s call     metricbeat/tests/system/test_cmd.py::TestCommands::test_modules_test_error
[2021-06-16T17:08:00.923Z] 9.90s call     metricbeat/module/system/test_system.py::Test::test_process
[2021-06-16T17:08:00.923Z] 9.75s call     metricbeat/tests/system/test_processors.py::Test::test_dropevent_with_condition
[2021-06-16T17:08:00.923Z] 9.52s call     metricbeat/tests/system/test_reload.py::Test::test_reload
[2021-06-16T17:08:00.923Z] 8.92s call     metricbeat/tests/system/test_timeseries.py::TestTimeseries::test_enable_timeseries
[2021-06-16T17:08:00.923Z] 8.85s call     metricbeat/tests/system/test_base.py::Test::test_export_index_pattern_migration
[2021-06-16T17:08:00.923Z] 8.79s call     metricbeat/tests/system/test_base.py::Test::test_export_index_pattern
[2021-06-16T17:08:00.923Z] 8.74s call     metricbeat/tests/system/test_base.py::Test::test_export_template
[2021-06-16T17:08:00.923Z] 8.74s call     metricbeat/module/http/test_http.py::Test::test_server
[2021-06-16T17:08:00.923Z] 8.71s call     metricbeat/module/system/test_system.py::Test::test_memory
[2021-06-16T17:08:00.923Z] 8.71s call     metricbeat/module/system/test_system.py::Test::test_process_summary
[2021-06-16T17:08:00.923Z] 8.71s call     metricbeat/module/system/test_system.py::Test::test_cpu
[2021-06-16T17:08:00.923Z] 8.71s call     metricbeat/module/system/test_system.py::Test::test_cpu_ticks_option
[2021-06-16T17:08:00.923Z] 8.70s call     metricbeat/module/system/test_system.py::Test::test_socket_summary
[2021-06-16T17:08:00.923Z] 8.70s call     metricbeat/module/system/test_system.py::Test::test_network
[2021-06-16T17:08:00.923Z] =========== 40 passed, 206 skipped, 1 warning in 395.33s (0:06:35) ============
[2021-06-16T17:08:00.923Z] >> python test: Unit Testing Complete
[2021-06-16T17:08:01.427Z] 
[2021-06-16T17:08:01.427Z] C:\Users\jenkins\workspace\PR-26349-1-ecfe50e6-fe78-4bd2-bcf4-c458d68e5ea8\src\github.com\elastic\beats>FOR / %d IN ("ve") DO @IF EXIST "%d" rmdir /s /q "%d" 
[2021-06-16T17:08:03.679Z] 
[2021-06-16T17:08:03.679Z] C:\Users\jenkins\workspace\PR-26349-1-ecfe50e6-fe78-4bd2-bcf4-c458d68e5ea8\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2021-06-16T17:08:05.211Z] + gsutil --version
[2021-06-16T17:08:05.591Z] Copy .\metricbeat\build into build\metricbeat\build
[2021-06-16T17:08:05.591Z] Copy .\metricbeat\null\build into build\metricbeat\null\build
[2021-06-16T17:08:05.634Z] Running in C:\Users\jenkins\workspace\PR-26349-1-ecfe50e6-fe78-4bd2-bcf4-c458d68e5ea8\src\github.com\elastic\beats\build
[2021-06-16T17:08:05.691Z] Recording test results
[2021-06-16T17:08:06.645Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-16T17:08:08.679Z] [Checks API] No suitable checks publisher found.
[2021-06-16T17:08:09.071Z] + gcloud auth activate-service-account --key-file ****
[2021-06-16T17:08:09.302Z] 
[2021-06-16T17:08:09.302Z] C:\Users\jenkins\workspace\PR-26349-1-ecfe50e6-fe78-4bd2-bcf4-c458d68e5ea8\src\github.com\elastic\beats>go clean -modcache 
[2021-06-16T17:08:09.641Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-06-16T17:08:10.056Z] + gsutil -m -q cp -a public-read cGFja2V0YmVhdC13aW5kb3dzLTEwLXdpbmRvd3MtMTA4ZTRjY2NmZGVlZjBhNjRhNTgwMTUwMzZhNDMzYWU1OTg3ZmE4ZjJh gs://beats-ci-temp/ci/cache/
[2021-06-16T17:08:14.323Z] + gsutil --version
[2021-06-16T17:08:15.782Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-16T17:08:16.129Z] + gcloud auth activate-service-account --key-file ****
[2021-06-16T17:08:16.702Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-06-16T17:08:17.144Z] + gsutil -m -q cp -a public-read bWV0cmljYmVhdC13aW5kb3dzLTIwMTYtd2luZG93cy0yMDE2OGU0Y2NjZmRlZWYwYTY0YTU4MDE1MDM2YTQzM2FlNTk4N2ZhOGYyYQ gs://beats-ci-temp/ci/cache/
[2021-06-16T17:09:04.463Z] + gsutil --version
[2021-06-16T17:09:05.897Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-16T17:09:06.281Z] + gcloud auth activate-service-account --key-file ****
[2021-06-16T17:09:06.857Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-06-16T17:09:07.293Z] + gsutil -m -q cp -a public-read eC1wYWNrL2Z1bmN0aW9uYmVhdC13aW5kb3dzLTctMzItd2luZG93cy03LTMyLWJpdDhlNGNjY2ZkZWVmMGE2NGE1ODAxNTAzNmE0MzNhZTU5ODdmYThmMmE gs://beats-ci-temp/ci/cache/
[2021-06-16T17:09:19.446Z] + gsutil --version
[2021-06-16T17:09:21.645Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-16T17:09:22.013Z] + gcloud auth activate-service-account --key-file ****
[2021-06-16T17:09:22.585Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-06-16T17:09:22.999Z] + gsutil -m -q cp -a public-read bWV0cmljYmVhdC13aW5kb3dzLTEwLXdpbmRvd3MtMTA4ZTRjY2NmZGVlZjBhNjRhNTgwMTUwMzZhNDMzYWU1OTg3ZmE4ZjJh gs://beats-ci-temp/ci/cache/
[2021-06-16T17:09:26.656Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-06-16T17:09:26.757Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-06-16T17:09:26.895Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26349/src/github.com/elastic/beats
[2021-06-16T17:09:27.320Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26349
[2021-06-16T17:09:27.444Z] [INFO] getVaultSecret: Getting secrets
[2021-06-16T17:09:27.500Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-16T17:09:28.572Z] + chmod 755 generate-build-data.sh
[2021-06-16T17:09:28.572Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26349/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26349/runs/1 FAILURE 6576902
[2021-06-16T17:09:28.572Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26349/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-16T17:09:38.496Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26349/runs/1/tests/?status=FAILED -o tests-errors.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 1
Passed 47510
Skipped 5221
Total 52732

Genuine test errors 1

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Extended / filebeat-windows-10-windows-10 / test_rotating_file – filebeat.tests.system.test_registrar.Test

@faec faec merged commit d8326cb into 7.x Jun 17, 2021
@faec faec deleted the mergify/bp/7.x/pr-26141 branch June 17, 2021 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants