Skip to content

Commit 075a927

Browse files
Debug logging during s3 operations
This is likely to be very verbose, but hopefully will eventually give us request IDs for #77 which we can ask about to S3, or give us enough information to fix it locally. This has broken 2 nightlies in 12 days, which is a pretty high incidence rate so far.
1 parent 19ed30b commit 075a927

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,12 @@ impl Context {
859859
fn aws_s3(&self) -> Command {
860860
let mut cmd = Command::new("aws");
861861

862+
// Log request IDs while we investigate an error coming from S3:
863+
// [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)
864+
//
865+
// See https://github.com/rust-lang/promote-release/issues/77 for tracking for this.
866+
cmd.arg("--debug");
867+
862868
// Allow using non-S3 backends with the AWS CLI.
863869
if let Some(url) = &self.config.s3_endpoint_url {
864870
cmd.arg("--endpoint-url");

0 commit comments

Comments
 (0)