-
Notifications
You must be signed in to change notification settings - Fork 517
Open
Description
Component(s)
loki.source.file
Add a description
https://github.com/grafana/alloy/actions/runs/21487247898/job/61899796754
panic: Fail in goroutine after TestFile/deleted_while_reading has completed
goroutine 47 [running]:
testing.(*common).Fail(0xc0002376c0)
/Users/runner/hostedtoolcache/go/1.25.6/arm64/src/testing/testing.go:960 +0x134
testing.(*common).Errorf(0xc0002376c0, {0x103398be4, 0x3}, {0xc00004a3a0, 0x1, 0x1})
/Users/runner/hostedtoolcache/go/1.25.6/arm64/src/testing/testing.go:1205 +0x88
github.com/stretchr/testify/assert.Fail({0x104fb5c20, 0xc0002376c0}, {0xc0000ae0a0, 0xa0}, {0x0, 0x0, 0x0})
/Users/runner/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:387 +0x380
github.com/stretchr/testify/assert.NoError({0x104fb5c20, 0xc0002376c0}, {0x1036542a8, 0xc0000547e0}, {0x0, 0x0, 0x0})
/Users/runner/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1638 +0x10c
github.com/stretchr/testify/require.NoError({0x103656b08, 0xc0002376c0}, {0x1036542a8, 0xc0000547e0}, {0x0, 0x0, 0x0})
/Users/runner/go/pkg/mod/github.com/stretchr/[email protected]/require/require.go:1398 +0xb8
github.com/grafana/alloy/internal/component/loki/source/file/internal/tail.removeFile(0xc0002376c0, {0xc000218f50, 0x63})
/Users/runner/work/alloy/alloy/internal/component/loki/source/file/internal/tail/file_test.go:498 +0x5c
github.com/grafana/alloy/internal/component/loki/source/file/internal/tail.TestFile.func10.1()
/Users/runner/work/alloy/alloy/internal/component/loki/source/file/internal/tail/file_test.go:255 +0x6c
created by github.com/grafana/alloy/internal/component/loki/source/file/internal/tail.TestFile.func10 in goroutine 46
/Users/runner/work/alloy/alloy/internal/component/loki/source/file/internal/tail/file_test.go:252 +0x1f0
Tip
React with 👍 if this issue is important to you.
Reactions are currently unavailable