Skip to content

Fix CI test discovery#9759

Merged
tjprescott merged 17 commits intodevfrom
FixTestDiscovery
Jun 24, 2019
Merged

Fix CI test discovery#9759
tjprescott merged 17 commits intodevfrom
FixTestDiscovery

Conversation

@tjprescott
Copy link
Member

Reopened from upstream branch to accept changes from entire team

'azure-mgmt-containerinstance~=1.4',
'azure-mgmt-containerregistry~=2.8',
'azure-mgmt-containerservice~=5.2',
'azure-mgmt-cosmosdb~=0.5.2',
Copy link
Member Author

Choose a reason for hiding this comment

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

This version bump was lost in the transition.

'azure-keyvault=1.1',
'azure-mgmt-advisor>=2.0.1,<3.0.0',
'azure-mgmt-applicationinsights~=0.1.1',
'azure-mgmt-authorization~=0.50.0',
Copy link
Member Author

Choose a reason for hiding this comment

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

This version bump was lost in the transition.

'azure-mgmt-recoveryservicesbackup~=0.1.2',
'azure-mgmt-redis~=6.0',
'azure-mgmt-relay~=0.1.0',
'azure-mgmt-reservations~=0.3.1',
Copy link
Member Author

Choose a reason for hiding this comment

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

This ~ caused and could easily cause in the future for an SDK release to suddenly break. In this case, azure-mgmt-reservations 0.3.2 bumps the API version, causing all test recordings to fail.

Copy link
Member

Choose a reason for hiding this comment

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

Got it. The typical solution to that is to check-in a comprehensive requirements.txt. Shouldn't be too complicated for me to do, we can talk more offline.

Copy link
Member Author

Choose a reason for hiding this comment

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

This test wasn't updated for a recent PR because the tests weren't being run.

@tjprescott
Copy link
Member Author

@marstr at this point the only thing blocking this should be the azure-mgmt-reservations issue.

@marstr
Copy link
Member

marstr commented Jun 24, 2019

Small fix to get azure-mgmt-reservations patched quickly in 77f533d, and issue #9781 opened to follow up.

@tjprescott tjprescott merged commit e00ad99 into dev Jun 24, 2019
@tjprescott tjprescott deleted the FixTestDiscovery branch June 24, 2019 22:47
marstr added a commit to marstr/azure-cli that referenced this pull request Jun 24, 2019
marstr added a commit that referenced this pull request Jun 25, 2019
* Add Windows requirements.txt

* Adding MacOS and Linux requirements.txt

* Setting azure-mgmt-reservations==0.3.1 for test recording purposes

* Update CI to use the new requirements.*.txt, and just make sure nothing conflicts

* Install locally provided deps before falling back to PyPI

* Fixing requirements.py3.linux.txt location

* Don't install deps when installing from local-repository, wait to get them from requirements.txt

* Remove pkg-resources line

* Add verbose flag

* Add az invocations on dependency check to further ensure all is well

* Fixing dependencies updated in #9759

* Fixing typo
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.

3 participants