-
Notifications
You must be signed in to change notification settings - Fork 53
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
Remove webpki crate - resolves #2183 #2185
Conversation
Robot Results
|
24af9f1
to
7cdd2b9
Compare
Codecov Report
Additional details and impacted files
|
ef1f3c2
to
ce18b99
Compare
ce18b99
to
13886bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is correct.
Before merging, it might be good to double check with @reubenmiller the impacts on the release build.
assert-json-diff = "2.0" | ||
assert_cmd = "2.0" | ||
assert_matches = "1.5" | ||
async-compat = "0.2.1" | ||
async-log = "2.0" | ||
async-trait = "0.1" | ||
async-tungstenite = { version = "0.18.0", features = [ | ||
"tokio-runtime", | ||
"tokio-rustls-native-certs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the feature tokio-rustls-native-certs
might be a source of confusion as a certificate can be trusted by all the thin-edge component expect the remote access plugin (which depends on async-tungstenite
for web-sockets). See #1678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just confirmed that with this change, c8y-remote-access-plugin
fails when accepting a connection from Cumulocity, with the following message in MQTT:
$ tedge mqtt sub "#"
...
c8y/s/us] 502,c8y_RemoteAccessConnect,"
Error: × Connecting to Websocket
├─▶ URL error: TLS support not compiled in
╰─▶ TLS support not compiled in
"
A ticket was created to create an integration test to catch similar problems in the future: #2201
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just confirmed that with this change, c8y-remote-access-plugin fails when accepting a connection from Cumulocity, with the following message in MQTT
Thank you for going deeper. So even worse than we feared ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
f88b6f2
to
a9c9784
Compare
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
rumqttd, the rust MQTT broker that was used for the tests of the mqtt_channel crate, was updated to the latest version, 0.17. rumqttd requires rust version 1.70, so MSRV was bumped. Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
a9c9784
to
6141405
Compare
7d86d37
to
6141405
Compare
There are 2 problems leading to the issue with CI test check:
|
What I propose to move forward is simply to mark as ignored the tests that block when there is no sufficient disk space. Also, create a ticket to fix the issue related to these blocking downloads. If the disk is full a download should not block and should even remove all half-downloaded stuff on such errors. |
There's also the problem that some tests, as expected, fail if there is no disk space available. |
d8ed0aa
to
30a3c7b
Compare
30a3c7b
to
896e441
Compare
896e441
to
4b149d9
Compare
4b149d9
to
a435068
Compare
a435068
to
3cf6498
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to #[ignore = "fails CI because of lack of disk space"]
Proposed changes
Our dependencies were updated to latest versions so that they no longer use the unmaintained
webpki
crate.Types of changes
Paste Link to the issue
Checklist
cargo fmt
as mentioned in CODING_GUIDELINEScargo clippy
as mentioned in CODING_GUIDELINESFurther comments