Closed
Description
Component(s)
processor/geoip
Describe the issue you're reporting
Looks like the non-deterministic file closing surfaced on Windows. https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/14060865218/job/39371047483?pr=38886
=== Failed
=== FAIL: internal/provider/maxmindprovider TestProviderLocation (1.31s)
testing.go:1232: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestProviderLocation4254277002\001\GeoIP2-City-Test.mmdb: Access is denied.
--- PASS: TestProviderLocation/nil_IP_address (0.00s)
--- PASS: TestProviderLocation/unsupported_database_type (0.00s)
--- PASS: TestProviderLocation/no_IP_metadata_in_database (0.00s)
--- PASS: TestProviderLocation/all_attributes_should_be_present_for_IPv4_using_GeoLite2-City_database (0.00s)
--- PASS: TestProviderLocation/subset_attributes_for_IPv6_IP_using_GeoIP2-City_database (0.00s)
=== FAIL: internal/provider/maxmindprovider TestProviderLocation (re-run 1) (1.97s)
testing.go:[123](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/14060865218/job/39371047483?pr=38886#step:8:124)2: TempDir RemoveAll cleanup: remove C:\Users\RUNNER~1\AppData\Local\Temp\TestProviderLocation3963163216\001\GeoIP2-City-Test.mmdb: Access is denied.
--- PASS: TestProviderLocation/nil_IP_address (0.00s)
--- PASS: TestProviderLocation/unsupported_database_type (0.00s)
--- PASS: TestProviderLocation/no_IP_metadata_in_database (0.00s)
--- PASS: TestProviderLocation/all_attributes_should_be_present_for_IPv4_using_GeoLite2-City_database (0.00s)
--- PASS: TestProviderLocation/subset_attributes_for_IPv6_IP_using_GeoIP2-City_database (0.00s)
DONE 2 runs, 57 tests, 2 failures in 17.914s