Jury duty is a specialized form of militia duty, as as the duty to testify in court. They may all be compelled, for the general public good. That is not “servitude” as that term was understood by the framers of the 13th Amendment, who used the term only to mean servitude for the personal benefit of a private party, not for the benefit of the public as a whole.
All these duties are the duties of a public official: Militia, jurors, and witnesses are all under oath to perform the duties of those offices. As with any public office, and unlike taxation, it is not subject to the rule of uniformity. Candidates may be screened for fitness to perform the duties of the office. The use of lists like election rolls or drivers licenses is just a workaround for the fact that we no longer keep comprehensive militia rolls. That is the prescribed method, so the way to avoid disparate impact would be to revive militia rolls.
So, yes, it is constitutional.”—Jon Roland