Skip to content

[Flaky Test]: TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing – commits don't match #6272

@cmacknz

Description

@cmacknz

Failing test case

TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing

Error message

commits don't match: got 96f2b9f, want f4a7f9e

Build

https://buildkite.com/elastic/elastic-agent-extended-testing/builds/5203#0193ac62-c1e0-4b6b-9825-3c6321116e2c

OS

Linux, Windows

Stacktrace and notes

upgrader.go:347: waiting for upgrade watcher to start
    upgrader.go:352: upgrade watcher started
    upgrader.go:357: Checking upgrade details state while Upgrade Watcher is running
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe version --binary-only --yaml]
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: commits don't match: got 96f2b9fc0dbddfcaac1c55e0e0bc9aed3bf6badb, want f4a7f9e2b553228b44af9676c77d6e5dc7317045
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe status --output json]
    upgrader.go:526: waiting for healthy agent and proper version: could not unmarshal agent status output: unexpected end of JSON input
        context deadline exceeded
    upgrade_gpg_test.go:167: 
        	Error Trace:	C:/Users/windows/agent/testing/integration/upgrade_gpg_test.go:167
        	Error:      	Received unexpected error:
        	            	failed waiting for healthy agent and version (context deadline exceeded): could not unmarshal agent status output: unexpected end of JSON input
        	            	context deadline exceeded
        	Test:       	TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing
        	Messages:   	perform upgrade failed
    fixture_install.go:275: [test TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing] Inside fixture cleanup function
    fixture_install.go:291: collecting diagnostics; test failed
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe diagnostics -f C:\Users\windows\agent\build\diagnostics\TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing-2024-12-09T19-21-10Z-diagnostics.zip]
    fixture.go:663: >> running binary with: [C:\Program Files\Elastic\Agent\elastic-agent.exe uninstall --force]
    fixture.go:1031: Dumping running processes in C:\Users\windows\agent\build\diagnostics\TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing-2024-12-09T19-21-10Z-ProcessDump-cleanup.json
    fixture.go:1282: Temporary directory "C:\\Users\\windows\\AppData\\Local\\Temp\\TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing3726556639" preserved for investigation/debugging
    fixture.go:1282: Temporary directory "C:\\Users\\windows\\AppData\\Local\\Temp\\TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing1579482559" preserved for investigation/debugging
--- FAIL: TestStandaloneUpgradeWithGPGFallbackOneRemoteFailing (205.31s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions