Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Failing Test]: Python Container Builds Fail with SIGSEGV: segmentation violation #29803

Closed
1 of 16 tasks
jrmccluskey opened this issue Dec 18, 2023 · 0 comments · Fixed by #29804
Closed
1 of 16 tasks
Labels
bug done & done Issue has been reviewed after it was closed for verification, followups, etc. failing test P0 permared python tests

Comments

@jrmccluskey
Copy link
Contributor

What happened?

Python container builds that are invoked through processArtifactsInSetupOnlyMode() fail because of the newly introduced logRuntimeDependencies() function. It appears that the function always tries to invoke the logger directly instead of using a buffered logger, accessing a nil value. This should be fixed by accepting a buffered logger type instead, which accounts for this issue.

goroutine 1 [running]:
github.com/apache/beam/sdks/v2/go/container/tools.(*Logger).Log(0x0, {0xa4c3a8, 0xe36cc0}, 0x2, {0xc000038640, 0x1d})
	/runner/_work/beam/beam/sdks/go/container/tools/logging.go:59 +0x66
github.com/apache/beam/sdks/v2/go/container/tools.(*Logger).Printf(0x0?, {0xa4c3a8, 0xe36cc0}, {0x99939e?, 0xc9f8ade50?}, {0x0?, 0x7fffffffffffffff?, 0xa4c3a8?})
	/runner/_work/beam/beam/sdks/go/container/tools/logging.go:106 +0x5a
main.logRuntimeDependencies({0xa4c3a8, 0xe36cc0}, 0x0)
	/runner/_work/beam/beam/sdks/python/container/boot.go:463 +0x5b
main.installSetupPackages({0xa4c3a8, 0xe36cc0}, 0x0, {0xc000042e30, 0x1, 0x1}, {0x7fff05c69db0, 0x1a}, {0xc00018fd80, 0x1, ...})
	/runner/_work/beam/beam/sdks/python/container/boot.go:412 +0x50b
main.processArtifactsInSetupOnlyMode()
	/runner/_work/beam/beam/sdks/python/container/boot.go:455 +0x51f
main.main()
	/runner/_work/beam/beam/sdks/python/container/boot.go:82 +0x76

Issue Failure

Failure: Test is continually failing

Issue Priority

Priority: 0 (outage / failing precommit test impacting development)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug done & done Issue has been reviewed after it was closed for verification, followups, etc. failing test P0 permared python tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants