Move metric example to example_test.go #727
Merged
Google Cloud Build / ops-go-integration-tests (opentelemetry-ops-e2e)
succeeded
Sep 27, 2023 in 4m 55s
Summary
Build Information
Trigger | ops-go-integration-tests |
Build | 6a36ab2d-91c7-4257-8e11-ea7df74235e6 |
Start | 2023-09-27T12:47:09-07:00 |
Duration | 4m53.048s |
Status | SUCCESS |
Steps
Step | Status | Duration |
---|---|---|
golang:1.21 | SUCCESS | 4m49.066s |
Details
starting build "6a36ab2d-91c7-4257-8e11-ea7df74235e6"
FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/GoogleCloudPlatform/opentelemetry-operations-go
* branch 83c22cf0762b4e18013302c5364e8529630d3b7a -> FETCH_HEAD
HEAD is now at 83c22cf move metric example to example_test.go
BUILD
Pulling image: golang:1.21
1.21: Pulling from library/golang
167b8a53ca45: Pulling fs layer
b47a222d28fa: Pulling fs layer
debce5f9f3a9: Pulling fs layer
91b457aaf04f: Pulling fs layer
b0ed6cc9b509: Pulling fs layer
92b30a24413a: Pulling fs layer
91b457aaf04f: Waiting
b0ed6cc9b509: Waiting
92b30a24413a: Waiting
b47a222d28fa: Verifying Checksum
b47a222d28fa: Download complete
debce5f9f3a9: Verifying Checksum
debce5f9f3a9: Download complete
167b8a53ca45: Verifying Checksum
167b8a53ca45: Download complete
92b30a24413a: Verifying Checksum
92b30a24413a: Download complete
91b457aaf04f: Verifying Checksum
91b457aaf04f: Download complete
b0ed6cc9b509: Verifying Checksum
b0ed6cc9b509: Download complete
167b8a53ca45: Pull complete
b47a222d28fa: Pull complete
debce5f9f3a9: Pull complete
91b457aaf04f: Pull complete
b0ed6cc9b509: Pull complete
92b30a24413a: Pull complete
Digest: sha256:19600fdcae402165dcdab18cb9649540bde6be7274dedb5d205b2f84029fe909
Status: Downloaded newer image for golang:1.21
docker.io/library/golang:1.21
set -e; for dir in . ./detectors/gcp ./e2e-test-server ./e2e-test-server/cloud_functions ./example/metric/collector ./example/metric/sdk ./example/trace/http ./exporter/collector ./exporter/collector/googlemanagedprometheus ./exporter/collector/integrationtest ./exporter/metric ./exporter/trace ./extension/googleclientauthextension ./internal/cloudmock ./internal/resourcemapping ./propagator; do \
echo "go test ./... + race in ${dir}"; \
(cd "${dir}" && \
go test -v -timeout 70s -race -tags=integrationtest -run=TestIntegration ./...); \
done
go test ./... + race in .
? github.com/GoogleCloudPlatform/opentelemetry-operations-go [no test files]
go test ./... + race in ./detectors/gcp
go: downloading cloud.google.com/go/compute v1.10.0
go: downloading github.com/stretchr/testify v1.7.0
go: downloading github.com/davecgh/go-spew v1.1.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
testing: warning: no tests to run
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp 1.016s [no tests to run]
go test ./... + race in ./e2e-test-server
go: downloading cloud.google.com/go/pubsub v1.33.0
go: downloading go.opentelemetry.io/contrib/detectors/gcp v1.19.0
go: downloading go.opentelemetry.io/otel v1.18.0
go: downloading cloud.google.com/go v0.110.6
go: downloading go.opentelemetry.io/otel/sdk v1.18.0
go: downloading go.opentelemetry.io/otel/trace v1.18.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20230731190214-cbb8c96f2d6d
go: downloading google.golang.org/genproto v0.0.0-20230731193218-e0aa005b6bdf
go: downloading cloud.google.com/go/trace v1.10.1
go: downloading golang.org/x/oauth2 v0.8.0
go: downloading google.golang.org/api v0.126.0
go: downloading google.golang.org/grpc v1.57.0
go: downloading google.golang.org/protobuf v1.31.0
go: downloading cloud.google.com/go/compute/metadata v0.2.3
go: downloading cloud.google.com/go/compute v1.23.0
go: downloading cloud.google.com/go/iam v1.1.1
go: downloading github.com/googleapis/gax-go/v2 v2.11.0
go: downloading go.opencensus.io v0.24.0
go: downloading golang.org/x/sync v0.2.0
go: downloading golang.org/x/sys v0.12.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e
go: downloading github.com/go-logr/logr v1.2.4
go: downloading go.opentelemetry.io/otel/metric v1.18.0
go: downloading golang.org/x/net v0.10.0
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading github.com/google/s2a-go v0.1.4
go: downloading github.com/golang/protobuf v1.5.3
go: downloading github.com/google/go-cmp v0.5.9
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.2.3
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading golang.org/x/text v0.9.0
go: downloading google.golang.org/appengine v1.6.7
go: downloading golang.org/x/crypto v0.9.0
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/e2e-test-server [no test files]
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/e2e-test-server/endtoendserver [no test files]
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/e2e-test-server/scenarios [no test files]
go test ./... + race in ./e2e-test-server/cloud_functions
go: downloading github.com/GoogleCloudPlatform/functions-framework-go v1.6.1
go: downloading github.com/cloudevents/sdk-go/v2 v2.13.0
go: downloading cloud.google.com/go/functions v1.15.1
go: downloading github.com/json-iterator/go v1.1.10
go: downloading github.com/google/uuid v1.3.0
go: downloading go.uber.org/zap v1.10.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: downloading github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742
go: downloading go.uber.org/atomic v1.10.0
go: downloading go.uber.org/multierr v1.8.0
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/e2e-test-server/cloudfunctions [no test files]
go test ./... + race in ./example/metric/collector
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v0.41.0
go: downloading go.opentelemetry.io/otel/sdk/metric v0.41.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.41.0
go: downloading go.opentelemetry.io/proto/otlp v1.0.0
go: downloading google.golang.org/grpc v1.58.0
go: downloading github.com/cenkalti/backoff/v4 v4.2.1
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0
go: downloading golang.org/x/net v0.12.0
go: downloading golang.org/x/text v0.11.0
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/example/metric/collector [no test files]
go test ./... + race in ./example/metric/sdk
go: downloading cloud.google.com/go/monitoring v1.15.1
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/example/metric/sdk [no test files]
go test ./... + race in ./example/trace/http
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.44.0
go: downloading github.com/felixge/httpsnoop v1.0.3
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/example/trace/http/client [no test files]
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/example/trace/http/server [no test files]
go test ./... + race in ./exporter/collector
go: downloading go.opentelemetry.io/collector/pdata v1.0.0-rcv0014
go: downloading github.com/stretchr/testify v1.8.4
go: downloading github.com/census-instrumentation/opencensus-proto v0.4.1
go: downloading go.uber.org/zap v1.23.0
go: downloading cloud.google.com/go/logging v1.7.0
go: downloading github.com/fsnotify/fsnotify v1.6.0
go: downloading github.com/tidwall/wal v1.1.7
go: downloading go.opentelemetry.io/collector/semconv v0.85.0
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading cloud.google.com/go/longrunning v0.5.1
go: downloading github.com/tidwall/gjson v1.10.2
go: downloading github.com/tidwall/tinylru v1.1.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/tidwall/match v1.1.1
go: downloading github.com/tidwall/pretty v1.2.0
go: downloading golang.org/x/crypto v0.11.0
testing: warning: no tests to run
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector 1.078s [no tests to run]
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/internal/logsutil [no test files]
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/internal/metricstestutil [no test files]
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/internal/normalization [no test files]
testing: warning: no tests to run
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/internal/datapointstorage 1.020s [no tests to run]
go test ./... + race in ./exporter/collector/googlemanagedprometheus
go: downloading github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus v0.85.0
go: downloading go.opentelemetry.io/collector/featuregate v1.0.0-rcv0014
go: downloading golang.org/x/net v0.15.0
go: downloading golang.org/x/text v0.13.0
testing: warning: no tests to run
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/googlemanagedprometheus 1.018s [no tests to run]
go test ./... + race in ./exporter/collector/integrationtest
go: downloading contrib.go.opencensus.io/exporter/stackdriver v0.13.14
go: downloading go.uber.org/zap v1.25.0
go: downloading go.opentelemetry.io/collector/component v0.85.0
go: downloading go.opentelemetry.io/collector v0.85.0
go: downloading go.opentelemetry.io/collector/exporter v0.85.0
go: downloading golang.org/x/oauth2 v0.10.0
go: downloading github.com/prometheus/prometheus v0.39.1
go: downloading go.opentelemetry.io/collector/config/configtelemetry v0.85.0
go: downloading go.opentelemetry.io/collector/confmap v0.85.0
go: downloading go.opentelemetry.io/collector/connector v0.85.0
go: downloading go.opentelemetry.io/collector/extension v0.85.0
go: downloading go.opentelemetry.io/collector/processor v0.85.0
go: downloading go.opentelemetry.io/collector/receiver v0.85.0
go: downloading go.opentelemetry.io/collector/consumer v0.85.0
go: downloading golang.org/x/sync v0.3.0
go: downloading github.com/knadh/koanf v1.5.0
go: downloading github.com/knadh/koanf/v2 v2.0.1
go: downloading github.com/mitchellh/mapstructure v1.5.1-0.20220423185008-bf980b35cac4
go: downloading github.com/spf13/cobra v1.7.0
go: downloading github.com/aws/aws-sdk-go v1.44.117
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading contrib.go.opencensus.io/exporter/prometheus v0.4.2
go: downloading github.com/google/uuid v1.3.1
go: downloading github.com/prometheus/client_golang v1.16.0
go: downloading go.opentelemetry.io/contrib/propagators/b3 v1.17.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading github.com/prometheus/statsd_exporter v0.22.7
go: downloading gonum.org/v1/gonum v0.14.0
go: downloading github.com/shirou/gopsutil/v3 v3.23.7
go: downloading go.opentelemetry.io/otel/bridge/opencensus v0.40.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.40.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.17.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.17.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.17.0
go: downloading go.opentelemetry.io/otel/exporters/prometheus v0.41.0
go: downloading go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.40.0
go: downloading go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.17.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/prometheus/client_model v0.4.0
go: downloading github.com/prometheus/common v0.44.0
go: downloading github.com/prometheus/procfs v0.10.1
go: downloading github.com/go-kit/log v0.2.1
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/tklauser/go-sysconf v0.3.11
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading golang.org/x/crypto v0.13.0
go: downloading github.com/go-logfmt/logfmt v0.5.1
go: downloading github.com/tklauser/numcpus v0.6.0
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/integrationtest/cmd/recordfixtures [no test files]
=== RUN TestIntegrationLogs
=== RUN TestIntegrationLogs/Apache_access_log_with_HTTPRequest
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Apache_error_log_with_severity
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Apache_error_log_(text_payload)_with_severity_converted_to_Error_Reporting_type
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Apache_error_log_(json_payload)_with_severity_converted_to_Error_Reporting_type
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Multi-project_logs
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Multi-project_logs_with_destination_project_quota_enabled
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Logs_with_scope_information
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Logs_with_trace/span_info
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Logs_with_additional_resource_attributes
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Logs_with_multiple_batches
logs_integration_test.go:52: Collector logs exporter started
=== RUN TestIntegrationLogs/Logs_custom_user-agent
logs_integration_test.go:52: Collector logs exporter started
--- PASS: TestIntegrationLogs (4.08s)
--- PASS: TestIntegrationLogs/Apache_access_log_with_HTTPRequest (0.43s)
--- PASS: TestIntegrationLogs/Apache_error_log_with_severity (0.24s)
--- PASS: TestIntegrationLogs/Apache_error_log_(text_payload)_with_severity_converted_to_Error_Reporting_type (0.23s)
--- PASS: TestIntegrationLogs/Apache_error_log_(json_payload)_with_severity_converted_to_Error_Reporting_type (0.17s)
--- PASS: TestIntegrationLogs/Multi-project_logs (0.31s)
--- PASS: TestIntegrationLogs/Multi-project_logs_with_destination_project_quota_enabled (0.36s)
--- PASS: TestIntegrationLogs/Logs_with_scope_information (0.19s)
--- PASS: TestIntegrationLogs/Logs_with_trace/span_info (0.19s)
--- PASS: TestIntegrationLogs/Logs_with_additional_resource_attributes (0.25s)
--- PASS: TestIntegrationLogs/Logs_with_multiple_batches (1.50s)
--- PASS: TestIntegrationLogs/Logs_custom_user-agent (0.22s)
=== RUN TestIntegrationCollectorMetrics
=== RUN TestIntegrationCollectorMetrics/Sum_becomes_a_GCM_Cumulative
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Delta_Sum_becomes_a_GCM_cumulative
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Non-monotonic_Sum_becomes_a_GCM_Gauge
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Summary_becomes_a_GCM_Cumulative_for_sum/count,_Gauges_for_quantiles
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Gauge_becomes_a_GCM_Gauge
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Boolean-valued_Gauge_metric_becomes_an_Int_Gauge
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Gauge_with_Untyped_label_is_a_standard_GCM_Gauge_without_GMP
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Histogram_becomes_a_GCM_Distribution
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Exponential_Histogram_becomes_a_GCM_Distribution_with_exponential_bucketOptions
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Metrics_from_the_Prometheus_receiver_can_be_successfully_delivered
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Prometheus_stale_data_point_is_dropped
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Project_not_found_return_code
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Modified_prefix_unknown_domain
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Modified_prefix_workload.googleapis.com
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Batching_only_sends_200_timeseries_per-batch
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/WithResourceFilter_adds_the_appropriate_resource_attributes
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Multi-project_metrics_splits_into_multiple_requests_to_different_projects
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Metrics_with_only_one_+inf_bucket_can_be_sent
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Gzip_compression_enabled
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/CreateServiceTimeSeries_option_enabled_makes_CreateServiceTimeSeries_calls
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Write_ahead_log_enabled
metrics_integration_test.go:53: Collector metrics exporter started
{"level":"error","ts":1695844268.647905,"caller":"collector/metrics.go:597","msg":"error flushing remaining WAL entries: not found","stacktrace":"github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector.(*MetricsExporter).runWALReadAndExportLoop\n\t/workspace/exporter/collector/metrics.go:597"}
=== RUN TestIntegrationCollectorMetrics/Write_ahead_log_enabled,_basic_prometheus_metrics
metrics_integration_test.go:53: Collector metrics exporter started
{"level":"error","ts":1695844268.81247,"caller":"collector/metrics.go:597","msg":"error flushing remaining WAL entries: not found","stacktrace":"github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector.(*MetricsExporter).runWALReadAndExportLoop\n\t/workspace/exporter/collector/metrics.go:597"}
=== RUN TestIntegrationCollectorMetrics/Write_ahead_log_enabled,_basic_Counter_with_unavailable_return_code
metrics_integration_test.go:53: Collector metrics exporter started
{"level":"error","ts":1695844269.158532,"caller":"collector/metrics.go:597","msg":"error flushing remaining WAL entries: not found","stacktrace":"github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector.(*MetricsExporter).runWALReadAndExportLoop\n\t/workspace/exporter/collector/metrics.go:597"}
=== RUN TestIntegrationCollectorMetrics/Write_ahead_log_enabled,_basic_Counter_with_deadline_exceeded_return_code
metrics_integration_test.go:53: Collector metrics exporter started
{"level":"error","ts":1695844269.3308864,"caller":"collector/metrics.go:597","msg":"error flushing remaining WAL entries: not found","stacktrace":"github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector.(*MetricsExporter).runWALReadAndExportLoop\n\t/workspace/exporter/collector/metrics.go:597"}
=== RUN TestIntegrationCollectorMetrics/Write_ahead_log_enabled,_CreateServiceTimeSeries
metrics_integration_test.go:53: Collector metrics exporter started
{"level":"error","ts":1695844269.4997997,"caller":"collector/metrics.go:597","msg":"error flushing remaining WAL entries: not found","stacktrace":"github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector.(*MetricsExporter).runWALReadAndExportLoop\n\t/workspace/exporter/collector/metrics.go:597"}
=== RUN TestIntegrationCollectorMetrics/Custom_User_Agent
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/[GMP]_prometheus_receiver_metrics
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/[GMP]_Gauge_becomes_a_GCM_Gauge_with_/gauge_suffix
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/[GMP]_Untyped_Gauge_becomes_a_GCM_Gauge_and_a_Cumulative_with_/unknown_and_/unknown:counter_suffixes
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/[GMP]_Sum_becomes_a_GCM_Cumulative_with_/counter_suffix
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/[GMP]_Delta_Sum_becomes_a_GCM_Cumulative_with_a_/counter_suffix
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/[GMP]_Non-Monotonic_Sum_becomes_a_GCM_Gauge_with_a_/gauge_suffix
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/[GMP]_Histogram_becomes_a_GCM_Histogram_with_a_/histogram_suffix
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/[GMP]_Summary_becomes_a_GCM_Cumulative_for_sum/count,_Gauges_for_quantiles
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Ops_Agent_Self-Reported_metrics
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/Ops_Agent_Host_Metrics
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/GKE_Workload_Metrics
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/GKE_Metrics_Agent
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/GKE_Control_Plane_Metrics_Agent
metrics_integration_test.go:53: Collector metrics exporter started
=== RUN TestIntegrationCollectorMetrics/BMS_Ops_Agent_Host_Metrics
metrics_integration_test.go:53: Collector metrics exporter started
--- PASS: TestIntegrationCollectorMetrics (12.91s)
--- PASS: TestIntegrationCollectorMetrics/Sum_becomes_a_GCM_Cumulative (0.16s)
--- PASS: TestIntegrationCollectorMetrics/Delta_Sum_becomes_a_GCM_cumulative (0.14s)
--- PASS: TestIntegrationCollectorMetrics/Non-monotonic_Sum_becomes_a_GCM_Gauge (0.15s)
--- PASS: TestIntegrationCollectorMetrics/Summary_becomes_a_GCM_Cumulative_for_sum/count,_Gauges_for_quantiles (0.21s)
--- PASS: TestIntegrationCollectorMetrics/Gauge_becomes_a_GCM_Gauge (0.15s)
--- PASS: TestIntegrationCollectorMetrics/Boolean-valued_Gauge_metric_becomes_an_Int_Gauge (0.15s)
--- PASS: TestIntegrationCollectorMetrics/Gauge_with_Untyped_label_is_a_standard_GCM_Gauge_without_GMP (0.15s)
--- PASS: TestIntegrationCollectorMetrics/Histogram_becomes_a_GCM_Distribution (0.16s)
--- PASS: TestIntegrationCollectorMetrics/Exponential_Histogram_becomes_a_GCM_Distribution_with_exponential_bucketOptions (0.19s)
--- PASS: TestIntegrationCollectorMetrics/Metrics_from_the_Prometheus_receiver_can_be_successfully_delivered (0.44s)
--- PASS: TestIntegrationCollectorMetrics/Prometheus_stale_data_point_is_dropped (0.64s)
--- PASS: TestIntegrationCollectorMetrics/Project_not_found_return_code (0.55s)
--- PASS: TestIntegrationCollectorMetrics/Modified_prefix_unknown_domain (0.15s)
--- PASS: TestIntegrationCollectorMetrics/Modified_prefix_workload.googleapis.com (0.17s)
--- PASS: TestIntegrationCollectorMetrics/Batching_only_sends_200_timeseries_per-batch (4.47s)
--- PASS: TestIntegrationCollectorMetrics/WithResourceFilter_adds_the_appropriate_resource_attributes (0.15s)
--- PASS: TestIntegrationCollectorMetrics/Multi-project_metrics_splits_into_multiple_requests_to_different_projects (0.63s)
--- PASS: TestIntegrationCollectorMetrics/Metrics_with_only_one_+inf_bucket_can_be_sent (0.29s)
--- PASS: TestIntegrationCollectorMetrics/Gzip_compression_enabled (0.17s)
--- PASS: TestIntegrationCollectorMetrics/CreateServiceTimeSeries_option_enabled_makes_CreateServiceTimeSeries_calls (0.15s)
--- PASS: TestIntegrationCollectorMetrics/Write_ahead_log_enabled (0.16s)
--- PASS: TestIntegrationCollectorMetrics/Write_ahead_log_enabled,_basic_prometheus_metrics (0.35s)
--- PASS: TestIntegrationCollectorMetrics/Write_ahead_log_enabled,_basic_Counter_with_unavailable_return_code (0.16s)
--- PASS: TestIntegrationCollectorMetrics/Write_ahead_log_enabled,_basic_Counter_with_deadline_exceeded_return_code (0.17s)
--- PASS: TestIntegrationCollectorMetrics/Write_ahead_log_enabled,_CreateServiceTimeSeries (0.17s)
--- PASS: TestIntegrationCollectorMetrics/Custom_User_Agent (0.14s)
--- PASS: TestIntegrationCollectorMetrics/[GMP]_prometheus_receiver_metrics (0.14s)
--- PASS: TestIntegrationCollectorMetrics/[GMP]_Gauge_becomes_a_GCM_Gauge_with_/gauge_suffix (0.15s)
--- PASS: TestIntegrationCollectorMetrics/[GMP]_Untyped_Gauge_becomes_a_GCM_Gauge_and_a_Cumulative_with_/unknown_and_/unknown:counter_suffixes (0.15s)
--- PASS: TestIntegrationCollectorMetrics/[GMP]_Sum_becomes_a_GCM_Cumulative_with_/counter_suffix (0.17s)
--- PASS: TestIntegrationCollectorMetrics/[GMP]_Delta_Sum_becomes_a_GCM_Cumulative_with_a_/counter_suffix (0.14s)
--- PASS: TestIntegrationCollectorMetrics/[GMP]_Non-Monotonic_Sum_becomes_a_GCM_Gauge_with_a_/gauge_suffix (0.15s)
--- PASS: TestIntegrationCollectorMetrics/[GMP]_Histogram_becomes_a_GCM_Histogram_with_a_/histogram_suffix (0.14s)
--- PASS: TestIntegrationCollectorMetrics/[GMP]_Summary_becomes_a_GCM_Cumulative_for_sum/count,_Gauges_for_quantiles (0.15s)
--- PASS: TestIntegrationCollectorMetrics/Ops_Agent_Self-Reported_metrics (0.15s)
--- PASS: TestIntegrationCollectorMetrics/Ops_Agent_Host_Metrics (0.19s)
--- PASS: TestIntegrationCollectorMetrics/GKE_Workload_Metrics (0.32s)
--- PASS: TestIntegrationCollectorMetrics/GKE_Metrics_Agent (0.22s)
--- PASS: TestIntegrationCollectorMetrics/GKE_Control_Plane_Metrics_Agent (0.16s)
--- PASS: TestIntegrationCollectorMetrics/BMS_Ops_Agent_Host_Metrics (0.23s)
=== RUN TestIntegrationSDKMetrics
=== RUN TestIntegrationSDKMetrics/Sum_becomes_a_GCM_Cumulative
=== RUN TestIntegrationSDKMetrics/Delta_Sum_becomes_a_GCM_cumulative
=== RUN TestIntegrationSDKMetrics/Non-monotonic_Sum_becomes_a_GCM_Gauge
=== RUN TestIntegrationSDKMetrics/Summary_becomes_a_GCM_Cumulative_for_sum/count,_Gauges_for_quantiles
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Gauge_becomes_a_GCM_Gauge
=== RUN TestIntegrationSDKMetrics/Boolean-valued_Gauge_metric_becomes_an_Int_Gauge
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Gauge_with_Untyped_label_is_a_standard_GCM_Gauge_without_GMP
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Histogram_becomes_a_GCM_Distribution
=== RUN TestIntegrationSDKMetrics/Exponential_Histogram_becomes_a_GCM_Distribution_with_exponential_bucketOptions
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Metrics_from_the_Prometheus_receiver_can_be_successfully_delivered
=== RUN TestIntegrationSDKMetrics/Prometheus_stale_data_point_is_dropped
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Project_not_found_return_code
=== RUN TestIntegrationSDKMetrics/Modified_prefix_unknown_domain
=== RUN TestIntegrationSDKMetrics/Modified_prefix_workload.googleapis.com
=== RUN TestIntegrationSDKMetrics/Batching_only_sends_200_timeseries_per-batch
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/WithResourceFilter_adds_the_appropriate_resource_attributes
=== RUN TestIntegrationSDKMetrics/Multi-project_metrics_splits_into_multiple_requests_to_different_projects
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Metrics_with_only_one_+inf_bucket_can_be_sent
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Gzip_compression_enabled
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/CreateServiceTimeSeries_option_enabled_makes_CreateServiceTimeSeries_calls
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Write_ahead_log_enabled
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Write_ahead_log_enabled,_basic_prometheus_metrics
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Write_ahead_log_enabled,_basic_Counter_with_unavailable_return_code
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Write_ahead_log_enabled,_basic_Counter_with_deadline_exceeded_return_code
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Write_ahead_log_enabled,_CreateServiceTimeSeries
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Custom_User_Agent
=== RUN TestIntegrationSDKMetrics/[GMP]_prometheus_receiver_metrics
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/[GMP]_Gauge_becomes_a_GCM_Gauge_with_/gauge_suffix
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/[GMP]_Untyped_Gauge_becomes_a_GCM_Gauge_and_a_Cumulative_with_/unknown_and_/unknown:counter_suffixes
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/[GMP]_Sum_becomes_a_GCM_Cumulative_with_/counter_suffix
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/[GMP]_Delta_Sum_becomes_a_GCM_Cumulative_with_a_/counter_suffix
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/[GMP]_Non-Monotonic_Sum_becomes_a_GCM_Gauge_with_a_/gauge_suffix
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/[GMP]_Histogram_becomes_a_GCM_Histogram_with_a_/histogram_suffix
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/[GMP]_Summary_becomes_a_GCM_Cumulative_for_sum/count,_Gauges_for_quantiles
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Ops_Agent_Self-Reported_metrics
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/Ops_Agent_Host_Metrics
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/GKE_Workload_Metrics
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/GKE_Metrics_Agent
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/GKE_Control_Plane_Metrics_Agent
testcase.go:503: Test case is marked to skip
=== RUN TestIntegrationSDKMetrics/BMS_Ops_Agent_Host_Metrics
testcase.go:503: Test case is marked to skip
--- PASS: TestIntegrationSDKMetrics (3.41s)
--- PASS: TestIntegrationSDKMetrics/Sum_becomes_a_GCM_Cumulative (0.47s)
--- PASS: TestIntegrationSDKMetrics/Delta_Sum_becomes_a_GCM_cumulative (0.25s)
--- PASS: TestIntegrationSDKMetrics/Non-monotonic_Sum_becomes_a_GCM_Gauge (0.58s)
--- SKIP: TestIntegrationSDKMetrics/Summary_becomes_a_GCM_Cumulative_for_sum/count,_Gauges_for_quantiles (0.00s)
--- PASS: TestIntegrationSDKMetrics/Gauge_becomes_a_GCM_Gauge (0.47s)
--- SKIP: TestIntegrationSDKMetrics/Boolean-valued_Gauge_metric_becomes_an_Int_Gauge (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Gauge_with_Untyped_label_is_a_standard_GCM_Gauge_without_GMP (0.00s)
--- PASS: TestIntegrationSDKMetrics/Histogram_becomes_a_GCM_Distribution (0.24s)
--- SKIP: TestIntegrationSDKMetrics/Exponential_Histogram_becomes_a_GCM_Distribution_with_exponential_bucketOptions (0.00s)
--- PASS: TestIntegrationSDKMetrics/Metrics_from_the_Prometheus_receiver_can_be_successfully_delivered (0.41s)
--- SKIP: TestIntegrationSDKMetrics/Prometheus_stale_data_point_is_dropped (0.00s)
--- PASS: TestIntegrationSDKMetrics/Project_not_found_return_code (0.21s)
--- PASS: TestIntegrationSDKMetrics/Modified_prefix_unknown_domain (0.20s)
--- PASS: TestIntegrationSDKMetrics/Modified_prefix_workload.googleapis.com (0.19s)
--- SKIP: TestIntegrationSDKMetrics/Batching_only_sends_200_timeseries_per-batch (0.00s)
--- PASS: TestIntegrationSDKMetrics/WithResourceFilter_adds_the_appropriate_resource_attributes (0.21s)
--- SKIP: TestIntegrationSDKMetrics/Multi-project_metrics_splits_into_multiple_requests_to_different_projects (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Metrics_with_only_one_+inf_bucket_can_be_sent (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Gzip_compression_enabled (0.00s)
--- SKIP: TestIntegrationSDKMetrics/CreateServiceTimeSeries_option_enabled_makes_CreateServiceTimeSeries_calls (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Write_ahead_log_enabled (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Write_ahead_log_enabled,_basic_prometheus_metrics (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Write_ahead_log_enabled,_basic_Counter_with_unavailable_return_code (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Write_ahead_log_enabled,_basic_Counter_with_deadline_exceeded_return_code (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Write_ahead_log_enabled,_CreateServiceTimeSeries (0.00s)
--- PASS: TestIntegrationSDKMetrics/Custom_User_Agent (0.17s)
--- SKIP: TestIntegrationSDKMetrics/[GMP]_prometheus_receiver_metrics (0.00s)
--- SKIP: TestIntegrationSDKMetrics/[GMP]_Gauge_becomes_a_GCM_Gauge_with_/gauge_suffix (0.00s)
--- SKIP: TestIntegrationSDKMetrics/[GMP]_Untyped_Gauge_becomes_a_GCM_Gauge_and_a_Cumulative_with_/unknown_and_/unknown:counter_suffixes (0.00s)
--- SKIP: TestIntegrationSDKMetrics/[GMP]_Sum_becomes_a_GCM_Cumulative_with_/counter_suffix (0.00s)
--- SKIP: TestIntegrationSDKMetrics/[GMP]_Delta_Sum_becomes_a_GCM_Cumulative_with_a_/counter_suffix (0.00s)
--- SKIP: TestIntegrationSDKMetrics/[GMP]_Non-Monotonic_Sum_becomes_a_GCM_Gauge_with_a_/gauge_suffix (0.00s)
--- SKIP: TestIntegrationSDKMetrics/[GMP]_Histogram_becomes_a_GCM_Histogram_with_a_/histogram_suffix (0.00s)
--- SKIP: TestIntegrationSDKMetrics/[GMP]_Summary_becomes_a_GCM_Cumulative_for_sum/count,_Gauges_for_quantiles (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Ops_Agent_Self-Reported_metrics (0.00s)
--- SKIP: TestIntegrationSDKMetrics/Ops_Agent_Host_Metrics (0.00s)
--- SKIP: TestIntegrationSDKMetrics/GKE_Workload_Metrics (0.00s)
--- SKIP: TestIntegrationSDKMetrics/GKE_Metrics_Agent (0.00s)
--- SKIP: TestIntegrationSDKMetrics/GKE_Control_Plane_Metrics_Agent (0.00s)
--- SKIP: TestIntegrationSDKMetrics/BMS_Ops_Agent_Host_Metrics (0.00s)
=== RUN TestIntegrationTraces
=== RUN TestIntegrationTraces/Basic_traces
traces_integration_test.go:45: Collector traces exporter started
=== RUN TestIntegrationTraces/Custom_User_Agent
traces_integration_test.go:45: Collector traces exporter started
--- PASS: TestIntegrationTraces (0.58s)
--- PASS: TestIntegrationTraces/Basic_traces (0.24s)
--- PASS: TestIntegrationTraces/Custom_User_Agent (0.35s)
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/integrationtest 22.098s
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/integrationtest/protos [no test files]
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/integrationtest/testcases [no test files]
testing: warning: no tests to run
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/integrationtest/config 1.064s [no tests to run]
go test ./... + race in ./exporter/metric
testing: warning: no tests to run
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric 1.055s [no tests to run]
go test ./... + race in ./exporter/trace
testing: warning: no tests to run
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace 1.055s [no tests to run]
go test ./... + race in ./extension/googleclientauthextension
go: downloading go.opentelemetry.io/collector/component v0.82.0
go: downloading go.opentelemetry.io/collector/extension v0.82.0
go: downloading go.opentelemetry.io/collector/extension/auth v0.82.0
go: downloading go.opentelemetry.io/collector/confmap v0.82.0
go: downloading go.opentelemetry.io/collector/config/configtelemetry v0.82.0
go: downloading cloud.google.com/go/compute v1.20.1
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc
go: downloading golang.org/x/sys v0.10.0
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/extension/googleclientauthextension/internal/metadata [no test files]
testing: warning: no tests to run
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/extension/googleclientauthextension 1.027s [no tests to run]
go test ./... + race in ./internal/cloudmock
go: downloading golang.org/x/sys v0.8.0
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock [no test files]
go test ./... + race in ./internal/resourcemapping
go: downloading google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130
? github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping [no test files]
go test ./... + race in ./propagator
testing: warning: no tests to run
PASS
ok github.com/GoogleCloudPlatform/opentelemetry-operations-go/propagator 1.035s [no tests to run]
PUSH
DONE
Loading