Skip to content

[pkg/stanza/fileconsumer]: Report for failed tests on main #42825

@github-actions

Description

@github-actions

Auto-generated report for __run_3 job build.

Link to failed build: https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/17920858591
Commit: 50c2762

Component(s)

pkg/stanza

Test Failures

  • TestDefaultBehaviors
=== RUN   TestDefaultBehaviors
=== PAUSE TestDefaultBehaviors
=== CONT  TestDefaultBehaviors
    testing.go:1490: race detected during execution of test
--- FAIL: TestDefaultBehaviors (1.50s)

  • TestManyLogsDelivered
=== RUN   TestManyLogsDelivered
=== PAUSE TestManyLogsDelivered
=== CONT  TestManyLogsDelivered
==================
WARNING: DATA RACE
Read at 0x00c00030a1e0 by goroutine 63:
  reflect.maplen()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/runtime/map_swiss.go:293 +0x0
  reflect.Value.lenNonSlice()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/reflect/value.go:1772 +0x1e4
  reflect.Value.Len()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/reflect/value.go:1761 +0x11e
  github.com/stretchr/testify/assert.getLen()
      C:/Users/runneradmin/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:826 +0x10e
  github.com/stretchr/testify/assert.Len()
      C:/Users/runneradmin/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:837 +0xb6
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.TestDefaultBehaviors()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file_test.go:71 +0x975
  testing.tRunner()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1792 +0x1dc
  testing.(*T).Run.gowrap1()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1851 +0x44

Previous write at 0x00c00030a1e0 by goroutine 170:
  runtime.mapassign_faststr()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/internal/runtime/maps/runtime_faststr_swiss.go:263 +0x0
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/internal/reader.(*Factory).NewReaderFromMetadata()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/internal/reader/factory.go:138 +0x1556
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).newReader()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:297 +0x796
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).makeReaders()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:225 +0x538
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).consume()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:158 +0x24b
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).poll()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:140 +0x6d6
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).startPoller.func1()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:110 +0x1c4

Goroutine 63 (running) created at:
  testing.(*T).Run()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1851 +0x8f8
  testing.runTests.func1()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:2279 +0x85
  testing.tRunner()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1792 +0x1dc
  testing.runTests()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:2277 +0x96c
  testing.(*M).Run()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:2142 +0xeea
  go.uber.org/goleak.VerifyTestMain()
      C:/Users/runneradmin/go/pkg/mod/go.uber.org/[email protected]/testmain.go:53 +0x64
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.TestMain()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/generated_package_test.go:12 +0x184
  main.main()
      _testmain.go:169 +0x16d

Goroutine 170 (running) created at:
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).startPoller()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:98 +0x136
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).Start()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:71 +0x6de
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.TestDefaultBehaviors()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file_test.go:49 +0x57b
  testing.tRunner()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1792 +0x1dc
  testing.(*T).Run.gowrap1()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1851 +0x44
==================
==================
WARNING: DATA RACE
Read at 0x00c000086258 by goroutine 63:
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.TestDefaultBehaviors()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file_test.go:72 +0x9a4
  testing.tRunner()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1792 +0x1dc
  testing.(*T).Run.gowrap1()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1851 +0x44

Previous write at 0x00c000086258 by goroutine 170:
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/internal/reader.(*Factory).NewReaderFromMetadata()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/internal/reader/factory.go:138 +0x1565
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).newReader()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:297 +0x796
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).makeReaders()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:225 +0x538
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).consume()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:158 +0x24b
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).poll()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:140 +0x6d6
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).startPoller.func1()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:110 +0x1c4

Goroutine 63 (running) created at:
  testing.(*T).Run()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1851 +0x8f8
  testing.runTests.func1()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:2279 +0x85
  testing.tRunner()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1792 +0x1dc
  testing.runTests()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:2277 +0x96c
  testing.(*M).Run()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:2142 +0xeea
  go.uber.org/goleak.VerifyTestMain()
      C:/Users/runneradmin/go/pkg/mod/go.uber.org/[email protected]/testmain.go:53 +0x64
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.TestMain()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/generated_package_test.go:12 +0x184
  main.main()
      _testmain.go:169 +0x16d

Goroutine 170 (running) created at:
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).startPoller()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:98 +0x136
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.(*Manager).Start()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file.go:71 +0x6de
  github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/fileconsumer.TestDefaultBehaviors()
      D:/a/opentelemetry-collector-contrib/opentelemetry-collector-contrib/pkg/stanza/fileconsumer/file_test.go:49 +0x57b
  testing.tRunner()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1792 +0x1dc
  testing.(*T).Run.gowrap1()
      C:/hostedtoolcache/windows/go/1.24.7/x64/src/testing/testing.go:1851 +0x44
==================
    testing.go:1490: race detected during execution of test
--- FAIL: TestManyLogsDelivered (0.69s)

  • TestFileBatching
=== RUN   TestFileBatching
=== PAUSE TestFileBatching
=== CONT  TestFileBatching
    testing.go:1490: race detected during execution of test
--- FAIL: TestFileBatching (1.27s)

  • TestLeadingEmpty
=== RUN   TestLeadingEmpty
=== PAUSE TestLeadingEmpty
=== CONT  TestLeadingEmpty
    testing.go:1490: race detected during execution of test
--- FAIL: TestLeadingEmpty (1.20s)

  • TestEncodings
=== RUN   TestEncodings
=== PAUSE TestEncodings
=== CONT  TestEncodings
    testing.go:1490: race detected during execution of test
--- FAIL: TestEncodings (0.00s)
=== RUN   TestEncodings/Nop
=== PAUSE TestEncodings/Nop
=== CONT  TestEncodings/Nop
--- PASS: TestEncodings/Nop (0.21s)
=== RUN   TestEncodings/InvalidUTFReplacement
=== PAUSE TestEncodings/InvalidUTFReplacement
=== CONT  TestEncodings/InvalidUTFReplacement
--- PASS: TestEncodings/InvalidUTFReplacement (0.20s)
=== RUN   TestEncodings/InvalidUTFWithoutReplacement
=== PAUSE TestEncodings/InvalidUTFWithoutReplacement
=== CONT  TestEncodings/InvalidUTFWithoutReplacement
--- PASS: TestEncodings/InvalidUTFWithoutReplacement (0.20s)
=== RUN   TestEncodings/ValidUTF8
=== PAUSE TestEncodings/ValidUTF8
=== CONT  TestEncodings/ValidUTF8
--- PASS: TestEncodings/ValidUTF8 (0.20s)
=== RUN   TestEncodings/ChineseCharacter
=== PAUSE TestEncodings/ChineseCharacter
=== CONT  TestEncodings/ChineseCharacter
--- PASS: TestEncodings/ChineseCharacter (0.21s)
=== RUN   TestEncodings/SmileyFaceUTF16
=== PAUSE TestEncodings/SmileyFaceUTF16
=== CONT  TestEncodings/SmileyFaceUTF16
--- PASS: TestEncodings/SmileyFaceUTF16 (0.20s)
=== RUN   TestEncodings/SmileyFaceNewlineUTF16
=== PAUSE TestEncodings/SmileyFaceNewlineUTF16
=== CONT  TestEncodings/SmileyFaceNewlineUTF16
--- PASS: TestEncodings/SmileyFaceNewlineUTF16 (0.83s)
=== RUN   TestEncodings/SmileyFaceNewlineUTF16LE
=== PAUSE TestEncodings/SmileyFaceNewlineUTF16LE
=== CONT  TestEncodings/SmileyFaceNewlineUTF16LE
--- PASS: TestEncodings/SmileyFaceNewlineUTF16LE (0.81s)
=== RUN   TestEncodings/ChineseCharacterBig5
=== PAUSE TestEncodings/ChineseCharacterBig5
=== CONT  TestEncodings/ChineseCharacterBig5
--- PASS: TestEncodings/ChineseCharacterBig5 (0.19s)

Note: Information about any subsequent build failures that happen while
this issue is open, will be added as comments with more information to this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions