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

Infinite loop in contract negotiation #55

Open
Excds opened this issue Sep 5, 2024 · 0 comments
Open

Infinite loop in contract negotiation #55

Excds opened this issue Sep 5, 2024 · 0 comments

Comments

@Excds
Copy link
Contributor

Excds commented Sep 5, 2024

There seems to be a bug in the statemachine that causes it to end up in an infinite loop. Here is some log output:

cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.365189683Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":213},"msg":"Contract not finalized","contract_consumerPID":"5c3dad8d-b561-4708-ae3e-ee83ff899341","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:AGREED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.490407953Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":253},"msg":"Transfer not started","contract_consumerPID":"ac79620c-d4fa-45d6-8333-a890f501f730","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:REQUESTED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.490424632Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":253},"msg":"Transfer not started","contract_consumerPID":"b7c2e339-a780-4410-b976-62f085e032fd","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:REQUESTED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.49044082Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":253},"msg":"Transfer not started","contract_consumerPID":"29dc1910-c9b8-45ef-8ba8-63b63cf63a31","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"INITIAL"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.516574304Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":253},"msg":"Transfer not started","contract_consumerPID":"cde68bde-598e-4f3d-bdda-bfb0b864b528","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:REQUESTED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.668827122Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":213},"msg":"Contract not finalized","contract_consumerPID":"b00e6c09-3125-4b99-a4a9-1ad3a7a2d65b","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:OFFERED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.668843483Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":213},"msg":"Contract not finalized","contract_consumerPID":"9ac591c1-8bff-4921-9465-05b370636c53","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:ACCEPTED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.668860498Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":253},"msg":"Transfer not started","contract_consumerPID":"7cdf3f87-ce6a-469c-a6e6-ae577b10f9da","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:REQUESTED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.726030687Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":213},"msg":"Contract not finalized","contract_consumerPID":"c100747c-5442-4204-af4e-5e2fd6b4ea51","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:ACCEPTED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.84624926Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":213},"msg":"Contract not finalized","contract_consumerPID":"7b5e164c-044c-4b78-a171-8d49c8899d01","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"INITIAL"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:14.970473551Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":253},"msg":"Transfer not started","contract_consumerPID":"5a746f87-e2b0-4bc2-b19c-3c558374da52","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:REQUESTED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:15.08277015Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":213},"msg":"Contract not finalized","contract_consumerPID":"b34d7d3b-e3c0-488d-8d82-ee8f94814392","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:ACCEPTED"}
cma-run-dsp-8cc58d54-x29xx run-dsp {"time":"2024-09-05T14:41:15.292991004Z","level":"INFO","source":{"function":"github.com/go-dataspace/run-dsp/dsp/control.(*Server).GetProviderDatasetDownloadInformation","file":"/app/dsp/control/control.go","line":253},"msg":"Transfer not started","contract_consumerPID":"a441a4b9-4b0b-4eb2-9400-eaeb6761c59a","contract_providerPID":"00000000-0000-0000-0000-000000000000","contract_state":"INITIAL","contract_role":0,"method":"GetProviderDownloadInformationRequest","state":"dspace:REQUESTED"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant