Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Jan 2023 rotation] New scriptworker ed25519 key #583

Merged
merged 2 commits into from
Jan 27, 2023

Conversation

hneiva
Copy link
Contributor

@hneiva hneiva commented Jan 26, 2023

No description provided.

@gabrielBusta gabrielBusta self-requested a review January 26, 2023 23:48
Copy link
Member

@gabrielBusta gabrielBusta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to dig into those test failures

@ahal
Copy link
Contributor

ahal commented Jan 27, 2023

Odd, the commit I made for this last time was pretty much identical: 27f58ba (other than black formatting)

@ahal ahal closed this Jan 27, 2023
@ahal ahal reopened this Jan 27, 2023
@gabrielBusta
Copy link
Member

How odd...

@ahal
Copy link
Contributor

ahal commented Jan 27, 2023

Looks like this is a Python change:
python/cpython@1d4d677

Changing the method to assert_called_once_with and removing the leading assert should fix it.

@ahal
Copy link
Contributor

ahal commented Jan 27, 2023

I filed #584 to make the CI more reproducible.

@hneiva hneiva force-pushed the hneiva/scriptworker-key-rotation branch from 87f5ccb to 92aada2 Compare January 27, 2023 19:43
@@ -248,10 +248,10 @@ async def decorated_always_fail(*args, **kwargs):

# create_temp_creds {{{1
def test_create_temp_creds():
with mock.patch.object(utils, "createTemporaryCredentials") as p:
p.return_value = {"one": b"one", "two": "two"}
with mock.patch.object(utils, "createTemporaryCredentials") as patched:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renamed p to patched as it conflicts with pdb p command; took me longer than I'd like to admit to realize this is why I had issues debugging it 🥲

@hneiva hneiva merged commit 3a80a35 into mozilla-releng:main Jan 27, 2023
@hneiva hneiva deleted the hneiva/scriptworker-key-rotation branch January 27, 2023 20:50
@hneiva hneiva restored the hneiva/scriptworker-key-rotation branch January 27, 2023 20:50
@hneiva hneiva deleted the hneiva/scriptworker-key-rotation branch January 27, 2023 20:50
@hneiva hneiva restored the hneiva/scriptworker-key-rotation branch January 27, 2023 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants