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

Got exception sometimes when deploying app-service #1597

Open
cherrycl opened this issue Jul 25, 2024 · 0 comments
Open

Got exception sometimes when deploying app-service #1597

cherrycl opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cherrycl
Copy link
Contributor

🐞 Bug Report

Affected Services [REQUIRED]

The issue is located in: app-services

Is this a regression?

No

Description and Minimal Reproduction [REQUIRED]

Deploy service by compose file edgex-compose/docker-compose-no-secty-with-app-sample-arm64.yml

🔥 Exception or Error

To reproduce this error may need to repeat deploying service several times

See full logs in attached file
app-sample.log


fatal error: concurrent map writes

goroutine 1 [running]:
github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app.setPipelineFunctionParameterNamesLowercase(0x4000168af0?)
        github.com/edgexfoundry/app-functions-sdk-go/v3@v3.2.0-dev.42/internal/app/configupdates.go:195 +0x100
github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app.(*Service).loadConfigurablePipelineTransforms(0x40001c4c00, {0x104bba1, 0x10}, {0x4000565480, 0x5, 0x400052dad0?}, 0x400052db38?, {0xfc1fc0?, 0x400007e460?, 0x4000110020?})
        github.com/edgexfoundry/app-functions-sdk-go/v3@v3.2.0-dev.42/internal/app/service.go:355 +0x5c
github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app.(*Service).LoadConfigurableFunctionPipelines(0x40001c4c00)
        github.com/edgexfoundry/app-functions-sdk-go/v3@v3.2.0-dev.42/internal/app/service.go:311 +0x3ec
main.main()
        github.com/edgexfoundry/app-service-configurable/main.go:40 +0xa4

goroutine 18 [select]:
github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap.translateInterruptToCancel.func1()
        github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.45/bootstrap/bootstrap.go:68 +0x128
created by github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap.translateInterruptToCancel in goroutine 1
        github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.45/bootstrap/bootstrap.go:59 +0xb4

goroutine 97 [select]:
github.com/edgexfoundry/go-mod-configuration/v3/internal/pkg/consul.(*consulClient).WatchForChanges.func1()
        github.com/edgexfoundry/go-mod-configuration/v3@v3.2.0-dev.9/internal/pkg/consul/client.go:255 +0x90
created by github.com/edgexfoundry/go-mod-configuration/v3/internal/pkg/consul.(*consulClient).WatchForChanges in goroutine 31
        github.com/edgexfoundry/go-mod-configuration/v3@v3.2.0-dev.9/internal/pkg/consul/client.go:253 +0x294

🌍 Your Environment

Deployment Environment: Ubuntu 2204 / arm64

EdgeX Version [REQUIRED]: main

Anything else relevant?

@cherrycl cherrycl added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: New Issues
Development

No branches or pull requests

1 participant