Skip to content

PHPLIB-617 Continuous Matrix Testing for 4.0 era drivers #810

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

Merged
merged 11 commits into from
Feb 19, 2021

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Feb 10, 2021

PHPLIB-617

Since this version is not tested on evergreen yet, this includes the minimal scripts required to test on evergreen without adding an evergreen configuration.

@alcaeus alcaeus requested a review from jmikola February 10, 2021 12:51
@alcaeus alcaeus self-assigned this Feb 10, 2021
Copy link
Member Author

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

@jmikola a couple of notes on the scripts since they introduce changes from the ones we use in master.

@alcaeus alcaeus force-pushed the v1.4-matrix-testing branch 5 times, most recently from 155c65c to 14ea7e9 Compare February 11, 2021 11:57
@alcaeus alcaeus force-pushed the v1.4-matrix-testing branch 2 times, most recently from 017215c to 0518305 Compare February 11, 2021 12:33
@alcaeus alcaeus force-pushed the v1.4-matrix-testing branch from 0518305 to 49650ea Compare February 11, 2021 12:53
@alcaeus alcaeus force-pushed the v1.4-matrix-testing branch 7 times, most recently from b7436ce to df68b88 Compare February 18, 2021 11:26
@alcaeus alcaeus force-pushed the v1.4-matrix-testing branch from df68b88 to cbe4898 Compare February 18, 2021 11:34
@alcaeus alcaeus force-pushed the v1.4-matrix-testing branch from cbe4898 to 2129841 Compare February 18, 2021 11:41
@alcaeus
Copy link
Member Author

alcaeus commented Feb 18, 2021

New patch build: https://spruce.mongodb.com/version/602e562f5623434b3f2cc74c/tasks

Testing against 4.2 and 4.4 passes thanks to some well-placed skips, but I have to investigate the failures on latest as they occur in spec tests. I'd call this done for the time being and revisit the failures once I can see how the 4.2 and 4.4 drivers fare.

@alcaeus alcaeus requested a review from jmikola February 18, 2021 12:47
@alcaeus alcaeus force-pushed the v1.4-matrix-testing branch 11 times, most recently from 2617c72 to b8fe579 Compare February 19, 2021 12:53
@alcaeus alcaeus force-pushed the v1.4-matrix-testing branch from b8fe579 to ba0c0f8 Compare February 19, 2021 13:05
@alcaeus
Copy link
Member Author

alcaeus commented Feb 19, 2021

@jmikola Tests now all pass, except for the occasional failure on replica sets due to a double free (our old friend has returned): https://spruce.mongodb.com/version/602f72fc9ccd4e172a60e6e8/tasks

if ($this->isShardedCluster()) {
return $this->getServerVersion($readPreference);
}

Copy link
Member

Choose a reason for hiding this comment

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

Backport? :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. Fixed a number of tests 😉

;;
esac

PHPUNIT_OPTS="--dont-report-useless-tests --exclude-group matrix-testing-server-${MONGODB_VERSION_NUMBER}-driver-${DRIVER_MONGODB_VERSION},matrix-testing-server-${MONGODB_VERSION_NUMBER}-driver-${DRIVER_MONGODB_VERSION}-topology-${TOPOLOGY}"
Copy link
Member

Choose a reason for hiding this comment

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

Very nice.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, not happy about the formatting, but your suggestion to use groups to skip tests was great.

@alcaeus alcaeus merged commit 903f190 into mongodb:v1.4 Feb 19, 2021
alcaeus added a commit to alcaeus/mongo-php-library that referenced this pull request Feb 19, 2021
* v1.4:
  PHPLIB-617 Continuous Matrix Testing for 4.0 era drivers (mongodb#810)
alcaeus added a commit that referenced this pull request Feb 19, 2021
* v1.4:
  PHPLIB-617 Continuous Matrix Testing for 4.0 era drivers (#810)
alcaeus added a commit that referenced this pull request Mar 4, 2021
* v1.5:
  Rename matrix testing exclusion groups
  PHPLIB-616 Continuous Matrix Testing for 4.2 era drivers (#812)
  PHPLIB-617 Continuous Matrix Testing for 4.0 era drivers (#810)
alcaeus added a commit that referenced this pull request Mar 4, 2021
* v1.6:
  Rename matrix testing exclusion groups
  PHPLIB-616 Continuous Matrix Testing for 4.2 era drivers (#812)
  PHPLIB-617 Continuous Matrix Testing for 4.0 era drivers (#810)
@alcaeus alcaeus deleted the v1.4-matrix-testing branch March 5, 2021 12:44
alcaeus added a commit that referenced this pull request Mar 5, 2021
* v1.7:
  PHPLIB-615 Matrix testing for 4.4 era drivers (#813)
  Rename matrix testing exclusion groups
  PHPLIB-616 Continuous Matrix Testing for 4.2 era drivers (#812)
  PHPLIB-617 Continuous Matrix Testing for 4.0 era drivers (#810)
alcaeus added a commit that referenced this pull request Mar 9, 2021
* v1.8:
  Fix test failures due to wrong merge
  PHPLIB-615 Matrix testing for 4.4 era drivers (#813)
  Rename matrix testing exclusion groups
  PHPLIB-616 Continuous Matrix Testing for 4.2 era drivers (#812)
  PHPLIB-617 Continuous Matrix Testing for 4.0 era drivers (#810)
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.

2 participants