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

fix smoketest failures on examples/net examples #623

Merged
merged 2 commits into from
Dec 6, 2023
Merged

fix smoketest failures on examples/net examples #623

merged 2 commits into from
Dec 6, 2023

Conversation

scottfeldman
Copy link
Contributor

examples/net/socket test was failing because of missing updates to recent net/netip changes to netdev interface. Oops!

examples/net/mqttclient/paho was failing because of new dependencies brought in by paho package that haven't been ported to TinyGo's net package. Will open an issue on tinygo-org/net to fix the dependencies.

Recent PAHO MQTT package updates brought in new Gorilla package and
dependencies on net/http/httptrace and crypto/tls, which aren't ported
over the TinyGo's net package.

I'll open an Issue against the TinyGo's net package to port the missing
dependencies.  Until that happens, disable the test in smoketest so
smoketest will pass.

The other MQTT example (examples/net/mqttclient/natiu) works fine and
remains in the smoketest.
@scottfeldman
Copy link
Contributor Author

scottfeldman commented Dec 5, 2023

Added tinygo-org/net#10 to fix the missing paho/mqtt dependencies.

@deadprogram
Copy link
Member

deadprogram commented Dec 5, 2023

What about all the other examples that I mentioned in tinygo-org/net#9 sounds like that is all the same issue?

@scottfeldman
Copy link
Contributor Author

What about all the other examples that I mentioned in tinygo-org/net#9 sounds like that is all the same issue?

I'll take a look at that one in the morning. Probably some issue when converting to netip API.

@deadprogram
Copy link
Member

Thanks @scottfeldman

@scottfeldman
Copy link
Contributor Author

I believe tinygo-org/net#9 is fixed with tinygo-org/net/pull/11

@deadprogram
Copy link
Member

Thanks for the fixes @scottfeldman now merging.

@deadprogram deadprogram merged commit c5c58d5 into tinygo-org:scottfeldman-netdev3 Dec 6, 2023
1 check failed
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