-
-
Save hughesjj/c0d3fe334ccae646ce1a367b309a208b to your computer and use it in GitHub Desktop.
FROM golang:bookworm | |
RUN git clone https://github.com/open-telemetry/opentelemetry-collector-contrib.git | |
WORKDIR ./opentelemetry-collector-contrib | |
RUN make install-tools | |
RUN make # as of 2023-12-05 fails first on sigv4 | |
RUN make integration-test # fails on jmx receiver | |
# How about we at least add to docs (README.md? CONTRIBUTING.md?) how to test individual recievers? |
hughesjj
commented
Dec 6, 2023
β― make integration-test
go: downloading github.com/aws/aws-sdk-go v1.48.12
go: downloading github.com/klauspost/compress v1.17.4
go: downloading github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.811
go: downloading github.com/shirou/gopsutil/v3 v3.23.11
go: downloading github.com/sijms/go-ora/v2 v2.7.24
go: downloading github.com/alecthomas/participle/v2 v2.1.1
go: downloading cloud.google.com/go/spanner v1.53.1
make[1]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib'
Running target 'mod-integration-test' in module 'cmd/telemetrygen/internal/e2etest' as part of group 'all'
make -C cmd/telemetrygen/internal/e2etest mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/cmd/telemetrygen/internal/e2etest'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/cmd/telemetrygen/internal/e2etest
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
ok github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen/internal/e2etest (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/cmd/telemetrygen/internal/e2etest'
Running target 'mod-integration-test' in module 'exporter/azuredataexplorerexporter' as part of group 'all'
make -C exporter/azuredataexplorerexporter mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/azuredataexplorerexporter'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/azuredataexplorerexporter
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuredataexplorerexporter/internal/metadata [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuredataexplorerexporter (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/azuredataexplorerexporter'
Running target 'mod-integration-test' in module 'exporter/datadogexporter/integrationtest' as part of group 'all'
make -C exporter/datadogexporter/integrationtest mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/datadogexporter/integrationtest'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/datadogexporter/integrationtest
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
ok github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/integrationtest 35.127s
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/datadogexporter/integrationtest'
Running target 'mod-integration-test' in module 'exporter/opensearchexporter' as part of group 'all'
make -C exporter/opensearchexporter mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/opensearchexporter'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/opensearchexporter
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opensearchexporter/internal/metadata [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opensearchexporter (cached) [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opensearchexporter/internal/objmodel (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/opensearchexporter'
Running target 'mod-integration-test' in module 'exporter/splunkhecexporter' as part of group 'all'
make -C exporter/splunkhecexporter mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/splunkhecexporter'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/splunkhecexporter
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter/internal/integrationtestutils [no test files]
? github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter/internal/metadata [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/exporter/splunkhecexporter'
Running target 'mod-integration-test' in module 'extension/observer/dockerobserver' as part of group 'all'
make -C extension/observer/dockerobserver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/extension/observer/dockerobserver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/extension/observer/dockerobserver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/dockerobserver/internal/metadata [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/dockerobserver (cached)
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/extension/observer/dockerobserver'
Running target 'mod-integration-test' in module 'processor/k8sattributesprocessor' as part of group 'all'
make -C processor/k8sattributesprocessor mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/processor/k8sattributesprocessor'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/processor/k8sattributesprocessor
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
ok github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor (cached) [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/internal/kube (cached) [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/internal/metadata (cached) [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/internal/observability (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/processor/k8sattributesprocessor'
Running target 'mod-integration-test' in module 'receiver/aerospikereceiver' as part of group 'all'
make -C receiver/aerospikereceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/aerospikereceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/aerospikereceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver/cluster/mocks [no test files]
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver/mocks [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver (cached)
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver/cluster (cached) [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver/internal/metadata (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/aerospikereceiver'
Running target 'mod-integration-test' in module 'receiver/apachereceiver' as part of group 'all'
make -C receiver/apachereceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/apachereceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/apachereceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachereceiver (cached)
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachereceiver/internal/metadata (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/apachereceiver'
Running target 'mod-integration-test' in module 'receiver/apachesparkreceiver' as part of group 'all'
make -C receiver/apachesparkreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/apachesparkreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/apachesparkreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachesparkreceiver (cached)
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachesparkreceiver/internal/mocks [no test files]
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachesparkreceiver/internal/models [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachesparkreceiver/internal/metadata (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/apachesparkreceiver'
Running target 'mod-integration-test' in module 'receiver/awscloudwatchreceiver' as part of group 'all'
make -C receiver/awscloudwatchreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver/internal/metadata [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver 2.335s
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver'
Running target 'mod-integration-test' in module 'receiver/bigipreceiver' as part of group 'all'
make -C receiver/bigipreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/bigipreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/bigipreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/bigipreceiver (cached)
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/bigipreceiver/internal/mocks [no test files]
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/bigipreceiver/internal/models [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/bigipreceiver/internal/metadata (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/bigipreceiver'
Running target 'mod-integration-test' in module 'receiver/cloudflarereceiver' as part of group 'all'
make -C receiver/cloudflarereceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/cloudflarereceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/cloudflarereceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/cloudflarereceiver/internal/metadata [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/cloudflarereceiver (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/cloudflarereceiver'
Running target 'mod-integration-test' in module 'receiver/dockerstatsreceiver' as part of group 'all'
make -C receiver/dockerstatsreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/dockerstatsreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/dockerstatsreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver (cached)
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver/internal/metadata (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/dockerstatsreceiver'
Running target 'mod-integration-test' in module 'receiver/elasticsearchreceiver' as part of group 'all'
make -C receiver/elasticsearchreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/elasticsearchreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/elasticsearchreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/elasticsearchreceiver/internal/mocks [no test files]
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/elasticsearchreceiver/internal/model [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/elasticsearchreceiver 46.309s
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/elasticsearchreceiver/internal/metadata (cached) [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/elasticsearchreceiver'
Running target 'mod-integration-test' in module 'receiver/flinkmetricsreceiver' as part of group 'all'
make -C receiver/flinkmetricsreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver/internal/mocks [no test files]
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver/internal/models [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver 1.127s
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver/internal/metadata 1.024s [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/flinkmetricsreceiver'
Running target 'mod-integration-test' in module 'receiver/haproxyreceiver' as part of group 'all'
make -C receiver/haproxyreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/haproxyreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/haproxyreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver 6.689s
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver/internal/metadata 1.020s [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/haproxyreceiver'
Running target 'mod-integration-test' in module 'receiver/hostmetricsreceiver' as part of group 'all'
make -C receiver/hostmetricsreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/hostmetricsreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/hostmetricsreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal [no test files]
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/metadata [no test files]
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/perfcounters [no test files]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver 1.137s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/cpuscraper 1.031s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/internal/metadata 1.041s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/ucal 1.023s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper 1.029s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper/internal/metadata 1.041s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper 1.038s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/internal/metadata 1.029s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper 1.036s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper/internal/metadata 1.043s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper 1.029s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/internal/metadata 1.025s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper 1.025s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper/internal/metadata 1.027s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper 1.019s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/internal/metadata 1.030s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processesscraper 1.022s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processesscraper/internal/metadata 1.024s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper 1.019s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper/internal/handlecount 1.013s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper/internal/metadata 1.027s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal 1.019s [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/hostmetricsreceiver'
Running target 'mod-integration-test' in module 'receiver/iisreceiver' as part of group 'all'
make -C receiver/iisreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/iisreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/iisreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver 1.019s [no tests to run]
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver/internal/metadata 1.023s [no tests to run]
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/iisreceiver'
Running target 'mod-integration-test' in module 'receiver/jmxreceiver' as part of group 'all'
make -C receiver/jmxreceiver mod-integration-test
make[2]: Entering directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/jmxreceiver'
running go integration test ./... in /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/jmxreceiver
go test -race -timeout 360s -parallel 4 -tags=integration,"" -run=Integration ./...
? github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver/internal/metadata [no test files]
2023/12/05 19:55:40 github.com/testcontainers/testcontainers-go - Connected to docker:
Server Version: 24.0.7
API Version: 1.43
Operating System: Ubuntu 20.04.6 LTS
Total Memory: 63924 MB
Resolved Docker Host: unix:///var/run/docker.sock
Resolved Docker Socket Path: /var/run/docker.sock
Test SessionID: 10c9f3347afe915ad34f0dba8f0b034a312aed346b791c16fb16ab6d9a6583e0
Test ProcessID: 6a07f6b7-5d4b-442f-9f81-dcfba1c9a5ce
2023/12/05 19:55:40 π³ Creating container for image docker.io/testcontainers/ryuk:0.5.1
2023/12/05 19:55:40 β
Container created: a5b87c9d4756
2023/12/05 19:55:40 π³ Starting container: a5b87c9d4756
2023/12/05 19:55:41 β
Container started: a5b87c9d4756
2023/12/05 19:55:41 π§ Waiting for container id a5b87c9d4756 image: docker.io/testcontainers/ryuk:0.5.1. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms}
2023/12/05 19:55:41 π³ Creating container for image cassandra:3.11
2023/12/05 19:55:41 β
Container created: b834e7a219dc
2023/12/05 19:55:41 π³ Starting container: b834e7a219dc
2023/12/05 19:55:41 β
Container started: b834e7a219dc
2023/12/05 19:55:41 π§ Waiting for container id b834e7a219dc image: cassandra:3.11. Waiting for: &{Port:7199 timeout:<nil> PollInterval:100ms}
2023/12/05 19:56:46 π³ Terminating container: b834e7a219dc
2023/12/05 19:56:46 π« Container terminated: b834e7a219dc
2023/12/05 19:56:47 π³ Creating container for image cassandra:3.11
2023/12/05 19:56:48 β
Container created: 7b46c7e708dd
2023/12/05 19:56:48 π³ Starting container: 7b46c7e708dd
2023/12/05 19:56:48 β
Container started: 7b46c7e708dd
2023/12/05 19:56:48 π§ Waiting for container id 7b46c7e708dd image: cassandra:3.11. Waiting for: &{Port:7199 timeout:<nil> PollInterval:100ms}
2023/12/05 19:57:52 π³ Terminating container: 7b46c7e708dd
2023/12/05 19:57:53 π« Container terminated: 7b46c7e708dd
--- FAIL: TestJMXIntegration (145.85s)
--- FAIL: TestJMXIntegration/TestJMXReceiverHappyPath (133.62s)
--- FAIL: TestJMXIntegration/TestJMXReceiverHappyPath/1.26.0-alpha (67.34s)
scraperint.go:121:
Error Trace: /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/internal/coreinternal/scraperinttest/scraperint.go:121
Error: Condition never satisfied
Test: TestJMXIntegration/TestJMXReceiverHappyPath/1.26.0-alpha
--- FAIL: TestJMXIntegration/TestJMXReceiverHappyPath/1.10.0-alpha (66.28s)
scraperint.go:121:
Error Trace: /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/internal/coreinternal/scraperinttest/scraperint.go:121
Error: Condition never satisfied
Test: TestJMXIntegration/TestJMXReceiverHappyPath/1.10.0-alpha
FAIL
FAIL github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver 145.975s
ok github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver/internal/subprocess 1.342s
FAIL
make[2]: *** [../../Makefile.Common:127: mod-integration-test] Error 1
make[2]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/receiver/jmxreceiver'
make[1]: *** [Makefile:152: receiver/jmxreceiver] Error 2
make[1]: Leaving directory '/home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib'
make: *** [Makefile:78: integration-test] Error 2
--- FAIL: TestLoadConfigError (0.00s)
config_test.go:55:
Error Trace: /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/extension/sigv4authextension/config_test.go:55
Error: An error is expected but got nil.
Test: TestLoadConfigError
For this error, do you have valid AWS credentials in your environment when running the tests? I have seen this behavior before in some of the AWS components. The tests expect no valid credentials to exist which can lead to flaky behavior if they do.
--- FAIL: TestLoadConfigError (0.00s)
config_test.go:55:
Error Trace: /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/extension/sigv4authextension/config_test.go:55
Error: An error is expected but got nil.
Test: TestLoadConfigErrorFor this error, do you have valid AWS credentials in your environment when running the tests? I have seen this behavior before in some of the AWS components. The tests expect no valid credentials to exist which can lead to flaky behavior if they do.
Oh, yes, I definitely have some expired role sessions in my .aws/credentials
, will try clearing that out and re-running. Thanks Bryan!