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

[main][Automation] Update versions #4773

Merged
merged 4 commits into from
May 22, 2024
Merged

Conversation

apmmachine
Copy link
Contributor

These files are used for picking agent versions in integration tests.

The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co

The current update is generated based on the following requirements:

Package version: 8.15.0

{
  "UpgradeToVersion": "8.15.0",
  "CurrentMajors": 1,
  "PreviousMajors": 1,
  "PreviousMinors": 2,
  "SnapshotBranches": [
    "8.14",
    "8.13",
    "7.17"
  ]
}

These files are used for picking agent versions in integration tests.

The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co

The current update is generated based on the following requirements:

Package version: 8.15.0

```json
{
  "UpgradeToVersion": "8.15.0",
  "CurrentMajors": 1,
  "PreviousMajors": 1,
  "PreviousMinors": 2,
  "SnapshotBranches": [
    "8.14",
    "8.13",
    "7.17"
  ]
}
```
@apmmachine apmmachine requested a review from a team as a code owner May 17, 2024 00:22
@apmmachine apmmachine added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent Label for the Agent team backport-skip skip-changelog update-versions Updates to the agent versions file labels May 17, 2024
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@rdner
Copy link
Member

rdner commented May 17, 2024

Blocked by elastic/beats#39586

@rdner
Copy link
Member

rdner commented May 17, 2024

@cmacknz There is new error in the 8.15 snapshot:

Failed to install service  [4s] Error uninstalling. Printing logs
        Error: error installing package: error getting service installation options: failed to set user elastic-agent-user password for service: call to NetUserSetInfo failed: status=2245 error=4294967295
        For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.15/fleet-troubleshooting.html
    install_test.go:219: 
        	Error Trace:	C:/Users/windows/agent/testing/integration/install_test.go:219
        	Error:      	Received unexpected error:
        	            	error running agent install command: exit status 1
        	Test:       	TestRepeatedInstallUninstall/TestRepeatedInstallUninstall-71
--- FAIL: TestRepeatedInstallUninstall/TestRepeatedInstallUninstall-71 (11.97s)

@rdner rdner requested review from cmacknz and removed request for blakerouse May 17, 2024 04:56
@cmacknz
Copy link
Member

cmacknz commented May 21, 2024

@pazone it should not be possible to merge this change with failing integration tests. In this case the 7.17.22-SNAPSHOT version is the cause of the failures.

We need a snapshot with elastic/beats#39585 to succeed first.

Copy link
Member

@cmacknz cmacknz left a comment

Choose a reason for hiding this comment

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

Needs passing tests.

@rdner rdner enabled auto-merge (squash) May 21, 2024 18:17
@rdner rdner disabled auto-merge May 21, 2024 18:18
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

@cmacknz cmacknz merged commit 7042ea3 into main May 22, 2024
14 checks passed
@cmacknz cmacknz deleted the update-agent-versions-9120927965 branch May 22, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip skip-changelog Team:Elastic-Agent Label for the Agent team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team update-versions Updates to the agent versions file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants