From 43218cef0d37d5155262093d7812c85451ef6487 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Sun, 22 Oct 2023 22:10:55 -0400 Subject: [PATCH] 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. --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.rs b/src/main.rs index 61c2864..3a16047 100644 --- a/src/main.rs +++ b/src/main.rs @@ -859,6 +859,12 @@ impl Context { fn aws_s3(&self) -> Command { let mut cmd = Command::new("aws"); + // Log request IDs while we investigate an error coming from S3: + // [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007) + // + // See https://github.com/rust-lang/promote-release/issues/77 for tracking for this. + cmd.arg("--debug"); + // Allow using non-S3 backends with the AWS CLI. if let Some(url) = &self.config.s3_endpoint_url { cmd.arg("--endpoint-url");