[SERVER-57158] selected_tests_gen fails when I run it in patch builds Created: 14/May/21  Updated: 29/Oct/23  Resolved: 26/May/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Maria van Keulen Assignee: David Bradford (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: DAG 2021-05-31
Participants:
Story Points: 1

 Description   

Motivation for Request

I'd like to experiment with selected-tests to see how it reduces build times today.

Context

I am looking into test selection mechanisms for test diagonalization

Description

This task fails with the following log.
I see a different failure symptom in this task from a previous build, although that build did not have any code changes. Here is the log.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 26/May/21 ]

Author:

{'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}

Message: SERVER-57158: Fix selected-tests authentication
Branch: master
https://github.com/mongodb/mongo/commit/024d854068127c6f86f78844c308492c34f3a490

Comment by David Bradford (Inactive) [ 26/May/21 ]

CR: https://mongodbcr.appspot.com/796420045/

Comment by David Bradford (Inactive) [ 21/May/21 ]

It looks like the last time the task was run was in this patch build on April 27 and it worked correctly. So it appears something has changed since then.

Comment by David Bradford (Inactive) [ 21/May/21 ]

I added some extra debug info and tried a patch build. You can see the logs here. It looks like the issue the auth to selected-test-service is not working correctly, so calls to the service are getting redirected to okta login.

So we need to figure out why the auth isn't working.

Comment by David Bradford (Inactive) [ 17/May/21 ]

The new error should be investigated by DAG.

Comment by Maria van Keulen [ 17/May/21 ]

As an update, I ran the task again as of the changes that fixed BF-21191, and the task failed with this message:
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I believe this is the same error as one of the tasks that I linked in the description.
david.bradford should this continue to be assigned to STM?

Comment by David Bradford (Inactive) [ 17/May/21 ]

This looks like the failure is due to recent changes that STM has been making to the evergreen config.

ERROR: Failed to import a dependency. This is almost certainly because the task did not initialize the venv immediately after cloning the repository.

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