Skip to content

[Flaky Test]: TestFleetManagedUpgradeUnprivileged – failed to find artifact URI for version 9.0.0-SNAPSHOT: failed to find snapshot information for version "9.0.0-SNAPSHOT" #7853

@pchila

Description

@pchila

Failing test case

TestFleetManagedUpgradeUnprivileged

Error message

failed to find artifact URI for version 9.0.0-SNAPSHOT: failed to find snapshot information for version "9.0.0-SNAPSHOT": unexpected status code 502 from https://snapshots.elastic.co/latest/9.0.0-SNAPSHOT.json

Build

https://buildkite.com/elastic/elastic-agent/builds/19990#01963868-e50a-4dbe-8513-8a03dc136813/194-481

OS

Linux

Stacktrace and notes

=== FAIL: testing/integration TestFleetManagedUpgradeUnprivileged (11.76s)
    fetcher.go:93: Using existing artifact elastic-agent-9.0.0-SNAPSHOT-linux-x86_64.tar.gz
    fixture.go:295: Extracting artifact elastic-agent-9.0.0-SNAPSHOT-linux-x86_64.tar.gz to /tmp/TestFleetManagedUpgradeUnprivileged279240741
    fixture.go:313: Completed extraction of artifact elastic-agent-9.0.0-SNAPSHOT-linux-x86_64.tar.gz to /tmp/TestFleetManagedUpgradeUnprivileged279240741
    fixture.go:997: Components were not modified from the fetched artifact
    fixture.go:670: >> running binary with: [/tmp/TestFleetManagedUpgradeUnprivileged279240741/elastic-agent-9.0.0-SNAPSHOT-linux-x86_64/elastic-agent version --binary-only --yaml]
    upgrade_fleet_test.go:95:
        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1744703397443442954/elastic/elastic-agent/testing/integration/upgrade_fleet_test.go:95
        	            				/opt/buildkite-agent/builds/bk-agent-prod-gcp-1744703397443442954/elastic/elastic-agent/testing/integration/upgrade_fleet_test.go:54
        	Error:      	Received unexpected error:
        	            	failed to find artifact URI for version 9.0.0-SNAPSHOT: failed to find snapshot information for version "9.0.0-SNAPSHOT": unexpected status code 502 from https://snapshots.elastic.co/latest/9.0.0-SNAPSHOT.json
        	Test:       	TestFleetManagedUpgradeUnprivileged
    fixture.go:1382: Temporary directory "/tmp/TestFleetManagedUpgradeUnprivileged279240741" preserved for investigation/debugging
DONE 118 tests, 88 skipped, 1 failure in 1817.583s
~/builds/bk-agent-prod-gcp-1744703397443442954/elastic/elastic-agent ~/builds/bk-agent-prod-gcp-1744703397443442954/elastic/elastic-agent
~/builds/bk-agent-prod-gcp-1744703397443442954/elastic/elastic-agent

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:Elastic-AgentLabel for the Agent teamflaky-testUnstable or unreliable test cases.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions