[SERVER-43584] Create mqlrun tests Created: 23/Sep/19  Updated: 29/Oct/23  Resolved: 17/Jan/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.3

Type: Improvement Priority: Major - P3
Reporter: Justin Seyster Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-45519 Remove the platform_decompress override Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2019-12-02, Query 2019-12-16, Query 2019-12-30, Query 2020-01-13, Query 2020-01-27
Participants:

 Description   

We should provide basic coverage that the binary executes, can process basic queries, and that the various flags work.



 Comments   
Comment by Githook User [ 17/Jan/20 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@mongodb.com', 'username': 'dstorch'}

Message: SERVER-43584 Fix lint.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/55e87b7cb5d08c197fe4c107129f64763d0fedcd

Comment by David Storch [ 17/Jan/20 ]

The enterprise modules commit was accidentally tagged with the wrong ticket number. Here's the link to the commit:

Author:

{'username': 'dstorch', 'name': 'David Storch', 'email': 'david.storch@mongodb.com'}

Message: SERVER-42584 Add mqlrun integration test.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/277b3125379da0657e9f57c5bca189493009e514

Comment by Githook User [ 17/Jan/20 ]

Author:

{'username': 'dstorch', 'name': 'David Storch', 'email': 'david.storch@mongodb.com'}

Message: SERVER-43584 Introduce mqlrun Evergreen task.
Branch: master
https://github.com/mongodb/mongo/commit/7a95d5a1af2f9ca9f446d44940a7f5e6a42954a6

Comment by David Storch [ 08/Jan/20 ]

I've worked out the problems on Windows, so this is back in code review now.

Comment by Eric Milkie [ 20/Dec/19 ]

I posted on the CR; I think there's a typo for the Windows case. Might be an easy fix.

Comment by Adinoyi Omuya [ 20/Dec/19 ]

Only for local development (Craig Wilson and David Golub develop on Window).
On production we only use linux (RHEL 7 and Ubuntu 1404 for now). I would prioritize those variants.

Comment by Daniel Pasette (Inactive) [ 20/Dec/19 ]

Do we have to support windows?

Comment by David Storch [ 20/Dec/19 ]

The changes to create a new mqlrun task that correctly fetches and extracts the mqlrun archive need to be fixed on Windows. I'm moving this ticket back to "Open", since I won't be able to work on a fix for this problem until I'm back from my holiday break.

Comment by Eric Milkie [ 05/Dec/19 ]

I think you can run mqlrun today with MongoRunner, no extension necessary.

Comment by David Storch [ 03/Oct/19 ]

pasette, we already are guaranteeing that it compiles during the Evergreen compile task. This ticket tracks adding a simple smoke test to make sure it runs, presumably testing some of the various supported command line options as well. I'd have to ask someone more familiar with our test infrastructure what the best way to implement these tests are, and how hard they would be to write. (Build something into resmoke.py? Extend MongoRunner?)

Comment by Daniel Pasette (Inactive) [ 03/Oct/19 ]

Can we add a simple smoke test to make sure it basically just compiles/runs?

Comment by David Storch [ 03/Oct/19 ]

chuck.kalmanek craig.wilson@mongodb.com craig.homa, I'm sending this ticket to our "Backlog" bucket per our discussion today. Please let me know if the priority of this work changes, or if our thinking evolves on who will write the code.

Generated at Thu Feb 08 05:03:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.