[GODRIVER-1780] Investigate Windows task failures due to libmongocrypt compilation errors Created: 06/Nov/20  Updated: 28/Oct/23  Resolved: 11/Nov/20

Status: Closed
Project: Go Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 1.5.0

Type: Task Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Some time between 10/27/20 and 11/2/20, all Windows tasks began to fail. When we curl the S3 URL to download libmongocrypt, the latest succeeding task prints all downloaded files but the first failing task shows errors related to gzip and tar. The task then continues to fail when tests are run because libmongocrypt was not properly installed so the driver cannot be compiled.



 Comments   
Comment by Githook User [ 11/Nov/20 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: GODRIVER-1780 Use unstable URL for libmongocrypt Windows tests. (#534)

FLE tests require the 1.1.0-beta download, which is uploaded to a different fixed URL than the latest stable release.
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/cdacb6473abf8f2abaac11f58b7577fbd148440e

Comment by Kevin Albertson [ 11/Nov/20 ]

PR: https://github.com/mongodb/mongo-go-driver/pull/534

Comment by Kevin Albertson [ 11/Nov/20 ]

There were two issues.
1. The tarball was named .tar.gz, but was actually not gzipped.

$ file libmongocrypt.tar.gz
libmongocrypt.tar.gz: POSIX tar archive

I've updated the release tarball.

$ curl https://s3.amazonaws.com/mciuploads/libmongocrypt/windows/latest_release/libmongocrypt.tar.gz --output libmongocrypt.tar.gz
$ file libmongocrypt.tar.gz
libmongocrypt.tar.gz: gzip compressed data, last modified: Wed Nov 11 14:48:27 2020, from Unix

2. The background of the bad upload is that, the latest_release URL had been overwritten by the libmongocrypt 1.1.0-beta release and required manually updating.

The 1.1.0-beta release is on a separate URL: https://s3.amazonaws.com/mciuploads/libmongocrypt/windows/latest_release/libmongocrypt_unstable.tar.gz as of MONGOCRYPT-291.

Evergreen scripts will need to use the unstable URL until a stable release is made (tracked in MONGOCRYPT-293).

Generated at Thu Feb 08 08:37:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.