Skip to content

fix: always try to remap both span and error stacktraces #5575

fix: always try to remap both span and error stacktraces

fix: always try to remap both span and error stacktraces #5575

GitHub Actions / System Tests Results failed Dec 13, 2023 in 0s

155 passed, 5 failed and 0 skipped

Tests failed

❌ TEST-go-system_tests.xml

160 tests were completed in 426s with 155 passed, 5 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/elastic/apm-server/systemtest 137✔️ 5❌ 339s
github.com/elastic/apm-server/systemtest/apmservertest 5✔️ 161s
github.com/elastic/apm-server/systemtest/benchtest 7✔️ 5s
github.com/elastic/apm-server/systemtest/benchtest/expvar 6✔️ 1s
github.com/elastic/apm-server/systemtest/cmd/apmbench 0ms
github.com/elastic/apm-server/systemtest/cmd/apmsoak 0ms
github.com/elastic/apm-server/systemtest/cmd/buildapm 0ms
github.com/elastic/apm-server/systemtest/cmd/fleetctl 0ms
github.com/elastic/apm-server/systemtest/cmd/gencorpora 0ms
github.com/elastic/apm-server/systemtest/cmd/runapm 0ms
github.com/elastic/apm-server/systemtest/cmd/sendotlp 0ms
github.com/elastic/apm-server/systemtest/estest 0ms
github.com/elastic/apm-server/systemtest/fleettest 0ms
github.com/elastic/apm-server/systemtest/gencorpora 0ms
github.com/elastic/apm-server/systemtest/soaktest 0ms

❌ github.com/elastic/apm-server/systemtest

❌ TestIntake/Errors
	=== RUN   TestIntake/Errors
❌ TestIntake/Events
	=== RUN   TestIntake/Events
❌ TestIntake/Transactions
	=== RUN   TestIntake/Transactions
❌ TestIntake/TransactionsHugeTraces
	=== RUN   TestIntake/TransactionsHugeTraces
❌ TestIntake
	=== RUN   TestIntake
✔️ TestAgentConfig
✔️ TestAgentConfigForbiddenOnInvalidConfig/invalid_username_password
✔️ TestAgentConfigForbiddenOnInvalidConfig/invalid_api_key
✔️ TestAgentConfigForbiddenOnInvalidConfig/insufficient_privileges_username_password
✔️ TestAgentConfigForbiddenOnInvalidConfig/insufficient_privileges_api_key
✔️ TestAgentConfigForbiddenOnInvalidConfig
✔️ TestTransactionAggregation
✔️ TestTransactionAggregationShutdown
✔️ TestServiceDestinationAggregation
✔️ TestTransactionAggregationLabels
✔️ TestServiceTransactionMetricsAggregation
✔️ TestServiceTransactionMetricsAggregationLabels
✔️ TestServiceTransactionMetricsAggregationLabelsRUM
✔️ TestServiceSummaryMetricsAggregation
✔️ TestServiceSummaryMetricsAggregationOverflow
✔️ TestNonDefaultRollupIntervalHiddenDataStream
✔️ TestAPIKeyCreate
✔️ TestAPIKeyCreateExpiration
✔️ TestAPIKeyCreateInvalidUser
✔️ TestAPIKeyInvalidateName
✔️ TestAPIKeyInvalidateID
✔️ TestAPIKeyVerify
✔️ TestAPIKeyInfo
✔️ TestAuth/root/anonymous
✔️ TestAuth/root/secret_token
✔️ TestAuth/root/api_key
✔️ TestAuth/root
✔️ TestAuth/ingest/anonymous
✔️ TestAuth/ingest/secret_token
✔️ TestAuth/ingest/api_key
✔️ TestAuth/ingest
✔️ TestAuth/agentconfig/anonymous
✔️ TestAuth/agentconfig/secret_token
✔️ TestAuth/agentconfig/api_key
✔️ TestAuth/agentconfig
✔️ TestAuth/rum_agentconfig/anonymous
✔️ TestAuth/rum_agentconfig/secret_token
✔️ TestAuth/rum_agentconfig/api_key
✔️ TestAuth/rum_agentconfig
✔️ TestAuth/rum_ingest/anonymous
✔️ TestAuth/rum_ingest/secret_token
✔️ TestAuth/rum_ingest/api_key
✔️ TestAuth/rum_ingest
✔️ TestAuth
✔️ TestAPMServerEnvironment/container
✔️ TestAPMServerEnvironment/systemd
✔️ TestAPMServerEnvironment/macos_service
✔️ TestAPMServerEnvironment/windows_service
✔️ TestAPMServerEnvironment
✔️ TestDefaultServiceEnvironment
✔️ TestErrorGroupingName
✔️ TestErrorIngest
✔️ TestErrorExceptionCause
✔️ TestExportConfigDefaults
✔️ TestExportConfigOverrideDefaults
✔️ TestResponseHeaders
✔️ TestTransactionDroppedSpansStats
✔️ TestCompressedSpans
✔️ TestIngestPipeline
✔️ TestIngestPipelineVersionEnforcement
✔️ TestIngestPipelineEventDuration
✔️ TestIngestPipelineEventSuccessCount
✔️ TestIngestPipelineBackwardCompatibility
✔️ TestAPMServerInstrumentation
✔️ TestAPMServerInstrumentationAuth/self_no_auth
✔️ TestAPMServerInstrumentationAuth/external_secret_token
✔️ TestAPMServerInstrumentationAuth/external_api_key
✔️ TestAPMServerInstrumentationAuth
✔️ TestIntakeAsync/semaphore_size_5
✔️ TestIntakeAsync/semaphore_size_default
✔️ TestIntakeAsync
✔️ TestIntakeLog/without_timestamp
✔️ TestIntakeLog/with_timestamp
✔️ TestIntakeLog/with_timestamp_as_str
✔️ TestIntakeLog/with_faas
✔️ TestIntakeLog/with_flat_ecs_fields
✔️ TestIntakeLog/with_nested_ecs_fields
✔️ TestIntakeLog/with_nested_ecs_fields_overrides_flat_fields
✔️ TestIntakeLog
✔️ TestIntake/ErrorsTxID
✔️ TestIntake/Metricsets
✔️ TestIntake/Spans
✔️ TestIntake/UnknownSpanType
✔️ TestIntake/MinimalEvents
✔️ TestJaeger/batch_0
✔️ TestJaeger/batch_1
✔️ TestJaeger
✔️ TestJaegerMuxedTLS
✔️ TestJaegerSampling
✔️ TestJaegerAuth
✔️ TestAPMServerGRPCRequestLoggingValid
✔️ TestAPMServerRequestLoggingValid
✔️ TestLogstashOutput
✔️ TestApprovedMetrics
✔️ TestBreakdownMetrics
✔️ TestApplicationMetrics
✔️ TestAPMServerMonitoring
✔️ TestMonitoring
✔️ TestAPMServerMonitoringBuiltinUser
✔️ TestOTLPGRPCTraces
✔️ TestOTLPGRPCTraceSpanLinks
✔️ TestOTLPGRPCMetrics
✔️ TestOTLPGRPCLogs
✔️ TestOTLPGRPCAuth
✔️ TestOTLPClientIP
✔️ TestOTLPHTTP/uncompressed
✔️ TestOTLPHTTP/gzip_compressed
✔️ TestOTLPHTTP
✔️ TestOTLPAnonymous
✔️ TestOTLPRateLimit
✔️ TestOTLPGRPCLogsClientIP
✔️ TestRUMXForwardedFor
✔️ TestRUMAllowServiceNames
✔️ TestRUMRateLimit
✔️ TestRUMCORS
✔️ TestRUMRoutingIntegration
✔️ TestDropUnsampled
✔️ TestTailSampling
✔️ TestRUMErrorSourcemapping/absolute_bundle_filepath/standalone
✔️ TestRUMErrorSourcemapping/absolute_bundle_filepath
✔️ TestRUMErrorSourcemapping/relative_bundle_filepath/standalone
✔️ TestRUMErrorSourcemapping/relative_bundle_filepath
✔️ TestRUMErrorSourcemapping
✔️ TestRUMSpanSourcemapping
✔️ TestNoMatchingSourcemap
✔️ TestSourcemapCaching
✔️ TestSourcemapFetcher/elasticsearch
✔️ TestSourcemapFetcher/kibana_fallback_with_es_unreachable
✔️ TestSourcemapFetcher/kibana_fallback_with_es_credentials_unauthorized
✔️ TestSourcemapFetcher
✔️ TestTLSConfig/compatible_cipher_suite
✔️ TestTLSConfig/compatible_protocol_TLSv1.2
✔️ TestTLSConfig/compatible_protocol_TLSv1.3
✔️ TestTLSConfig/incompatible_cipher_suite
✔️ TestTLSConfig/incompatible_protocol
✔️ TestTLSConfig
✔️ TestTLSClientAuth

✔️ github.com/elastic/apm-server/systemtest/apmservertest

✔️ TestNewServerTB
✔️ TestNewUnstartedServerTB
✔️ TestNewUnstartedServerLog
✔️ TestServerStartTLS
✔️ TestExpvar

✔️ github.com/elastic/apm-server/systemtest/benchtest

✔️ Test_warmup/1_agent_2s
✔️ Test_warmup/4_agent_2s
✔️ Test_warmup
✔️ TestAddExpvarMetrics/with_false_detailed_flag_and_no_error_resp
✔️ TestAddExpvarMetrics/with_false_detailed_flag_and_error_resp
✔️ TestAddExpvarMetrics/with_true_detailed_flag_and_error_resp
✔️ TestAddExpvarMetrics

✔️ github.com/elastic/apm-server/systemtest/benchtest/expvar

✔️ TestStart
✔️ TestAggregate
✔️ TestWatchMetric
✔️ TestWatchMetricFail
✔️ TestWatchMetricFalse
✔️ TestWatchMetricNonBlocking

Annotations

Check failure on line 0 in TEST-go-system_tests.xml

See this annotation in the file changed.

@github-actions github-actions / System Tests Results

github.com/elastic/apm-server/systemtest ► TestIntake/Errors

Failed test found in:
  TEST-go-system_tests.xml
Error:
  === RUN   TestIntake/Errors
Raw output
=== RUN   TestIntake/Errors
    intake_test.go:71:   []any{
          	map[string]any{
          		... // 7 identical entries
          		"client.geo.country_name":    []any{string("United States")},
          		"client.geo.location":        []any{string("dynamic")},
        - 		"client.geo.region_iso_code": []any{string("dynamic")},
        - 		"client.geo.region_name":     []any{string("dynamic")},
          		"client.ip":                  []any{string("12.53.12.1")},
          		"cloud.account.id":           []any{string("account_id")},
          		... // 97 identical entries
          	},
          	map[string]any{"@timestamp": []any{string("2018-08-09T14:59:05.999Z")}, "agent.activation_method": []any{string("some_activation_method")}, "agent.ephemeral_id": []any{string("abcdef123")}, "agent.name": []any{string("elastic-node")}, ...},
          	map[string]any{"@timestamp": []any{string("2018-08-09T14:59:05.999Z")}, "agent.activation_method": []any{string("some_activation_method")}, "agent.ephemeral_id": []any{string("abcdef123")}, "agent.name": []any{string("elastic-node")}, ...},
          	... // 2 identical elements
          }
        
        Test failed. Run `make check-approvals` to verify the diff.
        
    server.go:133: log file: /home/runner/work/apm-server/apm-server/systemtest/logs/TestIntake_Errors/apm-server
    --- FAIL: TestIntake/Errors (1.52s)

Check failure on line 0 in TEST-go-system_tests.xml

See this annotation in the file changed.

@github-actions github-actions / System Tests Results

github.com/elastic/apm-server/systemtest ► TestIntake/Events

Failed test found in:
  TEST-go-system_tests.xml
Error:
  === RUN   TestIntake/Events
Raw output
=== RUN   TestIntake/Events
    intake_test.go:71:   []any{
          	map[string]any{"@timestamp": []any{string("2019-10-21T11:30:44.929Z")}, "agent.activation_method": []any{string("some_activation_method")}, "agent.ephemeral_id": []any{string("e71be9ac-93b0-44b9-a997-5638f6ccfc36")}, "agent.name": []any{string("java")}, ...},
          	map[string]any{"@timestamp": []any{string("2019-10-21T11:30:44.929Z")}, "agent.activation_method": []any{string("some_activation_method")}, "agent.ephemeral_id": []any{string("e71be9ac-93b0-44b9-a997-5638f6ccfc36")}, "agent.name": []any{string("java")}, ...},
          	map[string]any{"@timestamp": []any{string("2019-10-21T11:30:44.929Z")}, "agent.activation_method": []any{string("some_activation_method")}, "agent.ephemeral_id": []any{string("e71be9ac-93b0-44b9-a997-5638f6ccfc36")}, "agent.name": []any{string("java")}, ...},
          	map[string]any{
          		... // 7 identical entries
          		"client.geo.country_name":    []any{string("United States")},
          		"client.geo.location":        []any{string("dynamic")},
        - 		"client.geo.region_iso_code": []any{string("dynamic")},
        - 		"client.geo.region_name":     []any{string("dynamic")},
          		"client.ip":                  []any{string("12.53.12.1")},
          		"container.id":               []any{string("8ec7ceb990749e79b37f6dc6cd3628633618d6ce412553a552a0fa6b69419ad4")},
          		... // 90 identical entries
          	},
          }
        
        Test failed. Run `make check-approvals` to verify the diff.
        
    server.go:133: log file: /home/runner/work/apm-server/apm-server/systemtest/logs/TestIntake_Events/apm-server
    --- FAIL: TestIntake/Events (1.71s)

Check failure on line 0 in TEST-go-system_tests.xml

See this annotation in the file changed.

@github-actions github-actions / System Tests Results

github.com/elastic/apm-server/systemtest ► TestIntake/Transactions

Failed test found in:
  TEST-go-system_tests.xml
Error:
  === RUN   TestIntake/Transactions
Raw output
=== RUN   TestIntake/Transactions
    intake_test.go:71:   []any{
          	map[string]any{"@timestamp": []any{string("2017-05-30T18:53:27.154Z")}, "agent.activation_method": []any{string("some_activation_method")}, "agent.name": []any{string("elastic-node")}, "agent.version": []any{string("3.14.0")}, ...},
          	map[string]any{"@timestamp": []any{string("2017-05-30T18:53:27.154Z")}, "agent.activation_method": []any{string("some_activation_method")}, "agent.name": []any{string("elastic-node")}, "agent.version": []any{string("3.14.0")}, ...},
          	map[string]any{
          		... // 6 identical entries
          		"client.geo.country_name":    []any{string("United States")},
          		"client.geo.location":        []any{string("dynamic")},
        - 		"client.geo.region_iso_code": []any{string("dynamic")},
        - 		"client.geo.region_name":     []any{string("dynamic")},
          		"client.ip":                  []any{string("12.53.12.1")},
          		"cloud.account.id":           []any{string("account_id")},
          		... // 107 identical entries
          	},
          	map[string]any{"@timestamp": []any{string("2018-07-30T18:53:42.281Z")}, "agent.activation_method": []any{string("some_activation_method")}, "agent.ephemeral_id": []any{string("justanid")}, "agent.name": []any{string("elastic-ruby")}, ...},
          	map[string]any{"@timestamp": []any{string("2021-09-15T20:11:06.365Z")}, "agent.activation_method": []any{string("some_activation_method")}, "agent.name": []any{string("elastic-node")}, "agent.version": []any{string("3.14.0")}, ...},
          }
        
        Test failed. Run `make check-approvals` to verify the diff.
        
    server.go:133: log file: /home/runner/work/apm-server/apm-server/systemtest/logs/TestIntake_Transactions/apm-server
    --- FAIL: TestIntake/Transactions (1.70s)

Check failure on line 0 in TEST-go-system_tests.xml

See this annotation in the file changed.

@github-actions github-actions / System Tests Results

github.com/elastic/apm-server/systemtest ► TestIntake/TransactionsHugeTraces

Failed test found in:
  TEST-go-system_tests.xml
Error:
  === RUN   TestIntake/TransactionsHugeTraces
Raw output
=== RUN   TestIntake/TransactionsHugeTraces
    intake_test.go:71:   []any{
          	map[string]any{
          		... // 6 identical entries
          		"client.geo.country_name":    []any{string("United States")},
          		"client.geo.location":        []any{string("dynamic")},
        - 		"client.geo.region_iso_code": []any{string("dynamic")},
        - 		"client.geo.region_name":     []any{string("dynamic")},
          		"client.ip":                  []any{string("12.53.12.1")},
          		"cloud.account.id":           []any{string("account_id")},
          		... // 108 identical entries
          	},
          }
        
        Test failed. Run `make check-approvals` to verify the diff.
        
    server.go:133: log file: /home/runner/work/apm-server/apm-server/systemtest/logs/TestIntake_TransactionsHugeTraces/apm-server
    --- FAIL: TestIntake/TransactionsHugeTraces (1.81s)

Check failure on line 0 in TEST-go-system_tests.xml

See this annotation in the file changed.

@github-actions github-actions / System Tests Results

github.com/elastic/apm-server/systemtest ► TestIntake

Failed test found in:
  TEST-go-system_tests.xml
Error:
  === RUN   TestIntake
Raw output
=== RUN   TestIntake
--- FAIL: TestIntake (14.67s)