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

Support building with rust 1.80 #1241

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Conversation

howardjohn
Copy link
Member

@howardjohn howardjohn commented Jul 29, 2024

  • time needs update in fuzz/
    (Build failure under 1.80.0 time-rs/time#696, probably a bug), so I
    updated all packages
  • Fix comment that is supposed to have a newline
  • Disable 2 new linters that are false positives all over the codebase

Based on user feedback.

Before/after

dns outage
```
2024-07-29T17:10:59.111431Z     warn    xds::client:xds{id=14}  XDS client connection error: gRPC connection error:status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Temporary failure in name resolution, retrying in 15s
2024-07-29T17:22:14.958433Z     warn    xds::client:xds{id=3}   XDS client connection error: gRPC connection error connecting to https://istiod.istio-system.svc:15012: status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Temporary failure in name resolution (hint: is the DNS server reachable?), retrying in 80ms
```

wrong dns name
```
2024-07-29T17:22:47.910253Z     warn    xds::client:xds{id=10}  XDS client connection error: gRPC connection error:status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Name or service not known, retrying in 10.24s
2024-07-29T17:22:47.910253Z     warn    xds::client:xds{id=10}  XDS client connection error: gRPC connection error connecting to https://istiodx.istio-system.svc:15012: status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Name or service not known, retrying in 10.24s
```

Bad auth (ztunnel)
```
2024-07-29T17:25:29.137815Z     warn    xds::client:xds{id=11}  XDS client connection error: gRPC connection error connecting to https://istiod.istio-system.svc:15012: status: Unauthenticated, message: "authentication failure", retrying in 15s
2024-07-29T17:35:00.273104Z     warn    xds::client:xds{id=9}   XDS client connection error: gRPC connection error connecting to https://istiod.istio-system.svc:15012: status: Unauthenticated, message: "authentication failure" (hint: check the control plane logs for more information), retrying in 5.12s
```
* `time` needs update in fuzz/
  (time-rs/time#696, probably a bug), so I
updated all packages
* Fix comment that is supposed to have a newline
* Disable 2 new linters that are false positives all over the codebase
@howardjohn howardjohn requested a review from a team as a code owner July 29, 2024 23:01
@howardjohn howardjohn added the release-notes-none Indicates a PR that does not require release notes. label Jul 29, 2024
@istio-testing istio-testing added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jul 29, 2024
@howardjohn howardjohn changed the title build/180 Support building with rust 1.80 Jul 29, 2024
howardjohn added a commit to howardjohn/ztunnel that referenced this pull request Jul 29, 2024
istio#1241 included more fixes, so this
is direct to 1.23
howardjohn added a commit to howardjohn/ztunnel that referenced this pull request Jul 29, 2024
istio#1241 included more fixes, so this
is direct to 1.23

(cherry picked from commit 5ef6eed)
@istio-testing istio-testing merged commit b40c577 into istio:master Jul 29, 2024
3 checks passed
istio-testing pushed a commit that referenced this pull request Jul 30, 2024
#1241 included more fixes, so this
is direct to 1.23
istio-testing pushed a commit that referenced this pull request Aug 1, 2024
#1241 included more fixes, so this
is direct to 1.23

(cherry picked from commit 5ef6eed)
antonioberben pushed a commit to antonioberben/ztunnel that referenced this pull request Oct 1, 2024
* Improve XDS error diagnostics

Based on user feedback.

Before/after

dns outage
```
2024-07-29T17:10:59.111431Z     warn    xds::client:xds{id=14}  XDS client connection error: gRPC connection error:status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Temporary failure in name resolution, retrying in 15s
2024-07-29T17:22:14.958433Z     warn    xds::client:xds{id=3}   XDS client connection error: gRPC connection error connecting to https://istiod.istio-system.svc:15012: status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Temporary failure in name resolution (hint: is the DNS server reachable?), retrying in 80ms
```

wrong dns name
```
2024-07-29T17:22:47.910253Z     warn    xds::client:xds{id=10}  XDS client connection error: gRPC connection error:status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Name or service not known, retrying in 10.24s
2024-07-29T17:22:47.910253Z     warn    xds::client:xds{id=10}  XDS client connection error: gRPC connection error connecting to https://istiodx.istio-system.svc:15012: status: Unknown, message: "client error (Connect)", source: dns error: failed to lookup address information: Name or service not known, retrying in 10.24s
```

Bad auth (ztunnel)
```
2024-07-29T17:25:29.137815Z     warn    xds::client:xds{id=11}  XDS client connection error: gRPC connection error connecting to https://istiod.istio-system.svc:15012: status: Unauthenticated, message: "authentication failure", retrying in 15s
2024-07-29T17:35:00.273104Z     warn    xds::client:xds{id=9}   XDS client connection error: gRPC connection error connecting to https://istiod.istio-system.svc:15012: status: Unauthenticated, message: "authentication failure" (hint: check the control plane logs for more information), retrying in 5.12s
```

* Support building with rust 1.80

* `time` needs update in fuzz/
  (time-rs/time#696, probably a bug), so I
updated all packages
* Fix comment that is supposed to have a newline
* Disable 2 new linters that are false positives all over the codebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes-none Indicates a PR that does not require release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants