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

feat(uat): add windows build for python paho client #377

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

eschastlivtsev
Copy link

Issue #, if available:
Implement Windows Build for Python Paho client.
Implement the ability to run test scenarios on Windows for Python Paho Client.
Fix "Response topic and correlation data are received as warnings on python-paho client side" bug.

Description of changes:

  • Update Python Paho client building system to make it possible running scenarios on Windows
  • Response topic and correlation data bug was fixed

Why is this change necessary:
Test all scenarios with Python Paho client on Windows

How was this change tested:
Run scenarios locally on Windows

Test results:

[INFO ] 2023-07-24 19:40:52.140 [main] StepTrackingReporting - Passed: 'GGMQ-1-T1-v3-paho-python: As a customer, I can connect, subscribe/publish at QoS 0 and 1 and receive using client application to MQTT topic'
[INFO ] 2023-07-24 20:49:51.906 [main] StepTrackingReporting - Passed: 'GGMQ-1-T2-v3-paho-python: GGAD can publish to an MQTT topic at QoS 0 and QoS 1 based on CDA configuration'
[INFO ] 2023-07-24 19:40:52.142 [main] StepTrackingReporting - Passed: 'GGMQ-1-T8-v3-paho-python: As a customer, I can configure local MQTT messages to be forwarded to a PubSub topic'
[INFO ] 2023-07-24 20:53:06.914 [main] StepTrackingReporting - Passed: 'GGMQ-1-T9-v3-paho-python: As a customer, I can configure local MQTT messages to be forwarded to an IoT Core MQTT topic'
[INFO ] 2023-07-24 19:40:52.142 [main] StepTrackingReporting - Passed: 'GGMQ-1-T13-v3-paho-python: As a customer, I can connect two GGADs and send message from one GGAD to the other based on CDA configuration'
[INFO ] 2023-07-24 19:40:52.142 [main] StepTrackingReporting - Passed: 'GGMQ-1-T14-v3-paho-python: As a customer, I can configure IoT Core messages to be forwarded to local MQTT topic'
[INFO ] 2023-07-24 19:40:52.142 [main] StepTrackingReporting - Passed: 'GGMQ-1-T15-v3-paho-python: As a customer, I can configure Pubsub messages to be forwarded to local MQTT topic'
[INFO ] 2023-07-24 19:40:52.142 [main] StepTrackingReporting - Passed: 'GGMQ-1-T20-v3-paho-python: As a customer, I can associate and connect GGADs with GGC over custom port'
[INFO ] 2023-07-24 19:40:52.142 [main] StepTrackingReporting - Passed: 'GGMQ-1-T22-v3-paho-python: As a customer, I can send a message of size 128KiB to the MQTT broker'
[INFO ] 2023-07-24 19:40:52.144 [main] StepTrackingReporting - Passed: 'GGMQ-1-T24-v3-paho-python: As a customer, I can reset CDA config and update it and CDA will use the new config'
[INFO ] 2023-07-24 19:40:52.144 [main] StepTrackingReporting - Passed: 'GGMQ-1-T101-v3-paho-python: As a customer, I can use publish retain flag using MQTT V3.1.1'
[INFO ] 2023-07-24 20:26:50.676 [main] StepTrackingReporting - Passed: 'GGMQ-1-T1-v5-paho-python: As a customer, I can connect, subscribe/publish at QoS 0 and 1 and receive using client application to MQTT topic'
[INFO ] 2023-07-24 20:26:50.676 [main] StepTrackingReporting - Passed: 'GGMQ-1-T2-v5-paho-python: GGAD can publish to an MQTT topic at QoS 0 and QoS 1 based on CDA configuration'
[INFO ] 2023-07-24 20:26:50.677 [main] StepTrackingReporting - Passed: 'GGMQ-1-T8-v5-paho-python: As a customer, I can configure local MQTT messages to be forwarded to a PubSub topic'
[INFO ] 2023-07-24 20:26:50.677 [main] StepTrackingReporting - Passed: 'GGMQ-1-T9-v5-paho-python: As a customer, I can configure local MQTT messages to be forwarded to an IoT Core MQTT topic'
[INFO ] 2023-07-24 20:26:50.677 [main] StepTrackingReporting - Passed: 'GGMQ-1-T13-v5-paho-python: As a customer, I can connect two GGADs and send message from one GGAD to the other based on CDA configuration'
[INFO ] 2023-07-24 20:26:50.677 [main] StepTrackingReporting - Passed: 'GGMQ-1-T14-v5-paho-python: As a customer, I can configure IoT Core messages to be forwarded to local MQTT topic'
[INFO ] 2023-07-24 20:26:50.677 [main] StepTrackingReporting - Passed: 'GGMQ-1-T15-v5-paho-python: As a customer, I can configure Pubsub messages to be forwarded to local MQTT topic'
[INFO ] 2023-07-24 20:26:50.677 [main] StepTrackingReporting - Passed: 'GGMQ-1-T20-v5-paho-python: As a customer, I can associate and connect GGADs with GGC over custom port'
[INFO ] 2023-07-24 20:26:50.677 [main] StepTrackingReporting - Passed: 'GGMQ-1-T22-v5-paho-python: As a customer, I can send a message of size 128KiB to the MQTT broker'
[INFO ] 2023-07-24 20:26:50.677 [main] StepTrackingReporting - Passed: 'GGMQ-1-T24-v5-paho-python: As a customer, I can reset CDA config and update it and CDA will use the new config'
[INFO ] 2023-07-24 20:26:50.677 [main] StepTrackingReporting - Passed: 'GGMQ-1-T102-v5-paho-python: As a customer, I can use new MQTT v5.0 features'

Any additional information or context required to review the change:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bgklika bgklika requested a review from MikeDombo July 25, 2023 19:09
@MikeDombo MikeDombo merged commit 7f601cd into aws-greengrass:uat-dev Jul 25, 2023
6 of 7 checks passed
@eschastlivtsev eschastlivtsev deleted the GGMQ-157-windows-build branch July 26, 2023 07:07
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

Successfully merging this pull request may close these issues.

2 participants