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

Remove packages.microsoft.com registration from test script #615

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

damonbarry
Copy link
Member

@damonbarry damonbarry commented Jun 4, 2024

The custom agents which run the end-to-end test workflows (manual and scheduled) already register packages.microsoft.com with apt, and they sign the registration with a specific keyring file. This clashes with the method of registration happening in the end-to-end tests, causing errors like:

Setting up packages-microsoft-prod (1.0-ubuntu22.04.1) ...
E: Conflicting values set for option Signed-By regarding source https://packages.microsoft.com/ubuntu/22.04/prod/ jammy...

This change removes the redundant and conflicting registration from the test script. It is assumed that packages.microsoft.com has already been registered when the tests run.

To test, I ran the manual workflow against the PR and verifying that it got past the above error.

@damonbarry damonbarry requested a review from arsing June 4, 2024 19:05
@kodiakhq kodiakhq bot merged commit 40ba4e9 into Azure:main Jun 4, 2024
135 of 155 checks passed
@damonbarry damonbarry deleted the fix-e2e-tests branch June 4, 2024 20:28
damonbarry added a commit to damonbarry/iot-identity-service that referenced this pull request Jun 4, 2024
The custom agents which run the end-to-end test workflows (manual and scheduled) already register packages.microsoft.com with apt, and they sign the registration with a specific keyring file. This clashes with the method of registration happening in the end-to-end tests, causing errors like:
```
Setting up packages-microsoft-prod (1.0-ubuntu22.04.1) ...
E: Conflicting values set for option Signed-By regarding source https://packages.microsoft.com/ubuntu/22.04/prod/ jammy...
```

This change removes the redundant and conflicting registration from the test script. It is assumed that packages.microsoft.com has already been registered when the tests run.

To test, I ran the manual workflow against the PR and verifying that it got past the above error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants