eventing icon indicating copy to clipboard operation
eventing copied to clipboard

Used Port 0 to fix issue #7393

Open satyampsoni opened this issue 1 year ago • 13 comments

Fixes #7393

satyampsoni avatar Jan 22 '24 08:01 satyampsoni

Welcome @satyampsoni! It looks like this is your first PR to knative/eventing 🎉

knative-prow[bot] avatar Jan 22 '24 08:01 knative-prow[bot]

Hi @satyampsoni. Thanks for your PR.

I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

knative-prow[bot] avatar Jan 22 '24 08:01 knative-prow[bot]

/ok-to-test

creydr avatar Jan 22 '24 08:01 creydr

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: satyampsoni Once this PR has been reviewed and has the lgtm label, please ask for approval from creydr. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

knative-prow[bot] avatar Jan 23 '24 10:01 knative-prow[bot]

/retest

satyampsoni avatar Jan 23 '24 10:01 satyampsoni

/retest-required

satyampsoni avatar Jan 23 '24 11:01 satyampsoni

/retest

satyampsoni avatar Jan 24 '24 16:01 satyampsoni

@satyampsoni: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
unit-tests_eventing_main 1e7aa11855800512b71eb557ec808ca751060a56 link true /test unit-tests

Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

knative-prow[bot] avatar Jan 24 '24 16:01 knative-prow[bot]

@satyampsoni any updates on this? Do you need help with this?

creydr avatar Feb 06 '24 11:02 creydr

@creydr yep, How to fix this? image

satyampsoni avatar Feb 09 '24 08:02 satyampsoni

@creydr yep, How to fix this? image

This seems to be, as you simply return the given port to StartServer() in https://github.com/knative/eventing/pull/7607/files#diff-19e24bc260761850cf90ace03ff2291a969d7e008a6e555fb09d2728ee94fbd2R87. Anyhow you need to use the "real" port. Port 0 indicates simply to use the next available port. When you start the server in receiver.StartListen(), you should be able to get the real port somehow.

creydr avatar Feb 09 '24 11:02 creydr

Thanks for the help. Have looked into it. I'll correct it once my exams are over after 12 Feb.

satyampsoni avatar Feb 11 '24 06:02 satyampsoni

Hi @satyampsoni any updates? Can I help here?

Cali0707 avatar Feb 21 '24 19:02 Cali0707

@satyampsoni are you still working on this one?

pierDipi avatar Mar 26 '24 08:03 pierDipi

Closing this PR for now

pierDipi avatar Apr 08 '24 15:04 pierDipi