Skip to content

integrationservertest: APM server not ready in standalone test #17605

@ericywl

Description

@ericywl

This issue has been observed on a few upgrade paths:

  • 7.17 standalone -> 7.17 managed -> 8.19 managed (issue here)
  • 7.17 standalone -> 8.19 standalone -> 8.19 managed -> 9.1 managed (issue here)
  • 7.17 standalone -> 8.19 standalone -> 8.19 managed -> 9.2 managed (issue here)

During ingestion, the APM server cannot be contacted.

steps.go:179: 
            Error Trace:    /Users/ericyap/Repos/elastic/apm/apm-server/integrationservertest/steps.go:179
                                    /Users/ericyap/Repos/elastic/apm/apm-server/integrationservertest/steps.go:78
                                    /Users/ericyap/Repos/elastic/apm/apm-server/integrationservertest/standalone_test.go:49
            Error:          Received unexpected error:
                            cannot run generator: apm server not yet ready after 30s
            Test:           TestStandaloneManaged_7_17_to_8_x_to_9_x_Snapshot/Managed7

When trying to CURL the APM server, we get:

{"ok":false,"message":"The requested resource is currently unavailable."}

The Elastic APM agent policy looks to be active, but the APM server is not available.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions