Skip to content

[9.0] Update OTel components to v0.120.x #7050

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

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Conversation

swiatekm
Copy link
Contributor

What does this PR do?

Updates OTel components to v0.120.0 in the 9.0 branch. The update for other branches in #6912 is currently blocked. We've unblocked it in 9.0 through #7023, because it blocks other changes that need to land for 9.0 release.

Why is it important?

It unblocks #6937, which should be in 9.0.

Checklist

  • I have read and understood the pull request guidelines of this project.
  • I have made corresponding changes to the documentation
  • I have added an entry in ./changelog/fragments using the changelog tool

@swiatekm swiatekm added enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team dependency backport-skip labels Feb 26, 2025
@swiatekm swiatekm requested a review from a team as a code owner February 26, 2025 13:25
@swiatekm swiatekm requested review from andrzej-stencel and michel-laterman and removed request for a team February 26, 2025 13:25
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@swiatekm
Copy link
Contributor Author

Got a K8s test failure:

=== Failed
=== FAIL: testing/integration TestOtelKubeStackHelm/helm_kube-stack_operator_standalone_agent_kubernetes_privileged (334.06s)
    otel_helm_test.go:122:
        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1740576462608313681/elastic/elastic-agent-extended-testing/testing/integration/otel_helm_test.go:122
        	            				/opt/buildkite-agent/builds/bk-agent-prod-gcp-1740576462608313681/elastic/elastic-agent-extended-testing/testing/integration/otel_helm_test.go:96
        	Error:      	Condition never satisfied
        	Test:       	TestOtelKubeStackHelm/helm_kube-stack_operator_standalone_agent_kubernetes_privileged
        	Messages:   	at least 4 agent containers should be checked
=== FAIL: testing/integration TestOtelKubeStackHelm (342.70s)

in https://buildkite.com/elastic/elastic-agent-extended-testing/builds/7694#01954270-d4c5-4926-8442-4861f27bedea.

@swiatekm
Copy link
Contributor Author

Also got what looks like an ESS problem:

Error: error running test: failed to check for cloud 9.0.0-SNAPSHOT [stack_id: 900-SNAPSHOT, deployment_id: 4711e5467e8d4f109f2ef465fb8535ab] to be ready: context deadline exceeded

@swiatekm
Copy link
Contributor Author

Got the following error from ogc:

Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
  File "/venv/lib/python3.11/site-packages/ogc/deployer.py", line 215, in _up_async
    provisioner.create()
  File "/venv/lib/python3.11/site-packages/ogc/provision.py", line 450, in create
    _nodes = [self.provisioner.create_node(**opts)]  # type: ignore
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/venv/lib/python3.11/site-packages/libcloud/compute/drivers/gce.py", line 4487, in create_node
    self.connection.async_request(request, method="POST", data=node_data)
  File "/venv/lib/python3.11/site-packages/libcloud/common/base.py", line 877, in async_request
    raise LibcloudError("Job did not complete in %s seconds" % (self.timeout))
libcloud.common.types.LibcloudError: <LibcloudError in None 'Job did not complete in 180 seconds'>
2025-02-28T14:03:03Z <Greenlet at 0x7f8dfcbe6ac0: _up_async(<LayoutModel: 2>)> failed with LibcloudError

in https://buildkite.com/elastic/elastic-agent-extended-testing/builds/7768#01954cb3-cb7e-4d39-b24a-62ddfa56530b.

@swiatekm swiatekm force-pushed the otel-components-120x-9.0 branch 2 times, most recently from ad23a94 to 27b0e39 Compare March 3, 2025 08:49
@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 3, 2025

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @swiatekm

@swiatekm swiatekm force-pushed the otel-components-120x-9.0 branch from 27b0e39 to 592aaaf Compare March 3, 2025 14:00
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@jlind23 jlind23 merged commit 4e4953a into 9.0 Mar 4, 2025
14 checks passed
@jlind23 jlind23 deleted the otel-components-120x-9.0 branch March 4, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip dependency enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants