Skip to content

[Jan 2023 rotation] New scriptworker ed25519 key#583

Merged
hneiva merged 2 commits intomozilla-releng:mainfrom
hneiva:hneiva/scriptworker-key-rotation
Jan 27, 2023
Merged

[Jan 2023 rotation] New scriptworker ed25519 key#583
hneiva merged 2 commits intomozilla-releng:mainfrom
hneiva:hneiva/scriptworker-key-rotation

Conversation

@hneiva
Copy link
Copy Markdown
Contributor

@hneiva hneiva commented Jan 26, 2023

No description provided.

@gabrielbusta gabrielbusta self-requested a review January 26, 2023 23:48
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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
Copy Markdown
Contributor

How odd...

@ahal
Copy link
Copy Markdown
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
Copy Markdown
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
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
Copy Markdown
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 requested a review from gabrielbusta January 27, 2023 19:58
@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.

3 participants