You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Smoke tests for the [OpenTelemetry Spring starter](../../instrumentation/spring/starters/spring-boot-starter/README.md).
79
-
80
-
You can execute the tests in a JVM (`./gradlew smoke-tests-otel-starter:test`) or as Spring native tests (`./gradlew smoke-tests-otel-starter:nativeTest`).
79
+
Smoke tests for the [OpenTelemetry Spring starter](../../instrumentation/spring/starters/spring-boot-starter/README.md)
80
+
can be executed in a JVM (`./gradlew smoke-tests-otel-starter:test`) or as Spring Native tests (`./gradlew smoke-tests-otel-starter:nativeTest`).
81
81
82
82
## GraalVM native test
83
83
@@ -100,22 +100,13 @@ old containers, images and volumes using `docker system prune --volumes`.
100
100
For some container environments, such as rootless Podman or a remotely hosted Docker,
101
101
testcontainers may need additional configuration to successfully run the tests.
102
102
The following environment variables can be used for configuration:
103
-
-`TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE` - The location of the Docker socket on the host. Default is `/var/run/docker.sock`
104
-
-`TESTCONTAINERS_HOST_OVERRIDE` - The hostname used for container-to-container communication. Default Docker is `localhost`, but rootless Podman uses `host.containers.internal`
103
+
-`TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE` - The location of the Docker socket on the host. Default is `/var/run/docker.sock`
104
+
-`TESTCONTAINERS_HOST_OVERRIDE` - The hostname used for container-to-container communication. Default Docker is `localhost`, but rootless Podman uses `host.containers.internal`
105
105
106
106
# Troubleshooting CI Test Failures
107
107
108
-
CI test logs are pretty big around 75MB. To make it easier to troubleshoot test failures, you can download the raw logs from the CI job and then look for
109
-
`Publishing build scan...` in the logs. Copy the URL from the logs and open it in a browser. This will give you a nice view of the test execution breakdown.
110
-
111
-
## How to download the raw logs
108
+
See [Troubleshooting CI Test Failures](../../CONTRIBUTING.md#troubleshooting-pr-build-failures) for common issues and solutions.
112
109
113
-
1. Click on the `Details` link in one of the failing CI jobs under `Some checks were not successful` section of your PR.
114
-
2. Click on one of the failed tests in the left panel.
115
-
3. Click on the `Setting` gear in the top right corner of the logs panel.
116
-
4. Right click on 'View raw logs' and then 'Save link as' to save the page as a text file locally.
117
-
5. Once the file is downloaded, open it in a text editor and search for `Publishing build scan...` to find the URL.
118
-
6. Open the URL in a browser to view the test execution breakdown. It might prompt you to "Activate your Build Scan" the very 1st time, you can use your own email address and activate it via email.
110
+
# Debugging
119
111
120
-
Unfortunately, the Build Scan service hosted via Develocity has an allowed size limits of the free build scans. Once you exceed the limit, then you won't be able to view the scan anymore.
121
-
Then you can just use the raw logs to search for "FAILED" or "Task failed with an exception" to identify the failing tests.
112
+
For information on debugging tests or instrumentation, see [Debugging](debugging.md).
0 commit comments