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 #25629) Update Golang to 1.15.12 #25644

Merged
merged 1 commit into from
May 12, 2021
Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 10, 2021

This is an automatic backport of pull request #25629 done by Mergify.
Cherry-pick of fd13dc5 has failed:

On branch mergify/bp/7.x/pr-25629
Your branch is up to date with 'origin/7.x'.

You are currently cherry-picking commit fd13dc5e0d.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   .go-version
	modified:   CHANGELOG-developer.next.asciidoc
	modified:   auditbeat/Dockerfile
	modified:   filebeat/Dockerfile
	modified:   heartbeat/Dockerfile
	modified:   journalbeat/Dockerfile
	modified:   libbeat/Dockerfile
	modified:   metricbeat/Dockerfile
	modified:   metricbeat/module/http/_meta/Dockerfile
	modified:   packetbeat/Dockerfile
	modified:   x-pack/functionbeat/Dockerfile
	modified:   x-pack/libbeat/Dockerfile

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   libbeat/docs/version.asciidoc

To fix up this pull request, you can check it out locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/


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 a review from a team as a code owner May 10, 2021 15:18
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels May 10, 2021
@mergify mergify bot assigned kvch May 10, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 10, 2021
@botelastic
Copy link

botelastic bot commented May 10, 2021

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

@elasticmachine
Copy link
Collaborator

elasticmachine commented May 10, 2021

💔 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 #25644 updated

  • Start Time: 2021-05-11T12:39:30.040+0000

  • Duration: 90 min 9 sec

  • Commit: 9f680d2

Test stats 🧪

Test Results
Failed 1
Passed 17442
Skipped 1349
Total 18792

Trends 🧪

Image of Build Times

Image of Tests

Test errors 1

Expand to view the tests failures

Build&Test / filebeat-windows-windows-2019 / test_restart_recursive_glob – filebeat.tests.system.test_input.Test
    Expand to view the error details

     beat.beat.TimeoutError: Timeout waiting for 'output contains 'entry2'' to be true. Waited 10 seconds. 
    

    Expand to view the stacktrace

     self = <test_input.Test testMethod=test_restart_recursive_glob>
    
        def test_restart_recursive_glob(self):
            """
            Check that file reading via recursive glob patterns continues after restart
            """
            self.render_config_template(
                path=os.path.abspath(self.working_dir) + "/log/**",
                scan_frequency="1s"
            )
        
            testfile_dir = os.path.join(self.working_dir, "log", "some", "other", "subdir")
            os.makedirs(testfile_dir)
            testfile_path = os.path.join(testfile_dir, "input")
        
            filebeat = self.start_beat()
        
            with open(testfile_path, 'w') as testfile:
                testfile.write("entry1\n")
        
            self.wait_until(
                lambda: self.output_has_message("entry1"),
                max_timeout=10,
                name="output contains 'entry1'")
        
            filebeat.check_kill_and_wait()
        
            # Append to file
            with open(testfile_path, 'a') as testfile:
                testfile.write("entry2\n")
        
            filebeat = self.start_beat(output="filebeat2.log")
        
    >       self.wait_until(
                lambda: self.output_has_message("entry2"),
                max_timeout=10,
                name="output contains 'entry2'")
    
    tests\system\test_input.py:638: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    
    self = <test_input.Test testMethod=test_restart_recursive_glob>
    cond = <function Test.test_restart_recursive_glob.<locals>.<lambda> at 0x000002AF622FEDC0>
    max_timeout = 10, poll_interval = 0.1, name = "output contains 'entry2'"
    
        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 'output contains 'entry2'' to be true. Waited 10 seconds.
    
    ..\libbeat\tests\system\beat\beat.py:362: TimeoutError 
    

Steps errors 5

Expand to view the steps failures

filebeat-windows-windows-2019 - mage build unitTest
  • Took 6 min 21 sec . View more details on here
  • Description: mage build unitTest
Extract
  • Took 0 min 30 sec . View more details on here
  • Description: tar -xpf source.tgz
Verify if file exists in workspace
  • Took 0 min 0 sec . View more details on here
  • Description: source.tgz
Checks if running on a Unix-like node
  • Took 0 min 0 sec . View more details on here
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-05-11T14:09:17.212Z] for FILE in auditbeat-kubernetes.yaml elastic-agent-kubernetes.yaml elastic-agent-standalone-kubernetes.yaml filebeat-kubernetes.yaml heartbeat-kubernetes.yaml metricbeat-kubernetes.yaml; do \
[2021-05-11T14:09:17.212Z] 	BEAT=$(echo $FILE | cut -d \- -f 1); \
[2021-05-11T14:09:17.212Z] 	kubectl create -f $FILE; \
[2021-05-11T14:09:17.212Z] done
[2021-05-11T14:09:17.571Z] configmap/auditbeat-config created
[2021-05-11T14:09:17.571Z] configmap/auditbeat-daemonset-modules created
[2021-05-11T14:09:17.571Z] daemonset.apps/auditbeat created
[2021-05-11T14:09:17.571Z] clusterrolebinding.rbac.authorization.k8s.io/auditbeat created
[2021-05-11T14:09:17.571Z] clusterrole.rbac.authorization.k8s.io/auditbeat created
[2021-05-11T14:09:17.571Z] serviceaccount/auditbeat created
[2021-05-11T14:09:17.571Z] daemonset.apps/agent-ingest-management-nodescope created
[2021-05-11T14:09:17.571Z] deployment.apps/agent-ingest-management-clusterscope created
[2021-05-11T14:09:17.571Z] clusterrolebinding.rbac.authorization.k8s.io/agent-ingest-management created
[2021-05-11T14:09:17.571Z] clusterrole.rbac.authorization.k8s.io/agent-ingest-management created
[2021-05-11T14:09:17.571Z] serviceaccount/agent-ingest-management created
[2021-05-11T14:09:17.835Z] configmap/agent-node-datastreams created
[2021-05-11T14:09:17.835Z] daemonset.apps/elastic-agent created
[2021-05-11T14:09:17.835Z] clusterrolebinding.rbac.authorization.k8s.io/elastic-agent created
[2021-05-11T14:09:17.835Z] rolebinding.rbac.authorization.k8s.io/elastic-agent created
[2021-05-11T14:09:17.835Z] clusterrole.rbac.authorization.k8s.io/elastic-agent created
[2021-05-11T14:09:17.835Z] role.rbac.authorization.k8s.io/elastic-agent created
[2021-05-11T14:09:17.835Z] serviceaccount/elastic-agent created
[2021-05-11T14:09:18.095Z] configmap/filebeat-config created
[2021-05-11T14:09:18.095Z] daemonset.apps/filebeat created
[2021-05-11T14:09:18.095Z] clusterrolebinding.rbac.authorization.k8s.io/filebeat created
[2021-05-11T14:09:18.095Z] clusterrole.rbac.authorization.k8s.io/filebeat created
[2021-05-11T14:09:18.095Z] serviceaccount/filebeat created
[2021-05-11T14:09:18.095Z] configmap/heartbeat-deployment-config created
[2021-05-11T14:09:18.095Z] deployment.apps/heartbeat created
[2021-05-11T14:09:18.095Z] clusterrolebinding.rbac.authorization.k8s.io/heartbeat created
[2021-05-11T14:09:18.095Z] clusterrole.rbac.authorization.k8s.io/heartbeat created
[2021-05-11T14:09:18.095Z] serviceaccount/heartbeat created
[2021-05-11T14:09:18.354Z] configmap/metricbeat-daemonset-config created
[2021-05-11T14:09:18.354Z] configmap/metricbeat-daemonset-modules created
[2021-05-11T14:09:18.354Z] daemonset.apps/metricbeat created
[2021-05-11T14:09:18.354Z] clusterrolebinding.rbac.authorization.k8s.io/metricbeat created
[2021-05-11T14:09:18.354Z] rolebinding.rbac.authorization.k8s.io/metricbeat created
[2021-05-11T14:09:18.354Z] clusterrole.rbac.authorization.k8s.io/metricbeat created
[2021-05-11T14:09:18.354Z] role.rbac.authorization.k8s.io/metricbeat created
[2021-05-11T14:09:18.354Z] serviceaccount/metricbeat created
[2021-05-11T14:09:18.354Z] make: Leaving directory '/var/lib/jenkins/workspace/PR-25644-4-2fff4617-37d8-40e4-80c1-f5ec360e3ce1/src/github.com/elastic/beats/deploy/kubernetes'
[2021-05-11T14:09:18.652Z] + kind delete cluster
[2021-05-11T14:09:18.652Z] Deleting cluster "kind" ...
[2021-05-11T14:09:21.530Z] + go clean -modcache
[2021-05-11T14:09:25.145Z] Cleaning up /var/lib/jenkins/workspace/PR-25644-4-2fff4617-37d8-40e4-80c1-f5ec360e3ce1
[2021-05-11T14:09:25.145Z] Client: Docker Engine - Community
[2021-05-11T14:09:25.145Z]  Version:           20.10.3
[2021-05-11T14:09:25.145Z]  API version:       1.41
[2021-05-11T14:09:25.145Z]  Go version:        go1.13.15
[2021-05-11T14:09:25.145Z]  Git commit:        48d30b5
[2021-05-11T14:09:25.145Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-05-11T14:09:25.145Z]  OS/Arch:           linux/amd64
[2021-05-11T14:09:25.145Z]  Context:           default
[2021-05-11T14:09:25.145Z]  Experimental:      true
[2021-05-11T14:09:25.145Z] 
[2021-05-11T14:09:25.145Z] Server: Docker Engine - Community
[2021-05-11T14:09:25.145Z]  Engine:
[2021-05-11T14:09:25.145Z]   Version:          20.10.3
[2021-05-11T14:09:25.145Z]   API version:      1.41 (minimum version 1.12)
[2021-05-11T14:09:25.145Z]   Go version:       go1.13.15
[2021-05-11T14:09:25.145Z]   Git commit:       46229ca
[2021-05-11T14:09:25.145Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-05-11T14:09:25.145Z]   OS/Arch:          linux/amd64
[2021-05-11T14:09:25.145Z]   Experimental:     false
[2021-05-11T14:09:25.145Z]  containerd:
[2021-05-11T14:09:25.145Z]   Version:          1.4.4
[2021-05-11T14:09:25.145Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-05-11T14:09:25.145Z]  runc:
[2021-05-11T14:09:25.145Z]   Version:          1.0.0-rc93
[2021-05-11T14:09:25.145Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-05-11T14:09:25.145Z]  docker-init:
[2021-05-11T14:09:25.145Z]   Version:          0.19.0
[2021-05-11T14:09:25.145Z]   GitCommit:        de40ad0
[2021-05-11T14:09:25.145Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-05-11T14:09:25.145Z] Unable to find image 'alpine:3.4' locally
[2021-05-11T14:09:25.715Z] 3.4: Pulling from library/alpine
[2021-05-11T14:09:25.975Z] c1e54eec4b57: Pulling fs layer
[2021-05-11T14:09:26.239Z] c1e54eec4b57: Verifying Checksum
[2021-05-11T14:09:26.239Z] c1e54eec4b57: Download complete
[2021-05-11T14:09:26.500Z] c1e54eec4b57: Pull complete
[2021-05-11T14:09:26.500Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-05-11T14:09:26.500Z] Status: Downloaded newer image for alpine:3.4
[2021-05-11T14:09:27.441Z] Change permissions with write access of all files inside the specific folder
[2021-05-11T14:09:27.731Z] Running in /var/lib/jenkins/workspace/PR-25644-4-2fff4617-37d8-40e4-80c1-f5ec360e3ce1
[2021-05-11T14:09:31.775Z] + gsutil --version
[2021-05-11T14:09:33.233Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-05-11T14:09:33.553Z] + gcloud auth activate-service-account --key-file ****
[2021-05-11T14:09:34.127Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-05-11T14:09:34.450Z] + gsutil -m -q cp -a public-read ZGVwbG95L2t1YmVybmV0ZXMtazhzVGVzdDlmNjgwZDJmZGJlNTQ4ZTFkNDhhNTA2MDBhNzI0MTYyMGMxMTllNDE gs://beats-ci-temp/ci/cache/
[2021-05-11T14:09:36.510Z] Stage "Extended" skipped due to earlier failure(s)
[2021-05-11T14:09:36.557Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-05-11T14:09:36.599Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-05-11T14:09:36.716Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-25644/src/github.com/elastic/beats
[2021-05-11T14:09:38.188Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-25644
[2021-05-11T14:09:38.236Z] [INFO] getVaultSecret: Getting secrets
[2021-05-11T14:09:38.288Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-05-11T14:09:39.056Z] + chmod 755 generate-build-data.sh
[2021-05-11T14:09:39.056Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25644/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25644/runs/4 FAILURE 5408748
[2021-05-11T14:09:39.056Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25644/runs/4/steps/?limit=10000 -o steps-info.json
[2021-05-11T14:09:45.537Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25644/runs/4/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 17442
Skipped 1349
Total 18792

Genuine test errors 1

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

  • Name: Build&Test / filebeat-windows-windows-2019 / test_restart_recursive_glob – filebeat.tests.system.test_input.Test

@kvch
Copy link
Contributor

kvch commented May 11, 2021

jenkins run tests

@kvch kvch force-pushed the mergify/bp/7.x/pr-25629 branch from 48dba59 to 0a1d1b8 Compare May 11, 2021 09:30
@kvch
Copy link
Contributor

kvch commented May 11, 2021

/packaging

(cherry picked from commit fd13dc5)
@kvch kvch force-pushed the mergify/bp/7.x/pr-25629 branch from 0a1d1b8 to 9f680d2 Compare May 11, 2021 12:39
@kvch kvch merged commit 2cb2fc1 into 7.x May 12, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-25629 branch May 12, 2021 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport conflicts There is a conflict in the backported pull request needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants