[GODRIVER-2264] Failing AWS Auth Tasks in Windows Created: 05/Jan/22  Updated: 01/Nov/22  Resolved: 11/May/22

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

Type: Task Priority: Major - P3
Reporter: Benji Rewis (Inactive) Assignee: Matt Dale
Resolution: Done Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related

 Description   

AWS Auth tasks are consistently failing on Windows due an apparent import cycle within the standard library. This is likely an issue with the Go environment on Windows spawn hosts.

Here's an example.
Here's another.



 Comments   
Comment by Githook User [ 01/Nov/22 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: GODRIVER-2264 Fix PATH on Windows to work with Cygwin/Bash shell. (#944)
Branch: release/1.9
https://github.com/mongodb/mongo-go-driver/commit/b37b76c726030a97f4cc7d70f884281af67789d6

Comment by Githook User [ 01/Nov/22 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: GODRIVER-2264 Fix PATH on Windows to work with Cygwin/Bash shell. (#944)
Branch: release/1.8
https://github.com/mongodb/mongo-go-driver/commit/b8c6fc6f0a8f15bbab6d7e53c41e2c4e8233d6f1

Comment by Githook User [ 01/Nov/22 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: GODRIVER-2264 Fix PATH on Windows to work with Cygwin/Bash shell. (#944)
Branch: release/1.8
https://github.com/mongodb/mongo-go-driver/commit/870a7415ecc6e82047cd7e8ed4d28eae62e2da8b

Comment by Matt Dale [ 11/May/22 ]

Found a solution for this while investigating GODRIVER-2328. Ended up being the mix between a Linux-style shell (Bash on Cygwin) running Windows-native scripts and binaries (e.g. {{go}) creating a confusing mix of path style requirements (Bash needs Linux-style paths, Windows binaries need Windows-style paths).

Comment by Githook User [ 11/May/22 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: GODRIVER-2264 Fix PATH on Windows to work with Cygwin/Bash shell. (#944)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/c779c7d0b8019c3053264ebdde035bf333fd7aca

Comment by Benji Rewis (Inactive) [ 06/Jan/22 ]

Thanks, matthew.chiaravalloti! That's probably the same issue. Linked this ticket to the BUILD one so we can watch it, too.

Comment by Matthew Chiaravalloti [ 06/Jan/22 ]

benji.rewis On the SQL team, we also encountered a similar issue and noticed that the windows host no longer respected the version of Go we specified. Instead they always used Go 1.7. I filed BUILD-14468 to track this issue, if you'd like to follow it as a dependency of this ticket.

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